1 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
3 mktime: check signed shifts on long_int and time_t, too
4 * time/mktime.c (SHR): Check that shifts work as desired
5 on the types long_int and time_t too, as SHR is used on
8 mktime: do not assume 'long' is wide enough
9 * time/mktime.c (verify): Move decl up.
11 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
12 to remove assumption in the code that 'long' is wide enough to
13 store year values. This assumption is not true on x32 and on
14 some non-glibc platforms.
16 mktime: merge wrapv change from gnulib
17 * time/mktime.c (WRAPV): New macro.
18 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
19 (guess_time_tm, __mktime_internal): Do not assume that signed
20 integer overflow wraps around; modern compilers generate code
21 where this assumption is no longer valid.
23 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
25 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
26 Replace "jmp L(pseudo_end)" with "ret".
27 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
30 2012-05-23 Andreas Jaeger <aj@suse.de>
32 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
33 * sysdeps/unix/sysv/linux/poll.c: Remove file.
35 2012-05-23 Andreas Jaeger <aj@suse.de>
36 Maximilian Attems <max@stro.at>
38 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
41 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
43 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
44 code so that pseudo_end is just ret and the stack pointer is
45 correct also for static library in error case.
47 2012-05-23 Joseph Myers <joseph@codesourcery.com>
49 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
50 move to syscalls.list.
51 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
52 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
53 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
54 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
56 * manual/install.texi (Running make install): Do not mention Linux
57 kernel version for which pt_chown is not needed.
58 (Linux): Do not mention problems with nscd with 2.0 kernels.
59 * INSTALL: Regenerated.
61 2012-05-23 Andreas Jaeger <aj@suse.de>
63 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
64 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
66 * sysdeps/unix/sysv/linux/s390/bits/mman.h
67 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
68 * sysdeps/unix/sysv/linux/sh/bits/mman.h
69 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70 * sysdeps/unix/sysv/linux/i386/bits/mman.h
71 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
72 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
73 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
74 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
75 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
76 * sysdeps/unix/sysv/linux/bits/in.h
77 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
79 2012-05-22 Roland McGrath <roland@hack.frob.com>
81 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
82 (PREPARE_VERSION): Just use assert instead, it will be elided
83 under [NDEBUG] anyway.
85 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
87 * sysdeps/unix/sysv/linux/Makefile: Include
88 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
89 (sysdep_routines): Remove sysctl.
90 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
91 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
92 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
93 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
94 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
96 2012-05-22 Andreas Jaeger <aj@suse.de>
98 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
99 that pseudo_end is just ret and the stack pointer is correct also
100 for static library in error case.
102 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
105 * nss/nsswitch.c (defconfig_entries): New variable.
106 (__nss_database_lookup): Don't leak defconfig entries.
107 (nss_parse_service_list): Don't leak on error paths.
108 (free_database_entries): New function.
109 (free_defconfig): New function.
110 (free_mem): Move common code to free_database_entries.
112 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
114 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
116 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
118 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
119 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
120 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
122 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
123 (INTERNAL_SYSCALL_TYPES): Likewise.
124 (LOAD_ARGS_TYPES_[1-6]): Likewise.
125 (LOAD_REGS_TYPES_[1-6]): Likewise.
126 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
127 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
129 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
131 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
132 copysignl for GLIBC_2_0.
133 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
134 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
135 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
137 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
138 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
140 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
142 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
143 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
145 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
148 * time/mktime.c: Update copyright years.
150 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
152 mktime: merge comment-quoting-style change from gnulib
153 * time/mktime.c: Quote 'like this' in comments.
154 The GNU coding standards suggest that we no longer quote `like this',
155 as "`" and "'" are typically rendered asymmetrically nowadays.
156 The typical gnulib style is to quote 'like this' when quoting
157 code, and "like this" when quoting English.
159 * time/mktime.c (compile-command): Add "-I.".
161 mktime: merge mktime-internal.h change from gnulib
162 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
164 mktime: merge time_r change from gnulib
165 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
167 mktime: merge DEBUG change from gnulib
168 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
169 case system <time.h> has a #define.
171 mktime: merge <sys/types.h> change from gnulib
172 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
173 since <time.t> is now guaranteed to define time_t.
175 mktime: merge HAVE_CONFIG_H change from gnulib
176 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
178 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
180 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
183 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
185 (struct rusage): Use anonymous union to pad each field to
188 2012-05-21 David S. Miller <davem@davemloft.net>
190 * Makefules (o-iterator): Remove .s cases.
191 (compile-command.s): Delete.
193 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
195 2012-05-21 Joseph Myers <joseph@codesourcery.com>
197 * configure.in (libc_cv_predef_stack_protector): Only consider
198 "foobar" and "__stack_chk_fail" lines in libc_undefs.
199 * configure: Regenerated.
201 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
203 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
204 New macro. Use R*LP on int and pointer.
205 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
206 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
207 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
208 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
210 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
211 [__WORDSIZE_TIME64_COMPAT32] instead of
212 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
213 (struct utmp): Likewise.
214 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
215 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
217 (__WORDSIZE_TIME64_COMPAT32): This.
218 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
219 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
220 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
221 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
222 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
223 (__WORDSIZE_TIME64_COMPAT32): New macro.
225 2012-05-21 Andreas Jaeger <aj@suse.de>
227 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
228 only if [SHARED]. Add prototype for __wcschr_ia32.
230 2012-05-21 Roland McGrath <roland@hack.frob.com>
232 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
233 of %rbp unmolested in the jmp_buf while mangling the low bits.
234 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
235 unmolested high bits of %rbp while demangling the low bits.
236 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
238 2012-05-21 Andreas Jaeger <aj@suse.de>
240 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
241 * sunrpc/svc_simple.c: Use it for registerrpc.
242 * sunrpc/xcrypt.c: Use it for passwd2des.
244 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
246 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
248 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
249 Don't define if [__SYSCALL_WORDSIZE != 32].
250 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
253 2012-05-21 Bruno Haible <bruno@clisp.org>
254 Andreas Jaeger <aj@suse.de>
256 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
257 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
258 inptr and inend for must_buffer_ch.
259 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
260 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
261 * stdio-common/Makefile (tests): Remove bug15.
262 (bug15-ENV): Remove macro.
263 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
266 2012-05-19 Andreas Jaeger <aj@suse.de>
267 Roland McGrath <roland@hack.frob.com>
269 * manual/contrib.texi: Completely rewritten. It contains now an
270 alphabetical list of contributors and their contributions.
272 2012-05-21 Richard Henderson <rth@twiddle.net>
274 * misc/getauxval.c (__getauxval): Use unsigned long int.
275 * misc/sys/auxv.h: Include <sys/cdefs.h>.
276 (getauxval): Use unsigned long int.
278 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
280 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
282 2012-05-21 Roland McGrath <roland@hack.frob.com>
284 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
285 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
286 __alignof__ (long double).
288 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
290 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
292 2012-05-20 Richard Henderson <rth@twiddle.net>
294 * misc/getauxval.c: New file.
295 * misc/sys/auxv.h: New file.
296 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
297 (routines): Add getauxval.
298 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
299 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
300 * elf/dl-sysdep.c (_dl_auxv): Remove.
301 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
302 * elf/dl-support.c (_dl_auxv): New variable.
303 (_dl_aux_init): Initialize it.
304 * manual/startup.texi (Auxiliary Vector): New node.
305 * sysdeps/generic/bits/hwcap.h: New file.
306 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
307 * sysdeps/powerpc/sysdep.h: ... here. Include it.
308 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
309 * sysdeps/sparc/sysdep.h: ... here. Include it.
310 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
311 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
315 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
316 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
317 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
318 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
319 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
320 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
321 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
323 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
325 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
327 2012-05-19 David S. Miller <davem@davemloft.net>
329 * sysdeps/sparc/fpu/libm-test-ulps: Update.
331 2012-05-19 Joseph Myers <joseph@codesourcery.com>
334 * math/s_ccosh.c: Include <float.h>
335 (__ccosh): Avoid internal overflow calculating sinh and cosh
336 values before multiplying by sin and cos values.
337 * math/s_ccoshf.c: Likewise.
338 * math/s_ccoshl.c: Likewise.
339 * math/s_csin.c: Likewise.
340 * math/s_csinf.c: Likewise.
341 * math/s_csinl.c: Likewise.
342 * math/s_csinh.c: Likewise.
343 * math/s_csinhf.c: Likewise.
344 * math/s_csinhl.c: Likewise.
345 * math/libm-test.inc (ccos_test): Add more tests.
346 (ccosh_test): Likewise.
347 (csin_test): Likewise.
348 (csinh_test): Likewise.
349 * sysdeps/i386/fpu/libm-test-ulps: Update.
350 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
352 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
354 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
355 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
357 * sysdeps/x86_64/x32/_itoa.h: Add comment.
359 2012-05-19 Joseph Myers <joseph@codesourcery.com>
361 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
362 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
363 * sysdeps/powerpc/soft-fp/Versions: Likewise.
364 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
365 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
366 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
367 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
368 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
369 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
370 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
371 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
372 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
373 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
374 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
375 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
376 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
377 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
378 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
379 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
380 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
381 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
382 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
383 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
384 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
385 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
386 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
387 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
388 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
389 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
390 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
391 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
393 2012-05-18 Andreas Jaeger <aj@suse.de>
395 * csu/.gitignore: Delete.
397 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
399 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
400 (timex): Use __syscall_slong_t.
402 2012-05-18 Andreas Jaeger <aj@suse.de>
403 Carlos O'Donell <carlos_odonell@mentor.com>
405 * manual/install.texi (Configuring and compiling): Update
406 description about files modified in the source directory.
407 * INSTALL: Regenerated.
409 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
411 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
412 value. Use "or" to set return value to -1.
413 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
416 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
418 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
419 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
420 failure if the compiler has Graphite support disabled.
421 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
423 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
424 CFLAGS-memmove.c): Likewise.
425 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
428 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
430 * sysdeps/x86_64/x32/_itoa.h: New file.
432 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
433 getdents system call only if kernel and user dirents have the
434 same d_ino and d_off.
436 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
437 LLONG_MAX != LONG_MAX.
438 (_itoa_word): Use _ITOA_WORD_TYPE on value.
439 (_fitoa_word): Likewise.
441 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
443 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
444 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
445 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
447 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
448 include <bits/wordsize.h>. Check __x86_64__ instead of
450 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
451 if __x86_64__ is defined. Use anonymous union on fpstate.
453 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
456 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
458 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
459 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
460 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
461 Refer to _rtld_local_ro instead of _rtld_global_ro.
462 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
464 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
466 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
468 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
469 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
470 of _rtld_global, and rtld_progname instead of _dl_argv[0].
472 * sysdeps/powerpc/powerpc32/dl-machine.c
473 (__elf_machine_runtime_setup) [PROF]: Don't reference
476 2012-05-18 Andreas Jaeger <aj@suse.de>
478 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
479 function only available for GCCs before 3.4 since GCC 3.4
480 introduced a builtin.
490 (nearbyint): Likewise.
491 (nearbyintf): Likewise.
497 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
499 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
500 on both fields and cast pointer to __syscall_ulong_t.
502 * bits/types.h (__fsword_t): New type.
503 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
504 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
505 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
506 (__FSWORD_T_TYPE): Likewise.
507 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
508 (__FSWORD_T_TYPE): Likewise.
509 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
510 (__FSWORD_T_TYPE): Likewise.
511 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
512 (__FSWORD_T_TYPE): Likewise.
513 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
514 __SWORD_TYPE with __fsword_t.
515 (statfs64): Likewise.
517 2012-05-17 David S. Miller <davem@davemloft.net>
519 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
521 2012-05-17 Andreas Jaeger <aj@suse.de>
523 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
526 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
528 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
530 2012-05-17 Andreas Jaeger <aj@suse.de>
532 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
535 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
537 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
539 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
541 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
542 * sysdeps/x86_64/tst-mallocalign1.c: New file.
544 2012-05-17 Andreas Jaeger <aj@suse.de>
545 Carlos O'Donell <carlos_odonell@mentor.com>
548 * sysdeps/x86_64/multiarch/init-arch.h
549 (bit_YMM_Usable): Rename to...
550 (bit_AVX_Usable): ... this.
551 (bit_FMA4_Usable): New macro.
552 (bit_XMM_state): New macro.
553 (bit_YMM_state): New macro.
554 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
555 [__ASSEMBLER__] (index_AVX_Usable): ... this.
556 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
557 (CPUID_OSXSAVE): New macro.
558 (CPUID_AVX): New macro.
559 (CPUID_FMA4): New macro.
560 (index_YMM_Usable): Rename to...
561 (index_AVX_Usable): ... this.
562 (HAS_AVX): Use HAS_ARCH_FEATURE.
563 (HAS_FMA4): Likewise.
564 (HAS_YMM_USABLE): Remove.
565 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
566 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
568 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
569 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
570 * sysdeps/x86_64/multiarch/Makefile: Likewise.
571 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
572 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
574 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
576 * math/libm-test.c: Support platforms without multiple rounding modes.
577 * math/bug-nextafter.c: Support platforms without FP exceptions.
578 * math/bug-nexttoward.c: Likewise.
579 * math/test-fenv.c: Likewise.
580 * math/test-misc.c: Likewise.
581 * stdlib/bug-getcontext.c: Likewise.
583 2012-05-17 Andreas Jaeger <aj@suse.de>
585 * manual/examples/search.c (critter_cmp): Change signature to
587 * manual/string.texi (Collation Functions): Likewise.
589 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
591 * bits/types.h: Fold copyright years.
592 * bits/typesizes.h: Likewise.
593 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
594 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
595 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
596 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
597 * time/time.h: Likewise.
599 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
602 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
603 in instead of returning them. Return void.
604 (__libc_mallinfo): Accumulate over all arenas.
605 (__malloc_stats): Adjust for change in int_mallinfo interface.
607 2012-05-16 Roland McGrath <roland@hack.frob.com>
610 * configure.in (NM): Add AC_CHECK_TOOL for it.
611 (libc_extra_cflags): New substituted variable.
612 Check for -fstack-protector being used implicitly.
613 * configure: Regenerated.
614 * config.make.in (config-extra-cflags): New variable,
615 gets @libc_extra_cflags@.
616 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
619 * configure.in: Check for _FORTIFY_SOURCE being predefined.
620 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
621 * configure: Regenerated.
622 * config.make.in (CPPUNDEFS): New substituted variable.
623 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
624 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
625 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
627 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
629 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
630 (mq_attr): Use __syscall_slong_t.
632 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
634 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
635 Check __x86_64__ instead of __WORDSIZE.
636 (_STAT_VER_LINUX): Likewise.
637 (stat): Check __x86_64__ instead of __WORDSIZE. Use
638 __syscall_ulong_t and __syscall_slong_t.
641 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
643 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
645 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
647 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
649 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
651 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
654 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
655 include <bits/wordsize.h>. Check __x86_64__ instead of
657 (greg_t): Use "__extension__ long long int" if __x86_64__ is
659 (mcontext_t): Replace "unsigned long" with "unsigned long long".
661 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
662 include <bits/wordsize.h>. Check __x86_64__ instead of
664 (user_regs_struct): Use "__extension__ unsigned long long"
665 instead of "unsigned long" if __x86_64__ is defined.
666 (user): Likewise. Pad after pointer field if __ILP32__ is
669 2012-05-16 Joseph Myers <joseph@codesourcery.com>
671 * configure.in (makeinfo): Require version 4.5 or later. Allow
673 * configure: Regenerated.
674 * manual/install.texi (texinfo): Increase version requirement to
676 * INSTALL: Regenerated.
678 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
680 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
682 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
684 * sysdeps/x86_64/x32/ffs.c: New file.
686 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
688 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
689 defined. Use __syscall_ulong_t.
690 (shminfo): Use __syscall_ulong_t.
691 (shm_info): Likewise.
693 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
696 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
698 (msgqnum_t): Use __syscall_ulong_t.
699 (msglen_t): Likewise.
700 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
703 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
704 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
706 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
708 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
709 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
711 * sysvipc/sys/msg.h (msgbuf): Replace long int with
714 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
715 include <bits/wordsize.h>. Check __x86_64__ instead of
718 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
719 "unsigned long long int" if __x86_64__ is defined.
720 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
722 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
723 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
724 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
726 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
728 (GET_PC): Cast to uintptr_t first.
729 (GET_FRAME): Likewise.
730 (GET_STACK): Likewise.
732 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
733 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
734 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
735 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
736 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
737 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
738 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
739 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
740 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
741 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
742 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
743 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
744 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
745 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
746 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
747 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
748 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
749 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
750 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
751 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
752 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
753 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
754 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
755 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
756 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
757 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
758 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
759 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
760 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
762 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
764 * Makerules (+depfiles): Also collect depfiles from .oS in
766 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
767 .oS, $(libnldbl-routines)).
769 * Makerules (native-compile-mkdep-flags): Define.
770 * sunrpc/Makefile (extra-objs): Add $(addprefix
771 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
772 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
773 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
774 calling $(make-target-directory).
776 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
778 * bits/types.h (__snseconds_t): Removed.
779 * time/time.h (struct timespec): Replace __snseconds_t with
781 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
782 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
784 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
785 (__SNSECONDS_T_TYPE): Likewise.
786 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
787 (__SNSECONDS_T_TYPE): Likewise.
788 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
789 (__SNSECONDS_T_TYPE): Likewise.
791 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
793 * sysdeps/mach/hurd/bits/typesizes.h
794 (__SYSCALL_SLONG_TYPE): New macro.
795 (__SYSCALL_ULONG_TYPE): Likewise.
797 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
799 * bits/types.h (__syscall_slong_t): New type.
800 (__syscall_ulong_t): Likewise.
802 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
803 (__SYSCALL_ULONG_TYPE): Likewise.
804 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
805 (__SYSCALL_SLONG_TYPE): Likewise.
806 (__SYSCALL_ULONG_TYPE): Likewise.
807 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
808 (__SYSCALL_SLONG_TYPE): Likewise.
809 (__SYSCALL_ULONG_TYPE): Likewise.
810 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
811 (__SYSCALL_SLONG_TYPE): Likewise.
812 (__SYSCALL_ULONG_TYPE): Likewise.
814 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
816 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
817 Add sigaltstack-offsets.sym.
818 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
819 <sigaltstack-offsets.h>.
820 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
822 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
823 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
825 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
827 2012-05-15 Joseph Myers <joseph@codesourcery.com>
829 * elf/stackguard-macros.h: Remove file.
830 * sysdeps/generic/stackguard-macros.h: New file.
831 * sysdeps/i386/stackguard-macros.h: Likewise.
832 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
833 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
834 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
835 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
836 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
837 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
838 * sysdeps/x86_64/stackguard-macros.h: Likewise.
839 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
840 <elf/stackguard-macros.h>.
843 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
844 __aligned__ in attribute.
845 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
846 (gregset_t): Likewise.
848 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
850 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
851 * sysdeps/x86_64/64/Implies-after: Here. New file.
852 * sysdeps/x86_64/x32/Implies-after: New file.
854 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
856 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
857 and access return value for _dl_profile_fixup. Use R10_LP to
860 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
862 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
864 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
866 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
867 * sysdeps/x86_64/x32/sysdep.h: New file.
869 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
871 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
872 * sysdeps/x86_64/setjmp.S: Likewise.
874 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
876 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
877 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
878 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
879 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
880 remove unused global constant.
882 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
884 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
885 include of <not-cancel.h>.
887 2012-05-15 Roland McGrath <roland@hack.frob.com>
889 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
891 2012-05-15 Jeff Law <law@redhat.com>
892 Andreas Jaeger <aj@suse.de>
895 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
897 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
898 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
899 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
900 code changing __hst_map_handle.map.
902 2012-05-15 Roland McGrath <roland@hack.frob.com>
904 * configure.in (sysnames): Look for Implies-before and Implies-after
906 * configure: Regenerated.
908 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
910 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
911 8-byte data alignment with LP_SIZE alignment.
913 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
915 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
918 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
920 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
922 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
924 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
925 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
926 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
928 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
930 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
932 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
933 (stackinfo_sub_sp): Likewise.
935 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
937 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
940 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
942 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
945 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
947 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
950 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
952 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
954 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
956 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
957 into R11_LP and load __x86_64_shared_cache_size_half into
960 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
962 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
965 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
967 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
969 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
971 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
973 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
974 powerpc32/power7/fpu/s_logb.c via #include.
975 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
976 powerpc32/power7/fpu/s_logbf.c via #include.
977 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
978 powerpc32/power7/fpu/s_logbl.c via #include.
980 2012-05-15 Joseph Myers <joseph@codesourcery.com>
982 * README.libm: Remove file.
984 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
986 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
987 count for x32. Use R*_LP and omit operand-size suffix.
989 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
991 * shlib-versions: Move x86_64-.*-linux.* entries to ...
992 * sysdeps/x86_64/64/shlib-versions: Here. New file.
993 * sysdeps/x86_64/x32/shlib-versions: New file.
995 2012-05-14 Roland McGrath <roland@hack.frob.com>
997 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
998 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
999 Use _dl_fatal_printf instead.
1001 2012-05-14 Joseph Myers <joseph@codesourcery.com>
1003 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
1004 set if not set by the user. Do not allow for being unset.
1005 * sysdeps/unix/sysv/linux/configure: Regenerated.
1007 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1009 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
1010 the `q' suffix from lea and replace .quad with ASM_ADDR.
1012 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1014 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
1015 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
1017 (PTR_DEMANGLE): Likewise.
1019 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1021 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
1023 (ASM_ADDR): Likewise.
1041 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1043 * sysdeps/x86_64/x32/dl-machine.h: New file.
1045 2012-05-14 Andreas Jaeger <aj@suse.de>
1047 * manual/Makefile (subdir): Remove export of subdir.
1048 (all): Remove target.
1049 (.PHONY): Remove all from list.
1050 (mkinstalldirs): Remove.
1051 (.PHONY): Remove installdirs from list.
1052 ($(inst_infodir)/libc.info): Use make-target-directory.
1053 (installdirs): Remove.
1055 (glibc-targets): Remove.
1058 ($(objpfx)stubs ../po/manual.pot): Remove.
1059 ($(objpfx)stamp%): Remove.
1060 (make-target-directory): Remove.
1061 (subdir_install): Remove.
1069 * manual/.gitignore: Remove, it's not needed anymore.
1070 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
1072 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
1074 (texis): Renamed to $(objpfx)texis.
1075 (texis-path): New, contains path to generated files.
1076 (chapters.%): Use texis-path for complete path, add extra argument
1078 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
1079 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
1080 (summary,texi, stamp-summary): Use complete path of
1081 files. Generate files in build dir.
1082 (dir-add.texi): Build in build dir.
1083 (libm-err.texi,stamp-libm-err): Likewise.
1084 (version.texi, stamp-version): Likewise.
1085 (.%c.texi): Likewise.
1086 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
1087 (mostlyclean): Remove target.
1088 (realclean): Remove target.
1089 (generated): Add new variable with contents from mostlyclean and
1090 realclean, remove entries duplicated in common-mostlyclean, add
1091 stamp-libm-err and stamp-version.
1092 (generated-dirs): Add libc directory.
1093 ($(inst_infodir)/libc.info): Install files from build dir.
1095 * manual/install.texi (Configuring and compiling): Adjust since
1096 the info files are not part of the tar ball anymore.
1098 2012-05-14 Andreas Jaeger <aj@suse.de>
1100 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
1103 2012-05-14 Joseph Myers <joseph@codesourcery.com>
1106 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
1107 to 2.2.0 where earlier.
1108 * sysdeps/unix/sysv/linux/configure: Regenerated.
1109 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
1110 Remove conditional code.
1111 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
1112 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
1113 Remove conditional code.
1114 [!__NR_lchown]: Likewise.
1115 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
1116 [__NR_lchown]: Likewise.
1117 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
1118 comment referencing __ASSUME_LCHOWN_SYSCALL.
1119 * sysdeps/unix/sysv/linux/i386/sigaction.c
1120 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1121 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1122 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
1123 Remove conditional code.
1124 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
1125 (__protocol_available): Remove #if 0 code.
1126 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
1128 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
1129 * sysdeps/unix/sysv/linux/kernel-features.h
1130 (__ASSUME_GETCWD_SYSCALL): Don't define.
1131 (__ASSUME_REALTIME_SIGNALS): Likewise.
1132 (__ASSUME_PREAD_SYSCALL): Likewise.
1133 (__ASSUME_PWRITE_SYSCALL): Likewise.
1134 (__ASSUME_POLL_SYSCALL): Likewise.
1135 (__ASSUME_LCHOWN_SYSCALL): Likewise.
1136 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
1138 (__ASSUME_SIOCGIFNAME): Don't define.
1139 (__ASSUME_MSG_NOSIGNAL): Likewise.
1140 (__ASSUME_SENDFILE): Define unconditionally.
1141 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
1142 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
1144 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
1145 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
1146 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
1147 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
1148 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
1149 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
1150 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
1151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
1152 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1153 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
1155 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1156 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
1158 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1159 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
1161 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1162 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
1164 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1165 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
1167 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1168 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
1170 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1171 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
1173 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1174 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1175 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
1176 Remove conditional code.
1177 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1178 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
1179 Remove conditional code.
1180 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1181 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
1182 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
1183 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
1184 Remove conditional code.
1185 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1186 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
1187 Remove conditional code.
1188 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1189 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
1190 Remove conditional code.
1191 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1192 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
1193 Remove conditional code.
1194 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1195 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
1196 Remove conditional code.
1197 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1198 * sysdeps/unix/sysv/linux/sh/pwrite64.c
1199 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1200 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1201 * sysdeps/unix/sysv/linux/sigaction.c
1202 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1203 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1204 * sysdeps/unix/sysv/linux/sigpending.c
1205 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1206 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1207 * sysdeps/unix/sysv/linux/sigprocmask.c
1208 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1209 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1210 * sysdeps/unix/sysv/linux/sigsuspend.c
1211 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1212 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1213 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1214 (__libc_missing_rt_sigs): Remove.
1215 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
1216 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
1217 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
1218 Remove conditional code.
1219 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
1220 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
1222 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
1223 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
1224 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
1225 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
1227 2012-05-14 Andreas Jaeger <aj@suse.de>
1229 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
1230 it's not used in glibc.
1231 (__coshm1): Likewise.
1232 (__acosh1p): Likewise.
1235 * manual/string.texi (Copying and Concatenation): Add missing
1236 variable in concat example.
1237 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
1239 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1242 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
1243 __builtin_clzl with __builtin_clzll.
1245 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1248 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
1251 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1253 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
1254 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
1255 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
1256 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
1258 2012-05-14 Mike Frysinger <vapier@gentoo.org>
1260 * NEWS: Update ia64 info.
1262 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
1264 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
1267 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
1269 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
1270 * sysdeps/unix/syscalls.list (dup3): Likewise.
1271 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
1272 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
1274 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
1276 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
1277 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
1279 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
1281 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
1283 (TLS_IE): Use mov/add instead of movq/addq to load thread
1285 (TLS_GD_PREFIX): New.
1288 2012-05-11 David S. Miller <davem@davemloft.net>
1290 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
1291 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
1292 (_FPU_SETCW): Likewise.
1294 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1296 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
1299 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
1302 * iconvdata/gb18030.c: Update tables.
1303 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
1304 characters specially.
1305 (BODY for TO_LOOP): Add encoding of missing ranges.
1307 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
1310 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
1311 * sysdeps/mach/hurd/dup3.c: Likewise.
1312 * sysdeps/mach/hurd/readlinkat.c: Likewise.
1313 * sysdeps/powerpc/memmove.c:: Likewise.
1315 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1317 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
1318 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
1320 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1322 * elf/elf.h (R_X86_64_RELATIVE64): New.
1323 (R_X86_64_NUM): Updated.
1324 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
1325 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
1326 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
1327 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
1328 tst-quad1pie tst-quad2pie
1329 (modules-names): Add tst-quadmod1 tst-quadmod2.
1330 ($(objpfx)tst-quad1): New dependency.
1331 ($(objpfx)tst-quad2): Likewise.
1332 ($(objpfx)tst-quad1pie): Likewise.
1333 ($(objpfx)tst-quad2pie): Likewise.
1334 * sysdeps/x86_64/tst-quad1.c: New file.
1335 * sysdeps/x86_64/tst-quad1pie.c: New file.
1336 * sysdeps/x86_64/tst-quad2.c: Likewise.
1337 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
1338 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
1339 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
1340 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
1341 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
1343 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1345 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
1346 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
1347 * streams/stropts.h (t_scalar_t): Define type.
1349 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
1350 (_PATH_PRESERVE): Set to "/var/lib".
1351 (_PATH_RWHODIR): Set to "/var/spool/rwho".
1353 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
1356 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
1357 if __dir_mkfile succeeded.
1359 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
1360 checking for _hurd_dtablesize. Unlock it right after having
1361 finished _hurd_dtable allocation.
1363 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1365 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
1366 * sysdeps/mach/hurd/configure: Regenerated.
1367 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
1368 special-casing to...
1369 * sysdeps/gnu/configure.in: ... this new file.
1370 * sysdeps/unix/sysv/linux/configure: Regenerated.
1371 * sysdeps/gnu/configure: New generated file.
1373 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
1374 for Linux: use nsec instead of usec, as well as:
1375 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
1376 members of type struct timespec.
1377 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
1379 (struct stat64): Likewise.
1380 (_STATBUF_ST_NSEC): New macro.
1381 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
1383 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
1384 __strtoul_internal rather than strtoul.
1386 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1388 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
1391 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1393 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
1394 which preserves existing values.
1395 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
1397 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1399 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
1400 TIMEOUT values. Return EINVAL for NFDS values either negative or
1401 greater than FD_SETSIZE.
1403 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1405 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
1406 allocated, call __vm_protect to finish enabling the existing space, and
1407 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
1408 allocate the remainder.
1410 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1412 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
1413 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
1415 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1417 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
1418 sysdeps/mach/hurd/readlink.c.
1420 * posix/tst-sysconf.c (posix_options): Only use
1421 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
1422 _POSIX_SYNCHRONIZED_IO when they are defined
1423 * sysdeps/mach/hurd/bits/posix_opt.h:
1424 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
1425 (_XOPEN_REALTIME): Undefine macro.
1426 (_XOPEN_REALTIME_THREADS): Undefine macro.
1427 (_XOPEN_SHM): Undefine macro.
1428 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
1430 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
1432 (_POSIX_ASYNC_IO): Undefine macro.
1433 (_POSIX_PRIORITIZED_IO): Undefine macro.
1434 (_POSIX_SPIN_LOCKS): Define macro to -1.
1436 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
1437 SA_NODEFER, SA_RESETHAND.
1438 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
1439 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
1442 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1444 * elf/Makefile (pldd-modules): Define unconditionally.
1446 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1448 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
1450 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1452 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
1453 Return ENOENT when name is empty.
1454 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
1456 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1458 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
1460 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
1462 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1464 Fix mlock in all cases except non-readable pages.
1465 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
1466 instead of VM_PROT_ALL as parameter to __vm_wire function.
1468 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
1469 (__mkdir): When path is `/', just fail with EEXIST.
1470 * sysdeps/mach/hurd/mkdirat.c: Likewise.
1472 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1474 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
1475 <sys/uio.h> (for writev).
1476 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
1477 and <sys/param.h> (for MIN).
1479 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1481 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
1482 REQUESTED_TIME. Properly set the remaining time and return EINTR
1485 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1487 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
1488 Depend on against $(link-rpcuserlibs).
1490 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1492 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
1493 (__libc_stack_end): Do not use attribute_relro.
1494 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
1495 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
1496 to libthread-provided value.
1497 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
1500 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1503 * bits/libc-lock.h (__libc_once_get): New macro.
1504 * sysdeps/mach/bits/libc-lock.h: Likewise.
1505 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
1506 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
1507 instead of using implementation details.
1509 * libio/fileops.c: Unconditionally include <kernel-features.h>.
1510 * libio/freopen.c: Likewise.
1511 * libio/freopen64.c: Likewise.
1512 * misc/syslog.c: Likewise.
1513 * nscd/connections.c: Likewise.
1514 * nscd/netgroupcache.c: Likewise.
1515 * sysdeps/posix/getcwd.c: Likewise.
1517 2012-05-10 Roland McGrath <roland@hack.frob.com>
1519 * math/w_ilogbf.c: Add #include <limits.h>.
1521 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1523 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
1524 path instead of returning without unlocking.
1526 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
1527 immediate-write ioctls.
1528 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
1530 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1532 * sysdeps/mach/hurd/i386/init-first.c (init): Use
1533 __builtin_frame_address instead of making assumptions about the
1534 location of the return address relative to DATA. Force early load of
1536 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
1537 __builtin_frame_address.
1540 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
1541 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
1542 implement dup3 and do some further code clean-ups.
1543 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
1544 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
1546 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1548 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
1550 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
1551 HURD_CRITICAL_END around holding _hurd_dtable_lock.
1552 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
1553 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
1554 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
1557 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
1558 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
1559 when handler == SIG_ERR, not when handler != SIG_ERR.
1561 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1563 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
1564 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
1567 accept4 for GNU Hurd.
1568 * include/sys/socket.h (__libc_accept4): New prototype.
1569 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
1570 to implement __libc_accept4.
1571 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
1573 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
1575 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
1576 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
1577 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
1580 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1582 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
1584 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1586 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
1587 assertion on O_CLOEXEC flag.
1588 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
1589 * hurd/intern-fd.c: Likewise.
1590 * hurd/port2fd.c: Likewise.
1592 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1595 * bits/in.h (IPV6_PKTINFO): Define new macro.
1596 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
1598 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1603 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
1604 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
1605 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
1606 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
1607 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1608 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
1609 * math/libm-test.inc (logb_test) : Additional logb tests.
1611 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
1612 Andreas Jaeger <aj@suse.de>
1614 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
1615 * configure: Regenerated.
1616 * config.h.in (LINK_OBSOLETE_RPC): New macro.
1617 * config.make.in (link-obsolete-rpc): New substituted variable.
1618 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
1619 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
1620 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
1621 (shared-only-routines): Don't set it under [link-obsolete-rpc],
1622 so that libc.a contains the symbols.
1623 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
1624 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
1625 * sunrpc/auth_none.c: Likewise.
1626 * sunrpc/auth_unix.c: Likewise.
1627 * sunrpc/authdes_prot.c: Likewise.
1628 * sunrpc/authuxprot.c: Likewise.
1629 * sunrpc/clnt_gen.c: Likewise.
1630 * sunrpc/clnt_perr.c: Likewise.
1631 * sunrpc/clnt_raw.c: Likewise.
1632 * sunrpc/clnt_simp.c: Likewise.
1633 * sunrpc/clnt_tcp.c: Likewise.
1634 * sunrpc/clnt_udp.c: Likewise.
1635 * sunrpc/clnt_unix.c: Likewise.
1636 * sunrpc/des_crypt.c: Likewise.
1637 * sunrpc/des_soft.c: Likewise.
1638 * sunrpc/get_myaddr.c: Likewise.
1639 * sunrpc/key_call.c: Likewise.
1640 * sunrpc/key_prot.c: Likewise.
1641 * sunrpc/netname.c: Likewise.
1642 * sunrpc/pm_getmaps.c: Likewise.
1643 * sunrpc/pm_getport.c: Likewise.
1644 * sunrpc/pmap_clnt.c: Likewise.
1645 * sunrpc/pmap_prot.c: Likewise.
1646 * sunrpc/pmap_prot2.c: Likewise.
1647 * sunrpc/pmap_rmt.c: Likewise.
1648 * sunrpc/publickey.c: Likewise.
1649 * sunrpc/rpc_cmsg.c: Likewise.
1650 * sunrpc/rpc_common.c: Likewise.
1651 * sunrpc/rpc_dtable.c: Likewise.
1652 * sunrpc/rpc_prot.c: Likewise.
1653 * sunrpc/rpc_thread.c: Likewise.
1654 * sunrpc/rtime.c: Likewise.
1655 * sunrpc/svc.c: Likewise.
1656 * sunrpc/svc_auth.c: Likewise.
1657 * sunrpc/svc_raw.c: Likewise.
1658 * sunrpc/svc_run.c: Likewise.
1659 * sunrpc/svc_tcp.c: Likewise.
1660 * sunrpc/svc_udp.c: Likewise.
1661 * sunrpc/svc_unix.c: Likewise.
1662 * sunrpc/svcauth_des.c: Likewise.
1663 * sunrpc/xcrypt.c: Likewise.
1664 * sunrpc/xdr.c: Likewise.
1665 * sunrpc/xdr_array.c: Likewise.
1666 * sunrpc/xdr_float.c: Likewise.
1667 * sunrpc/xdr_intXX_t.c: Likewise.
1668 * sunrpc/xdr_mem.c: Likewise.
1669 * sunrpc/xdr_rec.c: Likewise.
1670 * sunrpc/xdr_ref.c: Likewise.
1671 * sunrpc/xdr_sizeof.c: Likewise.
1672 * sunrpc/xdr_stdio.c: Likewise.
1674 2012-05-10 Roland McGrath <roland@hack.frob.com>
1676 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
1677 change. Update copyright years.
1679 2012-05-10 Joseph Myers <joseph@codesourcery.com>
1681 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
1683 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
1684 Joseph Myers <joseph@codesourcery.com>
1685 Paul Pluzhnikov <ppluzhnikov@google.com>
1688 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
1690 [cross-compiling] (extra-libs): Likewise.
1691 [cross-compiling] (extra-libs-others): Likewise.
1692 [cross-compiling] (librpcsvc-routines): Likewise.
1693 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
1694 [cross-compiling] (omit-deps): Likewise.
1695 (sunrpc-CPPFLAGS): New variable.
1696 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
1697 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
1698 (cross-rpcgen-objs): New variable.
1699 (extra-objs): Append $(cross-rpcgen-objs).
1700 ($(cross-rpcgen-objs)): New rule.
1701 ($(objpfx)cross-rpcgen): Likewise.
1702 (rpcgen-cmd): Define to use $(built-program-file). Expand
1704 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
1705 ($(objpfx)x%.stmp): Likewise.
1706 * sunrpc/proto.h [IS_IN_build] (_): Define.
1707 [IS_IN_build] (_libc_intl_domainname): Likewise.
1709 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1711 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
1712 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
1713 and R_X86_64_TPOFF64.
1715 2012-05-10 Joseph Myers <joseph@codesourcery.com>
1717 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
1718 sysdeps/unix/sysv/syscalls.list.
1721 * sysdeps/unix/sysv/syscalls.list: Remove file.
1723 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
1726 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
1727 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
1728 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
1729 (__LC_IDENTIFICATION): Make these macros useful in #if
1730 expressions, as required by C99.
1732 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
1734 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
1735 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
1738 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
1740 * stdlib/longlong.h: Updated from GCC.
1742 2012-05-09 Andreas Jaeger <aj@suse.de>
1744 * nscd/nscd.c (run_modes): Make named enum, reorder so that
1745 default is first entry.
1746 (run_mode): Set type.
1747 (main): Remove informal message about syslog.
1748 (options): Fix typo.
1751 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
1754 (llrintf): Likewise.
1758 (nearbyint): Likewise.
1759 (nearbyintf): Likewise.
1761 2012-05-09 Andreas Jaeger <aj@suse.de>
1762 Pedro Alves <palves@redhat.com>
1764 * nscd/nscd.c (run_mode): Use enum.
1765 (main): Cleanup coding style issue.
1767 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
1768 Andreas Jaeger <aj@suse.de>
1770 * nscd/nscd.c (go_background): Replaced with...
1771 (run_mode): ... this.
1772 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
1773 (options): Add -F --foreground.
1774 (main): Implement it.
1775 (parse_opt): Parse it.
1777 2012-05-09 Andreas Jaeger <aj@suse.de>
1780 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
1781 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
1782 -Wconversion warning.
1783 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
1786 2012-05-09 Joseph Myers <joseph@codesourcery.com>
1788 * conform/data/locale.h-data (NULL): Use macro-constant. Require
1790 (LC_ALL): Use macro-int-constant.
1791 (LC_COLLATE): Likewise.
1792 (LC_CTYPE): Likewise.
1793 (LC_MESSAGES): Likewise.
1794 (LC_MONETARY): Likewise.
1795 (LC_NUMERIC): Likewise.
1796 (LC_TIME): Likewise.
1797 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
1798 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
1799 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1800 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
1802 [C99-based standards] (float_t): Expect type.
1803 [C99-based standards] (double_t): Expect type.
1804 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
1806 [C99-based standards] (HUGE_VALL): Likewise.
1807 [C99-based standards] (INFINITY): Likewise.
1808 [C99-based standards] (NAN): Likewise.
1809 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
1810 [C99-based standards] (FP_NAN): Likewise.
1811 [C99-based standards] (FP_NORMAL): Likewise.
1812 [C99-based standards] (FP_SUBNORMAL): Likewise.
1813 [C99-based standards] (FP_ZERO): Likewise.
1814 [C99-based standards] (FP_FAST_FMA): Use
1815 optional-macro-int-constant. Specify type. Require == 1.
1816 [C99-based standards] (FP_FAST_FMAF): Likewise.
1817 [C99-based standards] (FP_FAST_FMAL): Likewise.
1818 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
1819 [C99-based standards] (FP_ILOGBNAN): Likewise.
1820 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
1822 [C99-based standards] (MATH_ERREXCEPT): Likewise.
1823 [C99-based standards] (math_errhandling): Specify type.
1824 [ISO99 || ISO11] (signgam): Do not allow.
1825 [non-C99-based standards] (copysignf): Do not allow.
1826 [non-C99-based standards] (exp2f): Likewise.
1827 [non-C99-based standards] (log2f): Likewise.
1828 [non-C99-based standards] (modff): Allow.
1829 [non-C99-based standards] (erff): Do not allow.
1830 [non-C99-based standards] (erfcf): Likewise.
1831 [non-C99-based standards] (gammaf): Likewise.
1832 [non-C99-based standards] (hypotf): Likewise.
1833 [non-C99-based standards] (j0f): Likewise.
1834 [non-C99-based standards] (j1f): Likewise.
1835 [non-C99-based standards] (jnf): Likewise.
1836 [non-C99-based standards] (lgammaf): Likewise.
1837 [non-C99-based standards] (tgammaf): Likewise.
1838 [non-C99-based standards] (y0f): Likewise.
1839 [non-C99-based standards] (y1f): Likewise.
1840 [non-C99-based standards] (ynf): Likewise.
1841 [non-C99-based standards] (isnanf): Likewise.
1842 [non-C99-based standards] (acoshf): Likewise.
1843 [non-C99-based standards] (asinhf): Likewise.
1844 [non-C99-based standards] (atanhf): Likewise.
1845 [non-C99-based standards] (cbrtf): Likewise.
1846 [non-C99-based standards] (expm1f): Likewise.
1847 [non-C99-based standards] (ilogbf): Likewise.
1848 [non-C99-based standards] (log1pf): Likewise.
1849 [non-C99-based standards] (logbf): Likewise.
1850 [non-C99-based standards] (nextafterf): Likewise.
1851 [non-C99-based standards] (remainderf): Likewise.
1852 [non-C99-based standards] (rintf): Likewise.
1853 [non-C99-based standards] (scalbf): Likewise.
1854 [non-C99-based standards] (copysignl): Likewise.
1855 [non-C99-based standards] (exp2l): Likewise.
1856 [non-C99-based standards] (log2l): Likewise.
1857 [non-C99-based standards] (modfl): Allow.
1858 [non-C99-based standards] (erfl): Do not allow.
1859 [non-C99-based standards] (erfcl): Likewise.
1860 [non-C99-based standards] (gammal): Likewise.
1861 [non-C99-based standards] (hypotl): Likewise.
1862 [non-C99-based standards] (j0l): Likewise.
1863 [non-C99-based standards] (j1l): Likewise.
1864 [non-C99-based standards] (jnl): Likewise.
1865 [non-C99-based standards] (lgammal): Likewise.
1866 [non-C99-based standards] (tgammal): Likewise.
1867 [non-C99-based standards] (y0l): Likewise.
1868 [non-C99-based standards] (y1l): Likewise.
1869 [non-C99-based standards] (ynl): Likewise.
1870 [non-C99-based standards] (isnanl): Likewise.
1871 [non-C99-based standards] (acoshl): Likewise.
1872 [non-C99-based standards] (asinhl): Likewise.
1873 [non-C99-based standards] (atanhl): Likewise.
1874 [non-C99-based standards] (cbrtl): Likewise.
1875 [non-C99-based standards] (expm1l): Likewise.
1876 [non-C99-based standards] (ilogbl): Likewise.
1877 [non-C99-based standards] (log1pl): Likewise.
1878 [non-C99-based standards] (logbl): Likewise.
1879 [non-C99-based standards] (nextafterl): Likewise.
1880 [non-C99-based standards] (remainderl): Likewise.
1881 [non-C99-based standards] (rintl): Likewise.
1882 [non-C99-based standards] (scalbl): Likewise.
1883 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1884 [non-C99-based standards] (FP_*): Do not allow.
1885 [C99-based standards] (FP_*): Change to
1886 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
1887 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1889 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
1890 (SIG_ERR): Likewise.
1891 [X/Open-based standards] (SIG_HOLD): Likewise.
1892 (SIG_IGN): Likewise.
1893 (SIGABRT): Use macro-int-constant. Specify type. Require
1898 (SIGSEGV): Likewise.
1900 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
1901 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
1902 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
1903 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
1904 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
1905 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
1906 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
1907 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
1908 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
1909 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
1910 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
1911 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
1912 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
1913 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
1914 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
1915 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
1916 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
1917 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
1918 [X/Open-based standards] (SIGTRAP): Likewise.
1919 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
1920 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
1921 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
1922 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
1923 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1926 2012-05-08 Ian Wienand <ianw@vmware.com>
1929 * time/tzset.c (__tzset_parse_tz): Update default rules for
1930 daylight time changes in the Energy Policy Act of 2005.
1932 2012-05-09 Andreas Jaeger <aj@suse.de>
1935 * elf/ldconfig.c (parse_conf): Change string to make clear that
1936 ldconfig only issued a warning if ld.so.conf does not exist.
1938 2012-05-08 David S. Miller <davem@davemloft.net>
1940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
1941 movxtod instead of popping the value on the stack.
1943 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1945 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
1947 * config.h.in: Add HAVE_ARM_PCS_VFP.
1949 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
1952 * include/features.h: Warn if user requests __FORTIFY_SOURCE
1953 checking but the checks are disabled for any reason.
1955 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
1957 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
1958 and ELF64_R_TYPE with ELFW(R_TYPE).
1960 2012-05-08 Joseph Myers <joseph@codesourcery.com>
1962 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
1965 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
1966 (settimeofday): Likewise.
1968 2012-05-08 Mike Frysinger <vapier@gentoo.org>
1970 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
1971 a struct th_u2 inside the union, and move tu_block/tu_code into
1972 a new th_u3 union of tu_block/tu_code inside of that. Move
1973 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
1974 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
1975 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
1976 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
1977 (th_stuff): Change to th_u1.tu_stuff.
1979 (th_msg): Change to th_u1.th_u2.tu_data.
1981 2012-05-07 David S. Miller <davem@davemloft.net>
1983 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1986 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
1987 (SETUP_PIC_REG): Use it.
1988 (SETUP_PIC_REG_LEAF): Use it.
1990 2012-05-07 Joseph Myers <joseph@codesourcery.com>
1994 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1996 (EXPL_FINITE): Likewise.
1998 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
1999 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
2001 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2003 (EXPL_FINITE): Likewise.
2005 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
2006 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
2008 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
2009 test of -max_value argument for long double.
2010 * sysdeps/i386/fpu/libm-test-ulps: Update.
2011 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2013 2012-05-06 David S. Miller <davem@davemloft.net>
2015 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
2016 quad soft-float symbols whose references which are compiler
2018 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
2020 2012-05-06 Joseph Myers <joseph@codesourcery.com>
2024 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2026 (EXPL_FINITE): Likewise.
2030 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
2031 Adjust comments for base varying.
2032 (__expl_finite): Change alias to EXPL_FINITE.
2033 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
2035 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
2036 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
2037 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
2038 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
2039 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2041 (EXPL_FINITE): Likewise.
2045 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
2046 Adjust comments for base varying.
2047 (__expl_finite): Change alias to EXPL_FINITE.
2048 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
2050 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2053 * math/libm-test.inc (check_float_internal): Correct ulp
2054 calculation for subnormal expected results.
2056 2012-05-06 Andreas Jaeger <aj@suse.de>
2058 * Makeconfig (+math-flags): New, set to -frounding-math.
2059 (+cflags): Add +math-flags so that all of glibc gets compiled with
2062 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
2064 2012-05-05 Joseph Myers <joseph@codesourcery.com>
2066 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
2072 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
2073 (__ieee754_expl): Allow for and saturate large arguments.
2074 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
2075 (u_threshold): Likewise.
2076 (__exp): Call __ieee754_exp before checking for overflow and
2078 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
2079 (u_threshold): Likewise.
2080 (__expf): Call __ieee754_expf before checking for overflow and
2082 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
2083 (u_threshold): Likewise.
2084 (__expl): Call __ieee754_expl before checking for overflow and
2086 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
2087 (__ieee754_expl): Allow for and saturate large arguments.
2088 * math/libm-test.inc (exp_test): Add another test. Do not allow
2089 missing overflow exception on overflow.
2090 (expm1_test): Do not allow missing overflow exception on overflow.
2092 * sysdeps/i386/fpu/e_expl.c: Move to ...
2093 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
2094 rather than using inline asm.
2095 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
2096 * sysdeps/x86_64/fpu/e_expl.S: Copy from
2097 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
2099 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
2106 2012-05-04 Joseph Myers <joseph@codesourcery.com>
2108 * sysdeps/unix/syscalls.list (adjtime): Add entry from
2109 sysdeps/unix/common/syscalls.list.
2112 (ftruncate): Likewise.
2113 (getrusage): Likewise.
2114 (gettimeofday): Likewise.
2115 (setpgid): Likewise.
2116 (setregid): Likewise.
2117 (setreuid): Likewise.
2118 (sigaction): Likewise.
2119 (truncate): Likewise.
2120 (vhangup): Likewise.
2121 * sysdeps/unix/common/syscalls.list: Remove file.
2122 * sysdeps/unix/bsd/Implies: Don't include unix/common.
2123 * sysdeps/unix/sysv/linux/Implies: Likewise.
2125 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
2127 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
2128 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
2129 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
2131 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
2133 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
2135 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
2136 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
2138 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
2139 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
2141 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
2142 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
2144 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
2145 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
2147 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
2148 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
2150 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
2151 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
2153 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
2155 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
2157 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
2159 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
2161 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
2162 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
2164 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
2166 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
2168 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
2170 2012-05-04 Joseph Myers <joseph@codesourcery.com>
2172 * sysdeps/unix/common/bits/dirent.h: Remove file.
2173 * sysdeps/unix/common/bits/fcntl.h: Likewise.
2175 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
2176 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
2177 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
2178 * sysdeps/unix/bsd/isatty.c: Likewise.
2179 * sysdeps/unix/bsd/tcdrain.c: Likewise.
2180 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
2181 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
2183 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2186 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
2187 long double comparison inaccuracies.
2188 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
2189 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2191 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
2193 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
2194 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
2196 2012-05-04 Joseph Myers <joseph@codesourcery.com>
2199 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
2200 nonzero digits before rounding a hex value.
2201 * stdlib/tst-strtod.c (tests): Add another test.
2203 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2205 * sysdeps/s390/fpu/libm-test-ulps: Update.
2207 2012-05-03 Andreas Jaeger <aj@suse.de>
2209 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
2210 does not get optimized out.
2211 (malloc_opt_barrier): New.
2213 2012-05-03 Andreas Jaeger <aj@suse.de>
2214 Roland McGrath <roland@hack.frob.com>
2216 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
2217 intermediate file deletion.
2218 (generated): Add .symlist files.
2220 2012-05-03 Joseph Myers <joseph@codesourcery.com>
2223 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
2224 Redirect under this condition.
2225 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
2226 [__USE_GNU] (__dprintf_chk): Not under this condition.
2227 [__USE_GNU] (__vdprintf_chk): Likewise.
2228 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
2229 under this condition.
2230 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
2231 [__USE_XOPEN2K8] (dprintf): Define under this condition.
2232 [__USE_XOPEN2K8] (vdprintf): Likewise.
2233 [__USE_GNU] (__dprintf_chk): Not under this condition.
2234 [__USE_GNU] (__vdprintf_chk): Likewise.
2235 [__USE_GNU] (dprintf): Likewise.
2236 [__USE_GNU] (vdprintf): Likewise.
2238 2012-05-03 Roland McGrath <roland@hack.frob.com>
2240 * elf/Makefile (common-generated): Set this instead of generated for
2241 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
2242 $(all-built-dso)-derived lists.
2244 2012-05-03 Andreas Jaeger <aj@suse.de>
2246 * sysdeps/i386/fpu/libm-test-ulps: Update.
2250 * scripts/gen-FAQ.pl: Likewise.
2251 * manual/install.texi (Installation): Point to online location of
2253 * Makefile (files-for-dist): Remove FAQ.
2256 2012-05-02 Allan McRae <allan@archlinux.org>
2258 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
2259 (LDFLAGS-reldepmod5.so): Likewise.
2260 (LDFLAGS-reldep6mod1.so): Likewise.
2261 (LDFLAGS-reldep6mod4.so): Likewise.
2262 (LDFLAGS-reldep8mod3.so): Likewise.
2263 (LDFLAGS-unload4mod1.so): Likewise.
2264 (LDFLAGS-unload4mod2.so): Likewise.
2265 (LDFLAGS-tst-initorder): Likewise.
2266 (LDFLAGS-tst-initordera2.so): Likewise.
2267 (LDFLAGS-tst-initordera3.so): Likewise.
2268 (LDFLAGS-tst-initordera4.so): Likewise.
2269 (LDFLAGS-tst-initorderb2.so): Likewise.
2270 (LDFLAGS-noload): Likewise.
2271 (LDFLAGS-next): Likewise.
2272 (LDFLAGS-order2mod1.so): Likewise.
2273 (LDFLAGS-order2mod2.so): Likewise.
2274 (LDFLAGS-tst-initorder2): Likewise.
2275 (LDFLAGS-tst-initorder2a.so): Likewise.
2276 (LDFLAGS-tst-initorder2b.so): Likewise.
2277 (LDFLAGS-tst-initorder2c.so): Likewise.
2278 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
2280 2012-05-02 David S. Miller <davem@davemloft.net>
2282 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2284 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
2287 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
2289 2012-05-02 Andreas Jaeger <aj@suse.de>
2291 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
2292 since we manipulate rounding mode.
2293 (CPPFLAGS-test-idouble.c): Likewise.
2294 (CPPFLAGS-test-ifloat.c): Likewise.
2295 (CFLAGS-test-ldouble.c): Likewise.
2296 (CFLAGS-test-double.c): Likewise.
2297 (CFLAGS-test-float.c): Likewise.
2298 (CFLAGS-test-misc.c): Likewise.
2299 (CFLAGS-test-test-fenv.c): Likewise.
2301 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2305 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
2306 comparisons to determine direction to adjust input.
2308 2012-05-01 Roland McGrath <roland@hack.frob.com>
2310 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
2311 output to the target.
2313 * scripts/localplt.awk: New file.
2314 * elf/Makefile ($(objpfx)check-localplt): Target removed.
2315 (check-localplt-CFLAGS): Variable removed.
2316 ($(all-built-dso:=.jmprel)): New static pattern rule.
2317 (generated): Add those targets.
2318 (localplt-built-dso): New variable.
2319 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
2321 * elf/check-localplt.c: File removed.
2323 * scripts/check-execstack.awk: New file.
2324 * elf/Makefile ($(objpfx)check-execstack): Target removed.
2325 (check-execstack-CFLAGS): Variable removed.
2326 ($(objpfx)check-execstack.h): Target removed.
2327 ($(objpfx)execstack-default): New target.
2328 (generated): Add that instead of check-execstack.h.
2329 ($(all-built-dso:=.phdr)): New static pattern rule.
2330 (generated): Add those targets.
2331 * elf/check-execstack.c: File removed.
2333 * scripts/check-textrel.awk: New file.
2334 * elf/Makefile ($(objpfx)check-textrel): Target removed.
2335 (check-textrel-CFLAGS): Variable removed.
2336 (all-built-dso): Use := to define.o
2337 ($(all-built-dso:=.dyn)): New static pattern rule.
2338 (generated): Add those targets.
2339 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
2340 * config.make.in (READELF): New substituted variable.
2341 * elf/check-textrel.c: File removed.
2343 2012-05-01 Joseph Myers <joseph@codesourcery.com>
2345 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2347 * conform/data/ctype.h-data [C99-based standards] (isblank):
2349 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
2350 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
2351 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2352 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
2353 Specify type. Require positive value.
2356 [ISO || POSIX] (EILSEQ): Do not expect.
2357 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
2358 Specify type. Require positive value.
2359 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
2360 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
2361 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
2362 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
2363 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
2364 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
2365 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
2366 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
2367 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
2368 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
2369 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
2370 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
2371 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
2372 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
2373 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
2374 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
2375 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
2376 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
2377 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
2378 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
2379 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
2380 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
2381 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
2382 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
2383 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
2384 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
2385 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
2386 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
2387 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
2388 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
2389 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
2390 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
2391 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
2392 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
2393 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
2394 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
2395 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
2396 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
2397 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
2398 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
2399 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
2400 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
2401 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
2402 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
2403 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
2404 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
2405 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
2406 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
2407 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
2408 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
2409 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
2410 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
2411 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
2412 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
2413 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
2414 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
2415 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
2416 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
2417 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
2418 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
2419 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
2420 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
2421 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
2422 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
2423 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
2424 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
2425 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
2426 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
2427 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
2428 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
2429 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
2430 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
2431 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
2432 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
2433 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
2434 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
2435 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
2437 (FLT_ROUNDS): Expect as macro, not constant.
2438 (FLT_MANT_DIG): Use macro-int-constant.
2439 (DBL_MANT_DIG): Likewise.
2440 (LDBL_MANT_DIG): Likewise.
2441 (FLT_DIG): Likewise.
2442 (DBL_DIG): Likewise.
2443 (LDBL_DIG): Likewise.
2444 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
2445 (DBL_MIN_EXP): Likewise.
2446 (LDBL_MIN_EXP): Likewise.
2447 (FLT_MAX_EXP): Use macro-int-constant.
2448 (DBL_MAX_EXP): Likewise.
2449 (LDBL_MAX_EXP): Likewise.
2450 (FLT_MAX_10_EXP): Likewise.
2451 (DBL_MAX_10_EXP): Likewise.
2452 (LDBL_MAX_10_EXP): Likewise.
2453 (FLT_MAX): Use macro-constant.
2454 (DBL_MAX): Likewise.
2455 (LDBL_MAX): Likewise.
2456 (FLT_EPSILON): Use macro-constant. Give upper bound.
2457 (DBL_EPSILON): Likewise.
2458 (LDBL_EPSILON): Likewise.
2459 (FLT_MIN): Likewise.
2460 (DBL_MIN): Likewise.
2461 (LDBL_MIN): Likewise.
2462 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
2463 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
2464 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
2465 [ISO11] (FLT_HAS_SUBNORM): Likewise.
2466 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
2467 [ISO11] (DBL_DECIMAL_DIG): Likewise.
2468 [ISO11] (FLT_DECIMAL_DIG): Likewise.
2469 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
2470 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
2471 [ISO11] (FLT_TRUE_MIN): Likewise.
2472 [ISO11] (LDBL_TRUE_MIN): Likewise.
2473 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2474 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
2475 (SCHAR_MIN): Use macro-int-constant. Specify type.
2476 (SCHAR_MAX): Likewise.
2477 (UCHAR_MAX): Likewise.
2478 (CHAR_MIN): Likewise.
2479 (CHAR_MAX): Likewise.
2480 (MB_LEN_MAX): Use macro-int-constant.
2481 (SHRT_MIN): Use macro-int-constant. Specify type.
2482 (SHRT_MAX): Likewise.
2483 (USHRT_MAX): Likewise.
2484 (INT_MAX): Likewise.
2485 (INT_MIN): Use macro-int-constant. Specify type. Make upper
2487 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
2489 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
2491 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
2492 bound negative. Suffix upper bound with "L".
2493 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
2495 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
2497 [C99-based standards] (LLONG_MAX): Likewise.
2498 [C99-based standards] (ULLONG_MAX): Likewise.
2499 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
2501 [ISO11] (max_align_t): Require type.
2502 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2504 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
2505 from $CFLAGS, without defining away __attribute__ calls.
2506 (checknamespace): Use $CFLAGS_namespace.
2508 * conform/conformtest.pl (@keywords): Only include C99 keywords
2509 for standards based on C99 or C11.
2511 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
2513 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
2516 * conform/conformtest.pl: Handle "macro-int-constant" and test for
2517 usability of symbols in #if.
2519 * conform/conformtest.pl: If macro or constant types start
2520 "promoted:", expect the symbol to be of the following type
2521 promoted by the integer promotions.
2523 * conform/conformtest.pl: Parse all "constant" and "macro" lines
2524 in one place. Also handle "macro-constant".
2526 * conform/conformtest.pl: Only accept expected macro values with
2527 "==". Parse all "macro" lines in one place.
2528 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
2530 * conform/conformtest.pl: Handle braced types on "constant" lines
2531 instead of handling "typed-constant".
2532 * conform/data/signal.h-data: Use "constant" instead of
2535 * conform/conformtest.pl: Handle "optional-" at start of lines in
2536 one place rather than duplicating several cases. Handle each
2537 format of "macro" line with initial "optional-".
2539 * conform/conformtest.pl: Only accept expected constant or
2540 optional-constant values with "==". Parse all "constant" lines in
2541 one place. Parse all "optional-constant" lines in one place.
2542 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
2543 * conform/data/fmtmsg.h-data: Likewise.
2544 * conform/data/netinet/in.h-data: Likewise.
2545 * conform/data/tar.h-data: Likewise.
2546 * conform/data/limits.h-data: Use "==" form on "constant" and
2547 "optional-constant" lines.
2549 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
2550 Use -std=c99 for XOPEN2K.
2551 (@knownproblems): Remove.
2552 (newtoken): Don't check %isknown.
2554 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
2555 Do not expect macro.
2556 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
2557 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
2558 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
2559 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
2560 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
2561 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
2562 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
2563 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
2564 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
2565 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
2566 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
2567 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
2568 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
2569 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
2570 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
2571 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
2572 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
2573 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
2574 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
2575 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
2576 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
2577 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
2578 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
2579 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
2580 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
2581 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
2582 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
2583 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
2584 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
2585 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
2586 [XPG3] (acosh): Likewise.
2587 [XPG3] (asinh): Likewise.
2588 [XPG3] (atanh): Likewise.
2589 [XPG3] (cbrt): Likewise.
2590 [XPG3] (expm1): Likewise.
2591 [XPG3] (ilogb): Likewise.
2592 [XPG3] (log1p): Likewise.
2593 [XPG3] (logb): Likewise.
2594 [XPG3] (nextafter): Likewise.
2595 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
2596 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
2597 [XPG3] (remainder): Likewise.
2598 [XPG3] (rint): Likewise.
2599 [XPG3 || XPG4 || UNIX98] (round): Likewise.
2600 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
2601 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
2602 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
2603 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
2604 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
2605 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
2606 [UNIX98 || XOPEN2K] (scalb): Expect.
2607 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
2608 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
2609 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
2610 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
2611 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
2612 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
2613 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
2614 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
2615 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
2616 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
2617 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
2618 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
2619 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
2620 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
2621 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
2622 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
2623 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
2624 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
2625 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
2626 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
2627 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
2628 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
2629 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
2630 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
2631 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
2632 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
2633 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
2634 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
2635 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
2636 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
2637 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
2638 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
2639 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
2640 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
2641 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
2642 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
2643 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
2644 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
2645 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
2646 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
2647 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
2648 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
2649 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
2650 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
2651 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
2652 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
2653 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
2654 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
2655 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
2656 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
2657 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
2658 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
2659 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
2660 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
2661 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
2662 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
2663 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
2664 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
2665 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
2666 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
2667 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
2668 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
2669 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
2670 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
2671 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
2672 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
2673 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
2674 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
2675 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
2676 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
2677 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
2678 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
2679 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
2680 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
2681 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
2682 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
2683 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
2684 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
2685 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
2686 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
2687 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
2688 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
2689 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
2690 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
2691 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
2692 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
2693 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
2694 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
2695 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
2696 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
2697 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
2698 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
2699 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
2700 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
2701 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
2702 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
2703 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
2704 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
2705 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
2706 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
2707 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
2708 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
2709 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
2710 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
2711 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
2712 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
2713 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
2714 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
2715 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
2716 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
2717 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
2718 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
2719 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
2720 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
2721 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
2722 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
2723 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
2724 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
2725 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
2726 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
2727 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
2728 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
2729 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
2730 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
2731 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
2732 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
2733 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
2734 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
2735 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
2736 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
2737 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
2738 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
2739 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
2740 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
2741 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
2742 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
2743 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
2745 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
2746 _XOPEN_SOURCE_EXTENDED for XPG4.
2748 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
2750 * Makeconfig (localtime): Remove variable.
2751 (inst_localtime-file): Likewise.
2753 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
2755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
2757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
2761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
2765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
2767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
2771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2774 2012-05-01 Joseph Myers <joseph@codesourcery.com>
2778 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
2779 comparisons to determine direction to adjust input.
2780 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
2781 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
2782 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
2784 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
2786 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
2788 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
2789 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
2791 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
2793 * math/libm-test.inc (nexttoward_test): Add more tests.
2795 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
2798 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
2799 in version GLIBC_2.1, not GLIBC_2.0.
2800 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
2803 2012-04-30 Joseph Myers <joseph@codesourcery.com>
2806 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
2808 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
2809 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
2810 * math/libm-test.inc (acos_test): Add more tests.
2811 (asin_test): Likewise.
2812 * sysdeps/i386/fpu/libm-test-ulps: Update.
2813 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2816 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
2818 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
2819 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
2820 * math/libm-test.inc (acos_test_tonearest): New function.
2821 (acos_test_towardzero): Likewise.
2822 (acos_test_downward): Likewise.
2823 (acos_test_upward): Likewise.
2824 (asin_test_tonearest): Likewise.
2825 (asin_test_towardzero): Likewise.
2826 (asin_test_downward): Likewise.
2827 (asin_test_upward): Likewise.
2828 (main): Call the new functions.
2829 * sysdeps/i386/fpu/libm-test-ulps: Update.
2830 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2834 * math/e_exp10.c: Include <float.h>.
2835 (__ieee754_exp10): Handle underflow here rather than multiplying
2836 large negative argument by M_LN10.
2837 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
2839 * math/e_exp10l.c: Include <float.h>.
2840 (__ieee754_exp10l): Handle underflow here rather than multiplying
2841 large negative argument by M_LN10l.
2842 * math/libm-test.inc (exp10_test): Add another test. Do not allow
2843 spurious overflow exception on underflow.
2845 2012-04-29 Marek Polacek <polacek@redhat.com>
2847 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
2848 (__fortify_function): New macro.
2849 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
2850 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
2851 __extern_always_inline.
2852 * libio/bits/stdio2.h: Likewise.
2853 * libio/bits/stdio.h: Likewise.
2854 * string/string.h: Likewise.
2855 * string/bits/string3.h: Likewise.
2856 * include/stdio.h: Likewise.
2857 * stdlib/bits/stdlib.h: Likewise.
2858 * stdlib/stdlib.h: Likewise.
2859 * rt/bits/mqueue2.h: Likewise.
2860 * rt/mqueue.h: Likewise.
2861 * posix/bits/unistd.h: Likewise.
2862 * posix/unistd.h: Likewise.
2863 * io/bits/poll2.h: Likewise.
2864 * io/bits/fcntl2.h: Likewise.
2865 * io/fcntl.h: Likewise.
2866 * io/sys/poll.h: Likewise.
2867 * misc/bits/syslog.h: Likewise.
2868 * misc/bits/syslog-ldbl.h: Likewise.
2869 * misc/sys/syslog.h: Likewise.
2870 * socket/bits/socket2.h: Likewise.
2871 * socket/sys/socket.h: Likewise.
2872 * debug/tst-chk1.c: Likewise.
2873 * wcsmbs/bits/wchar2.h: Likewise.
2874 * wcsmbs/bits/wchar-ldbl.h: Likewise.
2875 * wcsmbs/wchar.h: Likewise.
2877 2012-04-29 Andreas Jaeger <aj@suse.de>
2879 * Makerules (tests): Remove enable-check-abi protection.
2880 (check-abi-warn): Remove.
2881 (check-abi-%): Remove check-abi-warn usage.
2883 * configure.in: Remove check-abi configure option.
2884 * configure: Regenerated.
2885 * config.make.in (enable-check-abi): Remove.
2887 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
2890 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
2891 double functions to double *_finite functions.
2894 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
2895 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
2897 * stdio-common/Makefile (tests): Add tst-sprintf3.
2898 * stdio-common/tst-sprintf3.c: New file.
2900 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
2901 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
2903 2012-04-28 Joseph Myers <joseph@codesourcery.com>
2905 * conform/conformtest.pl: Remove duplicate typed-constant
2908 2012-04-28 David S. Miller <davem@davemloft.net>
2910 * Makerules (%.abilist): Add vpath on sysdep_dirs.
2911 (check-abi-%): Remove AWK script prerequisite and explicit
2913 (check-abi): Rewrite to just diff the symlist with the abilist.
2914 (config-tls, config-abi-config): Delete, no longer used.
2915 (update-abi-%): Remove AWK script and explicit abilist directory.
2916 (update-abi): Rewrite to simply compare and conditionally copy the
2917 symlist and the sysdep abilist file. Remove update-abi-config
2919 * abilist/ld.abilist: Remove.
2920 * abilist/libBrokenLocale.abilist: Remove.
2921 * abilist/libanl.abilist: Remove.
2922 * abilist/libcrypt.abilist: Remove.
2923 * abilist/libdl.abilist: Remove.
2924 * abilist/librt.abilist: Remove.
2925 * abilist/libthread_db.abilist: Remove.
2926 * abilist/libutil.abilist: Remove.
2927 * scripts/extract-abilist.awk: Remove.
2928 * scripts/merge-abilist.awk: Remove.
2929 * sysdeps/generic/libcidn.abilist: New file.
2930 * sysdeps/generic/libnss_compat.abilist: New file.
2931 * sysdeps/generic/libnss_db.abilist: New file.
2932 * sysdeps/generic/libnss_dns.abilist: New file.
2933 * sysdeps/generic/libnss_files.abilist: New file.
2934 * sysdeps/generic/libnss_hesiod.abilist: New file.
2935 * sysdeps/generic/libnss_nis.abilist: New file.
2936 * sysdeps/generic/libnss_nisplus.abilist: New file.
2937 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
2938 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
2939 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
2941 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
2942 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
2943 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
2944 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
2945 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
2946 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
2947 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
2948 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
2949 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
2951 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
2952 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
2953 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
2954 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
2956 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
2957 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
2958 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
2959 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
2960 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
2961 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
2963 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
2964 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
2965 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
2967 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
2968 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
2970 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
2972 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
2974 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
2976 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
2978 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
2980 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
2982 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
2984 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
2986 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
2988 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
2990 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
2992 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
2994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
2996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
3000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
3002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
3004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
3006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
3008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
3010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
3014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
3016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
3018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
3020 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
3021 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
3023 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
3025 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
3027 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
3029 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
3031 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
3033 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
3035 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3037 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
3039 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
3041 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
3043 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
3045 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
3046 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
3048 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
3050 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
3052 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
3054 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
3056 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
3058 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
3060 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3062 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
3064 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
3066 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
3068 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
3070 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
3071 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
3072 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
3074 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
3075 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
3076 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
3077 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
3078 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
3079 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
3080 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
3081 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
3082 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
3083 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
3084 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
3085 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
3087 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
3089 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
3091 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
3093 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
3095 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
3097 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
3099 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3101 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
3103 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
3105 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
3107 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
3109 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
3110 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
3112 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
3114 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
3116 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
3118 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
3120 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
3122 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
3124 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3126 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
3128 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
3130 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
3132 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
3135 2012-04-28 Joseph Myers <joseph@codesourcery.com>
3137 * conform/conformtest.pl: Fix typo in handling typed-constant from
3140 2012-04-27 Joseph Myers <joseph@codesourcery.com>
3142 * README: Cut down references to pre-2.6 Linux kernels and
3143 Linuxthreads. Update lists of configurations in libc and ports
3144 and sort alphabetically. Say "or newer" with Linux kernel version
3147 * config.h.in [IS_IN_build]: Allow compiling without optimization.
3149 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3152 * math/libm-test.inc (logb_test_downward): New test to expose
3153 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
3156 2012-04-27 Joseph Myers <joseph@codesourcery.com>
3159 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
3161 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
3162 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
3164 2012-04-26 Joseph Myers <joseph@codesourcery.com>
3166 * sysdeps/unix/i386/brk.S: Remove file.
3167 * sysdeps/unix/i386/dl-brk.S: Likewise.
3168 * sysdeps/unix/i386/pipe.S: Likewise.
3169 * sysdeps/unix/i386/sigreturn.S: Likewise.
3170 * sysdeps/unix/i386/syscall.S: Likewise.
3171 * sysdeps/unix/i386/vfork.S: Likewise.
3172 * sysdeps/unix/i386/wait.S: Likewise.
3174 * sysdeps/unix/common/tcsendbrk.c: Move to ...
3175 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
3177 * configure.in (arm*-none*): Do not allow without
3178 --enable-hacker-mode.
3179 (netbsd*): Remove case setting base_os.
3180 (386bsd*): Likewise.
3181 (freebsd*): Likewise.
3185 (ultrix*): Likewise.
3186 (newsos*): Likewise.
3196 (solaris[2-9]*): Likewise.
3198 * configure: Regenerated.
3200 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3203 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
3204 overflow or cancellation in calculating denominator.
3205 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
3206 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
3207 down expression to avoid unexpected rounding in newer GCCs.
3208 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
3210 2012-04-26 David S. Miller <davem@davemloft.net>
3212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
3213 long-double compat symbols.
3214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
3216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
3217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
3218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
3219 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
3220 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
3221 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
3222 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
3223 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
3224 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
3225 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
3226 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
3228 2012-04-25 David S. Miller <davem@davemloft.net>
3230 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
3231 HWCAP_* values only after the memory barriers have been defined.
3232 (atomic_full_barrier): Define.
3233 (atomic_read_barrier): Define.
3234 (atomic_write_barrier): Define.
3236 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3238 * shlib-versions: Add libgcc_s version information.
3239 * sysdeps/generic/libgcc_s.h: Remove.
3240 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
3242 * sysdeps/gnu/unwind-resume.c: Likewise.
3243 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
3245 2012-04-25 David S. Miller <davem@davemloft.net>
3247 * sysdeps/unix/sparc/brk.S: Delete.
3248 * sysdeps/unix/sparc/dl-brk.S: Delete.
3249 * sysdeps/unix/sparc/pipe.S: Delete.
3250 * sysdeps/unix/sparc/sysdep.S: Delete.
3251 * sysdeps/unix/sparc/sysdep.h: Delete.
3252 * sysdeps/unix/sparc/vfork.S: Delete.
3253 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
3254 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
3255 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
3256 ret_ERRVAL, r0, r1, MOVE): Define.
3257 (JUMPTARGET): Remove.
3258 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
3259 sysdeps/unix/sparc/sysdep.h
3260 (ENTRY, END): Remove.
3261 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3263 2012-04-25 Joseph Myers <joseph@codesourcery.com>
3265 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
3266 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
3269 * timezone/README: Update upstream location and email address for
3271 * timezone/zdump.c: Update from tzcode 2012b.
3272 * timezone/zic.c: Likewise.
3274 * configure.in (libc_cv_as_needed): Remove test.
3275 * configure: Regenerated.
3276 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
3277 conditional definition.
3278 [$(have-as-needed) != yes] (no-as-needed): Likewise.
3279 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
3280 * config.make.in (have-as-needed): Remove variable.
3282 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3283 Paul Pluzhnikov <ppluzhnikov@google.com>
3285 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
3288 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
3290 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
3291 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
3292 * sysdeps/sh/strlen.S: Likewise.
3294 2012-04-24 Joseph Myers <joseph@codesourcery.com>
3296 * sysdeps/unix/fork.S: Remove file.
3297 * sysdeps/unix/i386/fork.S: Likewise.
3298 * sysdeps/unix/sparc/fork.S: Likewise.
3300 * sysdeps/unix/system.c: Remove file.
3301 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
3303 * sysdeps/unix/getegid.S: Remove file.
3304 * sysdeps/unix/geteuid.S: Likewise.
3306 2012-04-24 Roland McGrath <roland@hack.frob.com>
3308 * scripts/check-localplt.awk: New file.
3309 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
3311 * scripts/data/localplt-generic.data: Add a comment.
3313 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
3314 NODE when __dir_mkfile failed.
3315 * sysdeps/mach/hurd/symlinkat.c: Likewise.
3316 Reported by Ludovic Courtès <ludo@gnu.org>.
3318 2012-04-24 Andreas Jaeger <aj@suse.de>
3320 * Makerules (common-clean): Also remove gen-as-const-headers
3323 2012-04-24 Joseph Myers <joseph@codesourcery.com>
3325 * Makerules (native-compile): Do not change working directory for
3326 build. Use $(OUTPUT_OPTION) in command.
3327 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
3329 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3332 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
3333 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
3334 * math/libm-test.inc (floor_test): Add more tests.
3335 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
3337 2012-04-24 Joseph Myers <joseph@codesourcery.com>
3339 * sysdeps/unix/getdents.c: Remove file.
3340 * sysdeps/unix/sysv/getdents.c: Likewise.
3341 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
3343 * sysdeps/unix/syscalls.list (madvise): Add syscall from
3344 sysdeps/unix/mman/syscalls.list.
3346 (mprotect): Likewise.
3349 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
3350 * sysdeps/unix/mman/syscalls.list: Remove.
3351 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
3353 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
3354 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
3355 * configure: Regenerated.
3356 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
3358 * config.make.in (libgcc_s_suffix): Remove variable.
3360 2012-04-23 Joseph Myers <joseph@codesourcery.com>
3362 * sysdeps/unix/sysv/gethostname.c: Move to ...
3363 * sysdeps/posix/gethostname.c: ... here.
3365 * sysdeps/unix/execve.S: Remove file.
3367 * sysdeps/unix/_exit.S: Remove file.
3369 2012-04-23 Andreas Jaeger <aj@suse.de>
3372 * manual/Makefile: Remove make dist support, there's no
3373 need for a stand-alone documentation tar ball.
3374 (TEXI2DVI): Define always, it's not in Makeconfig.
3378 (glibc-doc-$(edition).tar): Removed
3382 (ETAGS): Remove, it's in Makeconfig.
3383 (move-if-change): Remove, it's in Makeconfig.
3385 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
3388 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
3389 (strtod, strtof, strtold, strtol, strtoul, strtoq)
3390 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
3391 (strtod_l, strtof_l, strtold_l): Remove __wur.
3392 It is not necessarily an error to ignore strtol's return value.
3393 One can reliably look at the stored endptr to decide whether
3394 the number had valid syntax.
3396 2012-04-21 Andreas Jaeger <aj@suse.de>
3399 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
3401 2012-04-21 Joseph Myers <joseph@codesourcery.com>
3403 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
3404 * sysdeps/unix/sysv/Versions: Remove file.
3406 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
3409 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3411 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
3414 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
3415 version from __vm86.
3417 2012-04-20 Joseph Myers <joseph@codesourcery.com>
3419 * sysdeps/unix/common/lxstat.c: Remove file.
3420 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
3422 * sysdeps/unix/sysv/Makefile: Remove file.
3424 * sysdeps/unix/sysv/direct.h: Remove file.
3426 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
3427 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
3428 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
3429 * sysdeps/unix/sysv/bits/signum.h: Likewise.
3430 * sysdeps/unix/sysv/bits/stat.h: Likewise.
3431 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
3432 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
3434 * sysdeps/unix/sysv/setrlimit.c: Remove file.
3436 * sysdeps/unix/xmknod.c: Remove file.
3437 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
3439 * sysdeps/unix/sysv/settimeofday.c: Remove file.
3441 * sysdeps/unix/sysv/i386/time.S: Remove file.
3443 * sysdeps/unix/fxstat.c: Remove file.
3444 * sysdeps/unix/xstat.c: Likewise.
3445 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
3447 * sysdeps/unix/sysv/sigaction.c: Remove file.
3449 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
3450 (sysdep_headers): Remove variable.
3451 [termio.h not in sysdep_headers] (generated): Likewise.
3452 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
3453 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
3454 * sysdeps/unix/sysv/tcdrain.c: Likewise.
3455 * sysdeps/unix/sysv/tcflow.c: Likewise.
3456 * sysdeps/unix/sysv/tcflush.c: Likewise.
3457 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
3458 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
3459 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
3460 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
3461 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
3463 * sysdeps/unix/siglist.c: Remove file.
3465 * sysdeps/unix/getppid.S: Remove file.
3467 * sysdeps/unix/mkdir.c: Remove file.
3468 * sysdeps/unix/rmdir.c: Likewise.
3470 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
3472 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
3474 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
3475 errlist-compat value.
3477 2012-04-18 David S. Miller <davem@davemloft.net>
3479 * sysdeps/generic/memcopy.h (reg_char): Delete.
3480 * debug/strcat_chk.c: Use char, not reg_char.
3481 * debug/strcpy_chk.c: Likewise.
3482 * debug/strncat_chk.c: Likewise.
3483 * debug/strncpy_chk.c: Likewise.
3484 * string/memchr.c: Likewise.
3485 * string/memrchr.c: Likewise.
3486 * string/rawmemchr.c: Likewise.
3487 * string/strcat.c: Likewise.
3488 * string/strchr.c: Likewise.
3489 * string/strchrnul.c: Likewise.
3490 * string/strcmp.c: Likewise.
3491 * string/strcpy.c: Likewise.
3492 * string/strncat.c: Likewise.
3493 * string/strncmp.c: Likewise.
3494 * string/strncpy.c: Likewise.
3496 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3498 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
3499 __builtin_memcopy is called when src and dest ranges are known to not
3502 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3504 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
3505 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
3506 fwd_align_merge macro call.
3507 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
3508 bwd_align_merge macro call.
3509 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3511 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3513 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
3514 bwd_align_merge macros.
3515 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
3516 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
3517 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3519 2012-04-18 David S. Miller <davem@davemloft.net>
3521 * sysdeps/sparc/sparc64/memcopy.h: Delete.
3523 2012-04-18 Andreas Jaeger <aj@suse.de>
3526 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
3527 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
3528 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3530 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
3531 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
3532 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3534 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
3535 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
3536 Adjust for changed ldbl-128 files.
3538 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
3539 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
3540 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3542 2012-04-17 David S. Miller <davem@davemloft.net>
3544 * sysdeps/sparc/sparc32/memcopy.h: Delete.
3546 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
3548 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
3549 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
3550 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
3551 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
3552 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
3553 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
3555 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3558 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
3559 * math/libm-test.inc: Add ilogb errno and exception tests.
3560 * math/w_ilogb.c: New file: ilogb wrapper.
3561 * math/w_ilogbf.c: New file: ilogbf wrapper.
3562 * math/w_ilogbl.c: New file: ilogbl wrapper.
3563 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
3564 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
3565 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
3566 exception being thrown with 0.0 as argument.
3567 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
3568 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
3569 exception being thrown with 0.0 as argument.
3570 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
3571 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
3572 exception being thrown with 0.0 as argument.
3573 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
3574 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
3575 exception being thrown with 0.0 as argument.
3576 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
3577 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
3578 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
3579 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
3580 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
3581 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
3582 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
3583 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
3584 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
3586 2012-04-17 Petr Baudis <pasky@ucw.cz>
3588 * include/sys/uio.h: Change __vector to __iovec to avoid clash
3591 2012-04-16 Marek Polacek <polacek@redhat.com>
3593 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
3595 2012-04-16 Marek Polacek <polacek@redhat.com>
3597 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
3598 operands of fdivp instruction.
3600 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
3602 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
3603 * elf/tst-auditmod3b.c: Likewise.
3604 * elf/tst-auditmod4b.c: Likewise.
3605 * elf/tst-auditmod5b.c: Likewise.
3606 * elf/tst-auditmod6b.c: Likewise.
3607 * elf/tst-auditmod6c.c: Likewise.
3608 * elf/tst-auditmod7b.c: Likewise.
3609 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
3610 * sysdeps/x86_64/preconfigure.in: Likewise.
3611 * sysdeps/x86_64/preconfigure: Regenerated.
3613 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
3615 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
3618 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
3620 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3621 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
3623 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
3626 * locale/iso-639.def: Fix gl language name. Spotted by
3629 2012-04-12 Roland McGrath <roland@hack.frob.com>
3632 * libio/libio.h (__io_write_fn): Update comment.
3634 2012-04-12 Petr Baudis <pasky@ucw.cz>
3637 * stdio.texi (Hook Functions): The user provided writer function
3638 is not allowed to return -1.
3640 2012-04-11 David S. Miller <davem@davemloft.net>
3642 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3644 2012-04-11 Mike Frysinger <vapier@gentoo.org>
3646 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
3647 Add a leading slash to rtkaio.
3649 2012-04-11 Jim Meyering <meyering@redhat.com>
3652 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
3653 It is not necessarily an error to ignore fwrite's return
3654 value. One can reliably use ferror to test for errors after
3657 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
3659 * bits/types.h (__snseconds_t): New type.
3660 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
3662 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
3663 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3664 (__SNSECONDS_T_TYPE): Likewise.
3665 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3666 (__SNSECONDS_T_TYPE): Likewise.
3667 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3668 (__SNSECONDS_T_TYPE): Likewise.
3670 2012-04-10 Andreas Jaeger <aj@suse.de>
3673 * manual/time.texi (Processor Time): Return type of times is
3674 elapsed real time since an arbitrary point in the past.
3675 (CPU Time): Move CLK_TCK from here...
3676 (Processor Time): ...to here. Correct description.
3677 * manual/conf.texi (Constants for Sysconf): Correct description of
3680 2012-04-10 David S. Miller <davem@davemloft.net>
3683 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
3684 where the is a gap between DT_REL(A) and DT_JMPREL.
3686 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
3688 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
3689 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
3690 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
3692 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3694 * elf/dl-support.c (_dl_inhibit_cache): New variable.
3695 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
3696 (dl_main): Handle --inhibit-cache.
3697 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
3699 * elf/dl-load.c (_dl_map_object): Use it.
3700 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
3702 2012-04-09 Joseph Myers <joseph@codesourcery.com>
3705 * sysdeps/i386/fpu/e_powl.S (p78): New object.
3706 (__ieee754_powl): Saturate large exponents rather than testing for
3707 overflow of y*log2(x).
3708 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3709 * math/libm-test.inc (pow_test): Do not permit spurious overflow
3713 * math/s_ctan.c: Include <float.h>.
3714 (__ctan): Avoid internal overflow or cancellation in calculating
3716 * math/s_ctanf.c: Likewise.
3717 * math/s_ctanl.c: Likewise.
3718 * math/s_ctanh.c: Likewise.
3719 * math/s_ctanhf.c: Likewise.
3720 * math/s_ctanhl.c: Likewise.
3721 * math/libm-test.inc (ctan_test): Add more tests.
3722 (ctanh_test): Likewise.
3723 * sysdeps/i386/fpu/libm-test-ulps: Update.
3724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3726 2012-04-09 Andreas Jaeger <aj@suse.de>
3729 * manual/filesys.texi (Directory Entries): Mention that d_namlen
3730 is an optional BSD extension.
3733 * manual/stdio.texi (Opening Streams): Document additional fopen
3736 2012-04-09 Roland McGrath <roland@hack.frob.com>
3738 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
3739 %eax without telling the compiler.
3741 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
3744 * manual/install.texi: Use sourceware.org.
3746 2012-04-09 Joseph Myers <joseph@codesourcery.com>
3749 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
3750 (__ieee754_pow): Generate overflow and underflow using huge*huge
3751 and tiny*tiny rather than just returning constant infinity or zero
3752 for large exponents.
3753 * math/libm-test.inc (pow_test): Require overflow exceptions for
3754 applicable cases of large exponents.
3757 * sysdeps/i386/fpu/e_pow.S (p10): New object.
3758 (__ieee754_pow): Use iterative multiplication algorithm only for
3759 integer exponents with absolute value below 1024. Check for odd
3760 integer exponents when using algorithm for real exponents.
3761 * math/libm-test.inc (pow_test): Add more tests.
3762 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3764 2012-04-08 Joseph Myers <joseph@codesourcery.com>
3767 * math/libm-test.inc (exp_test): Do not allow overflow exception
3770 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
3773 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
3774 instead of __kernel_standard_f.
3776 2012-04-08 Mike Frysinger <vapier@gentoo.org>
3778 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
3779 * sysdeps/x86_64/memset_chk.S: Likewise.
3781 2012-04-08 Andreas Jaeger <aj@suse.de>
3784 * manual/startup.texi (Environment Access): Describe return value
3785 for putenv and setenv.
3788 * manual/filesys.texi (Directory Entries): Add description for
3792 * manual/filesys.texi (Directory Entries): Clarify that it's file
3793 system not operating system in the description of DT_UNKNOWN.
3796 * manual/syslog.texi (closelog): Fix reference, it's openlog.
3798 2012-04-08 Stephen Compall <s11@member.fsf.org>
3801 * manual/llio.texi (Opening and Closing Files): Add cross
3802 reference to explain mode argument.
3804 2012-04-07 Mike Frysinger <vapier@gentoo.org>
3806 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
3807 * sysdeps/x86_64/memset_chk.S: Likewise.
3809 2012-04-07 David S. Miller <davem@davemloft.net>
3811 * elf/elf.h (R_SPARC_WDISP10): Define.
3812 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
3814 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
3815 R_SPARC_SIZE64 and R_SPARC_H34.
3817 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
3819 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
3820 conditions and remove no longer applicable assertion.
3822 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
3824 * bits/byteswap.h: Include <features.h>.
3825 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
3826 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
3828 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
3830 * bits/byteswap.h (__bswap_16): Removed.
3831 Include <bits/byteswap-16.h> to get __bswap_16.
3832 * sysdeps/i386/bits/byteswap.h: Likewise.
3833 * sysdeps/s390/bits/byteswap.h: Likewise.
3834 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3835 * bits/byteswap-16.h: New file.
3836 * sysdeps/i386/bits/byteswap-16.h: Likewise.
3837 * sysdeps/s390/bits/byteswap-16.h: Likewise.
3838 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
3839 * string/Makefile (headers): Add bits/byteswap-16.h.
3841 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
3844 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
3846 * nss/Makefile (tests-static, tests): Add tst-nss-static.
3847 * nss/tst-nss-static.c: New.
3849 2012-04-06 Robert Millan <rmh@gnu.org>
3852 * manual/llio.texi (File Position Primitive): lseek
3853 refers to WHENCE when it really means OFFSET.
3855 2012-04-06 Andreas Jaeger <aj@suse.de>
3857 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
3858 strncmp declarations.
3860 * abilist/libc.abilist: Add __poll and __ppoll.
3862 2012-04-05 David S. Miller <davem@davemloft.net>
3864 * scripts/check-local-headers.sh: Accept a host triplet in the
3865 path matched by the exclude regexp.
3867 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
3869 * sysdeps/powerpc/powerpc32/dl-machine.h
3870 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
3871 * sysdeps/s390/s390-32/dl-machine.h
3872 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3873 * sysdeps/sparc/sparc32/dl-machine.h
3874 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3875 * sysdeps/sparc/sparc64/dl-machine.h
3876 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3878 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
3880 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
3881 undefined symbol errors.
3883 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
3886 2012-04-05 Michael Matz <matz@suse.de>
3889 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
3891 2012-04-05 Andreas Jaeger <aj@suse.de>
3894 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
3897 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3899 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
3900 which ROUND is no valid rounding mode.
3902 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3904 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
3906 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
3908 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3910 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
3911 an exception using FPU order intentionally.
3913 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3915 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
3916 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
3917 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
3918 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
3920 2012-04-05 Simon Josefsson <simon@josefsson.org>
3923 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
3924 EINVAL when BUFLEN is too smal.
3926 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
3929 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
3930 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
3932 2012-04-03 Andreas Jaeger <aj@suse.de>
3935 * manual/setjmp.texi (System V contexts): Fix sentence.
3938 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
3939 New macro for this case.
3940 [!__GNUC__] (__bswap_64): New inline function for this case.
3941 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3942 * bits/byteswap.h: Likewise.
3943 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
3944 ull, guard with __GLIBC_HAVE_LONG_LONG.
3946 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
3947 __GLIBC_HAVE_LONG_LONG.
3949 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
3950 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
3952 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3955 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
3956 inptr and inend, rather than using last_ch.
3958 2012-04-02 David S. Miller <davem@davemloft.net>
3960 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
3961 * stdio-common/printf-parse.h (read_int): Change return type to
3962 'int', return -1 on INT_MAX overflow.
3963 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
3964 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
3965 overflows INT_MAX. Check for overflow of in-format-string precision
3966 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
3967 SIZE_MAX not INT_MAX for integer overflow test.
3968 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
3969 skip the construct in the format string but do not record anything.
3970 * stdio-common/bug22.c: Adjust to test both width/prevision
3971 INT_MAX overflow as well as total length INT_MAX overflow. Check
3972 explicitly for proper errno values.
3974 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
3976 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
3978 * string/test-strcmp.c [! WIDE]: Likewise.
3979 * time/tst-mktime2.c: Likewise for INT_MAX.
3980 * string/test-string.h: #include <sys/param.h> for MIN.
3982 * csu/init-first.c (__libc_init_first): Call __ctype_init.
3983 * sysdeps/i386/init-first.c (init): Likewise.
3984 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
3985 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
3986 * sysdeps/sh/init-first.c (init): Likewise.
3988 2012-04-01 Ulrich Drepper <drepper@gmail.com>
3990 * po/ru.po: Update from translation team.
3991 * po/vi.po: Likewise.
3993 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3995 * resolv/nss_dns/dns-host.c: Merge copyright years.
3997 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3999 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
4000 Optimize memcpy with prefetch if
4001 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
4002 src, dst pointers have unequal 16 byte alignments.
4004 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4007 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
4008 from a CNAME entry and return the minimum ttl for the query.
4009 (gaih_getanswer_slice): Likewise.
4011 2012-03-30 Jeff Law <law@redhat.com>
4013 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
4015 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
4016 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
4018 * resolv/nss_dns/dns-host.c: Update copyright year.
4020 2012-03-30 Ulrich Drepper <drepper@gmail.com>
4022 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
4023 requests to save a system call. Fix check that all bytes are sent.
4025 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
4026 comments for sendmmsg.
4028 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4031 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
4032 with only 1 character between 0x0041 and 0x01b0.
4033 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
4034 * wcsmbs/tst-mbsnrtowcs.c: New file.
4036 2012-03-29 David S. Miller <davem@davemloft.net>
4038 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
4039 small copies by hand.
4041 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4044 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
4045 _nss_compat_initgroups_dyn): Fall back to malloc/free
4046 for large group memberships.
4048 2012-03-28 David S. Miller <davem@davemloft.net>
4050 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
4051 that branches into memcpy.
4052 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
4053 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
4054 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4055 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
4056 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
4058 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
4060 * sysdeps/sparc/mempcpy.S: New file.
4062 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
4063 the IFUNC routine in the libc case.
4064 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
4066 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
4067 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
4068 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
4069 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
4070 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
4071 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
4072 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
4073 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
4075 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
4076 loop to 256 bytes instead of 64 bytes and fix test signedness.
4078 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
4079 * sysdeps/sparc/sparc32/Makefile: rather than here...
4080 * sysdeps/sparc/sparc64/Makefile: and here.
4082 2012-03-28 Ulrich Drepper <drepper@gmail.com>
4084 * malloc/mallocbug.c: Avoid warnings about unused variables.
4086 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4089 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
4090 in the right place. Discard and retry query if response is
4091 larger than input buffer size.
4093 2012-03-28 Joseph Myers <joseph@codesourcery.com>
4098 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
4099 x for large integer exponent.
4100 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
4101 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
4102 sign of result as needed afterwards.
4103 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
4104 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
4105 result for underflowing pow the same as for overflow.
4106 (__kernel_standard_l): Handle powl overflow and underflow here
4107 rather than calling __kernel_standard.
4108 * math/libm-test.inc (pow_test): Add more tests.
4123 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
4124 * sysdeps/ieee754/k_standard.c: Include <float.h>.
4125 (__kernel_standard_l): New function.
4126 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
4128 * math/w_acosl.c (__acosl): Likewise.
4129 * math/w_asinl.c (__asinl): Likewise.
4130 * math/w_atan2l.c (__atan2l): Likewise.
4131 * math/w_atanhl.c (__atanhl): Likewise.
4132 * math/w_coshl.c (__coshl): Likewise.
4133 * math/w_exp10l.c (__exp10l): Likewise.
4134 * math/w_exp2l.c (__exp2l): Likewise.
4135 * math/w_fmodl.c (__fmodl): Likewise.
4136 * math/w_hypotl.c (__hypotl): Likewise.
4137 * math/w_j0l.c (__j0l, __y0l): Likewise.
4138 * math/w_j1l.c (__j1l, __y1l): Likewise.
4139 * math/w_jnl.c (__jnl, __ynl): Likewise.
4140 * math/w_lgammal.c (__lgammal): Likewise.
4141 * math/w_log10l.c (__log10l): Likewise.
4142 * math/w_log2l.c (__log2l): Likewise.
4143 * math/w_logl.c (__logl): Likewise.
4144 * math/w_powl.c (__powl): Likewise.
4145 * math/w_remainderl.c (__remainderl): Likewise.
4146 * math/w_scalbl.c (sysv_scalbl): Likewise.
4147 * math/w_sinhl.c (__sinhl): Likewise.
4148 * math/w_sqrtl.c (__sqrtl): Likewise.
4149 * math/w_tgammal.c (__tgammal): Likewise.
4150 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
4151 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
4152 * math/libm-test.inc (acos_test): Add more tests.
4153 (acosh_test): Likewise.
4154 (asin_test): Likewise.
4155 (atanh_test): Likewise.
4156 (exp_test): Likewise.
4157 (exp10_test): Likewise.
4158 (exp2_test): Likewise.
4159 (expm1_test): Likewise.
4160 (lgamma_test): Likewise.
4161 (log_test): Likewise.
4162 (log10_test): Likewise.
4163 (log1p_test): Likewise.
4164 (log2_test): Likewise.
4165 (pow_test): Do not allow some spurious overflow exceptions.
4166 (sqrt_test): Add more tests.
4167 (tgamma_test): Likewise.
4168 (y0_test): Likewise.
4169 (y1_test): Likewise.
4170 (yn_test): Likewise.
4172 2012-03-27 Anton Blanchard <anton@samba.org>
4174 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
4176 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
4177 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
4178 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
4180 2012-03-27 David S. Miller <davem@davemloft.net>
4182 * conform/Makefile: Run run-conformtest.sh using $(BASH).
4184 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
4187 2012-03-27 Andreas Jaeger <aj@suse.de>
4189 * sysdeps/x86_64/elf/configure.in: Moved to ...
4190 * sysdeps/x86_64/configure.in: ... here.
4191 * sysdeps/x86_64/elf/start.S: Moved to ...
4192 * sysdeps/x86_64/start.S: ... here.
4193 * sysdeps/x86_64/elf/configure: Delete.
4195 * sysdeps/x86_64/configure.in: Merge contents from
4196 sysdeps/i386/configure.in (without i686 check).
4198 * sysdeps/i386/elf/Versions: Merge into ...
4199 * sysdeps/i386/Versions: ... this.
4200 * sysdeps/i386/elf/Versions: Delete file.
4201 * sysdeps/i386/elf/start.S: Moved to ...
4202 * sysdeps/i386/start.S: ...here.
4203 * sysdeps/i386/elf/configure.in: Merge into...
4204 * sysdeps/i386/configure.in: ...here.
4205 * sysdeps/i386/elf/configure.in: Delete file.
4206 * sysdeps/i386/elf/configure: Delete file.
4208 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
4209 * debug/backtracesyms.c: ... here.
4210 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
4211 * debug/backtracesymsfd.c: ... here.
4212 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
4213 * sysdeps/generic/ifunc-sel.h: ... here.
4215 * sysdeps/unix/i386/start.c: Delete file.
4216 * sysdeps/unix/sparc/start.c: Delete file.
4217 * sysdeps/unix/start.c: Delete file.
4219 * sysdeps/sh/elf/configure.in: Moved to ...
4220 * sysdeps/sh/configure.in: ... here.
4221 * sysdeps/sh/elf/start.S: Moved to ...
4222 * sysdeps/sh/start.S: ... here.
4223 * sysdeps/sh/elf/configure: Delete file.
4225 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
4226 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
4227 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
4228 * sysdeps/powerpc/powerpc64/entry.h: ... here.
4229 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
4230 * sysdeps/powerpc/powerpc64/start.S: here.
4231 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
4232 * sysdeps/powerpc/powerpc64/Makefile: ... this.
4233 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
4234 * sysdeps/powerpc/powerpc64/configure.in: ... this.
4235 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
4237 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
4238 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
4239 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
4240 * sysdeps/powerpc/powerpc32/start.S: ... here.
4241 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
4242 * sysdeps/powerpc/powerpc32/configure.in: ... this.
4243 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
4245 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
4246 * sysdeps/powerpc/ifunc-sel.h: ... here.
4247 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
4248 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
4250 * sysdeps/sparc/elf/configure.in: Moved to ...
4251 * sysdeps/sparc/configure.in: ... here.
4252 * sysdeps/sparc/elf/configure: Delete file.
4253 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
4254 * sysdeps/sparc/sparc32/start.S: ... here.
4255 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
4256 * sysdeps/sparc/sparc64/start.S: ... here.
4257 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
4258 * sysdeps/sparc/sparc32/Makefile: ... this.
4259 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
4260 * sysdeps/sparc/sparc64/Makefile: ... this.
4262 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
4263 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
4264 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
4265 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
4266 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
4267 * sysdeps/s390/s390-32/setjmp.S: ... here.
4268 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
4269 * sysdeps/s390/s390-32/configure.in: ... here.
4270 * sysdeps/s390/s390-32/elf/configure: Delete file.
4271 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
4272 * sysdeps/s390/s390-32/start.S: ... here.
4274 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
4275 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
4276 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
4277 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
4278 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
4279 * sysdeps/s390/s390-64/setjmp.S: ... here.
4280 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
4281 * sysdeps/s390/s390-64/configure.in: ... here
4282 * sysdeps/s390/s390-64/elf/configure: Delete file.
4283 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
4284 * sysdeps/s390/s390-64/start.S: ... here.
4285 * sysdeps/s390/s390-64/elf/configure: Delete.
4287 * configure.in: Remove support for elf directories in sysdeps.
4289 * configure: Regenerated.
4290 * sysdeps/i386/configure: Regenerated.
4291 * sysdeps/powerpc/powerpc32/configure: Regenerated.
4292 * sysdeps/powerpc/powerpc64/configure: Regenerated.
4293 * sysdeps/s390/s390-32/configure: Regenerated.
4294 * sysdeps/s390/s390-64/configure: Regenerated.
4295 * sysdeps/sh/configure: Regenerated.
4296 * sysdeps/sparc/configure: Regenerated.
4297 * sysdeps/x86_64/configure: Regenerated.
4299 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
4301 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4303 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
4304 denormal result into account.
4306 2012-03-25 Roland McGrath <roland@hack.frob.com>
4308 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
4309 Reported by Allan McRae <allan@archlinux.org>.
4311 2012-03-23 Jeff Law <law@redhat.com>
4313 * nss/getnssent.c (__nss_getent): Fix typo.
4315 2012-03-23 David S. Miller <davem@davemloft.net>
4317 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4319 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
4321 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
4322 to pad to uint64_t for each field.
4323 (dl_tls_index): Replace unsigned long with uint64_t.
4325 2012-03-23 Daniel Jacobowitz <dmj@google.com>
4326 Paul Pluzhnikov <ppluzhnikov@google.com>
4329 * grp/Makefile (otherlibs): Don't set it.
4330 * inet/Makefile (otherlibs): Likewise.
4331 * login/Makefile (otherlibs): Likewise.
4332 * nscd/Makefile (otherlibs): Likewise.
4333 * posix/Makefile (otherlibs): Likewise.
4334 * pwd/Makefile (otherlibs): Likewise.
4335 * rt/Makefile (otherlibs): Likewise.
4336 * sunrpc/Makefile (otherlibs): Likewise.
4337 * nss/Makefile (otherlibs): Likewise.
4338 Add libnss_files to routines and static-only-routines.
4339 ($(objpfx)getent): Remove rule.
4340 * resolv/Makefile: Add libnss_dns and libresolv to routines and
4341 static-only-routines.
4343 2012-03-22 Joseph Myers <joseph@codesourcery.com>
4346 * math/s_cexp.c: Include <float.h>.
4347 (__cexp): Handle exp result overflowing not necessarily
4348 overflowing both real and imaginary parts of result.
4349 * math/s_cexpf.c: Likewise.
4350 * math/s_cexpl.c: Likewise.
4351 * math/libm-test.inc (cexp_test): Add more tests.
4352 * sysdeps/i386/fpu/libm-test-ulps: Update.
4353 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4355 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4357 * include/link.h (ELFW): New macro.
4358 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
4359 Replace ELF64_R_TYPE with ELFW(R_TYPE).
4361 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4363 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
4366 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4368 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
4370 (struct La_x32_retval): Likewise.
4372 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4374 * sysdeps/x86_64/preconfigure.in: New file.
4375 * sysdeps/x86_64/preconfigure: New generated file.
4377 2012-03-22 Joseph Myers <joseph@codesourcery.com>
4380 * math/e_exp2l.c: Include <float.h>.
4381 (__ieee754_exp2l): Handle overflow and underflow cases
4382 separately. Only pass fractional part of argument to
4384 * math/libm-test.inc (exp2_test): Add more tests.
4386 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
4387 negating x to take absolute value.
4388 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
4390 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
4391 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
4393 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
4394 computing low part if x was negated.
4395 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4397 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
4399 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
4401 (pltexit): Cast int_retval to ptrdiff_t.
4402 * elf/tst-auditmod3b.c: Likewise.
4403 * elf/tst-auditmod4b.c: Likewise.
4404 * elf/tst-auditmod5b.c: Likewise.
4405 * elf/tst-auditmod6b.c: Likewise.
4406 * elf/tst-auditmod6c.c: Likewise.
4407 * elf/tst-auditmod7b.c: Likewise.
4409 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
4410 and x32_gnu_pltexit.
4412 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
4414 (La_x32_regs): New macro.
4415 (La_x32_retval): Likewise.
4416 (la_x32_gnu_pltenter): New function prototype.
4417 (la_x32_gnu_pltexit): Likewise.
4419 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
4421 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
4424 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4426 * configure.in (libc_cv_cc_nofma): Check for option to disable
4427 generation of FMA instructions.
4428 * configure: Regenerate.
4429 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
4430 * sysdeps/ieee754/dbl-64/Makefile: New file.
4431 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
4432 Remove brandred-fma4.
4433 (CFLAGS-brandred-fma4.c): Remove.
4434 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
4435 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
4437 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
4440 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
4442 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
4443 LLONG_MAX != LONG_MAX.
4444 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4445 (_fitoa_word): Likewise.
4446 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
4447 LLONG_MAX != LONG_MAX.
4448 * stdio-common/_itowa.h: Include <_itoa.h>.
4449 (_itowa_word): Use _ITOA_WORD_TYPE on value.
4450 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
4451 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
4452 only if not defined.
4453 (_ITOA_WORD_TYPE): Likewise.
4454 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4455 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
4457 2012-03-21 David S. Miller <davem@davemloft.net>
4459 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4461 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
4463 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
4464 of x86_64 when setting libc_cv_slibdir, libdir and
4466 * sysdeps/unix/sysv/linux/configure: Regenerated.
4468 2012-03-21 Joseph Myers <joseph@codesourcery.com>
4470 * manual/lang.texi (Old Varargs): Remove section.
4471 (How Variadic): Update menu.
4472 (va_start): Do not mention varargs.h.
4474 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
4475 Joseph Myers <joseph@codesourcery.com>
4477 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
4479 * configure: Regenerated.
4481 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
4483 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
4484 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
4487 2012-03-21 Joseph Myers <joseph@codesourcery.com>
4490 * Makefile (files-for-dist): Remove NOTES.
4491 (NOTES): Remove rule.
4492 * README: Don't refer to NOTES.
4493 * manual/creature.texi: Don't include macros.texi.
4494 * manual/intro.texi (creature.texi): Remove comment referring to
4497 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
4498 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
4499 * configure: Regenerated.
4500 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
4502 (libc_cv_as_i686): Likewise.
4503 (libc_cv_cc_avx): Likewise.
4504 (libc_cv_cc_sse2avx): Likewise.
4505 (libc_cv_cc_fma4): Likewise.
4506 (libc_cv_cc_novzeroupper): Likewise.
4507 * sysdeps/i386/configure: Regenerated.
4510 * sysdeps/i386/fpu/s_cexp.S: Remove.
4511 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
4512 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
4513 * math/libm-test.inc (cexp_test): Add more tests.
4514 * sysdeps/i386/fpu/libm-test-ulps: Update.
4515 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4517 2012-03-21 Allan McRae <allan@archlinux.org>
4519 * timezone/Makefile: Do not install iso3166.tab and zone.tab
4521 2012-03-21 Joseph Myers <joseph@codesourcery.com>
4524 * math/w_exp2.c: Do not include <float.h>.
4525 (o_threshold, u_threshold): Remove.
4526 (__exp2): Calculate result before checking finiteness and calling
4528 * math/w_exp2f.c: Likewise.
4529 * math/w_exp2l.c: Likewise.
4530 * math/libm-test.inc (exp2_test): Require overflow exception for
4534 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
4535 range of signed 64-bit integers before using fistpll. Remove
4536 checks for whether integers fit in mantissa bits.
4537 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
4538 the range of signed 32-bit integers before using fistpl. Remove
4539 checks for whether integers fit in mantissa bits.
4540 * sysdeps/i386/fpu/e_powl.S (p64): New object.
4541 (__ieee754_powl): Test for y outside the range of signed 64-bit
4542 integers before using fistpll. Reduce 64-bit values to 63-bit
4544 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
4545 divide-by-zero is raised for zero to large negative powers.
4546 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
4547 (__ieee754_powl): Test for y outside the range of signed 64-bit
4548 integers before using fistpll. Reduce 64-bit values to 63-bit
4550 * math/libm-test.inc (pow_test): Add more tests.
4552 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4554 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
4555 <stdio-common/_itoa.h>.
4556 * debug/segfault.c: Likewise.
4557 * elf/dl-cache.c: Likewise.
4558 * elf/dl-minimal.c: Likewise.
4559 * elf/dl-misc.c: Likewise.
4560 * elf/dl-sysdep.c: Likewise.
4561 * elf/dl-version.c: Likewise.
4562 * elf/rtld.c: Likewise.
4563 * hurd/hurdsock.c: Likewise.
4564 * hurd/lookup-retry.c: Likewise.
4565 * malloc/malloc.c: Likewise.
4566 * malloc/mtrace.c: Likewise.
4567 * nscd/nscd_getgr_r.c: Likewise.
4568 * nscd/nscd_getpw_r.c: Likewise.
4569 * nscd/nscd_getserv_r.c: Likewise.
4570 * posix/getopt_init.c: Likewise.
4571 * posix/wordexp.c: Likewise.
4572 * stdio-common/_itoa.c: Likewise.
4573 * stdio-common/printf_fphex.c: Likewise.
4574 * stdio-common/vfprintf.c: Likewise.
4575 * string/_strerror.c: Likewise.
4576 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
4577 * sysdeps/i386/i686/hp-timing.h: Likewise.
4578 * sysdeps/mach/_strerror.c: Likewise.
4579 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
4580 * sysdeps/mach/hurd/sethostid.c: Likewise.
4581 * sysdeps/mach/hurd/xmknodat.c: Likewise.
4582 * sysdeps/mach/xpg-strerror.c: Likewise.
4583 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4584 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4585 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
4586 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
4587 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4588 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
4589 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
4590 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
4591 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
4592 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
4593 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
4594 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
4595 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
4596 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
4597 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
4598 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
4599 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
4600 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
4601 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
4602 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
4603 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
4605 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
4607 * stdio-common/_itoa.h: Moved to ...
4608 * sysdeps/generic/_itoa.h: Here.
4610 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
4612 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
4613 instead of "_itoa.h" and "_itowa.h".
4614 * stdio-common/vfprintf.: Likewise.
4616 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4618 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
4620 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
4621 (__signbit): Likwise.
4625 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4627 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
4630 2012-03-20 Joseph Myers <joseph@codesourcery.com>
4632 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
4633 OVERFLOW_EXCEPTION_OK.
4634 * math/libm-test.inc ("Philosophy"): Update comment about
4636 (OVERFLOW_EXCEPTION): Define.
4637 (OVERFLOW_EXCEPTION_OK): Likewise.
4638 (INVALID_EXCEPTION_OK): Renumber.
4639 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4640 (IGNORE_ZERO_INF_SIGN): Likewise.
4641 (test_exceptions): Handle FE_OVERFLOW.
4642 (exp10_test): Expect overflow exceptions.
4643 (exp2_test): Likewise.
4644 (expm1_test): Likewise.
4645 (nextafter_test): Likewise.
4646 (pow_test): Likewise.
4647 (scalbn_test): Likewise.
4648 (scalbln_test): Likewise.
4650 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4652 * sysdeps/x86_64/bits/atomic.h
4653 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
4655 (atomic_exchange_acq): Likewise.
4656 (__arch_exchange_and_add_body): Likewise.
4657 (__arch_add_body): Likewise.
4658 (atomic_add_negative): Likewise.
4659 (atomic_add_zero): Likewise.
4661 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4663 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
4664 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
4666 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4668 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
4669 Check __x86_64__ instead of __WORDSIZE.
4671 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4673 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
4675 2012-03-19 David S. Miller <davem@davemloft.net>
4677 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4679 * sysdeps/sparc/fpu/fenv_private.h: New file.
4680 * sysdeps/sparc/fpu/math_private.h: Use it.
4681 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
4683 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
4684 (libc_feholdexcept_setroundl): Remove.
4685 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
4687 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
4688 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
4690 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4692 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
4693 int64_t instead of long int.
4694 (INSERT_WORDS64): Likwise.
4696 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4698 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
4699 _Unwind_GetCFA return to _Unwind_Ptr first.
4701 2012-03-19 Joseph Myers <joseph@codesourcery.com>
4704 * math/s_clog.c: Include <float.h>.
4705 (__clog): Scale large or subnormal inputs.
4706 * math/s_clogf.c: Likewise.
4707 * math/s_clogl.c: Likewise.
4708 * math/s_clog10.c: Include <float.h>.
4709 (M_LOG10_2): Define.
4710 (__clog10): Scale large or subnormal inputs.
4711 * math/s_clog10f.c: Likewise.
4712 * math/s_clog10l.c: Likewise.
4713 * math/libm-test.inc (clog_test): Add more tests.
4714 (clog10_test): Likewise.
4715 * sysdeps/i386/fpu/libm-test-ulps: Update.
4716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4719 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
4721 * math/libm-test.inc (atan2_test): Add another test.
4723 * Makerules (common-objdir-compile): Remove.
4724 * sysdeps/unix/Makefile (config-generated): Do not add
4725 $(unix-generated) to variable.
4726 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
4727 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
4729 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
4731 [generic bits/local_lim.h] (before-compile): Do not append to
4733 [generic bits/local_lim.h] (common-generated): Likewise.
4734 [generic sys/param.h] (before-compile): Do not append to variable.
4735 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
4736 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
4737 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
4738 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
4740 [generic sys/param.h] (sys/param.h-includes): Remove variable.
4741 [generic sys/param.h] (sys/param.h-includes): Remove rule.
4742 [generic sys/param.h] ($(addprefix
4743 $(common-objpfx),$(sys/param.h-includes))): Likewise.
4744 [generic sys/param.h] (common-generated): Do not append to
4746 [generic sys/param.h] (sysdep_headers): Likewise.
4747 [generic bits/errno.h] (before-compile): Do not append to
4749 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
4751 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
4752 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
4753 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
4754 [generic bits/errno.h] (common-generated): Do not append to
4756 [generic bits/ioctls.h] (before-compile): Do not append to
4758 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
4760 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
4761 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
4762 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
4764 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
4765 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
4766 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
4767 [generic bits/ioctls.h] (common-generated): Do not append to
4769 [generic sys/syscall.h] (syscall.h): Remove variable.
4770 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
4772 [generic sys/syscall.h] (before-compile): Do not append to
4774 [generic sys/syscall.h] (common-generated): Likewise.
4775 * sysdeps/unix/errnos-tmpl.c: Remove file.
4776 * sysdeps/unix/errnos.awk: Likewise.
4777 * sysdeps/unix/ioctls-tmpl.c: Likewise.
4778 * sysdeps/unix/ioctls.awk: Likewise.
4779 * sysdeps/unix/mk-local_lim.c: Likewise.
4780 * sysdeps/unix/snarf-ioctls: Likewise.
4782 2012-03-19 Richard Henderson <rth@twiddle.net>
4784 * sysdeps/i386/fpu/fenv_private.h: New file.
4785 * sysdeps/i386/fpu/math_private.h: Use it.
4786 (math_opt_barrier, math_force_eval): Remove.
4787 (libc_feholdexcept_setround_53bit): Remove.
4788 (libc_feupdateenv_53bit): Remove.
4789 * sysdeps/x86_64/fpu/math_private.h: Likewise.
4790 (math_opt_barrier, math_force_eval): Remove.
4791 (libc_feholdexcept): Remove.
4792 (libc_feholdexcept_setround): Remove.
4793 (libc_fetestexcept, libc_fesetenv): Remove.
4794 (libc_feupdateenv_test): Remove.
4795 (libc_feupdateenv, libc_feholdsetround): Remove.
4796 (libc_feresetround): Remove.
4798 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
4799 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
4801 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
4802 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
4803 (libc_feupdateenv_testl): New.
4804 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
4805 (libc_feupdateenv_testf): New.
4806 (libc_feupdateenv): Use libc_feupdateenv_test.
4807 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
4808 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
4810 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
4811 (libc_feholdsetroundf, libc_feholdsetroundl): New.
4812 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
4813 (libc_feresetround_noex): New.
4814 (libc_feresetround_noexf): New.
4815 (libc_feresetround_noexl): New.
4816 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
4817 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
4818 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
4819 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
4821 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
4822 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
4824 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
4825 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
4826 SET_RESTORE_ROUND_NOEX.
4827 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
4828 SET_RESTORE_ROUND_NOEXF.
4829 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
4830 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
4831 (libc_feholdsetroundf): New.
4832 (libc_feresetround, libc_feresetroundf): New.
4834 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
4835 (libc_feholdexcept_setround_53bit): Convert from macro to function.
4836 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
4838 * sysdeps/generic/math_private.h: Include <fenv.h>.
4839 (default_libc_feholdexcept): New.
4840 (default_libc_feholdexcept_setround): New.
4841 (default_libc_fesetenv, default_libc_feupdateenv): New.
4842 (libc_feholdexcept): Only define if undefined.
4843 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
4844 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
4845 (libc_feholdexcept_setroundl): Likewise.
4846 (libc_feholdexcept_setround_53bit): Likewise.
4847 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
4848 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
4849 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
4850 (libc_feupdateenv_53bit): Likewise.
4851 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
4852 (libc_feholdexcept): Convert from macro to inline function.
4853 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
4854 (libc_fesetenv, libc_feupdateenv): Likewise.
4856 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
4857 not previously defined.
4858 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
4859 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
4860 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
4861 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
4862 * sysdeps/ieee754/flt-32/math_private.h: New file.
4863 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
4864 math_private.h below SET_FLOAT_WORD.
4865 (__isnan, __isinf_ns, __finite): Remove.
4866 (__isnanf, __isinf_nsf, __finitef): Remove.
4868 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
4870 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4872 2012-03-17 David S. Miller <davem@davemloft.net>
4875 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
4878 2012-03-16 David S. Miller <davem@davemloft.net>
4880 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
4884 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
4886 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
4887 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
4888 sysdep_routines when subdir is sysvipc.
4889 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
4892 * sysdeps/sparc/fpu/libm-test/ulps: Update.
4894 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4896 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
4899 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4901 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
4902 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
4903 (__lround): Renamed to ...
4904 (__llround): This. Replace long int with long long int.
4905 Define lround functions as aliases of llround functions.
4906 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
4908 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4910 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
4911 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
4912 adresses to uintptr_t. Replace "long int" and "unsigned long
4913 int" with "greg_t" on va_arg.
4915 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4917 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
4918 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
4920 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
4921 Move e_machine check before EI_CLASS check. Handle x32
4922 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
4923 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
4924 SKIP_EM_IA_64 and include
4925 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
4927 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
4928 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
4929 (add_system_dir): New macro.
4931 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
4932 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
4934 2012-03-16 Joseph Myers <joseph@codesourcery.com>
4945 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
4947 * math/w_j0f.c (j0f): Likewise.
4949 * math/w_j0l.c (__j0l): Likewise.
4951 * math/w_j1.c (j1): Likewise.
4953 * math/w_j1f.c (j1f): Likewise.
4955 * math/w_j1l.c (__j1l): Likewise.
4957 * math/w_jn.c (jn): Likewise.
4959 * math/w_jnf.c (jnf): Likewise.
4961 * math/w_jnl.c (__jnl): Likewise.
4963 * math/libm-test.inc (j0_test): Add more tests.
4964 (j1_test): Likewise.
4965 (jn_test): Likewise. Add trailing semicolon to existing test.
4966 (y0_test): Likewise.
4967 (y1_test): Likewise.
4968 * sysdeps/i386/fpu/libm-test-ulps: Update.
4969 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4973 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
4974 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
4975 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
4976 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
4977 (__tanl): Set errno for infinite argument.
4978 * sysdeps/i386/fpu/mptan.c: Remove.
4979 * sysdeps/i386/fpu/s_tan.S: Likewise.
4980 * sysdeps/i386/fpu/s_tanl.S: Likewise.
4981 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
4982 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
4983 * math/libm-test.inc (tan_test): Add more tests and enable more
4984 tests for double and long double.
4985 * sysdeps/i386/fpu/libm-test-ulps: Update.
4986 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4988 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4990 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
4991 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
4993 2012-03-16 Roland McGrath <roland@hack.frob.com>
4995 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
4996 * configure.in: Use it for both main tree and add-ons.
4997 * configure: Regenerated.
4999 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5001 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
5003 2012-03-16 Joseph Myers <joseph@codesourcery.com>
5005 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
5009 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
5010 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
5011 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
5012 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
5013 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
5015 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
5016 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
5018 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
5019 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
5020 * sysdeps/i386/fpu/s_cosl.S: Likewise.
5021 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
5022 * sysdeps/i386/fpu/s_sinl.S: Likewise.
5023 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
5024 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
5025 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
5026 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
5027 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
5028 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
5029 * math/libm-test.inc (cos_test): Add more tests and enable more
5030 tests for long double.
5031 (sin_test): Likewise.
5032 (sincos_test): Likewise.
5033 * sysdeps/i386/fpu/libm-test-ulps: Update.
5034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5036 2012-03-16 David S. Miller <davem@davemloft.net>
5038 * sysdeps/sparc/fpu/math_private.h: New file.
5040 2012-03-15 David S. Miller <davem@davemloft.net>
5042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
5044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
5045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
5047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
5048 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
5049 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
5050 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
5051 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
5052 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
5054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
5056 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
5057 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
5059 * sysdeps/sparc/sparc-ifunc.h: New file.
5060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
5062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
5063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
5065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
5067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
5068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
5069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
5070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
5072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
5073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
5074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
5075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
5076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
5078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
5080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
5081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
5082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
5083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
5084 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
5085 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
5086 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
5087 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
5088 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
5089 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
5090 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
5091 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
5092 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
5093 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
5094 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
5095 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
5096 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
5097 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
5098 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
5099 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
5100 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
5101 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
5102 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
5103 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
5105 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
5107 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
5109 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5111 2012-03-15 Andreas Jaeger <aj@suse.de>
5114 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
5115 ieee754/flt-32 implementation for sin, cos and sincos.
5116 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
5117 * sysdeps/i386/fpu/s_cosf.S: Likewise.
5118 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
5119 * sysdeps/i386/fpu/s_sinf.S: Likewise.
5120 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
5121 ieee754/flt-32 implementation for tan.
5123 * math/libm-test.inc (cos_test): Enable some large input tests for
5125 (sin_test): Likewise.
5126 (sincos_test): Likewise.
5127 (tan_test): Add tests for large input.
5129 * sysdeps/i386/fpu/libm-test-ulps: Update.
5131 2012-03-15 Andreas Jaeger <aj@suse.de>
5134 * math/libm-test.inc (cos_test): Add more test cases.
5135 (sin_test): Likewise.
5136 (sincos_test): Likewise.
5138 2012-03-15 Andreas Jaeger <aj@suse.de>
5141 * math/libm-test.inc (cos_test): Add a test case for large input
5143 (sin_test): Likewise.
5144 (sincos_test): Likewise.
5146 2012-03-15 Andreas Jaeger <aj@suse.de>,
5147 Joseph Myers <joseph@codesourcery.com>
5150 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
5151 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
5152 * sysdeps/i386/fpu/branred.c: Likewise.
5153 * sysdeps/i386/fpu/dosincos.c: Likewise.
5154 * sysdeps/i386/fpu/mpa.c: Likewise.
5155 * sysdeps/i386/fpu/s_cos.S: Likewise.
5156 * sysdeps/i386/fpu/s_sin.S: Likewise.
5157 * sysdeps/i386/fpu/s_sincos.S: Likewise.
5158 * sysdeps/i386/fpu/sincos32.c: Likewise.
5160 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
5162 (libc_feupdateenv_53bit): Define.
5163 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
5165 (libc_feupdateenv_53bit): Define.
5167 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
5168 53 bit (without extend i386 double precision).
5170 * math/libm-test.inc (sincos_test): Add tests for large input.
5174 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
5176 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
5178 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5180 2012-03-15 David S. Miller <davem@davemloft.net>
5182 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
5183 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
5184 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
5185 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
5186 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
5187 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
5188 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
5189 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
5190 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
5191 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
5192 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
5193 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
5194 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
5195 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
5196 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
5197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
5199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
5200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
5202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
5203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
5205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
5206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
5208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
5209 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
5210 fmin/fmax sysdep routines.
5211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
5213 2012-03-14 David S. Miller <davem@davemloft.net>
5215 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
5216 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
5217 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
5218 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
5219 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
5220 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
5221 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
5222 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
5223 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
5224 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
5225 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
5226 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
5227 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
5228 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
5229 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
5230 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
5231 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
5232 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
5233 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
5234 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
5235 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
5236 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
5237 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
5238 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
5239 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
5240 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
5241 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
5242 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
5243 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
5245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
5247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
5248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
5250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
5251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
5253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
5254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
5256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
5257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
5259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
5260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
5262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
5264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
5266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
5268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
5270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
5272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
5274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
5275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
5277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
5278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
5280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
5281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
5283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
5284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
5287 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
5290 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5292 * sysdeps/sparc/configure.in: New file.
5293 * sysdeps/sparc/configure: Generate.
5294 * configure.in (libc_cv_sparc_as_vis3): Substitute.
5295 * configure: Regenerate.
5296 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
5297 * config.make.in (have-as-vis3): New.
5298 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
5299 available use -Av9d instead of -Av9a.
5300 * sysdeps/sparc/sparc64/Makefile: Likewise.
5301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
5302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
5304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
5306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
5308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
5310 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
5311 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
5312 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
5313 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
5314 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
5316 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
5317 fzeros/fnegs to load 0x80000000 into a float register instead of
5319 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
5321 2012-03-14 Joseph Myers <joseph@codesourcery.com>
5323 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5325 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
5326 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
5327 ($(inst_includedir)/bits/syscall.h): Remove rule.
5328 ($(objpfx)bits/syscall.d): Include instead of
5329 $(objpfx)syscall-list.d.
5330 (generated): Change syscall-list.h and syscall-list.d to
5331 bits/syscall.h and bits/syscall.d.
5333 2012-03-14 Roland McGrath <roland@hack.frob.com>
5336 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
5338 2012-03-14 Joseph Myers <joseph@codesourcery.com>
5341 * math/s_csqrt.c: Include <float.h>.
5342 (__csqrt): Scale large or subnormal inputs.
5343 * math/s_csqrtf.c: Likewise.
5344 * math/s_csqrtl.c: Likewise.
5345 * math/libm-test.inc (csqrt_test): Add more tests.
5346 * sysdeps/i386/fpu/libm-test-ulps: Update.
5347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5350 * math/libm-test.inc (hypot_test): Add more tests.
5352 2012-03-13 David S. Miller <davem@davemloft.net>
5355 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
5356 double-precision for the calculation instead of scaling.
5358 2012-03-13 Joseph Myers <joseph@codesourcery.com>
5360 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
5361 manipulate bits before adding and subtracting TWO52[sx].
5362 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
5363 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
5365 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
5367 2012-03-13 David S. Miller <davem@davemloft.net>
5369 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
5370 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
5371 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
5372 rtld-global-offsets.h
5373 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5375 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
5378 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
5380 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
5381 'err' in the ifdef scope in which it is actually used.
5383 * nss/nss_db/db-init.c: Include string.h
5385 2012-03-12 David S. Miller <davem@davemloft.net>
5387 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
5388 masking out of the most significant byte of random value used.
5389 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5390 Fix coding style in previous change.
5392 * sysdeps/unix/sysv/linux/kernel-features.h
5393 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
5394 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
5396 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
5399 2012-03-11 David S. Miller <davem@davemloft.net>
5401 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
5402 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
5403 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
5404 for 'resultvar' otherwise things get truncated on 64-bit.
5406 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5407 Fix masking out of the most significant byte of random value used.
5409 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5411 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
5413 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5415 2012-03-09 David S. Miller <davem@davemloft.net>
5417 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
5418 variables with appropriate CPP guards.
5419 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
5420 frame pointer, not the stack pointer. Correct layout comments. Fix test
5421 on resulting framesize and the management of the outregs buffer for pltexit.
5422 Preserve floating point return values across _dl_call_pltexit call.
5423 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
5424 framesize and the management of the outregs buffer for pltexit.
5425 Preserve floating point return values across _dl_call_pltexit
5427 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
5428 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
5429 (print_exit): Fix format string for return register value.
5431 2012-03-10 Joseph Myers <joseph@codesourcery.com>
5433 * sunrpc/Makefile (others): Add rpcgen.
5434 ($(objpfx)rpcgen): Remove special build rule and dependency on
5436 * sunrpc/rpcgen.c: New file.
5438 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
5441 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
5442 * stdio-common/bug-vfprintf-nargs.c: Likewise.
5443 * sysdeps/i386/crti.S: Likewise.
5444 * sysdeps/i386/crtn.S: Likewise.
5445 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
5446 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
5447 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
5448 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
5449 * sysdeps/sh/crti.S: Likewise.
5450 * sysdeps/sh/crtn.S: Likewise.
5451 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
5454 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
5456 * locale/programs/locfile-kw.gperf: Likewise.
5457 * locale/programs/charmap-kw.h: Regenerated.
5458 * locale/programs/locfile-kw.h: Likewise.
5461 * intl/plural.y: Replace FSF snail mail address with URL.
5462 * intl/plural.c: Regenerated.
5464 2012-03-09 Richard Henderson <rth@twiddle.net>
5466 * include/math_private.h: Remove file.
5467 * math/math_private.h: Move file ...
5468 * sysdeps/generic/math_private.h: ... here.
5470 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
5471 * sysdeps/powerpc/fpu/math_private.h: Likewise.
5472 * sysdeps/x86_64/fpu/math_private.h: Likewise.
5474 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
5475 and <math_private.h>.
5476 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
5477 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
5478 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
5479 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
5480 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
5481 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
5482 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5483 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5484 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
5485 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5486 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5487 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5488 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
5489 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5490 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
5491 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
5492 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5493 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5494 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5495 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
5496 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5497 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
5498 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
5499 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5500 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
5501 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5502 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
5503 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5504 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5505 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5506 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
5507 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5508 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
5509 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5510 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5511 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5512 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5513 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5514 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5515 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5516 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
5517 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5518 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
5519 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
5520 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
5521 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5522 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
5523 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
5524 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5525 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5526 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
5527 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
5528 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
5529 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5530 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
5531 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5532 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5533 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5534 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
5535 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
5536 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5537 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
5538 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5539 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5540 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
5541 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5542 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5543 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5544 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
5545 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
5546 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
5547 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5548 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
5549 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5550 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
5551 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
5552 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
5553 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5554 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
5555 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
5556 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
5557 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
5558 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
5559 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
5560 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5561 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
5562 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
5563 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
5564 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
5565 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5566 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5567 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
5568 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5569 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
5570 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
5571 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
5572 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5573 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
5574 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5575 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
5576 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
5577 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
5578 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
5579 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
5580 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5581 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
5582 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
5583 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
5584 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5585 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5586 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5587 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5588 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
5589 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5590 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
5591 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5592 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5593 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
5594 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5595 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5596 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5597 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
5598 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5599 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
5600 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5601 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
5602 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
5603 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
5604 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
5605 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
5606 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
5607 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5608 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5609 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
5610 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
5611 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
5612 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
5613 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
5614 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
5615 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
5616 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5617 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
5618 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
5619 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
5620 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
5621 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
5622 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
5623 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
5624 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
5625 * sysdeps/ieee754/k_standard.c: Likewise.
5626 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
5627 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
5628 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5629 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
5630 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
5631 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
5632 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
5633 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
5634 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
5635 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5636 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5637 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
5638 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
5639 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
5640 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
5641 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
5642 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
5643 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
5644 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
5645 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
5646 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
5647 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
5648 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5649 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
5650 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
5651 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
5652 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
5653 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
5654 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
5655 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5656 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
5657 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
5658 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
5659 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
5660 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
5661 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
5662 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
5663 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
5664 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
5665 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5666 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
5667 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
5668 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
5669 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
5670 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
5671 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
5672 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
5673 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5674 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
5675 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5676 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5677 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
5678 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
5679 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
5680 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5681 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5682 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
5683 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
5684 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
5685 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
5686 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5687 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
5688 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5689 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
5690 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5691 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5692 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
5693 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
5694 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
5695 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
5696 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
5697 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5698 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
5699 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
5700 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
5701 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
5702 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
5703 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
5704 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5705 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
5706 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
5707 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
5708 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
5709 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
5710 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
5711 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5712 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
5713 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
5714 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5715 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
5716 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
5717 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
5718 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
5719 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
5720 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5721 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
5722 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
5723 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
5724 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
5725 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
5726 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
5727 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5728 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
5729 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
5730 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
5731 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
5732 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5733 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
5734 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
5735 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
5736 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
5737 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
5738 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
5739 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
5740 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
5741 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5742 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
5743 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
5744 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5745 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
5746 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5747 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
5748 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
5749 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
5750 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
5751 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
5752 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
5753 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
5754 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
5755 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5756 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
5757 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
5758 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
5759 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
5760 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
5761 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
5762 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
5763 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
5764 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
5765 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
5766 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
5767 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
5768 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
5769 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
5770 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
5771 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
5772 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
5773 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
5774 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
5775 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
5776 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
5777 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5778 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5779 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
5780 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
5781 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
5782 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
5783 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
5784 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
5785 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
5786 * sysdeps/ieee754/s_lib_version.c: Likewise.
5787 * sysdeps/ieee754/s_matherr.c: Likewise.
5788 * sysdeps/ieee754/s_signgam.c: Likewise.
5789 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5790 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5791 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
5792 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
5793 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
5794 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
5795 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
5796 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
5797 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
5798 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
5799 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
5800 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
5801 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
5802 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5803 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
5804 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
5805 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5806 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
5807 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5808 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5809 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5811 2012-03-09 Joseph Myers <joseph@codesourcery.com>
5813 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
5814 * sunrpc/rpc_main.c: Likewise.
5815 * sunrpc/rpc_svcout.c: Likewise.
5817 2012-03-09 David S. Miller <davem@davemloft.net>
5819 * include/math_private.h: New file.
5821 2012-03-09 Joseph Myers <joseph@codesourcery.com>
5823 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
5824 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
5825 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
5826 from <bits/socket_type.h>.
5827 (enum __socket_type): Don't define here.
5828 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
5829 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5833 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
5836 * Makerules ($(inst_includedir)/%.h): New rule.
5837 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
5838 (install-others): Remove variable setting.
5839 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
5841 2012-03-08 Richard Henderson <rth@twiddle.net>
5843 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
5844 from macro to inline function; merge with the
5845 !__LIBC_INTERNAL_MATH_INLINES version.
5846 (__ieee754_sqrtf): Likewise.
5848 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
5850 (__rintf, __floor, __floorf): Likewise.
5852 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
5853 macro to inline function.
5854 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
5856 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
5857 not <math/math_private.h>.
5859 2012-03-08 David S. Miller <davem@davemloft.net>
5861 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
5863 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
5865 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
5867 * resolv/gai_misc.c (handle_requests): Fix struct timespec
5869 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
5870 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
5872 2012-03-08 Ulrich Drepper <drepper@gmail.com>
5874 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
5875 be defined individually, they must be defined as a block. Define
5876 S for printing a string instead of hidint the different by using a
5877 macro for adding the 'l'.
5878 * stdio-common/tst-fphex-wide.c: Adjust.
5880 2012-03-07 Marek Polacek <polacek@redhat.com>
5882 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
5884 2012-03-08 Marek Polacek <polacek@redhat.com>
5887 * stdio-common/Makefile (tests): Add tst-fphex-wide.
5888 * stdio-common/tst-fphex.c: Define a few macros to make the
5889 test reusable. Use them.
5890 * stdio-common/tst-fphex-wide.c: New file.
5892 2012-03-08 Joseph Myers <joseph@codesourcery.com>
5895 * manual/macros.texi (gnusystems): New macro.
5896 (nongnusystems): Likewise.
5897 (gnulinuxhurdsystems): Likewise.
5898 (gnuhurdsystems): Likewise..
5899 (gnulinuxsystems): Likewise.
5900 * manual/charset.texi: Use new macros or @theglibc{} to refer to
5901 variants of the GNU system, not "GNU system".
5902 * manual/conf.texi: Likewise.
5903 * manual/errno.texi: Likewise. Update example of errno macro
5905 * manual/filesys.texi: Likewise.
5906 (getumask): Document as specific to GNU/Hurd.
5907 * manual/install.texi: Likewise. Reword some references to
5909 * manual/intro.texi: Likewise.
5910 * manual/io.texi: Likewise.
5911 (File Name Portability): Detail which constraints are inapplicable
5912 to all GNU systems and which are only inapplicable to GNU/Hurd.
5913 * manual/job.texi: Likewise.
5914 * manual/llio.texi: Likewise.
5915 (O_NOCTTY): Document as present on GNU/Linux.
5916 * manual/maint.texi: Likewise.
5917 * manual/memory.texi: Likewise.
5918 * manual/pattern.texi: Likewise.
5919 * manual/pipe.texi: Likewise.
5920 * manual/process.texi: Likewise.
5921 * manual/resource.texi: Likewise.
5922 (RUSAGE_CHILDREN): Remove statement about specifying a particular
5924 * manual/setjmp.texi: Likewise.
5925 * manual/signal.texi: Likewise.
5926 * manual/startup.texi: Likewise.
5927 * manual/stdio.texi: Likewise.
5928 * manual/terminal.texi: Likewise.
5929 (ONLCR): Document as POSIX.
5930 (OXTABS): Document availability on GNU/Linux as XTABS.
5931 (ONOEOT): Document availability separately from other bits.
5932 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
5933 * manual/time.texi: Likewise.
5934 * manual/users.texi: Likewise.
5935 * INSTALL: Regenerated.
5936 * sysdeps/gnu/errlist.c: Regenerated.
5938 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
5939 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
5940 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
5942 * configure: Regenerated.
5944 2012-03-07 Joseph Myers <joseph@codesourcery.com>
5946 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
5947 default includes instead of AC_HEADER_CHECK.
5948 * sysdeps/i386/configure: Regenerated.
5951 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
5952 * math/s_cacoshf.c (__cacoshf): Likewise.
5953 * math/s_cacoshl.c (__cacoshl): Likewise.
5954 * math/s_casinh.c (__casinh): Set signs of result from argument.
5955 * math/s_casinhf.c (__casinhf): Likewise.
5956 * math/s_casinhl.c (__casinhl): Likewise.
5957 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
5958 (casinh_test): Add more tests.
5959 * sysdeps/i386/fpu/libm-test-ulps: Update.
5960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5962 2012-03-07 Ulrich Drepper <drepper@gmail.com>
5964 * po/zh_TW.po: Update from translation team.
5966 * login/Makefile (distribute): Remove variable.
5967 * catgets/Makefile: Likewise.
5968 * mach/Makefile: Likewise.
5969 * malloc/Makefile: Likewise.
5970 * misc/Makefile: Likewise.
5971 * iconv/Makefile: Likewise.
5972 * nscd/Makefile: Likewise.
5973 * hurd/Makefile: Likewise.
5974 * manual/Makefile: Likewise.
5975 * locale/Makefile: Likewise.
5976 * intl/Makefile: Likewise.
5977 * conform/Makefile: Likewise.
5978 * nss/Makefile: Likewise.
5979 * time/Makefile: Likewise.
5980 * soft-fp/Makefile: Likewise.
5981 * dirent/Makefile: Likewise.
5982 * gmon/Makefile: Likewise.
5983 * po/Makefile: Likewise.
5984 * rt/Makefile: Likewise.
5985 * socket/Makefile: Likewise.
5986 * math/Makefile: Likewise.
5987 * signal/Makefile: Likewise.
5988 * debug/Makefile: Likewise.
5989 * elf/Makefile: Likewise.
5990 * timezone/Makefile: Likewise.
5991 * stdlib/Makefile: Likewise.
5992 * iconvdata/Makefile: Likewise.
5993 * sunrpc/Makefile: Likewise.
5994 * io/Makefile: Likewise.
5995 * argp/Makefile: Likewise.
5996 * inet/Makefile: Likewise.
5997 * hesiod/Makefile: Likewise.
5998 * grp/Makefile: Likewise.
5999 * csu/Makefile: Likewise.
6000 * wctype/Makefile: Likewise.
6001 * crypt/Makefile: Likewise.
6002 * libio/Makefile: Likewise.
6003 * string/Makefile: Likewise.
6004 * nis/Makefile: Likewise.
6005 * resolv/Makefile: Likewise.
6006 * stdio-common/Makefile: Likewise.
6007 * wcsmbs/Makefile: Likewise.
6008 * dlfcn/Makefile: Likewise.
6009 * posix/Makefile: Likewise.
6012 * timezone/Makefile: Don't install timezone files, just the programs
6015 2012-03-06 Ulrich Drepper <drepper@gmail.com>
6017 * nss/databases.def: Add missing gshadow entry.
6019 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
6021 2012-03-06 Marek Polacek <polacek@redhat.com>
6024 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
6025 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
6026 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
6027 * stdio-common/tst-long-dbl-fphex.c: New file.
6029 2012-03-06 David S. Miller <davem@davemloft.net>
6031 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6032 (set_obp_int): New function.
6033 (get_obp_int): New function.
6034 (__get_clockfreq_via_dev_openprom): Likewise.
6035 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
6036 Avoid unused variable warnings on 'val' and use builtin_expect.
6037 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
6039 (INLINE_CLONE_SYSCALL): Likewise.
6041 2012-03-05 David S. Miller <davem@davemloft.net>
6043 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6045 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
6047 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6049 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
6051 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6053 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
6055 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
6056 Replace gettimeofday with __vdso_gettimeofday.
6058 * sysdeps/unix/sysv/linux/x86_64/init-first.c
6059 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
6060 __vdso_clock_gettime and __vdso_getcpu.
6062 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
6063 time with __vdso_time.
6065 2012-03-05 Joseph Myers <joseph@codesourcery.com>
6067 * manual/lang.texi (size_t): Note types to which size_t may be
6068 equivalent with the GNU C Library, but do not describe when
6069 differences between them are significant.
6071 2012-03-05 Andreas Jaeger <aj@suse.de>
6073 * sysdeps/i386/fpu/libm-test-ulps: Update.
6075 2012-03-05 Joseph Myers <joseph@codesourcery.com>
6078 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
6079 (__ieee754_pow): Save and restore rounding mode and use
6080 round-to-nearest for main computations.
6081 * math/libm-test.inc (pow_test_tonearest): New function.
6082 (pow_test_towardzero): Likewise.
6083 (pow_test_downward): Likewise.
6084 (pow_test_upward): Likewise.
6085 (main): Call the new functions.
6086 * sysdeps/i386/fpu/libm-test-ulps: Update.
6087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6090 * math/libm-test.inc (cosh_test_tonearest): New function.
6091 (cosh_test_towardzero): Likewise.
6092 (cosh_test_downward): Likewise.
6093 (cosh_test_upward): Likewise.
6094 (sinh_test_tonearest): Likewise.
6095 (sinh_test_towardzero): Likewise.
6096 (sinh_test_downward): Likewise.
6097 (sinh_test_upward): Likewise.
6098 (main): Call the new functions.
6099 * sysdeps/i386/fpu/libm-test-ulps: Update.
6100 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6102 2012-03-05 Tom de Vries <tom@codesourcery.com>
6104 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
6105 default stack guard is set in last bytes.
6106 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
6108 2012-03-05 Kees Cook <keescook@chromium.org>
6110 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
6113 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
6114 possibly allocate from heap instead of stack.
6115 * stdio-common/bug-vfprintf-nargs.c: New file.
6116 * stdio-common/Makefile (tests): Add nargs overflow test.
6118 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
6120 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6122 2012-03-03 Marek Polacek <polacek@redhat.com>
6124 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
6125 * math/math_private.h: Likewise.
6126 * stdlib/tst-strtod.c: Likewise.
6127 * sysdeps/i386/i486/bits/atomic.h: Likewise.
6128 * sysdeps/x86_64/bits/atomic.h: Likewise.
6130 2012-03-02 David S. Miller <davem@davemloft.net>
6132 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
6133 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
6134 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
6135 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
6136 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
6137 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
6138 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
6139 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
6141 2012-03-02 Roland McGrath <roland@hack.frob.com>
6144 * manual/examples/README: New file, says the example source files
6145 can be used under GPL>=2.
6146 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
6147 line containing just "*/".
6148 * manual/examples/add.c: Add copyright header (GPL>=2).
6149 * manual/examples/argp-ex1.c: Likewise.
6150 * manual/examples/argp-ex2.c: Likewise.
6151 * manual/examples/argp-ex3.c: Likewise.
6152 * manual/examples/argp-ex4.c: Likewise.
6153 * manual/examples/atexit.c: Likewise.
6154 * manual/examples/db.c: Likewise.
6155 * manual/examples/dir.c: Likewise.
6156 * manual/examples/dir2.c: Likewise.
6157 * manual/examples/execinfo.c: Likewise.
6158 * manual/examples/filecli.c: Likewise.
6159 * manual/examples/filesrv.c: Likewise.
6160 * manual/examples/fmtmsgexpl.c: Likewise.
6161 * manual/examples/genpass.c: Likewise.
6162 * manual/examples/inetcli.c: Likewise.
6163 * manual/examples/inetsrv.c: Likewise.
6164 * manual/examples/isockad.c: Likewise.
6165 * manual/examples/longopt.c: Likewise.
6166 * manual/examples/memopen.c: Likewise.
6167 * manual/examples/memstrm.c: Likewise.
6168 * manual/examples/mkfsock.c: Likewise.
6169 * manual/examples/mkisock.c: Likewise.
6170 * manual/examples/mygetpass.c: Likewise.
6171 * manual/examples/pipe.c: Likewise.
6172 * manual/examples/popen.c: Likewise.
6173 * manual/examples/rprintf.c: Likewise.
6174 * manual/examples/search.c: Likewise.
6175 * manual/examples/select.c: Likewise.
6176 * manual/examples/setjmp.c: Likewise.
6177 * manual/examples/sigh1.c: Likewise.
6178 * manual/examples/sigusr.c: Likewise.
6179 * manual/examples/stpcpy.c: Likewise.
6180 * manual/examples/strdupa.c: Likewise.
6181 * manual/examples/strftim.c: Likewise.
6182 * manual/examples/strncat.c: Likewise.
6183 * manual/examples/subopt.c: Likewise.
6184 * manual/examples/swapcontext.c: Likewise.
6185 * manual/examples/termios.c: Likewise.
6186 * manual/examples/testopt.c: Likewise.
6187 * manual/examples/testpass.c: Likewise.
6188 * manual/examples/timeval_subtract.c: Likewise.
6191 * manual/time.texi (Elapsed Time): Move timeval_subtract example
6193 * manual/timeval_subtract.c.texi: ... here, new file.
6195 2012-03-02 David S. Miller <davem@davemloft.net>
6197 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
6199 2012-03-02 Joseph Myers <joseph@codesourcery.com>
6202 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
6203 (__sin): Save and restore rounding mode and use round-to-nearest
6204 for all computations.
6205 (__cos): Save and restore rounding mode and use round-to-nearest
6206 for all computations.
6207 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
6209 (tan): Save and restore rounding mode and use round-to-nearest for
6211 * math/libm-test.inc (cos_test_tonearest): New function.
6212 (cos_test_towardzero): Likewise.
6213 (cos_test_downward): Likewise.
6214 (cos_test_upward): Likewise.
6215 (sin_test_tonearest): Likewise.
6216 (sin_test_towardzero): Likewise.
6217 (sin_test_downward): Likewise.
6218 (sin_test_upward): Likewise.
6219 (tan_test_tonearest): Likewise.
6220 (tan_test_towardzero): Likewise.
6221 (tan_test_downward): Likewise.
6222 (tan_test_upward): Likewise.
6223 (main): Call the new functions.
6224 * sysdeps/i386/fpu/libm-test-ulps: Update.
6225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6228 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
6229 small n, then large n, before computing and testing k+n.
6230 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
6231 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
6233 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
6235 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
6236 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
6237 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
6238 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
6239 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
6240 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
6241 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
6242 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
6243 * math/libm-test.inc (scalbn_test): Add more tests.
6244 (scalbln_test): Likewise.
6246 * manual/filesys.texi (mode_t): Describe constraints on size and
6247 signedness, not exact equivalence to a particular type.
6249 (ino64_t): Likewise.
6251 (nlink_t): Likewise.
6252 (blkcnt_t): Likewise.
6253 (blkcnt64_t): Likewise.
6254 * manual/llio.texi (off_t): Likewise.
6257 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
6258 (__ieee754_exp): Save and restore rounding mode and use
6259 round-to-nearest for all computations.
6260 * math/libm-test.inc (exp_test_tonearest): New function.
6261 (exp_test_towardzero): Likewise.
6262 (exp_test_downward): Likewise.
6263 (exp_test_upward): Likewise.
6264 (main): Call the new functions.
6265 * sysdeps/i386/fpu/libm-test-ulps: Update.
6266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6268 2012-03-01 Chris Demetriou <cgd@google.com>
6270 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
6271 have predictable order.
6273 2012-03-01 David S. Miller <davem@davemloft.net>
6275 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
6277 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
6278 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
6279 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
6280 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
6282 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
6283 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
6284 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
6285 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
6286 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
6287 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
6288 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
6289 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
6290 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
6292 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6294 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
6295 * sysdeps/sparc/fpu/libm-test-ulps: to here.
6296 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
6298 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
6299 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6300 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
6301 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
6302 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
6303 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
6304 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
6305 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6306 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
6307 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
6308 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
6309 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6310 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6311 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
6312 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6313 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6314 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
6315 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
6316 * sysdeps/sparc/elf/configure: Regenerated.
6318 2012-03-01 Joseph Myers <joseph@codesourcery.com>
6320 * configure.in (AS, LD): Require binutils 2.20 or later.
6321 * configure: Regenerated.
6322 * manual/install.texi (Tools for Compilation): Give binutils 2.20
6323 as required minimum version.
6324 * INSTALL: Regenerated.
6328 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
6329 before squaring exponent.
6330 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
6331 bottom long double and 27 bits of top long double before squaring
6333 * math/libm-test.inc (erfc_test): Add more tests.
6334 * sysdeps/i386/fpu/libm-test-ulps: Update.
6335 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6336 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6338 2012-03-01 Kai Tietz <ktietz@redhat.com>
6340 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
6341 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
6342 containing bit-fields.
6343 * soft-fp/extended.h (_FP_UNION_E): Likewise.
6344 * soft-fp/single.h (_FP_UNION_S): Likewise.
6345 * soft-fp/double.h (_FP_UNION_D): Likewise.
6347 2012-02-29 Joseph Myers <joseph@codesourcery.com>
6350 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
6351 not include ../strcmp.S.
6352 [USE_AS_STRNCASECMP_L]: Likewise.
6353 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
6354 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
6355 * sysdeps/i386/i686/multiarch/strncase_l-c.c
6356 (__strncasecmp_l_ia32): Define as alias to
6357 __strncasecmp_l_nonascii.
6360 * math/libm-test.inc (expm1_test): Add test for bug 5794.
6361 * sysdeps/i386/fpu/libm-test-ulps: Update.
6362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6364 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
6365 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6367 2012-02-29 Jeff Law <law@redhat.com>
6369 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
6372 2012-02-29 Marek Polacek <polacek@redhat.com>
6375 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
6376 * elf/Makefile: Add rules to run tst-unused-dep.out.
6378 2012-02-28 David S. Miller <davem@davemloft.net>
6380 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
6381 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
6382 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
6383 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
6384 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
6385 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
6387 2012-02-29 Joseph Myers <joseph@codesourcery.com>
6389 * math/libm-test.inc (llround_test): Move one test from
6390 lround_test. Use TEST_f_L in moved test.
6391 (lround_test): Move misplaced test to llround_test. Add testcase
6394 2012-02-28 Ulrich Drepper <drepper@gmail.com>
6396 * sysdeps/x86_64/fpu/e_expf.S: New file.
6397 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
6399 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
6402 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
6403 of remain_len that may cause incomplete multi-byte character and
6405 * posix/bug-regex33.c: New file.
6406 * posix/Makefile (tests): Add bug-regex33.
6408 2012-02-28 Joseph Myers <joseph@codesourcery.com>
6410 * manual/macros.texi: New file.
6411 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
6412 * manual/libc.texinfo: Include macros.texi.
6413 * manual/creatute.texi: Likewise.
6414 * manual/install.texi: Likewise.
6415 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
6416 @glibcadj{} in references to the GNU C Library.
6417 * manual/charset.texi: Likewise.
6418 * manual/conf.texi: Likewise.
6419 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
6420 when not using those macros.
6421 * manual/creature.texi: Likewise.
6422 * manual/crypt.texi: Likewise.
6423 * manual/errno.texi: Likewise.
6424 * manual/filesys.texi: Likewise.
6425 * manual/header.texi: Likewise.
6426 * manual/install.texi: Likewise.
6427 * manual/intro.texi: Likewise.
6428 * manual/io.texi: Likewise.
6429 * manual/job.texi: Likewise.
6430 * manual/lang.texi: Likewise.
6431 * manual/libc.texiinfo: Likewise.
6432 * manual/llio.texi: Likewise.
6433 * manual/locale.texi: Likewise.
6434 * manual/maint.texi: Likewise.
6435 * manual/math.texi: Likewise.
6436 * manual/memory.texi: Likewise.
6437 * manual/message.texi: Likewise.
6438 * manual/nss.texi: Likewise.
6439 * manual/pattern.texi: Likewise.
6440 * manual/process.texi: Likewise.
6441 * manual/resource.texi: Likewise.
6442 * manual/search.texi: Likewise.
6443 * manual/setjmp.texi: Likewise.
6444 * manual/signal.texi: Likewise.
6445 * manual/socket.texi: Likewise.
6446 * manual/startup.texi: Likewise.
6447 * manual/stdio.texi: Likewise.
6448 * manual/string.texi: Likewise.
6449 * manual/sysinfo.texi: Likewise.
6450 * manual/syslog.texi: Likewise.
6451 * manual/terminal.texi: Likewise.
6452 * manual/time.texi: Likewise.
6453 * manual/users.texi: Likewise.
6454 * INSTALL: Regenerated.
6455 * NOTES: Regenerated.
6456 * sysdeps/gnu/errlist.c: Regenerated.
6458 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
6460 * include/dirent.h: Include <dirstream.h> before
6463 2012-02-28 David S. Miller <davem@davemloft.net>
6465 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
6466 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
6467 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
6468 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
6470 2012-02-27 David S. Miller <davem@davemloft.net>
6472 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
6473 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
6474 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
6475 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
6477 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
6478 frame pointer instead of stack pointer relative arg slot.
6479 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
6480 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
6481 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
6483 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
6486 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
6488 2012-02-27 David S. Miller <davem@davemloft.net>
6490 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
6491 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
6492 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
6493 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
6494 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
6495 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
6496 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
6497 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
6499 2012-02-27 Joseph Myers <joseph@codesourcery.com>
6501 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
6502 later. Allow versions 5-9.
6503 * configure: Regenerated.
6504 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
6505 required minimum version and 4.6 as recommended version. Do not
6506 mention bugs in GCC 2.7 and 2.8.
6507 * INSTALL: Regenerated.
6509 2012-02-27 David S. Miller <davem@davemloft.net>
6511 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
6512 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
6513 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
6514 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
6515 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
6516 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
6517 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
6518 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
6520 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
6521 manipulate bits before adding and subtracting TWO112[sx].
6522 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
6524 2012-02-27 Roland McGrath <roland@hack.frob.com>
6527 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
6528 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
6529 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
6530 being in POSIX, because they are in 1003.1-2008.
6532 * rt/tst-aio.c: Include <fcntl.h>.
6533 * rt/tst-aio7.c: Likewise.
6534 * rt/tst-aio64.c: Likewise.
6536 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
6538 2012-02-27 Joseph Myers <joseph@codesourcery.com>
6540 * manual/install.texi (--with-headers): Describe headers as
6541 interface headers, not private headers.
6542 (Specific advice for GNU/Linux systems): Describe use of headers
6543 from "make headers_install", not private headers from older
6545 * INSTALL: Regenerated.
6546 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
6548 * sysdeps/unix/sysv/linux/configure: Regenerated.
6550 * manual/llio.texi (fclean): Remove documentation.
6552 * manual/Makefile (libc-texi-generated): New variable. Include
6554 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
6555 $(libc-texi-generated), not duplicated list of files.
6556 (version.texi, stamp-version): New rules.
6557 (realclean): Remove $(libc-texi-generated), not individual files
6558 from that list. Do not remove dir-add.texinfo.
6559 * manual/libc.texinfo: Comment out uses of edition numbers and
6560 references to printed manual. Remove last-updated dates.
6561 (EDITION): Comment out.
6563 (VERSION, UPDATED): Remove.
6564 (version.texi): Include.
6566 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
6568 * sysdeps/posix/spawni.c: Include <signal.h>.
6569 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
6570 * sysdeps/pthread/aio_fsync.c: Likewise.
6572 2012-02-26 Ulrich Drepper <drepper@gmail.com>
6574 * conform/Makefile (tests): Run only when not cross-compiling and
6575 when fast-check is not defined.
6577 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
6578 * conform/data/limits.h-data: Fixes for POSIX2008.
6579 * conform/run-conformtest.sh: Run all tests.
6580 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
6582 * include/bits/dlfcn.h: Likewise.
6583 * include/langinfo.h: Likewise.
6584 * include/monetary.h: Likewise.
6585 * include/sys/poll.h: Likewise.
6587 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
6589 * posix/spawn.h: Define __need_sigset_t.
6590 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
6591 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
6592 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
6593 to get sigevent_t only.
6594 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
6596 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6597 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
6598 process_vm_writev only for __USE_GNU.
6599 * termios/termios.h: Declare tcgetsid also for POSIX2008.
6601 * conform/Makefile: For now ignore errors from run-conformtest.
6602 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
6603 POSIX to avoid namespace pollution. Don't prepend headers.
6604 * conform/data/aio.h-data: Fixes for POSIX testing.
6605 * conform/data/fcntl.h-data: Likewise.
6606 * conform/data/glob.h-data: Likewise.
6607 * conform/data/grp.h-data: Likewise.
6608 * conform/data/pthread.h-data: Likewise.
6609 * conform/data/pwd.h-data: Likewise.
6610 * conform/data/signal.h-data: Likewise.
6611 * conform/data/spawn.h-data: Likewise.
6612 * conform/data/stdio.h-data: Likewise.
6613 * conform/data/stdlib.h-data: Likewise.
6614 * conform/data/stropts.h-data: Likewise.
6615 * conform/data/sys/mman.h-data: Likewise.
6616 * conform/data/sys/stat.h-data: Likewise.
6617 * conform/data/sys/types.h-data: Likewise.
6618 * conform/data/sys/wait.h-data: Likewise.
6619 * conform/data/time.h-data: Likewise.
6620 * conform/data/unistd.h-data: Likewise.
6621 * conform/data/utime.h-data: Likewise.
6623 * io/sys/stat.h: fchmod was always in POSIX.
6624 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
6625 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
6626 * rt/aio.h: Define __need_timespec before including <time.h>.
6627 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
6628 struct. Add forward declaration of pthread_attr_t and use it in
6630 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
6631 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6632 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
6633 always remove CLK_TCK definition.
6635 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
6637 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
6639 2012-02-25 Ulrich Drepper <drepper@gmail.com>
6641 * conform/run-conformtest.sh: New file.
6642 * conform/Makefile: Run run-conformtest for tests.
6643 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
6646 * conform/data/uchar.h-data: New file.
6647 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
6648 * conform/data/arpa/inet.h-data: Likewise.
6649 * conform/data/assert.h-data: Likewise.
6650 * conform/data/complex.h-data: Likewise.
6651 * conform/data/cpio.h-data: Likewise.
6652 * conform/data/ctype.h-data: Likewise.
6653 * conform/data/dirent.h-data: Likewise.
6654 * conform/data/dlfcn.h-data: Likewise.
6655 * conform/data/errno.h-data: Likewise.
6656 * conform/data/fcntl.h-data: Likewise.
6657 * conform/data/float.h-data: Likewise.
6658 * conform/data/fmtmsg.h-data: Likewise.
6659 * conform/data/fnmatch.h-data: Likewise.
6660 * conform/data/ftw.h-data: Likewise.
6661 * conform/data/glob.h-data: Likewise.
6662 * conform/data/grp.h-data: Likewise.
6663 * conform/data/iconv.h-data: Likewise.
6664 * conform/data/inttypes.h-data: Likewise.
6665 * conform/data/langinfo.h-data: Likewise.
6666 * conform/data/libgen.h-data: Likewise.
6667 * conform/data/limits.h-data: Likewise.
6668 * conform/data/locale.h-data: Likewise.
6669 * conform/data/math.h-data: Likewise.
6670 * conform/data/monetary.h-data: Likewise.
6671 * conform/data/mqueue.h-data: Likewise.
6672 * conform/data/ndbm.h-data: Likewise.
6673 * conform/data/net/if.h-data: Likewise.
6674 * conform/data/netdb.h-data: Likewise.
6675 * conform/data/netinet/in.h-data: Likewise.
6676 * conform/data/nl_types.h-data: Likewise.
6677 * conform/data/poll.h-data: Likewise.
6678 * conform/data/pthread.h-data: Likewise.
6679 * conform/data/pwd.h-data: Likewise.
6680 * conform/data/regex.h-data: Likewise.
6681 * conform/data/sched.h-data: Likewise.
6682 * conform/data/search.h-data: Likewise.
6683 * conform/data/semaphore.h-data: Likewise.
6684 * conform/data/setjmp.h-data: Likewise.
6685 * conform/data/signal.h-data: Likewise.
6686 * conform/data/spawn.h-data: Likewise.
6687 * conform/data/stdarg.h-data: Likewise.
6688 * conform/data/stdio.h-data: Likewise.
6689 * conform/data/stdlib.h-data: Likewise.
6690 * conform/data/string.h-data: Likewise.
6691 * conform/data/strings.h-data: Likewise.
6692 * conform/data/stropts.h-data: Likewise.
6693 * conform/data/sys/ipc.h-data: Likewise.
6694 * conform/data/sys/mman.h-data: Likewise.
6695 * conform/data/sys/msg.h-data: Likewise.
6696 * conform/data/sys/resource.h-data: Likewise.
6697 * conform/data/sys/select.h-data: Likewise.
6698 * conform/data/sys/sem.h-data: Likewise.
6699 * conform/data/sys/shm.h-data: Likewise.
6700 * conform/data/sys/socket.h-data: Likewise.
6701 * conform/data/sys/stat.h-data: Likewise.
6702 * conform/data/sys/statvfs.h-data: Likewise.
6703 * conform/data/sys/time.h-data: Likewise.
6704 * conform/data/sys/timeb.h-data: Likewise.
6705 * conform/data/sys/times.h-data: Likewise.
6706 * conform/data/sys/types.h-data: Likewise.
6707 * conform/data/sys/uio.h-data: Likewise.
6708 * conform/data/sys/un.h-data: Likewise.
6709 * conform/data/sys/utsname.h-data: Likewise.
6710 * conform/data/sys/wait.h-data: Likewise.
6711 * conform/data/syslog.h-data: Likewise.
6712 * conform/data/tar.h-data: Likewise.
6713 * conform/data/termios.h-data: Likewise.
6714 * conform/data/utime.h-data: Likewise.
6715 * conform/data/utmpx.h-data: Likewise.
6716 * conform/data/varargs.h-data: Likewise.
6717 * conform/data/wchar.h-data: Likewise.
6718 * conform/data/wctype.h-data: Likewise.
6719 * conform/data/wordexp.h-data: Likewise.
6721 * include/stropts.h: New file.
6722 * include/uchar.h: New file.
6723 * include/aio.h: Changes to allow conformtest.pl to use the headers.
6724 * include/assert.h: Likewise.
6725 * include/ctype.h: Likewise.
6726 * include/dirent.h: Likewise.
6727 * include/dlfcn.h: Likewise.
6728 * include/fcntl.h: Likewise.
6729 * include/fnmatch.h: Likewise.
6730 * include/glob.h: Likewise.
6731 * include/grp.h: Likewise.
6732 * include/libio.h: Likewise.
6733 * include/locale.h: Likewise.
6734 * include/math.h: Likewise.
6735 * include/net/if.h: Likewise.
6736 * include/netdb.h: Likewise.
6737 * include/netinet/in.h: Likewise.
6738 * include/pthread.h: Likewise.
6739 * include/pwd.h: Likewise.
6740 * include/regex.h: Likewise.
6741 * include/sched.h: Likewise.
6742 * include/search.h: Likewise.
6743 * include/setjmp.h: Likewise.
6744 * include/signal.h: Likewise.
6745 * include/stdio.h: Likewise.
6746 * include/stdlib.h: Likewise.
6747 * include/string.h: Likewise.
6748 * include/sys/cdefs.h: Likewise.
6749 * include/sys/mman.h: Likewise.
6750 * include/sys/msg.h: Likewise.
6751 * include/sys/resource.h: Likewise.
6752 * include/sys/select.h: Likewise.
6753 * include/sys/socket.h: Likewise.
6754 * include/sys/stat.h: Likewise.
6755 * include/sys/statvfs.h: Likewise.
6756 * include/sys/time.h: Likewise.
6757 * include/sys/times.h: Likewise.
6758 * include/sys/uio.h: Likewise.
6759 * include/sys/utsname.h: Likewise.
6760 * include/sys/wait.h: Likewise.
6761 * include/termios.h: Likewise.
6762 * include/time.h: Likewise.
6763 * include/ulimit.h: Likewise.
6764 * include/unistd.h: Likewise.
6765 * include/utime.h: Likewise.
6766 * include/wchar.h: Likewise.
6767 * include/wctype.h: Likewise.
6768 * include/wordexp.h: Likewise.
6770 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
6772 * time/time.h: TIME_UTC must be a macro.
6773 Make timespec_get available for ISO C11 only as well.
6775 2012-02-24 Ulrich Drepper <drepper@gmail.com>
6777 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
6778 Reported by Peng Haitao <penght@cn.fujitsu.com>.
6780 2012-02-24 Joseph Myers <joseph@codesourcery.com>
6782 * configure.in: Use -o not -a in test for unsupported multi-arch.
6784 2012-02-24 Joseph Myers <joseph@codesourcery.com>
6786 * manual/texinfo.tex: Update to version 2012-01-19.16.
6788 2012-02-24 Joseph Myers <joseph@codesourcery.com>
6790 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
6792 2012-02-24 Roland McGrath <roland@hack.frob.com>
6795 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
6796 * manual/fdl-1.3.texi: New file.
6797 * manual/fdl-1.1.texi: File removed.
6800 * manual/libc.texinfo (FDL_VERSION): New @set.
6801 Use it for mention of FDL in cover text.
6802 (Documentation License): Use it in @include file name.
6804 2012-02-22 Joseph Myers <joseph@codesourcery.com>
6805 Roland McGrath <roland@hack.frob.com>
6808 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
6809 not LONG_LONG_MAX and LONG_LONG_MIN.
6810 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
6811 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
6813 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
6815 2012-02-22 Joseph Myers <joseph@codesourcery.com>
6819 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
6820 manipulate bits before adding and subtracting TWO23[sx].
6821 * math/libm-test.inc (nearbyint_test): Add more tests.
6823 2012-02-22 Joseph Myers <joseph@codesourcery.com>
6826 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
6827 bits before adding and subtracting TWO23[sx].
6828 * math/libm-test.inc (rint_test): Add more tests.
6829 (rint_test_tonearest): Likewise.
6830 (rint_test_towardzero): Likewise.
6831 (rint_test_downward): Likewise.
6832 (rint_test_upward: Likewise.
6834 2012-02-22 Joseph Myers <joseph@codesourcery.com>
6837 * include/stdc-predef.h: New file. Extracted from features.h.
6838 * include/features.h: Include stdc-predef.h.
6839 * Makefile (headers): Add stdc-predef.h.
6840 * CONFORMANCE (Compiler limitations): Update.
6842 2012-02-22 Joseph Myers <joseph@codesourcery.com>
6844 * manual/libc.texinfo (VERSION, UPDATED): Revert.
6846 2012-02-21 David S. Miller <davem@davemloft.net>
6848 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
6849 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
6851 2012-02-20 David S. Miller <davem@davemloft.net>
6853 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
6854 using a normal save/restore sequence, rather than allocating a
6855 dummy stack frame just to store a frame pointer and restore.
6856 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6858 2012-02-21 Joseph Myers <joseph@codesourcery.com>
6860 * manual/install.texi: Fix stray word in line-wrapped comment.
6862 2012-02-20 David S. Miller <davem@davemloft.net>
6864 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
6865 both binutils and gcc support GOTDATA.
6867 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
6868 "rd %pc" in the PIC register setup sequences.
6870 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
6871 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
6872 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
6873 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
6874 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
6875 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
6876 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6877 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6878 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
6879 (SYSCALL_ERROR_HANDLER): Likewise.
6880 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
6881 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6882 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
6883 (SYSCALL_ERROR_HANDLER): Likewise.
6885 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
6886 (HAVE_GCC_GOTDATA): New.
6887 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
6888 relocation support in both binutils and gcc.
6889 * sysdeps/sparc/elf/configure: Regenerate.
6891 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
6892 * sysdeps/sparc/sparc32/elf/configure: Delete.
6893 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
6894 * sysdeps/sparc/sparc64/elf/configure: Delete.
6895 * sysdeps/sparc/elf/configure.in: New file.
6896 * sysdeps/sparc/elf/configure: Generate.
6898 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
6899 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
6900 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
6901 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
6902 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
6904 2012-02-21 Joseph Myers <joseph@codesourcery.com>
6906 * manual/install.texi: Do not mention specific glibc version
6908 * manual/libc.texinfo (VERSION, UPDATED): Update.
6909 (@copying): Use @copyright{} and range of years.
6911 2012-02-21 Joseph Myers <joseph@codesourcery.com>
6914 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
6915 [crti.S not in sysdirs] (generated): Do not append.
6916 [crti.S not in sysdirs] (omit-deps): Likewise.
6917 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
6918 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
6919 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
6920 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
6921 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
6923 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
6924 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
6925 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
6926 * csu/defs.awk: Remove file.
6927 * sysdeps/generic/initfini.c: Likewise.
6928 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
6930 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
6933 2012-02-20 Joseph Myers <joseph@codesourcery.com>
6935 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
6936 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
6937 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
6938 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
6939 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6940 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
6942 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
6943 (__EPOLL_PACKED): Define to empty if not defined by
6945 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
6946 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6949 2012-02-20 Joseph Myers <joseph@codesourcery.com>
6951 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
6952 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
6953 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
6954 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
6956 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
6957 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6960 2012-02-20 Joseph Myers <joseph@codesourcery.com>
6962 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
6964 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6965 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6966 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
6967 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6969 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
6971 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6972 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
6974 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
6976 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
6977 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
6979 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
6981 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
6984 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
6986 * math/w_acos.c: Use non-signaling floating-point comparisons.
6987 * math/w_acosf.c: Likewise.
6988 * math/w_acosh.c: Likewise.
6989 * math/w_acoshf.c: Likewise.
6990 * math/w_acoshl.c: Likewise.
6991 * math/w_acosl.c: Likewise.
6992 * math/w_asin.c: Likewise.
6993 * math/w_asinf.c: Likewise.
6994 * math/w_asinl.c: Likewise.
6995 * math/w_atanh.c: Likewise.
6996 * math/w_atanhf.c: Likewise.
6997 * math/w_atanhl.c: Likewise.
6998 * math/w_exp2.c: Likewise.
6999 * math/w_exp2f.c: Likewise.
7000 * math/w_exp2l.c: Likewise.
7001 * math/w_j0.c: Likewise.
7002 * math/w_j0f.c: Likewise.
7003 * math/w_j0l.c: Likewise.
7004 * math/w_j1.c: Likewise.
7005 * math/w_j1f.c: Likewise.
7006 * math/w_j1l.c: Likewise.
7007 * math/w_jn.c: Likewise.
7008 * math/w_jnf.c: Likewise.
7009 * math/w_log.c: Likewise.
7010 * math/w_log10.c: Likewise.
7011 * math/w_log10f.c: Likewise.
7012 * math/w_log10l.c: Likewise.
7013 * math/w_log2.c: Likewise.
7014 * math/w_log2f.c: Likewise.
7015 * math/w_log2l.c: Likewise.
7016 * math/w_logf.c: Likewise.
7017 * math/w_logl.c: Likewise.
7018 * math/w_sqrt.c: Likewise.
7019 * math/w_sqrtf.c: Likewise.
7020 * math/w_sqrtl.c: Likewise.
7021 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7022 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
7023 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7024 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
7025 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
7027 2012-02-19 Joseph Myers <joseph@codesourcery.com>
7030 * manual/string.texi (strnlen): Use correct parameter name in
7031 equivalent expression.
7033 2012-02-19 Joseph Myers <joseph@codesourcery.com>
7036 * manual/users.texi (seteuid): Consistently use neweuid for
7039 2012-02-19 Joseph Myers <joseph@codesourcery.com>
7042 * manual/nss.texi (Services in the NSS configuration): Correct
7043 list of services in example configuration file.
7045 2012-02-19 Nick Bowler <nbowler@draconx.ca>
7048 * manual/arith.texi: Remove statements about negative zero
7049 behaving identically to zero.
7051 2012-02-18 Joseph Myers <joseph@codesourcery.com>
7054 * manual/install.texi: Do not document upgrading from libc5.
7056 2012-02-18 Joseph Myers <joseph@codesourcery.com>
7059 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
7061 2012-02-18 David S. Miller <davem@davemloft.net>
7063 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
7064 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
7065 %o7 across the call.
7066 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
7068 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
7070 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7071 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
7072 * sysdeps/sparc/crtn.S: Likewise.
7074 2012-02-17 Ulrich Drepper <drepper@gmail.com>
7076 * aout/Makefile: Remove.
7078 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
7081 * manual/examples/argp-ex1.c (main): Format definition in GNU
7083 * manual/examples/argp-ex2.c (main): Likewise.
7084 * manual/examples/argp-ex3.c (main): Likewise.
7085 * manual/examples/argp-ex4.c (main): Likewise.
7086 * manual/examples/longopt.c (main): Use new-style prototype
7088 * manual/examples/strncat.c (main): Specify return type and use
7089 (void) for arguments.
7090 * manual/examples/subopt.c (main): Use char **argv argument.
7092 2012-02-17 Joseph Myers <joseph@codesourcery.com>
7095 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
7098 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
7101 * manual/string.texi (strchr): Change when strchrnul is
7104 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
7107 * manual/locale.texi (setlocale): Document LOCPATH.
7109 2012-02-17 Joseph Myers <joseph@codesourcery.com>
7112 * manual/process.texi (execle): Move @dots{} before last argument.
7114 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
7117 * manual/charset.texi (Generic Charset Conversion): Fix typo
7118 (LC_TYPE -> LC_CTYPE).
7120 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
7123 * manual/arith.texi (scalbn): Use @var{} on parameter names.
7124 (scalbnf): Likewise.
7125 (scalbnl): Likewise.
7126 (scalbln): Likewise.
7127 (scalblnf): Likewise.
7128 (scalblnl): Likewise.
7129 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
7133 * manual/filesys.texi (telldir): Use braces around return type.
7134 * manual/llio.texi (mmap): Add space after comma.
7136 * manual/math.texi (jn): Use @var{} on parameter names.
7142 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
7144 * manual/resource.texi (ulimit): Use @dots{} instead of literal
7146 (sched_get_priority_min): Remove semicolon on @deftypefun line.
7147 (sched_get_priority_max): Likewise.
7148 * manual/signal.texi (sigvec): Add space after comma.
7149 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
7151 (if_indextoname): Likewise.
7152 (if_freenameindex): Likewise.
7153 (sendto): Use ',' instead of '.' in prototype.
7154 * manual/startup.texi (syscall): Use @dots{} instead of literal
7156 * manual/stdio.texi (__fpending): Separate initial words of
7157 paragraph from @deftypefun line.
7158 * manual/syslog.texi (syslog): Use @dots{} instead of literal
7160 (vsyslog): Use @var{} on parameter names.
7161 * manual/terminal.texi (stty): Use @var{} on parameter names.
7162 * manual/users.texi (getutmp): Use @var{} on parameter names.
7163 (getutmpx): Likewise.
7165 2012-02-17 Joseph Myers <joseph@codesourcery.com>
7168 * manual/stdio.texi (fopen): Fix typos in description of
7171 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
7174 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
7175 get clock_id definition.
7177 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
7180 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
7181 (madvise): Cast every argument to void on its own.
7183 2012-02-17 Joseph Myers <joseph@codesourcery.com>
7186 * manual/startup.texi (Exit Status): Fix typo.
7188 2012-02-17 Joseph Myers <joseph@codesourcery.com>
7191 * manual/examples/argp-ex1.c: Include <stdlib.h>.
7192 * manual/examples/argp-ex2.c: Likewise.
7193 * manual/examples/argp-ex3.c: Likewise.
7195 2012-02-16 Richard Henderson <rth@redhat.com>
7197 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
7198 * sysdeps/s390/s390-32/initfini.c: Remove.
7199 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
7200 * sysdeps/s390/s390-64/initfini.c: Remove.
7202 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7204 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
7205 compiler output for sysdeps/generic/initfini.c.
7206 * sysdeps/sh/elf/initfini.c: Remove file.
7208 2012-02-16 David S. Miller <davem@davemloft.net>
7211 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
7213 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
7214 * sysdeps/sparc/crti.S: New file.
7215 * sysdeps/sparc/crtn.S: New file.
7216 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
7217 * sysdeps/sparc/sparc64/Makefile: Likewise.
7219 2012-02-15 Mike Frysinger <vapier@gentoo.org>
7222 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
7224 2012-02-15 Roland McGrath <roland@hack.frob.com>
7227 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
7229 * mach/devstream.c (cookie_io_functions_t): Macro removed.
7230 (write, read, close): Likewise.
7231 Patch by Aurelien Jarno <aurelien@aurel32.net>.
7233 2012-02-15 Joseph Myers <joseph@codesourcery.com>
7235 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
7236 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
7237 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
7238 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
7240 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
7241 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7244 2012-02-14 Marek Polacek <polacek@redhat.com>
7246 * sysdeps/x86_64/crti.S: New file.
7247 * sysdeps/x86_64/crtn.S: New file.
7248 * sysdeps/x86_64/elf/initfini.c: Remove file.
7250 2012-02-13 Joseph Myers <joseph@codesourcery.com>
7252 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
7253 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
7254 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
7255 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
7257 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
7258 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7261 2012-02-13 Joseph Myers <joseph@codesourcery.com>
7263 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
7264 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
7265 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
7266 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
7268 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
7269 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7272 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
7274 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
7275 __feraiseexcept instead of feraiseexcept.
7277 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
7278 nanosleep invocations.
7279 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
7280 strings, and add error checking for a nanosleep invocations.
7282 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
7284 Replace FSF snail mail address with URLs, as per GNU coding standards.
7285 Most of the snail mail addresses were wrong anyway, and omitting
7286 them makes the source code easier to maintain. Almost all of the
7287 changes are to license notices and to locale LC_IDENTIFICATION
7288 addresses, except for this one:
7289 * manual/libc.texinfo: In "Published by", give the FSF's URL,
7290 not its snail mail address.
7292 2012-02-09 Richard Henderson <rth@twiddle.net>
7294 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
7295 of kernel-features.h.
7297 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
7299 2012-02-08 Marek Polacek <polacek@redhat.com>
7301 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
7302 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
7303 * sysdeps/gnu/_G_config.h: Likewise.
7304 * sysdeps/generic/_G_config.h: Likewise.
7306 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
7308 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
7310 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7312 * sysdeps/powerpc/powerpc32/crti.S: New file.
7313 * sysdeps/powerpc/powerpc32/crtn.S: New file.
7314 * sysdeps/powerpc/powerpc64/crti.S: New file.
7315 * sysdeps/powerpc/powerpc64/crtn.S: New file.
7317 * Makeconfig (have-initfini): Don't set.
7318 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
7319 * configure.in (nopic_initfini): Don't substitute.
7320 * config.h.in (HAVE_INITFINI): Don't #undef.
7321 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
7322 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
7324 2012-02-08 Joseph Myers <joseph@codesourcery.com>
7326 Support crti.S and crtn.S provided directly by architectures.
7327 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
7328 [crti.S in sysdirs] (omit-deps): Likewise.
7329 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
7330 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
7331 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
7332 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
7333 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
7334 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
7335 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
7336 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
7337 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
7338 compiler output for sysdeps/generic/initfini.c.
7339 * sysdeps/i386/elf/Makefile: Remove file.
7340 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
7342 2012-02-07 Marek Polacek <polacek@redhat.com>
7344 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
7345 * sysdeps/gnu/_G_config.h: Likewise.
7346 * sysdeps/mach/hurd/_G_config.h: Likewise.
7348 2012-02-07 Marek Polacek <polacek@redhat.com>
7350 * math/Makefile (tests): Add tst-CMPLX2.
7351 * math/tst-CMPLX2.c: New file.
7353 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
7355 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7357 * math/libm-test.inc (jn_test): Add missing L suffix.
7359 2012-02-06 Marek Polacek <polacek@redhat.com>
7361 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
7362 * sysdeps/i386/fpu/e_powf.S: Likewise.
7363 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
7364 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
7365 * sysdeps/i386/fpu/e_acosh.S: Likewise.
7366 * sysdeps/i386/fpu/e_pow.S: Likewise.
7367 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
7368 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
7369 * sysdeps/i386/fpu/s_expm1.S: Likewise.
7370 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
7371 * sysdeps/i386/fpu/e_log2.S: Likewise.
7372 * sysdeps/i386/fpu/e_log2l.S: Likewise.
7373 * sysdeps/i386/fpu/e_scalb.S: Likewise.
7374 * sysdeps/i386/fpu/e_powl.S: Likewise.
7375 * sysdeps/i386/fpu/s_log1p.S: Likewise.
7376 * sysdeps/i386/fpu/e_log10f.S: Likewise.
7377 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
7378 * sysdeps/i386/fpu/e_logl.S: Likewise.
7379 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
7380 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
7381 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
7382 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
7383 * sysdeps/i386/fpu/e_log2f.S: Likewise.
7384 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
7385 * sysdeps/i386/fpu/e_log.S: Likewise.
7386 * sysdeps/i386/fpu/s_cexp.S: Likewise.
7387 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7388 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
7389 * sysdeps/i386/fpu/e_logf.S: Likewise.
7390 * sysdeps/i386/fpu/e_log10l.S: Likewise.
7391 * sysdeps/i386/fpu/e_atanh.S: Likewise.
7392 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
7393 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
7394 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
7395 * sysdeps/i386/fpu/e_log10.S: Likewise.
7396 * sysdeps/i386/fpu/s_frexp.S: Likewise.
7397 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
7398 * sysdeps/i386/fpu/s_asinh.S: Likewise.
7399 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
7400 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7401 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
7402 * sysdeps/i386/asm-syntax.h: Likewise.
7403 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
7404 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7405 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
7406 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
7407 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
7408 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
7409 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
7410 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
7411 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
7412 * sysdeps/powerpc/sysdep.h: Likewise.
7413 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
7414 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
7416 2012-02-06 Joseph Myers <joseph@codesourcery.com>
7419 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
7421 2012-02-06 Joseph Myers <joseph@codesourcery.com>
7423 * sysdeps/i386/sysdep.h: Include <features.h>.
7424 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
7427 2012-02-05 Joseph Myers <joseph@codesourcery.com>
7429 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
7431 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
7434 2012-02-03 Joseph Myers <joseph@codesourcery.com>
7436 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
7437 (SETUP_PIC_REG): Use GET_PC_THUNK.
7438 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
7441 2012-02-03 Joseph Myers <joseph@codesourcery.com>
7443 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
7444 for non-PIC compilation.
7445 (SETUP_PIC_REG): Add .p2align directive.
7446 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
7447 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
7448 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7449 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7450 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
7451 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7452 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
7453 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
7454 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7455 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7456 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7457 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7458 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7459 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7460 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7461 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
7462 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
7463 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7464 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7465 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7466 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7467 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
7468 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7469 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7470 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
7471 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
7472 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7473 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
7474 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7475 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7476 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7477 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7478 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7479 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7480 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7481 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7482 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7483 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7484 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7485 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7486 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7488 2012-02-03 Joseph Myers <joseph@codesourcery.com>
7490 * math/tst-CMPLX.c: Include <stdio.h>.
7492 2012-01-31 Joseph Myers <joseph@codesourcery.com>
7494 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
7496 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
7497 * sysdeps/sparc/bits/mathdef.h: Likewise.
7499 2012-01-31 Marek Polacek <polacek@redhat.com>
7501 * libio/libio.h: Don't define _PARAMS.
7502 * locale/programs/config.h: Don't define PARAMS.
7503 * stdlib/strtol_l.c: Likewise.
7504 (__strtol_l): Remove PARAMS from the prototype.
7506 2012-01-31 Ulrich Drepper <drepper@gmail.com>
7508 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
7509 names. Just use the correct names. Remove unnecessary wrapper
7511 * malloc/arena.c: Likewise.
7512 * malloc/hooks.c: Likewise.
7514 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
7515 ARENA_TEST says not to. Simplify test for creation of a new arena.
7516 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
7518 2012-01-30 Ulrich Drepper <drepper@gmail.com>
7520 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
7522 (update_get_addr): New function.
7523 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
7524 GET_ADDR_MODULE parameter.
7526 2012-01-30 Joseph Myers <joseph@codesourcery.com>
7528 * crypt/cert.c: Remove __STDC__ conditionals.
7529 * crypt/crypt-entry.c: Likewise.
7530 * crypt/crypt_util.c: Likewise.
7531 * libio/filedoalloc.c: Likewise.
7532 * libio/fileops.c: Likewise.
7533 * libio/genops.c: Likewise.
7534 * libio/iofclose.c: Likewise.
7535 * libio/iofdopen.c: Likewise.
7536 * libio/iofopen.c: Likewise.
7537 * libio/iofopen64.c: Likewise.
7538 * libio/iogetdelim.c: Likewise.
7539 * libio/iopopen.c: Likewise.
7540 * libio/obprintf.c: Likewise.
7541 * libio/oldfileops.c: Likewise.
7542 * libio/oldiofclose.c: Likewise.
7543 * libio/oldiofdopen.c: Likewise.
7544 * libio/oldiofopen.c: Likewise.
7545 * libio/oldiopopen.c: Likewise.
7546 * libio/wfiledoalloc.c: Likewise.
7547 * libio/wgenops.c: Likewise.
7548 * locale/programs/xmalloc.c: Likewise.
7549 * misc/syslog.c: Likewise.
7550 * stdio-common/xbug.c: Likewise.
7551 * string/memchr.c: Likewise.
7552 * string/memcmp.c: Likewise.
7553 * string/memrchr.c: Likewise.
7554 * string/rawmemchr.c: Likewise.
7555 * sysdeps/posix/getcwd.c: Likewise.
7556 * time/strftime_l.c: Likewise.
7558 2012-01-30 Joseph Myers <joseph@codesourcery.com>
7560 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
7561 * config.make.in (config-cflags-sse2avx): Define.
7562 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
7565 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
7567 * scripts/config.guess: Update from upstream config git repository.
7568 * scripts/config.sub: Likewise.
7570 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
7572 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
7574 (R_TILEPRO_*, R_TILEGX_*): New macros.
7576 * scripts/firstversions.awk: Fix bug in version range handling.
7578 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
7580 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
7582 * include/sys/epoll.h: New file.
7583 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
7586 2012-01-28 Ulrich Drepper <drepper@gmail.com>
7588 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
7589 Avoid unnecessary __WORDSIZE == 64 test.
7590 (fmaxf): Use VEX format if possible.
7595 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
7596 * math/math_private.h: Remove libc_fegetround* and
7598 * sysdeps/i386/configure.in: Check for -msse2avx.
7599 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
7600 also if SSE2AVX is defined.
7601 Remove libc_fegetround* and libc_fesetround*.
7602 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
7603 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
7604 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
7606 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7607 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7608 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7609 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7610 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7612 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
7614 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7616 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
7618 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
7620 2012-01-27 Ulrich Drepper <drepper@gmail.com>
7623 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
7625 * Makeconfig (libm): Define.
7626 * elf/Makefile: Add rules to build and run tst-relsort1.
7627 * elf/tst-relsort1.c: New file.
7628 * elf/tst-relsort1mod1.c: New file.
7629 * elf/tst-relsort1mod2.c: New file.
7631 2012-01-27 Joseph Myers <joseph@codesourcery.com>
7633 * math/s_ldexp.c: Remove __STDC__ conditionals.
7634 * math/s_ldexpf.c: Likewise.
7635 * math/s_ldexpl.c: Likewise.
7636 * math/s_nextafter.c: Likewise.
7637 * math/s_nexttowardf.c: Likewise.
7638 * math/s_significand.c: Likewise.
7639 * math/s_significandf.c: Likewise.
7640 * math/s_significandl.c: Likewise.
7641 * math/w_jnl.c: Likewise.
7642 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
7643 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
7644 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
7645 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
7646 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
7647 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7648 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
7649 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7650 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7651 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
7652 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
7653 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7654 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
7655 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
7656 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7657 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
7658 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7659 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
7660 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7661 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7662 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7663 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7664 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7665 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7666 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7667 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7668 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7669 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7670 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
7671 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7672 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7673 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
7674 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7675 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
7676 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
7677 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7678 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
7679 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
7680 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
7681 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
7682 * sysdeps/ieee754/k_standard.c: Likewise.
7683 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7684 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7685 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
7686 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7687 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7688 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
7689 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7690 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
7691 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
7692 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7693 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
7694 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
7695 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
7696 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
7697 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
7698 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7699 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
7700 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7701 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7702 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7703 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7704 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7705 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
7706 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
7707 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7708 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
7709 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7710 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7711 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7712 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
7713 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
7714 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
7715 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7716 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
7717 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
7718 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
7719 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
7720 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7721 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
7722 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
7723 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
7724 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
7725 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7726 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
7727 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7728 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
7729 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7730 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7731 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
7732 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7733 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
7734 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7735 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7736 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
7737 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
7738 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
7739 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
7740 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7741 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7742 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7743 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7744 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7745 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
7746 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7747 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7748 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7749 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7750 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
7751 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
7752 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7753 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7754 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7755 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7756 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
7757 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
7758 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7759 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
7760 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
7761 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
7762 * sysdeps/ieee754/s_matherr.c: Likewise.
7763 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
7764 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7765 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7766 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7768 2012-01-26 Joseph Myers <joseph@codesourcery.com>
7770 * crypt/md5.h: Remove __STDC__ conditionals.
7771 * libio/libioP.h: Likewise.
7772 * locale/programs/config.h: Likewise.
7773 * sysdeps/generic/sysdep.h: Likewise.
7774 * sysdeps/i386/asm-syntax.h: Likewise.
7775 * sysdeps/s390/asm-syntax.h: Likewise.
7776 * sysdeps/unix/sysdep.h: Likewise.
7777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7780 2012-01-26 Joseph Myers <joseph@codesourcery.com>
7782 * libio/libio.h: Remove __STDC__ conditionals.
7783 * malloc/obstack.h: Likewise.
7784 * math/complex.h: Likewise.
7785 * math/math.h: Likewise.
7786 * sysdeps/generic/_G_config.h: Likewise.
7787 * sysdeps/gnu/_G_config.h: Likewise.
7788 * sysdeps/mach/hurd/_G_config.h: Likewise.
7789 * sysdeps/powerpc/bits/mathdef.h: Likewise.
7790 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
7791 * sysdeps/sparc/bits/mathdef.h: Likewise.
7793 2012-01-26 Ulrich Drepper <drepper@gmail.com>
7796 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
7797 Clean up HAS_* macros.
7798 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
7799 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
7801 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
7803 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7804 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7805 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7806 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7807 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7809 2012-01-25 Joseph Myers <joseph@codesourcery.com>
7811 * elf/tst-unique3.cc (gets): Remove declaration.
7812 * elf/tst-unique3lib.cc (gets): Likewise.
7813 * elf/tst-unique3lib2.cc (gets): Likewise.
7814 * elf/tst-unique4.cc (gets): Likewise.
7816 2012-01-24 Ulrich Drepper <drepper@gmail.com>
7818 * include/stdio.h: Add C++ protection. Add gets declarations and
7820 * debug/tst-chk1.c: Don't declare gets here.
7821 * stdio-common/tst-gets.c: Likewise.
7823 2012-01-24 Joseph Myers <joseph@codesourcery.com>
7825 * posix/glob: Remove directory.
7827 2012-01-24 Joseph Myers <joseph@codesourcery.com>
7829 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
7831 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
7833 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
7834 of the non-standard EPFNOSUPPORT.
7836 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
7838 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
7839 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
7840 ANYWHERE set to 1 only on KERN_NO_SPACE error.
7842 2012-01-21 Ulrich Drepper <drepper@gmail.com>
7844 * wcsmbs/uchar.h: Test __STDC_VERSION__.
7846 2012-01-20 Ulrich Drepper <drepper@gmail.com>
7848 * nscd/aicache.c (addhstaiX): Do not cache negative results of
7850 * nscd/grpcache.c (cache_addgr): Likewise.
7851 * nscd/hstcache.c (cache_addhst): Likewise.
7852 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7853 * nscd/pwdcache.c (cache_addpw): Likewise.
7854 * nscd/servicescache.c (cache_addserv): Likewise.
7856 2012-01-16 Ulrich Drepper <drepper@gmail.com>
7858 * malloc/malloc.c: Various cleanups.
7859 * malloc/hooks.c: Likewise.
7861 * stdlib/Makefile (tests): Add bug-fmtmsg1.
7862 * stdlib/bug-fmtmsg1.c: New file.
7864 * stdlib/fmtmsg.c (init): Add missing unlock.
7865 Patch by Peng Haitao <penght@cn.fujitsu.com>.
7867 2012-01-12 Marek Polacek <polacek@redhat.com>
7869 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
7872 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
7874 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
7875 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
7876 macro to ensure uniqueness of label name.
7877 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7878 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7880 2012-01-11 Ulrich Drepper <drepper@gmail.com>
7882 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
7884 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
7885 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
7886 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7887 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
7889 2012-01-10 Ulrich Drepper <drepper@gmail.com>
7891 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
7893 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
7894 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
7895 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
7897 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
7899 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
7900 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
7901 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7902 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
7904 * math/bits/math-finite.h: Add ldexp support.
7906 2012-01-10 Marek Polacek <polacek@redhat.com>
7908 * locale/programs/localedef.h (show_archive_content): Add noreturn
7911 2012-01-09 Ulrich Drepper <drepper@gmail.com>
7913 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
7915 2012-01-08 Ulrich Drepper <drepper@gmail.com>
7917 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
7919 * io/Makefile (headers): Add bits/poll2.h.
7921 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
7923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
7924 typo #include statement.
7926 2012-01-08 Ulrich Drepper <drepper@gmail.com>
7928 * include/sys/cdefs.h: Define __attribute_alloc_size.
7929 * catgets/gencat.c: Add alloc_size attribute and apply consistently
7930 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
7931 * elf/pldd.c: Likewise.
7932 * iconv/iconv_charmap.c: Likewise.
7933 * iconv/iconvconfig.c: Likewise.
7934 * iconv/strtab.c: Likewise.
7935 * locale/programs/locale.c: Likewise.
7936 * locale/programs/localedef.h: Likewise.
7937 * locale/programs/simple-hash.c: Likewise.
7938 * nscd/nscd.h: Likewise.
7939 * nss/makedb.c: Likewise.
7940 * sysdeps/generic/ldconfig.h: Likewise.
7941 * locale/programs/localedef.c: Remove xmalloc prototype.
7942 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
7944 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7946 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
7949 2012-01-08 Ulrich Drepper <drepper@gmail.com>
7951 * math/Makefile (tests): Add tst-CMPLX.
7952 * math/tst-CMPLX.c: New file.
7954 * math/complex.h (CMPLXL): Fix typo.
7956 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
7957 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
7959 * debug/tst-chk1.c: Add poll and ppoll tests.
7960 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
7961 * include/sys/poll.h: Add hidden proto for ppoll.
7962 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
7963 * sysdeps/mach/hurd/ppoll.c: Likewise.
7964 * io/ppoll.c: Likewise.
7965 * debug/poll_chk.c: New file.
7966 * debug/ppoll_chk.c: New file.
7967 * include/bits/poll2.h: New file.
7968 * io/bits/poll2.h: New file.
7971 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
7973 * configure.in: static is always set to yes. Remove.
7974 * config.make.in: Don't set build-static.
7975 * Makeconfig: Remove use of build-static.
7976 * dlfcn/Makefile: Likewise.
7977 * elf/Makefile: Likewise.
7978 * math/Makefile: Likewise.
7979 * misc/Makefile: Likewise.
7980 * nptl/Makefile: Likewise.
7981 * sysdeps/mach/hurd/Makefile: Likewise.
7983 * configure.in: PWD_P is not used anymore.
7984 * config.make.in: Remove PWD_P entry.
7986 * configure.in: Remove last remnants of RANLIB.
7987 No need to check for signed size_t anymore.
7988 Don't set libc_commonpagesize and libc_relro_required here for Alpha
7990 Remove __builtin_expect test because we require at least gcc 3.4.
7991 * aclocal.m4: Likewise.
7993 * wcsmbs/mbrtoc16.c: Implement using towc function.
7994 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
7995 * wcsmbs/wcsmbsload.c: Likewise.
7996 * iconv/gconv_simple.c: Likewise.
7997 * iconv/gconv_int.h: Likewise.
7998 * iconv/gconv_builtin.h: Likewise.
7999 * iconv/iconv_prog.c: Remove CHAR16 handling.
8001 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
8003 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
8005 * configure.in: Remove --with-elf and --enable-bounded options.
8006 Dont set base_machine for ia64. More non-ELF conditions removed.
8007 Remove testing and setting of leading underscore information.
8008 * config.make.in (build-bounded): Set to no.
8009 * config.h.in: Remove NO_UNDERSCORES entry.
8010 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
8012 * csu/start.c: Remove !NO_UNDERSCORE code.
8013 * locale/localeinfo.h: Likewise.
8014 * sysdeps/generic/machine-gmon.h: Likewise.
8015 * sysdeps/generic/sysdep.h: Likewise.
8016 * sysdeps/i386/sysdep.h: Likewise.
8017 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
8018 * sysdeps/mach/sysdep.h: Likewise.
8019 * sysdeps/s390/s390-32/sysdep.h: Likewise.
8020 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8021 * sysdeps/sh/sysdep.h: Likewise.
8022 * sysdeps/sparc/sparc32/alloca.S: Likewise.
8023 * sysdeps/unix/i386/sysdep.S: Likewise.
8024 * sysdeps/unix/sparc/start.c: Likewise.
8025 * sysdeps/unix/sparc/sysdep.S: Likewise.
8026 * sysdeps/unix/sparc/sysdep.h: Likewise.
8027 * sysdeps/unix/start.c: Likewise.
8028 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8029 * sysdeps/x86_64/sysdep.h: Likewise.
8031 2012-01-07 Ulrich Drepper <drepper@gmail.com>
8034 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
8036 * argp/argp-fmtstream.h: Use const instead __const.
8037 * argp/argp.h: Likewise.
8038 * assert/assert.h: Likewise.
8039 * bits/fenv.h: Likewise.
8040 * bits/sched.h: Likewise.
8041 * bits/sigset.h: Likewise.
8042 * bits/sigthread.h: Likewise.
8043 * catgets/nl_types.h: Likewise.
8044 * conform/data/pthread.h-data: Likewise.
8045 * crypt/crypt-private.h: Likewise.
8046 * crypt/crypt.h: Likewise.
8047 * crypt/crypt_util.c: Likewise.
8048 * ctype/ctype.h: Likewise.
8049 * debug/execinfo.h: Likewise.
8050 * debug/mbsnrtowcs_chk.c: Likewise.
8051 * debug/mbsrtowcs_chk.c: Likewise.
8052 * debug/wcsnrtombs_chk.c: Likewise.
8053 * debug/wcsrtombs_chk.c: Likewise.
8054 * debug/wcstombs_chk.c: Likewise.
8055 * dirent/dirent.h: Likewise.
8056 * dlfcn/dlfcn.h: Likewise.
8057 * elf/neededtest4.c: Likewise.
8058 * grp/grp.h: Likewise.
8059 * gshadow/gshadow.h: Likewise.
8060 * iconv/gconv.h: Likewise.
8061 * iconv/gconv_int.h: Likewise.
8062 * iconv/gconv_simple.c: Likewise.
8063 * iconv/iconv.h: Likewise.
8064 * iconv/loop.c: Likewise.
8065 * iconv/skeleton.c: Likewise.
8066 * include/aio.h: Likewise.
8067 * include/aliases.h: Likewise.
8068 * include/argz.h: Likewise.
8069 * include/arpa/inet.h: Likewise.
8070 * include/assert.h: Likewise.
8071 * include/dirent.h: Likewise.
8072 * include/dlfcn.h: Likewise.
8073 * include/execinfo.h: Likewise.
8074 * include/fcntl.h: Likewise.
8075 * include/fenv.h: Likewise.
8076 * include/glob.h: Likewise.
8077 * include/grp.h: Likewise.
8078 * include/libintl.h: Likewise.
8079 * include/mntent.h: Likewise.
8080 * include/netdb.h: Likewise.
8081 * include/pwd.h: Likewise.
8082 * include/rpc/netdb.h: Likewise.
8083 * include/sched.h: Likewise.
8084 * include/search.h: Likewise.
8085 * include/shadow.h: Likewise.
8086 * include/signal.h: Likewise.
8087 * include/stdio.h: Likewise.
8088 * include/stdlib.h: Likewise.
8089 * include/string.h: Likewise.
8090 * include/sys/socket.h: Likewise.
8091 * include/sys/stat.h: Likewise.
8092 * include/sys/statfs.h: Likewise.
8093 * include/sys/statvfs.h: Likewise.
8094 * include/sys/syslog.h: Likewise.
8095 * include/sys/time.h: Likewise.
8096 * include/sys/uio.h: Likewise.
8097 * include/time.h: Likewise.
8098 * include/unistd.h: Likewise.
8099 * include/utmp.h: Likewise.
8100 * include/wchar.h: Likewise.
8101 * include/wctype.h: Likewise.
8102 * inet/aliases.h: Likewise.
8103 * inet/arpa/inet.h: Likewise.
8104 * inet/netinet/ether.h: Likewise.
8105 * inet/netinet/in.h: Likewise.
8106 * intl/libintl.h: Likewise.
8107 * io/bits/fcntl2.h: Likewise.
8108 * io/fcntl.h: Likewise.
8109 * io/ftw.h: Likewise.
8110 * io/sys/poll.h: Likewise.
8111 * io/sys/stat.h: Likewise.
8112 * io/sys/statfs.h: Likewise.
8113 * io/sys/statvfs.h: Likewise.
8114 * io/utime.h: Likewise.
8115 * libio/bits/stdio.h: Likewise.
8116 * libio/bits/stdio2.h: Likewise.
8117 * libio/libio.h: Likewise.
8118 * libio/libioP.h: Likewise.
8119 * libio/stdio.h: Likewise.
8120 * locale/lc-ctype.c: Likewise.
8121 * locale/locale.h: Likewise.
8122 * login/utmp.h: Likewise.
8123 * malloc/arena.c: Likewise.
8124 * malloc/malloc.c: Likewise.
8125 * malloc/malloc.h: Likewise.
8126 * malloc/mcheck.c: Likewise.
8127 * malloc/mtrace.c: Likewise.
8128 * math/bits/mathcalls.h: Likewise.
8129 * math/fenv.h: Likewise.
8130 * math/math_private.h: Likewise.
8131 * misc/bits/error.h: Likewise.
8132 * misc/bits/syslog.h: Likewise.
8133 * misc/err.h: Likewise.
8134 * misc/error.h: Likewise.
8135 * misc/fstab.h: Likewise.
8136 * misc/mntent.h: Likewise.
8137 * misc/regexp.h: Likewise.
8138 * misc/search.h: Likewise.
8139 * misc/sgtty.h: Likewise.
8140 * misc/sys/mman.h: Likewise.
8141 * misc/sys/syslog.h: Likewise.
8142 * misc/sys/uio.h: Likewise.
8143 * misc/sys/xattr.h: Likewise.
8144 * misc/ttyent.h: Likewise.
8145 * nis/rpcsvc/ypclnt.h: Likewise.
8146 * nss/nss.h: Likewise.
8147 * posix/bits/unistd.h: Likewise.
8148 * posix/fnmatch.h: Likewise.
8149 * posix/glob.h: Likewise.
8150 * posix/sched.h: Likewise.
8151 * posix/spawn.h: Likewise.
8152 * posix/sys/wait.h: Likewise.
8153 * posix/unistd.h: Likewise.
8154 * posix/wordexp.h: Likewise.
8155 * pwd/pwd.h: Likewise.
8156 * resolv/netdb.h: Likewise.
8157 * resource/sys/resource.h: Likewise.
8158 * rt/aio.h: Likewise.
8159 * rt/bits/mqueue2.h: Likewise.
8160 * rt/mqueue.h: Likewise.
8161 * shadow/shadow.h: Likewise.
8162 * signal/signal.h: Likewise.
8163 * socket/send.c: Likewise.
8164 * socket/sendto.c: Likewise.
8165 * socket/sys/socket.h: Likewise.
8166 * stdio-common/printf.h: Likewise.
8167 * stdlib/bits/stdlib.h: Likewise.
8168 * stdlib/fmtmsg.h: Likewise.
8169 * stdlib/monetary.h: Likewise.
8170 * stdlib/stdlib.h: Likewise.
8171 * stdlib/ucontext.h: Likewise.
8172 * streams/stropts.h: Likewise.
8173 * string/argz.h: Likewise.
8174 * string/bits/string2.h: Likewise.
8175 * string/string.h: Likewise.
8176 * string/strings.h: Likewise.
8177 * sunrpc/rpc/auth.h: Likewise.
8178 * sunrpc/rpc/auth_des.h: Likewise.
8179 * sunrpc/rpc/clnt.h: Likewise.
8180 * sunrpc/rpc/netdb.h: Likewise.
8181 * sunrpc/rpc/pmap_clnt.h: Likewise.
8182 * sunrpc/rpc/xdr.h: Likewise.
8183 * sysdeps/generic/inttypes.h: Likewise.
8184 * sysdeps/generic/net/if.h: Likewise.
8185 * sysdeps/generic/sys/swap.h: Likewise.
8186 * sysdeps/gnu/net/if.h: Likewise.
8187 * sysdeps/gnu/utmpx.h: Likewise.
8188 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
8189 * sysdeps/i386/i486/bits/string.h: Likewise.
8190 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
8191 * sysdeps/s390/bits/string.h: Likewise.
8192 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
8193 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
8194 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
8195 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
8196 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
8197 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
8198 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
8199 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
8200 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
8201 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
8202 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
8203 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
8204 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
8205 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
8206 * sysdeps/unix/sysv/linux/readv.c: Likewise.
8207 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
8208 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
8209 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8210 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
8211 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
8212 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
8213 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
8214 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
8215 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
8216 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
8217 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
8218 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
8219 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8220 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
8221 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
8222 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
8223 * sysvipc/sys/ipc.h: Likewise.
8224 * sysvipc/sys/msg.h: Likewise.
8225 * sysvipc/sys/sem.h: Likewise.
8226 * sysvipc/sys/shm.h: Likewise.
8227 * termios/termios.h: Likewise.
8228 * time/sys/time.h: Likewise.
8229 * time/time.h: Likewise.
8230 * wcsmbs/bits/wchar2.h: Likewise.
8231 * wcsmbs/uchar.h: Likewise.
8232 * wcsmbs/wchar.h: Likewise.
8233 * wctype/wctype.h: Likewise.
8236 * Makeconfig: Remove all but ELF support including AIX support.
8237 * Makerules: Likewise.
8238 * config.h.in: Likewise.
8239 * config.make.in: Likewise.
8240 * configure: Likewise.
8241 * configure.in: Likewise.
8242 * csu/Makefile: Likewise.
8243 * csu/version.c: Likewise.
8244 * debug/Makefile: Likewise.
8245 * dlfcn/Makefile: Likewise.
8246 * elf/Makefile: Likewise.
8247 * extra-lib.mk: Likewise.
8248 * iconv/Makefile: Likewise.
8249 * include/libc-symbols.h: Likewise.
8250 * include/shlib-compat.h: Likewise.
8251 * resolv/Makefile: Likewise.
8252 * resolv/res_libc.c: Likewise.
8253 * rt/Makefile: Likewise.
8254 * sysdeps/i386/asm-syntax.h: Likewise.
8255 * sysdeps/i386/sysdep.h: Likewise.
8256 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
8257 * sysdeps/mach/sysdep.h: Likewise.
8258 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
8259 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
8260 * sysdeps/s390/asm-syntax.h: Likewise.
8261 * sysdeps/s390/s390-32/sysdep.h: Likewise.
8262 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8263 * sysdeps/sh/sysdep.h: Likewise.
8264 * sysdeps/unix/sparc/sysdep.h: Likewise.
8265 * sysdeps/wordsize-32/divdi3.c: Likewise.
8266 * sysdeps/x86_64/sysdep.h: Likewise.
8268 * argp/Versions: Remove _argp_unlock_xxx.
8271 * abilist/ld.abilist: Update. Adjust for removal of tls option.
8272 * abilist/libBrokenLocale.abilist: Likewise.
8273 * abilist/libanl.abilist: Likewise.
8274 * abilist/libc.abilist: Likewise.
8275 * abilist/libcrypt.abilist: Likewise.
8276 * abilist/libdl.abilist: Likewise.
8277 * abilist/libm.abilist: Likewise.
8278 * abilist/libnsl.abilist: Likewise.
8279 * abilist/libpthread.abilist: Likewise.
8280 * abilist/libresolv.abilist: Likewise.
8281 * abilist/librt.abilist: Likewise.
8282 * abilist/libthread_db.abilist: Likewise.
8283 * abilist/libutil.abilist: Likewise.
8284 * abilist/libnss_db.abilist: New file.
8286 * scripts/abilist.awk: Add support for indirect functions.
8288 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
8290 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
8292 * shlib-versions: Remove entries for ports architectures.
8294 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
8296 * elf/stackguard-macros.h: Remove support for IA-64.
8297 * elf/tst-auditmod1.c: Likewise.
8298 * sysdeps/generic/ldsodefs.h: Likewise.
8300 * sysdeps/unix/sysv/linux/configure.in: Ports should define
8301 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
8305 * configure.in: Remove --enable-omitfp support.
8307 * config.make.in: Likewise.
8308 * Makeconfig: Likewise.
8309 * manual/install.texi: Likewise.
8311 In case anyone cares, the IA-64 architecture could move to ports.
8312 * sysdeps/ia64/*: Removed.
8313 * sysdeps/unix/sysv/linux/ia64/*: Removed.
8314 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
8317 * configure.in: Remove entries for unsupported architectures.
8320 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
8321 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
8323 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
8324 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
8325 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
8326 fall back to using wcrtomb.
8327 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
8328 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
8330 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
8331 * wcsmbs/tst-c16c32-1.c: New file.
8333 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
8336 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
8338 * elf/tst-unique3.cc: Add explicit declaration of gets.
8339 * elf/tst-unique3lib.cc: Likewise.
8340 * elf/tst-unique3lib2.cc: Likewise.
8341 * elf/tst-unique4.cc: Likewise.
8343 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
8345 2012-01-06 Joseph Myers <joseph@codesourcery.com>
8348 * assert/assert.h (static_assert): Don't define for C++.
8349 * libio/stdio.h (gets): Do declare for C++ <= C++11.
8350 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
8352 2012-01-03 Ulrich Drepper <drepper@gmail.com>
8354 * iconv/loop.c (single loop): Fix assertion in storing of
8357 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
8359 2012-01-01 Ulrich Drepper <drepper@gmail.com>
8361 * posix/getconf.c: Update copyright year.
8362 * nss/getent.c: Likewise.
8363 * nss/makedb.c: Likewise.
8364 * iconv/iconvconfig.c: Likewise.
8365 * iconv/iconv_prog.c: Likewise.
8366 * elf/ldconfig.c: Likewise.
8367 * elf/pldd.c: Likewise.
8368 * elf/sotruss.ksh: Likewise.
8369 * catgets/gencat.c: Likewise.
8370 * csu/version.c: Likewise.
8371 * elf/ldd.bash.in: Likewise.
8372 * elf/sprof.c (print_version): Likewise.
8373 * locale/programs/locale.c: Likewise.
8374 * locale/programs/localedef.c: Likewise.
8375 * login/programs/pt_chown.c: Likewise.
8376 * nscd/nscd.c (print_version): Likewise.
8377 * debug/xtrace.sh: Likewise.
8378 * malloc/memusage.sh: Likewise.
8379 * malloc/mtrace.pl: Likewise.
8380 * debug/catchsegv.sh: Likewise.
8382 2011-12-30 Jakub Jelinek <jakub@redhat.com>
8384 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
8387 2011-12-24 Ulrich Drepper <drepper@gmail.com>
8390 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
8391 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
8393 * iconv/gconv_int.h: Likewise.
8394 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
8395 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
8396 from libc for GLIBC_2.16.
8397 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
8398 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
8399 * wcsmbs/uchar.h: Really define mbstate_t.
8400 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
8401 * wcsmbs/c16rtomb.c: New file.
8402 * wcsmbs/mbrtoc16.c: New file.
8403 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
8405 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
8406 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
8408 * wcsmbs/wchar.h: Add missing __restrict.
8410 2011-12-23 Ulrich Drepper <drepper@gmail.com>
8413 * time/Makefile (routines): Add timespec_get.
8414 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
8415 * time/time.h: Define TIME_UTC and declare timespec_get. Define
8416 timespec for ISO C11.
8417 * time/timespec_get.c: New file.
8418 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
8419 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
8422 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
8423 * stdlib/stdlib.h: Declare aligned_alloc.
8424 * Versions.def: Add GLIBC_2.16 for libc.
8425 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
8428 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
8431 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8435 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
8438 * assert/assert.h (static_assert): Define.
8440 * version.h: Update for 2.16 development version.
8443 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
8446 * version.h (RELEASE): Bump for 2.15 release.
8447 * include/features.h (__GLIBC_MINOR__): Bump to 15.
8449 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
8450 Patch by Marek Polacek <mpolacek@redhat.com>.
8452 * bits/byteswap.h: Protect long long constants with __extension__.
8453 * sysdeps/i386/bits/byteswap.h: Likewise.
8454 * sysdeps/ia64/bits/byteswap.h: Likewise.
8455 * sysdeps/s390/bits/byteswap.h: Likewise.
8456 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8458 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8461 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
8463 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
8465 2011-12-23 Marek Polacek <polacek@redhat.com>
8467 * elf/dl-addr.c (determine_info): Add inline keyword.
8468 * elf/tst-auditmod4b.c (check_avx): Likewise.
8469 * elf/tst-auditmod6b.c (check_avx): Likewise.
8470 * elf/tst-auditmod6c.c (check_avx): Likewise.
8471 * elf/tst-auditmod7b.c (check_avx): Likewise.
8473 2011-12-23 Ulrich Drepper <drepper@gmail.com>
8475 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
8478 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8481 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
8482 processing for last bytes.
8484 2011-08-06 Bruno Haible <bruno@clisp.org>
8487 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
8488 U+0385, not to U+1FEE.
8491 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
8492 entry for U+00A5 U+0301.
8494 2011-12-22 Ulrich Drepper <drepper@gmail.com>
8497 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
8498 buffer for the output is too small.
8500 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
8504 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
8505 SSE flags if possible.
8507 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8510 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
8511 processing for last bytes.
8513 2011-12-22 Joseph Myers <joseph@codesourcery.com>
8515 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
8516 (syscall-list-default-options, syscall-list-default-condition)
8517 (syscall-list-includes): Define.
8518 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
8519 list of ABIs and options and #if conditions for each ABI. Do not
8520 handle common syscalls between ABIs specially.
8521 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
8523 (syscall-list-variants, syscall-list-32bit-options)
8524 (syscall-list-32bit-condition, syscall-list-64bit-options)
8525 (syscall-list-64bit-condition): Define.
8526 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
8527 (syscall-list-variants, syscall-list-32bit-options)
8528 (syscall-list-32bit-condition, syscall-list-64bit-options)
8529 (syscall-list-64bit-condition): Define.
8530 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
8532 (syscall-list-variants, syscall-list-32bit-options)
8533 (syscall-list-32bit-condition, syscall-list-64bit-options)
8534 (syscall-list-64bit-condition): Define.
8535 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
8537 (syscall-list-variants, syscall-list-32bit-options)
8538 (syscall-list-32bit-condition, syscall-list-64bit-options)
8539 (syscall-list-64bit-condition): Define.
8541 2011-12-22 Ulrich Drepper <drepper@gmail.com>
8543 * locale/iso-639.def: Add brx entry.
8546 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
8547 Proposed by Mariusz_Cukr <marcukr@op.pl>.
8549 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
8550 __feraiseexcept_renamed.
8552 2011-12-21 Ulrich Drepper <drepper@gmail.com>
8555 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
8556 EPOLLET with unsigned values.
8557 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8558 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
8560 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
8561 to large cancellation.
8562 * math/s_cacoshf.c: Likewise.
8563 * math/s_cacoshl.c: Likewise.
8565 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
8569 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
8570 * math/s_cacoshf.c: Likewise.
8571 * math/s_cacoshl.c: Likewise.
8573 2011-12-21 Ulrich Drepper <drepper@gmail.com>
8576 * iconv/gconv.h: Define __GCONV_SWAP.
8577 * iconvdata/unicode.c: The swap bit must be stored in __flags.
8578 * iconvdata/utf-16.c: Likewise.
8579 * iconvdata/utf-32.c: Likewise.
8581 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
8584 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
8585 numerator after shifting it by one limb.
8587 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
8589 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
8590 under [__USE_EXTERN_INLINES].
8592 2011-12-17 Ulrich Drepper <drepper@gmail.com>
8595 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
8597 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8599 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
8600 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
8602 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
8603 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
8604 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
8605 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
8606 for strncasecmp/strncasecmp_l compilation.
8607 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
8608 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
8610 2011-12-08 Marek Polacek <mpolacek@redhat.com>
8613 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
8616 2011-12-17 Ulrich Drepper <drepper@gmail.com>
8619 * time/tzfile.c (__tzfile_read): Check values from file header.
8621 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
8623 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
8624 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
8625 * powerpc/powerpc32/dl-start.S: Likewise.
8626 * powerpc/powerpc32/elf/start.S: Likewise.
8627 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
8628 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
8629 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
8630 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
8631 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
8632 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
8633 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
8634 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
8635 * powerpc/powerpc32/fpu/s_round.S: Likewise.
8636 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
8637 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
8638 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
8639 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
8640 * powerpc/powerpc32/memset.S: Likewise.
8641 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
8642 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8643 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8644 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8645 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8646 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
8647 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
8648 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
8649 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
8650 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
8651 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
8652 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
8653 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
8655 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8657 * math/libm-test.inc: Added more nearbyint tests.
8658 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
8659 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
8660 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
8661 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
8663 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
8665 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
8668 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8670 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
8671 Add wcscpy-ssse3 wcscpy-c.
8672 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
8673 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
8674 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
8675 * sysdeps/x86_64/wcschr.S: New file.
8676 * sysdeps/x86_64/wcsrchr.S: New file.
8677 * string/test-strcmp.c: Remove checking of wcscmp function for
8679 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
8680 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
8681 wcsrchr-sse2 wcsrchr-c.
8682 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
8683 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
8684 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
8685 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
8686 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
8687 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
8688 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
8689 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
8690 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
8691 * wcsmbc/wcschr.c (WCSCHR): New macro.
8693 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8695 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
8696 * wcsmbs/test-wcsrchr.c: New file.
8697 * string/test-strrchr.c: Add wcsrchr support.
8699 * wcsmbs/test-wcscpy.c: New file.
8700 * string/test-strcpy.c: Add wcscpy support.
8703 2011-12-10 Ulrich Drepper <drepper@gmail.com>
8705 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
8708 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
8711 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
8713 2011-12-04 Ulrich Drepper <drepper@gmail.com>
8715 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
8716 Minor optimizations.
8718 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
8719 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
8720 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
8722 2011-12-03 Ulrich Drepper <drepper@gmail.com>
8724 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
8725 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
8726 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
8727 for gcc to avoid warnings.
8728 * inet/Makefile (tests): Add tst-checks.
8729 * inet/tst-checks.c: New file.
8731 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
8734 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
8737 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
8738 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
8740 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
8742 2011-12-02 Ulrich Drepper <drepper@gmail.com>
8744 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
8747 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
8749 2011-11-29 Joseph Myers <joseph@codesourcery.com>
8751 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
8752 conditional on GCC version.
8753 (__arch_compare_and_exchange_val_8_acq)
8754 (__arch_compare_and_exchange_val_16_acq)
8755 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
8756 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
8757 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
8759 2011-12-02 Joseph Myers <joseph@codesourcery.com>
8761 * sysdeps/sh/backtrace.c: New file.
8763 2011-12-02 Andreas Schwab <schwab@redhat.com>
8765 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
8768 2011-12-01 Andreas Schwab <schwab@redhat.com>
8770 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
8771 falling back to utime.
8773 2011-11-30 Andreas Schwab <schwab@redhat.com>
8775 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
8776 expectations for float.
8778 2011-11-29 Andreas Schwab <schwab@redhat.com>
8780 * locale/weight.h (findidx): Add parameter len.
8781 * locale/weightwc.h (findidx): Likewise.
8782 * posix/fnmatch_loop.c (FCT): Adjust caller.
8783 * posix/regcomp.c (build_equiv_class): Likewise.
8784 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
8785 * posix/regexec.c (check_node_accept_bytes): Likewise.
8786 * string/strcoll_l.c (STRCOLL): Likewise.
8787 * string/strxfrm_l.c (STRXFRM): Likewise.
8789 2011-11-17 Ulrich Drepper <drepper@gmail.com>
8791 * Makefile.in: Remove CVSOPT handling.
8792 * configure.in: Remove use of AC_REVISION.
8793 * iconvdata/Makefile (distribute): No need to filter out CVS.
8794 * scripts/list-sources.sh: Remove CVS, subversion and monotone
8797 2011-11-16 Andreas Schwab <schwab@redhat.com>
8799 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
8800 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
8801 [USE_AS_STRNCASECMP_L]: Likewise.
8802 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
8803 NO_TLS_DIRECT_SEG_REFS.
8804 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
8805 Fix argument offsets for non-PIC.
8806 [USE_AS_STRNCASECMP_L]: Likewise.
8807 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
8808 NO_TLS_DIRECT_SEG_REFS.
8810 2011-11-15 Ulrich Drepper <drepper@gmail.com>
8812 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
8814 * locale/loadlocale.c (_nl_load_locale): Likewise.
8816 2011-11-15 Andreas Schwab <schwab@redhat.com>
8818 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
8819 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
8820 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
8821 (SYSCALL_GETTIME): Set errno on error.
8823 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
8824 count references to noai6ai_cached.
8826 2011-11-15 Ulrich Drepper <drepper@gmail.com>
8828 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
8830 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
8831 FD_CLOEXEC for /proc/self/maps.
8833 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
8834 FD_CLOEXEC for /proc/meminfo.
8836 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
8839 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
8840 FD_CLOEXEC for given file.
8842 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
8844 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
8845 FD_CLOEXEC for /etc/hosts.
8846 (_gethtent): Likewise.
8848 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
8850 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
8851 cancellation and set FD_CLOEXEC for /etc/netgroup.
8853 * nss/nss_files/files-key.c (search): Don't allow cancellation when
8854 reading /etc/publickey.
8856 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
8857 allow cancellation when reading /etc/group.
8859 * nss/nss_files/files-alias.c (internal_setent): Don't allow
8861 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
8863 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
8864 when using data file.
8866 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
8868 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
8869 (write_nis_obj): Use "c" and "e" in fopen.
8871 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
8873 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
8875 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
8877 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
8879 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
8882 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
8884 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
8886 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
8888 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
8889 file parsing and set FD_CLOEXEC.
8891 2011-11-14 Ulrich Drepper <drepper@gmail.com>
8893 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
8895 2011-11-14 Andreas Schwab <schwab@redhat.com>
8897 * malloc/arena.c (arena_get2): Don't call reused_arena when
8898 _int_new_arena failed.
8900 2011-11-14 Ulrich Drepper <drepper@gmail.com>
8902 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
8903 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
8904 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
8905 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8906 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8907 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
8908 to compile strcasecmp and strncasecmp.
8909 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
8910 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
8912 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
8914 2011-11-13 Ulrich Drepper <drepper@gmail.com>
8916 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
8917 locale-defines.sym to gen-as-const-headers.
8918 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
8919 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
8920 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
8921 to compile strcasecmp and strncasecmp.
8922 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
8923 strcasecmp_l and strncasecmp_l.
8924 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
8925 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
8926 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
8927 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
8928 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
8929 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
8930 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
8931 * sysdeps/i386/i686/multiarch/strncase.S: New file.
8932 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
8933 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
8934 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
8936 2011-11-12 Ulrich Drepper <drepper@gmail.com>
8938 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
8939 result of SYSDEP_GETTIME_CPU to retval.
8940 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
8941 parameter list to macro. Remove trailing semicolon. Adjust users.
8943 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
8946 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
8948 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
8950 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
8951 from unused variable.
8953 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
8955 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
8958 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
8961 * sunrpc/rpc_prot.c (rejected): Fix case value.
8963 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
8964 unsigned long long int to avoid warnings in shift.
8966 * posix/regex_internal.c (re_string_reconstruct): Actually use result
8968 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
8971 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
8972 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
8973 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
8975 * nis/nis_table.c (nis_list): Use variable of correct type for
8976 result of __follow_path call.
8978 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8980 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
8981 of math functions ceil, trunc, floor, round, and sqrt, when
8982 avaliable on the platform.
8983 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
8985 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8986 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8987 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8989 2011-10-30 Marek Polacek <mpolacek@redhat.com>
8991 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
8992 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
8994 2011-11-11 Roland McGrath <roland@hack.frob.com>
8996 * include/unistd.h: Fix __readlink return type.
8997 Reported by Chris Metcalf <cmetcalf@tilera.com>.
8999 2011-11-11 Ulrich Drepper <drepper@gmail.com>
9001 * stdlib/ucontext.h: Undo last change for makecontext.
9003 2011-11-11 Andreas Schwab <schwab@redhat.com>
9005 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
9007 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
9008 * setjmp/setjmp.h: Mark functions as non-leaf.
9009 * setjmp/bits/setjmp2.h: Likewise.
9010 * stdlib/ucontext.h: Likewise.
9012 2011-11-10 Andreas Schwab <schwab@redhat.com>
9014 * malloc/arena.c (_int_new_arena): Don't increment narenas.
9015 (reused_arena): Don't check arena limit.
9016 (arena_get2): Atomically check arena limit.
9018 2011-11-08 Ulrich Drepper <drepper@gmail.com>
9020 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
9021 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
9023 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
9026 2011-11-07 Andreas Schwab <schwab@redhat.com>
9028 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
9029 handler when locking.
9031 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9032 Fix size of allocated buffer.
9034 2011-11-04 Andreas Schwab <schwab@redhat.com>
9037 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
9038 declarations for long double functions.
9039 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
9041 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
9043 2011-11-03 Andreas Schwab <schwab@redhat.com>
9045 * nscd/nscd.c (main): Don't start AVC thread until credentials are
9048 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
9051 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
9053 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
9055 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
9057 * include/alloca.h (stackinfo_alloca_round): Define.
9058 (extend_alloca): Use it.
9059 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
9060 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
9063 * scripts/check-local-headers.sh: Ignore libaudit.h.
9065 * nscd/Makefile (extra-objs): Make recursively expanded.
9067 2011-11-01 Ulrich Drepper <drepper@gmail.com>
9069 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
9070 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
9072 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
9073 * posix/tst-rfc3484-2.c: Likewise.
9074 * posix/tst-rfc3484-3.c: Likewise.
9076 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
9078 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
9080 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
9081 process_vm_writev from libc using GLIBC_2.15 version.
9083 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
9085 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
9087 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
9090 2011-10-31 Ulrich Drepper <drepper@gmail.com>
9093 * nss/getent.c (initgroups_keys): Show error message in case no group
9096 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
9097 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
9098 __bump_nl_timestamp.
9099 * nscd/connections (nscd_init): When host database is served open
9100 netlink socket and request notification about configuration changes.
9101 (main_loop_poll): Track netlink file descriptor and bump timestamp
9102 in case data becomes available.
9103 (main_loop_epoll): Likewise.
9104 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
9105 (database_pers_head): Add extra_data fileds.
9106 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
9107 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
9108 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
9110 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
9111 in6ai data, call __free_in6ai.
9112 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
9114 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
9115 interface information. Reuse previous data if netlink timestamp
9117 (__bump_nl_timestamp): New function.
9118 (__free_in6ai): New function.
9120 2011-10-30 Ulrich Drepper <drepper@gmail.com>
9122 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
9123 close_not_cancel_no_status here.
9124 (__check_pf): Reorganize code a bit to not call close twice if OOM.
9126 2011-10-29 Ulrich Drepper <drepper@gmail.com>
9129 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
9132 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9133 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
9134 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
9136 2011-07-03 Andreas Jaeger <aj@suse.de>
9139 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
9140 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
9141 * math/libm-test.inc (sin_test): Add test case.
9143 2011-10-29 Ulrich Drepper <drepper@gmail.com>
9146 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
9147 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
9149 * elf/chroot_canon.c (chroot_canon): Cleanups.
9151 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
9154 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
9155 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
9157 * string/test-strchr.c: Make usable for strchrnul testing.
9158 * string/test-strchrnul.c: New file.
9159 * string/Makefile (strop-tests): Add strchrnul.
9161 * po/it.po: Update from translation team.
9162 * po/es.po: Likewise.
9164 2011-10-28 Ulrich Drepper <drepper@gmail.com>
9166 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
9167 the three constants needed as parameters. Drop the others.
9168 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
9169 __m128i_strloadu_tolower.
9170 Create and initialize variable zero and use it in all the places
9171 where _mm_setzero_si128 was used.
9173 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
9174 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
9175 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
9176 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
9178 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
9179 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
9180 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
9181 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
9182 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
9183 __mpranred, __mptan.
9184 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
9185 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
9186 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
9187 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
9188 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
9189 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
9190 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
9191 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
9192 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
9194 2011-10-28 Andreas Schwab <schwab@redhat.com>
9196 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
9198 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
9200 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
9201 wide char related routines to wcsmbs subdir.
9203 2011-10-27 Andreas Schwab <schwab@redhat.com>
9206 * misc/sys/cdefs.h (__THROWNL): Define.
9207 * posix/unistd.h: Use __THREADNL instead of __THREAD
9208 for memory synchronization functions.
9210 2011-10-26 Roland McGrath <roland@hack.frob.com>
9213 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
9215 * manual/stdio.texi (Obstack Streams): Node removed.
9217 2011-10-26 Andreas Schwab <schwab@redhat.com>
9219 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
9220 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9221 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9223 * math/math_private.h (math_force_eval): Allow non-addressable
9225 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
9227 2011-10-25 Ulrich Drepper <drepper@gmail.com>
9229 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
9232 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
9233 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
9234 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9235 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9236 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9237 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9238 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9239 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
9241 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
9242 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
9243 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
9244 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
9245 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
9246 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
9247 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
9248 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
9249 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
9250 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
9251 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
9252 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
9253 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
9254 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
9255 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
9256 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
9257 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
9258 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
9259 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
9261 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
9262 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
9264 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
9265 place. Use VEX encoding when compiling for AVX.
9267 2011-10-25 Andreas Schwab <schwab@redhat.com>
9269 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
9270 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
9272 * string/test-strchr.c (do_test): Don't generate NUL bytes.
9274 2011-10-25 Ulrich Drepper <drepper@gmail.com>
9276 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
9277 useless if() expression.
9278 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9279 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9280 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9281 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9282 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9283 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9284 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9285 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9286 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9287 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9288 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9289 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9290 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
9291 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9292 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
9293 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9294 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9295 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9296 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9298 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
9300 2011-10-25 Andreas Schwab <schwab@redhat.com>
9302 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
9304 * elf/dl-fini.c (_dl_sort_fini): Likewise.
9306 2011-10-25 Ulrich Drepper <drepper@gmail.com>
9308 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
9309 .text section. Avoid duplicate constants.
9310 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9311 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9312 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9313 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9314 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9315 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9316 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9317 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9318 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9319 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
9320 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9321 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9322 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
9323 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
9324 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
9325 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
9326 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
9327 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9328 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9329 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9330 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9331 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9332 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9333 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
9334 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
9335 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
9336 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
9337 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
9338 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
9339 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
9340 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
9341 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
9342 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9343 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
9344 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
9345 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
9346 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
9347 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
9348 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
9349 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
9350 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
9351 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
9352 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
9353 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
9354 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
9356 2011-10-24 Ulrich Drepper <drepper@gmail.com>
9358 * sysdeps/x86_64/dla.h: Move to ...
9359 * sysdeps/x86_64/fpu/dla.h: ...here.
9360 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
9361 situations. Use __builtin_fma only for gcc 4.6 and up.
9363 * config.make.in: Add have-mfma4 entry.
9364 * configure.in: Substitute libc_cv_cc_fma4.
9365 * math/Makefile (dbl-only-routines): Add sincostab.
9366 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
9367 Use __sincostab not sincos.
9368 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
9370 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9371 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9372 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9373 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
9375 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
9376 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
9377 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
9378 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
9380 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
9381 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
9383 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
9384 define aliases when function name is a macro.
9385 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
9386 sysdeps/ieee754/dbl-64/sincos.tbl.
9387 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
9388 fma4-enabled routines.
9389 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
9390 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
9391 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
9392 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
9393 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
9394 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
9395 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
9396 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
9397 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
9398 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
9399 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
9400 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
9401 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
9402 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
9403 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
9404 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
9405 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
9406 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
9407 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
9408 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
9409 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
9410 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
9411 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
9412 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
9413 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
9414 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
9415 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
9416 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
9417 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
9418 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
9420 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
9422 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9423 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9424 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9425 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9426 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9427 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9428 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9429 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9431 2011-10-24 Andreas Schwab <schwab@redhat.com>
9433 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
9435 2011-10-23 Ulrich Drepper <drepper@gmail.com>
9437 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
9439 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
9441 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
9443 * string/strnlen.c: Don't define STRNLEN, reverse logic.
9444 Remove unused variable magic_bits.
9445 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
9447 * string/strnlen.c: Define and use STRNLEN macro.
9448 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
9449 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
9450 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
9451 * wcsmbs/wcslen.c: Define and use WCSLEN.
9452 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
9453 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
9454 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
9455 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
9456 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
9457 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
9458 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
9460 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9462 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9463 strnlen-sse2-no-bsf.
9464 Rename strlen-no-bsf to strlen-sse2-no-bsf.
9465 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
9466 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
9467 Add strnlen support.
9468 (USE_AS_STRNLEN): New macro.
9469 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
9470 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
9471 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
9472 * sysdeps/x86_64/wcslen.S: New file.
9474 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
9476 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
9477 XMM-moves are used for copying on small sizes.
9479 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9481 * wcsmbs/Makefile (strop-tests): Add wcschr.
9482 * wcsmbs/test-wcschr.c: New file.
9483 * string/test-strchr.c: Update.
9487 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9489 * wcsmbs/Makefile (strop-tests): Add wcslen.
9490 * wcsmbs/test-wcslen.c: New file.
9491 * string/test-strlen.c: Update.
9495 2011-10-23 Ulrich Drepper <drepper@gmail.com>
9497 * po/it.po: Update from translation team.
9499 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9501 * sysdeps/x86_64/wcscmp.S: Update.
9502 Fix wrong comparison semantics.
9503 wcscmp shall use signed comparison not unsigned.
9504 Don't use substraction to avoid overflow bug.
9505 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
9506 * wcsmbc/wcscmp.c: Likewise.
9507 * string/test-strcmp.c: Likewise.
9508 Add new tests to check cases with negative values.
9510 2011-10-23 Ulrich Drepper <drepper@gmail.com>
9512 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
9513 * sysdeps/x86_64/dla.h: ...here. New file.
9514 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
9515 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9516 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9517 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9518 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9519 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9520 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9521 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9522 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9524 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
9526 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
9527 __ynl_finite aliases.
9529 2011-10-22 Ulrich Drepper <drepper@gmail.com>
9531 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9533 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
9535 [DLA_FMA] (EMULV): Use DLA_FMA.
9536 [DLA_FMA] (MUL12): Use EMULV.
9537 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
9538 that are not needed.
9539 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9540 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9541 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9542 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9543 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9544 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9545 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9547 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
9549 * math/s_nan.c: Undef __nan.
9550 * math/s_nanf.c: Undef __nanf.
9551 * math/s_nanl.c: Undef __nanl.
9552 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
9555 2011-10-22 Ulrich Drepper <drepper@gmail.com>
9557 * math/s_catan.c: Add branch predictions.
9558 * math/s_catanf.c: Likewise.
9559 * math/s_catanh.c: Likewise.
9560 * math/s_catanhf.c: Likewise.
9561 * math/s_catanhl.c: Likewise.
9562 * math/s_catanl.c: Likewise.
9563 * math/s_cexp.c: Likewise.
9564 * math/s_cexpf.c: Likewise.
9565 * math/s_cexpl.c: Likewise.
9566 * math/s_clog.c: Likewise.
9567 * math/s_clog10.c: Likewise.
9568 * math/s_clog10f.c: Likewise.
9569 * math/s_clog10l.c: Likewise.
9570 * math/s_clogf.c: Likewise.
9571 * math/s_clogl.c: Likewise.
9572 * math/s_csqrt.c: Likewise.
9573 * math/s_csqrtf.c: Likewise.
9574 * math/s_csqrtl.c: Likewise.
9575 * math/s_ctanf.c: Likewise.
9576 * math/s_ctanh.c: Likewise.
9577 * math/s_ctanhf.c: Likewise.
9578 * math/s_ctanhl.c: Likewise.
9579 * math/s_ctanl.c: Likewise.
9581 * math/math_private.h: Define __nan, __nanf, __nanl.
9582 * math/s_cacosh.c: Include <math_private.h>.
9583 * math/s_cacoshl.c: Likewise.
9584 * math/s_casinh.c: Likewise.
9585 * math/s_casinhf.c: Likewise.
9586 * math/s_casinhl.c: Likewise.
9587 * math/s_ccos.c: Rely entire on ccosh.
9588 * math/s_ccosf.c: Rely entire on ccoshf.
9589 * math/s_ccosl.c: Rely entirely on ccoshl.
9590 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
9591 Remove tests for FE_INVALID.
9592 * math/s_ccoshf.c: Likewise.
9593 * math/s_ccoshl.c: Likewise.
9594 * math/s_csin.c: Likewise.
9595 * math/s_csinf.c: Likewise.
9596 * math/s_csinh.c Likewise.
9597 * math/s_csinhf.c: Likewise.
9598 * math/s_csinhl.c: Likewise.
9599 * math/s_csinl.c: Likewise.
9600 * math/s_ctan.c: Likewise.
9601 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
9602 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
9603 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
9605 2011-10-21 Ulrich Drepper <drepper@gmail.com>
9607 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
9608 compilation problems.
9610 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
9613 2011-10-20 Ulrich Drepper <drepper@gmail.com>
9615 * sysdeps/i386/configure.in: Test for -mfma4 option.
9616 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
9617 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
9618 COMMON_CPUID_INDEX_80000001.
9619 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
9620 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
9621 use it if FMA3 is not supported.
9622 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
9624 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
9625 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
9627 2011-10-20 Andreas Schwab <schwab@redhat.com>
9630 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
9631 it would create a cycle with a link time dependency.
9633 2011-10-19 Ulrich Drepper <drepper@gmail.com>
9635 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
9637 * string/Makefile (strop-tests): Add rawmemchr.
9638 * string/test-rawmemchr.c: New file.
9640 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
9641 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
9642 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
9643 when compiling str{,n}casecmp and when AVX is available. Hook up
9644 new optimized code in initializers.
9646 2011-10-19 Andreas Schwab <schwab@redhat.com>
9648 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
9649 __feraiseexcept instead of feraiseexcept.
9651 2011-10-18 Ulrich Drepper <drepper@gmail.com>
9653 * math/math_private.h: Define defaults for libc_fetestexcept and
9655 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
9656 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
9657 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
9658 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
9659 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9660 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
9661 libc_fetestexcept and libc_feupdateenv.
9663 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
9664 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
9665 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
9666 * sysdeps/x86_64/fpu/math_private.h: Define special version of
9667 libc_feholdexcept_setround.
9669 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
9670 Add s_nearbyint-c and s_nearbyintf-c.
9671 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
9673 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
9674 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
9675 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
9676 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
9678 * math/math_private.h: Define defaults for libc_fegetround,
9679 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
9680 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
9681 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
9682 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
9683 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
9685 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9686 Remove comments and hacks for old compiler versions.
9687 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
9688 libc_fegetround, libc_fesetround, libc_feholdexcept, and
9691 2011-10-18 Andreas Schwab <schwab@redhat.com>
9693 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
9694 (__feraiseexcept_renamed): Add __NTH.
9695 (feraiseexcept): Add __NTH. Rename local variables to fix
9696 namespace violations.
9698 2011-10-17 Ulrich Drepper <drepper@gmail.com>
9700 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
9702 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
9704 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
9705 recently added interfaces.
9706 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
9708 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
9709 about macro parameter expansion.
9711 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
9712 __NO_MATH_INLINES is defined. Cleanups.
9714 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
9715 and __floorf is target has SSE4.1.
9716 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
9717 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
9718 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
9719 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
9721 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
9725 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
9727 2011-10-17 Andreas Schwab <schwab@redhat.com>
9729 * misc/sys/cdefs.h: Fix last change.
9731 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
9734 2011-10-16 Ulrich Drepper <drepper@gmail.com>
9736 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
9738 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
9739 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9740 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9741 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9742 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9743 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9744 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9745 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9746 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9747 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
9748 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
9749 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
9750 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
9751 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
9752 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
9753 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
9754 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
9755 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
9756 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
9757 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
9758 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
9759 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
9761 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
9762 ceil, ceilf, floor, floorf.
9764 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
9765 Perform IRELATIVE relocations last.
9767 * elf/do-rel.h: Add another parameter nrelative, replacing the
9768 local variable with the same name. Change name of the function
9769 to end in Rel or Rela (uppercase).
9770 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
9771 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
9772 elf_dynamic_do_##reloc function.
9774 2011-10-15 Ulrich Drepper <drepper@gmail.com>
9776 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
9777 is sufficient, at least on modern CPUs.
9779 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
9781 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
9782 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
9784 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
9786 * math/bits/math-finite.h: Add entries for exp.
9787 * math/e_expl.c: Add __*_finite alias.
9788 * sysdeps/i386/fpu/e_exp.S: Likewise.
9789 * sysdeps/i386/fpu/e_expf.S: Likewise.
9790 * sysdeps/i386/fpu/e_expl.c: Likewise.
9791 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9792 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
9793 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9794 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9795 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
9796 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
9797 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
9799 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
9800 is sufficient, at least on modern CPUs.
9802 * ctype/ctype-info.c (__ctype_init): Define.
9803 * include/ctype.h (__ctype_init): Declare.
9804 (__ctype_b_loc): The variable is always initialized.
9805 (__ctype_toupper_loc): Likewise.
9806 (__ctype_tolower_loc): Likewise.
9807 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
9808 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
9810 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
9812 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
9814 * configure.in: Also look in $cxxmachine/include for C++ system
9817 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9819 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
9820 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
9821 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
9822 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
9823 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
9824 (USE_AS_WMEMCMP): New macro.
9826 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
9827 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
9828 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
9829 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
9830 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9831 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
9832 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
9833 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
9834 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
9835 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
9836 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
9837 (USE_AS_WMEMCMP): New macro.
9838 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
9839 * sysdeps/string/test-memcmp.c: Update.
9842 * wcsmbs/wmemcmp.c: Update.
9843 (WMEMCMP): New macro.
9846 2011-10-12 Andreas Jaeger <aj@suse.de>
9849 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
9851 2011-10-15 Ulrich Drepper <drepper@gmail.com>
9853 * libio/iofwide.c (do_length): Avoid warning.
9855 * ctype/ctype.h (__isctype_f): Add missing __THROW.
9857 2011-10-14 Ulrich Drepper <drepper@gmail.com>
9859 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
9861 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
9862 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
9863 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
9864 * sysdeps/i386/i686/fpu/e_log.S: New file.
9865 * sysdeps/i386/i686/fpu/e_logf.S: New file.
9866 * sysdeps/i386/i686/fpu/e_logl.S: New file.
9868 * ctype/ctype.h: Add support for inlined isXXX functions when
9871 2011-10-14 Andreas Schwab <schwab@redhat.com>
9873 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9875 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
9877 2011-10-13 Roland McGrath <roland@hack.frob.com>
9880 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
9882 2011-10-13 Andreas Schwab <schwab@redhat.com>
9884 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
9885 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
9888 * sysdeps/x86_64/memrchr.S: Check for zero size.
9890 * string/stratcliff.c: Add memrchr tests.
9892 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9894 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9895 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
9896 rawmemchr-sse2 rawmemchr-sse2-bsf.
9897 * sysdeps/i386/i686/multiarch/memchr.S: New file.
9898 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
9899 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
9900 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
9901 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
9902 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
9903 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
9904 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
9905 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
9906 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
9907 * string/memrchr.c (MEMRCHR): New macro.
9909 2011-10-12 Ulrich Drepper <drepper@gmail.com>
9911 Add integration with gcc's -ffinite-math-only and optimize wrapper
9913 * Versions.def: Define GLIBC_2.15 version for libm.
9914 * math/Makefile (headers): Add bits/math-finite.h.
9915 * math/bits/math-finite.h: New file.
9916 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
9917 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
9918 * math/e_acoshl.c: Add __*_finite alias.
9919 * math/e_acosl.c: Likewise.
9920 * math/e_asinl.c: Likewise.
9921 * math/e_atan2l.c: Likewise.
9922 * math/e_atanhl.c: Likewise.
9923 * math/e_coshl.c: Likewise.
9924 * math/e_exp10.c: Likewise.
9925 * math/e_exp10f.c: Likewise.
9926 * math/e_exp10l.c: Likewise.
9927 * math/e_exp2l.c: Likewise.
9928 * math/e_fmodl.c: Likewise.
9929 * math/e_gammal_r.c: Likewise.
9930 * math/e_hypotl.c: Likewise.
9931 * math/e_j0l.c: Likewise.
9932 * math/e_j1l.c: Likewise.
9933 * math/e_jnl.c: Likewise.
9934 * math/e_lgammal_r.c: Likewise.
9935 * math/e_log10l.c: Likewise.
9936 * math/e_log2l.c: Likewise.
9937 * math/e_logl.c: Likewise.
9938 * math/e_powl.c: Likewise.
9939 * math/e_sinhl.c: Likewise.
9940 * math/e_sqrtl.c: Likewise.
9941 * math/e_scalb.c: Completely rewritten and optimized.
9942 * math/e_scalbf.c: Likewise.
9943 * math/e_scalbl.c: Likewise.
9944 * math/w_acos.c: Likewise.
9945 * math/w_acosf.c: Likewise.
9946 * math/w_acosl.c: Likewise.
9947 * math/w_acosh.c: Likewise.
9948 * math/w_acoshf.c: Likewise.
9949 * math/w_acoshl.c: Likewise.
9950 * math/w_asin.c: Likewise.
9951 * math/w_asinf.c: Likewise.
9952 * math/w_asinl.c: Likewise.
9953 * math/w_atan2.c: Likewise.
9954 * math/w_atan2f.c: Likewise.
9955 * math/w_atan2l.c: Likewise.
9956 * math/w_atanh.c: Likewise.
9957 * math/w_atanhf.c: Likewise.
9958 * math/w_atanhl.c: Likewise.
9959 * math/w_exp10.c: Likewise.
9960 * math/w_exp10f.c: Likewise.
9961 * math/w_exp10l.c: Likewise.
9962 * math/w_fmod.c: Likewise.
9963 * math/w_fmodf.c: Likewise.
9964 * math/w_fmodl.c: Likewise.
9965 * math/w_j0.c: Likewise.
9966 * math/w_j0f.c: Likewise.
9967 * math/w_j0l.c: Likewise.
9968 * math/w_j1.c: Likewise.
9969 * math/w_j1f.c: Likewise.
9970 * math/w_j1l.c: Likewise.
9971 * math/w_jn.c: Likewise.
9972 * math/w_jnf.c: Likewise.
9973 * math/w_log.c: Likewise.
9974 * math/w_logf.c: Likewise.
9975 * math/w_logl.c: Likewise.
9976 * math/w_log10.c: Likewise.
9977 * math/w_log10f.c: Likewise.
9978 * math/w_log10l.c: Likewise.
9979 * math/w_log2.c: Likewise.
9980 * math/w_log2f.c: Likewise.
9981 * math/w_log2l.c: Likewise.
9982 * math/w_pow.c: Likewise.
9983 * math/w_powf.c: Likewise.
9984 * math/w_powl.c: Likewise.
9985 * math/w_remainder.c: Likewise.
9986 * math/w_remainderf.c: Likewise.
9987 * math/w_remainderl.c: Likewise.
9988 * math/w_scalb.c: Likewise.
9989 * math/w_scalbf.c: Likewise.
9990 * math/w_scalbl.c: Likewise.
9991 * math/w_sqrt.c: Likewise.
9992 * math/w_sqrtf.c: Likewise.
9993 * math/w_sqrtl.c: Likewise.
9994 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
9995 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
9997 * math/math_private.h: Declare __kernel_standard_f.
9998 * math/w_cosh.c: Remove cruft and optimize a bit.
9999 * math/w_coshf.c: Likewise.
10000 * math/w_coshl.c: Likewise.
10001 * math/w_exp2.c: Likewise.
10002 * math/w_exp2f.c: Likewise.
10003 * math/w_exp2l.c: Likewise.
10004 * math/w_hypot.c: Likewise.
10005 * math/w_hypotf.c: Likewise.
10006 * math/w_hypotl.c: Likewise.
10007 * math/w_lgamma.c: Likewise.
10008 * math/w_lgamma_r.c: Likewise.
10009 * math/w_lgammaf.c: Likewise.
10010 * math/w_lgammaf_r.c: Likewise.
10011 * math/w_lgammal.c: Likewise.
10012 * math/w_lgammal_r.c: Likewise.
10013 * math/w_sinh.c: Likewise.
10014 * math/w_sinhf.c: Likewise.
10015 * math/w_sinhl.c: Likewise.
10016 * math/w_tgamma.c: Likewise.
10017 * math/w_tgammaf.c: Likewise.
10018 * math/w_tgammal.c: Likewise.
10019 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10020 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10021 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
10022 Minor optimizations. Pretty printing. Remove cruft.
10023 * sysdeps/i386/fpu/e_acosf.S: Likewise.
10024 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10025 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10026 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10027 * sysdeps/i386/fpu/e_acosl.c: Likewise.
10028 * sysdeps/i386/fpu/e_asin.S: Likewise.
10029 * sysdeps/i386/fpu/e_asinf.S: Likewise.
10030 * sysdeps/i386/fpu/e_atan2.S: Likewise.
10031 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
10032 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
10033 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10034 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10035 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10036 * sysdeps/i386/fpu/e_exp10.S: Likewise.
10037 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
10038 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
10039 * sysdeps/i386/fpu/e_exp2.S: Likewise.
10040 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
10041 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
10042 * sysdeps/i386/fpu/e_fmod.S: Likewise.
10043 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
10044 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
10045 * sysdeps/i386/fpu/e_hypot.S: Likewise.
10046 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
10047 * sysdeps/i386/fpu/e_log.S: Likewise.
10048 * sysdeps/i386/fpu/e_log10.S: Likewise.
10049 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10050 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10051 * sysdeps/i386/fpu/e_log2.S: Likewise.
10052 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10053 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10054 * sysdeps/i386/fpu/e_logf.S: Likewise.
10055 * sysdeps/i386/fpu/e_logl.S: Likewise.
10056 * sysdeps/i386/fpu/e_pow.S: Likewise.
10057 * sysdeps/i386/fpu/e_powf.S: Likewise.
10058 * sysdeps/i386/fpu/e_powl.S: Likewise.
10059 * sysdeps/i386/fpu/e_remainder.S: Likewise.
10060 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
10061 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
10062 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10063 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10064 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10065 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
10066 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
10067 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
10068 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10069 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10070 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10071 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10072 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10073 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10074 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10075 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10076 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10077 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10078 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10079 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
10080 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10081 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10082 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10083 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10084 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10085 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10086 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10087 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10088 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10089 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
10090 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10091 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10092 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
10093 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
10094 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
10095 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
10096 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
10097 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
10098 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10099 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10100 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10101 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
10102 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
10103 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
10104 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
10105 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
10106 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
10107 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
10108 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
10109 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
10110 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
10111 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
10112 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10113 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
10114 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10115 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
10116 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
10117 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
10118 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10119 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10120 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10121 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10122 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10123 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
10124 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
10125 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
10126 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10127 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
10128 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10129 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
10130 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10131 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10132 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
10133 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
10134 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
10135 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
10136 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
10137 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
10138 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
10139 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
10140 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
10141 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
10142 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
10143 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10144 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
10145 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
10146 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10147 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
10148 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10149 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
10150 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
10151 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10152 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10153 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
10154 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10155 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
10156 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10157 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
10158 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10159 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10160 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10161 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
10162 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10163 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
10164 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
10165 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
10166 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
10167 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
10168 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
10169 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
10170 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
10171 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
10172 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10173 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10174 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10175 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10176 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
10177 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10178 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
10179 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
10180 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
10181 (__isnanf): Likewise.
10182 (__isinf_ns): Likewise.
10183 (__isinf_nsf): Likewise.
10184 (__finite): Likewise.
10185 (__finitef): Likewise.
10186 (__ieee754_sqrt): Define as macro.
10187 (__ieee754_sqrtf): Define as macro.
10188 (__ieee754_sqrtl): Define as macro.
10189 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
10191 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
10192 __FINITE_MATH_ONLY__ consistent.
10193 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
10195 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
10197 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
10200 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
10202 2011-10-09 Ulrich Drepper <drepper@gmail.com>
10204 * po/ja.po: Update from translation team.
10206 2011-10-08 Roland McGrath <roland@hack.frob.com>
10208 * locale/programs/locarchive.c (prepare_address_space): New function.
10209 (create_archive, enlarge_archive, open_archive): Use it.
10211 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
10212 inside [SHARED], where it is used.
10214 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
10216 * nss/getent.c (netgroup_keys): Remove unused variable.
10217 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
10219 2011-10-08 Ulrich Drepper <drepper@gmail.com>
10221 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
10222 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
10223 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
10224 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
10225 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
10226 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
10227 * math/Makefile (libm-calls): Add s_isinf_ns.
10228 * math/divtc3.c: Use __isinf_nsl instead of isinf.
10229 * math/multc3.c: Likewise.
10230 * math/s_casin.c: Likewise.
10231 * math/s_casinf.c: Likewise.
10232 * math/s_casinl.c: Likewise.
10233 * math/s_ccos.c: Likewise.
10234 * math/s_ccosf.c: Likewise.
10235 * math/s_ccosl.c: Likewise.
10236 * math/s_ctan.c: Likewise.
10237 * math/s_ctanf.c: Likewise.
10238 * math/s_ctanh.c: Likewise.
10239 * math/s_ctanhf.c: Likewise.
10240 * math/s_ctanhl.c: Likewise.
10241 * math/s_ctanl.c: Likewise.
10242 * math/w_fmod.c: Likewise.
10243 * math/w_fmodf.c: Likewise.
10244 * math/w_fmodl.c: Likewise.
10245 * math/w_remainder.c: Likewise.
10246 * math/w_remainderf.c: Likewise.
10247 * math/w_remainderl.c: Likewise.
10248 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
10249 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
10250 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
10251 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
10252 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
10253 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
10254 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
10255 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
10257 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
10259 * stdio-common/printf_fphex.c: Likewise.
10260 * stdio-common/printf_size.c: Likewise.
10262 * math/e_exp10.c: Include math_private.h using <...> not "...".
10263 * math/e_exp10f.c: Likewise.
10264 * math/e_exp10l.c: Likewise.
10265 * math/e_exp2l.c: Likewise.
10266 * math/e_j0l.c: Likewise.
10267 * math/e_j1l.c: Likewise.
10268 * math/e_jnl.c: Likewise.
10269 * math/e_lgammal_r.c: Likewise.
10270 * math/e_rem_pio2l.c: Likewise.
10271 * math/e_scalb.c: Likewise.
10272 * math/e_scalbf.c: Likewise.
10273 * math/e_scalbl.c: Likewise.
10274 * math/k_cosl.c: Likewise.
10275 * math/k_sinl.c: Likewise.
10276 * math/k_tanl.c: Likewise.
10277 * math/s_cacoshf.c: Likewise.
10278 * math/s_catan.c: Likewise.
10279 * math/s_catanf.c: Likewise.
10280 * math/s_catanh.c: Likewise.
10281 * math/s_catanhf.c: Likewise.
10282 * math/s_catanhl.c: Likewise.
10283 * math/s_catanl.c: Likewise.
10284 * math/s_ccosh.c: Likewise.
10285 * math/s_ccoshf.c: Likewise.
10286 * math/s_ccoshl.c: Likewise.
10287 * math/s_cexp.c: Likewise.
10288 * math/s_cexpf.c: Likewise.
10289 * math/s_cexpl.c: Likewise.
10290 * math/s_clog.c: Likewise.
10291 * math/s_clog10.c: Likewise.
10292 * math/s_clog10f.c: Likewise.
10293 * math/s_clog10l.c: Likewise.
10294 * math/s_clogf.c: Likewise.
10295 * math/s_clogl.c: Likewise.
10296 * math/s_csin.c: Likewise.
10297 * math/s_csinf.c: Likewise.
10298 * math/s_csinh.c: Likewise.
10299 * math/s_csinhf.c: Likewise.
10300 * math/s_csinhl.c: Likewise.
10301 * math/s_csinl.c: Likewise.
10302 * math/s_csqrt.c: Likewise.
10303 * math/s_csqrtf.c: Likewise.
10304 * math/s_csqrtl.c: Likewise.
10305 * math/s_ctan.c: Likewise.
10306 * math/s_ctanf.c: Likewise.
10307 * math/s_ctanh.c: Likewise.
10308 * math/s_ctanhf.c: Likewise.
10309 * math/s_ctanhl.c: Likewise.
10310 * math/s_ctanl.c: Likewise.
10311 * math/s_ldexp.c: Likewise.
10312 * math/s_ldexpf.c: Likewise.
10313 * math/s_ldexpl.c: Likewise.
10314 * math/s_significand.c: Likewise.
10315 * math/s_significandf.c: Likewise.
10316 * math/s_significandl.c: Likewise.
10317 * math/w_acos.c: Likewise.
10318 * math/w_acosf.c: Likewise.
10319 * math/w_acosh.c: Likewise.
10320 * math/w_acoshf.c: Likewise.
10321 * math/w_acoshl.c: Likewise.
10322 * math/w_acosl.c: Likewise.
10323 * math/w_asin.c: Likewise.
10324 * math/w_asinf.c: Likewise.
10325 * math/w_asinl.c: Likewise.
10326 * math/w_atan2.c: Likewise.
10327 * math/w_atan2f.c: Likewise.
10328 * math/w_atan2l.c: Likewise.
10329 * math/w_atanh.c: Likewise.
10330 * math/w_atanhf.c: Likewise.
10331 * math/w_atanhl.c: Likewise.
10332 * math/w_cosh.c: Likewise.
10333 * math/w_coshf.c: Likewise.
10334 * math/w_coshl.c: Likewise.
10335 * math/w_dremf.c: Likewise.
10336 * math/w_exp10.c: Likewise.
10337 * math/w_exp10f.c: Likewise.
10338 * math/w_exp10l.c: Likewise.
10339 * math/w_exp2.c: Likewise.
10340 * math/w_exp2f.c: Likewise.
10341 * math/w_fmod.c: Likewise.
10342 * math/w_fmodf.c: Likewise.
10343 * math/w_fmodl.c: Likewise.
10344 * math/w_hypot.c: Likewise.
10345 * math/w_hypotf.c: Likewise.
10346 * math/w_hypotl.c: Likewise.
10347 * math/w_j0.c: Likewise.
10348 * math/w_j0f.c: Likewise.
10349 * math/w_j0l.c: Likewise.
10350 * math/w_j1.c: Likewise.
10351 * math/w_j1f.c: Likewise.
10352 * math/w_j1l.c: Likewise.
10353 * math/w_jn.c: Likewise.
10354 * math/w_jnf.c: Likewise.
10355 * math/w_jnl.c: Likewise.
10356 * math/w_lgamma.c: Likewise.
10357 * math/w_lgamma_r.c: Likewise.
10358 * math/w_lgammaf.c: Likewise.
10359 * math/w_lgammaf_r.c: Likewise.
10360 * math/w_lgammal.c: Likewise.
10361 * math/w_lgammal_r.c: Likewise.
10362 * math/w_log.c: Likewise.
10363 * math/w_log10.c: Likewise.
10364 * math/w_log10f.c: Likewise.
10365 * math/w_log10l.c: Likewise.
10366 * math/w_log2.c: Likewise.
10367 * math/w_log2f.c: Likewise.
10368 * math/w_log2l.c: Likewise.
10369 * math/w_logf.c: Likewise.
10370 * math/w_logl.c: Likewise.
10371 * math/w_pow.c: Likewise.
10372 * math/w_powf.c: Likewise.
10373 * math/w_powl.c: Likewise.
10374 * math/w_remainder.c: Likewise.
10375 * math/w_remainderf.c: Likewise.
10376 * math/w_remainderl.c: Likewise.
10377 * math/w_scalb.c: Likewise.
10378 * math/w_scalbf.c: Likewise.
10379 * math/w_scalbl.c: Likewise.
10380 * math/w_sinh.c: Likewise.
10381 * math/w_sinhf.c: Likewise.
10382 * math/w_sinhl.c: Likewise.
10383 * math/w_sqrt.c: Likewise.
10384 * math/w_sqrtf.c: Likewise.
10385 * math/w_sqrtl.c: Likewise.
10386 * math/w_tgamma.c: Likewise.
10387 * math/w_tgammaf.c: Likewise.
10388 * math/w_tgammal.c: Likewise.
10390 * po/ja.po: Update from translation team.
10392 2011-09-29 Andreas Jaeger <aj@suse.de>
10395 * sunrpc/netname.c (netname2host): Fix logic.
10399 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
10401 * math/w_remainder.c (__remainder): Likewise.
10402 * math/w_remainderf.c (__remainderf): Likewise.
10403 * math/libm-test.inc (remainder_test): Add test cases.
10405 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10407 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
10410 2011-10-07 Ulrich Drepper <drepper@gmail.com>
10412 * string/test-memcmp.c: Avoid unncessary #defines.
10413 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
10415 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10417 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
10418 Use new sse2 version for core i3 - i7 as it's faster
10419 than sse42 version.
10420 (bit_Prefer_PMINUB_for_stringop): New.
10421 * sysdeps/x86_64/rawmemchr.S: Update.
10422 Replace with faster SSE2 version.
10423 * sysdeps/x86_64/memrchr.S: New file.
10424 * sysdeps/x86_64/memchr.S: Update.
10425 Replace with faster SSE2 version.
10427 2011-09-12 Marek Polacek <mpolacek@redhat.com>
10429 * elf/dl-load.c (lose): Add cast to avoid warning.
10431 2011-10-07 Ulrich Drepper <drepper@gmail.com>
10433 * po/ca.po: Update from translation team.
10435 * inet/getnetgrent_r.c: Hook up nscd.
10436 * nscd/Makefile (routines): Add nscd_netgroup.
10437 (nscd-modules): Add netgroupcache.
10438 (CFLAGS-netgroupcache.c): Define.
10439 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
10440 (cache_search): Add const to second parameter.
10441 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
10443 (dbs): Add netgrdb entry.
10444 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
10445 (verify_persistent_db): Handle netgrdb.
10446 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
10447 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
10449 (netgroup_response_header): Define.
10450 (innetgroup_response_header): Define.
10451 (datahead): Add netgroup_response_header and innetgroup_response_header
10453 * nscd/nscd.conf: Add entries for netgroup cache.
10454 * nscd/nscd.h (dbtype): Add netgrdb.
10455 (_PATH_NSCD_NETGROUP_DB): Define.
10456 (netgroup_iov_disabled): Declare.
10457 (xmalloc, xcalloc, xrealloc): Move declarations here.
10458 (cache_search): Adjust prototype.
10459 Add netgroup-related prototypes.
10460 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
10461 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
10462 (__nscd_innetgr): Declare.
10463 * nscd/selinux.c (perms): Use access_vector_t as element type and
10464 add netgroup-related initializers.
10465 * nscd/netgroupcache.c: New file.
10466 * nscd/nscd_netgroup.c: New file.
10467 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
10468 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
10469 For four parameters use innetgr.
10470 * nss/nss_files/files-init.c: Add definition and callback for netgr.
10471 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
10472 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
10473 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
10475 * nscd/connections.c (register_traced_file): Don't register file
10476 for disabled databases.
10478 2011-10-06 Ulrich Drepper <drepper@gmail.com>
10480 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
10482 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
10483 from tree and freeing node.
10485 2011-09-25 Jiri Olsa <jolsa@redhat.com>
10487 * nss/nsswitch.c (__nss_database_lookup): Handle
10488 nss_parse_service_list out of memory case.
10490 2011-09-15 Jiri Olsa <jolsa@redhat.com>
10492 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
10493 out of memory case.
10495 2011-10-04 Andreas Schwab <schwab@redhat.com>
10497 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
10498 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
10500 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
10501 elf_machine_rela, elf_machine_lazy_rel.
10502 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
10503 (ELF_DYNAMIC_DO_REL): Likewise.
10504 (ELF_DYNAMIC_DO_RELA): Likewise.
10505 (ELF_DYNAMIC_RELOCATE): Likewise.
10506 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
10507 to ELF_DYNAMIC_DO_REL.
10508 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
10509 (dl_main): In trace mode always set __RTLD_NOIFUNC.
10510 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
10512 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
10513 skip_ifunc, don't call ifunc function if non-zero.
10514 (elf_machine_rela): Likewise.
10515 (elf_machine_lazy_rel): Likewise.
10516 (elf_machine_lazy_rela): Likewise.
10517 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
10518 (elf_machine_lazy_rel): Likewise.
10519 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
10521 (elf_machine_lazy_rel): Likewise.
10522 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10524 (elf_machine_lazy_rel): Likewise.
10525 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
10526 (elf_machine_lazy_rel): Likewise.
10527 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
10528 (elf_machine_lazy_rel): Likewise.
10529 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10530 (elf_machine_lazy_rel): Likewise.
10531 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
10532 (elf_machine_lazy_rel): Likewise.
10533 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
10534 (elf_machine_lazy_rel): Likewise.
10535 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
10536 (elf_machine_lazy_rel): Likewise.
10538 2011-09-28 Ulrich Drepper <drepper@gmail.com>
10540 * nss/nss_files/files-init.c (_nss_files_init): Use static
10541 initialization for all the *_traced_file variables.
10543 2011-09-28 Andreas Schwab <schwab@redhat.com>
10545 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10547 2011-09-27 Roland McGrath <roland@hack.frob.com>
10550 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
10552 2011-09-27 Andreas Schwab <schwab@redhat.com>
10554 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10555 Reread the line before reparsing it.
10557 2011-09-26 Andreas Schwab <schwab@redhat.com>
10559 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
10561 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
10562 Maxim Kuvyrkov <maxim@codesourcery.com>
10563 Joseph Myers <joseph@codesourcery.com>
10565 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
10566 if needed for __stack_chk_guard.
10568 2011-09-19 Roland McGrath <roland@hack.frob.com>
10570 * sysdeps/posix/spawni.c (script_execute): Always define it.
10571 It will be optimized away if unused.
10572 (maybe_script_execute): New function.
10573 (__spawni): Call it.
10575 * Makerules: Don't include tls.make.
10576 (config-tls): Always set to thread.
10577 * tls.make.c: File removed.
10579 2011-09-19 Mike Frysinger <vapier@gentoo.org>
10581 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
10582 * config.make.in (CPPFLAGS-config): New substituted variable.
10584 2011-09-15 Ulrich Drepper <drepper@gmail.com>
10586 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
10589 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
10590 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
10592 2011-09-15 Roland McGrath <roland@hack.frob.com>
10594 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
10595 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
10596 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
10597 (CALL_FAIL): Likewise.
10598 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
10599 (CALL_FAIL): Macro removed.
10600 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
10602 2011-09-15 Ulrich Drepper <drepper@gmail.com>
10604 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
10605 for __FINITE_MATH_ONLY__ == 1.
10607 2011-09-15 Andreas Schwab <schwab@redhat.com>
10609 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
10610 __ieee754_sqrt instead of sqrt.
10611 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
10612 __ieee754_sqrtf instead of sqrtf.
10613 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
10614 __floorf instead of floorf.
10615 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
10616 __floorf, __truncf instead of floorf, truncf.
10618 2011-09-14 Ulrich Drepper <drepper@gmail.com>
10620 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
10622 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
10623 __extern_always_inline.
10624 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
10627 2011-09-14 Andreas Schwab <schwab@redhat.com>
10629 * elf/rtld.c (dl_main): Also relocate in dependency order when
10630 doing symbol dependency testing.
10632 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
10634 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10635 Always define `refsym'.
10637 2011-09-13 Andreas Schwab <schwab@redhat.com>
10639 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
10640 (__FD_ELT): Renamed from __FDELT.
10641 * misc/bits/select2.h (__FD_ELT): Likewise.
10642 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
10643 __FD_MASK instead of __FDELT, __FDMASK.
10644 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
10646 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
10649 * elf/Makefile (gen-ldd): Fix pattern.
10651 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
10652 (init_tls): Likewise.
10654 2011-09-12 Ulrich Drepper <drepper@gmail.com>
10656 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
10658 2011-09-12 Andreas Schwab <schwab@redhat.com>
10660 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
10661 `struct cmsghdr *' instead of `void *'.
10662 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
10665 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
10667 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
10669 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
10670 ldd_rewrite_script.
10672 2011-09-11 Ulrich Drepper <drepper@gmail.com>
10674 * configure.in: Remove --with-tls option.
10675 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
10676 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
10677 out in case it is missing.
10678 * sysdeps/ia64/elf/configure.in: Likewise.
10679 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
10680 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
10681 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
10682 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
10683 * sysdeps/sh/elf/configure.in: Likewise.
10684 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
10685 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
10686 * sysdeps/x86_64/elf/configure.in: Likewise.
10687 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
10688 * sysdeps/mach/hurd/tls.h: Likewise.
10691 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
10694 * configure.in: Fix use of AC_INIT.
10696 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
10698 2011-09-10 Ulrich Drepper <drepper@gmail.com>
10700 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
10702 * malloc/hooks.c: Likewise.
10705 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
10706 variables statically.
10707 (narenas): Initialize.
10708 (list_lock): Initialize.
10709 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
10710 initializtion of main_arena and list_lock. Small cleanups.
10711 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
10712 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
10713 Add initializers to main_arena and mp_.
10714 (malloc_state): Remove pagesize member. Change all users to use
10717 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
10718 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
10719 is always initialized.
10721 * malloc/malloc.c: Removed unused configurations and dead code.
10722 * malloc/arena.c: Likewise.
10723 * malloc/hooks.c: Likewise.
10724 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
10726 * include/tls.h: Removed. USE___THREAD must always be defined.
10727 * bits/libc-tsd.h: Don't handle !USE___THREAD.
10728 * elf/dl-libc.c: Likewise.
10729 * elf/dl-tsd.c: Likewise.
10730 * include/errno.h: Likewise.
10731 * include/netdb.h: Likewise.
10732 * include/resolv.h: Likewise.
10733 * inet/herrno-loc.c: Likewise.
10734 * inet/herrno.c: Likewise.
10735 * malloc/arena.c: Likewise.
10736 * malloc/hooks.c: Likewise.
10737 * malloc/malloc.c: Likewise.
10738 * resolv/res-state.c: Likewise.
10739 * resolv/res_libc.c: Likewise.
10740 * sysdeps/i386/dl-machine.h: Likewise.
10741 * sysdeps/ia64/dl-machine.h: Likewise.
10742 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
10743 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10744 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
10745 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10746 * sysdeps/sh/dl-machine.h: Likewise.
10747 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10748 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10749 * sysdeps/unix/i386/sysdep.S: Likewise.
10750 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10751 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
10752 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
10753 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10754 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
10755 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10756 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10757 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10758 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10759 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10760 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10761 * sysdeps/x86_64/dl-machine.h: Likewise.
10762 * tls.make.c: Likewise.
10764 * configure.in: Remove --with-__thread option. Make tests for
10765 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
10766 tls_model attribute fail if no support is available. Remove
10768 * Makeconfig: Adjust for dropped configure option. All features are
10770 * Makerules: Likewise.
10771 * Versions.def: Likewise.
10772 * argp/argp-fmtstream.c: Likewise.
10773 * argp/argp-fmtstream.h: Likewise.
10774 * argp/argp-help.c: Likewise.
10775 * assert/assert.c: Likewise.
10776 * config.h.in: Likewise.
10777 * config.make.in: Likewise.
10778 * configure: Likewise.
10779 * configure.in: Likewise.
10780 * csu/Versions: Likewise.
10781 * csu/init.c: Likewise.
10782 * elf/tst-audit2.c: Likewise.
10783 * elf/tst-tls10.c: Likewise.
10784 * elf/tst-tls10.h: Likewise.
10785 * elf/tst-tls11.c: Likewise.
10786 * elf/tst-tls12.c: Likewise.
10787 * elf/tst-tls14.c: Likewise.
10788 * elf/tst-tlsmod11.c: Likewise.
10789 * elf/tst-tlsmod12.c: Likewise.
10790 * elf/tst-tlsmod13.c: Likewise.
10791 * elf/tst-tlsmod13a.c: Likewise.
10792 * elf/tst-tlsmod14a.c: Likewise.
10793 * elf/tst-tlsmod15b.c: Likewise.
10794 * elf/tst-tlsmod16a.c: Likewise.
10795 * elf/tst-tlsmod16b.c: Likewise.
10796 * elf/tst-tlsmod7.c: Likewise.
10797 * elf/tst-tlsmod8.c: Likewise.
10798 * elf/tst-tlsmod9.c: Likewise.
10799 * gmon/gmon.c: Likewise.
10800 * grp/fgetgrent_r.c: Likewise.
10801 * grp/putgrent.c: Likewise.
10802 * hurd/fopenport.c: Likewise.
10803 * include/libc-symbols.h: Likewise.
10804 * include/tls.h: Likewise.
10805 * intl/gettextP.h: Likewise.
10806 * intl/loadinfo.h: Likewise.
10807 * locale/global-locale.c: Likewise.
10808 * locale/localeinfo.h: Likewise.
10809 * mach/devstream.c: Likewise.
10810 * malloc/arena.c: Likewise.
10811 * malloc/set-freeres.c: Likewise.
10812 * misc/err.c: Likewise.
10813 * misc/getttyent.c: Likewise.
10814 * misc/mntent_r.c: Likewise.
10815 * posix/getopt.c: Likewise.
10816 * posix/wordexp.c: Likewise.
10817 * pwd/fgetpwent_r.c: Likewise.
10818 * resolv/Versions: Likewise.
10819 * resolv/res_hconf.c: Likewise.
10820 * shadow/fgetspent_r.c: Likewise.
10821 * shadow/putspent.c: Likewise.
10822 * stdio-common/printf_fphex.c: Likewise.
10823 * stdio-common/tmpfile.c: Likewise.
10824 * stdlib/abort.c: Likewise.
10825 * stdlib/fmtmsg.c: Likewise.
10826 * sunrpc/auth_unix.c: Likewise.
10827 * sunrpc/clnt_perr.c: Likewise.
10828 * sunrpc/clnt_tcp.c: Likewise.
10829 * sunrpc/clnt_udp.c: Likewise.
10830 * sunrpc/clnt_unix.c: Likewise.
10831 * sunrpc/openchild.c: Likewise.
10832 * sunrpc/svc_simple.c: Likewise.
10833 * sunrpc/svc_tcp.c: Likewise.
10834 * sunrpc/svc_udp.c: Likewise.
10835 * sunrpc/svc_unix.c: Likewise.
10836 * sunrpc/xdr.c: Likewise.
10837 * sunrpc/xdr_array.c: Likewise.
10838 * sunrpc/xdr_rec.c: Likewise.
10839 * sunrpc/xdr_ref.c: Likewise.
10840 * sunrpc/xdr_stdio.c: Likewise.
10842 2011-09-09 Ulrich Drepper <drepper@gmail.com>
10844 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10846 2011-07-03 Andreas Jaeger <aj@suse.de>
10848 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
10849 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
10850 regenerate with gen-libm-tests.pl.
10852 2010-05-12 Petr Baudis <pasky@suse.cz>
10855 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
10856 around j0() zero points by switching to j1().
10857 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10858 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10859 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10860 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10862 2011-09-09 Ulrich Drepper <drepper@gmail.com>
10864 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
10866 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
10868 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10869 Patch in part by Pavel Roskin <proski@gnu.org>.
10872 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
10874 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
10875 Free memory block if necessary.
10878 * libio/genops.c (INTDEF): For string streams the _lock pointer can
10879 be NULL. Don't lock in this case.
10881 2011-09-09 Roland McGrath <roland@hack.frob.com>
10883 * elf/elf.h (ELFOSABI_GNU): New macro.
10884 (ELFOSABI_LINUX): Define to that.
10886 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
10888 * string/strncat.c (strncat): Undef the symbol in case it has been
10889 defined in bits/string.h.
10891 2011-09-09 Ulrich Drepper <drepper@gmail.com>
10893 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
10895 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
10898 2011-08-17 Andreas Jaeger <aj@suse.de>
10900 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
10902 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
10903 Ian Lance Taylor <iant@google.com>
10905 * math/libm-test.inc (lround_test): New testcase.
10906 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
10908 2011-09-08 Ulrich Drepper <drepper@gmail.com>
10910 * Makefile: Remove support for automatic cvs check-ins.
10911 * Makerules: Likewise.
10912 * config.make.in: Likewise.
10913 * configure.in: Likewise.
10914 * intl/Makefile: Likewise.
10915 * locale/Makefile: Likewise.
10916 * po/Makefile: Likewise.
10917 * posix/Makefile: Likewise.
10918 * sysdeps/gnu/Makefile: Likewise.
10919 * sysdeps/mach/hurd/Makefile: Likewise.
10920 * sysdeps/sparc/sparc32/Makefile: Likewise.
10923 * posix/Makefile (bug-regex32-ENV): Define.
10924 Patch by John Stanley <jpsinthemix@verizon.net>.
10926 * misc/Makefile (headers): Add bits/select2.h.
10927 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
10928 * misc/bits/select2.h: New file.
10929 * include/bits/select2.h: New file.
10930 * debug/Makefile (routines): Add fdelt_chk.
10931 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
10932 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
10934 * debug/fdelt_chk.c: New file.
10936 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
10937 * wcsmbs/test-wmemcmp.c: Likewise.
10938 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
10939 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
10941 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10943 * string/Makefile (strop-tests): Add memcmp.
10944 * string/test-wmemcmp.c: New file.
10945 * string/test-memcmp.c: Add wmemcmp support.
10947 2011-09-08 Roland McGrath <roland@hack.frob.com>
10950 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
10953 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
10954 garbage value in a __mach_port_mod_refs call in the cases of the
10955 task-self and thread-self ports.
10957 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
10959 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
10961 2011-09-08 Andreas Schwab <schwab@redhat.com>
10963 * elf/dl-load.c (lose): Check for non-null L.
10965 2011-09-07 Ulrich Drepper <drepper@gmail.com>
10967 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
10969 * elf/dl-libc.c (dlerror_run): Pass back error code from
10973 * elf/dl-load.c (lose): Free l_origin if it is valid.
10975 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
10977 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
10978 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10979 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10980 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10981 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
10982 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
10984 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10986 * sysdeps/powerpc/fpu/e_hypot.c: New file.
10987 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
10988 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
10989 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
10990 * sysdeps/powerpc/fpu/k_cosf.c: New file.
10991 * sysdeps/powerpc/fpu/k_sinf.c: New file.
10992 * sysdeps/powerpc/fpu/s_cosf.c: New file.
10993 * sysdeps/powerpc/fpu/s_sinf.c: New file.
10994 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
10995 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
10997 2011-08-15 Alan Modra <amodra@gmail.com>
11000 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
11001 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
11002 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
11003 ppc_mcount to static-only-routines.
11004 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
11006 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
11007 __mcount_internal with usual JUMPTARGET. Remove useless nop.
11009 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
11011 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
11012 for finite and infinity parameters.
11014 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
11016 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
11017 and add nop instructions for throughput optimization.
11018 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11020 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
11022 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
11023 aligned copy for power7 with vector-scalar instructions.
11024 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
11026 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
11028 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
11031 2011-09-07 Andreas Schwab <schwab@redhat.com>
11034 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
11037 2011-09-07 Ulrich Drepper <drepper@gmail.com>
11039 * sysdeps/unix/sysv/linux/x86_64/init-first.c
11040 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
11041 syscall wrapper around clock_gettime in __vdso_clock_gettime.
11042 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
11045 2011-09-06 Ulrich Drepper <drepper@gmail.com>
11047 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
11048 Forgot to demangle the pointer.
11050 * sysdeps/i386/sysdep.h: Define atom_text_section.
11051 * sysdeps/x86_64/sysdep.h: Likewise.
11052 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
11053 section with atom_text_section.
11054 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
11055 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
11056 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
11057 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
11058 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
11060 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
11061 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
11062 already be defined. Change to take two parameters and don't assign
11063 result to variable. Adjust all users.
11064 Define INTERNAL_GETTIME if not already defined.
11065 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
11067 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
11068 HAVE_CLOCK_GETTIME_VSYSCALL.
11069 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
11071 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
11072 gettimeofday vsyscall, just use time.
11074 2011-09-06 Andreas Schwab <schwab@redhat.com>
11076 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
11079 2011-09-06 Ulrich Drepper <drepper@gmail.com>
11081 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
11083 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
11085 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
11086 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
11087 syscall if possible.
11089 2011-09-05 Ulrich Drepper <drepper@gmail.com>
11091 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
11092 e_ident. Don't pass to find_mapsXX.
11093 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
11095 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11097 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11098 strchr-sse2-no-bsf strrchr-sse2-no-bsf
11099 * sysdeps/x86_64/multiarch/strchr.S: Update.
11100 Check bit_slow_BSF bit.
11101 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11102 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
11103 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
11105 2011-09-05 Ulrich Drepper <drepper@gmail.com>
11108 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
11110 (tryshell): Define.
11111 (__spawni): Change last parameter to be flag. Test
11112 SPAWN_XFLAGS_USE_PATH flag to use path or not.
11113 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
11114 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
11115 * posix/spawni.c: Likewise.
11116 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
11117 * posix/spawnp.c: Likewise. Change normal version to use
11118 SPAWN_XFLAGS_USE_PATH.
11119 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
11120 SPAWN_XFLAGS_TRY_SHELL.
11123 * posix/glob.h: Remove gcc 1.x support.
11126 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
11128 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11130 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11131 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
11133 * sysdeps/i386/i686/multiarch/strchr.S: New file.
11134 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
11135 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
11136 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
11137 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
11138 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
11140 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11142 * sysdeps/x86_64/wcscmp.S: New file.
11144 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
11145 wcscmp-c wcscmp-sse2
11146 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
11147 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
11148 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
11149 * wcsmbs/wcscmp.c: Allow renaming.
11151 2011-09-05 David S. Miller <davem@davemloft.net>
11153 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
11154 stack slot, rather than the struct return pointer slot.
11155 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
11156 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
11157 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
11158 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
11160 2011-09-05 Ulrich Drepper <drepper@gmail.com>
11162 * po/ja.po: Update from translation team.
11165 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
11166 kernel in 64-bit binaries.
11168 2011-09-01 David S. Miller <davem@davemloft.net>
11170 * elf/elf.h (HWCAP_SPARC_*): Move to..
11171 * sysdeps/sparc/sysdep.h: this new file and add new values.
11172 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
11173 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
11174 _DL_HWCAP_COUNT to 24.
11175 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
11177 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
11178 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
11179 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
11180 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
11181 instead of magic constants.
11182 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11184 2011-08-31 David S. Miller <davem@davemloft.net>
11186 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
11187 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
11188 Reimplement to do errno handling inline.
11189 (SYSCALL_ERROR_HANDLER): New macro.
11190 (__SYSCALL_STRING): Do not do errno handling in asm.
11191 (__CLONE_SYSCALL_STRING): Delete.
11192 (__INTERNAL_SYSCALL_STRING): Delete.
11193 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
11194 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
11195 (PSEUDO): Reimplement to do errno handling inline.
11196 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
11197 (SYSCALL_ERROR_HANDLER): New macro.
11198 (__SYSCALL_STRING): Do not do errno handling in asm.
11199 (__CLONE_SYSCALL_STRING): Delete.
11200 (__INTERNAL_SYSCALL_STRING): Delete.
11201 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
11202 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
11204 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
11205 (inline_syscall*): Add 'err' argument.
11206 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
11207 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
11208 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
11209 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
11211 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
11212 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
11214 2011-08-30 Andreas Schwab <schwab@redhat.com>
11216 * elf/rtld.c (dl_main): Relocate objects in dependency order.
11218 2011-08-29 Jiri Olsa <jolsa@redhat.com>
11220 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
11223 2011-08-24 David S. Miller <davem@davemloft.net>
11225 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
11227 2011-08-24 Andreas Schwab <schwab@redhat.com>
11229 * elf/Makefile: Add rules to build and run unload8 test.
11230 * elf/unload8.c: New file.
11231 * elf/unload8mod1.c: New file.
11232 * elf/unload8mod1x.c: New file.
11233 * elf/unload8mod2.c: New file.
11234 * elf/unload8mod3.c: New file.
11236 * elf/dl-close.c (_dl_close_worker): Reset private search list if
11239 2011-08-23 David S. Miller <davem@davemloft.net>
11241 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
11242 subtract stack bias.
11243 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
11244 %sp not %fp in calculations.
11245 (_JMPBUF_UNWINDS_ADJ): Likewise.
11247 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
11248 (aio_suspend): Call it to force an exception region around the
11249 AIO_MISC_WAIT() invocation.
11251 2011-08-23 Andreas Schwab <schwab@redhat.com>
11253 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
11256 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
11258 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
11260 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
11261 and <dl-machine.h>.
11262 (Elf64_FuncDesc): Remove.
11264 2011-08-22 David S. Miller <davem@davemloft.net>
11266 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
11267 sigaltstack check, add missing cfi directives.
11268 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
11269 missing cfi directives, and sigaltstack handling.
11271 2011-08-16 Andreas Schwab <schwab@redhat.com>
11274 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
11275 object is seen twice.
11276 * elf/dl-fini.c (_dl_sort_fini): Likewise.
11278 * elf/Makefile (distribute): Add tst-initorder2.c.
11279 (tests): Add tst-initorder2.
11280 (modules-names): Add tst-initorder2a tst-initorder2b
11281 tst-initorder2c tst-initorder2d. Add rules to build them.
11282 ($(objpfx)tst-initorder2.out): New rule.
11283 * elf/tst-initorder2.c: New file.
11284 * elf/tst-initorder2.exp: New file.
11286 2011-08-22 Andreas Schwab <schwab@redhat.com>
11288 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
11290 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
11291 dependencies back to end of function.
11293 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
11294 $(elfobjdir)/ld.so.
11296 2011-08-21 Ulrich Drepper <drepper@gmail.com>
11298 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
11299 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
11300 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
11301 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
11302 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
11303 of __vdso_gettimeofday.
11304 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
11305 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
11307 (_libc_vdso_platform_setup): Remove initialization of
11308 __vdso_gettimeofday and __vdso_time.
11310 2011-08-20 Ulrich Drepper <drepper@gmail.com>
11312 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
11313 and fgetc_unlocked.
11314 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
11317 * elf/dl-open.c (add_to_global): Report additions to the global scope
11318 for LD_DEBUG=scopes.
11319 (dl_open_worker): Also print scope of newly loaded dependencies.
11320 (_dl_show_scope): Indicate if there is no scope.
11323 * stdio-common/Makefile (tests): Add bug24.
11324 * stdio-common/bug24.c: New file.
11326 2011-08-19 Andreas Jaeger <aj@suse.de>
11329 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
11330 non-existant file when using close-on-exec mode.
11332 2011-08-20 Ulrich Drepper <drepper@gmail.com>
11334 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
11335 the very first instruction.
11337 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
11338 the CFI state in the end.
11339 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
11340 inclusion of dl-trampoline.h.
11341 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
11343 2011-08-19 Andreas Schwab <schwab@redhat.com>
11345 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
11346 expectations for long double.
11348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
11349 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
11351 2011-08-14 David S. Miller <davem@davemloft.net>
11353 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
11354 artificual limit depends upon the system page size.
11356 2011-08-17 Ulrich Drepper <drepper@gmail.com>
11358 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
11359 * resolv/Makefile: Define CFLAGS-libresolv.
11361 2011-08-17 Andreas Schwab <schwab@redhat.com>
11363 * nss/makedb.c (compute_tables): Make variables used in nested
11366 2011-08-17 Ulrich Drepper <drepper@gmail.com>
11368 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
11369 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
11370 if buffer was too small.
11372 * elf/pldd.c (main): Attach to all threads in the process.
11373 Rewrite /proc handling to use *at functions.
11375 2011-08-16 Ulrich Drepper <drepper@gmail.com>
11377 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
11378 specifies first scope to show.
11379 (dl_open_worker): Update callers. Move printing scope of new
11380 object to before the relocation.
11381 * elf/rtld.c (dl_main): Update _dl_show_scope call.
11382 * sysdeps/generic/ldsodefs.h: Update declaration.
11384 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
11385 string for the scope number.
11387 2011-08-14 Ulrich Drepper <drepper@gmail.com>
11389 * nscd/servicescache.c (cache_addserv): Make sure written is always
11392 2011-08-14 Roland McGrath <roland@hack.frob.com>
11394 * sysdeps/i386/i486/bits/atomic.h
11395 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
11396 statement expression, so as to suppress "set but not used" warning.
11397 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
11399 * string/strncat.c (STRNCAT): Use prototype definition.
11401 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
11402 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
11404 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
11405 (localedef-modules): Add localedef.
11406 (locale-modules): Add locale.
11408 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
11409 * elf/rtld.c (dl_main): Invert order of assignment in last change,
11410 to avoid a warning.
11412 2011-08-14 David S. Miller <davem@davemloft.net>
11414 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
11415 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
11417 2011-08-13 Ulrich Drepper <drepper@gmail.com>
11419 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
11420 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
11421 * elf/rtld.c (dl_main): Set l_name of vDSO.
11422 Call _dl_show_scope when DL_DEBUG_SCOPES.
11423 (process_dl_debug): Recognize scopes flag and also set it for all.
11424 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
11425 Declare _dl_show_scope.
11427 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
11428 (do_dlopen): Pass caller_dlopen to dl_open.
11429 (__libc_dlopen_mode): Initialize caller_dlopen.
11431 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
11432 of libc. Make tolower call locale-independent. Optimize a bit by
11433 using isdigit instead of isalnum.
11434 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
11436 2011-08-12 Ulrich Drepper <drepper@gmail.com>
11438 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
11439 was a dependency or dynamically loaded.
11441 2011-08-11 Ulrich Drepper <drepper@gmail.com>
11443 * intl/l10nflist.c: Allow architecture-specific pop function.
11444 * sysdeps/x86_64/l10nflist.c: New file.
11446 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
11449 2011-08-10 Andreas Schwab <schwab@redhat.com>
11451 * include/dirent.h: Add libc_hidden_proto for scandirat and
11452 scandirat64. Don't declare __scandirat64.
11453 * dirent/scandirat.c: Add libc_hidden_def.
11454 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
11455 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
11457 2011-08-10 David S. Miller <davem@davemloft.net>
11459 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
11461 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11462 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11463 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11465 2011-08-09 Ulrich Drepper <drepper@gmail.com>
11467 * Versions.def [libc]: Add GLIBC_2.15.
11468 * dirent/Makefile (routines): Add scandirat and scandirat64.
11469 * dirent/Versions [libc]: Export scandirat and scandirat64 for
11471 * dirent/dirent.h: Declare scandirat and scandirat64.
11472 * dirent/scandirat.c: New file.
11473 * dirent/scandirat64.c: New file.
11474 * sysdeps/wordsize-64/scandirat.c: New file.
11475 * sysdeps/wordsize-64/scandirat64.c: New file.
11476 * dirent/opendir.c: Define opendirat.
11477 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
11479 * dirent/scandir64.c: Adjust for scandir.c change.
11480 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
11481 __scandirat64, and __scandir_cancel_handler.
11482 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
11483 additional parameter and use openat instead of open (outside of ld.so).
11484 Add new __opendir as wrapper around __opendirat.
11485 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
11486 here without requiring old scandirat implementation.
11488 2011-08-08 Ulrich Drepper <drepper@gmail.com>
11490 * dirent/scandir.c (cancel_handler): Renamed to
11491 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
11492 defined. Adjust users.
11493 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
11494 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
11496 2011-08-04 Ulrich Drepper <drepper@gmail.com>
11498 * string/test-string.h (IMPL): Use __STRING to expand name and then
11501 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
11504 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11506 * string/Makefile: Update.
11507 (strop-tests): Append strncat.
11508 * string/test-wcscmp.c: New file.
11509 New comprehensive test for wcscmp.
11510 * string/test-strcmp.c: Update.
11511 (WIDE): New define.
11513 2011-07-22 Andreas Schwab <schwab@redhat.com>
11515 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
11518 2011-07-26 Andreas Schwab <schwab@redhat.com>
11520 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
11521 encoding to ACE if AI_IDN.
11523 2011-08-01 Jakub Jelinek <jakub@redhat.com>
11525 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
11526 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
11528 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11530 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
11531 Fix overflow bug in strncat.
11532 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
11534 * string/test-strncat.c: Update.
11535 Add new tests for checking overflow bugs.
11537 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11539 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11540 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
11541 * sysdeps/i386/i686/multiarch/strcat.S: New file.
11542 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
11543 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
11544 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
11545 * sysdeps/i386/i686/multiarch/strncat.S: New file.
11546 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
11547 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
11549 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
11550 (USE_AS_STRCAT): Define.
11551 Add strcat and strncat support.
11552 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
11554 2011-07-25 Andreas Schwab <schwab@redhat.com>
11556 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
11557 __n bigger than INT_MAX+1.
11558 (__strncmp_g): Likewise.
11560 2011-07-23 Ulrich Drepper <drepper@gmail.com>
11562 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
11563 * libio/stido.h: Likewise.
11565 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
11567 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
11570 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
11571 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11572 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11573 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
11574 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11577 * scripts/test-installation.pl: Don't expect libnss_test1 to be
11580 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
11582 (_dl_x86_64_save_sse): Likewise.
11584 2011-07-22 Ulrich Drepper <drepper@gmail.com>
11586 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
11588 (_dl_x86_64_save_sse): Likewise.
11590 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
11592 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
11594 2011-07-21 Andreas Schwab <schwab@redhat.com>
11596 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
11598 (_dl_x86_64_save_sse): Use correct AVX check.
11600 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11602 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
11603 bug in strncpy/strncat.
11604 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
11606 2011-07-21 Ulrich Drepper <drepper@gmail.com>
11608 * string/tester.c (test_strcat): Add tests for different alignments
11609 of source and destination.
11610 (test_strncat): Likewise.
11612 2011-07-20 Ulrich Drepper <drepper@gmail.com>
11615 * posix/glob.c (glob): Check passed in values before using them in
11616 expressions to avoid some overflows.
11617 (glob_in_dir): Likewise.
11620 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
11621 check for AVX enablement so that we don't crash with old kernels and
11623 * elf/tst-audit4.c: Add same checks here.
11624 * elf/tst-audit6.c: Likewise.
11626 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
11628 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
11630 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
11632 2011-07-20 Ulrich Drepper <drepper@gmail.com>
11634 * po/cs.po: Update from translation team.
11635 * po/bg.po: Likewise.
11637 2011-07-12 Marek Polacek <mpolacek@redhat.com>
11639 * misc/sys/cdefs.h: Add support for const attribute.
11640 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
11641 to gnu_dev_{major,minor,makedev} functions.
11643 2011-07-20 Marek Polacek <mpolacek@redhat.com>
11645 * intl/dcigettext.c (get_output_charset): Add missing bracket.
11647 2011-07-20 Andreas Schwab <schwab@redhat.com>
11649 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
11652 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11654 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
11655 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
11656 register in order to avoid conflicts with the soft frame pointer
11657 being held in r11 when necessary.
11658 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
11659 (INTERNAL_VSYSCALL_NCS): Likewise.
11661 2011-07-14 Marek Polacek <mpolacek@redhat.com>
11663 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
11664 * elf/dl-fini.c (_dl_fini): Adjust caller.
11665 * elf/dl-close.c (_dl_close_worker): Likewise.
11666 * sysdeps/generic/ldsodefs.h: Adjust declaration.
11668 2011-07-15 Marek Polacek <mpolacek@redhat.com>
11670 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
11671 "aux_cache->nlibs < 0".
11673 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
11674 in the reload-count case.
11676 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11678 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11679 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
11680 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
11681 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
11682 * sysdeps/x86_64/multiarch/strcat.S: New file.
11683 * sysdeps/x86_64/multiarch/strncat.S: New file.
11684 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
11685 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
11686 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
11687 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
11688 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
11689 (USE_AS_STRCAT): Define.
11690 Add strcat and strncat support.
11691 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
11692 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11693 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
11694 * string/strncat.c: Update.
11695 (USE_AS_STRNCAT): Define.
11696 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11697 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
11699 * sysdeps/x86_64/multiarch/init-arch.h
11700 (bit_Prefer_PMINUB_for_stringop): New.
11701 (index_Prefer_PMINUB_for_stringop): Likewise.
11702 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
11703 bit_Prefer_PMINUB_for_stringop.
11705 2011-07-19 Ulrich Drepper <drepper@gmail.com>
11707 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
11709 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
11710 of casting of buffer.
11711 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
11712 buffer32 and buffer64.
11713 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
11714 writes instead of casting of buffer.
11715 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
11717 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
11720 2011-07-19 Andreas Schwab <schwab@redhat.com>
11722 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
11724 2011-07-19 Ulrich Drepper <drepper@gmail.com>
11726 * nscd/nscd.c (termination_handler): Don't do anything for a database
11727 if it has not yet been initialized.
11729 2011-07-18 Ulrich Drepper <drepper@gmail.com>
11731 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
11733 2011-07-15 Marek Polacek <mpolacek@redhat.com>
11735 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
11737 2011-07-18 Ulrich Drepper <drepper@gmail.com>
11739 * po/nl.po: Update from translation team.
11740 * po/sv.po: Likewise.
11742 2011-07-16 Roland McGrath <roland@hack.frob.com>
11744 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
11745 now disallowed by GCC.
11747 * configure.in (use-default-link): Default to yes if a test -shared
11748 link meets our qualifications.
11749 * configure: Regenerated.
11751 * config.make.in (output-format): New variable.
11752 * configure.in: Check for ld --print-output-format support.
11753 * configure: Regenerated.
11754 * Makerules ($(common-objpfx)format.lds)
11755 [$(output-format) != unknown]: Just use $(output-format),
11756 instead of the linker-script munging.
11758 2011-07-14 Roland McGrath <roland@hack.frob.com>
11760 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
11761 of $(common-objpfx)shlib.lds.
11762 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
11764 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
11765 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
11767 * configure.in (-z relro check): Adjust test code to add a large
11768 writable data section after it.
11769 * configure: Regenerated.
11771 2011-07-11 Roland McGrath <roland@hack.frob.com>
11773 * configure.in (-z relro check): Fix test code to make the variable
11775 * configure: Regenerated.
11777 2011-07-11 Ulrich Drepper <drepper@gmail.com>
11779 * nscd/nscd.h (struct traced_file): Define.
11780 (struct database_dyn): Remove inotify_descr, reset_res, and filename
11781 elements. Add traced_files.
11782 (inotify_fd): Declare.
11783 (register_traced_file): Declare.
11784 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
11785 (inotify_fd): Export.
11786 (resolv_conf_descr): Remove.
11787 (nscd_init): Move inotify descriptor creation to main.
11788 Don't register files for notification here.
11789 (register_traced_file): New function.
11790 (invalidate_cache): Don't use reset_res to determine whether to call
11791 res_init, go through the list of registered files.
11792 (main_loop_poll): The inotify descriptors are now stored in the
11793 structures for the traced files.
11794 (main_loop_epoll): Likewise
11795 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
11796 to __nss_disable_nscd.
11797 * nscd/cache.c (prune_cache): There is no single inotify descriptor
11798 for a database anymore. Check the records for all the registered
11800 * nss/Makefile (libnss_files-routines): Add files-init.
11801 (libnss_db-routines): Add db-init.
11802 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
11803 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
11804 * nss/nss_db/db-init.c: New file.
11805 * nss/nss_files/files-init.c: New file.
11806 * nss/nsswitch.c (nss_load_library): New function. Broken out of
11807 __nss_lookup_function.
11808 (__nss_lookup_function): Call nss_load_library.
11809 (nss_load_all_libraries): New function.
11810 (__nss_disable_nscd): Take parameter with callback function for files
11811 to register. Set is_nscd. Load all the DSOs for the NSS modules
11812 used for the cached services.
11813 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
11814 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
11815 options for features to all the files in nscd.
11817 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
11819 2011-07-10 Roland McGrath <roland@hack.frob.com>
11821 * csu/elf-init.c (__libc_csu_init): Comment typo.
11823 2011-07-09 Ulrich Drepper <drepper@gmail.com>
11825 * po/pl.po: Update from translation team.
11826 * po/ja.po: Likewise.
11827 * po/ru.po: Likewise.
11828 * po/ko.po: Likewise.
11829 * po/fr.po: Likewise.
11831 2011-07-09 Roland McGrath <roland@hack.frob.com>
11833 * configure.in (.ctors/.dtors header and trailer check):
11834 Use an empirical test on a built program.
11835 * configure: Regenerated.
11837 * configure.in (-z relro check): Use an empirical test on a built DSO.
11838 Detect, but do not require, on ia64.
11839 * configure: Regenerated.
11841 * configure.in (READELF): Find it with AC_CHECK_TOOL.
11842 Update tests that use readelf to use $READELF instead.
11843 * configure: Regenerated.
11845 2011-07-08 Ulrich Drepper <drepper@gmail.com>
11847 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
11848 if the result is not used.
11850 2011-07-05 Andreas Jaeger <aj@suse.de>
11853 * stdlib/tst-strtod.c: Add testcase.
11855 2011-07-07 Ulrich Drepper <drepper@gmail.com>
11857 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
11858 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
11859 The latter has a higher limit. Take additional parameter to pass to
11861 (__pathconf): Pass file to __statfs_link_max.
11862 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
11864 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
11868 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
11869 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11871 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
11872 (__statfs_filesize_max): Likewise.
11873 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
11875 2011-07-05 Andreas Jaeger <aj@suse.de>
11877 * resolv/res_comp.c (dn_skipname): Remove unused variable.
11879 2011-07-06 Marek Polacek <mpolacek@redhat.com>
11881 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
11883 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
11886 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
11888 * Makefile (strop-tests): Add strncat.
11889 * string/test-strncat.c: New file.
11891 2011-06-30 Marek Polacek <mpolacek@redhat.com>
11893 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
11895 2011-06-21 Andreas Jaeger <aj@suse.de>
11897 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
11898 Copy rule from iconvdata/Makefile.
11900 2011-07-06 Ulrich Drepper <drepper@gmail.com>
11903 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
11904 but no long options are defined, just return 'W'.
11906 2011-06-22 Marek Polacek <mpolacek@redhat.com>
11909 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
11911 2011-07-06 Ulrich Drepper <drepper@gmail.com>
11913 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
11915 (innetgr): Likewise.
11917 2011-07-05 Roland McGrath <roland@hack.frob.com>
11919 * config.make.in (install_root): Default to $(DESTDIR).
11921 2011-07-05 Ulrich Drepper <drepper@gmail.com>
11923 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
11925 2011-07-02 Roland McGrath <roland@hack.frob.com>
11927 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
11929 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
11930 containing directory rather than embedding absolute directory names.
11932 * scripts/check-local-headers.sh: Rewritten using awk.
11933 Match by word, not by line. Print error messages for matches.
11934 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
11936 * Makerules [shlib-lds-flags empty]:
11937 ($(common-objpfx)libc_pic.opts): New target.
11938 ($(common-objpfx)libc_pic.os.clean): New target.
11939 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
11941 * config.make.in (OBJCOPY): New variable.
11942 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
11943 * configure: Regenerated.
11945 * config.make.in (use-default-link): New variable.
11946 * configure.in (use_default_link): Grok --with-default-link to set it.
11947 * configure: Regenerated.
11948 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
11949 (shlib-lds, shlib-lds-flags): Define to empty.
11951 * Makerules (shlib-lds): New variable.
11952 (shlib-lds-flags): New variable.
11953 (build-shlib, build-moduile, build-module-asneeded): Use it.
11954 ($(common-objpfx)libc.so): Use $(shlib-lds).
11955 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
11956 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
11958 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
11959 DT_FLAGS/DT_FLAGS_1 with zero flags.
11961 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
11962 linker script munging.
11964 2011-07-02 Ulrich Drepper <drepper@gmail.com>
11966 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
11968 * crypt/sha512.c (sha512_process_block): Perform total addition using
11969 128-bit if possible.
11970 (__sha512_finish_ctx): Likewise.
11971 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
11973 * crypt/sha256.c (SWAP64): Define.
11974 (sha256_process_block): Perform total addition using 64-bit if
11976 (__sha256_finish_ctx): Likewise.
11978 2011-07-01 Ulrich Drepper <drepper@gmail.com>
11980 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
11981 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11982 * nscd/hstcache.c (cache_addhst): Likewise.
11983 * nscd/grpcache.c (cache_addgr): Likewise.
11984 * nscd/aicache.c (addhstaiX): Likewise
11985 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
11987 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
11989 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
11990 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11991 * nscd/hstcache.c (cache_addhst): Likewise.
11992 * nscd/grpcache.c (cache_addgr): Likewise.
11993 * nscd/aicache.c (addhstaiX): Likewise
11995 2011-07-01 Andreas Schwab <schwab@redhat.com>
11997 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
11998 domain only when needed.
12000 2011-06-30 Andreas Schwab <schwab@redhat.com>
12002 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
12003 is always restored.
12005 2011-06-29 Ulrich Drepper <drepper@gmail.com>
12007 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
12008 are re-adding the entry.
12009 * nscd/servicescache.c (cache_addserv): Likewise.
12011 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
12013 * sysdeps/generic/dl-irel.h: fix protection against multiple
12015 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
12017 2011-06-28 Ulrich Drepper <drepper@gmail.com>
12020 * malloc/memusage.sh: Fix quoting in message.
12021 * debug/xtrace.sh: Likewise.
12023 * configure.in: Remove support for --experimental-malloc option, make
12025 * config.make.in: Likewise.
12026 * malloc/Makefile: Likewise.
12028 2011-06-27 Andreas Schwab <schwab@redhat.com>
12030 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
12031 two-byte characters.
12033 2011-06-27 Roland McGrath <roland@hack.frob.com>
12035 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
12036 AC_CACHE_CHECK invocation.
12037 * configure: Regenerated.
12039 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
12041 2011-06-27 Ulrich Drepper <drepper@gmail.com>
12044 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
12045 bit from old_res_options.
12047 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
12049 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
12050 value type for setfct.
12052 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
12054 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
12055 __gettimeofday instead of gettimeofday.
12057 2011-06-26 Ulrich Drepper <drepper@gmail.com>
12059 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
12061 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
12063 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
12065 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
12068 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
12070 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12071 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
12072 strcpy-sse2-unaligned strncpy-sse2-unaligned
12073 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
12074 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
12075 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
12076 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
12077 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
12078 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
12079 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
12080 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
12081 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
12082 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
12083 (STRCPY): Support SSE2 and SSSE3 versions.
12085 2011-06-24 Ulrich Drepper <drepper@gmail.com>
12088 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
12089 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
12090 kernels which artificially limit size of requests.
12092 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
12094 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12095 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
12096 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
12097 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
12098 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
12099 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
12100 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
12101 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
12102 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
12103 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
12104 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
12105 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
12106 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
12107 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
12108 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
12109 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12110 Enable unaligned load optimization for Intel Core i3, i5 and i7
12112 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
12114 (index_Fast_Unaligned_Load): Define.
12115 (HAS_FAST_UNALIGNED_LOAD): Define.
12117 2011-06-23 Marek Polacek <mpolacek@redhat.com>
12119 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
12121 2011-06-22 Ulrich Drepper <drepper@gmail.com>
12124 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
12125 until it is clear that the information is realy needed.
12126 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
12128 2011-06-22 Andreas Schwab <schwab@redhat.com>
12130 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
12132 2011-06-22 Ulrich Drepper <drepper@gmail.com>
12134 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
12135 /sys/devices/system/cpu/online if it is usable.
12137 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
12138 reading the information from the /proc filesystem to once a second.
12140 2011-06-21 Andreas Jaeger <aj@suse.de>
12142 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
12143 NULL after inclusion of kernel headers.
12145 2011-06-21 Ulrich Drepper <drepper@gmail.com>
12147 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
12148 calls to internal_setent.
12151 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
12152 addresses using gethostbyname4_r ignore IPv4 addresses.
12154 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
12155 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
12157 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
12159 2011-06-20 David S. Miller <davem@davemloft.net>
12161 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
12163 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
12165 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
12166 (elf_irel): Use it.
12167 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
12168 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
12169 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
12170 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
12171 * sysdeps/x86_64/dl-irel.h: Likewise.
12173 * elf/dl-runtime.c: Use elf_ifunc_invoke.
12174 * elf/dl-sym.c: Likewise.
12176 2011-06-15 Ulrich Drepper <drepper@gmail.com>
12178 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
12179 need to dereference resplen2.
12181 2011-06-14 Andreas Schwab <schwab@redhat.com>
12183 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
12185 2011-06-15 Ulrich Drepper <drepper@gmail.com>
12187 * Makeconfig: Define vardbdir and inst_vardbdir.
12188 * nss/Makefile: Add rules to install db-Makefile.
12190 * nss/nss_db/db-XXX.c: Cleanup.
12192 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
12193 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
12195 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
12196 * nss/makedb.c: Implement -g option to specify that value strings
12197 are generated and should not be added to table iterated over for
12199 * nss/nss_db/db-initgroups.c: New file.
12201 * nss/getent.c: Add support for initgroups lookups through getgrouplist
12204 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
12205 (internal_getgrouplist): Adjust to name change.
12206 Update use_initgroups_entry if this is not the first call.
12207 * nss/databases.def: Add initgroups entry.
12209 * nss/makedb.c (compute_tables): Check result of multiple hash table
12210 sizes to minimize maximum chain length.
12212 2011-06-14 Ulrich Drepper <drepper@gmail.com>
12214 * Versions.def: Add entry for libnss_db.
12215 * shlib-versions: Likewise.
12216 * nss/Makefile: Add rules to build libnss_db.
12217 * nss/Versions: Add libnss_db information. Organize libnss_files
12219 * nss/db-Makefile: Add gshadow support. Change rules for the new
12220 makedb progra. Some minor improvements to generate smaller files.
12221 * nss/nss_db/nss_db.h: Move NSS database header data structures to
12223 * nss/makedb.c: ...here.
12224 Improve database format to be smaller and require less memory at
12226 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
12228 * nss/nss_db/db-netgrp.c: Likewise.
12229 * nss/nss_db/db-open.c: Likewise.
12230 * nss/nss_files/flies-XXX.x: Adjust comments.
12231 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
12232 * nss/nss_files/files-grp.c: Likewise.
12233 * nss/nss_files/files-hosts.c: Likewise.
12234 * nss/nss_files/files-network.c: Likewise.
12235 * nss/nss_files/files-proto.c: Likewise.
12236 * nss/nss_files/files-pwd.c: Likewise.
12237 * nss/nss_files/files-rpc.c: Likewise.
12238 * nss/nss_files/files-service.c: Likewise.
12239 * nss/nss_files/files-sgrp.c: Likewise.
12240 * nss/nss_files/files-spwd.c: Likewise.
12241 * nss/nss_db/db-alias.c: Removed.
12242 * nss/nss_db/dummy-db.h: Removed.
12244 2011-06-02 Ulrich Drepper <drepper@gmail.com>
12246 * nss/makedb.c: Rewritten to not use database library.
12247 * nss/Makefile: Update to build new makedb program.
12249 2011-06-14 Andreas Jaeger <aj@suse.de>
12251 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
12252 memset declaration.
12254 2011-06-10 Andreas Schwab <schwab@redhat.com>
12256 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
12259 2011-06-10 Roland McGrath <roland@hack.frob.com>
12261 * Makerules (shlib.lds): Fail if the linker script comes out empty.
12262 * elf/Makefile ($(objpfx)ld.so): Likewise.
12264 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
12265 Don't list ld.so twice in dependencies.
12267 * posix/bug-regex31.c: Include <stdlib.h>.
12269 * nscd/hstcache.c (cache_addhst): Remove unused variable.
12271 * nis/nss_compat/compat-spwd.c
12272 (getspent_next_nss_netgr): Remove unused variable.
12273 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
12275 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
12276 nonmembers" output to use the right array.
12278 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
12280 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
12282 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
12283 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
12284 * catgets/gencat.c (read_input_file): Likewise.
12285 * locale/programs/locarchive.c (enlarge_archive): Likewise.
12287 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
12288 variable definition inside #if's controlling its use.
12290 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
12292 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
12294 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
12296 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
12299 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
12301 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
12302 * configure: Regenerated.
12304 * Makerules: Revert last change.
12305 * elf/Makefile: Likewise.
12307 2011-06-09 Roland McGrath <roland@hack.frob.com>
12309 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
12310 * elf/Makefile ($(objpfx)librtld.os): Likewise.
12311 (reloc-link): Likewise.
12313 2011-06-09 Ulrich Drepper <drepper@gmail.com>
12315 * elf/Makefile: Add rules to build pldd.
12316 * elf/pldd.c: New file.
12317 * elf/pldd-xx.c: New file.
12319 2011-06-07 Ulrich Drepper <drepper@gmail.com>
12321 * version.h: Update for 2.15 development version.
12323 2011-06-07 David S. Miller <davem@davemloft.net>
12325 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
12327 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
12328 elf_machine_lazy_rel): Likewise.
12329 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
12330 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
12331 elf_machine_lazy_rel): Likewise.
12332 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
12333 dl_hwcap via passed in argument.
12334 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
12337 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12339 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
12341 2011-06-06 Roland McGrath <roland@hack.frob.com>
12344 * manual/fdl-1.1.texi: New file, verbatim from:
12345 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
12346 * manual/lgpl-2.1.texi: New file, verbatim from:
12347 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
12348 * manual/Makefile (licenses): New variable, list those new file names.
12350 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
12352 * manual/fdl.texi: File removed.
12353 * manual/lesser.texi: File removed.
12354 * manual/libc.texinfo (Copying, Documentation License):
12355 Use new @include file names, put @appendix directive before @include.
12357 2011-06-04 Jakub Jelinek <jakub@redhat.com>
12360 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
12361 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
12362 (mq_open): Add __NTH.
12364 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
12366 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12367 Assume Intel Core i3/i5/i7 processor if AVX is available.
12369 2011-05-31 Ulrich Drepper <drepper@gmail.com>
12371 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
12374 2011-05-31 Andreas Schwab <schwab@redhat.com>
12376 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
12377 memory. Use alloca_account. Fix memory leak when retrying.
12379 2011-05-31 Ulrich Drepper <drepper@gmail.com>
12381 * version.h (RELEASE): Bump for 2.14 release.
12382 * include/features.h (__GLIBC_MINOR__): Bump to 14.
12384 * config.make.in (RANLIB): Remove entry.
12386 2011-05-30 Ulrich Drepper <drepper@gmail.com>
12388 * po/Makefile (po-sed-cmd): Add ksh to extensions.
12389 (libc.pot): Work around missing support for .ksh extension in xgettext.
12392 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
12393 if both request failed.
12394 (send_dg): In case of server errors clear resplen or *resplen2.
12397 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
12398 when there are multiple maps.
12399 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
12400 (_dl_fini): Remove test here.
12402 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
12404 2011-05-29 Ulrich Drepper <drepper@gmail.com>
12407 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
12408 bit from old_res_options.
12409 (gaih_inet): Likewise.
12412 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
12415 * resolv/res_init.c (res_setoptions): Make the code more compact.
12418 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
12422 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
12424 * malloc/malloc.h: Mark malloc hook variables as deprecated.
12427 * malloc/malloc.h: Declare malloc hook variables as volatile.
12429 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
12433 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
12434 raise in the comment.
12435 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
12436 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12437 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
12439 2011-05-28 Ulrich Drepper <drepper@gmail.com>
12442 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
12443 grow the buffers more if it already has to be sufficient.
12444 (build_wcs_upper_buffer): Likewise.
12445 * posix/regexec.c (check_matching): Likewise.
12446 (clean_state_log_if_needed): Likewise.
12447 (extend_buffers): Don't enlarge buffers beyond size of the input
12449 Patches mostly by Emil Wojak <emil@wojak.eu>.
12450 * posix/bug-regex32.c: New file.
12451 * posix/Makefile (tests): Add bug-regex32.
12453 * locale/findlocale.c (_nl_find_locale): Return right away if
12454 _nl_explode_name failed.
12455 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
12457 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
12459 * debug/xtrace.sh: Unify messages.
12460 * malloc/memusage.sh: Likewise.
12463 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
12464 time symbol from vDSO. Substitute with vsyscall if not available.
12465 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
12468 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
12469 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
12470 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
12471 Add sendmmsg and internal_sendmmsg.
12472 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
12473 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
12474 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
12476 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
12477 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
12478 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
12480 2011-05-27 Ulrich Drepper <drepper@gmail.com>
12483 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
12484 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
12486 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
12490 * iconvdata/Makefile (tests): Add bug-iconv9.
12491 * iconvdata/bug-iconv9.c: New file.
12493 2011-05-27 Andreas Schwab <schwab@redhat.com>
12496 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
12498 2011-05-25 Jakub Jelinek <jakub@redhat.com>
12500 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
12501 (struct user_regs_struct): Change intcs field back to cs.
12503 2011-05-25 Ulrich Drepper <drepper@gmail.com>
12505 * po/ja.po: Update from translation team.
12507 2011-05-23 Ulrich Drepper <drepper@gmail.com>
12510 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
12511 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
12513 2011-05-20 Andreas Schwab <schwab@redhat.com>
12515 * stdlib/longlong.h: Update from GCC.
12517 2011-05-23 Andreas Schwab <schwab@redhat.com>
12519 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
12521 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
12522 Add parameter name.
12523 (__sysconf): Pass it down.
12525 2011-05-22 Ulrich Drepper <drepper@gmail.com>
12528 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
12530 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
12531 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
12532 add in in __libc_use_alloca calls. Adjust callers.
12533 (glob): Use malloc in some situations.
12535 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
12536 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
12539 2011-05-21 Ulrich Drepper <drepper@gmail.com>
12541 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
12542 and CLOCK_BOOTTIME_ALARM.
12545 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
12548 * string/_strerror.c (__strerror_r): Print negative errors as signed
12552 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
12553 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
12554 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
12556 * configure.in: Fix typo in redirection and correct removal of test
12557 files in two cases.
12560 * locale/setlocale.c (new_composite_name): Fix test to check for
12561 identical name of all categories.
12564 * libio/filedoalloc.c (local_isatty): New function.
12565 (_IO_file_doallocate): Use local_isatty.
12566 * stdio-common/perror.c (perror): In case a new stream is used
12567 forward the stream error.
12568 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
12571 2011-05-20 Ulrich Drepper <drepper@gmail.com>
12574 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
12576 * include/alloca.h (extend_alloca_account): Define.
12579 * posix/regex.h: Fix comments with documentation of user-accessible
12580 fields after compilation and describe correct free'ing of pattern
12581 after re_compile_pattern.
12582 Patch by Reuben Thomas <rrt@sc3d.org>.
12584 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
12586 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
12587 and -mno-altivec to prevent the compiler from using Altivec and/or
12588 VSX instructions when the corresponding registers are not available.
12590 2011-05-19 Andreas Schwab <schwab@redhat.com>
12592 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
12594 2011-05-19 Ulrich Drepper <drepper@gmail.com>
12596 * libio/freopen.c (freopen): Use __dup2, not dup2.
12597 * libio/freopen64.c (freopen64): Likewise.
12599 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
12602 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
12603 * math/Makefile (tests): Add test-powl.
12604 (CFLAGS-test-powl.c): Define.
12605 * math/test-powl.c: New file.
12607 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
12609 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
12611 2011-05-17 Ulrich Drepper <drepper@gmail.com>
12614 * iconvdata/gb18030.c: Update to GB18020-2005.
12616 2011-05-16 Ulrich Drepper <drepper@gmail.com>
12618 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
12619 RE_SYNTAX_POSIX_AWK): Update to match recent development.
12620 Patch by Aharon Robbins <arnold@skeeve.com>.
12623 * stdlib/putenv.c (putenv): Don't always create copy of the variable
12627 * misc/pselect.c (__pselect): Handle timeout value errors hidden
12628 through underflows.
12631 * misc/error.c (error_at_line): Ensure file_name and old_file_name
12632 point to strings before performing equality test for error_one_per_line
12636 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
12639 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
12640 (struct user_fpregs_struct): Avoid __uint*_t types.
12643 * malloc/mtrace.c (tr_where): Add additional parameter to point to
12644 symbol info. Use it instead of calling _dl_addr locally.
12645 (lock_and_info): New function.
12646 (tr_freehook): Call lock_and_info and pass symbol info as additional
12647 parameter to tr_where.
12648 (tr_mallochook): Likewise.
12649 (tr_reallochook): Likewise.
12650 (tr_memalignhook): Likewise.
12652 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
12653 used and couldn't be at all thread-safe.
12655 2011-05-15 Ulrich Drepper <drepper@gmail.com>
12657 * libio/freopen.c (freopen): Don't close old file descriptor
12658 before the new one is opened. Instead dup the new file descriptor
12659 to the old one after the new stream is created.
12660 * libio/freopen64.c (freopen64): Likewise.
12661 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
12662 * libio/fileops.c (_IO_new_file_close_it): Handle new
12663 _IO_FLAGS2_NOCLOSE flag.
12664 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
12665 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
12666 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
12667 _IO_FLAGS2_NOCLOSE flag.
12668 * include/unistd.h: Add hidden_proto for dup3.
12669 Define __have_dup3.
12670 * io/dup3.c: Define hidden symbol.
12671 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
12674 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
12675 when an incomplete long option is used.
12676 * posix/tst-getopt_long1.c: New file.
12677 * posix/Makefile (tests): Add tst-getopt_long1.
12680 * scripts/config.guess: Update from autoconf-2.68.
12681 * scripts/config.sub: Likewise.
12684 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
12686 (has_cpuclock): ...this. New function.
12687 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
12688 macro here based on has_cpuclock code.
12691 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12692 First byte (not low byte) is now always NUL.
12693 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
12695 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12696 Use non-cancelable interfaces.
12699 * locale/iso-639.def: Add entry for Sorani.
12702 * include/stdlib.h: Move include protection to the right place.
12703 Define abort_msg_s. Declare __abort_msg with it.
12704 * stdlib/abort.c (__abort_msg): Adjust type.
12705 * assert/assert.c (__assert_fail_base): New function. Majority
12706 of code from __assert_fail. Allocate memory for __abort_msg with
12708 (__assert_fail): Now call __assert_fail_base.
12709 * assert/assert-perr.c: Remove bulk of implementation. Use
12710 __assert_fail_base.
12711 * include/assert.hL Declare __assert_fail_base.
12712 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
12714 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
12716 2011-05-14 Ulrich Drepper <drepper@gmail.com>
12720 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
12721 until all modules are registered in the DTV.
12722 * elf/Makefile: Add rules to build and run tst-tls19.
12723 * elf/tst-tls19.c: New file.
12724 * elf/tst-tls19mod1.c: New file.
12725 * elf/tst-tls19mod2.c: New file.
12726 * elf/tst-tls19mod3.c: New file.
12727 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
12730 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
12734 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
12735 two-byte sequence errors.
12736 * iconvdata/Makefile (tests): Add bug-iconv8.
12737 * iconvdata/bug-iconv8.c: New file.
12740 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
12743 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
12746 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
12747 (dummy_getcfa): New function.
12748 (init): Get _Unwind_GetCFA address, use dummy if not found.
12749 (backtrace_helper): In recursion check, also check whether CFA changes.
12750 (__backtrace): Completely initialize arg.
12752 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
12753 storing incomplete byte sequence in state object. Avoid testing for
12754 guaranteed too small input if we know there is enough data available.
12756 2011-05-11 Andreas Schwab <schwab@redhat.com>
12758 * Makeconfig (+link-pie): Indent.
12759 * Rules (binaries-pie): Define if $(have-fpie) and
12761 (binaries-shared): Also filter out $(binaries-pie).
12762 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
12763 * nscd/Makefile (others-pie): Add nscd.
12764 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
12765 ($(objpfx)nscd): Remove command override.
12766 * login/Makefile (others-pie): Add pt_chown.
12767 ($(objpfx)pt_chown): Remove command override.
12768 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
12769 remove command overrides.
12771 2011-05-13 Ulrich Drepper <drepper@gmail.com>
12773 * libio/tst_putwc.c: Fix error messages.
12776 * libio/fileops.c (_IO_new_file_close_it): Always flush when
12777 currently writing and seek to current position when not.
12778 * libio/Makefile (tests): Add bug-fclose1.
12779 * libio/bug-fclose1.c: New file.
12781 2011-05-12 Ulrich Drepper <drepper@gmail.com>
12784 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
12785 don't set DF_1_NODELETE here.
12786 (do_lookup_x): When entering new entry test for copy relocation
12787 and if necessary set DF_1_NODELETE flag.
12788 * elf/tst-unique4.cc: New file.
12789 * elf/tst-unique4.h: New file.
12790 * elf/tst-unique4lib.cc: New file.
12791 * elf/Makefile: Add rules to build and run tst-unique4.
12792 Patch by Piotr Bury <pbury@goahead.com>.
12794 2011-05-11 Ulrich Drepper <drepper@gmail.com>
12797 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
12800 * misc/mntent_r.c (addmntent): Flush the stream after the output
12803 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
12804 (is_trusted_path_normalize): Skip initial colon. Append slash
12805 to empty buffer. Duplicate is_trusted_path code but allow
12806 constructed patch to be prefix.
12807 (is_dst): Allow $ORIGIN followed by /.
12808 (_dl_dst_substitute): Correct clearing of check_for_trusted.
12809 Correct testing of result of is_trusted_path_normalize
12810 (decompose_rpath): Fix warning.
12812 2011-05-10 Ulrich Drepper <drepper@gmail.com>
12815 * grp/initgroups.c (internal_getgrouplist): When we found the service
12816 list through the initgroups entry in nsswitch.conf do not always
12817 continue on a successful lookup. Don't always use the
12818 __nss_group_database value if it is set.
12819 * nss/nsswitch.conf (initgroups): Change action for successful db
12820 lookup to continue for compatibility.
12822 2011-05-09 Ulrich Drepper <drepper@gmail.com>
12825 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
12827 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
12829 * iconvdata/tst-tables.sh: Likewise.
12830 * iconvdata/cp770.c: New file.
12831 * iconvdata/cp771.c: New file.
12832 * iconvdata/cp772.c: New file.
12833 * iconvdata/cp773.c: New file.
12834 * iconvdata/cp774.c: New file.
12835 * iconvdata/testdata/CP770: New file.
12836 * iconvdata/testdata/CP770..UTF8: New file.
12837 * iconvdata/testdata/CP771: New file.
12838 * iconvdata/testdata/CP771..UTF8: New file.
12839 * iconvdata/testdata/CP772: New file.
12840 * iconvdata/testdata/CP772..UTF8: New file.
12841 * iconvdata/testdata/CP773: New file.
12842 * iconvdata/testdata/CP773..UTF8: New file.
12843 * iconvdata/testdata/CP774: New file.
12844 * iconvdata/testdata/CP774..UTF8: New file.
12846 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
12848 * iconvdata/gen-8bit-gap.sh: Likewise.
12849 * iconvdata/gen-8bit.sh: Likewise.
12851 * locale/iso-639.def: Add ary entry.
12854 * locale/C-translit.h.in: Add U20A1 transliteration.
12857 * locale/iso-639.def: Add wae entry.
12858 Patch by Kevin Bortis <bortis@translate-wae.ch>.
12861 * locale/programs/localedef.c (construct_output_path): Use ssize_t
12865 * locale/C-translit.h.in: Add entry for U20B9.
12866 Patch by pravin.d.s@gmail.com.
12868 2011-05-08 Ulrich Drepper <drepper@gmail.com>
12871 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
12872 ENAMETOOLONG use generic getcwd.
12873 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
12874 in rtld. Use *stat64.
12875 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
12876 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
12877 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
12878 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
12879 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
12880 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
12881 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
12882 __fstatat64 macros.
12883 * include/dirent.h: Add libc_hidden_proto for rewinddir.
12884 * dirent/rewinddir.c: Add libc_hidden_def.
12885 * sysdeps/mach/hurd/rewinddir.c: Likewise.
12886 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
12888 * include/dirent.h (__alloc_dir): Add flags parameter.
12889 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
12890 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
12892 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
12893 from fdopendir if O_CLOEXEC is already set.
12895 2011-03-15 Alan Modra <amodra@gmail.com>
12897 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
12898 l_tls_firstbyte_offset non-zero. Save padding offset in
12899 l_tls_firstbyte_offset for later use.
12900 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
12901 freeing static tls block.
12903 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
12905 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
12906 where #ifdef was intended. The intent is to prevent ARG_MAX from
12907 being defined by the kernel headers.
12909 2011-05-07 Ulrich Drepper <drepper@gmail.com>
12912 * resolv/resolv.h: Define RES_NOTLDQUERY.
12913 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
12914 no-tld-query and set RES_NOTLDQUERY.
12915 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
12916 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
12917 modern BIND to search name as TLD unless forbidden.
12919 2011-05-07 Petr Baudis <pasky@suse.cz>
12920 Ulrich Drepper <drepper@gmail.com>
12923 * elf/dl-load.c (fillin_rpath): Move trusted path check...
12924 (is_trusted_path): ...to here.
12925 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
12926 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
12927 using is_trusted_path_normalize() in setuid scripts.
12929 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12931 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
12932 __BEGIN/__END_DECLS.
12934 2011-05-06 Ulrich Drepper <drepper@gmail.com>
12936 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
12937 NSS_STATUS_NOTFOUND if no record was found.
12939 2011-05-05 Andreas Schwab <schwab@redhat.com>
12941 * sunrpc/Makefile (headers): Add rpc/netdb.h.
12942 (headers-not-in-tirpc): Remove rpc/netdb.h
12943 * resolv/netdb.h: Revert last change.
12945 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12947 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
12948 circular dependency between libgcc.a and libc.a.
12950 2011-05-05 Andreas Schwab <schwab@redhat.com>
12952 * resolv/netdb.h: Don't include <rpc/netdb.h>.
12953 * nis/Makefile: Don't install rpcsvc/*.
12954 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
12955 instead of <rpc/types.h>.
12956 (MAXHOSTNAMELEN): Define.
12958 2011-05-03 Andreas Schwab <schwab@redhat.com>
12960 * elf/ldconfig.c (add_dir): Don't crash on empty path.
12962 2011-04-28 Maciej Babinski <mbabinski@google.com>
12965 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
12966 gethostbyname4_r when IPv6 results are possible.
12968 2011-05-02 Ulrich Drepper <drepper@gmail.com>
12971 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
12972 _PC_PIPE_BUF handling.
12974 2011-04-30 Bruno Haible <bruno@clisp.org>
12977 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
12978 * resolv/netdb.h (getnameinfo): Change type of flags parameter
12980 * inet/getnameinfo.c (getnameinfo): Likewise.
12982 2011-04-29 Ulrich Drepper <drepper@gmail.com>
12984 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
12985 to groups setting in database lookup.
12986 * nss/nsswitch.conf: Add initgroups entry.
12988 2011-04-22 Ulrich Drepper <drepper@gmail.com>
12991 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
12993 Patch by Eric Blake <eblake@redhat.com>.
12995 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
12997 * sunrpc/Makefile (need-export-routines): Add svc_run.
12998 (routines): Remove svc_run.
12999 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
13000 * sunrpc/clnt_perr.c (clnt_perrno): Export.
13001 * sunrpc/svc_run.c (svc_run): Likewise.
13002 * sunrpc/svc_udp.c (svcudp_create): Likewise.
13004 2011-04-21 Ulrich Drepper <drepper@gmail.com>
13006 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
13007 problem in reallocation in last patch.
13009 2011-04-20 Ulrich Drepper <drepper@gmail.com>
13011 * sunrpc/Makefile: Move inclusion of Rules.
13013 2011-04-19 Ulrich Drepper <drepper@gmail.com>
13015 * nss/nss_files/files-initgroups.c: New file.
13016 * nss/Makefile (libnss_files-routines): Add files-initgroups.
13017 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
13018 _nss_files_initgroups_dyn.
13020 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
13022 * elf/elf.h (R_ARM_IRELATIVE): Define.
13024 2011-04-19 Ulrich Drepper <drepper@gmail.com>
13026 * po/ru.po: Update from translation team.
13028 2011-04-17 Ulrich Drepper <drepper@gmail.com>
13030 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
13033 2011-02-06 Mike Frysinger <vapier@gentoo.org>
13036 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
13037 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
13038 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
13039 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13040 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13042 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
13044 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
13046 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13047 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13048 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13050 2011-04-17 Ulrich Drepper <drepper@gmail.com>
13053 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
13055 * stdlib/bug-getcontext.c: New file.
13056 * stdlib/Makefile: Add rules to build and run bug-getcontext.
13058 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13060 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
13061 instructions into .machine "z9-109".
13062 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
13063 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
13065 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13067 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
13068 between environment variables and auxiliary vector.
13070 2011-04-16 Ulrich Drepper <drepper@gmail.com>
13072 * Makefile: Add rules to build linkobj/libc.so.
13073 * include/libc-symbols.h: Define libc_hidden_nolink.
13074 * include/rpc/auth.h: Mark functions which are to be hidden.
13075 * include/rpc/auth_des.h: Likewise.
13076 * include/rpc/auth_unix.h: Likewise.
13077 * include/rpc/clnt.h: Likewise.
13078 * include/rpc/des_crypt.h: Likewise.
13079 * include/rpc/key_prot.h: Likewise.
13080 * include/rpc/pmap_clnt.h: Likewise.
13081 * include/rpc/pmap_prot.h: Likewise.
13082 * include/rpc/pmap_rmt.h: Likewise.
13083 * include/rpc/rpc_msg.h: Likewise.
13084 * include/rpc/svc.h: Likewise.
13085 * include/rpc/svc_auth.h: Likewise.
13086 * include/rpc/xdr.h: Likewise.
13087 * nis/Makefile: Link all DSOs against linkobj/libc.so.
13088 * nss/Makefile: Likewise.
13089 * sunrpc/Makefile: Don't install headers. Build library with normal
13090 entry points. Don't build rpcinfo. Link RPC tests appropriately.
13091 * sunrpc/auth_des.c: Hide exported symbols by default, export some
13092 for the compat linking library. Remove use of INTDEF/INTUSE.
13093 * sunrpc/auth_none.c: Likewise.
13094 * sunrpc/auth_unix.c: Likewise.
13095 * sunrpc/authdes_prot.c: Likewise.
13096 * sunrpc/authuxprot.c: Likewise.
13097 * sunrpc/clnt_gen.c: Likewise.
13098 * sunrpc/clnt_perr.c: Likewise.
13099 * sunrpc/clnt_raw.c: Likewise.
13100 * sunrpc/clnt_simp.c: Likewise.
13101 * sunrpc/clnt_tcp.c: Likewise.
13102 * sunrpc/clnt_udp.c: Likewise.
13103 * sunrpc/clnt_unix.c: Likewise.
13104 * sunrpc/des_crypt.c: Likewise.
13105 * sunrpc/des_soft.c: Likewise.
13106 * sunrpc/get_myaddr.c: Likewise.
13107 * sunrpc/key_call.c: Likewise.
13108 * sunrpc/key_prot.c: Likewise.
13109 * sunrpc/netname.c: Likewise.
13110 * sunrpc/pm_getmaps.c: Likewise.
13111 * sunrpc/pm_getport.c: Likewise.
13112 * sunrpc/pmap_clnt.c: Likewise.
13113 * sunrpc/pmap_prot.c: Likewise.
13114 * sunrpc/pmap_prot2.c: Likewise.
13115 * sunrpc/pmap_rmt.c: Likewise.
13116 * sunrpc/publickey.c: Likewise.
13117 * sunrpc/rpc_cmsg.c: Likewise.
13118 * sunrpc/rpc_common.c: Likewise.
13119 * sunrpc/rpc_dtable.c: Likewise.
13120 * sunrpc/rpc_prot.c: Likewise.
13121 * sunrpc/rpc_thread.c: Likewise.
13122 * sunrpc/rtime.c: Likewise.
13123 * sunrpc/svc.c: Likewise.
13124 * sunrpc/svc_auth.c: Likewise.
13125 * sunrpc/svc_authux.c: Likewise.
13126 * sunrpc/svc_raw.c: Likewise.
13127 * sunrpc/svc_run.c: Likewise.
13128 * sunrpc/svc_simple.c: Likewise.
13129 * sunrpc/svc_tcp.c: Likewise.
13130 * sunrpc/svc_udp.c: Likewise.
13131 * sunrpc/svc_unix.c: Likewise.
13132 * sunrpc/svcauth_des.c: Likewise.
13133 * sunrpc/xcrypt.c: Likewise.
13134 * sunrpc/xdr.c: Likewise.
13135 * sunrpc/xdr_array.c: Likewise.
13136 * sunrpc/xdr_float.c: Likewise.
13137 * sunrpc/xdr_intXX_t.c: Likewise.
13138 * sunrpc/xdr_mem.c: Likewise.
13139 * sunrpc/xdr_rec.c: Likewise.
13140 * sunrpc/xdr_ref.c: Likewise.
13141 * sunrpc/xdr_sizeof.c: Likewise.
13142 * sunrpc/xdr_stdio.c: Likewise.
13144 2011-04-10 Ulrich Drepper <drepper@gmail.com>
13147 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
13148 * sysdeps/ia64/dl-tls.h: Likewise.
13149 * sysdeps/powerpc/dl-tls.h: Likewise.
13150 * sysdeps/s390/dl-tls.h: Likewise.
13151 * sysdeps/sh/dl-tls.h: Likewise.
13152 * sysdeps/sparc/dl-tls.h: Likewise.
13153 * sysdeps/x86_64/dl-tls.h: Likewise.
13154 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
13156 2011-03-14 Andreas Schwab <schwab@redhat.com>
13158 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
13159 rpath element also skip the following colon.
13160 (expand_dynamic_string_token): Add is_path parameter and pass
13161 down to DL_DST_REQUIRED and _dl_dst_substitute.
13162 (decompose_rpath): Call expand_dynamic_string_token with
13163 non-zero is_path. Ignore empty rpaths.
13164 (_dl_map_object_from_fd): Call expand_dynamic_string_token
13167 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
13169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
13172 2011-04-09 Ulrich Drepper <drepper@gmail.com>
13175 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
13176 Patch by Filipe David Manana <fdmanana@apache.org>.
13178 2011-04-07 Andreas Schwab <schwab@redhat.com>
13180 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
13181 Maintain aligned stack.
13182 (CHECK_RSP): Remove unused macro.
13184 2011-04-03 Ulrich Drepper <drepper@gmail.com>
13186 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
13187 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
13189 2011-04-02 Ulrich Drepper <drepper@gmail.com>
13191 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
13193 * include/features.h: Mention __USE_XOPEN2K8 in comment.
13195 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
13198 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
13199 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
13200 * sysdeps/x86_64/memmove.c: New file.
13201 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
13202 (memcpy): Renamed to ...
13203 (__new_memcpy): This.
13204 (memcpy): Provide GLIBC_2_14 memcpy.
13205 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
13206 (memcpy): Provide GLIBC_2_2_5 memcpy.
13208 2011-04-01 Ulrich Drepper <drepper@gmail.com>
13211 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
13213 2011-03-30 Andreas Schwab <schwab@redhat.com>
13215 * misc/syncfs.c: New file.
13216 * misc/Makefile (routines): Add syncfs.
13217 * posix/unistd.h: Declare syncfs.
13218 * sysdeps/unix/syscalls.list: Add syncfs.
13220 2011-04-01 Andreas Schwab <schwab@redhat.com>
13222 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
13224 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
13225 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
13226 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13227 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13228 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13229 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
13230 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13232 2011-04-01 Ulrich Drepper <drepper@gmail.com>
13234 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
13235 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
13236 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
13237 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13238 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13239 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13240 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13242 * io/Makefile: Compile fallocate.c, fallocate64.c, and
13243 sync_file_range.c with -fexceptions.
13244 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
13245 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
13246 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
13247 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
13248 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
13249 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
13250 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
13251 sync_file_range as cancellation point
13252 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
13253 now a wrapper around __call_sync_file_range with cancellation handling.
13254 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
13255 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
13256 function name to __call_sync_file_range.
13257 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
13258 Add call_sync_file_range.
13260 2011-04-01 Andreas Schwab <schwab@redhat.com>
13262 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13265 2011-04-01 Ulrich Drepper <drepper@gmail.com>
13267 * iconv/iconv.h: Fix typo in comment.
13268 * io/fcntl.h: Likewise.
13269 * libio/stdio.h: Likewise.
13270 * posix/spawn.h: Likewise.
13271 * posix/unistd.h: Likewise.
13272 * stdlib/stdlib.h: Likewise.
13273 * time/time.h: Likewise.
13274 * wcsmbs/wchar.h: Likewise.
13276 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
13277 open_by_handle): Add.
13278 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
13279 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
13280 Augment a few comments.
13281 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
13282 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13283 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13284 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13285 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13286 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
13289 * io/fcntl.h (AT_EMPTY_PATH): Define.
13291 2011-03-30 Ulrich Drepper <drepper@gmail.com>
13293 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
13294 * sysdeps/unix/sysv/linux/bits/time.h: New file.
13295 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
13297 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
13298 * Versions.def: Add GLIBC_2.14.
13299 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
13302 2011-03-22 Ulrich Drepper <drepper@gmail.com>
13304 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
13306 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
13308 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
13311 * string/test-strncmp.c (do_page_test): New function.
13312 (check2): Likewise.
13313 (test_main): Call check2.
13314 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
13316 2011-03-20 Ulrich Drepper <drepper@gmail.com>
13319 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
13320 Handle cache information in CPU leaf 4.
13321 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
13323 2011-03-18 Ulrich Drepper <drepper@gmail.com>
13326 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
13327 character representation.
13328 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
13330 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
13332 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
13333 END(__isnan) to END(__isnanf) to match function entry point/label
13334 EALIGN(__isnanf,...).
13336 2011-03-10 Jakub Jelinek <jakub@redhat.com>
13338 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
13340 2011-03-10 Ulrich Drepper <drepper@gmail.com>
13343 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
13344 copy from the symbol referenced in the relocation to initialize the
13346 Patch by Piotr Bury <pbury@goahead.com>.
13347 * elf/Makefile: Add rules to build and tst-unique3.
13348 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
13349 * elf/tst-unique3.cc: New file.
13350 * elf/tst-unique3.h: New file.
13351 * elf/tst-unique3lib.cc: New file.
13352 * elf/tst-unique3lib2.cc: New file.
13354 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
13356 2011-03-10 Mike Frysinger <vapier@gentoo.org>
13358 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
13359 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
13362 2011-03-06 Ulrich Drepper <drepper@gmail.com>
13364 * elf/dl-load.c (_dl_map_object): If we are looking for the first
13365 to-be-loaded object along a path to loader is ld.so.
13367 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
13368 Ulrich Drepper <drepper@gmail.com>
13370 * sysdeps/x86_64/memset.S: After aligning destination, code
13371 branches to different locations depending on the value of
13372 misalignment, when multiarch is enabled. Fix this.
13374 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
13376 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
13377 Set _x86_64_preferred_memory_instruction for AMD processsors.
13378 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13379 Set bit_Prefer_SSE_for_memop for AMD processors.
13381 2011-03-04 Ulrich Drepper <drepper@gmail.com>
13383 * libio/fmemopen.c (fmemopen): Optimize a bit.
13385 2011-03-03 Andreas Schwab <schwab@redhat.com>
13387 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
13389 2011-03-03 Roland McGrath <roland@redhat.com>
13391 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
13393 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
13395 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
13396 __bzero_ultra1 instead of __memset_ultra1.
13398 2011-02-23 Andreas Schwab <schwab@redhat.com>
13399 Ulrich Drepper <drepper@gmail.com>
13402 * include/link.h (struct link_map): Add l_orig_initfini.
13403 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
13404 returning unsuccessfully.
13405 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
13406 close of a file loaded at startup, restore the original l_initfini
13408 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
13409 list, store the pointer.
13410 * elf/Makefile ($(objpfx)noload-mem): New rule.
13411 (noload-ENV): Define.
13412 (tests): Add $(objpfx)noload-mem.
13413 * elf/noload.c: Include <memcheck.h>.
13414 (main): Call mtrace. Close all opened handles.
13416 2011-02-17 Andreas Schwab <schwab@redhat.com>
13419 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
13420 dependencies are missing.
13422 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
13424 Fix __if_freereq crash: Unlike the generic version which uses free,
13426 * sysdeps/mach/hurd/ifreq.h: New file.
13428 2011-01-27 Petr Baudis <pasky@suse.cz>
13429 Ulrich Drepper <drepper@gmail.com>
13432 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
13433 to extend_alloca().
13434 * stdio-common/bug23.c: New file.
13435 * stdio-common/Makefile (tests): Add bug23.
13437 2010-09-28 Andreas Schwab <schwab@redhat.com>
13438 Ulrich Drepper <drepper@gmail.com>
13441 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
13442 before performing relro protection. At old place add assertion
13443 to make sure nothing changed.
13445 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
13446 Glauber de Oliveira Costa <glommer@gmail.com>
13448 * elf/elf.h: Add new ARM TLS relocs.
13450 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
13452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
13453 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
13455 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
13457 * sysdeps/wordsize-64/tst-writev.c: New file.
13459 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
13461 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
13462 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
13463 insns in _dl_start to prevent a TOC reference before relocs are
13466 2011-02-15 Ulrich Drepper <drepper@gmail.com>
13469 * Makeconfig: Remove RANLIB definition.
13470 * Makerules: Don't use RANLIB.
13471 * aclocal.m4: Remove ranlib test.
13472 * configure.in: No need to check for ranlib.
13473 * elf/rtld-Rules: Don't use RANLIB.
13475 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13477 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
13479 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
13480 inclusion protection macro.
13482 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
13483 SIGRTMIN and SIGRTMAX and print information in that case only when
13484 SIGRTMIN is defined.
13486 2011-02-11 Jakub Jelinek <jakub@redhat.com>
13488 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
13489 arginfo fn returning -1.
13491 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
13492 and thousands string is zero terminated.
13494 2011-02-03 Andreas Schwab <schwab@redhat.com>
13496 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
13497 sysdeps/unix/sysv/linux/bits/socket.h.
13499 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
13501 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
13502 (__CPU_COUNT): Remove old macros.
13503 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
13504 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
13505 (__CPU_ALLOC, __CPU_FREE): Add macros.
13506 (__sched_cpualloc, __sched_cpufree): Add declarations.
13508 2011-02-05 Ulrich Drepper <drepper@gmail.com>
13510 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
13511 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
13512 * nscd/aicache.c (addhstaiX): Return timeout of added value.
13513 (readdhstai): Return value of addhstaiX call.
13514 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
13515 (addgrbyX): Return value returned by cache_addgr.
13516 (readdgrbyname): Return value returned by addgrbyX.
13517 (readdgrbygid): Likewise.
13518 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
13519 (addpwbyX): Return value returned by cache_addpw.
13520 (readdpwbyname): Return value returned by addhstbyX.
13521 (readdpwbyuid): Likewise.
13522 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
13523 (addservbyX): Return value returned by cache_addserv.
13524 (readdservbyname): Return value returned by addservbyX:
13525 (readdservbyport): Likewise.
13526 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
13527 (addhstbyX): Return value returned by cache_addhst.
13528 (readdhstbyname): Return value returned by addhstbyX.
13529 (readdhstbyaddr): Likewise.
13530 (readdhstbynamev6): Likewise.
13531 (readdhstbyaddrv6): Likewise.
13532 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
13533 (readdinitgroups): Return value returned by addinitgroupsX.
13534 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
13535 (prune_cache): Keep track of timeout value of re-added entries.
13536 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
13537 * nscd/nscd.h: Adjust prototypes of readd* functions.
13539 2011-02-04 Roland McGrath <roland@redhat.com>
13541 * nis/nis_server.c (nis_servstate): Use the right name for 0.
13542 (nis_stats): Likewise.
13543 * nis/nis_modify.c (nis_modify): Likewise.
13544 * nis/nis_remove.c (nis_remove): Likewise.
13545 * nis/nis_add.c (nis_add): Likewise.
13547 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
13549 * posix/fnmatch_loop.c: Add some consts.
13551 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
13553 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
13556 * config.make.in (config-cflags-novzeroupper): Define.
13557 * configure.in: Substitute libc_cv_cc_novzeroupper.
13558 * elf/Makefile (AVX-CFLAGS): Define.
13559 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
13560 (CFLAGS-tst-auditmod4a.c): Likewise.
13561 (CFLAGS-tst-auditmod4b.c): Likewise.
13562 (CFLAGS-tst-auditmod6b.c): Likewise.
13563 (CFLAGS-tst-auditmod6c.c): Likewise.
13564 (CFLAGS-tst-auditmod7b.c): Likewise.
13565 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
13567 2011-02-02 Ulrich Drepper <drepper@gmail.com>
13569 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
13570 function to the callback.
13571 Patch partly by Jiri Olsa <jolsa@redhat.com>.
13573 2011-02-02 Andreas Schwab <schwab@redhat.com>
13575 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
13578 2011-01-19 Ulrich Drepper <drepper@gmail.com>
13581 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
13583 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
13585 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
13588 * elf/Makefile: Add rules to build and run new test.
13589 * elf/tst-initorder.c: New file.
13590 * elf/tst-initorder.exp: New file.
13591 * elf/tst-initordera1.c: New file.
13592 * elf/tst-initordera2.c: New file.
13593 * elf/tst-initordera3.c: New file.
13594 * elf/tst-initordera4.c: New file.
13595 * elf/tst-initorderb1.c: New file.
13596 * elf/tst-initorderb2.c: New file.
13597 * elf/tst-order-a1.c: New file.
13598 * elf/tst-order-a2.c: New file.
13599 * elf/tst-order-a3.c: New file.
13600 * elf/tst-order-a4.c: New file.
13601 * elf/tst-order-b1.c: New file.
13602 * elf/tst-order-b2.c: New file.
13603 * elf/tst-order-main.c: New file.
13604 New test case by George Gensure <werkt0@gmail.com>.
13606 2010-10-01 Andreas Schwab <schwab@redhat.com>
13608 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
13609 decoding ACE if AI_CANONIDN.
13611 2011-01-18 Ulrich Drepper <drepper@gmail.com>
13613 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
13615 2011-01-17 Ulrich Drepper <drepper@gmail.com>
13617 * version.h (RELEASE): Bump for 2.13 release.
13618 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
13620 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
13622 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
13624 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
13625 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
13626 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13627 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
13628 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
13629 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
13631 * posix/getconf.c: Update copyright year.
13632 * catgets/gencat.c: Likewise.
13633 * csu/version.c: Likewise.
13634 * debug/catchsegv.sh: Likewise.
13635 * debug/xtrace.sh: Likewise.
13636 * elf/ldconfig.c: Likewise.
13637 * elf/ldd.bash.in: Likewise.
13638 * elf/sprof.c (print_version): Likewise.
13639 * iconv/iconv_prog.c: Likewise.
13640 * iconv/iconvconfig.c: Likewise.
13641 * locale/programs/locale.c: Likewise.
13642 * locale/programs/localedef.c: Likewise.
13643 * malloc/memusage.sh: Likewise.
13644 * malloc/mtrace.pl: Likewise.
13645 * nscd/nscd.c (print_version): Likewise.
13646 * nss/getent.c: Likewise.
13648 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
13649 PF_CAIF, and PF_ALG.
13650 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13652 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
13654 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
13655 (modules-names): Use them.
13656 (ifunc-test-modules, ifunc-pie-tests): Define.
13657 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
13658 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
13659 (test-extras): Likewise.
13660 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
13661 $(compile-command.c).
13662 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
13663 (all-built-dso): Define.
13664 (check-textrel.out, check-execstack.out): Depend on it.
13666 * configure.in: Don't override --enable-multi-arch.
13668 2011-01-15 Ulrich Drepper <drepper@gmail.com>
13671 * nscd/hstcache.c (tryagain): Define.
13672 (cache_addhst): Return tryagain not notfound for temporary errors.
13673 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
13676 2011-01-14 Ulrich Drepper <drepper@gmail.com>
13679 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
13680 to make the syscall.
13681 * sysdeps/unix/sysv/linux/setgroups.c: New file.
13684 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
13685 and fall back to matching as normal character if the string ends before
13686 the matching ']' is found. This is what POSIX requires.
13687 * posix/testfnm.c: Adjust test result.
13688 * posix/globtest.sh: Adjust test result. Add new test.
13689 * posix/tst-fnmatch.input: Likewise.
13690 * posix/tst-fnmatch2.c: Add new test.
13692 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
13694 * elf/Makefile (check-execstack): Revert last change. Depend on
13696 (check-execstack.h): New target.
13697 (generated): Add check-execstack.h.
13698 * elf/check-execstack.c: Include "check-execstack.h".
13699 (main): Revert last change.
13700 (handle_file): Return zero if GNU_STACK is absent and
13701 DEFAULT_STACK_PERMS doesn't include PF_X.
13703 2011-01-13 Ulrich Drepper <drepper@gmail.com>
13705 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
13706 in child fails because the descriptor is already closed.
13707 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
13708 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
13709 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
13712 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
13716 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
13717 temporary buffer used to handle multi lookups locally.
13718 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
13720 2011-01-12 Ulrich Drepper <drepper@gmail.com>
13722 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
13725 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
13727 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
13728 alignment for SSE2.
13730 2011-01-12 Ulrich Drepper <drepper@gmail.com>
13733 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
13734 characters. When rounding increased number of integer digits recompute
13736 * stdio-common/tst-grouping.c: New file.
13737 * stdio-common/Makefile: Add rules to build and run tst-grouping.
13739 2011-01-09 Ulrich Drepper <drepper@gmail.com>
13741 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
13742 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
13744 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
13746 * bits/select.h: Likewise.
13748 2011-01-08 Ulrich Drepper <drepper@gmail.com>
13750 * po/ja.po: Update from translation team.
13752 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
13755 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
13756 implementation just like for lxstat, fxstatat, et al.
13758 2010-12-27 Jim Meyering <meyering@redhat.com>
13761 * posix/regexec.c (build_trtable): Return failure indication upon
13762 calloc failure. Otherwise, re_search_internal could infloop on OOM.
13764 2010-12-25 Ulrich Drepper <drepper@gmail.com>
13767 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
13768 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
13769 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
13770 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
13773 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
13776 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
13777 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
13779 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
13781 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
13782 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
13783 script has SORT_BY_INIT_PRIORITY.
13784 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
13785 NO_CTORS_DTORS_SECTIONS is defined.
13786 * elf/soinit.c: Likewise.
13787 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
13788 NO_CTORS_DTORS_SECTIONS is defined.
13789 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
13790 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
13791 * sysdeps/sh/init-first.c: Likewise.
13792 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
13794 2010-12-24 Ulrich Drepper <drepper@gmail.com>
13796 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
13797 always use the slow path.
13799 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
13801 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
13802 similar rule which adds the sysdep directories to the header search in
13803 order to pick up the correct platform stackinfo.h.
13804 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
13805 perform test if it is, otherwise return successfully without testing.
13806 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
13807 DEFAULT_STACK_PERMS define in stackinfo.h.
13808 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
13809 defined in stackinfo.h.
13810 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
13811 DEFAULT_STACK_PERMS defined in stackinfo.h.
13812 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
13813 * sysdeps/ia64/stackinfo.h: Likewise.
13814 * sysdeps/s390/stackinfo.h: Likewise.
13815 * sysdeps/sh/stackinfo.h: Likewise.
13816 * sysdeps/sparc/stackinfo.h: Likewise.
13817 * sysdeps/x86_64/stackinfo.h: Likewise.
13818 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
13819 PF_X for powerpc64. Retain PF_X for powerpc32.
13821 2010-12-19 Ulrich Drepper <drepper@gmail.com>
13823 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
13825 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
13826 GETDENTS_64BIT_ALIGNED.
13828 2010-12-14 Ulrich Drepper <dreper@gmail.com>
13830 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
13832 2010-12-10 Andreas Schwab <schwab@redhat.com>
13834 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
13837 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
13838 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
13840 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
13841 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
13843 2010-12-09 Ulrich Drepper <drepper@gmail.com>
13846 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
13849 2010-12-09 Jakub Jelinek <jakub@redhat.com>
13851 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
13853 2010-12-03 Ulrich Drepper <drepper@gmail.com>
13855 * po/it.po: Update from translation team.
13857 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
13859 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
13862 2010-11-30 Ulrich Drepper <drepper@gmail.com>
13864 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
13866 2010-11-24 Andreas Schwab <schwab@redhat.com>
13868 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
13870 (gaih_getanswer_slice): Likewise.
13872 2010-10-20 Jakub Jelinek <jakub@redhat.com>
13874 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
13876 2010-05-31 Petr Baudis <pasky@suse.cz>
13879 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
13880 silently even in the chroot mode.
13882 2010-11-22 Ulrich Drepper <drepper@gmail.com>
13884 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
13885 last patch a bit. Pretty printing
13887 2010-05-31 Petr Baudis <pasky@suse.cz>
13890 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
13891 initialization of skip_initgroups_dyn.
13893 2010-11-19 Ulrich Drepper <drepper@gmail.com>
13895 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
13896 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
13898 2010-11-16 Ulrich Drepper <drepper@gmail.com>
13900 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
13902 2010-11-11 Andreas Schwab <schwab@redhat.com>
13904 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
13905 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
13906 (tst-fnmatch-ENV): Set MALLOC_TRACE.
13907 ($(objpfx)tst-fnmatch-mem): New rule.
13908 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
13909 * posix/tst-fnmatch.c (main): Call mtrace.
13911 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
13913 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13914 Support Intel processor model 6 and model 0x2c.
13916 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
13918 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
13921 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
13924 * string/test-strncasecmp.c (check_result): New function.
13925 (do_one_test): Use it.
13926 (check1): New function.
13927 (test_main): Use it.
13928 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
13929 Support strcasecmp and strncasecmp.
13931 2010-11-08 Ulrich Drepper <drepper@gmail.com>
13934 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
13935 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13937 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
13939 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
13941 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13943 * sysdeps/x86_64/multiarch/bzero.S: New file.
13944 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
13945 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
13946 * sysdeps/x86_64/multiarch/memset.S: New file.
13947 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
13948 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13949 Set bit_Prefer_SSE_for_memop for Intel processors.
13950 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
13952 (index_Prefer_SSE_for_memop): Define.
13953 (HAS_PREFER_SSE_FOR_MEMOP): Define.
13955 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
13957 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
13958 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
13960 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
13963 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
13964 (__x86_64_raw_data_cache_size_half): Likewise.
13965 (__x86_64_raw_shared_cache_size): Likewise.
13966 (__x86_64_raw_shared_cache_size_half): Likewise.
13968 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
13969 (__x86_64_raw_data_cache_size_half): Likewise.
13970 (__x86_64_raw_shared_cache_size): Likewise.
13971 (__x86_64_raw_shared_cache_size_half): Likewise.
13972 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
13973 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
13974 and __x86_64_raw_shared_cache_size_half. Round
13975 __x86_64_data_cache_size_half, __x86_64_data_cache_size
13976 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
13977 to multiple of 256 bytes.
13979 2010-11-03 Ulrich Drepper <drepper@gmail.com>
13982 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
13983 of inacessible symlinks. Verify result of symlink before returning it.
13984 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
13985 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
13987 2010-10-28 Erich Ritz <erichritz@gmail.com>
13989 * math/math.h (isinf): Fix typo in comment.
13991 2010-11-01 Ulrich Drepper <drepper@gmail.com>
13993 * po/da.po: Update from translation team.
13995 2010-10-26 Ulrich Drepper <drepper@gmail.com>
13997 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
13998 is added to the list.
14000 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14001 Ulrich Drepper <drepper@gmail.com>
14003 * elf/dl-object.c (_dl_new_object): Don't append the new object to
14004 the global list here. Move code to...
14005 (_dl_add_to_namespace_list): ...here. New function.
14006 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
14007 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
14008 * elf/dl-load.c (lose): Don't remove the element from the list.
14009 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
14010 (_dl_map_object): Likewise.
14012 2010-10-25 Ulrich Drepper <drepper@gmail.com>
14015 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
14016 into all bytes of SSE register.
14017 Patch by Richard Li <richardpku@gmail.com>.
14019 2010-10-24 Ulrich Drepper <drepper@gmail.com>
14022 * malloc/malloc.c (_int_free): Fill correct number of bytes when
14025 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
14027 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
14028 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
14029 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
14030 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
14031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
14033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
14035 2010-10-22 Andreas Schwab <schwab@redhat.com>
14037 * include/dlfcn.h (__RTLD_SECURE): Define.
14038 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
14039 mode & __RTLD_SECURE instead.
14040 (open_path): Rename preloaded parameter to secure.
14041 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
14042 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
14043 * elf/dl-deps.c (openaux): Likewise.
14044 * elf/rtld.c (struct map_args): Remove is_preloaded.
14045 (map_doit): Don't use it.
14046 (dl_main): Likewise.
14047 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
14048 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
14050 2010-09-09 Andreas Schwab <schwab@redhat.com>
14052 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
14053 (sysd-rules-targets): Remove duplicates.
14054 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
14055 rtld-%.$o dependency.
14057 2010-10-18 Andreas Schwab <schwab@redhat.com>
14059 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
14060 _dl_map_object do it.
14062 2010-10-19 Ulrich Drepper <drepper@gmail.com>
14064 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
14065 fast fma builtins, define the macros in the C99 standard.
14066 (FP_FAST_FMAF): Likewise.
14067 (FP_FAST_FMAL): Likewise.
14068 * sysdeps/x86_64/bits/mathdef.h: Likewise.
14070 * bits/mathdef.h: Update copyright year.
14071 * sysdeps/powerpc/bits/mathdef.h: Likewise.
14073 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
14075 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
14076 builtins, define the macros in the C99 standard.
14077 (FP_FAST_FMAF): Likewise.
14078 (FP_FAST_FMAL): Likewise.
14079 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
14081 (FP_FAST_FMAF): Likewise.
14083 2010-10-15 Jakub Jelinek <jakub@redhat.com>
14086 * math/libm-test.inc (fma_test): Some new testcases.
14087 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
14088 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
14089 y and infinite z. Do multiplication by C already in long double.
14090 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
14091 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
14092 y and infinite z. Do bitwise or of inexact bit into u.d.
14093 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
14094 * sysdeps/i386/fpu/s_fmaf.S: Removed.
14095 * sysdeps/i386/fpu/s_fma.S: Removed.
14096 * sysdeps/i386/fpu/s_fmal.S: Removed.
14098 2010-10-16 Jakub Jelinek <jakub@redhat.com>
14101 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
14102 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
14103 computation is not scheduled after fetestexcept. Fix value
14104 of minimum denormal long double.
14106 2010-10-14 Jakub Jelinek <jakub@redhat.com>
14109 * math/libm-test.inc (fma_test): Add some more tests.
14110 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
14113 2010-10-15 Andreas Schwab <schwab@redhat.com>
14115 * scripts/data/localplt-s390-linux-gnu.data: New file.
14116 * scripts/data/localplt-s390x-linux-gnu.data: New file.
14118 2010-10-13 Jakub Jelinek <jakub@redhat.com>
14121 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
14122 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
14124 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
14126 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
14127 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
14128 if one of x and y is very large and the other is subnormal.
14129 * sysdeps/s390/fpu/s_fmaf.c: New file.
14130 * sysdeps/s390/fpu/s_fma.c: New file.
14131 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
14132 * sysdeps/powerpc/fpu/s_fma.S: New file.
14133 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
14134 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
14135 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
14137 2010-10-12 Jakub Jelinek <jakub@redhat.com>
14140 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
14142 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
14143 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
14144 * sysdeps/i386/i686/multiarch/s_fma.c: Include
14145 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
14146 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
14147 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
14148 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
14150 2010-10-12 Ulrich Drepper <drepper@redhat.com>
14153 * posix/regcomp.c (parse_branch): One more memory leak plugged.
14154 * posix/bug-regex31.input: Add test case.
14156 2010-10-11 Ulrich Drepper <drepper@gmail.com>
14158 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
14159 * posix/bug-regex31.input: New file.
14162 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
14163 (parse_sub_exp): Fix last change, use postorder.
14165 * posix/bug-regex31.c: New file.
14166 * posix/Makefile: Add rules to build and run bug-regex31.
14168 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
14171 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
14174 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
14175 to have entries in sys_siglist.
14178 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
14181 2010-10-07 Jakub Jelinek <jakub@redhat.com>
14184 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
14185 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
14186 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
14187 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
14188 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
14189 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
14190 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
14191 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
14192 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
14193 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
14194 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
14195 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
14196 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
14197 * math/ftestexcept.c (fetestexcept): Likewise.
14198 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
14199 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
14200 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
14201 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
14202 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
14203 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
14204 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
14206 2010-10-11 Ulrich Drepper <drepper@gmail.com>
14209 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
14212 2010-10-06 Ulrich Drepper <drepper@gmail.com>
14214 * string/bug-strstr1.c: New file.
14215 * string/Makefile: Add rules to build and run bug-strstr1.
14217 2010-10-05 Eric Blake <eblake@redhat.com>
14220 * string/str-two-way.h (two_way_long_needle): Always clear memory
14221 when skipping input due to the shift table.
14223 2010-10-03 Ulrich Drepper <drepper@gmail.com>
14226 * malloc/mcheck.c: Handle large requests.
14229 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
14230 for strncmp and strncasecmp.
14231 * string/stratcliff.c: Add tests for strcmp and strncmp.
14232 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
14234 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14236 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
14239 2010-09-30 Andreas Jaeger <aj@suse.de>
14241 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
14242 (CGROUP_SUPER_MAGIC): Define.
14243 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14244 Handle btrfs and cgroup file systems.
14245 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
14248 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
14250 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
14251 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
14253 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14256 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
14257 trying to locate the ELF header.
14259 2010-09-27 Andreas Schwab <schwab@redhat.com>
14262 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
14263 Mask out sign-bit copies when constructing f_fsid.
14265 2010-09-24 Petr Baudis <pasky@suse.cz>
14267 * debug/stack_chk_fail_local.c: Add missing licence exception.
14268 * debug/warning-nop.c: Likewise.
14270 2010-09-15 Joseph Myers <joseph@codesourcery.com>
14272 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
14273 implementing getdents64 using getdents syscall, set d_type if
14274 __ASSUME_GETDENTS32_D_TYPE.
14276 2010-09-16 Andreas Schwab <schwab@redhat.com>
14278 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
14279 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
14281 2010-09-21 Ulrich Drepper <drepper@redhat.com>
14284 * posix/unistd.h: Undo change of feature selection for ftruncate from
14287 2010-09-20 Ulrich Drepper <drepper@redhat.com>
14289 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
14292 2010-09-20 Andreas Schwab <schwab@redhat.com>
14294 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
14296 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
14298 2010-09-14 Andreas Schwab <schwab@redhat.com>
14300 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
14301 variables after CHECK_SP call.
14302 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
14304 2010-09-13 Andreas Schwab <schwab@redhat.com>
14305 Ulrich Drepper <drepper@redhat.com>
14307 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
14308 re-relocationg ld.so.
14309 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
14310 _dl_init_paths call.
14311 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
14314 2010-09-14 Ulrich Drepper <drepper@redhat.com>
14316 * resolv/res_init.c (__res_vinit): Count the default server we added.
14318 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
14319 Ulrich Drepper <drepper@redhat.com>
14322 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
14323 (____longjmp_chk): Use %ebx for saving value across system call.
14326 2010-09-06 Andreas Schwab <schwab@redhat.com>
14328 * manual/Makefile: Don't mix pattern rules with normal rules.
14330 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
14332 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
14334 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
14335 * libio/iofopncook.c (_IO_cookie_init): Likewise.
14336 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
14337 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
14338 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14341 2010-09-04 Ulrich Drepper <drepper@redhat.com>
14344 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
14345 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
14347 2010-09-02 Ulrich Drepper <drepper@redhat.com>
14349 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
14350 * sysdeps/x86_64/addmul_1.S: Likewise.
14351 * sysdeps/x86_64/lshift.S: Likewise.
14352 * sysdeps/x86_64/mul_1.S: Likewise.
14353 * sysdeps/x86_64/rshift.S: Likewise.
14354 * sysdeps/x86_64/sub_n.S: Likewise.
14355 * sysdeps/x86_64/submul_1.S: Likewise.
14357 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
14359 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
14360 Define __sched_param instead of SCHED_* and sched_param when
14361 <bits/sched.h> is included with __need_schedparam defined.
14362 * bits/sched.h [__need_schedparam]
14363 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
14364 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
14365 (__defined_schedparam): Define to 1.
14366 (__sched_param): New structure, identical to sched_param.
14367 (__need_schedparam): Undefine.
14369 2010-08-31 Mike Frysinger <vapier@gentoo.org>
14371 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
14372 (epoll_create1): Declare.
14374 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
14376 2010-08-31 Andreas Schwab <schwab@redhat.com>
14379 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
14380 shifting retval into place.
14382 2010-09-01 Ulrich Drepper <drepper@redhat.com>
14384 * nis/rpcsvc/nis.h: Update copyright notice.
14385 * nis/rpcsvc/nis.x: Likewise.
14386 * nis/rpcsvc/nis_callback.h: Likewise.
14387 * nis/rpcsvc/nis_callback.x: Likewise.
14388 * nis/rpcsvc/nis_object.x: Likewise.
14389 * nis/rpcsvc/nis_tags.h: Likewise.
14390 * nis/rpcsvc/yp.h: Likewise.
14391 * nis/rpcsvc/yp.x: Likewise.
14392 * nis/rpcsvc/ypupd.h: Likewise.
14393 * nis/yp_xdr.c: Likewise.
14394 * nis/ypupdate_xdr.c: Likewise.
14396 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
14397 mainly the body of pmap_getport. Add parameters to specify timeouts.
14398 (pmap_getport): Use __libc_rpc_getport.
14399 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
14400 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
14401 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
14403 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
14405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
14408 2010-08-27 Roland McGrath <roland@redhat.com>
14410 * sysdeps/i386/i686/multiarch/Makefile
14411 (CFLAGS-varshift.c): New variable.
14413 2010-08-27 Ulrich Drepper <drepper@redhat.com>
14415 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
14416 * sysdeps/i386/i686/multiarch/varshift.c: New file.
14418 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
14420 * sysdeps/x86_64/strlen.S: Minimal code improvement.
14422 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
14424 * sysdeps/x86_64/strlen.S: Unroll the loop.
14425 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14426 strlen-sse2 strlen-sse2-bsf.
14427 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
14428 __strlen_no_bsf if bit_Slow_BSF is set.
14429 (__strlen_sse42): Removed.
14430 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
14431 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
14433 2010-08-25 Roland McGrath <roland@redhat.com>
14435 * sysdeps/x86_64/multiarch/varshift.S: File removed.
14436 * sysdeps/x86_64/multiarch/varshift.c: New file.
14437 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
14438 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
14439 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
14440 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14442 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
14444 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14445 strlen-sse2 strlen-sse2-bsf.
14446 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
14447 __strlen_sse2_bsf if bit_Slow_BSF is unset.
14448 (__strlen_sse2): Removed.
14449 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
14450 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
14451 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
14452 bit_Slow_BSF for Atom.
14453 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
14454 (index_Slow_BSF): Define.
14455 (HAS_SLOW_BSF): Define.
14457 2010-08-25 Ulrich Drepper <drepper@redhat.com>
14460 * resolv/res_init.c (__res_vinit): When no server address at all
14461 is given default to loopback.
14463 2010-08-24 Roland McGrath <roland@redhat.com>
14465 * configure.in: Remove config-name.h generation.
14466 * configure: Regenerated.
14467 * config-name.in: File removed.
14468 * scripts/config-uname.sh: New file.
14469 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
14470 ($(objdir)config-name.h): New target.
14472 * sunrpc/rpc_parse.h: Avoid nested comment.
14474 2010-08-24 Richard Henderson <rth@redhat.com>
14475 Ulrich Drepper <drepper@redhat.com>
14476 H.J. Lu <hongjiu.lu@intel.com>
14478 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
14479 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
14480 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
14481 Replace _mm_srli_si128 with __m128i_shift_right. Replace
14482 _mm_alignr_epi8 with _mm_loadu_si128.
14483 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
14484 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
14485 (__m128i_shift_right): Removed.
14486 * sysdeps/i386/i686/multiarch/varshift.h: New file.
14487 * sysdeps/i386/i686/multiarch/varshift.S: New file.
14488 * sysdeps/x86_64/multiarch/varshift.h: New file.
14489 * sysdeps/x86_64/multiarch/varshift.S: New file.
14491 2010-08-21 Mike Frysinger <vapier@gentoo.org>
14493 * configure.in: Move assembler checks to before sysdep dir checking.
14495 2010-08-20 Petr Baudis <pasky@suse.cz>
14497 * LICENSES: Sync the sunrpc license.
14499 2010-08-19 Ulrich Drepper <drepper@redhat.com>
14501 * sunrpc/auth_des.c: Update copyright notice once again.
14502 * sunrpc/auth_none.c: Likewise.
14503 * sunrpc/auth_unix.c: Likewise.
14504 * sunrpc/authdes_prot.c: Likewise.
14505 * sunrpc/authuxprot.c: Likewise.
14506 * sunrpc/bindrsvprt.c: Likewise.
14507 * sunrpc/clnt_gen.c: Likewise.
14508 * sunrpc/clnt_perr.c: Likewise.
14509 * sunrpc/clnt_raw.c: Likewise.
14510 * sunrpc/clnt_simp.c: Likewise.
14511 * sunrpc/clnt_tcp.c: Likewise.
14512 * sunrpc/clnt_udp.c: Likewise.
14513 * sunrpc/clnt_unix.c: Likewise.
14514 * sunrpc/des_crypt.c: Likewise.
14515 * sunrpc/des_soft.c: Likewise.
14516 * sunrpc/get_myaddr.c: Likewise.
14517 * sunrpc/getrpcport.c: Likewise.
14518 * sunrpc/key_call.c: Likewise.
14519 * sunrpc/key_prot.c: Likewise.
14520 * sunrpc/openchild.c: Likewise.
14521 * sunrpc/pm_getmaps.c: Likewise.
14522 * sunrpc/pm_getport.c: Likewise.
14523 * sunrpc/pmap_clnt.c: Likewise.
14524 * sunrpc/pmap_prot.c: Likewise.
14525 * sunrpc/pmap_prot2.c: Likewise.
14526 * sunrpc/pmap_rmt.c: Likewise.
14527 * sunrpc/rpc/auth.h: Likewise.
14528 * sunrpc/rpc/auth_unix.h: Likewise.
14529 * sunrpc/rpc/clnt.h: Likewise.
14530 * sunrpc/rpc/des_crypt.h: Likewise.
14531 * sunrpc/rpc/key_prot.h: Likewise.
14532 * sunrpc/rpc/netdb.h: Likewise.
14533 * sunrpc/rpc/pmap_clnt.h: Likewise.
14534 * sunrpc/rpc/pmap_prot.h: Likewise.
14535 * sunrpc/rpc/pmap_rmt.h: Likewise.
14536 * sunrpc/rpc/rpc.h: Likewise.
14537 * sunrpc/rpc/rpc_des.h: Likewise.
14538 * sunrpc/rpc/rpc_msg.h: Likewise.
14539 * sunrpc/rpc/svc.h: Likewise.
14540 * sunrpc/rpc/svc_auth.h: Likewise.
14541 * sunrpc/rpc/types.h: Likewise.
14542 * sunrpc/rpc/xdr.h: Likewise.
14543 * sunrpc/rpc_clntout.c: Likewise.
14544 * sunrpc/rpc_cmsg.c: Likewise.
14545 * sunrpc/rpc_common.c: Likewise.
14546 * sunrpc/rpc_cout.c: Likewise.
14547 * sunrpc/rpc_dtable.c: Likewise.
14548 * sunrpc/rpc_hout.c: Likewise.
14549 * sunrpc/rpc_main.c: Likewise.
14550 * sunrpc/rpc_parse.c: Likewise.
14551 * sunrpc/rpc_parse.h: Likewise.
14552 * sunrpc/rpc_prot.c: Likewise.
14553 * sunrpc/rpc_sample.c: Likewise.
14554 * sunrpc/rpc_scan.c: Likewise.
14555 * sunrpc/rpc_scan.h: Likewise.
14556 * sunrpc/rpc_svcout.c: Likewise.
14557 * sunrpc/rpc_tblout.c: Likewise.
14558 * sunrpc/rpc_util.c: Likewise.
14559 * sunrpc/rpc_util.h: Likewise.
14560 * sunrpc/rpcinfo.c: Likewise.
14561 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
14562 * sunrpc/rpcsvc/key_prot.x: Likewise.
14563 * sunrpc/rpcsvc/klm_prot.x: Likewise.
14564 * sunrpc/rpcsvc/mount.x: Likewise.
14565 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
14566 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
14567 * sunrpc/rpcsvc/rex.x: Likewise.
14568 * sunrpc/rpcsvc/rstat.x: Likewise.
14569 * sunrpc/rpcsvc/rusers.x: Likewise.
14570 * sunrpc/rpcsvc/sm_inter.x: Likewise.
14571 * sunrpc/rpcsvc/spray.x: Likewise.
14572 * sunrpc/rpcsvc/yppasswd.x: Likewise.
14573 * sunrpc/rtime.c: Likewise.
14574 * sunrpc/svc.c: Likewise.
14575 * sunrpc/svc_auth.c: Likewise.
14576 * sunrpc/svc_authux.c: Likewise.
14577 * sunrpc/svc_raw.c: Likewise.
14578 * sunrpc/svc_run.c: Likewise.
14579 * sunrpc/svc_simple.c: Likewise.
14580 * sunrpc/svc_tcp.c: Likewise.
14581 * sunrpc/svc_udp.c: Likewise.
14582 * sunrpc/svc_unix.c: Likewise.
14583 * sunrpc/svcauth_des.c: Likewise.
14584 * sunrpc/xcrypt.c: Likewise.
14585 * sunrpc/xdr.c: Likewise.
14586 * sunrpc/xdr_array.c: Likewise.
14587 * sunrpc/xdr_float.c: Likewise.
14588 * sunrpc/xdr_mem.c: Likewise.
14589 * sunrpc/xdr_rec.c: Likewise.
14590 * sunrpc/xdr_ref.c: Likewise.
14591 * sunrpc/xdr_sizeof.c: Likewise.
14592 * sunrpc/xdr_stdio.c: Likewise.
14594 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
14597 2010-08-19 Andreas Schwab <schwab@redhat.com>
14599 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
14601 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
14603 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
14604 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
14605 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
14606 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
14607 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
14608 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
14609 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
14610 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
14611 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
14612 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
14613 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
14614 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
14615 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
14616 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
14618 2010-07-26 Anton Blanchard <anton@samba.org>
14620 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
14621 * malloc/arena.c (heap_trim): Likewise.
14623 2010-08-16 Ulrich Drepper <drepper@redhat.com>
14625 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
14627 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
14628 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
14630 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
14632 * sysdeps/i386/elf/Makefile: New file.
14634 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
14636 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
14637 from fanotify_init.
14638 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
14639 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14641 2010-08-15 Ulrich Drepper <drepper@redhat.com>
14643 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
14645 * sysdeps/multiarch/strcmp.S: Likewise.
14647 2010-08-14 Ulrich Drepper <drepper@redhat.com>
14649 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
14650 strncase_l-nonascii.
14651 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
14652 Add strncase_l-ssse3.
14653 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
14654 * sysdeps/x86_64/strcmp.S: Likewise.
14655 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
14656 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
14657 * sysdeps/x86_64/strncase.S: New file.
14658 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
14659 * sysdeps/x86_64/strncase_l.S: New file.
14660 * string/Makefile (strop-tests): Add strncasecmp.
14661 * string/test-strncasecmp.c: New file.
14663 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
14666 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
14667 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
14669 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
14671 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
14673 2010-08-12 Ulrich Drepper <drepper@redhat.com>
14675 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
14676 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
14677 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
14679 2010-05-01 Alan Modra <amodra@gmail.com>
14681 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
14682 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
14683 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
14684 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
14685 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
14686 tidying. Don't tail-call __sigjmp_save for static lib.
14687 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
14689 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
14690 (CALL_MCOUNT): Add eh info, and nop after bl.
14691 (TAIL_CALL_SYSCALL_ERROR): New macro.
14692 (PSEUDO_RET): Use it.
14693 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
14694 Correct save location of integer regs and cr.
14695 (_dl_profile_resolve): Correct cr save location. Delete nops
14696 after bl when SHARED. Reduce cfi size a little by better
14697 placement of cfi directives.
14698 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
14699 make a stack frame. Instead use parm save area as a temp.
14700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
14701 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
14702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14703 Don't make a stack frame for parent, use parm save area.
14704 Increase child stack frame to 112 bytes. Don't save unused reg,
14705 and adjust reg usage. Set up cfi on error recovery and
14706 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
14707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14708 (__makecontext): Add dummy nop after jump to exit.
14709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
14710 Use correct parm save area and cr save, reduce stack frame.
14711 Correct cfi for possible PSEUDO_RET frame setup.
14712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
14713 Branch to local label emitted by PSEUDO_RET rather than
14716 2010-08-12 Andreas Schwab <schwab@redhat.com>
14719 * locale/programs/locale.c (print_assignment): New function.
14720 (show_locale_vars): Use it.
14722 2010-08-11 Ulrich Drepper <drepper@redhat.com>
14724 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
14726 (struct statfs64): Likewise.
14727 (_STATFS_F_FLAGS): Define.
14728 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
14729 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14730 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
14731 (ST_VALID): Define locally.
14732 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
14733 __statvfs_getflags, use the provided value.
14734 * sysdeps/unix/sysv/linux/kernel-features.h: Define
14735 __ASSUME_STATFS_F_FLAGS.
14737 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
14739 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
14740 Add sys/fanotify.h.
14741 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
14742 fanotify_mask for GLIBC_2.13.
14743 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
14744 fanotify_init and fanotify_mark.
14745 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14746 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
14748 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
14750 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
14751 prlimit64 for GLIBC_2.13.
14752 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
14754 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
14756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
14757 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
14758 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
14759 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
14760 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
14762 * sysdeps/unix/sysv/linux/prlimit.c: New file.
14765 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
14766 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
14768 * nss/Makefile: Add rules to build and run tst-nss-test1.
14769 * shlib-versions: Add entry for libnss_test1.
14770 * nss/nss_test1.c: New file.
14771 * nss/tst-nss-test1.c: New file.
14773 * nss/nsswitch.c (__nss_database_custom): Define new variable.
14774 (__nss_configure_lookup): Set appropriate entry in
14775 __nss_configure_lookup to true.
14776 * nss/nsswitch.h: Define enum with indeces of databases in
14777 databases and __nss_database_custom arrays. Declare
14778 __nss_database_custom.
14779 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
14780 to avoid using nscd when custom rules are installed.
14781 * nss/getXXbyYY_r.c: Likewise.
14782 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14784 * nss/nss_files/files-parse.c: Whitespace fixes.
14786 2010-08-09 Ulrich Drepper <drepper@redhat.com>
14789 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
14790 * posix/fnmatch_loop.c: Likewise.
14792 2010-07-17 Andi Kleen <ak@linux.intel.com>
14794 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
14795 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
14796 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
14797 * Versions.def [GLIBC_2.13]: Add.
14799 2010-08-06 Ulrich Drepper <drepper@redhat.com>
14801 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14802 Also fail if tpwd after pwuid call is NULL.
14804 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
14806 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
14807 when converting to ms.
14809 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14811 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
14812 EOPNOTSUPP errors with ENOTTY.
14813 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
14814 EOPNOTSUPP errors with ENOTTY.
14816 2010-07-31 Ulrich Drepper <drepper@redhat.com>
14818 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
14819 Add strcasecmp_l-ssse3.
14820 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
14822 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
14823 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
14824 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
14826 2010-07-30 Ulrich Drepper <drepper@redhat.com>
14828 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
14830 * string/Makefile (strop-tests): Add strcasecmp.
14831 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
14832 strcasecmp_l-nonascii.
14833 (gen-as-const-headers): Add locale-defines.sym.
14834 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
14835 * sysdeps/x86_64/strcasecmp.S: New file.
14836 * sysdeps/x86_64/strcasecmp_l.S: New file.
14837 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
14838 * sysdeps/x86_64/locale-defines.sym: New file.
14839 * string/test-strcasecmp.c: New file.
14841 * string/test-strcasestr.c: Test both ends of the range of characters.
14842 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
14844 2010-07-29 Roland McGrath <roland@redhat.com>
14847 * manual/locale.texi (Yes-or-No Questions): Fix example code.
14849 2010-07-27 Ulrich Drepper <drepper@redhat.com>
14851 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
14854 2010-07-27 Andreas Schwab <schwab@redhat.com>
14856 * manual/memory.texi (Malloc Tunable Parameters): Document
14859 2010-07-26 Roland McGrath <roland@redhat.com>
14862 * configure.in (-fgnu89-inline check): Set and substitute
14863 gnu89_inline, not libc_cv_gnu89_inline.
14864 * configure: Regenerated.
14865 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
14867 2010-07-26 Ulrich Drepper <drepper@redhat.com>
14869 * string/test-strnlen.c: New file.
14870 * string/Makefile (strop-tests): Add strnlen.
14871 * string/tester.c (test_strnlen): Add a few more test cases.
14872 * string/tst-strlen.c: Better error reporting.
14874 * sysdeps/x86_64/strnlen.S: New file.
14876 2010-07-24 Ulrich Drepper <drepper@redhat.com>
14878 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
14879 lower-latency instructions.
14881 2010-07-23 Ulrich Drepper <drepper@redhat.com>
14883 * string/test-strcasestr.c: New file.
14884 * string/test-strstr.c: New file.
14885 * string/Makefile (strop-tests): Add strstr and strcasestr.
14886 * string/str-two-way.h: Don't undefine MAX.
14887 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
14889 2010-07-21 Andreas Schwab <schwab@redhat.com>
14891 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14892 strcasestr-nonascii.
14893 (CFLAGS-strcasestr-nonascii.c): Define.
14894 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
14895 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
14896 Remove unused attribute.
14898 2010-07-20 Roland McGrath <roland@redhat.com>
14900 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
14901 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
14902 ld.so.cache was broken. With it, there is no way to disable dsocaps
14903 like LD_HWCAP_MASK can disable hwcaps.
14905 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
14907 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
14909 2010-07-16 Ulrich Drepper <drepper@redhat.com>
14911 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
14912 call in strcasestr.
14913 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
14914 __strcasestr_sse42_nonascii.
14915 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
14916 strcasestr-nonascii.c.
14917 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
14919 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
14921 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
14922 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
14923 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
14924 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
14926 2010-07-09 Ulrich Drepper <drepper@redhat.com>
14928 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
14931 2010-07-06 Andreas Schwab <schwab@redhat.com>
14934 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
14937 2010-07-06 Ulrich Drepper <drepper@redhat.com>
14939 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
14940 _PC_PIPE_BUF using F_GETPIPE_SZ.
14942 2010-07-05 Roland McGrath <roland@redhat.com>
14944 * manual/arith.texi (Rounding Functions): Fix rint description
14945 implicit in round description.
14947 2010-07-02 Ulrich Drepper <drepper@redhat.com>
14949 * elf/Makefile: Fix linking for a few tests to make recent linker
14952 2010-06-30 Andreas Schwab <schwab@redhat.com>
14954 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
14955 $(common-objpfx)libc_nonshared.a.
14957 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
14959 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
14960 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
14961 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
14962 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
14963 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
14964 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
14965 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
14966 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
14967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
14968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
14969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
14970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
14971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
14972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
14973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
14974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
14975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
14976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
14977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
14978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
14979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
14980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
14981 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
14982 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
14983 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
14984 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
14985 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
14986 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
14987 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
14988 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
14989 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
14990 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
14991 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
14992 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
14993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
14994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
14995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
14996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
14997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
14998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
14999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
15000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
15001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
15002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
15003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
15004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
15005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
15006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
15008 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
15010 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
15011 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
15012 * string/memmove.c (memmove): Renamed to ...
15013 (MEMMOVE): ...this. Default to memmove.
15014 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
15015 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
15017 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15018 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
15019 mempcpy-ssse3-back memmove-ssse3-back.
15020 * sysdeps/x86_64/multiarch/bcopy.S: New file .
15021 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
15022 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
15023 * sysdeps/x86_64/multiarch/memcpy.S: New file.
15024 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
15025 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
15026 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
15027 * sysdeps/x86_64/multiarch/memmove.c: New file.
15028 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
15029 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
15030 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
15031 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
15032 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
15033 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
15035 (index_Fast_Copy_Backward): Define.
15036 (HAS_ARCH_FEATURE): Define.
15037 (HAS_FAST_REP_STRING): Define.
15038 (HAS_FAST_COPY_BACKWARD): Define.
15040 2010-06-21 Andreas Schwab <schwab@redhat.com>
15042 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15043 Restore proper fallback handling.
15045 2010-06-19 Ulrich Drepper <drepper@redhat.com>
15048 * posix/group_member.c (__group_member): Correct checking loop.
15050 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
15051 OOM in getpwuid_r correctly. Return error number when the caller
15052 should return, otherwise -1.
15053 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
15054 call returning > 0 value.
15055 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
15057 2010-06-07 Andreas Schwab <schwab@redhat.com>
15059 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
15060 libc_nonshared.a from targets in modules-names.
15062 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
15064 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
15067 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
15069 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
15070 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
15071 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
15072 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
15074 2010-06-02 Andreas Schwab <schwab@redhat.com>
15076 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
15078 2010-06-14 Ulrich Drepper <drepper@redhat.com>
15080 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
15082 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
15083 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15084 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15085 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15086 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15087 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
15089 2010-06-14 Roland McGrath <roland@redhat.com>
15091 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
15093 2010-06-07 Jakub Jelinek <jakub@redhat.com>
15095 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
15096 __REDIRECT followed by __THROW.
15097 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
15098 * posix/getopt.h (getopt): Likewise.
15100 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
15102 * hurd/lookup-at.c (__file_name_lookup_at): Accept
15103 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
15104 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
15106 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
15107 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
15109 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
15111 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
15113 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
15116 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15117 Properly check family and model.
15119 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
15121 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
15123 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
15125 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
15127 2010-05-21 Ulrich Drepper <drepper@redhat.com>
15129 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
15132 2010-05-19 Andreas Schwab <schwab@redhat.com>
15134 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
15137 2010-05-21 Andreas Schwab <schwab@redhat.com>
15139 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
15140 and internal_recvmmsg.
15141 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
15142 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
15143 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
15144 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
15146 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
15147 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
15148 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
15150 2010-05-20 Andreas Schwab <schwab@redhat.com>
15152 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
15154 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
15156 POWER7 optimizations.
15157 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
15158 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
15160 2010-05-19 Ulrich Drepper <drepper@redhat.com>
15162 * version.h: Update for 2.13 development version.
15164 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
15166 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
15167 exceptions. Return 0.
15169 2010-05-07 Roland McGrath <roland@redhat.com>
15171 * elf/ldconfig.c (main): Add a const.
15173 2010-05-06 Ulrich Drepper <drepper@redhat.com>
15175 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
15176 (args_options): Add no-idn option.
15177 (ahosts_keys_int): Add idn_flags to ai_flags.
15178 (parse_option): Handle 'i' option to clear idn_flags.
15180 * malloc/malloc.c (_int_free): Possible race in the most recently
15181 added check. Only act on the data if no current modification
15184 See ChangeLog.17 for earlier changes.