1 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
3 mktime: do not assume signed right shift propagates sign bit
4 * time/mktime.c (isdst_differ): New static function.
5 (__mktime_internal): No need to normalize tm_isdst now.
6 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
9 mktime: merge another wrapv change from gnulib
10 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
13 mktime: remove incorrect attempt at unusual arithmetics
14 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
15 The code didn't really work on such machines anyway.
16 (TYPE_MINIMUM): Assume two's complement.
17 (twos_complement_arithmetic): Verify that long_int and time_t
18 are two's complement (or unsigned, in the latter case).
20 mktime: check signed shifts on long_int and time_t, too
21 * time/mktime.c (SHR): Check that shifts work as desired
22 on the types long_int and time_t too, as SHR is used on
25 mktime: do not assume 'long' is wide enough
26 * time/mktime.c (verify): Move decl up.
28 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
29 to remove assumption in the code that 'long' is wide enough to
30 store year values. This assumption is not true on x32 and on
31 some non-glibc platforms.
33 mktime: merge wrapv change from gnulib
34 * time/mktime.c (WRAPV): New macro.
35 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
36 (guess_time_tm, __mktime_internal): Do not assume that signed
37 integer overflow wraps around; modern compilers generate code
38 where this assumption is no longer valid.
40 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
42 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
43 Replace "jmp L(pseudo_end)" with "ret".
44 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
47 2012-05-23 Andreas Jaeger <aj@suse.de>
49 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
50 * sysdeps/unix/sysv/linux/poll.c: Remove file.
52 2012-05-23 Andreas Jaeger <aj@suse.de>
53 Maximilian Attems <max@stro.at>
55 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
58 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
60 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
61 code so that pseudo_end is just ret and the stack pointer is
62 correct also for static library in error case.
64 2012-05-23 Joseph Myers <joseph@codesourcery.com>
66 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
67 move to syscalls.list.
68 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
69 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
70 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
71 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
73 * manual/install.texi (Running make install): Do not mention Linux
74 kernel version for which pt_chown is not needed.
75 (Linux): Do not mention problems with nscd with 2.0 kernels.
76 * INSTALL: Regenerated.
78 2012-05-23 Andreas Jaeger <aj@suse.de>
80 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
81 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
83 * sysdeps/unix/sysv/linux/s390/bits/mman.h
84 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
85 * sysdeps/unix/sysv/linux/sh/bits/mman.h
86 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
87 * sysdeps/unix/sysv/linux/i386/bits/mman.h
88 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
89 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
90 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
91 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
92 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
93 * sysdeps/unix/sysv/linux/bits/in.h
94 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
96 2012-05-22 Roland McGrath <roland@hack.frob.com>
98 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
99 (PREPARE_VERSION): Just use assert instead, it will be elided
100 under [NDEBUG] anyway.
102 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
104 * sysdeps/unix/sysv/linux/Makefile: Include
105 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
106 (sysdep_routines): Remove sysctl.
107 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
108 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
109 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
110 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
111 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
113 2012-05-22 Andreas Jaeger <aj@suse.de>
115 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
116 that pseudo_end is just ret and the stack pointer is correct also
117 for static library in error case.
119 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
122 * nss/nsswitch.c (defconfig_entries): New variable.
123 (__nss_database_lookup): Don't leak defconfig entries.
124 (nss_parse_service_list): Don't leak on error paths.
125 (free_database_entries): New function.
126 (free_defconfig): New function.
127 (free_mem): Move common code to free_database_entries.
129 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
131 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
133 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
135 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
136 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
137 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
139 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
140 (INTERNAL_SYSCALL_TYPES): Likewise.
141 (LOAD_ARGS_TYPES_[1-6]): Likewise.
142 (LOAD_REGS_TYPES_[1-6]): Likewise.
143 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
144 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
146 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
148 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
149 copysignl for GLIBC_2_0.
150 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
151 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
152 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
154 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
155 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
157 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
159 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
160 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
162 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
165 * time/mktime.c: Update copyright years.
167 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
169 mktime: merge comment-quoting-style change from gnulib
170 * time/mktime.c: Quote 'like this' in comments.
171 The GNU coding standards suggest that we no longer quote `like this',
172 as "`" and "'" are typically rendered asymmetrically nowadays.
173 The typical gnulib style is to quote 'like this' when quoting
174 code, and "like this" when quoting English.
176 * time/mktime.c (compile-command): Add "-I.".
178 mktime: merge mktime-internal.h change from gnulib
179 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
181 mktime: merge time_r change from gnulib
182 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
184 mktime: merge DEBUG change from gnulib
185 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
186 case system <time.h> has a #define.
188 mktime: merge <sys/types.h> change from gnulib
189 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
190 since <time.t> is now guaranteed to define time_t.
192 mktime: merge HAVE_CONFIG_H change from gnulib
193 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
195 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
197 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
200 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
202 (struct rusage): Use anonymous union to pad each field to
205 2012-05-21 David S. Miller <davem@davemloft.net>
207 * Makefules (o-iterator): Remove .s cases.
208 (compile-command.s): Delete.
210 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
212 2012-05-21 Joseph Myers <joseph@codesourcery.com>
214 * configure.in (libc_cv_predef_stack_protector): Only consider
215 "foobar" and "__stack_chk_fail" lines in libc_undefs.
216 * configure: Regenerated.
218 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
220 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
221 New macro. Use R*LP on int and pointer.
222 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
223 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
224 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
225 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
227 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
228 [__WORDSIZE_TIME64_COMPAT32] instead of
229 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
230 (struct utmp): Likewise.
231 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
232 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
234 (__WORDSIZE_TIME64_COMPAT32): This.
235 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
236 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
237 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
238 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
239 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
240 (__WORDSIZE_TIME64_COMPAT32): New macro.
242 2012-05-21 Andreas Jaeger <aj@suse.de>
244 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
245 only if [SHARED]. Add prototype for __wcschr_ia32.
247 2012-05-21 Roland McGrath <roland@hack.frob.com>
249 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
250 of %rbp unmolested in the jmp_buf while mangling the low bits.
251 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
252 unmolested high bits of %rbp while demangling the low bits.
253 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
255 2012-05-21 Andreas Jaeger <aj@suse.de>
257 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
258 * sunrpc/svc_simple.c: Use it for registerrpc.
259 * sunrpc/xcrypt.c: Use it for passwd2des.
261 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
263 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
265 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
266 Don't define if [__SYSCALL_WORDSIZE != 32].
267 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
270 2012-05-21 Bruno Haible <bruno@clisp.org>
271 Andreas Jaeger <aj@suse.de>
273 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
274 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
275 inptr and inend for must_buffer_ch.
276 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
277 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
278 * stdio-common/Makefile (tests): Remove bug15.
279 (bug15-ENV): Remove macro.
280 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
283 2012-05-19 Andreas Jaeger <aj@suse.de>
284 Roland McGrath <roland@hack.frob.com>
286 * manual/contrib.texi: Completely rewritten. It contains now an
287 alphabetical list of contributors and their contributions.
289 2012-05-21 Richard Henderson <rth@twiddle.net>
291 * misc/getauxval.c (__getauxval): Use unsigned long int.
292 * misc/sys/auxv.h: Include <sys/cdefs.h>.
293 (getauxval): Use unsigned long int.
295 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
297 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
299 2012-05-21 Roland McGrath <roland@hack.frob.com>
301 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
302 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
303 __alignof__ (long double).
305 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
307 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
309 2012-05-20 Richard Henderson <rth@twiddle.net>
311 * misc/getauxval.c: New file.
312 * misc/sys/auxv.h: New file.
313 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
314 (routines): Add getauxval.
315 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
316 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
317 * elf/dl-sysdep.c (_dl_auxv): Remove.
318 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
319 * elf/dl-support.c (_dl_auxv): New variable.
320 (_dl_aux_init): Initialize it.
321 * manual/startup.texi (Auxiliary Vector): New node.
322 * sysdeps/generic/bits/hwcap.h: New file.
323 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
324 * sysdeps/powerpc/sysdep.h: ... here. Include it.
325 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
326 * sysdeps/sparc/sysdep.h: ... here. Include it.
327 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
328 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
332 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
333 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
334 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
335 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
336 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
337 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
338 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
340 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
342 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
344 2012-05-19 David S. Miller <davem@davemloft.net>
346 * sysdeps/sparc/fpu/libm-test-ulps: Update.
348 2012-05-19 Joseph Myers <joseph@codesourcery.com>
351 * math/s_ccosh.c: Include <float.h>
352 (__ccosh): Avoid internal overflow calculating sinh and cosh
353 values before multiplying by sin and cos values.
354 * math/s_ccoshf.c: Likewise.
355 * math/s_ccoshl.c: Likewise.
356 * math/s_csin.c: Likewise.
357 * math/s_csinf.c: Likewise.
358 * math/s_csinl.c: Likewise.
359 * math/s_csinh.c: Likewise.
360 * math/s_csinhf.c: Likewise.
361 * math/s_csinhl.c: Likewise.
362 * math/libm-test.inc (ccos_test): Add more tests.
363 (ccosh_test): Likewise.
364 (csin_test): Likewise.
365 (csinh_test): Likewise.
366 * sysdeps/i386/fpu/libm-test-ulps: Update.
367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
369 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
371 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
372 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
374 * sysdeps/x86_64/x32/_itoa.h: Add comment.
376 2012-05-19 Joseph Myers <joseph@codesourcery.com>
378 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
379 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
380 * sysdeps/powerpc/soft-fp/Versions: Likewise.
381 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
382 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
383 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
384 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
385 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
386 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
387 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
388 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
389 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
390 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
391 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
392 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
393 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
394 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
395 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
396 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
397 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
398 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
399 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
400 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
401 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
402 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
403 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
404 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
405 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
406 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
407 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
408 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
410 2012-05-18 Andreas Jaeger <aj@suse.de>
412 * csu/.gitignore: Delete.
414 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
416 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
417 (timex): Use __syscall_slong_t.
419 2012-05-18 Andreas Jaeger <aj@suse.de>
420 Carlos O'Donell <carlos_odonell@mentor.com>
422 * manual/install.texi (Configuring and compiling): Update
423 description about files modified in the source directory.
424 * INSTALL: Regenerated.
426 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
428 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
429 value. Use "or" to set return value to -1.
430 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
433 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
435 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
436 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
437 failure if the compiler has Graphite support disabled.
438 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
440 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
441 CFLAGS-memmove.c): Likewise.
442 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
445 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
447 * sysdeps/x86_64/x32/_itoa.h: New file.
449 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
450 getdents system call only if kernel and user dirents have the
451 same d_ino and d_off.
453 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
454 LLONG_MAX != LONG_MAX.
455 (_itoa_word): Use _ITOA_WORD_TYPE on value.
456 (_fitoa_word): Likewise.
458 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
460 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
461 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
462 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
464 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
465 include <bits/wordsize.h>. Check __x86_64__ instead of
467 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
468 if __x86_64__ is defined. Use anonymous union on fpstate.
470 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
473 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
475 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
476 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
477 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
478 Refer to _rtld_local_ro instead of _rtld_global_ro.
479 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
481 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
483 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
485 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
486 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
487 of _rtld_global, and rtld_progname instead of _dl_argv[0].
489 * sysdeps/powerpc/powerpc32/dl-machine.c
490 (__elf_machine_runtime_setup) [PROF]: Don't reference
493 2012-05-18 Andreas Jaeger <aj@suse.de>
495 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
496 function only available for GCCs before 3.4 since GCC 3.4
497 introduced a builtin.
507 (nearbyint): Likewise.
508 (nearbyintf): Likewise.
514 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
516 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
517 on both fields and cast pointer to __syscall_ulong_t.
519 * bits/types.h (__fsword_t): New type.
520 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
521 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
522 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
523 (__FSWORD_T_TYPE): Likewise.
524 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
525 (__FSWORD_T_TYPE): Likewise.
526 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
527 (__FSWORD_T_TYPE): Likewise.
528 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
529 (__FSWORD_T_TYPE): Likewise.
530 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
531 __SWORD_TYPE with __fsword_t.
532 (statfs64): Likewise.
534 2012-05-17 David S. Miller <davem@davemloft.net>
536 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
538 2012-05-17 Andreas Jaeger <aj@suse.de>
540 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
543 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
545 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
547 2012-05-17 Andreas Jaeger <aj@suse.de>
549 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
552 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
554 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
556 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
558 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
559 * sysdeps/x86_64/tst-mallocalign1.c: New file.
561 2012-05-17 Andreas Jaeger <aj@suse.de>
562 Carlos O'Donell <carlos_odonell@mentor.com>
565 * sysdeps/x86_64/multiarch/init-arch.h
566 (bit_YMM_Usable): Rename to...
567 (bit_AVX_Usable): ... this.
568 (bit_FMA4_Usable): New macro.
569 (bit_XMM_state): New macro.
570 (bit_YMM_state): New macro.
571 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
572 [__ASSEMBLER__] (index_AVX_Usable): ... this.
573 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
574 (CPUID_OSXSAVE): New macro.
575 (CPUID_AVX): New macro.
576 (CPUID_FMA4): New macro.
577 (index_YMM_Usable): Rename to...
578 (index_AVX_Usable): ... this.
579 (HAS_AVX): Use HAS_ARCH_FEATURE.
580 (HAS_FMA4): Likewise.
581 (HAS_YMM_USABLE): Remove.
582 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
583 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
585 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
586 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
587 * sysdeps/x86_64/multiarch/Makefile: Likewise.
588 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
589 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
591 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
593 * math/libm-test.c: Support platforms without multiple rounding modes.
594 * math/bug-nextafter.c: Support platforms without FP exceptions.
595 * math/bug-nexttoward.c: Likewise.
596 * math/test-fenv.c: Likewise.
597 * math/test-misc.c: Likewise.
598 * stdlib/bug-getcontext.c: Likewise.
600 2012-05-17 Andreas Jaeger <aj@suse.de>
602 * manual/examples/search.c (critter_cmp): Change signature to
604 * manual/string.texi (Collation Functions): Likewise.
606 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
608 * bits/types.h: Fold copyright years.
609 * bits/typesizes.h: Likewise.
610 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
611 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
612 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
613 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
614 * time/time.h: Likewise.
616 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
619 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
620 in instead of returning them. Return void.
621 (__libc_mallinfo): Accumulate over all arenas.
622 (__malloc_stats): Adjust for change in int_mallinfo interface.
624 2012-05-16 Roland McGrath <roland@hack.frob.com>
627 * configure.in (NM): Add AC_CHECK_TOOL for it.
628 (libc_extra_cflags): New substituted variable.
629 Check for -fstack-protector being used implicitly.
630 * configure: Regenerated.
631 * config.make.in (config-extra-cflags): New variable,
632 gets @libc_extra_cflags@.
633 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
636 * configure.in: Check for _FORTIFY_SOURCE being predefined.
637 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
638 * configure: Regenerated.
639 * config.make.in (CPPUNDEFS): New substituted variable.
640 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
641 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
642 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
644 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
646 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
647 (mq_attr): Use __syscall_slong_t.
649 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
651 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
652 Check __x86_64__ instead of __WORDSIZE.
653 (_STAT_VER_LINUX): Likewise.
654 (stat): Check __x86_64__ instead of __WORDSIZE. Use
655 __syscall_ulong_t and __syscall_slong_t.
658 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
660 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
662 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
664 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
666 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
668 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
671 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
672 include <bits/wordsize.h>. Check __x86_64__ instead of
674 (greg_t): Use "__extension__ long long int" if __x86_64__ is
676 (mcontext_t): Replace "unsigned long" with "unsigned long long".
678 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
679 include <bits/wordsize.h>. Check __x86_64__ instead of
681 (user_regs_struct): Use "__extension__ unsigned long long"
682 instead of "unsigned long" if __x86_64__ is defined.
683 (user): Likewise. Pad after pointer field if __ILP32__ is
686 2012-05-16 Joseph Myers <joseph@codesourcery.com>
688 * configure.in (makeinfo): Require version 4.5 or later. Allow
690 * configure: Regenerated.
691 * manual/install.texi (texinfo): Increase version requirement to
693 * INSTALL: Regenerated.
695 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
697 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
699 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
701 * sysdeps/x86_64/x32/ffs.c: New file.
703 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
705 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
706 defined. Use __syscall_ulong_t.
707 (shminfo): Use __syscall_ulong_t.
708 (shm_info): Likewise.
710 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
713 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
715 (msgqnum_t): Use __syscall_ulong_t.
716 (msglen_t): Likewise.
717 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
720 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
721 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
723 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
725 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
726 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
728 * sysvipc/sys/msg.h (msgbuf): Replace long int with
731 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
732 include <bits/wordsize.h>. Check __x86_64__ instead of
735 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
736 "unsigned long long int" if __x86_64__ is defined.
737 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
739 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
740 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
741 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
743 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
745 (GET_PC): Cast to uintptr_t first.
746 (GET_FRAME): Likewise.
747 (GET_STACK): Likewise.
749 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
750 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
751 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
752 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
753 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
754 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
755 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
756 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
757 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
758 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
759 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
760 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
761 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
762 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
763 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
764 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
765 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
766 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
767 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
768 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
769 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
770 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
771 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
772 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
773 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
774 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
775 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
776 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
777 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
779 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
781 * Makerules (+depfiles): Also collect depfiles from .oS in
783 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
784 .oS, $(libnldbl-routines)).
786 * Makerules (native-compile-mkdep-flags): Define.
787 * sunrpc/Makefile (extra-objs): Add $(addprefix
788 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
789 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
790 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
791 calling $(make-target-directory).
793 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
795 * bits/types.h (__snseconds_t): Removed.
796 * time/time.h (struct timespec): Replace __snseconds_t with
798 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
799 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
801 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
802 (__SNSECONDS_T_TYPE): Likewise.
803 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
804 (__SNSECONDS_T_TYPE): Likewise.
805 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
806 (__SNSECONDS_T_TYPE): Likewise.
808 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
810 * sysdeps/mach/hurd/bits/typesizes.h
811 (__SYSCALL_SLONG_TYPE): New macro.
812 (__SYSCALL_ULONG_TYPE): Likewise.
814 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
816 * bits/types.h (__syscall_slong_t): New type.
817 (__syscall_ulong_t): Likewise.
819 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
820 (__SYSCALL_ULONG_TYPE): Likewise.
821 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
822 (__SYSCALL_SLONG_TYPE): Likewise.
823 (__SYSCALL_ULONG_TYPE): Likewise.
824 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
825 (__SYSCALL_SLONG_TYPE): Likewise.
826 (__SYSCALL_ULONG_TYPE): Likewise.
827 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
828 (__SYSCALL_SLONG_TYPE): Likewise.
829 (__SYSCALL_ULONG_TYPE): Likewise.
831 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
833 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
834 Add sigaltstack-offsets.sym.
835 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
836 <sigaltstack-offsets.h>.
837 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
839 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
840 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
842 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
844 2012-05-15 Joseph Myers <joseph@codesourcery.com>
846 * elf/stackguard-macros.h: Remove file.
847 * sysdeps/generic/stackguard-macros.h: New file.
848 * sysdeps/i386/stackguard-macros.h: Likewise.
849 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
850 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
851 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
852 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
853 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
854 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
855 * sysdeps/x86_64/stackguard-macros.h: Likewise.
856 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
857 <elf/stackguard-macros.h>.
860 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
861 __aligned__ in attribute.
862 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
863 (gregset_t): Likewise.
865 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
867 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
868 * sysdeps/x86_64/64/Implies-after: Here. New file.
869 * sysdeps/x86_64/x32/Implies-after: New file.
871 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
873 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
874 and access return value for _dl_profile_fixup. Use R10_LP to
877 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
879 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
881 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
883 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
884 * sysdeps/x86_64/x32/sysdep.h: New file.
886 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
888 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
889 * sysdeps/x86_64/setjmp.S: Likewise.
891 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
893 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
894 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
895 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
896 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
897 remove unused global constant.
899 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
901 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
902 include of <not-cancel.h>.
904 2012-05-15 Roland McGrath <roland@hack.frob.com>
906 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
908 2012-05-15 Jeff Law <law@redhat.com>
909 Andreas Jaeger <aj@suse.de>
912 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
914 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
915 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
916 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
917 code changing __hst_map_handle.map.
919 2012-05-15 Roland McGrath <roland@hack.frob.com>
921 * configure.in (sysnames): Look for Implies-before and Implies-after
923 * configure: Regenerated.
925 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
927 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
928 8-byte data alignment with LP_SIZE alignment.
930 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
932 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
935 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
937 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
939 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
941 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
942 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
943 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
945 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
947 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
949 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
950 (stackinfo_sub_sp): Likewise.
952 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
954 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
957 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
959 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
962 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
964 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
967 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
969 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
971 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
973 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
974 into R11_LP and load __x86_64_shared_cache_size_half into
977 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
979 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
982 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
984 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
986 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
988 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
990 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
991 powerpc32/power7/fpu/s_logb.c via #include.
992 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
993 powerpc32/power7/fpu/s_logbf.c via #include.
994 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
995 powerpc32/power7/fpu/s_logbl.c via #include.
997 2012-05-15 Joseph Myers <joseph@codesourcery.com>
999 * README.libm: Remove file.
1001 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1003 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
1004 count for x32. Use R*_LP and omit operand-size suffix.
1006 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1008 * shlib-versions: Move x86_64-.*-linux.* entries to ...
1009 * sysdeps/x86_64/64/shlib-versions: Here. New file.
1010 * sysdeps/x86_64/x32/shlib-versions: New file.
1012 2012-05-14 Roland McGrath <roland@hack.frob.com>
1014 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
1015 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
1016 Use _dl_fatal_printf instead.
1018 2012-05-14 Joseph Myers <joseph@codesourcery.com>
1020 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
1021 set if not set by the user. Do not allow for being unset.
1022 * sysdeps/unix/sysv/linux/configure: Regenerated.
1024 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1026 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
1027 the `q' suffix from lea and replace .quad with ASM_ADDR.
1029 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1031 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
1032 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
1034 (PTR_DEMANGLE): Likewise.
1036 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1038 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
1040 (ASM_ADDR): Likewise.
1058 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1060 * sysdeps/x86_64/x32/dl-machine.h: New file.
1062 2012-05-14 Andreas Jaeger <aj@suse.de>
1064 * manual/Makefile (subdir): Remove export of subdir.
1065 (all): Remove target.
1066 (.PHONY): Remove all from list.
1067 (mkinstalldirs): Remove.
1068 (.PHONY): Remove installdirs from list.
1069 ($(inst_infodir)/libc.info): Use make-target-directory.
1070 (installdirs): Remove.
1072 (glibc-targets): Remove.
1075 ($(objpfx)stubs ../po/manual.pot): Remove.
1076 ($(objpfx)stamp%): Remove.
1077 (make-target-directory): Remove.
1078 (subdir_install): Remove.
1086 * manual/.gitignore: Remove, it's not needed anymore.
1087 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
1089 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
1091 (texis): Renamed to $(objpfx)texis.
1092 (texis-path): New, contains path to generated files.
1093 (chapters.%): Use texis-path for complete path, add extra argument
1095 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
1096 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
1097 (summary,texi, stamp-summary): Use complete path of
1098 files. Generate files in build dir.
1099 (dir-add.texi): Build in build dir.
1100 (libm-err.texi,stamp-libm-err): Likewise.
1101 (version.texi, stamp-version): Likewise.
1102 (.%c.texi): Likewise.
1103 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
1104 (mostlyclean): Remove target.
1105 (realclean): Remove target.
1106 (generated): Add new variable with contents from mostlyclean and
1107 realclean, remove entries duplicated in common-mostlyclean, add
1108 stamp-libm-err and stamp-version.
1109 (generated-dirs): Add libc directory.
1110 ($(inst_infodir)/libc.info): Install files from build dir.
1112 * manual/install.texi (Configuring and compiling): Adjust since
1113 the info files are not part of the tar ball anymore.
1115 2012-05-14 Andreas Jaeger <aj@suse.de>
1117 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
1120 2012-05-14 Joseph Myers <joseph@codesourcery.com>
1123 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
1124 to 2.2.0 where earlier.
1125 * sysdeps/unix/sysv/linux/configure: Regenerated.
1126 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
1127 Remove conditional code.
1128 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
1129 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
1130 Remove conditional code.
1131 [!__NR_lchown]: Likewise.
1132 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
1133 [__NR_lchown]: Likewise.
1134 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
1135 comment referencing __ASSUME_LCHOWN_SYSCALL.
1136 * sysdeps/unix/sysv/linux/i386/sigaction.c
1137 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1138 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1139 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
1140 Remove conditional code.
1141 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
1142 (__protocol_available): Remove #if 0 code.
1143 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
1145 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
1146 * sysdeps/unix/sysv/linux/kernel-features.h
1147 (__ASSUME_GETCWD_SYSCALL): Don't define.
1148 (__ASSUME_REALTIME_SIGNALS): Likewise.
1149 (__ASSUME_PREAD_SYSCALL): Likewise.
1150 (__ASSUME_PWRITE_SYSCALL): Likewise.
1151 (__ASSUME_POLL_SYSCALL): Likewise.
1152 (__ASSUME_LCHOWN_SYSCALL): Likewise.
1153 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
1155 (__ASSUME_SIOCGIFNAME): Don't define.
1156 (__ASSUME_MSG_NOSIGNAL): Likewise.
1157 (__ASSUME_SENDFILE): Define unconditionally.
1158 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
1159 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
1161 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
1162 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
1163 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
1164 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
1165 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
1166 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
1167 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
1168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
1169 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1170 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
1172 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1173 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
1175 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1176 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
1178 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1179 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
1181 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1182 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
1184 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1185 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
1187 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1188 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
1190 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1191 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1192 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
1193 Remove conditional code.
1194 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1195 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
1196 Remove conditional code.
1197 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1198 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
1199 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
1200 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
1201 Remove conditional code.
1202 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1203 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
1204 Remove conditional code.
1205 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1206 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
1207 Remove conditional code.
1208 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1209 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
1210 Remove conditional code.
1211 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1212 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
1213 Remove conditional code.
1214 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1215 * sysdeps/unix/sysv/linux/sh/pwrite64.c
1216 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1217 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1218 * sysdeps/unix/sysv/linux/sigaction.c
1219 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1220 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1221 * sysdeps/unix/sysv/linux/sigpending.c
1222 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1223 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1224 * sysdeps/unix/sysv/linux/sigprocmask.c
1225 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1226 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1227 * sysdeps/unix/sysv/linux/sigsuspend.c
1228 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1229 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1230 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1231 (__libc_missing_rt_sigs): Remove.
1232 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
1233 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
1234 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
1235 Remove conditional code.
1236 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
1237 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
1239 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
1240 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
1241 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
1242 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
1244 2012-05-14 Andreas Jaeger <aj@suse.de>
1246 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
1247 it's not used in glibc.
1248 (__coshm1): Likewise.
1249 (__acosh1p): Likewise.
1252 * manual/string.texi (Copying and Concatenation): Add missing
1253 variable in concat example.
1254 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
1256 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1259 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
1260 __builtin_clzl with __builtin_clzll.
1262 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1265 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
1268 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1270 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
1271 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
1272 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
1273 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
1275 2012-05-14 Mike Frysinger <vapier@gentoo.org>
1277 * NEWS: Update ia64 info.
1279 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
1281 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
1284 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
1286 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
1287 * sysdeps/unix/syscalls.list (dup3): Likewise.
1288 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
1289 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
1291 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
1293 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
1294 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
1296 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
1298 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
1300 (TLS_IE): Use mov/add instead of movq/addq to load thread
1302 (TLS_GD_PREFIX): New.
1305 2012-05-11 David S. Miller <davem@davemloft.net>
1307 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
1308 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
1309 (_FPU_SETCW): Likewise.
1311 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1313 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
1316 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
1319 * iconvdata/gb18030.c: Update tables.
1320 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
1321 characters specially.
1322 (BODY for TO_LOOP): Add encoding of missing ranges.
1324 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
1327 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
1328 * sysdeps/mach/hurd/dup3.c: Likewise.
1329 * sysdeps/mach/hurd/readlinkat.c: Likewise.
1330 * sysdeps/powerpc/memmove.c:: Likewise.
1332 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1334 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
1335 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
1337 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1339 * elf/elf.h (R_X86_64_RELATIVE64): New.
1340 (R_X86_64_NUM): Updated.
1341 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
1342 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
1343 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
1344 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
1345 tst-quad1pie tst-quad2pie
1346 (modules-names): Add tst-quadmod1 tst-quadmod2.
1347 ($(objpfx)tst-quad1): New dependency.
1348 ($(objpfx)tst-quad2): Likewise.
1349 ($(objpfx)tst-quad1pie): Likewise.
1350 ($(objpfx)tst-quad2pie): Likewise.
1351 * sysdeps/x86_64/tst-quad1.c: New file.
1352 * sysdeps/x86_64/tst-quad1pie.c: New file.
1353 * sysdeps/x86_64/tst-quad2.c: Likewise.
1354 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
1355 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
1356 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
1357 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
1358 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
1360 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1362 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
1363 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
1364 * streams/stropts.h (t_scalar_t): Define type.
1366 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
1367 (_PATH_PRESERVE): Set to "/var/lib".
1368 (_PATH_RWHODIR): Set to "/var/spool/rwho".
1370 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
1373 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
1374 if __dir_mkfile succeeded.
1376 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
1377 checking for _hurd_dtablesize. Unlock it right after having
1378 finished _hurd_dtable allocation.
1380 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1382 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
1383 * sysdeps/mach/hurd/configure: Regenerated.
1384 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
1385 special-casing to...
1386 * sysdeps/gnu/configure.in: ... this new file.
1387 * sysdeps/unix/sysv/linux/configure: Regenerated.
1388 * sysdeps/gnu/configure: New generated file.
1390 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
1391 for Linux: use nsec instead of usec, as well as:
1392 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
1393 members of type struct timespec.
1394 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
1396 (struct stat64): Likewise.
1397 (_STATBUF_ST_NSEC): New macro.
1398 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
1400 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
1401 __strtoul_internal rather than strtoul.
1403 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1405 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
1408 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1410 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
1411 which preserves existing values.
1412 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
1414 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1416 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
1417 TIMEOUT values. Return EINVAL for NFDS values either negative or
1418 greater than FD_SETSIZE.
1420 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1422 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
1423 allocated, call __vm_protect to finish enabling the existing space, and
1424 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
1425 allocate the remainder.
1427 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1429 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
1430 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
1432 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1434 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
1435 sysdeps/mach/hurd/readlink.c.
1437 * posix/tst-sysconf.c (posix_options): Only use
1438 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
1439 _POSIX_SYNCHRONIZED_IO when they are defined
1440 * sysdeps/mach/hurd/bits/posix_opt.h:
1441 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
1442 (_XOPEN_REALTIME): Undefine macro.
1443 (_XOPEN_REALTIME_THREADS): Undefine macro.
1444 (_XOPEN_SHM): Undefine macro.
1445 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
1447 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
1449 (_POSIX_ASYNC_IO): Undefine macro.
1450 (_POSIX_PRIORITIZED_IO): Undefine macro.
1451 (_POSIX_SPIN_LOCKS): Define macro to -1.
1453 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
1454 SA_NODEFER, SA_RESETHAND.
1455 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
1456 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
1459 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1461 * elf/Makefile (pldd-modules): Define unconditionally.
1463 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1465 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
1467 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1469 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
1470 Return ENOENT when name is empty.
1471 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
1473 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1475 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
1477 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
1479 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1481 Fix mlock in all cases except non-readable pages.
1482 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
1483 instead of VM_PROT_ALL as parameter to __vm_wire function.
1485 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
1486 (__mkdir): When path is `/', just fail with EEXIST.
1487 * sysdeps/mach/hurd/mkdirat.c: Likewise.
1489 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1491 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
1492 <sys/uio.h> (for writev).
1493 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
1494 and <sys/param.h> (for MIN).
1496 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1498 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
1499 REQUESTED_TIME. Properly set the remaining time and return EINTR
1502 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1504 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
1505 Depend on against $(link-rpcuserlibs).
1507 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1509 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
1510 (__libc_stack_end): Do not use attribute_relro.
1511 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
1512 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
1513 to libthread-provided value.
1514 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
1517 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1520 * bits/libc-lock.h (__libc_once_get): New macro.
1521 * sysdeps/mach/bits/libc-lock.h: Likewise.
1522 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
1523 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
1524 instead of using implementation details.
1526 * libio/fileops.c: Unconditionally include <kernel-features.h>.
1527 * libio/freopen.c: Likewise.
1528 * libio/freopen64.c: Likewise.
1529 * misc/syslog.c: Likewise.
1530 * nscd/connections.c: Likewise.
1531 * nscd/netgroupcache.c: Likewise.
1532 * sysdeps/posix/getcwd.c: Likewise.
1534 2012-05-10 Roland McGrath <roland@hack.frob.com>
1536 * math/w_ilogbf.c: Add #include <limits.h>.
1538 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1540 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
1541 path instead of returning without unlocking.
1543 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
1544 immediate-write ioctls.
1545 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
1547 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1549 * sysdeps/mach/hurd/i386/init-first.c (init): Use
1550 __builtin_frame_address instead of making assumptions about the
1551 location of the return address relative to DATA. Force early load of
1553 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
1554 __builtin_frame_address.
1557 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
1558 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
1559 implement dup3 and do some further code clean-ups.
1560 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
1561 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
1563 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1565 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
1567 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
1568 HURD_CRITICAL_END around holding _hurd_dtable_lock.
1569 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
1570 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
1571 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
1574 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
1575 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
1576 when handler == SIG_ERR, not when handler != SIG_ERR.
1578 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1580 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
1581 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
1584 accept4 for GNU Hurd.
1585 * include/sys/socket.h (__libc_accept4): New prototype.
1586 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
1587 to implement __libc_accept4.
1588 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
1590 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
1592 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
1593 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
1594 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
1597 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1599 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
1601 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1603 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
1604 assertion on O_CLOEXEC flag.
1605 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
1606 * hurd/intern-fd.c: Likewise.
1607 * hurd/port2fd.c: Likewise.
1609 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1612 * bits/in.h (IPV6_PKTINFO): Define new macro.
1613 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
1615 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1620 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
1621 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
1622 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
1623 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
1624 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1625 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
1626 * math/libm-test.inc (logb_test) : Additional logb tests.
1628 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
1629 Andreas Jaeger <aj@suse.de>
1631 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
1632 * configure: Regenerated.
1633 * config.h.in (LINK_OBSOLETE_RPC): New macro.
1634 * config.make.in (link-obsolete-rpc): New substituted variable.
1635 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
1636 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
1637 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
1638 (shared-only-routines): Don't set it under [link-obsolete-rpc],
1639 so that libc.a contains the symbols.
1640 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
1641 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
1642 * sunrpc/auth_none.c: Likewise.
1643 * sunrpc/auth_unix.c: Likewise.
1644 * sunrpc/authdes_prot.c: Likewise.
1645 * sunrpc/authuxprot.c: Likewise.
1646 * sunrpc/clnt_gen.c: Likewise.
1647 * sunrpc/clnt_perr.c: Likewise.
1648 * sunrpc/clnt_raw.c: Likewise.
1649 * sunrpc/clnt_simp.c: Likewise.
1650 * sunrpc/clnt_tcp.c: Likewise.
1651 * sunrpc/clnt_udp.c: Likewise.
1652 * sunrpc/clnt_unix.c: Likewise.
1653 * sunrpc/des_crypt.c: Likewise.
1654 * sunrpc/des_soft.c: Likewise.
1655 * sunrpc/get_myaddr.c: Likewise.
1656 * sunrpc/key_call.c: Likewise.
1657 * sunrpc/key_prot.c: Likewise.
1658 * sunrpc/netname.c: Likewise.
1659 * sunrpc/pm_getmaps.c: Likewise.
1660 * sunrpc/pm_getport.c: Likewise.
1661 * sunrpc/pmap_clnt.c: Likewise.
1662 * sunrpc/pmap_prot.c: Likewise.
1663 * sunrpc/pmap_prot2.c: Likewise.
1664 * sunrpc/pmap_rmt.c: Likewise.
1665 * sunrpc/publickey.c: Likewise.
1666 * sunrpc/rpc_cmsg.c: Likewise.
1667 * sunrpc/rpc_common.c: Likewise.
1668 * sunrpc/rpc_dtable.c: Likewise.
1669 * sunrpc/rpc_prot.c: Likewise.
1670 * sunrpc/rpc_thread.c: Likewise.
1671 * sunrpc/rtime.c: Likewise.
1672 * sunrpc/svc.c: Likewise.
1673 * sunrpc/svc_auth.c: Likewise.
1674 * sunrpc/svc_raw.c: Likewise.
1675 * sunrpc/svc_run.c: Likewise.
1676 * sunrpc/svc_tcp.c: Likewise.
1677 * sunrpc/svc_udp.c: Likewise.
1678 * sunrpc/svc_unix.c: Likewise.
1679 * sunrpc/svcauth_des.c: Likewise.
1680 * sunrpc/xcrypt.c: Likewise.
1681 * sunrpc/xdr.c: Likewise.
1682 * sunrpc/xdr_array.c: Likewise.
1683 * sunrpc/xdr_float.c: Likewise.
1684 * sunrpc/xdr_intXX_t.c: Likewise.
1685 * sunrpc/xdr_mem.c: Likewise.
1686 * sunrpc/xdr_rec.c: Likewise.
1687 * sunrpc/xdr_ref.c: Likewise.
1688 * sunrpc/xdr_sizeof.c: Likewise.
1689 * sunrpc/xdr_stdio.c: Likewise.
1691 2012-05-10 Roland McGrath <roland@hack.frob.com>
1693 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
1694 change. Update copyright years.
1696 2012-05-10 Joseph Myers <joseph@codesourcery.com>
1698 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
1700 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
1701 Joseph Myers <joseph@codesourcery.com>
1702 Paul Pluzhnikov <ppluzhnikov@google.com>
1705 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
1707 [cross-compiling] (extra-libs): Likewise.
1708 [cross-compiling] (extra-libs-others): Likewise.
1709 [cross-compiling] (librpcsvc-routines): Likewise.
1710 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
1711 [cross-compiling] (omit-deps): Likewise.
1712 (sunrpc-CPPFLAGS): New variable.
1713 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
1714 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
1715 (cross-rpcgen-objs): New variable.
1716 (extra-objs): Append $(cross-rpcgen-objs).
1717 ($(cross-rpcgen-objs)): New rule.
1718 ($(objpfx)cross-rpcgen): Likewise.
1719 (rpcgen-cmd): Define to use $(built-program-file). Expand
1721 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
1722 ($(objpfx)x%.stmp): Likewise.
1723 * sunrpc/proto.h [IS_IN_build] (_): Define.
1724 [IS_IN_build] (_libc_intl_domainname): Likewise.
1726 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1728 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
1729 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
1730 and R_X86_64_TPOFF64.
1732 2012-05-10 Joseph Myers <joseph@codesourcery.com>
1734 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
1735 sysdeps/unix/sysv/syscalls.list.
1738 * sysdeps/unix/sysv/syscalls.list: Remove file.
1740 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
1743 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
1744 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
1745 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
1746 (__LC_IDENTIFICATION): Make these macros useful in #if
1747 expressions, as required by C99.
1749 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
1751 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
1752 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
1755 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
1757 * stdlib/longlong.h: Updated from GCC.
1759 2012-05-09 Andreas Jaeger <aj@suse.de>
1761 * nscd/nscd.c (run_modes): Make named enum, reorder so that
1762 default is first entry.
1763 (run_mode): Set type.
1764 (main): Remove informal message about syslog.
1765 (options): Fix typo.
1768 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
1771 (llrintf): Likewise.
1775 (nearbyint): Likewise.
1776 (nearbyintf): Likewise.
1778 2012-05-09 Andreas Jaeger <aj@suse.de>
1779 Pedro Alves <palves@redhat.com>
1781 * nscd/nscd.c (run_mode): Use enum.
1782 (main): Cleanup coding style issue.
1784 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
1785 Andreas Jaeger <aj@suse.de>
1787 * nscd/nscd.c (go_background): Replaced with...
1788 (run_mode): ... this.
1789 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
1790 (options): Add -F --foreground.
1791 (main): Implement it.
1792 (parse_opt): Parse it.
1794 2012-05-09 Andreas Jaeger <aj@suse.de>
1797 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
1798 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
1799 -Wconversion warning.
1800 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
1803 2012-05-09 Joseph Myers <joseph@codesourcery.com>
1805 * conform/data/locale.h-data (NULL): Use macro-constant. Require
1807 (LC_ALL): Use macro-int-constant.
1808 (LC_COLLATE): Likewise.
1809 (LC_CTYPE): Likewise.
1810 (LC_MESSAGES): Likewise.
1811 (LC_MONETARY): Likewise.
1812 (LC_NUMERIC): Likewise.
1813 (LC_TIME): Likewise.
1814 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
1815 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
1816 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1817 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
1819 [C99-based standards] (float_t): Expect type.
1820 [C99-based standards] (double_t): Expect type.
1821 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
1823 [C99-based standards] (HUGE_VALL): Likewise.
1824 [C99-based standards] (INFINITY): Likewise.
1825 [C99-based standards] (NAN): Likewise.
1826 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
1827 [C99-based standards] (FP_NAN): Likewise.
1828 [C99-based standards] (FP_NORMAL): Likewise.
1829 [C99-based standards] (FP_SUBNORMAL): Likewise.
1830 [C99-based standards] (FP_ZERO): Likewise.
1831 [C99-based standards] (FP_FAST_FMA): Use
1832 optional-macro-int-constant. Specify type. Require == 1.
1833 [C99-based standards] (FP_FAST_FMAF): Likewise.
1834 [C99-based standards] (FP_FAST_FMAL): Likewise.
1835 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
1836 [C99-based standards] (FP_ILOGBNAN): Likewise.
1837 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
1839 [C99-based standards] (MATH_ERREXCEPT): Likewise.
1840 [C99-based standards] (math_errhandling): Specify type.
1841 [ISO99 || ISO11] (signgam): Do not allow.
1842 [non-C99-based standards] (copysignf): Do not allow.
1843 [non-C99-based standards] (exp2f): Likewise.
1844 [non-C99-based standards] (log2f): Likewise.
1845 [non-C99-based standards] (modff): Allow.
1846 [non-C99-based standards] (erff): Do not allow.
1847 [non-C99-based standards] (erfcf): Likewise.
1848 [non-C99-based standards] (gammaf): Likewise.
1849 [non-C99-based standards] (hypotf): Likewise.
1850 [non-C99-based standards] (j0f): Likewise.
1851 [non-C99-based standards] (j1f): Likewise.
1852 [non-C99-based standards] (jnf): Likewise.
1853 [non-C99-based standards] (lgammaf): Likewise.
1854 [non-C99-based standards] (tgammaf): Likewise.
1855 [non-C99-based standards] (y0f): Likewise.
1856 [non-C99-based standards] (y1f): Likewise.
1857 [non-C99-based standards] (ynf): Likewise.
1858 [non-C99-based standards] (isnanf): Likewise.
1859 [non-C99-based standards] (acoshf): Likewise.
1860 [non-C99-based standards] (asinhf): Likewise.
1861 [non-C99-based standards] (atanhf): Likewise.
1862 [non-C99-based standards] (cbrtf): Likewise.
1863 [non-C99-based standards] (expm1f): Likewise.
1864 [non-C99-based standards] (ilogbf): Likewise.
1865 [non-C99-based standards] (log1pf): Likewise.
1866 [non-C99-based standards] (logbf): Likewise.
1867 [non-C99-based standards] (nextafterf): Likewise.
1868 [non-C99-based standards] (remainderf): Likewise.
1869 [non-C99-based standards] (rintf): Likewise.
1870 [non-C99-based standards] (scalbf): Likewise.
1871 [non-C99-based standards] (copysignl): Likewise.
1872 [non-C99-based standards] (exp2l): Likewise.
1873 [non-C99-based standards] (log2l): Likewise.
1874 [non-C99-based standards] (modfl): Allow.
1875 [non-C99-based standards] (erfl): Do not allow.
1876 [non-C99-based standards] (erfcl): Likewise.
1877 [non-C99-based standards] (gammal): Likewise.
1878 [non-C99-based standards] (hypotl): Likewise.
1879 [non-C99-based standards] (j0l): Likewise.
1880 [non-C99-based standards] (j1l): Likewise.
1881 [non-C99-based standards] (jnl): Likewise.
1882 [non-C99-based standards] (lgammal): Likewise.
1883 [non-C99-based standards] (tgammal): Likewise.
1884 [non-C99-based standards] (y0l): Likewise.
1885 [non-C99-based standards] (y1l): Likewise.
1886 [non-C99-based standards] (ynl): Likewise.
1887 [non-C99-based standards] (isnanl): Likewise.
1888 [non-C99-based standards] (acoshl): Likewise.
1889 [non-C99-based standards] (asinhl): Likewise.
1890 [non-C99-based standards] (atanhl): Likewise.
1891 [non-C99-based standards] (cbrtl): Likewise.
1892 [non-C99-based standards] (expm1l): Likewise.
1893 [non-C99-based standards] (ilogbl): Likewise.
1894 [non-C99-based standards] (log1pl): Likewise.
1895 [non-C99-based standards] (logbl): Likewise.
1896 [non-C99-based standards] (nextafterl): Likewise.
1897 [non-C99-based standards] (remainderl): Likewise.
1898 [non-C99-based standards] (rintl): Likewise.
1899 [non-C99-based standards] (scalbl): Likewise.
1900 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1901 [non-C99-based standards] (FP_*): Do not allow.
1902 [C99-based standards] (FP_*): Change to
1903 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
1904 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1906 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
1907 (SIG_ERR): Likewise.
1908 [X/Open-based standards] (SIG_HOLD): Likewise.
1909 (SIG_IGN): Likewise.
1910 (SIGABRT): Use macro-int-constant. Specify type. Require
1915 (SIGSEGV): Likewise.
1917 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
1918 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
1919 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
1920 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
1921 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
1922 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
1923 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
1924 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
1925 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
1926 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
1927 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
1928 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
1929 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
1930 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
1931 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
1932 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
1933 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
1934 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
1935 [X/Open-based standards] (SIGTRAP): Likewise.
1936 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
1937 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
1938 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
1939 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
1940 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1943 2012-05-08 Ian Wienand <ianw@vmware.com>
1946 * time/tzset.c (__tzset_parse_tz): Update default rules for
1947 daylight time changes in the Energy Policy Act of 2005.
1949 2012-05-09 Andreas Jaeger <aj@suse.de>
1952 * elf/ldconfig.c (parse_conf): Change string to make clear that
1953 ldconfig only issued a warning if ld.so.conf does not exist.
1955 2012-05-08 David S. Miller <davem@davemloft.net>
1957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
1958 movxtod instead of popping the value on the stack.
1960 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1962 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
1964 * config.h.in: Add HAVE_ARM_PCS_VFP.
1966 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
1969 * include/features.h: Warn if user requests __FORTIFY_SOURCE
1970 checking but the checks are disabled for any reason.
1972 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
1974 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
1975 and ELF64_R_TYPE with ELFW(R_TYPE).
1977 2012-05-08 Joseph Myers <joseph@codesourcery.com>
1979 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
1982 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
1983 (settimeofday): Likewise.
1985 2012-05-08 Mike Frysinger <vapier@gentoo.org>
1987 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
1988 a struct th_u2 inside the union, and move tu_block/tu_code into
1989 a new th_u3 union of tu_block/tu_code inside of that. Move
1990 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
1991 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
1992 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
1993 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
1994 (th_stuff): Change to th_u1.tu_stuff.
1996 (th_msg): Change to th_u1.th_u2.tu_data.
1998 2012-05-07 David S. Miller <davem@davemloft.net>
2000 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2003 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
2004 (SETUP_PIC_REG): Use it.
2005 (SETUP_PIC_REG_LEAF): Use it.
2007 2012-05-07 Joseph Myers <joseph@codesourcery.com>
2011 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2013 (EXPL_FINITE): Likewise.
2015 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
2016 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
2018 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2020 (EXPL_FINITE): Likewise.
2022 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
2023 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
2025 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
2026 test of -max_value argument for long double.
2027 * sysdeps/i386/fpu/libm-test-ulps: Update.
2028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2030 2012-05-06 David S. Miller <davem@davemloft.net>
2032 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
2033 quad soft-float symbols whose references which are compiler
2035 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
2037 2012-05-06 Joseph Myers <joseph@codesourcery.com>
2041 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2043 (EXPL_FINITE): Likewise.
2047 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
2048 Adjust comments for base varying.
2049 (__expl_finite): Change alias to EXPL_FINITE.
2050 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
2052 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
2053 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
2054 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
2055 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
2056 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2058 (EXPL_FINITE): Likewise.
2062 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
2063 Adjust comments for base varying.
2064 (__expl_finite): Change alias to EXPL_FINITE.
2065 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
2067 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2070 * math/libm-test.inc (check_float_internal): Correct ulp
2071 calculation for subnormal expected results.
2073 2012-05-06 Andreas Jaeger <aj@suse.de>
2075 * Makeconfig (+math-flags): New, set to -frounding-math.
2076 (+cflags): Add +math-flags so that all of glibc gets compiled with
2079 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
2081 2012-05-05 Joseph Myers <joseph@codesourcery.com>
2083 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
2089 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
2090 (__ieee754_expl): Allow for and saturate large arguments.
2091 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
2092 (u_threshold): Likewise.
2093 (__exp): Call __ieee754_exp before checking for overflow and
2095 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
2096 (u_threshold): Likewise.
2097 (__expf): Call __ieee754_expf before checking for overflow and
2099 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
2100 (u_threshold): Likewise.
2101 (__expl): Call __ieee754_expl before checking for overflow and
2103 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
2104 (__ieee754_expl): Allow for and saturate large arguments.
2105 * math/libm-test.inc (exp_test): Add another test. Do not allow
2106 missing overflow exception on overflow.
2107 (expm1_test): Do not allow missing overflow exception on overflow.
2109 * sysdeps/i386/fpu/e_expl.c: Move to ...
2110 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
2111 rather than using inline asm.
2112 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
2113 * sysdeps/x86_64/fpu/e_expl.S: Copy from
2114 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
2116 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
2123 2012-05-04 Joseph Myers <joseph@codesourcery.com>
2125 * sysdeps/unix/syscalls.list (adjtime): Add entry from
2126 sysdeps/unix/common/syscalls.list.
2129 (ftruncate): Likewise.
2130 (getrusage): Likewise.
2131 (gettimeofday): Likewise.
2132 (setpgid): Likewise.
2133 (setregid): Likewise.
2134 (setreuid): Likewise.
2135 (sigaction): Likewise.
2136 (truncate): Likewise.
2137 (vhangup): Likewise.
2138 * sysdeps/unix/common/syscalls.list: Remove file.
2139 * sysdeps/unix/bsd/Implies: Don't include unix/common.
2140 * sysdeps/unix/sysv/linux/Implies: Likewise.
2142 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
2144 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
2145 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
2146 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
2148 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
2150 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
2152 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
2153 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
2155 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
2156 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
2158 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
2159 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
2161 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
2162 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
2164 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
2165 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
2167 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
2168 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
2170 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
2172 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
2174 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
2176 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
2178 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
2179 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
2181 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
2183 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
2185 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
2187 2012-05-04 Joseph Myers <joseph@codesourcery.com>
2189 * sysdeps/unix/common/bits/dirent.h: Remove file.
2190 * sysdeps/unix/common/bits/fcntl.h: Likewise.
2192 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
2193 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
2194 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
2195 * sysdeps/unix/bsd/isatty.c: Likewise.
2196 * sysdeps/unix/bsd/tcdrain.c: Likewise.
2197 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
2198 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
2200 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2203 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
2204 long double comparison inaccuracies.
2205 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
2206 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2208 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
2210 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
2211 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
2213 2012-05-04 Joseph Myers <joseph@codesourcery.com>
2216 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
2217 nonzero digits before rounding a hex value.
2218 * stdlib/tst-strtod.c (tests): Add another test.
2220 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2222 * sysdeps/s390/fpu/libm-test-ulps: Update.
2224 2012-05-03 Andreas Jaeger <aj@suse.de>
2226 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
2227 does not get optimized out.
2228 (malloc_opt_barrier): New.
2230 2012-05-03 Andreas Jaeger <aj@suse.de>
2231 Roland McGrath <roland@hack.frob.com>
2233 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
2234 intermediate file deletion.
2235 (generated): Add .symlist files.
2237 2012-05-03 Joseph Myers <joseph@codesourcery.com>
2240 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
2241 Redirect under this condition.
2242 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
2243 [__USE_GNU] (__dprintf_chk): Not under this condition.
2244 [__USE_GNU] (__vdprintf_chk): Likewise.
2245 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
2246 under this condition.
2247 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
2248 [__USE_XOPEN2K8] (dprintf): Define under this condition.
2249 [__USE_XOPEN2K8] (vdprintf): Likewise.
2250 [__USE_GNU] (__dprintf_chk): Not under this condition.
2251 [__USE_GNU] (__vdprintf_chk): Likewise.
2252 [__USE_GNU] (dprintf): Likewise.
2253 [__USE_GNU] (vdprintf): Likewise.
2255 2012-05-03 Roland McGrath <roland@hack.frob.com>
2257 * elf/Makefile (common-generated): Set this instead of generated for
2258 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
2259 $(all-built-dso)-derived lists.
2261 2012-05-03 Andreas Jaeger <aj@suse.de>
2263 * sysdeps/i386/fpu/libm-test-ulps: Update.
2267 * scripts/gen-FAQ.pl: Likewise.
2268 * manual/install.texi (Installation): Point to online location of
2270 * Makefile (files-for-dist): Remove FAQ.
2273 2012-05-02 Allan McRae <allan@archlinux.org>
2275 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
2276 (LDFLAGS-reldepmod5.so): Likewise.
2277 (LDFLAGS-reldep6mod1.so): Likewise.
2278 (LDFLAGS-reldep6mod4.so): Likewise.
2279 (LDFLAGS-reldep8mod3.so): Likewise.
2280 (LDFLAGS-unload4mod1.so): Likewise.
2281 (LDFLAGS-unload4mod2.so): Likewise.
2282 (LDFLAGS-tst-initorder): Likewise.
2283 (LDFLAGS-tst-initordera2.so): Likewise.
2284 (LDFLAGS-tst-initordera3.so): Likewise.
2285 (LDFLAGS-tst-initordera4.so): Likewise.
2286 (LDFLAGS-tst-initorderb2.so): Likewise.
2287 (LDFLAGS-noload): Likewise.
2288 (LDFLAGS-next): Likewise.
2289 (LDFLAGS-order2mod1.so): Likewise.
2290 (LDFLAGS-order2mod2.so): Likewise.
2291 (LDFLAGS-tst-initorder2): Likewise.
2292 (LDFLAGS-tst-initorder2a.so): Likewise.
2293 (LDFLAGS-tst-initorder2b.so): Likewise.
2294 (LDFLAGS-tst-initorder2c.so): Likewise.
2295 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
2297 2012-05-02 David S. Miller <davem@davemloft.net>
2299 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2301 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
2304 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
2306 2012-05-02 Andreas Jaeger <aj@suse.de>
2308 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
2309 since we manipulate rounding mode.
2310 (CPPFLAGS-test-idouble.c): Likewise.
2311 (CPPFLAGS-test-ifloat.c): Likewise.
2312 (CFLAGS-test-ldouble.c): Likewise.
2313 (CFLAGS-test-double.c): Likewise.
2314 (CFLAGS-test-float.c): Likewise.
2315 (CFLAGS-test-misc.c): Likewise.
2316 (CFLAGS-test-test-fenv.c): Likewise.
2318 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2322 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
2323 comparisons to determine direction to adjust input.
2325 2012-05-01 Roland McGrath <roland@hack.frob.com>
2327 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
2328 output to the target.
2330 * scripts/localplt.awk: New file.
2331 * elf/Makefile ($(objpfx)check-localplt): Target removed.
2332 (check-localplt-CFLAGS): Variable removed.
2333 ($(all-built-dso:=.jmprel)): New static pattern rule.
2334 (generated): Add those targets.
2335 (localplt-built-dso): New variable.
2336 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
2338 * elf/check-localplt.c: File removed.
2340 * scripts/check-execstack.awk: New file.
2341 * elf/Makefile ($(objpfx)check-execstack): Target removed.
2342 (check-execstack-CFLAGS): Variable removed.
2343 ($(objpfx)check-execstack.h): Target removed.
2344 ($(objpfx)execstack-default): New target.
2345 (generated): Add that instead of check-execstack.h.
2346 ($(all-built-dso:=.phdr)): New static pattern rule.
2347 (generated): Add those targets.
2348 * elf/check-execstack.c: File removed.
2350 * scripts/check-textrel.awk: New file.
2351 * elf/Makefile ($(objpfx)check-textrel): Target removed.
2352 (check-textrel-CFLAGS): Variable removed.
2353 (all-built-dso): Use := to define.o
2354 ($(all-built-dso:=.dyn)): New static pattern rule.
2355 (generated): Add those targets.
2356 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
2357 * config.make.in (READELF): New substituted variable.
2358 * elf/check-textrel.c: File removed.
2360 2012-05-01 Joseph Myers <joseph@codesourcery.com>
2362 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2364 * conform/data/ctype.h-data [C99-based standards] (isblank):
2366 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
2367 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
2368 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2369 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
2370 Specify type. Require positive value.
2373 [ISO || POSIX] (EILSEQ): Do not expect.
2374 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
2375 Specify type. Require positive value.
2376 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
2377 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
2378 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
2379 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
2380 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
2381 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
2382 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
2383 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
2384 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
2385 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
2386 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
2387 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
2388 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
2389 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
2390 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
2391 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
2392 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
2393 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
2394 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
2395 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
2396 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
2397 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
2398 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
2399 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
2400 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
2401 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
2402 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
2403 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
2404 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
2405 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
2406 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
2407 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
2408 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
2409 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
2410 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
2411 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
2412 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
2413 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
2414 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
2415 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
2416 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
2417 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
2418 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
2419 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
2420 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
2421 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
2422 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
2423 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
2424 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
2425 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
2426 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
2427 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
2428 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
2429 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
2430 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
2431 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
2432 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
2433 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
2434 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
2435 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
2436 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
2437 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
2438 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
2439 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
2440 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
2441 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
2442 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
2443 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
2444 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
2445 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
2446 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
2447 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
2448 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
2449 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
2450 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
2451 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
2452 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
2454 (FLT_ROUNDS): Expect as macro, not constant.
2455 (FLT_MANT_DIG): Use macro-int-constant.
2456 (DBL_MANT_DIG): Likewise.
2457 (LDBL_MANT_DIG): Likewise.
2458 (FLT_DIG): Likewise.
2459 (DBL_DIG): Likewise.
2460 (LDBL_DIG): Likewise.
2461 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
2462 (DBL_MIN_EXP): Likewise.
2463 (LDBL_MIN_EXP): Likewise.
2464 (FLT_MAX_EXP): Use macro-int-constant.
2465 (DBL_MAX_EXP): Likewise.
2466 (LDBL_MAX_EXP): Likewise.
2467 (FLT_MAX_10_EXP): Likewise.
2468 (DBL_MAX_10_EXP): Likewise.
2469 (LDBL_MAX_10_EXP): Likewise.
2470 (FLT_MAX): Use macro-constant.
2471 (DBL_MAX): Likewise.
2472 (LDBL_MAX): Likewise.
2473 (FLT_EPSILON): Use macro-constant. Give upper bound.
2474 (DBL_EPSILON): Likewise.
2475 (LDBL_EPSILON): Likewise.
2476 (FLT_MIN): Likewise.
2477 (DBL_MIN): Likewise.
2478 (LDBL_MIN): Likewise.
2479 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
2480 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
2481 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
2482 [ISO11] (FLT_HAS_SUBNORM): Likewise.
2483 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
2484 [ISO11] (DBL_DECIMAL_DIG): Likewise.
2485 [ISO11] (FLT_DECIMAL_DIG): Likewise.
2486 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
2487 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
2488 [ISO11] (FLT_TRUE_MIN): Likewise.
2489 [ISO11] (LDBL_TRUE_MIN): Likewise.
2490 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2491 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
2492 (SCHAR_MIN): Use macro-int-constant. Specify type.
2493 (SCHAR_MAX): Likewise.
2494 (UCHAR_MAX): Likewise.
2495 (CHAR_MIN): Likewise.
2496 (CHAR_MAX): Likewise.
2497 (MB_LEN_MAX): Use macro-int-constant.
2498 (SHRT_MIN): Use macro-int-constant. Specify type.
2499 (SHRT_MAX): Likewise.
2500 (USHRT_MAX): Likewise.
2501 (INT_MAX): Likewise.
2502 (INT_MIN): Use macro-int-constant. Specify type. Make upper
2504 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
2506 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
2508 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
2509 bound negative. Suffix upper bound with "L".
2510 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
2512 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
2514 [C99-based standards] (LLONG_MAX): Likewise.
2515 [C99-based standards] (ULLONG_MAX): Likewise.
2516 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
2518 [ISO11] (max_align_t): Require type.
2519 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2521 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
2522 from $CFLAGS, without defining away __attribute__ calls.
2523 (checknamespace): Use $CFLAGS_namespace.
2525 * conform/conformtest.pl (@keywords): Only include C99 keywords
2526 for standards based on C99 or C11.
2528 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
2530 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
2533 * conform/conformtest.pl: Handle "macro-int-constant" and test for
2534 usability of symbols in #if.
2536 * conform/conformtest.pl: If macro or constant types start
2537 "promoted:", expect the symbol to be of the following type
2538 promoted by the integer promotions.
2540 * conform/conformtest.pl: Parse all "constant" and "macro" lines
2541 in one place. Also handle "macro-constant".
2543 * conform/conformtest.pl: Only accept expected macro values with
2544 "==". Parse all "macro" lines in one place.
2545 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
2547 * conform/conformtest.pl: Handle braced types on "constant" lines
2548 instead of handling "typed-constant".
2549 * conform/data/signal.h-data: Use "constant" instead of
2552 * conform/conformtest.pl: Handle "optional-" at start of lines in
2553 one place rather than duplicating several cases. Handle each
2554 format of "macro" line with initial "optional-".
2556 * conform/conformtest.pl: Only accept expected constant or
2557 optional-constant values with "==". Parse all "constant" lines in
2558 one place. Parse all "optional-constant" lines in one place.
2559 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
2560 * conform/data/fmtmsg.h-data: Likewise.
2561 * conform/data/netinet/in.h-data: Likewise.
2562 * conform/data/tar.h-data: Likewise.
2563 * conform/data/limits.h-data: Use "==" form on "constant" and
2564 "optional-constant" lines.
2566 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
2567 Use -std=c99 for XOPEN2K.
2568 (@knownproblems): Remove.
2569 (newtoken): Don't check %isknown.
2571 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
2572 Do not expect macro.
2573 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
2574 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
2575 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
2576 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
2577 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
2578 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
2579 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
2580 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
2581 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
2582 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
2583 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
2584 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
2585 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
2586 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
2587 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
2588 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
2589 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
2590 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
2591 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
2592 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
2593 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
2594 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
2595 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
2596 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
2597 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
2598 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
2599 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
2600 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
2601 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
2602 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
2603 [XPG3] (acosh): Likewise.
2604 [XPG3] (asinh): Likewise.
2605 [XPG3] (atanh): Likewise.
2606 [XPG3] (cbrt): Likewise.
2607 [XPG3] (expm1): Likewise.
2608 [XPG3] (ilogb): Likewise.
2609 [XPG3] (log1p): Likewise.
2610 [XPG3] (logb): Likewise.
2611 [XPG3] (nextafter): Likewise.
2612 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
2613 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
2614 [XPG3] (remainder): Likewise.
2615 [XPG3] (rint): Likewise.
2616 [XPG3 || XPG4 || UNIX98] (round): Likewise.
2617 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
2618 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
2619 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
2620 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
2621 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
2622 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
2623 [UNIX98 || XOPEN2K] (scalb): Expect.
2624 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
2625 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
2626 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
2627 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
2628 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
2629 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
2630 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
2631 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
2632 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
2633 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
2634 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
2635 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
2636 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
2637 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
2638 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
2639 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
2640 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
2641 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
2642 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
2643 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
2644 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
2645 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
2646 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
2647 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
2648 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
2649 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
2650 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
2651 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
2652 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
2653 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
2654 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
2655 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
2656 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
2657 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
2658 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
2659 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
2660 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
2661 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
2662 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
2663 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
2664 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
2665 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
2666 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
2667 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
2668 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
2669 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
2670 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
2671 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
2672 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
2673 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
2674 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
2675 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
2676 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
2677 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
2678 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
2679 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
2680 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
2681 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
2682 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
2683 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
2684 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
2685 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
2686 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
2687 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
2688 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
2689 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
2690 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
2691 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
2692 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
2693 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
2694 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
2695 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
2696 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
2697 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
2698 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
2699 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
2700 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
2701 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
2702 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
2703 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
2704 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
2705 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
2706 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
2707 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
2708 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
2709 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
2710 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
2711 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
2712 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
2713 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
2714 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
2715 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
2716 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
2717 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
2718 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
2719 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
2720 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
2721 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
2722 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
2723 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
2724 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
2725 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
2726 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
2727 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
2728 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
2729 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
2730 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
2731 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
2732 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
2733 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
2734 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
2735 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
2736 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
2737 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
2738 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
2739 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
2740 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
2741 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
2742 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
2743 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
2744 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
2745 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
2746 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
2747 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
2748 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
2749 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
2750 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
2751 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
2752 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
2753 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
2754 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
2755 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
2756 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
2757 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
2758 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
2759 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
2760 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
2762 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
2763 _XOPEN_SOURCE_EXTENDED for XPG4.
2765 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
2767 * Makeconfig (localtime): Remove variable.
2768 (inst_localtime-file): Likewise.
2770 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
2772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
2774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
2778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
2782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
2784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
2788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2791 2012-05-01 Joseph Myers <joseph@codesourcery.com>
2795 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
2796 comparisons to determine direction to adjust input.
2797 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
2798 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
2799 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
2801 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
2803 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
2805 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
2806 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
2808 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
2810 * math/libm-test.inc (nexttoward_test): Add more tests.
2812 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
2815 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
2816 in version GLIBC_2.1, not GLIBC_2.0.
2817 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
2820 2012-04-30 Joseph Myers <joseph@codesourcery.com>
2823 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
2825 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
2826 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
2827 * math/libm-test.inc (acos_test): Add more tests.
2828 (asin_test): Likewise.
2829 * sysdeps/i386/fpu/libm-test-ulps: Update.
2830 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2833 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
2835 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
2836 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
2837 * math/libm-test.inc (acos_test_tonearest): New function.
2838 (acos_test_towardzero): Likewise.
2839 (acos_test_downward): Likewise.
2840 (acos_test_upward): Likewise.
2841 (asin_test_tonearest): Likewise.
2842 (asin_test_towardzero): Likewise.
2843 (asin_test_downward): Likewise.
2844 (asin_test_upward): Likewise.
2845 (main): Call the new functions.
2846 * sysdeps/i386/fpu/libm-test-ulps: Update.
2847 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2851 * math/e_exp10.c: Include <float.h>.
2852 (__ieee754_exp10): Handle underflow here rather than multiplying
2853 large negative argument by M_LN10.
2854 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
2856 * math/e_exp10l.c: Include <float.h>.
2857 (__ieee754_exp10l): Handle underflow here rather than multiplying
2858 large negative argument by M_LN10l.
2859 * math/libm-test.inc (exp10_test): Add another test. Do not allow
2860 spurious overflow exception on underflow.
2862 2012-04-29 Marek Polacek <polacek@redhat.com>
2864 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
2865 (__fortify_function): New macro.
2866 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
2867 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
2868 __extern_always_inline.
2869 * libio/bits/stdio2.h: Likewise.
2870 * libio/bits/stdio.h: Likewise.
2871 * string/string.h: Likewise.
2872 * string/bits/string3.h: Likewise.
2873 * include/stdio.h: Likewise.
2874 * stdlib/bits/stdlib.h: Likewise.
2875 * stdlib/stdlib.h: Likewise.
2876 * rt/bits/mqueue2.h: Likewise.
2877 * rt/mqueue.h: Likewise.
2878 * posix/bits/unistd.h: Likewise.
2879 * posix/unistd.h: Likewise.
2880 * io/bits/poll2.h: Likewise.
2881 * io/bits/fcntl2.h: Likewise.
2882 * io/fcntl.h: Likewise.
2883 * io/sys/poll.h: Likewise.
2884 * misc/bits/syslog.h: Likewise.
2885 * misc/bits/syslog-ldbl.h: Likewise.
2886 * misc/sys/syslog.h: Likewise.
2887 * socket/bits/socket2.h: Likewise.
2888 * socket/sys/socket.h: Likewise.
2889 * debug/tst-chk1.c: Likewise.
2890 * wcsmbs/bits/wchar2.h: Likewise.
2891 * wcsmbs/bits/wchar-ldbl.h: Likewise.
2892 * wcsmbs/wchar.h: Likewise.
2894 2012-04-29 Andreas Jaeger <aj@suse.de>
2896 * Makerules (tests): Remove enable-check-abi protection.
2897 (check-abi-warn): Remove.
2898 (check-abi-%): Remove check-abi-warn usage.
2900 * configure.in: Remove check-abi configure option.
2901 * configure: Regenerated.
2902 * config.make.in (enable-check-abi): Remove.
2904 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
2907 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
2908 double functions to double *_finite functions.
2911 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
2912 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
2914 * stdio-common/Makefile (tests): Add tst-sprintf3.
2915 * stdio-common/tst-sprintf3.c: New file.
2917 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
2918 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
2920 2012-04-28 Joseph Myers <joseph@codesourcery.com>
2922 * conform/conformtest.pl: Remove duplicate typed-constant
2925 2012-04-28 David S. Miller <davem@davemloft.net>
2927 * Makerules (%.abilist): Add vpath on sysdep_dirs.
2928 (check-abi-%): Remove AWK script prerequisite and explicit
2930 (check-abi): Rewrite to just diff the symlist with the abilist.
2931 (config-tls, config-abi-config): Delete, no longer used.
2932 (update-abi-%): Remove AWK script and explicit abilist directory.
2933 (update-abi): Rewrite to simply compare and conditionally copy the
2934 symlist and the sysdep abilist file. Remove update-abi-config
2936 * abilist/ld.abilist: Remove.
2937 * abilist/libBrokenLocale.abilist: Remove.
2938 * abilist/libanl.abilist: Remove.
2939 * abilist/libcrypt.abilist: Remove.
2940 * abilist/libdl.abilist: Remove.
2941 * abilist/librt.abilist: Remove.
2942 * abilist/libthread_db.abilist: Remove.
2943 * abilist/libutil.abilist: Remove.
2944 * scripts/extract-abilist.awk: Remove.
2945 * scripts/merge-abilist.awk: Remove.
2946 * sysdeps/generic/libcidn.abilist: New file.
2947 * sysdeps/generic/libnss_compat.abilist: New file.
2948 * sysdeps/generic/libnss_db.abilist: New file.
2949 * sysdeps/generic/libnss_dns.abilist: New file.
2950 * sysdeps/generic/libnss_files.abilist: New file.
2951 * sysdeps/generic/libnss_hesiod.abilist: New file.
2952 * sysdeps/generic/libnss_nis.abilist: New file.
2953 * sysdeps/generic/libnss_nisplus.abilist: New file.
2954 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
2955 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
2956 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
2958 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
2959 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
2960 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
2961 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
2962 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
2963 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
2964 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
2965 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
2966 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
2968 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
2969 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
2970 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
2971 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
2973 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
2974 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
2975 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
2976 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
2977 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
2978 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
2980 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
2981 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
2982 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
2984 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
2985 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
2987 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
2989 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
2991 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
2993 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
2995 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
2997 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
2999 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
3001 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
3003 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
3005 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
3007 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
3009 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
3011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
3013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
3015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
3017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
3019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
3021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
3023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
3025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
3027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
3031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
3033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
3035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
3037 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
3038 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
3040 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
3042 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
3044 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
3046 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
3048 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
3050 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
3052 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3054 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
3056 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
3058 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
3060 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
3062 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
3063 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
3065 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
3067 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
3069 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
3071 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
3073 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
3075 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
3077 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3079 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
3081 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
3083 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
3085 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
3087 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
3088 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
3089 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
3091 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
3092 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
3093 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
3094 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
3095 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
3096 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
3097 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
3098 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
3099 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
3100 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
3101 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
3102 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
3104 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
3106 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
3108 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
3110 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
3112 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
3114 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
3116 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3118 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
3120 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
3122 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
3124 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
3126 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
3127 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
3129 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
3131 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
3133 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
3135 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
3137 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
3139 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
3141 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3143 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
3145 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
3147 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
3149 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
3152 2012-04-28 Joseph Myers <joseph@codesourcery.com>
3154 * conform/conformtest.pl: Fix typo in handling typed-constant from
3157 2012-04-27 Joseph Myers <joseph@codesourcery.com>
3159 * README: Cut down references to pre-2.6 Linux kernels and
3160 Linuxthreads. Update lists of configurations in libc and ports
3161 and sort alphabetically. Say "or newer" with Linux kernel version
3164 * config.h.in [IS_IN_build]: Allow compiling without optimization.
3166 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3169 * math/libm-test.inc (logb_test_downward): New test to expose
3170 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
3173 2012-04-27 Joseph Myers <joseph@codesourcery.com>
3176 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
3178 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
3179 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
3181 2012-04-26 Joseph Myers <joseph@codesourcery.com>
3183 * sysdeps/unix/i386/brk.S: Remove file.
3184 * sysdeps/unix/i386/dl-brk.S: Likewise.
3185 * sysdeps/unix/i386/pipe.S: Likewise.
3186 * sysdeps/unix/i386/sigreturn.S: Likewise.
3187 * sysdeps/unix/i386/syscall.S: Likewise.
3188 * sysdeps/unix/i386/vfork.S: Likewise.
3189 * sysdeps/unix/i386/wait.S: Likewise.
3191 * sysdeps/unix/common/tcsendbrk.c: Move to ...
3192 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
3194 * configure.in (arm*-none*): Do not allow without
3195 --enable-hacker-mode.
3196 (netbsd*): Remove case setting base_os.
3197 (386bsd*): Likewise.
3198 (freebsd*): Likewise.
3202 (ultrix*): Likewise.
3203 (newsos*): Likewise.
3213 (solaris[2-9]*): Likewise.
3215 * configure: Regenerated.
3217 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3220 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
3221 overflow or cancellation in calculating denominator.
3222 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
3223 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
3224 down expression to avoid unexpected rounding in newer GCCs.
3225 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
3227 2012-04-26 David S. Miller <davem@davemloft.net>
3229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
3230 long-double compat symbols.
3231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
3233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
3234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
3235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
3236 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
3237 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
3238 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
3239 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
3240 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
3241 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
3242 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
3243 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
3245 2012-04-25 David S. Miller <davem@davemloft.net>
3247 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
3248 HWCAP_* values only after the memory barriers have been defined.
3249 (atomic_full_barrier): Define.
3250 (atomic_read_barrier): Define.
3251 (atomic_write_barrier): Define.
3253 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3255 * shlib-versions: Add libgcc_s version information.
3256 * sysdeps/generic/libgcc_s.h: Remove.
3257 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
3259 * sysdeps/gnu/unwind-resume.c: Likewise.
3260 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
3262 2012-04-25 David S. Miller <davem@davemloft.net>
3264 * sysdeps/unix/sparc/brk.S: Delete.
3265 * sysdeps/unix/sparc/dl-brk.S: Delete.
3266 * sysdeps/unix/sparc/pipe.S: Delete.
3267 * sysdeps/unix/sparc/sysdep.S: Delete.
3268 * sysdeps/unix/sparc/sysdep.h: Delete.
3269 * sysdeps/unix/sparc/vfork.S: Delete.
3270 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
3271 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
3272 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
3273 ret_ERRVAL, r0, r1, MOVE): Define.
3274 (JUMPTARGET): Remove.
3275 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
3276 sysdeps/unix/sparc/sysdep.h
3277 (ENTRY, END): Remove.
3278 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3280 2012-04-25 Joseph Myers <joseph@codesourcery.com>
3282 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
3283 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
3286 * timezone/README: Update upstream location and email address for
3288 * timezone/zdump.c: Update from tzcode 2012b.
3289 * timezone/zic.c: Likewise.
3291 * configure.in (libc_cv_as_needed): Remove test.
3292 * configure: Regenerated.
3293 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
3294 conditional definition.
3295 [$(have-as-needed) != yes] (no-as-needed): Likewise.
3296 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
3297 * config.make.in (have-as-needed): Remove variable.
3299 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3300 Paul Pluzhnikov <ppluzhnikov@google.com>
3302 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
3305 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
3307 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
3308 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
3309 * sysdeps/sh/strlen.S: Likewise.
3311 2012-04-24 Joseph Myers <joseph@codesourcery.com>
3313 * sysdeps/unix/fork.S: Remove file.
3314 * sysdeps/unix/i386/fork.S: Likewise.
3315 * sysdeps/unix/sparc/fork.S: Likewise.
3317 * sysdeps/unix/system.c: Remove file.
3318 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
3320 * sysdeps/unix/getegid.S: Remove file.
3321 * sysdeps/unix/geteuid.S: Likewise.
3323 2012-04-24 Roland McGrath <roland@hack.frob.com>
3325 * scripts/check-localplt.awk: New file.
3326 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
3328 * scripts/data/localplt-generic.data: Add a comment.
3330 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
3331 NODE when __dir_mkfile failed.
3332 * sysdeps/mach/hurd/symlinkat.c: Likewise.
3333 Reported by Ludovic Courtès <ludo@gnu.org>.
3335 2012-04-24 Andreas Jaeger <aj@suse.de>
3337 * Makerules (common-clean): Also remove gen-as-const-headers
3340 2012-04-24 Joseph Myers <joseph@codesourcery.com>
3342 * Makerules (native-compile): Do not change working directory for
3343 build. Use $(OUTPUT_OPTION) in command.
3344 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
3346 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3349 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
3350 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
3351 * math/libm-test.inc (floor_test): Add more tests.
3352 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
3354 2012-04-24 Joseph Myers <joseph@codesourcery.com>
3356 * sysdeps/unix/getdents.c: Remove file.
3357 * sysdeps/unix/sysv/getdents.c: Likewise.
3358 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
3360 * sysdeps/unix/syscalls.list (madvise): Add syscall from
3361 sysdeps/unix/mman/syscalls.list.
3363 (mprotect): Likewise.
3366 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
3367 * sysdeps/unix/mman/syscalls.list: Remove.
3368 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
3370 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
3371 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
3372 * configure: Regenerated.
3373 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
3375 * config.make.in (libgcc_s_suffix): Remove variable.
3377 2012-04-23 Joseph Myers <joseph@codesourcery.com>
3379 * sysdeps/unix/sysv/gethostname.c: Move to ...
3380 * sysdeps/posix/gethostname.c: ... here.
3382 * sysdeps/unix/execve.S: Remove file.
3384 * sysdeps/unix/_exit.S: Remove file.
3386 2012-04-23 Andreas Jaeger <aj@suse.de>
3389 * manual/Makefile: Remove make dist support, there's no
3390 need for a stand-alone documentation tar ball.
3391 (TEXI2DVI): Define always, it's not in Makeconfig.
3395 (glibc-doc-$(edition).tar): Removed
3399 (ETAGS): Remove, it's in Makeconfig.
3400 (move-if-change): Remove, it's in Makeconfig.
3402 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
3405 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
3406 (strtod, strtof, strtold, strtol, strtoul, strtoq)
3407 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
3408 (strtod_l, strtof_l, strtold_l): Remove __wur.
3409 It is not necessarily an error to ignore strtol's return value.
3410 One can reliably look at the stored endptr to decide whether
3411 the number had valid syntax.
3413 2012-04-21 Andreas Jaeger <aj@suse.de>
3416 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
3418 2012-04-21 Joseph Myers <joseph@codesourcery.com>
3420 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
3421 * sysdeps/unix/sysv/Versions: Remove file.
3423 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
3426 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3428 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
3431 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
3432 version from __vm86.
3434 2012-04-20 Joseph Myers <joseph@codesourcery.com>
3436 * sysdeps/unix/common/lxstat.c: Remove file.
3437 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
3439 * sysdeps/unix/sysv/Makefile: Remove file.
3441 * sysdeps/unix/sysv/direct.h: Remove file.
3443 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
3444 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
3445 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
3446 * sysdeps/unix/sysv/bits/signum.h: Likewise.
3447 * sysdeps/unix/sysv/bits/stat.h: Likewise.
3448 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
3449 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
3451 * sysdeps/unix/sysv/setrlimit.c: Remove file.
3453 * sysdeps/unix/xmknod.c: Remove file.
3454 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
3456 * sysdeps/unix/sysv/settimeofday.c: Remove file.
3458 * sysdeps/unix/sysv/i386/time.S: Remove file.
3460 * sysdeps/unix/fxstat.c: Remove file.
3461 * sysdeps/unix/xstat.c: Likewise.
3462 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
3464 * sysdeps/unix/sysv/sigaction.c: Remove file.
3466 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
3467 (sysdep_headers): Remove variable.
3468 [termio.h not in sysdep_headers] (generated): Likewise.
3469 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
3470 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
3471 * sysdeps/unix/sysv/tcdrain.c: Likewise.
3472 * sysdeps/unix/sysv/tcflow.c: Likewise.
3473 * sysdeps/unix/sysv/tcflush.c: Likewise.
3474 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
3475 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
3476 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
3477 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
3478 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
3480 * sysdeps/unix/siglist.c: Remove file.
3482 * sysdeps/unix/getppid.S: Remove file.
3484 * sysdeps/unix/mkdir.c: Remove file.
3485 * sysdeps/unix/rmdir.c: Likewise.
3487 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
3489 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
3491 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
3492 errlist-compat value.
3494 2012-04-18 David S. Miller <davem@davemloft.net>
3496 * sysdeps/generic/memcopy.h (reg_char): Delete.
3497 * debug/strcat_chk.c: Use char, not reg_char.
3498 * debug/strcpy_chk.c: Likewise.
3499 * debug/strncat_chk.c: Likewise.
3500 * debug/strncpy_chk.c: Likewise.
3501 * string/memchr.c: Likewise.
3502 * string/memrchr.c: Likewise.
3503 * string/rawmemchr.c: Likewise.
3504 * string/strcat.c: Likewise.
3505 * string/strchr.c: Likewise.
3506 * string/strchrnul.c: Likewise.
3507 * string/strcmp.c: Likewise.
3508 * string/strcpy.c: Likewise.
3509 * string/strncat.c: Likewise.
3510 * string/strncmp.c: Likewise.
3511 * string/strncpy.c: Likewise.
3513 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3515 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
3516 __builtin_memcopy is called when src and dest ranges are known to not
3519 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3521 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
3522 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
3523 fwd_align_merge macro call.
3524 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
3525 bwd_align_merge macro call.
3526 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3528 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3530 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
3531 bwd_align_merge macros.
3532 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
3533 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
3534 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3536 2012-04-18 David S. Miller <davem@davemloft.net>
3538 * sysdeps/sparc/sparc64/memcopy.h: Delete.
3540 2012-04-18 Andreas Jaeger <aj@suse.de>
3543 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
3544 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
3545 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3547 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
3548 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
3549 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3551 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
3552 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
3553 Adjust for changed ldbl-128 files.
3555 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
3556 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
3557 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3559 2012-04-17 David S. Miller <davem@davemloft.net>
3561 * sysdeps/sparc/sparc32/memcopy.h: Delete.
3563 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
3565 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
3566 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
3567 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
3568 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
3569 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
3570 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
3572 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3575 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
3576 * math/libm-test.inc: Add ilogb errno and exception tests.
3577 * math/w_ilogb.c: New file: ilogb wrapper.
3578 * math/w_ilogbf.c: New file: ilogbf wrapper.
3579 * math/w_ilogbl.c: New file: ilogbl wrapper.
3580 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
3581 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
3582 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
3583 exception being thrown with 0.0 as argument.
3584 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
3585 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
3586 exception being thrown with 0.0 as argument.
3587 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
3588 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
3589 exception being thrown with 0.0 as argument.
3590 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
3591 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
3592 exception being thrown with 0.0 as argument.
3593 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
3594 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
3595 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
3596 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
3597 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
3598 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
3599 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
3600 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
3601 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
3603 2012-04-17 Petr Baudis <pasky@ucw.cz>
3605 * include/sys/uio.h: Change __vector to __iovec to avoid clash
3608 2012-04-16 Marek Polacek <polacek@redhat.com>
3610 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
3612 2012-04-16 Marek Polacek <polacek@redhat.com>
3614 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
3615 operands of fdivp instruction.
3617 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
3619 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
3620 * elf/tst-auditmod3b.c: Likewise.
3621 * elf/tst-auditmod4b.c: Likewise.
3622 * elf/tst-auditmod5b.c: Likewise.
3623 * elf/tst-auditmod6b.c: Likewise.
3624 * elf/tst-auditmod6c.c: Likewise.
3625 * elf/tst-auditmod7b.c: Likewise.
3626 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
3627 * sysdeps/x86_64/preconfigure.in: Likewise.
3628 * sysdeps/x86_64/preconfigure: Regenerated.
3630 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
3632 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
3635 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
3637 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3638 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
3640 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
3643 * locale/iso-639.def: Fix gl language name. Spotted by
3646 2012-04-12 Roland McGrath <roland@hack.frob.com>
3649 * libio/libio.h (__io_write_fn): Update comment.
3651 2012-04-12 Petr Baudis <pasky@ucw.cz>
3654 * stdio.texi (Hook Functions): The user provided writer function
3655 is not allowed to return -1.
3657 2012-04-11 David S. Miller <davem@davemloft.net>
3659 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3661 2012-04-11 Mike Frysinger <vapier@gentoo.org>
3663 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
3664 Add a leading slash to rtkaio.
3666 2012-04-11 Jim Meyering <meyering@redhat.com>
3669 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
3670 It is not necessarily an error to ignore fwrite's return
3671 value. One can reliably use ferror to test for errors after
3674 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
3676 * bits/types.h (__snseconds_t): New type.
3677 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
3679 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
3680 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3681 (__SNSECONDS_T_TYPE): Likewise.
3682 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3683 (__SNSECONDS_T_TYPE): Likewise.
3684 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3685 (__SNSECONDS_T_TYPE): Likewise.
3687 2012-04-10 Andreas Jaeger <aj@suse.de>
3690 * manual/time.texi (Processor Time): Return type of times is
3691 elapsed real time since an arbitrary point in the past.
3692 (CPU Time): Move CLK_TCK from here...
3693 (Processor Time): ...to here. Correct description.
3694 * manual/conf.texi (Constants for Sysconf): Correct description of
3697 2012-04-10 David S. Miller <davem@davemloft.net>
3700 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
3701 where the is a gap between DT_REL(A) and DT_JMPREL.
3703 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
3705 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
3706 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
3707 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
3709 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3711 * elf/dl-support.c (_dl_inhibit_cache): New variable.
3712 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
3713 (dl_main): Handle --inhibit-cache.
3714 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
3716 * elf/dl-load.c (_dl_map_object): Use it.
3717 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
3719 2012-04-09 Joseph Myers <joseph@codesourcery.com>
3722 * sysdeps/i386/fpu/e_powl.S (p78): New object.
3723 (__ieee754_powl): Saturate large exponents rather than testing for
3724 overflow of y*log2(x).
3725 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3726 * math/libm-test.inc (pow_test): Do not permit spurious overflow
3730 * math/s_ctan.c: Include <float.h>.
3731 (__ctan): Avoid internal overflow or cancellation in calculating
3733 * math/s_ctanf.c: Likewise.
3734 * math/s_ctanl.c: Likewise.
3735 * math/s_ctanh.c: Likewise.
3736 * math/s_ctanhf.c: Likewise.
3737 * math/s_ctanhl.c: Likewise.
3738 * math/libm-test.inc (ctan_test): Add more tests.
3739 (ctanh_test): Likewise.
3740 * sysdeps/i386/fpu/libm-test-ulps: Update.
3741 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3743 2012-04-09 Andreas Jaeger <aj@suse.de>
3746 * manual/filesys.texi (Directory Entries): Mention that d_namlen
3747 is an optional BSD extension.
3750 * manual/stdio.texi (Opening Streams): Document additional fopen
3753 2012-04-09 Roland McGrath <roland@hack.frob.com>
3755 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
3756 %eax without telling the compiler.
3758 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
3761 * manual/install.texi: Use sourceware.org.
3763 2012-04-09 Joseph Myers <joseph@codesourcery.com>
3766 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
3767 (__ieee754_pow): Generate overflow and underflow using huge*huge
3768 and tiny*tiny rather than just returning constant infinity or zero
3769 for large exponents.
3770 * math/libm-test.inc (pow_test): Require overflow exceptions for
3771 applicable cases of large exponents.
3774 * sysdeps/i386/fpu/e_pow.S (p10): New object.
3775 (__ieee754_pow): Use iterative multiplication algorithm only for
3776 integer exponents with absolute value below 1024. Check for odd
3777 integer exponents when using algorithm for real exponents.
3778 * math/libm-test.inc (pow_test): Add more tests.
3779 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3781 2012-04-08 Joseph Myers <joseph@codesourcery.com>
3784 * math/libm-test.inc (exp_test): Do not allow overflow exception
3787 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
3790 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
3791 instead of __kernel_standard_f.
3793 2012-04-08 Mike Frysinger <vapier@gentoo.org>
3795 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
3796 * sysdeps/x86_64/memset_chk.S: Likewise.
3798 2012-04-08 Andreas Jaeger <aj@suse.de>
3801 * manual/startup.texi (Environment Access): Describe return value
3802 for putenv and setenv.
3805 * manual/filesys.texi (Directory Entries): Add description for
3809 * manual/filesys.texi (Directory Entries): Clarify that it's file
3810 system not operating system in the description of DT_UNKNOWN.
3813 * manual/syslog.texi (closelog): Fix reference, it's openlog.
3815 2012-04-08 Stephen Compall <s11@member.fsf.org>
3818 * manual/llio.texi (Opening and Closing Files): Add cross
3819 reference to explain mode argument.
3821 2012-04-07 Mike Frysinger <vapier@gentoo.org>
3823 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
3824 * sysdeps/x86_64/memset_chk.S: Likewise.
3826 2012-04-07 David S. Miller <davem@davemloft.net>
3828 * elf/elf.h (R_SPARC_WDISP10): Define.
3829 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
3831 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
3832 R_SPARC_SIZE64 and R_SPARC_H34.
3834 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
3836 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
3837 conditions and remove no longer applicable assertion.
3839 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
3841 * bits/byteswap.h: Include <features.h>.
3842 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
3843 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
3845 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
3847 * bits/byteswap.h (__bswap_16): Removed.
3848 Include <bits/byteswap-16.h> to get __bswap_16.
3849 * sysdeps/i386/bits/byteswap.h: Likewise.
3850 * sysdeps/s390/bits/byteswap.h: Likewise.
3851 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3852 * bits/byteswap-16.h: New file.
3853 * sysdeps/i386/bits/byteswap-16.h: Likewise.
3854 * sysdeps/s390/bits/byteswap-16.h: Likewise.
3855 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
3856 * string/Makefile (headers): Add bits/byteswap-16.h.
3858 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
3861 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
3863 * nss/Makefile (tests-static, tests): Add tst-nss-static.
3864 * nss/tst-nss-static.c: New.
3866 2012-04-06 Robert Millan <rmh@gnu.org>
3869 * manual/llio.texi (File Position Primitive): lseek
3870 refers to WHENCE when it really means OFFSET.
3872 2012-04-06 Andreas Jaeger <aj@suse.de>
3874 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
3875 strncmp declarations.
3877 * abilist/libc.abilist: Add __poll and __ppoll.
3879 2012-04-05 David S. Miller <davem@davemloft.net>
3881 * scripts/check-local-headers.sh: Accept a host triplet in the
3882 path matched by the exclude regexp.
3884 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
3886 * sysdeps/powerpc/powerpc32/dl-machine.h
3887 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
3888 * sysdeps/s390/s390-32/dl-machine.h
3889 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3890 * sysdeps/sparc/sparc32/dl-machine.h
3891 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3892 * sysdeps/sparc/sparc64/dl-machine.h
3893 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3895 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
3897 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
3898 undefined symbol errors.
3900 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
3903 2012-04-05 Michael Matz <matz@suse.de>
3906 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
3908 2012-04-05 Andreas Jaeger <aj@suse.de>
3911 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
3914 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3916 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
3917 which ROUND is no valid rounding mode.
3919 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3921 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
3923 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
3925 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3927 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
3928 an exception using FPU order intentionally.
3930 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3932 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
3933 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
3934 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
3935 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
3937 2012-04-05 Simon Josefsson <simon@josefsson.org>
3940 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
3941 EINVAL when BUFLEN is too smal.
3943 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
3946 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
3947 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
3949 2012-04-03 Andreas Jaeger <aj@suse.de>
3952 * manual/setjmp.texi (System V contexts): Fix sentence.
3955 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
3956 New macro for this case.
3957 [!__GNUC__] (__bswap_64): New inline function for this case.
3958 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3959 * bits/byteswap.h: Likewise.
3960 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
3961 ull, guard with __GLIBC_HAVE_LONG_LONG.
3963 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
3964 __GLIBC_HAVE_LONG_LONG.
3966 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
3967 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
3969 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3972 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
3973 inptr and inend, rather than using last_ch.
3975 2012-04-02 David S. Miller <davem@davemloft.net>
3977 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
3978 * stdio-common/printf-parse.h (read_int): Change return type to
3979 'int', return -1 on INT_MAX overflow.
3980 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
3981 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
3982 overflows INT_MAX. Check for overflow of in-format-string precision
3983 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
3984 SIZE_MAX not INT_MAX for integer overflow test.
3985 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
3986 skip the construct in the format string but do not record anything.
3987 * stdio-common/bug22.c: Adjust to test both width/prevision
3988 INT_MAX overflow as well as total length INT_MAX overflow. Check
3989 explicitly for proper errno values.
3991 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
3993 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
3995 * string/test-strcmp.c [! WIDE]: Likewise.
3996 * time/tst-mktime2.c: Likewise for INT_MAX.
3997 * string/test-string.h: #include <sys/param.h> for MIN.
3999 * csu/init-first.c (__libc_init_first): Call __ctype_init.
4000 * sysdeps/i386/init-first.c (init): Likewise.
4001 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
4002 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
4003 * sysdeps/sh/init-first.c (init): Likewise.
4005 2012-04-01 Ulrich Drepper <drepper@gmail.com>
4007 * po/ru.po: Update from translation team.
4008 * po/vi.po: Likewise.
4010 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4012 * resolv/nss_dns/dns-host.c: Merge copyright years.
4014 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4016 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
4017 Optimize memcpy with prefetch if
4018 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
4019 src, dst pointers have unequal 16 byte alignments.
4021 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4024 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
4025 from a CNAME entry and return the minimum ttl for the query.
4026 (gaih_getanswer_slice): Likewise.
4028 2012-03-30 Jeff Law <law@redhat.com>
4030 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
4032 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
4033 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
4035 * resolv/nss_dns/dns-host.c: Update copyright year.
4037 2012-03-30 Ulrich Drepper <drepper@gmail.com>
4039 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
4040 requests to save a system call. Fix check that all bytes are sent.
4042 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
4043 comments for sendmmsg.
4045 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4048 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
4049 with only 1 character between 0x0041 and 0x01b0.
4050 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
4051 * wcsmbs/tst-mbsnrtowcs.c: New file.
4053 2012-03-29 David S. Miller <davem@davemloft.net>
4055 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
4056 small copies by hand.
4058 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4061 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
4062 _nss_compat_initgroups_dyn): Fall back to malloc/free
4063 for large group memberships.
4065 2012-03-28 David S. Miller <davem@davemloft.net>
4067 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
4068 that branches into memcpy.
4069 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
4070 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
4071 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4072 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
4073 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
4075 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
4077 * sysdeps/sparc/mempcpy.S: New file.
4079 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
4080 the IFUNC routine in the libc case.
4081 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
4083 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
4084 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
4085 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
4086 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
4087 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
4088 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
4089 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
4090 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
4092 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
4093 loop to 256 bytes instead of 64 bytes and fix test signedness.
4095 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
4096 * sysdeps/sparc/sparc32/Makefile: rather than here...
4097 * sysdeps/sparc/sparc64/Makefile: and here.
4099 2012-03-28 Ulrich Drepper <drepper@gmail.com>
4101 * malloc/mallocbug.c: Avoid warnings about unused variables.
4103 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4106 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
4107 in the right place. Discard and retry query if response is
4108 larger than input buffer size.
4110 2012-03-28 Joseph Myers <joseph@codesourcery.com>
4115 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
4116 x for large integer exponent.
4117 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
4118 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
4119 sign of result as needed afterwards.
4120 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
4121 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
4122 result for underflowing pow the same as for overflow.
4123 (__kernel_standard_l): Handle powl overflow and underflow here
4124 rather than calling __kernel_standard.
4125 * math/libm-test.inc (pow_test): Add more tests.
4140 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
4141 * sysdeps/ieee754/k_standard.c: Include <float.h>.
4142 (__kernel_standard_l): New function.
4143 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
4145 * math/w_acosl.c (__acosl): Likewise.
4146 * math/w_asinl.c (__asinl): Likewise.
4147 * math/w_atan2l.c (__atan2l): Likewise.
4148 * math/w_atanhl.c (__atanhl): Likewise.
4149 * math/w_coshl.c (__coshl): Likewise.
4150 * math/w_exp10l.c (__exp10l): Likewise.
4151 * math/w_exp2l.c (__exp2l): Likewise.
4152 * math/w_fmodl.c (__fmodl): Likewise.
4153 * math/w_hypotl.c (__hypotl): Likewise.
4154 * math/w_j0l.c (__j0l, __y0l): Likewise.
4155 * math/w_j1l.c (__j1l, __y1l): Likewise.
4156 * math/w_jnl.c (__jnl, __ynl): Likewise.
4157 * math/w_lgammal.c (__lgammal): Likewise.
4158 * math/w_log10l.c (__log10l): Likewise.
4159 * math/w_log2l.c (__log2l): Likewise.
4160 * math/w_logl.c (__logl): Likewise.
4161 * math/w_powl.c (__powl): Likewise.
4162 * math/w_remainderl.c (__remainderl): Likewise.
4163 * math/w_scalbl.c (sysv_scalbl): Likewise.
4164 * math/w_sinhl.c (__sinhl): Likewise.
4165 * math/w_sqrtl.c (__sqrtl): Likewise.
4166 * math/w_tgammal.c (__tgammal): Likewise.
4167 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
4168 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
4169 * math/libm-test.inc (acos_test): Add more tests.
4170 (acosh_test): Likewise.
4171 (asin_test): Likewise.
4172 (atanh_test): Likewise.
4173 (exp_test): Likewise.
4174 (exp10_test): Likewise.
4175 (exp2_test): Likewise.
4176 (expm1_test): Likewise.
4177 (lgamma_test): Likewise.
4178 (log_test): Likewise.
4179 (log10_test): Likewise.
4180 (log1p_test): Likewise.
4181 (log2_test): Likewise.
4182 (pow_test): Do not allow some spurious overflow exceptions.
4183 (sqrt_test): Add more tests.
4184 (tgamma_test): Likewise.
4185 (y0_test): Likewise.
4186 (y1_test): Likewise.
4187 (yn_test): Likewise.
4189 2012-03-27 Anton Blanchard <anton@samba.org>
4191 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
4193 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
4194 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
4195 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
4197 2012-03-27 David S. Miller <davem@davemloft.net>
4199 * conform/Makefile: Run run-conformtest.sh using $(BASH).
4201 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
4204 2012-03-27 Andreas Jaeger <aj@suse.de>
4206 * sysdeps/x86_64/elf/configure.in: Moved to ...
4207 * sysdeps/x86_64/configure.in: ... here.
4208 * sysdeps/x86_64/elf/start.S: Moved to ...
4209 * sysdeps/x86_64/start.S: ... here.
4210 * sysdeps/x86_64/elf/configure: Delete.
4212 * sysdeps/x86_64/configure.in: Merge contents from
4213 sysdeps/i386/configure.in (without i686 check).
4215 * sysdeps/i386/elf/Versions: Merge into ...
4216 * sysdeps/i386/Versions: ... this.
4217 * sysdeps/i386/elf/Versions: Delete file.
4218 * sysdeps/i386/elf/start.S: Moved to ...
4219 * sysdeps/i386/start.S: ...here.
4220 * sysdeps/i386/elf/configure.in: Merge into...
4221 * sysdeps/i386/configure.in: ...here.
4222 * sysdeps/i386/elf/configure.in: Delete file.
4223 * sysdeps/i386/elf/configure: Delete file.
4225 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
4226 * debug/backtracesyms.c: ... here.
4227 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
4228 * debug/backtracesymsfd.c: ... here.
4229 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
4230 * sysdeps/generic/ifunc-sel.h: ... here.
4232 * sysdeps/unix/i386/start.c: Delete file.
4233 * sysdeps/unix/sparc/start.c: Delete file.
4234 * sysdeps/unix/start.c: Delete file.
4236 * sysdeps/sh/elf/configure.in: Moved to ...
4237 * sysdeps/sh/configure.in: ... here.
4238 * sysdeps/sh/elf/start.S: Moved to ...
4239 * sysdeps/sh/start.S: ... here.
4240 * sysdeps/sh/elf/configure: Delete file.
4242 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
4243 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
4244 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
4245 * sysdeps/powerpc/powerpc64/entry.h: ... here.
4246 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
4247 * sysdeps/powerpc/powerpc64/start.S: here.
4248 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
4249 * sysdeps/powerpc/powerpc64/Makefile: ... this.
4250 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
4251 * sysdeps/powerpc/powerpc64/configure.in: ... this.
4252 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
4254 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
4255 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
4256 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
4257 * sysdeps/powerpc/powerpc32/start.S: ... here.
4258 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
4259 * sysdeps/powerpc/powerpc32/configure.in: ... this.
4260 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
4262 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
4263 * sysdeps/powerpc/ifunc-sel.h: ... here.
4264 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
4265 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
4267 * sysdeps/sparc/elf/configure.in: Moved to ...
4268 * sysdeps/sparc/configure.in: ... here.
4269 * sysdeps/sparc/elf/configure: Delete file.
4270 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
4271 * sysdeps/sparc/sparc32/start.S: ... here.
4272 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
4273 * sysdeps/sparc/sparc64/start.S: ... here.
4274 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
4275 * sysdeps/sparc/sparc32/Makefile: ... this.
4276 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
4277 * sysdeps/sparc/sparc64/Makefile: ... this.
4279 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
4280 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
4281 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
4282 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
4283 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
4284 * sysdeps/s390/s390-32/setjmp.S: ... here.
4285 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
4286 * sysdeps/s390/s390-32/configure.in: ... here.
4287 * sysdeps/s390/s390-32/elf/configure: Delete file.
4288 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
4289 * sysdeps/s390/s390-32/start.S: ... here.
4291 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
4292 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
4293 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
4294 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
4295 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
4296 * sysdeps/s390/s390-64/setjmp.S: ... here.
4297 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
4298 * sysdeps/s390/s390-64/configure.in: ... here
4299 * sysdeps/s390/s390-64/elf/configure: Delete file.
4300 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
4301 * sysdeps/s390/s390-64/start.S: ... here.
4302 * sysdeps/s390/s390-64/elf/configure: Delete.
4304 * configure.in: Remove support for elf directories in sysdeps.
4306 * configure: Regenerated.
4307 * sysdeps/i386/configure: Regenerated.
4308 * sysdeps/powerpc/powerpc32/configure: Regenerated.
4309 * sysdeps/powerpc/powerpc64/configure: Regenerated.
4310 * sysdeps/s390/s390-32/configure: Regenerated.
4311 * sysdeps/s390/s390-64/configure: Regenerated.
4312 * sysdeps/sh/configure: Regenerated.
4313 * sysdeps/sparc/configure: Regenerated.
4314 * sysdeps/x86_64/configure: Regenerated.
4316 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
4318 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4320 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
4321 denormal result into account.
4323 2012-03-25 Roland McGrath <roland@hack.frob.com>
4325 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
4326 Reported by Allan McRae <allan@archlinux.org>.
4328 2012-03-23 Jeff Law <law@redhat.com>
4330 * nss/getnssent.c (__nss_getent): Fix typo.
4332 2012-03-23 David S. Miller <davem@davemloft.net>
4334 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4336 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
4338 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
4339 to pad to uint64_t for each field.
4340 (dl_tls_index): Replace unsigned long with uint64_t.
4342 2012-03-23 Daniel Jacobowitz <dmj@google.com>
4343 Paul Pluzhnikov <ppluzhnikov@google.com>
4346 * grp/Makefile (otherlibs): Don't set it.
4347 * inet/Makefile (otherlibs): Likewise.
4348 * login/Makefile (otherlibs): Likewise.
4349 * nscd/Makefile (otherlibs): Likewise.
4350 * posix/Makefile (otherlibs): Likewise.
4351 * pwd/Makefile (otherlibs): Likewise.
4352 * rt/Makefile (otherlibs): Likewise.
4353 * sunrpc/Makefile (otherlibs): Likewise.
4354 * nss/Makefile (otherlibs): Likewise.
4355 Add libnss_files to routines and static-only-routines.
4356 ($(objpfx)getent): Remove rule.
4357 * resolv/Makefile: Add libnss_dns and libresolv to routines and
4358 static-only-routines.
4360 2012-03-22 Joseph Myers <joseph@codesourcery.com>
4363 * math/s_cexp.c: Include <float.h>.
4364 (__cexp): Handle exp result overflowing not necessarily
4365 overflowing both real and imaginary parts of result.
4366 * math/s_cexpf.c: Likewise.
4367 * math/s_cexpl.c: Likewise.
4368 * math/libm-test.inc (cexp_test): Add more tests.
4369 * sysdeps/i386/fpu/libm-test-ulps: Update.
4370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4372 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4374 * include/link.h (ELFW): New macro.
4375 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
4376 Replace ELF64_R_TYPE with ELFW(R_TYPE).
4378 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4380 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
4383 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4385 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
4387 (struct La_x32_retval): Likewise.
4389 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4391 * sysdeps/x86_64/preconfigure.in: New file.
4392 * sysdeps/x86_64/preconfigure: New generated file.
4394 2012-03-22 Joseph Myers <joseph@codesourcery.com>
4397 * math/e_exp2l.c: Include <float.h>.
4398 (__ieee754_exp2l): Handle overflow and underflow cases
4399 separately. Only pass fractional part of argument to
4401 * math/libm-test.inc (exp2_test): Add more tests.
4403 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
4404 negating x to take absolute value.
4405 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
4407 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
4408 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
4410 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
4411 computing low part if x was negated.
4412 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4414 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
4416 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
4418 (pltexit): Cast int_retval to ptrdiff_t.
4419 * elf/tst-auditmod3b.c: Likewise.
4420 * elf/tst-auditmod4b.c: Likewise.
4421 * elf/tst-auditmod5b.c: Likewise.
4422 * elf/tst-auditmod6b.c: Likewise.
4423 * elf/tst-auditmod6c.c: Likewise.
4424 * elf/tst-auditmod7b.c: Likewise.
4426 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
4427 and x32_gnu_pltexit.
4429 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
4431 (La_x32_regs): New macro.
4432 (La_x32_retval): Likewise.
4433 (la_x32_gnu_pltenter): New function prototype.
4434 (la_x32_gnu_pltexit): Likewise.
4436 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
4438 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
4441 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4443 * configure.in (libc_cv_cc_nofma): Check for option to disable
4444 generation of FMA instructions.
4445 * configure: Regenerate.
4446 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
4447 * sysdeps/ieee754/dbl-64/Makefile: New file.
4448 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
4449 Remove brandred-fma4.
4450 (CFLAGS-brandred-fma4.c): Remove.
4451 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
4452 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
4454 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
4457 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
4459 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
4460 LLONG_MAX != LONG_MAX.
4461 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4462 (_fitoa_word): Likewise.
4463 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
4464 LLONG_MAX != LONG_MAX.
4465 * stdio-common/_itowa.h: Include <_itoa.h>.
4466 (_itowa_word): Use _ITOA_WORD_TYPE on value.
4467 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
4468 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
4469 only if not defined.
4470 (_ITOA_WORD_TYPE): Likewise.
4471 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4472 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
4474 2012-03-21 David S. Miller <davem@davemloft.net>
4476 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4478 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
4480 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
4481 of x86_64 when setting libc_cv_slibdir, libdir and
4483 * sysdeps/unix/sysv/linux/configure: Regenerated.
4485 2012-03-21 Joseph Myers <joseph@codesourcery.com>
4487 * manual/lang.texi (Old Varargs): Remove section.
4488 (How Variadic): Update menu.
4489 (va_start): Do not mention varargs.h.
4491 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
4492 Joseph Myers <joseph@codesourcery.com>
4494 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
4496 * configure: Regenerated.
4498 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
4500 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
4501 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
4504 2012-03-21 Joseph Myers <joseph@codesourcery.com>
4507 * Makefile (files-for-dist): Remove NOTES.
4508 (NOTES): Remove rule.
4509 * README: Don't refer to NOTES.
4510 * manual/creature.texi: Don't include macros.texi.
4511 * manual/intro.texi (creature.texi): Remove comment referring to
4514 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
4515 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
4516 * configure: Regenerated.
4517 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
4519 (libc_cv_as_i686): Likewise.
4520 (libc_cv_cc_avx): Likewise.
4521 (libc_cv_cc_sse2avx): Likewise.
4522 (libc_cv_cc_fma4): Likewise.
4523 (libc_cv_cc_novzeroupper): Likewise.
4524 * sysdeps/i386/configure: Regenerated.
4527 * sysdeps/i386/fpu/s_cexp.S: Remove.
4528 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
4529 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
4530 * math/libm-test.inc (cexp_test): Add more tests.
4531 * sysdeps/i386/fpu/libm-test-ulps: Update.
4532 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4534 2012-03-21 Allan McRae <allan@archlinux.org>
4536 * timezone/Makefile: Do not install iso3166.tab and zone.tab
4538 2012-03-21 Joseph Myers <joseph@codesourcery.com>
4541 * math/w_exp2.c: Do not include <float.h>.
4542 (o_threshold, u_threshold): Remove.
4543 (__exp2): Calculate result before checking finiteness and calling
4545 * math/w_exp2f.c: Likewise.
4546 * math/w_exp2l.c: Likewise.
4547 * math/libm-test.inc (exp2_test): Require overflow exception for
4551 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
4552 range of signed 64-bit integers before using fistpll. Remove
4553 checks for whether integers fit in mantissa bits.
4554 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
4555 the range of signed 32-bit integers before using fistpl. Remove
4556 checks for whether integers fit in mantissa bits.
4557 * sysdeps/i386/fpu/e_powl.S (p64): New object.
4558 (__ieee754_powl): Test for y outside the range of signed 64-bit
4559 integers before using fistpll. Reduce 64-bit values to 63-bit
4561 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
4562 divide-by-zero is raised for zero to large negative powers.
4563 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
4564 (__ieee754_powl): Test for y outside the range of signed 64-bit
4565 integers before using fistpll. Reduce 64-bit values to 63-bit
4567 * math/libm-test.inc (pow_test): Add more tests.
4569 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4571 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
4572 <stdio-common/_itoa.h>.
4573 * debug/segfault.c: Likewise.
4574 * elf/dl-cache.c: Likewise.
4575 * elf/dl-minimal.c: Likewise.
4576 * elf/dl-misc.c: Likewise.
4577 * elf/dl-sysdep.c: Likewise.
4578 * elf/dl-version.c: Likewise.
4579 * elf/rtld.c: Likewise.
4580 * hurd/hurdsock.c: Likewise.
4581 * hurd/lookup-retry.c: Likewise.
4582 * malloc/malloc.c: Likewise.
4583 * malloc/mtrace.c: Likewise.
4584 * nscd/nscd_getgr_r.c: Likewise.
4585 * nscd/nscd_getpw_r.c: Likewise.
4586 * nscd/nscd_getserv_r.c: Likewise.
4587 * posix/getopt_init.c: Likewise.
4588 * posix/wordexp.c: Likewise.
4589 * stdio-common/_itoa.c: Likewise.
4590 * stdio-common/printf_fphex.c: Likewise.
4591 * stdio-common/vfprintf.c: Likewise.
4592 * string/_strerror.c: Likewise.
4593 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
4594 * sysdeps/i386/i686/hp-timing.h: Likewise.
4595 * sysdeps/mach/_strerror.c: Likewise.
4596 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
4597 * sysdeps/mach/hurd/sethostid.c: Likewise.
4598 * sysdeps/mach/hurd/xmknodat.c: Likewise.
4599 * sysdeps/mach/xpg-strerror.c: Likewise.
4600 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4601 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4602 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
4603 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
4604 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4605 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
4606 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
4607 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
4608 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
4609 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
4610 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
4611 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
4612 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
4613 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
4614 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
4615 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
4616 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
4617 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
4618 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
4619 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
4620 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
4622 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
4624 * stdio-common/_itoa.h: Moved to ...
4625 * sysdeps/generic/_itoa.h: Here.
4627 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
4629 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
4630 instead of "_itoa.h" and "_itowa.h".
4631 * stdio-common/vfprintf.: Likewise.
4633 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4635 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
4637 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
4638 (__signbit): Likwise.
4642 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4644 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
4647 2012-03-20 Joseph Myers <joseph@codesourcery.com>
4649 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
4650 OVERFLOW_EXCEPTION_OK.
4651 * math/libm-test.inc ("Philosophy"): Update comment about
4653 (OVERFLOW_EXCEPTION): Define.
4654 (OVERFLOW_EXCEPTION_OK): Likewise.
4655 (INVALID_EXCEPTION_OK): Renumber.
4656 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4657 (IGNORE_ZERO_INF_SIGN): Likewise.
4658 (test_exceptions): Handle FE_OVERFLOW.
4659 (exp10_test): Expect overflow exceptions.
4660 (exp2_test): Likewise.
4661 (expm1_test): Likewise.
4662 (nextafter_test): Likewise.
4663 (pow_test): Likewise.
4664 (scalbn_test): Likewise.
4665 (scalbln_test): Likewise.
4667 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4669 * sysdeps/x86_64/bits/atomic.h
4670 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
4672 (atomic_exchange_acq): Likewise.
4673 (__arch_exchange_and_add_body): Likewise.
4674 (__arch_add_body): Likewise.
4675 (atomic_add_negative): Likewise.
4676 (atomic_add_zero): Likewise.
4678 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4680 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
4681 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
4683 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4685 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
4686 Check __x86_64__ instead of __WORDSIZE.
4688 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4690 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
4692 2012-03-19 David S. Miller <davem@davemloft.net>
4694 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4696 * sysdeps/sparc/fpu/fenv_private.h: New file.
4697 * sysdeps/sparc/fpu/math_private.h: Use it.
4698 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
4700 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
4701 (libc_feholdexcept_setroundl): Remove.
4702 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
4704 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
4705 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
4707 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4709 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
4710 int64_t instead of long int.
4711 (INSERT_WORDS64): Likwise.
4713 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4715 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
4716 _Unwind_GetCFA return to _Unwind_Ptr first.
4718 2012-03-19 Joseph Myers <joseph@codesourcery.com>
4721 * math/s_clog.c: Include <float.h>.
4722 (__clog): Scale large or subnormal inputs.
4723 * math/s_clogf.c: Likewise.
4724 * math/s_clogl.c: Likewise.
4725 * math/s_clog10.c: Include <float.h>.
4726 (M_LOG10_2): Define.
4727 (__clog10): Scale large or subnormal inputs.
4728 * math/s_clog10f.c: Likewise.
4729 * math/s_clog10l.c: Likewise.
4730 * math/libm-test.inc (clog_test): Add more tests.
4731 (clog10_test): Likewise.
4732 * sysdeps/i386/fpu/libm-test-ulps: Update.
4733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4736 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
4738 * math/libm-test.inc (atan2_test): Add another test.
4740 * Makerules (common-objdir-compile): Remove.
4741 * sysdeps/unix/Makefile (config-generated): Do not add
4742 $(unix-generated) to variable.
4743 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
4744 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
4746 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
4748 [generic bits/local_lim.h] (before-compile): Do not append to
4750 [generic bits/local_lim.h] (common-generated): Likewise.
4751 [generic sys/param.h] (before-compile): Do not append to variable.
4752 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
4753 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
4754 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
4755 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
4757 [generic sys/param.h] (sys/param.h-includes): Remove variable.
4758 [generic sys/param.h] (sys/param.h-includes): Remove rule.
4759 [generic sys/param.h] ($(addprefix
4760 $(common-objpfx),$(sys/param.h-includes))): Likewise.
4761 [generic sys/param.h] (common-generated): Do not append to
4763 [generic sys/param.h] (sysdep_headers): Likewise.
4764 [generic bits/errno.h] (before-compile): Do not append to
4766 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
4768 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
4769 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
4770 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
4771 [generic bits/errno.h] (common-generated): Do not append to
4773 [generic bits/ioctls.h] (before-compile): Do not append to
4775 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
4777 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
4778 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
4779 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
4781 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
4782 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
4783 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
4784 [generic bits/ioctls.h] (common-generated): Do not append to
4786 [generic sys/syscall.h] (syscall.h): Remove variable.
4787 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
4789 [generic sys/syscall.h] (before-compile): Do not append to
4791 [generic sys/syscall.h] (common-generated): Likewise.
4792 * sysdeps/unix/errnos-tmpl.c: Remove file.
4793 * sysdeps/unix/errnos.awk: Likewise.
4794 * sysdeps/unix/ioctls-tmpl.c: Likewise.
4795 * sysdeps/unix/ioctls.awk: Likewise.
4796 * sysdeps/unix/mk-local_lim.c: Likewise.
4797 * sysdeps/unix/snarf-ioctls: Likewise.
4799 2012-03-19 Richard Henderson <rth@twiddle.net>
4801 * sysdeps/i386/fpu/fenv_private.h: New file.
4802 * sysdeps/i386/fpu/math_private.h: Use it.
4803 (math_opt_barrier, math_force_eval): Remove.
4804 (libc_feholdexcept_setround_53bit): Remove.
4805 (libc_feupdateenv_53bit): Remove.
4806 * sysdeps/x86_64/fpu/math_private.h: Likewise.
4807 (math_opt_barrier, math_force_eval): Remove.
4808 (libc_feholdexcept): Remove.
4809 (libc_feholdexcept_setround): Remove.
4810 (libc_fetestexcept, libc_fesetenv): Remove.
4811 (libc_feupdateenv_test): Remove.
4812 (libc_feupdateenv, libc_feholdsetround): Remove.
4813 (libc_feresetround): Remove.
4815 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
4816 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
4818 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
4819 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
4820 (libc_feupdateenv_testl): New.
4821 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
4822 (libc_feupdateenv_testf): New.
4823 (libc_feupdateenv): Use libc_feupdateenv_test.
4824 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
4825 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
4827 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
4828 (libc_feholdsetroundf, libc_feholdsetroundl): New.
4829 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
4830 (libc_feresetround_noex): New.
4831 (libc_feresetround_noexf): New.
4832 (libc_feresetround_noexl): New.
4833 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
4834 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
4835 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
4836 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
4838 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
4839 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
4841 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
4842 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
4843 SET_RESTORE_ROUND_NOEX.
4844 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
4845 SET_RESTORE_ROUND_NOEXF.
4846 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
4847 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
4848 (libc_feholdsetroundf): New.
4849 (libc_feresetround, libc_feresetroundf): New.
4851 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
4852 (libc_feholdexcept_setround_53bit): Convert from macro to function.
4853 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
4855 * sysdeps/generic/math_private.h: Include <fenv.h>.
4856 (default_libc_feholdexcept): New.
4857 (default_libc_feholdexcept_setround): New.
4858 (default_libc_fesetenv, default_libc_feupdateenv): New.
4859 (libc_feholdexcept): Only define if undefined.
4860 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
4861 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
4862 (libc_feholdexcept_setroundl): Likewise.
4863 (libc_feholdexcept_setround_53bit): Likewise.
4864 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
4865 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
4866 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
4867 (libc_feupdateenv_53bit): Likewise.
4868 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
4869 (libc_feholdexcept): Convert from macro to inline function.
4870 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
4871 (libc_fesetenv, libc_feupdateenv): Likewise.
4873 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
4874 not previously defined.
4875 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
4876 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
4877 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
4878 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
4879 * sysdeps/ieee754/flt-32/math_private.h: New file.
4880 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
4881 math_private.h below SET_FLOAT_WORD.
4882 (__isnan, __isinf_ns, __finite): Remove.
4883 (__isnanf, __isinf_nsf, __finitef): Remove.
4885 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
4887 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4889 2012-03-17 David S. Miller <davem@davemloft.net>
4892 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
4895 2012-03-16 David S. Miller <davem@davemloft.net>
4897 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
4901 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
4903 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
4904 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
4905 sysdep_routines when subdir is sysvipc.
4906 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
4909 * sysdeps/sparc/fpu/libm-test/ulps: Update.
4911 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4913 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
4916 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4918 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
4919 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
4920 (__lround): Renamed to ...
4921 (__llround): This. Replace long int with long long int.
4922 Define lround functions as aliases of llround functions.
4923 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
4925 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4927 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
4928 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
4929 adresses to uintptr_t. Replace "long int" and "unsigned long
4930 int" with "greg_t" on va_arg.
4932 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4934 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
4935 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
4937 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
4938 Move e_machine check before EI_CLASS check. Handle x32
4939 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
4940 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
4941 SKIP_EM_IA_64 and include
4942 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
4944 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
4945 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
4946 (add_system_dir): New macro.
4948 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
4949 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
4951 2012-03-16 Joseph Myers <joseph@codesourcery.com>
4962 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
4964 * math/w_j0f.c (j0f): Likewise.
4966 * math/w_j0l.c (__j0l): Likewise.
4968 * math/w_j1.c (j1): Likewise.
4970 * math/w_j1f.c (j1f): Likewise.
4972 * math/w_j1l.c (__j1l): Likewise.
4974 * math/w_jn.c (jn): Likewise.
4976 * math/w_jnf.c (jnf): Likewise.
4978 * math/w_jnl.c (__jnl): Likewise.
4980 * math/libm-test.inc (j0_test): Add more tests.
4981 (j1_test): Likewise.
4982 (jn_test): Likewise. Add trailing semicolon to existing test.
4983 (y0_test): Likewise.
4984 (y1_test): Likewise.
4985 * sysdeps/i386/fpu/libm-test-ulps: Update.
4986 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4990 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
4991 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
4992 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
4993 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
4994 (__tanl): Set errno for infinite argument.
4995 * sysdeps/i386/fpu/mptan.c: Remove.
4996 * sysdeps/i386/fpu/s_tan.S: Likewise.
4997 * sysdeps/i386/fpu/s_tanl.S: Likewise.
4998 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
4999 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
5000 * math/libm-test.inc (tan_test): Add more tests and enable more
5001 tests for double and long double.
5002 * sysdeps/i386/fpu/libm-test-ulps: Update.
5003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5005 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5007 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
5008 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
5010 2012-03-16 Roland McGrath <roland@hack.frob.com>
5012 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
5013 * configure.in: Use it for both main tree and add-ons.
5014 * configure: Regenerated.
5016 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5018 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
5020 2012-03-16 Joseph Myers <joseph@codesourcery.com>
5022 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
5026 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
5027 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
5028 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
5029 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
5030 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
5032 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
5033 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
5035 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
5036 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
5037 * sysdeps/i386/fpu/s_cosl.S: Likewise.
5038 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
5039 * sysdeps/i386/fpu/s_sinl.S: Likewise.
5040 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
5041 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
5042 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
5043 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
5044 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
5045 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
5046 * math/libm-test.inc (cos_test): Add more tests and enable more
5047 tests for long double.
5048 (sin_test): Likewise.
5049 (sincos_test): Likewise.
5050 * sysdeps/i386/fpu/libm-test-ulps: Update.
5051 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5053 2012-03-16 David S. Miller <davem@davemloft.net>
5055 * sysdeps/sparc/fpu/math_private.h: New file.
5057 2012-03-15 David S. Miller <davem@davemloft.net>
5059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
5061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
5062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
5064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
5065 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
5066 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
5067 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
5068 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
5069 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
5071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
5073 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
5074 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
5076 * sysdeps/sparc/sparc-ifunc.h: New file.
5077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
5079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
5080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
5082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
5084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
5085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
5086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
5087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
5089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
5090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
5091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
5092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
5093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
5095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
5097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
5098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
5099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
5100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
5101 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
5102 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
5103 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
5104 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
5105 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
5106 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
5107 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
5108 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
5109 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
5110 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
5111 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
5112 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
5113 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
5114 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
5115 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
5116 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
5117 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
5118 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
5119 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
5120 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
5122 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
5124 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
5126 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5128 2012-03-15 Andreas Jaeger <aj@suse.de>
5131 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
5132 ieee754/flt-32 implementation for sin, cos and sincos.
5133 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
5134 * sysdeps/i386/fpu/s_cosf.S: Likewise.
5135 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
5136 * sysdeps/i386/fpu/s_sinf.S: Likewise.
5137 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
5138 ieee754/flt-32 implementation for tan.
5140 * math/libm-test.inc (cos_test): Enable some large input tests for
5142 (sin_test): Likewise.
5143 (sincos_test): Likewise.
5144 (tan_test): Add tests for large input.
5146 * sysdeps/i386/fpu/libm-test-ulps: Update.
5148 2012-03-15 Andreas Jaeger <aj@suse.de>
5151 * math/libm-test.inc (cos_test): Add more test cases.
5152 (sin_test): Likewise.
5153 (sincos_test): Likewise.
5155 2012-03-15 Andreas Jaeger <aj@suse.de>
5158 * math/libm-test.inc (cos_test): Add a test case for large input
5160 (sin_test): Likewise.
5161 (sincos_test): Likewise.
5163 2012-03-15 Andreas Jaeger <aj@suse.de>,
5164 Joseph Myers <joseph@codesourcery.com>
5167 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
5168 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
5169 * sysdeps/i386/fpu/branred.c: Likewise.
5170 * sysdeps/i386/fpu/dosincos.c: Likewise.
5171 * sysdeps/i386/fpu/mpa.c: Likewise.
5172 * sysdeps/i386/fpu/s_cos.S: Likewise.
5173 * sysdeps/i386/fpu/s_sin.S: Likewise.
5174 * sysdeps/i386/fpu/s_sincos.S: Likewise.
5175 * sysdeps/i386/fpu/sincos32.c: Likewise.
5177 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
5179 (libc_feupdateenv_53bit): Define.
5180 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
5182 (libc_feupdateenv_53bit): Define.
5184 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
5185 53 bit (without extend i386 double precision).
5187 * math/libm-test.inc (sincos_test): Add tests for large input.
5191 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
5193 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
5195 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5197 2012-03-15 David S. Miller <davem@davemloft.net>
5199 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
5200 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
5201 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
5202 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
5203 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
5204 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
5205 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
5206 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
5207 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
5208 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
5209 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
5210 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
5211 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
5212 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
5213 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
5214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
5216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
5217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
5219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
5220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
5222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
5223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
5225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
5226 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
5227 fmin/fmax sysdep routines.
5228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
5230 2012-03-14 David S. Miller <davem@davemloft.net>
5232 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
5233 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
5234 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
5235 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
5236 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
5237 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
5238 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
5239 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
5240 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
5241 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
5242 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
5243 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
5244 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
5245 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
5246 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
5247 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
5248 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
5249 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
5250 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
5251 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
5252 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
5253 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
5254 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
5255 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
5256 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
5257 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
5258 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
5259 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
5260 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
5262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
5264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
5265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
5267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
5268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
5270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
5271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
5273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
5274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
5276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
5277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
5279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
5281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
5283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
5285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
5287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
5289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
5291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
5292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
5294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
5295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
5297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
5298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
5300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
5301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
5304 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
5307 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5309 * sysdeps/sparc/configure.in: New file.
5310 * sysdeps/sparc/configure: Generate.
5311 * configure.in (libc_cv_sparc_as_vis3): Substitute.
5312 * configure: Regenerate.
5313 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
5314 * config.make.in (have-as-vis3): New.
5315 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
5316 available use -Av9d instead of -Av9a.
5317 * sysdeps/sparc/sparc64/Makefile: Likewise.
5318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
5319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
5321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
5323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
5325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
5327 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
5328 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
5329 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
5330 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
5331 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
5333 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
5334 fzeros/fnegs to load 0x80000000 into a float register instead of
5336 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
5338 2012-03-14 Joseph Myers <joseph@codesourcery.com>
5340 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5342 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
5343 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
5344 ($(inst_includedir)/bits/syscall.h): Remove rule.
5345 ($(objpfx)bits/syscall.d): Include instead of
5346 $(objpfx)syscall-list.d.
5347 (generated): Change syscall-list.h and syscall-list.d to
5348 bits/syscall.h and bits/syscall.d.
5350 2012-03-14 Roland McGrath <roland@hack.frob.com>
5353 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
5355 2012-03-14 Joseph Myers <joseph@codesourcery.com>
5358 * math/s_csqrt.c: Include <float.h>.
5359 (__csqrt): Scale large or subnormal inputs.
5360 * math/s_csqrtf.c: Likewise.
5361 * math/s_csqrtl.c: Likewise.
5362 * math/libm-test.inc (csqrt_test): Add more tests.
5363 * sysdeps/i386/fpu/libm-test-ulps: Update.
5364 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5367 * math/libm-test.inc (hypot_test): Add more tests.
5369 2012-03-13 David S. Miller <davem@davemloft.net>
5372 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
5373 double-precision for the calculation instead of scaling.
5375 2012-03-13 Joseph Myers <joseph@codesourcery.com>
5377 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
5378 manipulate bits before adding and subtracting TWO52[sx].
5379 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
5380 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
5382 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
5384 2012-03-13 David S. Miller <davem@davemloft.net>
5386 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
5387 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
5388 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
5389 rtld-global-offsets.h
5390 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5392 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
5395 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
5397 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
5398 'err' in the ifdef scope in which it is actually used.
5400 * nss/nss_db/db-init.c: Include string.h
5402 2012-03-12 David S. Miller <davem@davemloft.net>
5404 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
5405 masking out of the most significant byte of random value used.
5406 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5407 Fix coding style in previous change.
5409 * sysdeps/unix/sysv/linux/kernel-features.h
5410 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
5411 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
5413 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
5416 2012-03-11 David S. Miller <davem@davemloft.net>
5418 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
5419 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
5420 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
5421 for 'resultvar' otherwise things get truncated on 64-bit.
5423 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5424 Fix masking out of the most significant byte of random value used.
5426 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5428 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
5430 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5432 2012-03-09 David S. Miller <davem@davemloft.net>
5434 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
5435 variables with appropriate CPP guards.
5436 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
5437 frame pointer, not the stack pointer. Correct layout comments. Fix test
5438 on resulting framesize and the management of the outregs buffer for pltexit.
5439 Preserve floating point return values across _dl_call_pltexit call.
5440 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
5441 framesize and the management of the outregs buffer for pltexit.
5442 Preserve floating point return values across _dl_call_pltexit
5444 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
5445 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
5446 (print_exit): Fix format string for return register value.
5448 2012-03-10 Joseph Myers <joseph@codesourcery.com>
5450 * sunrpc/Makefile (others): Add rpcgen.
5451 ($(objpfx)rpcgen): Remove special build rule and dependency on
5453 * sunrpc/rpcgen.c: New file.
5455 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
5458 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
5459 * stdio-common/bug-vfprintf-nargs.c: Likewise.
5460 * sysdeps/i386/crti.S: Likewise.
5461 * sysdeps/i386/crtn.S: Likewise.
5462 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
5463 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
5464 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
5465 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
5466 * sysdeps/sh/crti.S: Likewise.
5467 * sysdeps/sh/crtn.S: Likewise.
5468 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
5471 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
5473 * locale/programs/locfile-kw.gperf: Likewise.
5474 * locale/programs/charmap-kw.h: Regenerated.
5475 * locale/programs/locfile-kw.h: Likewise.
5478 * intl/plural.y: Replace FSF snail mail address with URL.
5479 * intl/plural.c: Regenerated.
5481 2012-03-09 Richard Henderson <rth@twiddle.net>
5483 * include/math_private.h: Remove file.
5484 * math/math_private.h: Move file ...
5485 * sysdeps/generic/math_private.h: ... here.
5487 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
5488 * sysdeps/powerpc/fpu/math_private.h: Likewise.
5489 * sysdeps/x86_64/fpu/math_private.h: Likewise.
5491 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
5492 and <math_private.h>.
5493 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
5494 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
5495 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
5496 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
5497 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
5498 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
5499 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5500 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5501 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
5502 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5503 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5504 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5505 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
5506 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5507 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
5508 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
5509 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5510 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5511 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5512 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
5513 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5514 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
5515 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
5516 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5517 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
5518 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5519 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
5520 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5521 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5522 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5523 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
5524 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5525 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
5526 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5527 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5528 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5529 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5530 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5531 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5532 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5533 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
5534 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5535 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
5536 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
5537 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
5538 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5539 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
5540 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
5541 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5542 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5543 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
5544 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
5545 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
5546 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5547 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
5548 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5549 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5550 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5551 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
5552 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
5553 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5554 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
5555 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5556 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5557 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
5558 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5559 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5560 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5561 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
5562 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
5563 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
5564 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5565 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
5566 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5567 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
5568 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
5569 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
5570 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5571 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
5572 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
5573 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
5574 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
5575 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
5576 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
5577 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5578 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
5579 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
5580 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
5581 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
5582 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5583 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5584 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
5585 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5586 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
5587 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
5588 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
5589 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5590 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
5591 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5592 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
5593 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
5594 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
5595 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
5596 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
5597 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5598 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
5599 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
5600 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
5601 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5602 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5603 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5604 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5605 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
5606 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5607 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
5608 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5609 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5610 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
5611 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5612 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5613 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5614 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
5615 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5616 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
5617 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5618 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
5619 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
5620 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
5621 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
5622 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
5623 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
5624 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5625 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5626 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
5627 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
5628 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
5629 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
5630 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
5631 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
5632 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
5633 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5634 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
5635 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
5636 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
5637 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
5638 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
5639 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
5640 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
5641 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
5642 * sysdeps/ieee754/k_standard.c: Likewise.
5643 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
5644 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
5645 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5646 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
5647 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
5648 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
5649 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
5650 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
5651 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
5652 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5653 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5654 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
5655 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
5656 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
5657 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
5658 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
5659 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
5660 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
5661 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
5662 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
5663 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
5664 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
5665 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5666 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
5667 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
5668 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
5669 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
5670 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
5671 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
5672 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5673 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
5674 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
5675 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
5676 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
5677 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
5678 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
5679 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
5680 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
5681 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
5682 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5683 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
5684 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
5685 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
5686 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
5687 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
5688 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
5689 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
5690 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5691 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
5692 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5693 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5694 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
5695 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
5696 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
5697 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5698 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5699 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
5700 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
5701 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
5702 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
5703 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5704 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
5705 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5706 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
5707 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5708 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5709 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
5710 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
5711 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
5712 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
5713 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
5714 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5715 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
5716 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
5717 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
5718 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
5719 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
5720 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
5721 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5722 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
5723 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
5724 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
5725 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
5726 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
5727 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
5728 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5729 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
5730 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
5731 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5732 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
5733 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
5734 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
5735 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
5736 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
5737 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5738 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
5739 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
5740 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
5741 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
5742 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
5743 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
5744 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5745 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
5746 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
5747 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
5748 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
5749 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5750 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
5751 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
5752 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
5753 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
5754 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
5755 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
5756 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
5757 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
5758 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5759 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
5760 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
5761 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5762 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
5763 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5764 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
5765 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
5766 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
5767 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
5768 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
5769 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
5770 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
5771 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
5772 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5773 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
5774 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
5775 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
5776 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
5777 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
5778 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
5779 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
5780 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
5781 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
5782 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
5783 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
5784 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
5785 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
5786 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
5787 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
5788 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
5789 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
5790 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
5791 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
5792 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
5793 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
5794 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5795 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5796 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
5797 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
5798 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
5799 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
5800 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
5801 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
5802 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
5803 * sysdeps/ieee754/s_lib_version.c: Likewise.
5804 * sysdeps/ieee754/s_matherr.c: Likewise.
5805 * sysdeps/ieee754/s_signgam.c: Likewise.
5806 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5807 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5808 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
5809 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
5810 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
5811 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
5812 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
5813 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
5814 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
5815 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
5816 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
5817 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
5818 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
5819 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5820 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
5821 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
5822 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5823 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
5824 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5825 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5826 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5828 2012-03-09 Joseph Myers <joseph@codesourcery.com>
5830 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
5831 * sunrpc/rpc_main.c: Likewise.
5832 * sunrpc/rpc_svcout.c: Likewise.
5834 2012-03-09 David S. Miller <davem@davemloft.net>
5836 * include/math_private.h: New file.
5838 2012-03-09 Joseph Myers <joseph@codesourcery.com>
5840 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
5841 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
5842 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
5843 from <bits/socket_type.h>.
5844 (enum __socket_type): Don't define here.
5845 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
5846 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5850 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
5853 * Makerules ($(inst_includedir)/%.h): New rule.
5854 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
5855 (install-others): Remove variable setting.
5856 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
5858 2012-03-08 Richard Henderson <rth@twiddle.net>
5860 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
5861 from macro to inline function; merge with the
5862 !__LIBC_INTERNAL_MATH_INLINES version.
5863 (__ieee754_sqrtf): Likewise.
5865 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
5867 (__rintf, __floor, __floorf): Likewise.
5869 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
5870 macro to inline function.
5871 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
5873 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
5874 not <math/math_private.h>.
5876 2012-03-08 David S. Miller <davem@davemloft.net>
5878 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
5880 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
5882 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
5884 * resolv/gai_misc.c (handle_requests): Fix struct timespec
5886 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
5887 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
5889 2012-03-08 Ulrich Drepper <drepper@gmail.com>
5891 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
5892 be defined individually, they must be defined as a block. Define
5893 S for printing a string instead of hidint the different by using a
5894 macro for adding the 'l'.
5895 * stdio-common/tst-fphex-wide.c: Adjust.
5897 2012-03-07 Marek Polacek <polacek@redhat.com>
5899 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
5901 2012-03-08 Marek Polacek <polacek@redhat.com>
5904 * stdio-common/Makefile (tests): Add tst-fphex-wide.
5905 * stdio-common/tst-fphex.c: Define a few macros to make the
5906 test reusable. Use them.
5907 * stdio-common/tst-fphex-wide.c: New file.
5909 2012-03-08 Joseph Myers <joseph@codesourcery.com>
5912 * manual/macros.texi (gnusystems): New macro.
5913 (nongnusystems): Likewise.
5914 (gnulinuxhurdsystems): Likewise.
5915 (gnuhurdsystems): Likewise..
5916 (gnulinuxsystems): Likewise.
5917 * manual/charset.texi: Use new macros or @theglibc{} to refer to
5918 variants of the GNU system, not "GNU system".
5919 * manual/conf.texi: Likewise.
5920 * manual/errno.texi: Likewise. Update example of errno macro
5922 * manual/filesys.texi: Likewise.
5923 (getumask): Document as specific to GNU/Hurd.
5924 * manual/install.texi: Likewise. Reword some references to
5926 * manual/intro.texi: Likewise.
5927 * manual/io.texi: Likewise.
5928 (File Name Portability): Detail which constraints are inapplicable
5929 to all GNU systems and which are only inapplicable to GNU/Hurd.
5930 * manual/job.texi: Likewise.
5931 * manual/llio.texi: Likewise.
5932 (O_NOCTTY): Document as present on GNU/Linux.
5933 * manual/maint.texi: Likewise.
5934 * manual/memory.texi: Likewise.
5935 * manual/pattern.texi: Likewise.
5936 * manual/pipe.texi: Likewise.
5937 * manual/process.texi: Likewise.
5938 * manual/resource.texi: Likewise.
5939 (RUSAGE_CHILDREN): Remove statement about specifying a particular
5941 * manual/setjmp.texi: Likewise.
5942 * manual/signal.texi: Likewise.
5943 * manual/startup.texi: Likewise.
5944 * manual/stdio.texi: Likewise.
5945 * manual/terminal.texi: Likewise.
5946 (ONLCR): Document as POSIX.
5947 (OXTABS): Document availability on GNU/Linux as XTABS.
5948 (ONOEOT): Document availability separately from other bits.
5949 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
5950 * manual/time.texi: Likewise.
5951 * manual/users.texi: Likewise.
5952 * INSTALL: Regenerated.
5953 * sysdeps/gnu/errlist.c: Regenerated.
5955 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
5956 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
5957 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
5959 * configure: Regenerated.
5961 2012-03-07 Joseph Myers <joseph@codesourcery.com>
5963 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
5964 default includes instead of AC_HEADER_CHECK.
5965 * sysdeps/i386/configure: Regenerated.
5968 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
5969 * math/s_cacoshf.c (__cacoshf): Likewise.
5970 * math/s_cacoshl.c (__cacoshl): Likewise.
5971 * math/s_casinh.c (__casinh): Set signs of result from argument.
5972 * math/s_casinhf.c (__casinhf): Likewise.
5973 * math/s_casinhl.c (__casinhl): Likewise.
5974 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
5975 (casinh_test): Add more tests.
5976 * sysdeps/i386/fpu/libm-test-ulps: Update.
5977 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5979 2012-03-07 Ulrich Drepper <drepper@gmail.com>
5981 * po/zh_TW.po: Update from translation team.
5983 * login/Makefile (distribute): Remove variable.
5984 * catgets/Makefile: Likewise.
5985 * mach/Makefile: Likewise.
5986 * malloc/Makefile: Likewise.
5987 * misc/Makefile: Likewise.
5988 * iconv/Makefile: Likewise.
5989 * nscd/Makefile: Likewise.
5990 * hurd/Makefile: Likewise.
5991 * manual/Makefile: Likewise.
5992 * locale/Makefile: Likewise.
5993 * intl/Makefile: Likewise.
5994 * conform/Makefile: Likewise.
5995 * nss/Makefile: Likewise.
5996 * time/Makefile: Likewise.
5997 * soft-fp/Makefile: Likewise.
5998 * dirent/Makefile: Likewise.
5999 * gmon/Makefile: Likewise.
6000 * po/Makefile: Likewise.
6001 * rt/Makefile: Likewise.
6002 * socket/Makefile: Likewise.
6003 * math/Makefile: Likewise.
6004 * signal/Makefile: Likewise.
6005 * debug/Makefile: Likewise.
6006 * elf/Makefile: Likewise.
6007 * timezone/Makefile: Likewise.
6008 * stdlib/Makefile: Likewise.
6009 * iconvdata/Makefile: Likewise.
6010 * sunrpc/Makefile: Likewise.
6011 * io/Makefile: Likewise.
6012 * argp/Makefile: Likewise.
6013 * inet/Makefile: Likewise.
6014 * hesiod/Makefile: Likewise.
6015 * grp/Makefile: Likewise.
6016 * csu/Makefile: Likewise.
6017 * wctype/Makefile: Likewise.
6018 * crypt/Makefile: Likewise.
6019 * libio/Makefile: Likewise.
6020 * string/Makefile: Likewise.
6021 * nis/Makefile: Likewise.
6022 * resolv/Makefile: Likewise.
6023 * stdio-common/Makefile: Likewise.
6024 * wcsmbs/Makefile: Likewise.
6025 * dlfcn/Makefile: Likewise.
6026 * posix/Makefile: Likewise.
6029 * timezone/Makefile: Don't install timezone files, just the programs
6032 2012-03-06 Ulrich Drepper <drepper@gmail.com>
6034 * nss/databases.def: Add missing gshadow entry.
6036 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
6038 2012-03-06 Marek Polacek <polacek@redhat.com>
6041 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
6042 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
6043 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
6044 * stdio-common/tst-long-dbl-fphex.c: New file.
6046 2012-03-06 David S. Miller <davem@davemloft.net>
6048 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6049 (set_obp_int): New function.
6050 (get_obp_int): New function.
6051 (__get_clockfreq_via_dev_openprom): Likewise.
6052 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
6053 Avoid unused variable warnings on 'val' and use builtin_expect.
6054 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
6056 (INLINE_CLONE_SYSCALL): Likewise.
6058 2012-03-05 David S. Miller <davem@davemloft.net>
6060 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6062 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
6064 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6066 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
6068 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6070 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
6072 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
6073 Replace gettimeofday with __vdso_gettimeofday.
6075 * sysdeps/unix/sysv/linux/x86_64/init-first.c
6076 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
6077 __vdso_clock_gettime and __vdso_getcpu.
6079 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
6080 time with __vdso_time.
6082 2012-03-05 Joseph Myers <joseph@codesourcery.com>
6084 * manual/lang.texi (size_t): Note types to which size_t may be
6085 equivalent with the GNU C Library, but do not describe when
6086 differences between them are significant.
6088 2012-03-05 Andreas Jaeger <aj@suse.de>
6090 * sysdeps/i386/fpu/libm-test-ulps: Update.
6092 2012-03-05 Joseph Myers <joseph@codesourcery.com>
6095 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
6096 (__ieee754_pow): Save and restore rounding mode and use
6097 round-to-nearest for main computations.
6098 * math/libm-test.inc (pow_test_tonearest): New function.
6099 (pow_test_towardzero): Likewise.
6100 (pow_test_downward): Likewise.
6101 (pow_test_upward): Likewise.
6102 (main): Call the new functions.
6103 * sysdeps/i386/fpu/libm-test-ulps: Update.
6104 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6107 * math/libm-test.inc (cosh_test_tonearest): New function.
6108 (cosh_test_towardzero): Likewise.
6109 (cosh_test_downward): Likewise.
6110 (cosh_test_upward): Likewise.
6111 (sinh_test_tonearest): Likewise.
6112 (sinh_test_towardzero): Likewise.
6113 (sinh_test_downward): Likewise.
6114 (sinh_test_upward): Likewise.
6115 (main): Call the new functions.
6116 * sysdeps/i386/fpu/libm-test-ulps: Update.
6117 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6119 2012-03-05 Tom de Vries <tom@codesourcery.com>
6121 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
6122 default stack guard is set in last bytes.
6123 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
6125 2012-03-05 Kees Cook <keescook@chromium.org>
6127 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
6130 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
6131 possibly allocate from heap instead of stack.
6132 * stdio-common/bug-vfprintf-nargs.c: New file.
6133 * stdio-common/Makefile (tests): Add nargs overflow test.
6135 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
6137 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6139 2012-03-03 Marek Polacek <polacek@redhat.com>
6141 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
6142 * math/math_private.h: Likewise.
6143 * stdlib/tst-strtod.c: Likewise.
6144 * sysdeps/i386/i486/bits/atomic.h: Likewise.
6145 * sysdeps/x86_64/bits/atomic.h: Likewise.
6147 2012-03-02 David S. Miller <davem@davemloft.net>
6149 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
6150 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
6151 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
6152 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
6153 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
6154 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
6155 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
6156 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
6158 2012-03-02 Roland McGrath <roland@hack.frob.com>
6161 * manual/examples/README: New file, says the example source files
6162 can be used under GPL>=2.
6163 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
6164 line containing just "*/".
6165 * manual/examples/add.c: Add copyright header (GPL>=2).
6166 * manual/examples/argp-ex1.c: Likewise.
6167 * manual/examples/argp-ex2.c: Likewise.
6168 * manual/examples/argp-ex3.c: Likewise.
6169 * manual/examples/argp-ex4.c: Likewise.
6170 * manual/examples/atexit.c: Likewise.
6171 * manual/examples/db.c: Likewise.
6172 * manual/examples/dir.c: Likewise.
6173 * manual/examples/dir2.c: Likewise.
6174 * manual/examples/execinfo.c: Likewise.
6175 * manual/examples/filecli.c: Likewise.
6176 * manual/examples/filesrv.c: Likewise.
6177 * manual/examples/fmtmsgexpl.c: Likewise.
6178 * manual/examples/genpass.c: Likewise.
6179 * manual/examples/inetcli.c: Likewise.
6180 * manual/examples/inetsrv.c: Likewise.
6181 * manual/examples/isockad.c: Likewise.
6182 * manual/examples/longopt.c: Likewise.
6183 * manual/examples/memopen.c: Likewise.
6184 * manual/examples/memstrm.c: Likewise.
6185 * manual/examples/mkfsock.c: Likewise.
6186 * manual/examples/mkisock.c: Likewise.
6187 * manual/examples/mygetpass.c: Likewise.
6188 * manual/examples/pipe.c: Likewise.
6189 * manual/examples/popen.c: Likewise.
6190 * manual/examples/rprintf.c: Likewise.
6191 * manual/examples/search.c: Likewise.
6192 * manual/examples/select.c: Likewise.
6193 * manual/examples/setjmp.c: Likewise.
6194 * manual/examples/sigh1.c: Likewise.
6195 * manual/examples/sigusr.c: Likewise.
6196 * manual/examples/stpcpy.c: Likewise.
6197 * manual/examples/strdupa.c: Likewise.
6198 * manual/examples/strftim.c: Likewise.
6199 * manual/examples/strncat.c: Likewise.
6200 * manual/examples/subopt.c: Likewise.
6201 * manual/examples/swapcontext.c: Likewise.
6202 * manual/examples/termios.c: Likewise.
6203 * manual/examples/testopt.c: Likewise.
6204 * manual/examples/testpass.c: Likewise.
6205 * manual/examples/timeval_subtract.c: Likewise.
6208 * manual/time.texi (Elapsed Time): Move timeval_subtract example
6210 * manual/timeval_subtract.c.texi: ... here, new file.
6212 2012-03-02 David S. Miller <davem@davemloft.net>
6214 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
6216 2012-03-02 Joseph Myers <joseph@codesourcery.com>
6219 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
6220 (__sin): Save and restore rounding mode and use round-to-nearest
6221 for all computations.
6222 (__cos): Save and restore rounding mode and use round-to-nearest
6223 for all computations.
6224 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
6226 (tan): Save and restore rounding mode and use round-to-nearest for
6228 * math/libm-test.inc (cos_test_tonearest): New function.
6229 (cos_test_towardzero): Likewise.
6230 (cos_test_downward): Likewise.
6231 (cos_test_upward): Likewise.
6232 (sin_test_tonearest): Likewise.
6233 (sin_test_towardzero): Likewise.
6234 (sin_test_downward): Likewise.
6235 (sin_test_upward): Likewise.
6236 (tan_test_tonearest): Likewise.
6237 (tan_test_towardzero): Likewise.
6238 (tan_test_downward): Likewise.
6239 (tan_test_upward): Likewise.
6240 (main): Call the new functions.
6241 * sysdeps/i386/fpu/libm-test-ulps: Update.
6242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6245 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
6246 small n, then large n, before computing and testing k+n.
6247 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
6248 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
6250 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
6252 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
6253 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
6254 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
6255 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
6256 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
6257 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
6258 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
6259 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
6260 * math/libm-test.inc (scalbn_test): Add more tests.
6261 (scalbln_test): Likewise.
6263 * manual/filesys.texi (mode_t): Describe constraints on size and
6264 signedness, not exact equivalence to a particular type.
6266 (ino64_t): Likewise.
6268 (nlink_t): Likewise.
6269 (blkcnt_t): Likewise.
6270 (blkcnt64_t): Likewise.
6271 * manual/llio.texi (off_t): Likewise.
6274 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
6275 (__ieee754_exp): Save and restore rounding mode and use
6276 round-to-nearest for all computations.
6277 * math/libm-test.inc (exp_test_tonearest): New function.
6278 (exp_test_towardzero): Likewise.
6279 (exp_test_downward): Likewise.
6280 (exp_test_upward): Likewise.
6281 (main): Call the new functions.
6282 * sysdeps/i386/fpu/libm-test-ulps: Update.
6283 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6285 2012-03-01 Chris Demetriou <cgd@google.com>
6287 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
6288 have predictable order.
6290 2012-03-01 David S. Miller <davem@davemloft.net>
6292 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
6294 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
6295 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
6296 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
6297 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
6299 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
6300 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
6301 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
6302 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
6303 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
6304 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
6305 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
6306 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
6307 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
6309 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6311 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
6312 * sysdeps/sparc/fpu/libm-test-ulps: to here.
6313 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
6315 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
6316 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6317 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
6318 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
6319 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
6320 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
6321 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
6322 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6323 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
6324 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
6325 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
6326 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6327 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6328 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
6329 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6330 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6331 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
6332 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
6333 * sysdeps/sparc/elf/configure: Regenerated.
6335 2012-03-01 Joseph Myers <joseph@codesourcery.com>
6337 * configure.in (AS, LD): Require binutils 2.20 or later.
6338 * configure: Regenerated.
6339 * manual/install.texi (Tools for Compilation): Give binutils 2.20
6340 as required minimum version.
6341 * INSTALL: Regenerated.
6345 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
6346 before squaring exponent.
6347 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
6348 bottom long double and 27 bits of top long double before squaring
6350 * math/libm-test.inc (erfc_test): Add more tests.
6351 * sysdeps/i386/fpu/libm-test-ulps: Update.
6352 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6353 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6355 2012-03-01 Kai Tietz <ktietz@redhat.com>
6357 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
6358 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
6359 containing bit-fields.
6360 * soft-fp/extended.h (_FP_UNION_E): Likewise.
6361 * soft-fp/single.h (_FP_UNION_S): Likewise.
6362 * soft-fp/double.h (_FP_UNION_D): Likewise.
6364 2012-02-29 Joseph Myers <joseph@codesourcery.com>
6367 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
6368 not include ../strcmp.S.
6369 [USE_AS_STRNCASECMP_L]: Likewise.
6370 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
6371 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
6372 * sysdeps/i386/i686/multiarch/strncase_l-c.c
6373 (__strncasecmp_l_ia32): Define as alias to
6374 __strncasecmp_l_nonascii.
6377 * math/libm-test.inc (expm1_test): Add test for bug 5794.
6378 * sysdeps/i386/fpu/libm-test-ulps: Update.
6379 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6381 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
6382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6384 2012-02-29 Jeff Law <law@redhat.com>
6386 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
6389 2012-02-29 Marek Polacek <polacek@redhat.com>
6392 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
6393 * elf/Makefile: Add rules to run tst-unused-dep.out.
6395 2012-02-28 David S. Miller <davem@davemloft.net>
6397 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
6398 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
6399 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
6400 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
6401 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
6402 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
6404 2012-02-29 Joseph Myers <joseph@codesourcery.com>
6406 * math/libm-test.inc (llround_test): Move one test from
6407 lround_test. Use TEST_f_L in moved test.
6408 (lround_test): Move misplaced test to llround_test. Add testcase
6411 2012-02-28 Ulrich Drepper <drepper@gmail.com>
6413 * sysdeps/x86_64/fpu/e_expf.S: New file.
6414 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
6416 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
6419 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
6420 of remain_len that may cause incomplete multi-byte character and
6422 * posix/bug-regex33.c: New file.
6423 * posix/Makefile (tests): Add bug-regex33.
6425 2012-02-28 Joseph Myers <joseph@codesourcery.com>
6427 * manual/macros.texi: New file.
6428 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
6429 * manual/libc.texinfo: Include macros.texi.
6430 * manual/creatute.texi: Likewise.
6431 * manual/install.texi: Likewise.
6432 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
6433 @glibcadj{} in references to the GNU C Library.
6434 * manual/charset.texi: Likewise.
6435 * manual/conf.texi: Likewise.
6436 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
6437 when not using those macros.
6438 * manual/creature.texi: Likewise.
6439 * manual/crypt.texi: Likewise.
6440 * manual/errno.texi: Likewise.
6441 * manual/filesys.texi: Likewise.
6442 * manual/header.texi: Likewise.
6443 * manual/install.texi: Likewise.
6444 * manual/intro.texi: Likewise.
6445 * manual/io.texi: Likewise.
6446 * manual/job.texi: Likewise.
6447 * manual/lang.texi: Likewise.
6448 * manual/libc.texiinfo: Likewise.
6449 * manual/llio.texi: Likewise.
6450 * manual/locale.texi: Likewise.
6451 * manual/maint.texi: Likewise.
6452 * manual/math.texi: Likewise.
6453 * manual/memory.texi: Likewise.
6454 * manual/message.texi: Likewise.
6455 * manual/nss.texi: Likewise.
6456 * manual/pattern.texi: Likewise.
6457 * manual/process.texi: Likewise.
6458 * manual/resource.texi: Likewise.
6459 * manual/search.texi: Likewise.
6460 * manual/setjmp.texi: Likewise.
6461 * manual/signal.texi: Likewise.
6462 * manual/socket.texi: Likewise.
6463 * manual/startup.texi: Likewise.
6464 * manual/stdio.texi: Likewise.
6465 * manual/string.texi: Likewise.
6466 * manual/sysinfo.texi: Likewise.
6467 * manual/syslog.texi: Likewise.
6468 * manual/terminal.texi: Likewise.
6469 * manual/time.texi: Likewise.
6470 * manual/users.texi: Likewise.
6471 * INSTALL: Regenerated.
6472 * NOTES: Regenerated.
6473 * sysdeps/gnu/errlist.c: Regenerated.
6475 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
6477 * include/dirent.h: Include <dirstream.h> before
6480 2012-02-28 David S. Miller <davem@davemloft.net>
6482 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
6483 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
6484 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
6485 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
6487 2012-02-27 David S. Miller <davem@davemloft.net>
6489 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
6490 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
6491 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
6492 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
6494 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
6495 frame pointer instead of stack pointer relative arg slot.
6496 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
6497 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
6498 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
6500 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
6503 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
6505 2012-02-27 David S. Miller <davem@davemloft.net>
6507 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
6508 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
6509 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
6510 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
6511 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
6512 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
6513 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
6514 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
6516 2012-02-27 Joseph Myers <joseph@codesourcery.com>
6518 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
6519 later. Allow versions 5-9.
6520 * configure: Regenerated.
6521 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
6522 required minimum version and 4.6 as recommended version. Do not
6523 mention bugs in GCC 2.7 and 2.8.
6524 * INSTALL: Regenerated.
6526 2012-02-27 David S. Miller <davem@davemloft.net>
6528 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
6529 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
6530 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
6531 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
6532 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
6533 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
6534 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
6535 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
6537 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
6538 manipulate bits before adding and subtracting TWO112[sx].
6539 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
6541 2012-02-27 Roland McGrath <roland@hack.frob.com>
6544 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
6545 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
6546 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
6547 being in POSIX, because they are in 1003.1-2008.
6549 * rt/tst-aio.c: Include <fcntl.h>.
6550 * rt/tst-aio7.c: Likewise.
6551 * rt/tst-aio64.c: Likewise.
6553 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
6555 2012-02-27 Joseph Myers <joseph@codesourcery.com>
6557 * manual/install.texi (--with-headers): Describe headers as
6558 interface headers, not private headers.
6559 (Specific advice for GNU/Linux systems): Describe use of headers
6560 from "make headers_install", not private headers from older
6562 * INSTALL: Regenerated.
6563 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
6565 * sysdeps/unix/sysv/linux/configure: Regenerated.
6567 * manual/llio.texi (fclean): Remove documentation.
6569 * manual/Makefile (libc-texi-generated): New variable. Include
6571 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
6572 $(libc-texi-generated), not duplicated list of files.
6573 (version.texi, stamp-version): New rules.
6574 (realclean): Remove $(libc-texi-generated), not individual files
6575 from that list. Do not remove dir-add.texinfo.
6576 * manual/libc.texinfo: Comment out uses of edition numbers and
6577 references to printed manual. Remove last-updated dates.
6578 (EDITION): Comment out.
6580 (VERSION, UPDATED): Remove.
6581 (version.texi): Include.
6583 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
6585 * sysdeps/posix/spawni.c: Include <signal.h>.
6586 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
6587 * sysdeps/pthread/aio_fsync.c: Likewise.
6589 2012-02-26 Ulrich Drepper <drepper@gmail.com>
6591 * conform/Makefile (tests): Run only when not cross-compiling and
6592 when fast-check is not defined.
6594 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
6595 * conform/data/limits.h-data: Fixes for POSIX2008.
6596 * conform/run-conformtest.sh: Run all tests.
6597 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
6599 * include/bits/dlfcn.h: Likewise.
6600 * include/langinfo.h: Likewise.
6601 * include/monetary.h: Likewise.
6602 * include/sys/poll.h: Likewise.
6604 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
6606 * posix/spawn.h: Define __need_sigset_t.
6607 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
6608 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
6609 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
6610 to get sigevent_t only.
6611 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
6613 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6614 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
6615 process_vm_writev only for __USE_GNU.
6616 * termios/termios.h: Declare tcgetsid also for POSIX2008.
6618 * conform/Makefile: For now ignore errors from run-conformtest.
6619 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
6620 POSIX to avoid namespace pollution. Don't prepend headers.
6621 * conform/data/aio.h-data: Fixes for POSIX testing.
6622 * conform/data/fcntl.h-data: Likewise.
6623 * conform/data/glob.h-data: Likewise.
6624 * conform/data/grp.h-data: Likewise.
6625 * conform/data/pthread.h-data: Likewise.
6626 * conform/data/pwd.h-data: Likewise.
6627 * conform/data/signal.h-data: Likewise.
6628 * conform/data/spawn.h-data: Likewise.
6629 * conform/data/stdio.h-data: Likewise.
6630 * conform/data/stdlib.h-data: Likewise.
6631 * conform/data/stropts.h-data: Likewise.
6632 * conform/data/sys/mman.h-data: Likewise.
6633 * conform/data/sys/stat.h-data: Likewise.
6634 * conform/data/sys/types.h-data: Likewise.
6635 * conform/data/sys/wait.h-data: Likewise.
6636 * conform/data/time.h-data: Likewise.
6637 * conform/data/unistd.h-data: Likewise.
6638 * conform/data/utime.h-data: Likewise.
6640 * io/sys/stat.h: fchmod was always in POSIX.
6641 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
6642 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
6643 * rt/aio.h: Define __need_timespec before including <time.h>.
6644 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
6645 struct. Add forward declaration of pthread_attr_t and use it in
6647 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
6648 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6649 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
6650 always remove CLK_TCK definition.
6652 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
6654 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
6656 2012-02-25 Ulrich Drepper <drepper@gmail.com>
6658 * conform/run-conformtest.sh: New file.
6659 * conform/Makefile: Run run-conformtest for tests.
6660 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
6663 * conform/data/uchar.h-data: New file.
6664 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
6665 * conform/data/arpa/inet.h-data: Likewise.
6666 * conform/data/assert.h-data: Likewise.
6667 * conform/data/complex.h-data: Likewise.
6668 * conform/data/cpio.h-data: Likewise.
6669 * conform/data/ctype.h-data: Likewise.
6670 * conform/data/dirent.h-data: Likewise.
6671 * conform/data/dlfcn.h-data: Likewise.
6672 * conform/data/errno.h-data: Likewise.
6673 * conform/data/fcntl.h-data: Likewise.
6674 * conform/data/float.h-data: Likewise.
6675 * conform/data/fmtmsg.h-data: Likewise.
6676 * conform/data/fnmatch.h-data: Likewise.
6677 * conform/data/ftw.h-data: Likewise.
6678 * conform/data/glob.h-data: Likewise.
6679 * conform/data/grp.h-data: Likewise.
6680 * conform/data/iconv.h-data: Likewise.
6681 * conform/data/inttypes.h-data: Likewise.
6682 * conform/data/langinfo.h-data: Likewise.
6683 * conform/data/libgen.h-data: Likewise.
6684 * conform/data/limits.h-data: Likewise.
6685 * conform/data/locale.h-data: Likewise.
6686 * conform/data/math.h-data: Likewise.
6687 * conform/data/monetary.h-data: Likewise.
6688 * conform/data/mqueue.h-data: Likewise.
6689 * conform/data/ndbm.h-data: Likewise.
6690 * conform/data/net/if.h-data: Likewise.
6691 * conform/data/netdb.h-data: Likewise.
6692 * conform/data/netinet/in.h-data: Likewise.
6693 * conform/data/nl_types.h-data: Likewise.
6694 * conform/data/poll.h-data: Likewise.
6695 * conform/data/pthread.h-data: Likewise.
6696 * conform/data/pwd.h-data: Likewise.
6697 * conform/data/regex.h-data: Likewise.
6698 * conform/data/sched.h-data: Likewise.
6699 * conform/data/search.h-data: Likewise.
6700 * conform/data/semaphore.h-data: Likewise.
6701 * conform/data/setjmp.h-data: Likewise.
6702 * conform/data/signal.h-data: Likewise.
6703 * conform/data/spawn.h-data: Likewise.
6704 * conform/data/stdarg.h-data: Likewise.
6705 * conform/data/stdio.h-data: Likewise.
6706 * conform/data/stdlib.h-data: Likewise.
6707 * conform/data/string.h-data: Likewise.
6708 * conform/data/strings.h-data: Likewise.
6709 * conform/data/stropts.h-data: Likewise.
6710 * conform/data/sys/ipc.h-data: Likewise.
6711 * conform/data/sys/mman.h-data: Likewise.
6712 * conform/data/sys/msg.h-data: Likewise.
6713 * conform/data/sys/resource.h-data: Likewise.
6714 * conform/data/sys/select.h-data: Likewise.
6715 * conform/data/sys/sem.h-data: Likewise.
6716 * conform/data/sys/shm.h-data: Likewise.
6717 * conform/data/sys/socket.h-data: Likewise.
6718 * conform/data/sys/stat.h-data: Likewise.
6719 * conform/data/sys/statvfs.h-data: Likewise.
6720 * conform/data/sys/time.h-data: Likewise.
6721 * conform/data/sys/timeb.h-data: Likewise.
6722 * conform/data/sys/times.h-data: Likewise.
6723 * conform/data/sys/types.h-data: Likewise.
6724 * conform/data/sys/uio.h-data: Likewise.
6725 * conform/data/sys/un.h-data: Likewise.
6726 * conform/data/sys/utsname.h-data: Likewise.
6727 * conform/data/sys/wait.h-data: Likewise.
6728 * conform/data/syslog.h-data: Likewise.
6729 * conform/data/tar.h-data: Likewise.
6730 * conform/data/termios.h-data: Likewise.
6731 * conform/data/utime.h-data: Likewise.
6732 * conform/data/utmpx.h-data: Likewise.
6733 * conform/data/varargs.h-data: Likewise.
6734 * conform/data/wchar.h-data: Likewise.
6735 * conform/data/wctype.h-data: Likewise.
6736 * conform/data/wordexp.h-data: Likewise.
6738 * include/stropts.h: New file.
6739 * include/uchar.h: New file.
6740 * include/aio.h: Changes to allow conformtest.pl to use the headers.
6741 * include/assert.h: Likewise.
6742 * include/ctype.h: Likewise.
6743 * include/dirent.h: Likewise.
6744 * include/dlfcn.h: Likewise.
6745 * include/fcntl.h: Likewise.
6746 * include/fnmatch.h: Likewise.
6747 * include/glob.h: Likewise.
6748 * include/grp.h: Likewise.
6749 * include/libio.h: Likewise.
6750 * include/locale.h: Likewise.
6751 * include/math.h: Likewise.
6752 * include/net/if.h: Likewise.
6753 * include/netdb.h: Likewise.
6754 * include/netinet/in.h: Likewise.
6755 * include/pthread.h: Likewise.
6756 * include/pwd.h: Likewise.
6757 * include/regex.h: Likewise.
6758 * include/sched.h: Likewise.
6759 * include/search.h: Likewise.
6760 * include/setjmp.h: Likewise.
6761 * include/signal.h: Likewise.
6762 * include/stdio.h: Likewise.
6763 * include/stdlib.h: Likewise.
6764 * include/string.h: Likewise.
6765 * include/sys/cdefs.h: Likewise.
6766 * include/sys/mman.h: Likewise.
6767 * include/sys/msg.h: Likewise.
6768 * include/sys/resource.h: Likewise.
6769 * include/sys/select.h: Likewise.
6770 * include/sys/socket.h: Likewise.
6771 * include/sys/stat.h: Likewise.
6772 * include/sys/statvfs.h: Likewise.
6773 * include/sys/time.h: Likewise.
6774 * include/sys/times.h: Likewise.
6775 * include/sys/uio.h: Likewise.
6776 * include/sys/utsname.h: Likewise.
6777 * include/sys/wait.h: Likewise.
6778 * include/termios.h: Likewise.
6779 * include/time.h: Likewise.
6780 * include/ulimit.h: Likewise.
6781 * include/unistd.h: Likewise.
6782 * include/utime.h: Likewise.
6783 * include/wchar.h: Likewise.
6784 * include/wctype.h: Likewise.
6785 * include/wordexp.h: Likewise.
6787 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
6789 * time/time.h: TIME_UTC must be a macro.
6790 Make timespec_get available for ISO C11 only as well.
6792 2012-02-24 Ulrich Drepper <drepper@gmail.com>
6794 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
6795 Reported by Peng Haitao <penght@cn.fujitsu.com>.
6797 2012-02-24 Joseph Myers <joseph@codesourcery.com>
6799 * configure.in: Use -o not -a in test for unsupported multi-arch.
6801 2012-02-24 Joseph Myers <joseph@codesourcery.com>
6803 * manual/texinfo.tex: Update to version 2012-01-19.16.
6805 2012-02-24 Joseph Myers <joseph@codesourcery.com>
6807 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
6809 2012-02-24 Roland McGrath <roland@hack.frob.com>
6812 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
6813 * manual/fdl-1.3.texi: New file.
6814 * manual/fdl-1.1.texi: File removed.
6817 * manual/libc.texinfo (FDL_VERSION): New @set.
6818 Use it for mention of FDL in cover text.
6819 (Documentation License): Use it in @include file name.
6821 2012-02-22 Joseph Myers <joseph@codesourcery.com>
6822 Roland McGrath <roland@hack.frob.com>
6825 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
6826 not LONG_LONG_MAX and LONG_LONG_MIN.
6827 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
6828 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
6830 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
6832 2012-02-22 Joseph Myers <joseph@codesourcery.com>
6836 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
6837 manipulate bits before adding and subtracting TWO23[sx].
6838 * math/libm-test.inc (nearbyint_test): Add more tests.
6840 2012-02-22 Joseph Myers <joseph@codesourcery.com>
6843 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
6844 bits before adding and subtracting TWO23[sx].
6845 * math/libm-test.inc (rint_test): Add more tests.
6846 (rint_test_tonearest): Likewise.
6847 (rint_test_towardzero): Likewise.
6848 (rint_test_downward): Likewise.
6849 (rint_test_upward: Likewise.
6851 2012-02-22 Joseph Myers <joseph@codesourcery.com>
6854 * include/stdc-predef.h: New file. Extracted from features.h.
6855 * include/features.h: Include stdc-predef.h.
6856 * Makefile (headers): Add stdc-predef.h.
6857 * CONFORMANCE (Compiler limitations): Update.
6859 2012-02-22 Joseph Myers <joseph@codesourcery.com>
6861 * manual/libc.texinfo (VERSION, UPDATED): Revert.
6863 2012-02-21 David S. Miller <davem@davemloft.net>
6865 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
6866 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
6868 2012-02-20 David S. Miller <davem@davemloft.net>
6870 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
6871 using a normal save/restore sequence, rather than allocating a
6872 dummy stack frame just to store a frame pointer and restore.
6873 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6875 2012-02-21 Joseph Myers <joseph@codesourcery.com>
6877 * manual/install.texi: Fix stray word in line-wrapped comment.
6879 2012-02-20 David S. Miller <davem@davemloft.net>
6881 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
6882 both binutils and gcc support GOTDATA.
6884 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
6885 "rd %pc" in the PIC register setup sequences.
6887 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
6888 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
6889 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
6890 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
6891 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
6892 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
6893 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6894 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6895 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
6896 (SYSCALL_ERROR_HANDLER): Likewise.
6897 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
6898 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6899 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
6900 (SYSCALL_ERROR_HANDLER): Likewise.
6902 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
6903 (HAVE_GCC_GOTDATA): New.
6904 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
6905 relocation support in both binutils and gcc.
6906 * sysdeps/sparc/elf/configure: Regenerate.
6908 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
6909 * sysdeps/sparc/sparc32/elf/configure: Delete.
6910 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
6911 * sysdeps/sparc/sparc64/elf/configure: Delete.
6912 * sysdeps/sparc/elf/configure.in: New file.
6913 * sysdeps/sparc/elf/configure: Generate.
6915 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
6916 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
6917 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
6918 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
6919 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
6921 2012-02-21 Joseph Myers <joseph@codesourcery.com>
6923 * manual/install.texi: Do not mention specific glibc version
6925 * manual/libc.texinfo (VERSION, UPDATED): Update.
6926 (@copying): Use @copyright{} and range of years.
6928 2012-02-21 Joseph Myers <joseph@codesourcery.com>
6931 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
6932 [crti.S not in sysdirs] (generated): Do not append.
6933 [crti.S not in sysdirs] (omit-deps): Likewise.
6934 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
6935 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
6936 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
6937 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
6938 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
6940 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
6941 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
6942 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
6943 * csu/defs.awk: Remove file.
6944 * sysdeps/generic/initfini.c: Likewise.
6945 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
6947 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
6950 2012-02-20 Joseph Myers <joseph@codesourcery.com>
6952 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
6953 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
6954 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
6955 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
6956 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6957 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
6959 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
6960 (__EPOLL_PACKED): Define to empty if not defined by
6962 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
6963 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6966 2012-02-20 Joseph Myers <joseph@codesourcery.com>
6968 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
6969 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
6970 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
6971 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
6973 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
6974 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6977 2012-02-20 Joseph Myers <joseph@codesourcery.com>
6979 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
6981 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6982 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6983 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
6984 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6986 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
6988 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6989 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
6991 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
6993 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
6994 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
6996 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
6998 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
7001 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
7003 * math/w_acos.c: Use non-signaling floating-point comparisons.
7004 * math/w_acosf.c: Likewise.
7005 * math/w_acosh.c: Likewise.
7006 * math/w_acoshf.c: Likewise.
7007 * math/w_acoshl.c: Likewise.
7008 * math/w_acosl.c: Likewise.
7009 * math/w_asin.c: Likewise.
7010 * math/w_asinf.c: Likewise.
7011 * math/w_asinl.c: Likewise.
7012 * math/w_atanh.c: Likewise.
7013 * math/w_atanhf.c: Likewise.
7014 * math/w_atanhl.c: Likewise.
7015 * math/w_exp2.c: Likewise.
7016 * math/w_exp2f.c: Likewise.
7017 * math/w_exp2l.c: Likewise.
7018 * math/w_j0.c: Likewise.
7019 * math/w_j0f.c: Likewise.
7020 * math/w_j0l.c: Likewise.
7021 * math/w_j1.c: Likewise.
7022 * math/w_j1f.c: Likewise.
7023 * math/w_j1l.c: Likewise.
7024 * math/w_jn.c: Likewise.
7025 * math/w_jnf.c: Likewise.
7026 * math/w_log.c: Likewise.
7027 * math/w_log10.c: Likewise.
7028 * math/w_log10f.c: Likewise.
7029 * math/w_log10l.c: Likewise.
7030 * math/w_log2.c: Likewise.
7031 * math/w_log2f.c: Likewise.
7032 * math/w_log2l.c: Likewise.
7033 * math/w_logf.c: Likewise.
7034 * math/w_logl.c: Likewise.
7035 * math/w_sqrt.c: Likewise.
7036 * math/w_sqrtf.c: Likewise.
7037 * math/w_sqrtl.c: Likewise.
7038 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7039 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
7040 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7041 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
7042 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
7044 2012-02-19 Joseph Myers <joseph@codesourcery.com>
7047 * manual/string.texi (strnlen): Use correct parameter name in
7048 equivalent expression.
7050 2012-02-19 Joseph Myers <joseph@codesourcery.com>
7053 * manual/users.texi (seteuid): Consistently use neweuid for
7056 2012-02-19 Joseph Myers <joseph@codesourcery.com>
7059 * manual/nss.texi (Services in the NSS configuration): Correct
7060 list of services in example configuration file.
7062 2012-02-19 Nick Bowler <nbowler@draconx.ca>
7065 * manual/arith.texi: Remove statements about negative zero
7066 behaving identically to zero.
7068 2012-02-18 Joseph Myers <joseph@codesourcery.com>
7071 * manual/install.texi: Do not document upgrading from libc5.
7073 2012-02-18 Joseph Myers <joseph@codesourcery.com>
7076 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
7078 2012-02-18 David S. Miller <davem@davemloft.net>
7080 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
7081 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
7082 %o7 across the call.
7083 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
7085 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
7087 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7088 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
7089 * sysdeps/sparc/crtn.S: Likewise.
7091 2012-02-17 Ulrich Drepper <drepper@gmail.com>
7093 * aout/Makefile: Remove.
7095 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
7098 * manual/examples/argp-ex1.c (main): Format definition in GNU
7100 * manual/examples/argp-ex2.c (main): Likewise.
7101 * manual/examples/argp-ex3.c (main): Likewise.
7102 * manual/examples/argp-ex4.c (main): Likewise.
7103 * manual/examples/longopt.c (main): Use new-style prototype
7105 * manual/examples/strncat.c (main): Specify return type and use
7106 (void) for arguments.
7107 * manual/examples/subopt.c (main): Use char **argv argument.
7109 2012-02-17 Joseph Myers <joseph@codesourcery.com>
7112 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
7115 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
7118 * manual/string.texi (strchr): Change when strchrnul is
7121 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
7124 * manual/locale.texi (setlocale): Document LOCPATH.
7126 2012-02-17 Joseph Myers <joseph@codesourcery.com>
7129 * manual/process.texi (execle): Move @dots{} before last argument.
7131 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
7134 * manual/charset.texi (Generic Charset Conversion): Fix typo
7135 (LC_TYPE -> LC_CTYPE).
7137 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
7140 * manual/arith.texi (scalbn): Use @var{} on parameter names.
7141 (scalbnf): Likewise.
7142 (scalbnl): Likewise.
7143 (scalbln): Likewise.
7144 (scalblnf): Likewise.
7145 (scalblnl): Likewise.
7146 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
7150 * manual/filesys.texi (telldir): Use braces around return type.
7151 * manual/llio.texi (mmap): Add space after comma.
7153 * manual/math.texi (jn): Use @var{} on parameter names.
7159 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
7161 * manual/resource.texi (ulimit): Use @dots{} instead of literal
7163 (sched_get_priority_min): Remove semicolon on @deftypefun line.
7164 (sched_get_priority_max): Likewise.
7165 * manual/signal.texi (sigvec): Add space after comma.
7166 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
7168 (if_indextoname): Likewise.
7169 (if_freenameindex): Likewise.
7170 (sendto): Use ',' instead of '.' in prototype.
7171 * manual/startup.texi (syscall): Use @dots{} instead of literal
7173 * manual/stdio.texi (__fpending): Separate initial words of
7174 paragraph from @deftypefun line.
7175 * manual/syslog.texi (syslog): Use @dots{} instead of literal
7177 (vsyslog): Use @var{} on parameter names.
7178 * manual/terminal.texi (stty): Use @var{} on parameter names.
7179 * manual/users.texi (getutmp): Use @var{} on parameter names.
7180 (getutmpx): Likewise.
7182 2012-02-17 Joseph Myers <joseph@codesourcery.com>
7185 * manual/stdio.texi (fopen): Fix typos in description of
7188 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
7191 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
7192 get clock_id definition.
7194 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
7197 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
7198 (madvise): Cast every argument to void on its own.
7200 2012-02-17 Joseph Myers <joseph@codesourcery.com>
7203 * manual/startup.texi (Exit Status): Fix typo.
7205 2012-02-17 Joseph Myers <joseph@codesourcery.com>
7208 * manual/examples/argp-ex1.c: Include <stdlib.h>.
7209 * manual/examples/argp-ex2.c: Likewise.
7210 * manual/examples/argp-ex3.c: Likewise.
7212 2012-02-16 Richard Henderson <rth@redhat.com>
7214 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
7215 * sysdeps/s390/s390-32/initfini.c: Remove.
7216 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
7217 * sysdeps/s390/s390-64/initfini.c: Remove.
7219 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7221 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
7222 compiler output for sysdeps/generic/initfini.c.
7223 * sysdeps/sh/elf/initfini.c: Remove file.
7225 2012-02-16 David S. Miller <davem@davemloft.net>
7228 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
7230 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
7231 * sysdeps/sparc/crti.S: New file.
7232 * sysdeps/sparc/crtn.S: New file.
7233 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
7234 * sysdeps/sparc/sparc64/Makefile: Likewise.
7236 2012-02-15 Mike Frysinger <vapier@gentoo.org>
7239 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
7241 2012-02-15 Roland McGrath <roland@hack.frob.com>
7244 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
7246 * mach/devstream.c (cookie_io_functions_t): Macro removed.
7247 (write, read, close): Likewise.
7248 Patch by Aurelien Jarno <aurelien@aurel32.net>.
7250 2012-02-15 Joseph Myers <joseph@codesourcery.com>
7252 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
7253 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
7254 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
7255 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
7257 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
7258 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7261 2012-02-14 Marek Polacek <polacek@redhat.com>
7263 * sysdeps/x86_64/crti.S: New file.
7264 * sysdeps/x86_64/crtn.S: New file.
7265 * sysdeps/x86_64/elf/initfini.c: Remove file.
7267 2012-02-13 Joseph Myers <joseph@codesourcery.com>
7269 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
7270 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
7271 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
7272 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
7274 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
7275 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7278 2012-02-13 Joseph Myers <joseph@codesourcery.com>
7280 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
7281 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
7282 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
7283 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
7285 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
7286 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7289 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
7291 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
7292 __feraiseexcept instead of feraiseexcept.
7294 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
7295 nanosleep invocations.
7296 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
7297 strings, and add error checking for a nanosleep invocations.
7299 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
7301 Replace FSF snail mail address with URLs, as per GNU coding standards.
7302 Most of the snail mail addresses were wrong anyway, and omitting
7303 them makes the source code easier to maintain. Almost all of the
7304 changes are to license notices and to locale LC_IDENTIFICATION
7305 addresses, except for this one:
7306 * manual/libc.texinfo: In "Published by", give the FSF's URL,
7307 not its snail mail address.
7309 2012-02-09 Richard Henderson <rth@twiddle.net>
7311 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
7312 of kernel-features.h.
7314 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
7316 2012-02-08 Marek Polacek <polacek@redhat.com>
7318 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
7319 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
7320 * sysdeps/gnu/_G_config.h: Likewise.
7321 * sysdeps/generic/_G_config.h: Likewise.
7323 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
7325 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
7327 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7329 * sysdeps/powerpc/powerpc32/crti.S: New file.
7330 * sysdeps/powerpc/powerpc32/crtn.S: New file.
7331 * sysdeps/powerpc/powerpc64/crti.S: New file.
7332 * sysdeps/powerpc/powerpc64/crtn.S: New file.
7334 * Makeconfig (have-initfini): Don't set.
7335 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
7336 * configure.in (nopic_initfini): Don't substitute.
7337 * config.h.in (HAVE_INITFINI): Don't #undef.
7338 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
7339 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
7341 2012-02-08 Joseph Myers <joseph@codesourcery.com>
7343 Support crti.S and crtn.S provided directly by architectures.
7344 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
7345 [crti.S in sysdirs] (omit-deps): Likewise.
7346 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
7347 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
7348 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
7349 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
7350 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
7351 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
7352 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
7353 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
7354 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
7355 compiler output for sysdeps/generic/initfini.c.
7356 * sysdeps/i386/elf/Makefile: Remove file.
7357 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
7359 2012-02-07 Marek Polacek <polacek@redhat.com>
7361 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
7362 * sysdeps/gnu/_G_config.h: Likewise.
7363 * sysdeps/mach/hurd/_G_config.h: Likewise.
7365 2012-02-07 Marek Polacek <polacek@redhat.com>
7367 * math/Makefile (tests): Add tst-CMPLX2.
7368 * math/tst-CMPLX2.c: New file.
7370 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
7372 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7374 * math/libm-test.inc (jn_test): Add missing L suffix.
7376 2012-02-06 Marek Polacek <polacek@redhat.com>
7378 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
7379 * sysdeps/i386/fpu/e_powf.S: Likewise.
7380 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
7381 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
7382 * sysdeps/i386/fpu/e_acosh.S: Likewise.
7383 * sysdeps/i386/fpu/e_pow.S: Likewise.
7384 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
7385 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
7386 * sysdeps/i386/fpu/s_expm1.S: Likewise.
7387 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
7388 * sysdeps/i386/fpu/e_log2.S: Likewise.
7389 * sysdeps/i386/fpu/e_log2l.S: Likewise.
7390 * sysdeps/i386/fpu/e_scalb.S: Likewise.
7391 * sysdeps/i386/fpu/e_powl.S: Likewise.
7392 * sysdeps/i386/fpu/s_log1p.S: Likewise.
7393 * sysdeps/i386/fpu/e_log10f.S: Likewise.
7394 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
7395 * sysdeps/i386/fpu/e_logl.S: Likewise.
7396 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
7397 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
7398 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
7399 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
7400 * sysdeps/i386/fpu/e_log2f.S: Likewise.
7401 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
7402 * sysdeps/i386/fpu/e_log.S: Likewise.
7403 * sysdeps/i386/fpu/s_cexp.S: Likewise.
7404 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7405 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
7406 * sysdeps/i386/fpu/e_logf.S: Likewise.
7407 * sysdeps/i386/fpu/e_log10l.S: Likewise.
7408 * sysdeps/i386/fpu/e_atanh.S: Likewise.
7409 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
7410 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
7411 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
7412 * sysdeps/i386/fpu/e_log10.S: Likewise.
7413 * sysdeps/i386/fpu/s_frexp.S: Likewise.
7414 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
7415 * sysdeps/i386/fpu/s_asinh.S: Likewise.
7416 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
7417 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7418 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
7419 * sysdeps/i386/asm-syntax.h: Likewise.
7420 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
7421 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7422 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
7423 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
7424 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
7425 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
7426 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
7427 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
7428 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
7429 * sysdeps/powerpc/sysdep.h: Likewise.
7430 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
7431 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
7433 2012-02-06 Joseph Myers <joseph@codesourcery.com>
7436 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
7438 2012-02-06 Joseph Myers <joseph@codesourcery.com>
7440 * sysdeps/i386/sysdep.h: Include <features.h>.
7441 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
7444 2012-02-05 Joseph Myers <joseph@codesourcery.com>
7446 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
7448 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
7451 2012-02-03 Joseph Myers <joseph@codesourcery.com>
7453 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
7454 (SETUP_PIC_REG): Use GET_PC_THUNK.
7455 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
7458 2012-02-03 Joseph Myers <joseph@codesourcery.com>
7460 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
7461 for non-PIC compilation.
7462 (SETUP_PIC_REG): Add .p2align directive.
7463 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
7464 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
7465 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7466 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7467 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
7468 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7469 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
7470 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
7471 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7472 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7473 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7474 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7475 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7476 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7477 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7478 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
7479 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
7480 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7481 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7482 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7483 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7484 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
7485 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7486 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7487 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
7488 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
7489 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7490 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
7491 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7492 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7493 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7494 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7495 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7496 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7497 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7498 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7499 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7500 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7501 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7502 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7503 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7505 2012-02-03 Joseph Myers <joseph@codesourcery.com>
7507 * math/tst-CMPLX.c: Include <stdio.h>.
7509 2012-01-31 Joseph Myers <joseph@codesourcery.com>
7511 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
7513 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
7514 * sysdeps/sparc/bits/mathdef.h: Likewise.
7516 2012-01-31 Marek Polacek <polacek@redhat.com>
7518 * libio/libio.h: Don't define _PARAMS.
7519 * locale/programs/config.h: Don't define PARAMS.
7520 * stdlib/strtol_l.c: Likewise.
7521 (__strtol_l): Remove PARAMS from the prototype.
7523 2012-01-31 Ulrich Drepper <drepper@gmail.com>
7525 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
7526 names. Just use the correct names. Remove unnecessary wrapper
7528 * malloc/arena.c: Likewise.
7529 * malloc/hooks.c: Likewise.
7531 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
7532 ARENA_TEST says not to. Simplify test for creation of a new arena.
7533 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
7535 2012-01-30 Ulrich Drepper <drepper@gmail.com>
7537 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
7539 (update_get_addr): New function.
7540 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
7541 GET_ADDR_MODULE parameter.
7543 2012-01-30 Joseph Myers <joseph@codesourcery.com>
7545 * crypt/cert.c: Remove __STDC__ conditionals.
7546 * crypt/crypt-entry.c: Likewise.
7547 * crypt/crypt_util.c: Likewise.
7548 * libio/filedoalloc.c: Likewise.
7549 * libio/fileops.c: Likewise.
7550 * libio/genops.c: Likewise.
7551 * libio/iofclose.c: Likewise.
7552 * libio/iofdopen.c: Likewise.
7553 * libio/iofopen.c: Likewise.
7554 * libio/iofopen64.c: Likewise.
7555 * libio/iogetdelim.c: Likewise.
7556 * libio/iopopen.c: Likewise.
7557 * libio/obprintf.c: Likewise.
7558 * libio/oldfileops.c: Likewise.
7559 * libio/oldiofclose.c: Likewise.
7560 * libio/oldiofdopen.c: Likewise.
7561 * libio/oldiofopen.c: Likewise.
7562 * libio/oldiopopen.c: Likewise.
7563 * libio/wfiledoalloc.c: Likewise.
7564 * libio/wgenops.c: Likewise.
7565 * locale/programs/xmalloc.c: Likewise.
7566 * misc/syslog.c: Likewise.
7567 * stdio-common/xbug.c: Likewise.
7568 * string/memchr.c: Likewise.
7569 * string/memcmp.c: Likewise.
7570 * string/memrchr.c: Likewise.
7571 * string/rawmemchr.c: Likewise.
7572 * sysdeps/posix/getcwd.c: Likewise.
7573 * time/strftime_l.c: Likewise.
7575 2012-01-30 Joseph Myers <joseph@codesourcery.com>
7577 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
7578 * config.make.in (config-cflags-sse2avx): Define.
7579 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
7582 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
7584 * scripts/config.guess: Update from upstream config git repository.
7585 * scripts/config.sub: Likewise.
7587 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
7589 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
7591 (R_TILEPRO_*, R_TILEGX_*): New macros.
7593 * scripts/firstversions.awk: Fix bug in version range handling.
7595 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
7597 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
7599 * include/sys/epoll.h: New file.
7600 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
7603 2012-01-28 Ulrich Drepper <drepper@gmail.com>
7605 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
7606 Avoid unnecessary __WORDSIZE == 64 test.
7607 (fmaxf): Use VEX format if possible.
7612 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
7613 * math/math_private.h: Remove libc_fegetround* and
7615 * sysdeps/i386/configure.in: Check for -msse2avx.
7616 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
7617 also if SSE2AVX is defined.
7618 Remove libc_fegetround* and libc_fesetround*.
7619 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
7620 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
7621 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
7623 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7624 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7625 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7626 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7627 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7629 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
7631 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7633 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
7635 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
7637 2012-01-27 Ulrich Drepper <drepper@gmail.com>
7640 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
7642 * Makeconfig (libm): Define.
7643 * elf/Makefile: Add rules to build and run tst-relsort1.
7644 * elf/tst-relsort1.c: New file.
7645 * elf/tst-relsort1mod1.c: New file.
7646 * elf/tst-relsort1mod2.c: New file.
7648 2012-01-27 Joseph Myers <joseph@codesourcery.com>
7650 * math/s_ldexp.c: Remove __STDC__ conditionals.
7651 * math/s_ldexpf.c: Likewise.
7652 * math/s_ldexpl.c: Likewise.
7653 * math/s_nextafter.c: Likewise.
7654 * math/s_nexttowardf.c: Likewise.
7655 * math/s_significand.c: Likewise.
7656 * math/s_significandf.c: Likewise.
7657 * math/s_significandl.c: Likewise.
7658 * math/w_jnl.c: Likewise.
7659 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
7660 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
7661 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
7662 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
7663 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
7664 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7665 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
7666 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7667 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7668 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
7669 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
7670 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7671 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
7672 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
7673 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7674 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
7675 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7676 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
7677 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7678 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7679 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7680 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7681 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7682 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7683 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7684 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7685 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7686 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7687 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
7688 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7689 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7690 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
7691 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7692 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
7693 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
7694 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7695 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
7696 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
7697 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
7698 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
7699 * sysdeps/ieee754/k_standard.c: Likewise.
7700 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7701 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7702 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
7703 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7704 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7705 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
7706 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7707 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
7708 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
7709 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7710 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
7711 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
7712 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
7713 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
7714 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
7715 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7716 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
7717 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7718 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7719 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7720 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7721 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7722 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
7723 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
7724 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7725 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
7726 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7727 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7728 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7729 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
7730 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
7731 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
7732 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7733 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
7734 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
7735 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
7736 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
7737 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7738 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
7739 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
7740 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
7741 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
7742 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7743 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
7744 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7745 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
7746 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7747 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7748 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
7749 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7750 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
7751 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7752 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7753 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
7754 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
7755 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
7756 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
7757 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7758 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7759 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7760 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7761 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7762 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
7763 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7764 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7765 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7766 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7767 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
7768 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
7769 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7770 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7771 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7772 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7773 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
7774 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
7775 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7776 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
7777 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
7778 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
7779 * sysdeps/ieee754/s_matherr.c: Likewise.
7780 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
7781 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7782 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7783 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7785 2012-01-26 Joseph Myers <joseph@codesourcery.com>
7787 * crypt/md5.h: Remove __STDC__ conditionals.
7788 * libio/libioP.h: Likewise.
7789 * locale/programs/config.h: Likewise.
7790 * sysdeps/generic/sysdep.h: Likewise.
7791 * sysdeps/i386/asm-syntax.h: Likewise.
7792 * sysdeps/s390/asm-syntax.h: Likewise.
7793 * sysdeps/unix/sysdep.h: Likewise.
7794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7797 2012-01-26 Joseph Myers <joseph@codesourcery.com>
7799 * libio/libio.h: Remove __STDC__ conditionals.
7800 * malloc/obstack.h: Likewise.
7801 * math/complex.h: Likewise.
7802 * math/math.h: Likewise.
7803 * sysdeps/generic/_G_config.h: Likewise.
7804 * sysdeps/gnu/_G_config.h: Likewise.
7805 * sysdeps/mach/hurd/_G_config.h: Likewise.
7806 * sysdeps/powerpc/bits/mathdef.h: Likewise.
7807 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
7808 * sysdeps/sparc/bits/mathdef.h: Likewise.
7810 2012-01-26 Ulrich Drepper <drepper@gmail.com>
7813 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
7814 Clean up HAS_* macros.
7815 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
7816 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
7818 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
7820 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7821 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7822 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7823 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7824 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7826 2012-01-25 Joseph Myers <joseph@codesourcery.com>
7828 * elf/tst-unique3.cc (gets): Remove declaration.
7829 * elf/tst-unique3lib.cc (gets): Likewise.
7830 * elf/tst-unique3lib2.cc (gets): Likewise.
7831 * elf/tst-unique4.cc (gets): Likewise.
7833 2012-01-24 Ulrich Drepper <drepper@gmail.com>
7835 * include/stdio.h: Add C++ protection. Add gets declarations and
7837 * debug/tst-chk1.c: Don't declare gets here.
7838 * stdio-common/tst-gets.c: Likewise.
7840 2012-01-24 Joseph Myers <joseph@codesourcery.com>
7842 * posix/glob: Remove directory.
7844 2012-01-24 Joseph Myers <joseph@codesourcery.com>
7846 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
7848 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
7850 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
7851 of the non-standard EPFNOSUPPORT.
7853 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
7855 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
7856 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
7857 ANYWHERE set to 1 only on KERN_NO_SPACE error.
7859 2012-01-21 Ulrich Drepper <drepper@gmail.com>
7861 * wcsmbs/uchar.h: Test __STDC_VERSION__.
7863 2012-01-20 Ulrich Drepper <drepper@gmail.com>
7865 * nscd/aicache.c (addhstaiX): Do not cache negative results of
7867 * nscd/grpcache.c (cache_addgr): Likewise.
7868 * nscd/hstcache.c (cache_addhst): Likewise.
7869 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7870 * nscd/pwdcache.c (cache_addpw): Likewise.
7871 * nscd/servicescache.c (cache_addserv): Likewise.
7873 2012-01-16 Ulrich Drepper <drepper@gmail.com>
7875 * malloc/malloc.c: Various cleanups.
7876 * malloc/hooks.c: Likewise.
7878 * stdlib/Makefile (tests): Add bug-fmtmsg1.
7879 * stdlib/bug-fmtmsg1.c: New file.
7881 * stdlib/fmtmsg.c (init): Add missing unlock.
7882 Patch by Peng Haitao <penght@cn.fujitsu.com>.
7884 2012-01-12 Marek Polacek <polacek@redhat.com>
7886 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
7889 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
7891 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
7892 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
7893 macro to ensure uniqueness of label name.
7894 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7895 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7897 2012-01-11 Ulrich Drepper <drepper@gmail.com>
7899 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
7901 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
7902 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
7903 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7904 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
7906 2012-01-10 Ulrich Drepper <drepper@gmail.com>
7908 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
7910 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
7911 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
7912 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
7914 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
7916 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
7917 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
7918 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7919 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
7921 * math/bits/math-finite.h: Add ldexp support.
7923 2012-01-10 Marek Polacek <polacek@redhat.com>
7925 * locale/programs/localedef.h (show_archive_content): Add noreturn
7928 2012-01-09 Ulrich Drepper <drepper@gmail.com>
7930 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
7932 2012-01-08 Ulrich Drepper <drepper@gmail.com>
7934 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
7936 * io/Makefile (headers): Add bits/poll2.h.
7938 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
7940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
7941 typo #include statement.
7943 2012-01-08 Ulrich Drepper <drepper@gmail.com>
7945 * include/sys/cdefs.h: Define __attribute_alloc_size.
7946 * catgets/gencat.c: Add alloc_size attribute and apply consistently
7947 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
7948 * elf/pldd.c: Likewise.
7949 * iconv/iconv_charmap.c: Likewise.
7950 * iconv/iconvconfig.c: Likewise.
7951 * iconv/strtab.c: Likewise.
7952 * locale/programs/locale.c: Likewise.
7953 * locale/programs/localedef.h: Likewise.
7954 * locale/programs/simple-hash.c: Likewise.
7955 * nscd/nscd.h: Likewise.
7956 * nss/makedb.c: Likewise.
7957 * sysdeps/generic/ldconfig.h: Likewise.
7958 * locale/programs/localedef.c: Remove xmalloc prototype.
7959 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
7961 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7963 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
7966 2012-01-08 Ulrich Drepper <drepper@gmail.com>
7968 * math/Makefile (tests): Add tst-CMPLX.
7969 * math/tst-CMPLX.c: New file.
7971 * math/complex.h (CMPLXL): Fix typo.
7973 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
7974 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
7976 * debug/tst-chk1.c: Add poll and ppoll tests.
7977 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
7978 * include/sys/poll.h: Add hidden proto for ppoll.
7979 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
7980 * sysdeps/mach/hurd/ppoll.c: Likewise.
7981 * io/ppoll.c: Likewise.
7982 * debug/poll_chk.c: New file.
7983 * debug/ppoll_chk.c: New file.
7984 * include/bits/poll2.h: New file.
7985 * io/bits/poll2.h: New file.
7988 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
7990 * configure.in: static is always set to yes. Remove.
7991 * config.make.in: Don't set build-static.
7992 * Makeconfig: Remove use of build-static.
7993 * dlfcn/Makefile: Likewise.
7994 * elf/Makefile: Likewise.
7995 * math/Makefile: Likewise.
7996 * misc/Makefile: Likewise.
7997 * nptl/Makefile: Likewise.
7998 * sysdeps/mach/hurd/Makefile: Likewise.
8000 * configure.in: PWD_P is not used anymore.
8001 * config.make.in: Remove PWD_P entry.
8003 * configure.in: Remove last remnants of RANLIB.
8004 No need to check for signed size_t anymore.
8005 Don't set libc_commonpagesize and libc_relro_required here for Alpha
8007 Remove __builtin_expect test because we require at least gcc 3.4.
8008 * aclocal.m4: Likewise.
8010 * wcsmbs/mbrtoc16.c: Implement using towc function.
8011 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
8012 * wcsmbs/wcsmbsload.c: Likewise.
8013 * iconv/gconv_simple.c: Likewise.
8014 * iconv/gconv_int.h: Likewise.
8015 * iconv/gconv_builtin.h: Likewise.
8016 * iconv/iconv_prog.c: Remove CHAR16 handling.
8018 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
8020 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
8022 * configure.in: Remove --with-elf and --enable-bounded options.
8023 Dont set base_machine for ia64. More non-ELF conditions removed.
8024 Remove testing and setting of leading underscore information.
8025 * config.make.in (build-bounded): Set to no.
8026 * config.h.in: Remove NO_UNDERSCORES entry.
8027 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
8029 * csu/start.c: Remove !NO_UNDERSCORE code.
8030 * locale/localeinfo.h: Likewise.
8031 * sysdeps/generic/machine-gmon.h: Likewise.
8032 * sysdeps/generic/sysdep.h: Likewise.
8033 * sysdeps/i386/sysdep.h: Likewise.
8034 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
8035 * sysdeps/mach/sysdep.h: Likewise.
8036 * sysdeps/s390/s390-32/sysdep.h: Likewise.
8037 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8038 * sysdeps/sh/sysdep.h: Likewise.
8039 * sysdeps/sparc/sparc32/alloca.S: Likewise.
8040 * sysdeps/unix/i386/sysdep.S: Likewise.
8041 * sysdeps/unix/sparc/start.c: Likewise.
8042 * sysdeps/unix/sparc/sysdep.S: Likewise.
8043 * sysdeps/unix/sparc/sysdep.h: Likewise.
8044 * sysdeps/unix/start.c: Likewise.
8045 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8046 * sysdeps/x86_64/sysdep.h: Likewise.
8048 2012-01-07 Ulrich Drepper <drepper@gmail.com>
8051 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
8053 * argp/argp-fmtstream.h: Use const instead __const.
8054 * argp/argp.h: Likewise.
8055 * assert/assert.h: Likewise.
8056 * bits/fenv.h: Likewise.
8057 * bits/sched.h: Likewise.
8058 * bits/sigset.h: Likewise.
8059 * bits/sigthread.h: Likewise.
8060 * catgets/nl_types.h: Likewise.
8061 * conform/data/pthread.h-data: Likewise.
8062 * crypt/crypt-private.h: Likewise.
8063 * crypt/crypt.h: Likewise.
8064 * crypt/crypt_util.c: Likewise.
8065 * ctype/ctype.h: Likewise.
8066 * debug/execinfo.h: Likewise.
8067 * debug/mbsnrtowcs_chk.c: Likewise.
8068 * debug/mbsrtowcs_chk.c: Likewise.
8069 * debug/wcsnrtombs_chk.c: Likewise.
8070 * debug/wcsrtombs_chk.c: Likewise.
8071 * debug/wcstombs_chk.c: Likewise.
8072 * dirent/dirent.h: Likewise.
8073 * dlfcn/dlfcn.h: Likewise.
8074 * elf/neededtest4.c: Likewise.
8075 * grp/grp.h: Likewise.
8076 * gshadow/gshadow.h: Likewise.
8077 * iconv/gconv.h: Likewise.
8078 * iconv/gconv_int.h: Likewise.
8079 * iconv/gconv_simple.c: Likewise.
8080 * iconv/iconv.h: Likewise.
8081 * iconv/loop.c: Likewise.
8082 * iconv/skeleton.c: Likewise.
8083 * include/aio.h: Likewise.
8084 * include/aliases.h: Likewise.
8085 * include/argz.h: Likewise.
8086 * include/arpa/inet.h: Likewise.
8087 * include/assert.h: Likewise.
8088 * include/dirent.h: Likewise.
8089 * include/dlfcn.h: Likewise.
8090 * include/execinfo.h: Likewise.
8091 * include/fcntl.h: Likewise.
8092 * include/fenv.h: Likewise.
8093 * include/glob.h: Likewise.
8094 * include/grp.h: Likewise.
8095 * include/libintl.h: Likewise.
8096 * include/mntent.h: Likewise.
8097 * include/netdb.h: Likewise.
8098 * include/pwd.h: Likewise.
8099 * include/rpc/netdb.h: Likewise.
8100 * include/sched.h: Likewise.
8101 * include/search.h: Likewise.
8102 * include/shadow.h: Likewise.
8103 * include/signal.h: Likewise.
8104 * include/stdio.h: Likewise.
8105 * include/stdlib.h: Likewise.
8106 * include/string.h: Likewise.
8107 * include/sys/socket.h: Likewise.
8108 * include/sys/stat.h: Likewise.
8109 * include/sys/statfs.h: Likewise.
8110 * include/sys/statvfs.h: Likewise.
8111 * include/sys/syslog.h: Likewise.
8112 * include/sys/time.h: Likewise.
8113 * include/sys/uio.h: Likewise.
8114 * include/time.h: Likewise.
8115 * include/unistd.h: Likewise.
8116 * include/utmp.h: Likewise.
8117 * include/wchar.h: Likewise.
8118 * include/wctype.h: Likewise.
8119 * inet/aliases.h: Likewise.
8120 * inet/arpa/inet.h: Likewise.
8121 * inet/netinet/ether.h: Likewise.
8122 * inet/netinet/in.h: Likewise.
8123 * intl/libintl.h: Likewise.
8124 * io/bits/fcntl2.h: Likewise.
8125 * io/fcntl.h: Likewise.
8126 * io/ftw.h: Likewise.
8127 * io/sys/poll.h: Likewise.
8128 * io/sys/stat.h: Likewise.
8129 * io/sys/statfs.h: Likewise.
8130 * io/sys/statvfs.h: Likewise.
8131 * io/utime.h: Likewise.
8132 * libio/bits/stdio.h: Likewise.
8133 * libio/bits/stdio2.h: Likewise.
8134 * libio/libio.h: Likewise.
8135 * libio/libioP.h: Likewise.
8136 * libio/stdio.h: Likewise.
8137 * locale/lc-ctype.c: Likewise.
8138 * locale/locale.h: Likewise.
8139 * login/utmp.h: Likewise.
8140 * malloc/arena.c: Likewise.
8141 * malloc/malloc.c: Likewise.
8142 * malloc/malloc.h: Likewise.
8143 * malloc/mcheck.c: Likewise.
8144 * malloc/mtrace.c: Likewise.
8145 * math/bits/mathcalls.h: Likewise.
8146 * math/fenv.h: Likewise.
8147 * math/math_private.h: Likewise.
8148 * misc/bits/error.h: Likewise.
8149 * misc/bits/syslog.h: Likewise.
8150 * misc/err.h: Likewise.
8151 * misc/error.h: Likewise.
8152 * misc/fstab.h: Likewise.
8153 * misc/mntent.h: Likewise.
8154 * misc/regexp.h: Likewise.
8155 * misc/search.h: Likewise.
8156 * misc/sgtty.h: Likewise.
8157 * misc/sys/mman.h: Likewise.
8158 * misc/sys/syslog.h: Likewise.
8159 * misc/sys/uio.h: Likewise.
8160 * misc/sys/xattr.h: Likewise.
8161 * misc/ttyent.h: Likewise.
8162 * nis/rpcsvc/ypclnt.h: Likewise.
8163 * nss/nss.h: Likewise.
8164 * posix/bits/unistd.h: Likewise.
8165 * posix/fnmatch.h: Likewise.
8166 * posix/glob.h: Likewise.
8167 * posix/sched.h: Likewise.
8168 * posix/spawn.h: Likewise.
8169 * posix/sys/wait.h: Likewise.
8170 * posix/unistd.h: Likewise.
8171 * posix/wordexp.h: Likewise.
8172 * pwd/pwd.h: Likewise.
8173 * resolv/netdb.h: Likewise.
8174 * resource/sys/resource.h: Likewise.
8175 * rt/aio.h: Likewise.
8176 * rt/bits/mqueue2.h: Likewise.
8177 * rt/mqueue.h: Likewise.
8178 * shadow/shadow.h: Likewise.
8179 * signal/signal.h: Likewise.
8180 * socket/send.c: Likewise.
8181 * socket/sendto.c: Likewise.
8182 * socket/sys/socket.h: Likewise.
8183 * stdio-common/printf.h: Likewise.
8184 * stdlib/bits/stdlib.h: Likewise.
8185 * stdlib/fmtmsg.h: Likewise.
8186 * stdlib/monetary.h: Likewise.
8187 * stdlib/stdlib.h: Likewise.
8188 * stdlib/ucontext.h: Likewise.
8189 * streams/stropts.h: Likewise.
8190 * string/argz.h: Likewise.
8191 * string/bits/string2.h: Likewise.
8192 * string/string.h: Likewise.
8193 * string/strings.h: Likewise.
8194 * sunrpc/rpc/auth.h: Likewise.
8195 * sunrpc/rpc/auth_des.h: Likewise.
8196 * sunrpc/rpc/clnt.h: Likewise.
8197 * sunrpc/rpc/netdb.h: Likewise.
8198 * sunrpc/rpc/pmap_clnt.h: Likewise.
8199 * sunrpc/rpc/xdr.h: Likewise.
8200 * sysdeps/generic/inttypes.h: Likewise.
8201 * sysdeps/generic/net/if.h: Likewise.
8202 * sysdeps/generic/sys/swap.h: Likewise.
8203 * sysdeps/gnu/net/if.h: Likewise.
8204 * sysdeps/gnu/utmpx.h: Likewise.
8205 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
8206 * sysdeps/i386/i486/bits/string.h: Likewise.
8207 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
8208 * sysdeps/s390/bits/string.h: Likewise.
8209 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
8210 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
8211 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
8212 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
8213 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
8214 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
8215 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
8216 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
8217 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
8218 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
8219 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
8220 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
8221 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
8222 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
8223 * sysdeps/unix/sysv/linux/readv.c: Likewise.
8224 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
8225 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
8226 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8227 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
8228 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
8229 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
8230 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
8231 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
8232 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
8233 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
8234 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
8235 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
8236 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8237 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
8238 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
8239 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
8240 * sysvipc/sys/ipc.h: Likewise.
8241 * sysvipc/sys/msg.h: Likewise.
8242 * sysvipc/sys/sem.h: Likewise.
8243 * sysvipc/sys/shm.h: Likewise.
8244 * termios/termios.h: Likewise.
8245 * time/sys/time.h: Likewise.
8246 * time/time.h: Likewise.
8247 * wcsmbs/bits/wchar2.h: Likewise.
8248 * wcsmbs/uchar.h: Likewise.
8249 * wcsmbs/wchar.h: Likewise.
8250 * wctype/wctype.h: Likewise.
8253 * Makeconfig: Remove all but ELF support including AIX support.
8254 * Makerules: Likewise.
8255 * config.h.in: Likewise.
8256 * config.make.in: Likewise.
8257 * configure: Likewise.
8258 * configure.in: Likewise.
8259 * csu/Makefile: Likewise.
8260 * csu/version.c: Likewise.
8261 * debug/Makefile: Likewise.
8262 * dlfcn/Makefile: Likewise.
8263 * elf/Makefile: Likewise.
8264 * extra-lib.mk: Likewise.
8265 * iconv/Makefile: Likewise.
8266 * include/libc-symbols.h: Likewise.
8267 * include/shlib-compat.h: Likewise.
8268 * resolv/Makefile: Likewise.
8269 * resolv/res_libc.c: Likewise.
8270 * rt/Makefile: Likewise.
8271 * sysdeps/i386/asm-syntax.h: Likewise.
8272 * sysdeps/i386/sysdep.h: Likewise.
8273 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
8274 * sysdeps/mach/sysdep.h: Likewise.
8275 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
8276 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
8277 * sysdeps/s390/asm-syntax.h: Likewise.
8278 * sysdeps/s390/s390-32/sysdep.h: Likewise.
8279 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8280 * sysdeps/sh/sysdep.h: Likewise.
8281 * sysdeps/unix/sparc/sysdep.h: Likewise.
8282 * sysdeps/wordsize-32/divdi3.c: Likewise.
8283 * sysdeps/x86_64/sysdep.h: Likewise.
8285 * argp/Versions: Remove _argp_unlock_xxx.
8288 * abilist/ld.abilist: Update. Adjust for removal of tls option.
8289 * abilist/libBrokenLocale.abilist: Likewise.
8290 * abilist/libanl.abilist: Likewise.
8291 * abilist/libc.abilist: Likewise.
8292 * abilist/libcrypt.abilist: Likewise.
8293 * abilist/libdl.abilist: Likewise.
8294 * abilist/libm.abilist: Likewise.
8295 * abilist/libnsl.abilist: Likewise.
8296 * abilist/libpthread.abilist: Likewise.
8297 * abilist/libresolv.abilist: Likewise.
8298 * abilist/librt.abilist: Likewise.
8299 * abilist/libthread_db.abilist: Likewise.
8300 * abilist/libutil.abilist: Likewise.
8301 * abilist/libnss_db.abilist: New file.
8303 * scripts/abilist.awk: Add support for indirect functions.
8305 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
8307 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
8309 * shlib-versions: Remove entries for ports architectures.
8311 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
8313 * elf/stackguard-macros.h: Remove support for IA-64.
8314 * elf/tst-auditmod1.c: Likewise.
8315 * sysdeps/generic/ldsodefs.h: Likewise.
8317 * sysdeps/unix/sysv/linux/configure.in: Ports should define
8318 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
8322 * configure.in: Remove --enable-omitfp support.
8324 * config.make.in: Likewise.
8325 * Makeconfig: Likewise.
8326 * manual/install.texi: Likewise.
8328 In case anyone cares, the IA-64 architecture could move to ports.
8329 * sysdeps/ia64/*: Removed.
8330 * sysdeps/unix/sysv/linux/ia64/*: Removed.
8331 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
8334 * configure.in: Remove entries for unsupported architectures.
8337 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
8338 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
8340 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
8341 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
8342 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
8343 fall back to using wcrtomb.
8344 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
8345 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
8347 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
8348 * wcsmbs/tst-c16c32-1.c: New file.
8350 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
8353 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
8355 * elf/tst-unique3.cc: Add explicit declaration of gets.
8356 * elf/tst-unique3lib.cc: Likewise.
8357 * elf/tst-unique3lib2.cc: Likewise.
8358 * elf/tst-unique4.cc: Likewise.
8360 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
8362 2012-01-06 Joseph Myers <joseph@codesourcery.com>
8365 * assert/assert.h (static_assert): Don't define for C++.
8366 * libio/stdio.h (gets): Do declare for C++ <= C++11.
8367 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
8369 2012-01-03 Ulrich Drepper <drepper@gmail.com>
8371 * iconv/loop.c (single loop): Fix assertion in storing of
8374 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
8376 2012-01-01 Ulrich Drepper <drepper@gmail.com>
8378 * posix/getconf.c: Update copyright year.
8379 * nss/getent.c: Likewise.
8380 * nss/makedb.c: Likewise.
8381 * iconv/iconvconfig.c: Likewise.
8382 * iconv/iconv_prog.c: Likewise.
8383 * elf/ldconfig.c: Likewise.
8384 * elf/pldd.c: Likewise.
8385 * elf/sotruss.ksh: Likewise.
8386 * catgets/gencat.c: Likewise.
8387 * csu/version.c: Likewise.
8388 * elf/ldd.bash.in: Likewise.
8389 * elf/sprof.c (print_version): Likewise.
8390 * locale/programs/locale.c: Likewise.
8391 * locale/programs/localedef.c: Likewise.
8392 * login/programs/pt_chown.c: Likewise.
8393 * nscd/nscd.c (print_version): Likewise.
8394 * debug/xtrace.sh: Likewise.
8395 * malloc/memusage.sh: Likewise.
8396 * malloc/mtrace.pl: Likewise.
8397 * debug/catchsegv.sh: Likewise.
8399 2011-12-30 Jakub Jelinek <jakub@redhat.com>
8401 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
8404 2011-12-24 Ulrich Drepper <drepper@gmail.com>
8407 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
8408 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
8410 * iconv/gconv_int.h: Likewise.
8411 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
8412 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
8413 from libc for GLIBC_2.16.
8414 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
8415 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
8416 * wcsmbs/uchar.h: Really define mbstate_t.
8417 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
8418 * wcsmbs/c16rtomb.c: New file.
8419 * wcsmbs/mbrtoc16.c: New file.
8420 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
8422 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
8423 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
8425 * wcsmbs/wchar.h: Add missing __restrict.
8427 2011-12-23 Ulrich Drepper <drepper@gmail.com>
8430 * time/Makefile (routines): Add timespec_get.
8431 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
8432 * time/time.h: Define TIME_UTC and declare timespec_get. Define
8433 timespec for ISO C11.
8434 * time/timespec_get.c: New file.
8435 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
8436 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
8439 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
8440 * stdlib/stdlib.h: Declare aligned_alloc.
8441 * Versions.def: Add GLIBC_2.16 for libc.
8442 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
8445 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
8448 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8452 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
8455 * assert/assert.h (static_assert): Define.
8457 * version.h: Update for 2.16 development version.
8460 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
8463 * version.h (RELEASE): Bump for 2.15 release.
8464 * include/features.h (__GLIBC_MINOR__): Bump to 15.
8466 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
8467 Patch by Marek Polacek <mpolacek@redhat.com>.
8469 * bits/byteswap.h: Protect long long constants with __extension__.
8470 * sysdeps/i386/bits/byteswap.h: Likewise.
8471 * sysdeps/ia64/bits/byteswap.h: Likewise.
8472 * sysdeps/s390/bits/byteswap.h: Likewise.
8473 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8475 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8478 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
8480 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
8482 2011-12-23 Marek Polacek <polacek@redhat.com>
8484 * elf/dl-addr.c (determine_info): Add inline keyword.
8485 * elf/tst-auditmod4b.c (check_avx): Likewise.
8486 * elf/tst-auditmod6b.c (check_avx): Likewise.
8487 * elf/tst-auditmod6c.c (check_avx): Likewise.
8488 * elf/tst-auditmod7b.c (check_avx): Likewise.
8490 2011-12-23 Ulrich Drepper <drepper@gmail.com>
8492 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
8495 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8498 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
8499 processing for last bytes.
8501 2011-08-06 Bruno Haible <bruno@clisp.org>
8504 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
8505 U+0385, not to U+1FEE.
8508 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
8509 entry for U+00A5 U+0301.
8511 2011-12-22 Ulrich Drepper <drepper@gmail.com>
8514 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
8515 buffer for the output is too small.
8517 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
8521 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
8522 SSE flags if possible.
8524 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8527 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
8528 processing for last bytes.
8530 2011-12-22 Joseph Myers <joseph@codesourcery.com>
8532 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
8533 (syscall-list-default-options, syscall-list-default-condition)
8534 (syscall-list-includes): Define.
8535 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
8536 list of ABIs and options and #if conditions for each ABI. Do not
8537 handle common syscalls between ABIs specially.
8538 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
8540 (syscall-list-variants, syscall-list-32bit-options)
8541 (syscall-list-32bit-condition, syscall-list-64bit-options)
8542 (syscall-list-64bit-condition): Define.
8543 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
8544 (syscall-list-variants, syscall-list-32bit-options)
8545 (syscall-list-32bit-condition, syscall-list-64bit-options)
8546 (syscall-list-64bit-condition): Define.
8547 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
8549 (syscall-list-variants, syscall-list-32bit-options)
8550 (syscall-list-32bit-condition, syscall-list-64bit-options)
8551 (syscall-list-64bit-condition): Define.
8552 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
8554 (syscall-list-variants, syscall-list-32bit-options)
8555 (syscall-list-32bit-condition, syscall-list-64bit-options)
8556 (syscall-list-64bit-condition): Define.
8558 2011-12-22 Ulrich Drepper <drepper@gmail.com>
8560 * locale/iso-639.def: Add brx entry.
8563 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
8564 Proposed by Mariusz_Cukr <marcukr@op.pl>.
8566 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
8567 __feraiseexcept_renamed.
8569 2011-12-21 Ulrich Drepper <drepper@gmail.com>
8572 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
8573 EPOLLET with unsigned values.
8574 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8575 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
8577 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
8578 to large cancellation.
8579 * math/s_cacoshf.c: Likewise.
8580 * math/s_cacoshl.c: Likewise.
8582 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
8586 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
8587 * math/s_cacoshf.c: Likewise.
8588 * math/s_cacoshl.c: Likewise.
8590 2011-12-21 Ulrich Drepper <drepper@gmail.com>
8593 * iconv/gconv.h: Define __GCONV_SWAP.
8594 * iconvdata/unicode.c: The swap bit must be stored in __flags.
8595 * iconvdata/utf-16.c: Likewise.
8596 * iconvdata/utf-32.c: Likewise.
8598 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
8601 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
8602 numerator after shifting it by one limb.
8604 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
8606 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
8607 under [__USE_EXTERN_INLINES].
8609 2011-12-17 Ulrich Drepper <drepper@gmail.com>
8612 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
8614 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8616 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
8617 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
8619 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
8620 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
8621 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
8622 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
8623 for strncasecmp/strncasecmp_l compilation.
8624 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
8625 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
8627 2011-12-08 Marek Polacek <mpolacek@redhat.com>
8630 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
8633 2011-12-17 Ulrich Drepper <drepper@gmail.com>
8636 * time/tzfile.c (__tzfile_read): Check values from file header.
8638 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
8640 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
8641 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
8642 * powerpc/powerpc32/dl-start.S: Likewise.
8643 * powerpc/powerpc32/elf/start.S: Likewise.
8644 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
8645 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
8646 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
8647 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
8648 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
8649 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
8650 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
8651 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
8652 * powerpc/powerpc32/fpu/s_round.S: Likewise.
8653 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
8654 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
8655 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
8656 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
8657 * powerpc/powerpc32/memset.S: Likewise.
8658 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
8659 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8660 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8661 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8662 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8663 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
8664 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
8665 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
8666 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
8667 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
8668 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
8669 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
8670 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
8672 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8674 * math/libm-test.inc: Added more nearbyint tests.
8675 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
8676 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
8677 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
8678 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
8680 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
8682 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
8685 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8687 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
8688 Add wcscpy-ssse3 wcscpy-c.
8689 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
8690 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
8691 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
8692 * sysdeps/x86_64/wcschr.S: New file.
8693 * sysdeps/x86_64/wcsrchr.S: New file.
8694 * string/test-strcmp.c: Remove checking of wcscmp function for
8696 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
8697 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
8698 wcsrchr-sse2 wcsrchr-c.
8699 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
8700 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
8701 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
8702 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
8703 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
8704 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
8705 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
8706 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
8707 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
8708 * wcsmbc/wcschr.c (WCSCHR): New macro.
8710 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8712 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
8713 * wcsmbs/test-wcsrchr.c: New file.
8714 * string/test-strrchr.c: Add wcsrchr support.
8716 * wcsmbs/test-wcscpy.c: New file.
8717 * string/test-strcpy.c: Add wcscpy support.
8720 2011-12-10 Ulrich Drepper <drepper@gmail.com>
8722 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
8725 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
8728 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
8730 2011-12-04 Ulrich Drepper <drepper@gmail.com>
8732 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
8733 Minor optimizations.
8735 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
8736 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
8737 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
8739 2011-12-03 Ulrich Drepper <drepper@gmail.com>
8741 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
8742 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
8743 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
8744 for gcc to avoid warnings.
8745 * inet/Makefile (tests): Add tst-checks.
8746 * inet/tst-checks.c: New file.
8748 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
8751 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
8754 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
8755 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
8757 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
8759 2011-12-02 Ulrich Drepper <drepper@gmail.com>
8761 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
8764 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
8766 2011-11-29 Joseph Myers <joseph@codesourcery.com>
8768 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
8769 conditional on GCC version.
8770 (__arch_compare_and_exchange_val_8_acq)
8771 (__arch_compare_and_exchange_val_16_acq)
8772 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
8773 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
8774 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
8776 2011-12-02 Joseph Myers <joseph@codesourcery.com>
8778 * sysdeps/sh/backtrace.c: New file.
8780 2011-12-02 Andreas Schwab <schwab@redhat.com>
8782 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
8785 2011-12-01 Andreas Schwab <schwab@redhat.com>
8787 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
8788 falling back to utime.
8790 2011-11-30 Andreas Schwab <schwab@redhat.com>
8792 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
8793 expectations for float.
8795 2011-11-29 Andreas Schwab <schwab@redhat.com>
8797 * locale/weight.h (findidx): Add parameter len.
8798 * locale/weightwc.h (findidx): Likewise.
8799 * posix/fnmatch_loop.c (FCT): Adjust caller.
8800 * posix/regcomp.c (build_equiv_class): Likewise.
8801 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
8802 * posix/regexec.c (check_node_accept_bytes): Likewise.
8803 * string/strcoll_l.c (STRCOLL): Likewise.
8804 * string/strxfrm_l.c (STRXFRM): Likewise.
8806 2011-11-17 Ulrich Drepper <drepper@gmail.com>
8808 * Makefile.in: Remove CVSOPT handling.
8809 * configure.in: Remove use of AC_REVISION.
8810 * iconvdata/Makefile (distribute): No need to filter out CVS.
8811 * scripts/list-sources.sh: Remove CVS, subversion and monotone
8814 2011-11-16 Andreas Schwab <schwab@redhat.com>
8816 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
8817 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
8818 [USE_AS_STRNCASECMP_L]: Likewise.
8819 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
8820 NO_TLS_DIRECT_SEG_REFS.
8821 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
8822 Fix argument offsets for non-PIC.
8823 [USE_AS_STRNCASECMP_L]: Likewise.
8824 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
8825 NO_TLS_DIRECT_SEG_REFS.
8827 2011-11-15 Ulrich Drepper <drepper@gmail.com>
8829 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
8831 * locale/loadlocale.c (_nl_load_locale): Likewise.
8833 2011-11-15 Andreas Schwab <schwab@redhat.com>
8835 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
8836 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
8837 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
8838 (SYSCALL_GETTIME): Set errno on error.
8840 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
8841 count references to noai6ai_cached.
8843 2011-11-15 Ulrich Drepper <drepper@gmail.com>
8845 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
8847 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
8848 FD_CLOEXEC for /proc/self/maps.
8850 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
8851 FD_CLOEXEC for /proc/meminfo.
8853 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
8856 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
8857 FD_CLOEXEC for given file.
8859 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
8861 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
8862 FD_CLOEXEC for /etc/hosts.
8863 (_gethtent): Likewise.
8865 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
8867 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
8868 cancellation and set FD_CLOEXEC for /etc/netgroup.
8870 * nss/nss_files/files-key.c (search): Don't allow cancellation when
8871 reading /etc/publickey.
8873 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
8874 allow cancellation when reading /etc/group.
8876 * nss/nss_files/files-alias.c (internal_setent): Don't allow
8878 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
8880 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
8881 when using data file.
8883 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
8885 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
8886 (write_nis_obj): Use "c" and "e" in fopen.
8888 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
8890 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
8892 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
8894 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
8896 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
8899 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
8901 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
8903 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
8905 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
8906 file parsing and set FD_CLOEXEC.
8908 2011-11-14 Ulrich Drepper <drepper@gmail.com>
8910 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
8912 2011-11-14 Andreas Schwab <schwab@redhat.com>
8914 * malloc/arena.c (arena_get2): Don't call reused_arena when
8915 _int_new_arena failed.
8917 2011-11-14 Ulrich Drepper <drepper@gmail.com>
8919 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
8920 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
8921 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
8922 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8923 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8924 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
8925 to compile strcasecmp and strncasecmp.
8926 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
8927 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
8929 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
8931 2011-11-13 Ulrich Drepper <drepper@gmail.com>
8933 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
8934 locale-defines.sym to gen-as-const-headers.
8935 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
8936 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
8937 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
8938 to compile strcasecmp and strncasecmp.
8939 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
8940 strcasecmp_l and strncasecmp_l.
8941 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
8942 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
8943 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
8944 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
8945 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
8946 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
8947 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
8948 * sysdeps/i386/i686/multiarch/strncase.S: New file.
8949 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
8950 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
8951 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
8953 2011-11-12 Ulrich Drepper <drepper@gmail.com>
8955 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
8956 result of SYSDEP_GETTIME_CPU to retval.
8957 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
8958 parameter list to macro. Remove trailing semicolon. Adjust users.
8960 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
8963 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
8965 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
8967 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
8968 from unused variable.
8970 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
8972 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
8975 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
8978 * sunrpc/rpc_prot.c (rejected): Fix case value.
8980 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
8981 unsigned long long int to avoid warnings in shift.
8983 * posix/regex_internal.c (re_string_reconstruct): Actually use result
8985 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
8988 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
8989 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
8990 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
8992 * nis/nis_table.c (nis_list): Use variable of correct type for
8993 result of __follow_path call.
8995 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8997 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
8998 of math functions ceil, trunc, floor, round, and sqrt, when
8999 avaliable on the platform.
9000 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
9002 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9003 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
9004 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
9006 2011-10-30 Marek Polacek <mpolacek@redhat.com>
9008 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
9009 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
9011 2011-11-11 Roland McGrath <roland@hack.frob.com>
9013 * include/unistd.h: Fix __readlink return type.
9014 Reported by Chris Metcalf <cmetcalf@tilera.com>.
9016 2011-11-11 Ulrich Drepper <drepper@gmail.com>
9018 * stdlib/ucontext.h: Undo last change for makecontext.
9020 2011-11-11 Andreas Schwab <schwab@redhat.com>
9022 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
9024 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
9025 * setjmp/setjmp.h: Mark functions as non-leaf.
9026 * setjmp/bits/setjmp2.h: Likewise.
9027 * stdlib/ucontext.h: Likewise.
9029 2011-11-10 Andreas Schwab <schwab@redhat.com>
9031 * malloc/arena.c (_int_new_arena): Don't increment narenas.
9032 (reused_arena): Don't check arena limit.
9033 (arena_get2): Atomically check arena limit.
9035 2011-11-08 Ulrich Drepper <drepper@gmail.com>
9037 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
9038 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
9040 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
9043 2011-11-07 Andreas Schwab <schwab@redhat.com>
9045 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
9046 handler when locking.
9048 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9049 Fix size of allocated buffer.
9051 2011-11-04 Andreas Schwab <schwab@redhat.com>
9054 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
9055 declarations for long double functions.
9056 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
9058 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
9060 2011-11-03 Andreas Schwab <schwab@redhat.com>
9062 * nscd/nscd.c (main): Don't start AVC thread until credentials are
9065 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
9068 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
9070 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
9072 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
9074 * include/alloca.h (stackinfo_alloca_round): Define.
9075 (extend_alloca): Use it.
9076 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
9077 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
9080 * scripts/check-local-headers.sh: Ignore libaudit.h.
9082 * nscd/Makefile (extra-objs): Make recursively expanded.
9084 2011-11-01 Ulrich Drepper <drepper@gmail.com>
9086 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
9087 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
9089 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
9090 * posix/tst-rfc3484-2.c: Likewise.
9091 * posix/tst-rfc3484-3.c: Likewise.
9093 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
9095 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
9097 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
9098 process_vm_writev from libc using GLIBC_2.15 version.
9100 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
9102 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
9104 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
9107 2011-10-31 Ulrich Drepper <drepper@gmail.com>
9110 * nss/getent.c (initgroups_keys): Show error message in case no group
9113 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
9114 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
9115 __bump_nl_timestamp.
9116 * nscd/connections (nscd_init): When host database is served open
9117 netlink socket and request notification about configuration changes.
9118 (main_loop_poll): Track netlink file descriptor and bump timestamp
9119 in case data becomes available.
9120 (main_loop_epoll): Likewise.
9121 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
9122 (database_pers_head): Add extra_data fileds.
9123 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
9124 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
9125 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
9127 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
9128 in6ai data, call __free_in6ai.
9129 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
9131 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
9132 interface information. Reuse previous data if netlink timestamp
9134 (__bump_nl_timestamp): New function.
9135 (__free_in6ai): New function.
9137 2011-10-30 Ulrich Drepper <drepper@gmail.com>
9139 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
9140 close_not_cancel_no_status here.
9141 (__check_pf): Reorganize code a bit to not call close twice if OOM.
9143 2011-10-29 Ulrich Drepper <drepper@gmail.com>
9146 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
9149 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9150 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
9151 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
9153 2011-07-03 Andreas Jaeger <aj@suse.de>
9156 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
9157 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
9158 * math/libm-test.inc (sin_test): Add test case.
9160 2011-10-29 Ulrich Drepper <drepper@gmail.com>
9163 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
9164 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
9166 * elf/chroot_canon.c (chroot_canon): Cleanups.
9168 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
9171 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
9172 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
9174 * string/test-strchr.c: Make usable for strchrnul testing.
9175 * string/test-strchrnul.c: New file.
9176 * string/Makefile (strop-tests): Add strchrnul.
9178 * po/it.po: Update from translation team.
9179 * po/es.po: Likewise.
9181 2011-10-28 Ulrich Drepper <drepper@gmail.com>
9183 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
9184 the three constants needed as parameters. Drop the others.
9185 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
9186 __m128i_strloadu_tolower.
9187 Create and initialize variable zero and use it in all the places
9188 where _mm_setzero_si128 was used.
9190 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
9191 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
9192 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
9193 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
9195 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
9196 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
9197 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
9198 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
9199 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
9200 __mpranred, __mptan.
9201 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
9202 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
9203 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
9204 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
9205 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
9206 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
9207 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
9208 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
9209 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
9211 2011-10-28 Andreas Schwab <schwab@redhat.com>
9213 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
9215 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
9217 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
9218 wide char related routines to wcsmbs subdir.
9220 2011-10-27 Andreas Schwab <schwab@redhat.com>
9223 * misc/sys/cdefs.h (__THROWNL): Define.
9224 * posix/unistd.h: Use __THREADNL instead of __THREAD
9225 for memory synchronization functions.
9227 2011-10-26 Roland McGrath <roland@hack.frob.com>
9230 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
9232 * manual/stdio.texi (Obstack Streams): Node removed.
9234 2011-10-26 Andreas Schwab <schwab@redhat.com>
9236 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
9237 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9238 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9240 * math/math_private.h (math_force_eval): Allow non-addressable
9242 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
9244 2011-10-25 Ulrich Drepper <drepper@gmail.com>
9246 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
9249 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
9250 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
9251 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9252 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9253 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9254 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9255 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9256 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
9258 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
9259 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
9260 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
9261 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
9262 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
9263 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
9264 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
9265 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
9266 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
9267 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
9268 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
9269 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
9270 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
9271 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
9272 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
9273 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
9274 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
9275 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
9276 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
9278 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
9279 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
9281 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
9282 place. Use VEX encoding when compiling for AVX.
9284 2011-10-25 Andreas Schwab <schwab@redhat.com>
9286 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
9287 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
9289 * string/test-strchr.c (do_test): Don't generate NUL bytes.
9291 2011-10-25 Ulrich Drepper <drepper@gmail.com>
9293 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
9294 useless if() expression.
9295 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9296 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9297 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9298 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9299 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9300 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9301 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9302 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9303 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9304 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9305 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9306 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9307 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
9308 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9309 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
9310 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9311 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9312 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9313 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9315 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
9317 2011-10-25 Andreas Schwab <schwab@redhat.com>
9319 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
9321 * elf/dl-fini.c (_dl_sort_fini): Likewise.
9323 2011-10-25 Ulrich Drepper <drepper@gmail.com>
9325 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
9326 .text section. Avoid duplicate constants.
9327 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9328 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9329 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9330 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9331 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9332 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9333 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9334 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9335 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9336 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
9337 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9338 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9339 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
9340 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
9341 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
9342 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
9343 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
9344 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9345 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9346 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9347 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9348 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9349 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9350 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
9351 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
9352 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
9353 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
9354 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
9355 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
9356 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
9357 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
9358 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
9359 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9360 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
9361 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
9362 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
9363 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
9364 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
9365 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
9366 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
9367 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
9368 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
9369 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
9370 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
9371 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
9373 2011-10-24 Ulrich Drepper <drepper@gmail.com>
9375 * sysdeps/x86_64/dla.h: Move to ...
9376 * sysdeps/x86_64/fpu/dla.h: ...here.
9377 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
9378 situations. Use __builtin_fma only for gcc 4.6 and up.
9380 * config.make.in: Add have-mfma4 entry.
9381 * configure.in: Substitute libc_cv_cc_fma4.
9382 * math/Makefile (dbl-only-routines): Add sincostab.
9383 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
9384 Use __sincostab not sincos.
9385 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
9387 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9388 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9389 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9390 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
9392 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
9393 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
9394 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
9395 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
9397 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
9398 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
9400 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
9401 define aliases when function name is a macro.
9402 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
9403 sysdeps/ieee754/dbl-64/sincos.tbl.
9404 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
9405 fma4-enabled routines.
9406 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
9407 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
9408 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
9409 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
9410 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
9411 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
9412 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
9413 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
9414 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
9415 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
9416 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
9417 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
9418 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
9419 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
9420 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
9421 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
9422 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
9423 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
9424 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
9425 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
9426 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
9427 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
9428 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
9429 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
9430 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
9431 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
9432 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
9433 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
9434 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
9435 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
9437 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
9439 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9440 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9441 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9442 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9443 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9444 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9445 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9446 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9448 2011-10-24 Andreas Schwab <schwab@redhat.com>
9450 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
9452 2011-10-23 Ulrich Drepper <drepper@gmail.com>
9454 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
9456 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
9458 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
9460 * string/strnlen.c: Don't define STRNLEN, reverse logic.
9461 Remove unused variable magic_bits.
9462 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
9464 * string/strnlen.c: Define and use STRNLEN macro.
9465 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
9466 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
9467 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
9468 * wcsmbs/wcslen.c: Define and use WCSLEN.
9469 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
9470 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
9471 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
9472 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
9473 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
9474 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
9475 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
9477 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9479 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9480 strnlen-sse2-no-bsf.
9481 Rename strlen-no-bsf to strlen-sse2-no-bsf.
9482 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
9483 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
9484 Add strnlen support.
9485 (USE_AS_STRNLEN): New macro.
9486 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
9487 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
9488 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
9489 * sysdeps/x86_64/wcslen.S: New file.
9491 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
9493 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
9494 XMM-moves are used for copying on small sizes.
9496 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9498 * wcsmbs/Makefile (strop-tests): Add wcschr.
9499 * wcsmbs/test-wcschr.c: New file.
9500 * string/test-strchr.c: Update.
9504 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9506 * wcsmbs/Makefile (strop-tests): Add wcslen.
9507 * wcsmbs/test-wcslen.c: New file.
9508 * string/test-strlen.c: Update.
9512 2011-10-23 Ulrich Drepper <drepper@gmail.com>
9514 * po/it.po: Update from translation team.
9516 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9518 * sysdeps/x86_64/wcscmp.S: Update.
9519 Fix wrong comparison semantics.
9520 wcscmp shall use signed comparison not unsigned.
9521 Don't use substraction to avoid overflow bug.
9522 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
9523 * wcsmbc/wcscmp.c: Likewise.
9524 * string/test-strcmp.c: Likewise.
9525 Add new tests to check cases with negative values.
9527 2011-10-23 Ulrich Drepper <drepper@gmail.com>
9529 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
9530 * sysdeps/x86_64/dla.h: ...here. New file.
9531 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
9532 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9533 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9534 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9535 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9536 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9537 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9538 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9539 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9541 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
9543 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
9544 __ynl_finite aliases.
9546 2011-10-22 Ulrich Drepper <drepper@gmail.com>
9548 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9550 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
9552 [DLA_FMA] (EMULV): Use DLA_FMA.
9553 [DLA_FMA] (MUL12): Use EMULV.
9554 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
9555 that are not needed.
9556 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9557 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9558 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9559 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9560 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9561 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9562 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9564 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
9566 * math/s_nan.c: Undef __nan.
9567 * math/s_nanf.c: Undef __nanf.
9568 * math/s_nanl.c: Undef __nanl.
9569 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
9572 2011-10-22 Ulrich Drepper <drepper@gmail.com>
9574 * math/s_catan.c: Add branch predictions.
9575 * math/s_catanf.c: Likewise.
9576 * math/s_catanh.c: Likewise.
9577 * math/s_catanhf.c: Likewise.
9578 * math/s_catanhl.c: Likewise.
9579 * math/s_catanl.c: Likewise.
9580 * math/s_cexp.c: Likewise.
9581 * math/s_cexpf.c: Likewise.
9582 * math/s_cexpl.c: Likewise.
9583 * math/s_clog.c: Likewise.
9584 * math/s_clog10.c: Likewise.
9585 * math/s_clog10f.c: Likewise.
9586 * math/s_clog10l.c: Likewise.
9587 * math/s_clogf.c: Likewise.
9588 * math/s_clogl.c: Likewise.
9589 * math/s_csqrt.c: Likewise.
9590 * math/s_csqrtf.c: Likewise.
9591 * math/s_csqrtl.c: Likewise.
9592 * math/s_ctanf.c: Likewise.
9593 * math/s_ctanh.c: Likewise.
9594 * math/s_ctanhf.c: Likewise.
9595 * math/s_ctanhl.c: Likewise.
9596 * math/s_ctanl.c: Likewise.
9598 * math/math_private.h: Define __nan, __nanf, __nanl.
9599 * math/s_cacosh.c: Include <math_private.h>.
9600 * math/s_cacoshl.c: Likewise.
9601 * math/s_casinh.c: Likewise.
9602 * math/s_casinhf.c: Likewise.
9603 * math/s_casinhl.c: Likewise.
9604 * math/s_ccos.c: Rely entire on ccosh.
9605 * math/s_ccosf.c: Rely entire on ccoshf.
9606 * math/s_ccosl.c: Rely entirely on ccoshl.
9607 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
9608 Remove tests for FE_INVALID.
9609 * math/s_ccoshf.c: Likewise.
9610 * math/s_ccoshl.c: Likewise.
9611 * math/s_csin.c: Likewise.
9612 * math/s_csinf.c: Likewise.
9613 * math/s_csinh.c Likewise.
9614 * math/s_csinhf.c: Likewise.
9615 * math/s_csinhl.c: Likewise.
9616 * math/s_csinl.c: Likewise.
9617 * math/s_ctan.c: Likewise.
9618 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
9619 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
9620 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
9622 2011-10-21 Ulrich Drepper <drepper@gmail.com>
9624 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
9625 compilation problems.
9627 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
9630 2011-10-20 Ulrich Drepper <drepper@gmail.com>
9632 * sysdeps/i386/configure.in: Test for -mfma4 option.
9633 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
9634 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
9635 COMMON_CPUID_INDEX_80000001.
9636 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
9637 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
9638 use it if FMA3 is not supported.
9639 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
9641 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
9642 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
9644 2011-10-20 Andreas Schwab <schwab@redhat.com>
9647 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
9648 it would create a cycle with a link time dependency.
9650 2011-10-19 Ulrich Drepper <drepper@gmail.com>
9652 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
9654 * string/Makefile (strop-tests): Add rawmemchr.
9655 * string/test-rawmemchr.c: New file.
9657 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
9658 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
9659 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
9660 when compiling str{,n}casecmp and when AVX is available. Hook up
9661 new optimized code in initializers.
9663 2011-10-19 Andreas Schwab <schwab@redhat.com>
9665 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
9666 __feraiseexcept instead of feraiseexcept.
9668 2011-10-18 Ulrich Drepper <drepper@gmail.com>
9670 * math/math_private.h: Define defaults for libc_fetestexcept and
9672 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
9673 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
9674 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
9675 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
9676 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9677 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
9678 libc_fetestexcept and libc_feupdateenv.
9680 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
9681 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
9682 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
9683 * sysdeps/x86_64/fpu/math_private.h: Define special version of
9684 libc_feholdexcept_setround.
9686 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
9687 Add s_nearbyint-c and s_nearbyintf-c.
9688 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
9690 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
9691 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
9692 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
9693 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
9695 * math/math_private.h: Define defaults for libc_fegetround,
9696 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
9697 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
9698 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
9699 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
9700 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
9702 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9703 Remove comments and hacks for old compiler versions.
9704 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
9705 libc_fegetround, libc_fesetround, libc_feholdexcept, and
9708 2011-10-18 Andreas Schwab <schwab@redhat.com>
9710 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
9711 (__feraiseexcept_renamed): Add __NTH.
9712 (feraiseexcept): Add __NTH. Rename local variables to fix
9713 namespace violations.
9715 2011-10-17 Ulrich Drepper <drepper@gmail.com>
9717 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
9719 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
9721 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
9722 recently added interfaces.
9723 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
9725 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
9726 about macro parameter expansion.
9728 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
9729 __NO_MATH_INLINES is defined. Cleanups.
9731 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
9732 and __floorf is target has SSE4.1.
9733 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
9734 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
9735 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
9736 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
9738 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
9742 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
9744 2011-10-17 Andreas Schwab <schwab@redhat.com>
9746 * misc/sys/cdefs.h: Fix last change.
9748 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
9751 2011-10-16 Ulrich Drepper <drepper@gmail.com>
9753 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
9755 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
9756 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9757 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9758 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9759 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9760 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9761 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9762 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9763 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9764 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
9765 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
9766 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
9767 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
9768 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
9769 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
9770 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
9771 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
9772 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
9773 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
9774 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
9775 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
9776 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
9778 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
9779 ceil, ceilf, floor, floorf.
9781 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
9782 Perform IRELATIVE relocations last.
9784 * elf/do-rel.h: Add another parameter nrelative, replacing the
9785 local variable with the same name. Change name of the function
9786 to end in Rel or Rela (uppercase).
9787 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
9788 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
9789 elf_dynamic_do_##reloc function.
9791 2011-10-15 Ulrich Drepper <drepper@gmail.com>
9793 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
9794 is sufficient, at least on modern CPUs.
9796 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
9798 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
9799 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
9801 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
9803 * math/bits/math-finite.h: Add entries for exp.
9804 * math/e_expl.c: Add __*_finite alias.
9805 * sysdeps/i386/fpu/e_exp.S: Likewise.
9806 * sysdeps/i386/fpu/e_expf.S: Likewise.
9807 * sysdeps/i386/fpu/e_expl.c: Likewise.
9808 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9809 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
9810 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9811 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9812 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
9813 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
9814 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
9816 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
9817 is sufficient, at least on modern CPUs.
9819 * ctype/ctype-info.c (__ctype_init): Define.
9820 * include/ctype.h (__ctype_init): Declare.
9821 (__ctype_b_loc): The variable is always initialized.
9822 (__ctype_toupper_loc): Likewise.
9823 (__ctype_tolower_loc): Likewise.
9824 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
9825 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
9827 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
9829 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
9831 * configure.in: Also look in $cxxmachine/include for C++ system
9834 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9836 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
9837 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
9838 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
9839 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
9840 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
9841 (USE_AS_WMEMCMP): New macro.
9843 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
9844 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
9845 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
9846 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
9847 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9848 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
9849 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
9850 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
9851 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
9852 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
9853 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
9854 (USE_AS_WMEMCMP): New macro.
9855 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
9856 * sysdeps/string/test-memcmp.c: Update.
9859 * wcsmbs/wmemcmp.c: Update.
9860 (WMEMCMP): New macro.
9863 2011-10-12 Andreas Jaeger <aj@suse.de>
9866 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
9868 2011-10-15 Ulrich Drepper <drepper@gmail.com>
9870 * libio/iofwide.c (do_length): Avoid warning.
9872 * ctype/ctype.h (__isctype_f): Add missing __THROW.
9874 2011-10-14 Ulrich Drepper <drepper@gmail.com>
9876 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
9878 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
9879 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
9880 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
9881 * sysdeps/i386/i686/fpu/e_log.S: New file.
9882 * sysdeps/i386/i686/fpu/e_logf.S: New file.
9883 * sysdeps/i386/i686/fpu/e_logl.S: New file.
9885 * ctype/ctype.h: Add support for inlined isXXX functions when
9888 2011-10-14 Andreas Schwab <schwab@redhat.com>
9890 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9892 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
9894 2011-10-13 Roland McGrath <roland@hack.frob.com>
9897 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
9899 2011-10-13 Andreas Schwab <schwab@redhat.com>
9901 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
9902 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
9905 * sysdeps/x86_64/memrchr.S: Check for zero size.
9907 * string/stratcliff.c: Add memrchr tests.
9909 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9911 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9912 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
9913 rawmemchr-sse2 rawmemchr-sse2-bsf.
9914 * sysdeps/i386/i686/multiarch/memchr.S: New file.
9915 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
9916 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
9917 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
9918 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
9919 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
9920 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
9921 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
9922 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
9923 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
9924 * string/memrchr.c (MEMRCHR): New macro.
9926 2011-10-12 Ulrich Drepper <drepper@gmail.com>
9928 Add integration with gcc's -ffinite-math-only and optimize wrapper
9930 * Versions.def: Define GLIBC_2.15 version for libm.
9931 * math/Makefile (headers): Add bits/math-finite.h.
9932 * math/bits/math-finite.h: New file.
9933 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
9934 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
9935 * math/e_acoshl.c: Add __*_finite alias.
9936 * math/e_acosl.c: Likewise.
9937 * math/e_asinl.c: Likewise.
9938 * math/e_atan2l.c: Likewise.
9939 * math/e_atanhl.c: Likewise.
9940 * math/e_coshl.c: Likewise.
9941 * math/e_exp10.c: Likewise.
9942 * math/e_exp10f.c: Likewise.
9943 * math/e_exp10l.c: Likewise.
9944 * math/e_exp2l.c: Likewise.
9945 * math/e_fmodl.c: Likewise.
9946 * math/e_gammal_r.c: Likewise.
9947 * math/e_hypotl.c: Likewise.
9948 * math/e_j0l.c: Likewise.
9949 * math/e_j1l.c: Likewise.
9950 * math/e_jnl.c: Likewise.
9951 * math/e_lgammal_r.c: Likewise.
9952 * math/e_log10l.c: Likewise.
9953 * math/e_log2l.c: Likewise.
9954 * math/e_logl.c: Likewise.
9955 * math/e_powl.c: Likewise.
9956 * math/e_sinhl.c: Likewise.
9957 * math/e_sqrtl.c: Likewise.
9958 * math/e_scalb.c: Completely rewritten and optimized.
9959 * math/e_scalbf.c: Likewise.
9960 * math/e_scalbl.c: Likewise.
9961 * math/w_acos.c: Likewise.
9962 * math/w_acosf.c: Likewise.
9963 * math/w_acosl.c: Likewise.
9964 * math/w_acosh.c: Likewise.
9965 * math/w_acoshf.c: Likewise.
9966 * math/w_acoshl.c: Likewise.
9967 * math/w_asin.c: Likewise.
9968 * math/w_asinf.c: Likewise.
9969 * math/w_asinl.c: Likewise.
9970 * math/w_atan2.c: Likewise.
9971 * math/w_atan2f.c: Likewise.
9972 * math/w_atan2l.c: Likewise.
9973 * math/w_atanh.c: Likewise.
9974 * math/w_atanhf.c: Likewise.
9975 * math/w_atanhl.c: Likewise.
9976 * math/w_exp10.c: Likewise.
9977 * math/w_exp10f.c: Likewise.
9978 * math/w_exp10l.c: Likewise.
9979 * math/w_fmod.c: Likewise.
9980 * math/w_fmodf.c: Likewise.
9981 * math/w_fmodl.c: Likewise.
9982 * math/w_j0.c: Likewise.
9983 * math/w_j0f.c: Likewise.
9984 * math/w_j0l.c: Likewise.
9985 * math/w_j1.c: Likewise.
9986 * math/w_j1f.c: Likewise.
9987 * math/w_j1l.c: Likewise.
9988 * math/w_jn.c: Likewise.
9989 * math/w_jnf.c: Likewise.
9990 * math/w_log.c: Likewise.
9991 * math/w_logf.c: Likewise.
9992 * math/w_logl.c: Likewise.
9993 * math/w_log10.c: Likewise.
9994 * math/w_log10f.c: Likewise.
9995 * math/w_log10l.c: Likewise.
9996 * math/w_log2.c: Likewise.
9997 * math/w_log2f.c: Likewise.
9998 * math/w_log2l.c: Likewise.
9999 * math/w_pow.c: Likewise.
10000 * math/w_powf.c: Likewise.
10001 * math/w_powl.c: Likewise.
10002 * math/w_remainder.c: Likewise.
10003 * math/w_remainderf.c: Likewise.
10004 * math/w_remainderl.c: Likewise.
10005 * math/w_scalb.c: Likewise.
10006 * math/w_scalbf.c: Likewise.
10007 * math/w_scalbl.c: Likewise.
10008 * math/w_sqrt.c: Likewise.
10009 * math/w_sqrtf.c: Likewise.
10010 * math/w_sqrtl.c: Likewise.
10011 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
10012 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
10014 * math/math_private.h: Declare __kernel_standard_f.
10015 * math/w_cosh.c: Remove cruft and optimize a bit.
10016 * math/w_coshf.c: Likewise.
10017 * math/w_coshl.c: Likewise.
10018 * math/w_exp2.c: Likewise.
10019 * math/w_exp2f.c: Likewise.
10020 * math/w_exp2l.c: Likewise.
10021 * math/w_hypot.c: Likewise.
10022 * math/w_hypotf.c: Likewise.
10023 * math/w_hypotl.c: Likewise.
10024 * math/w_lgamma.c: Likewise.
10025 * math/w_lgamma_r.c: Likewise.
10026 * math/w_lgammaf.c: Likewise.
10027 * math/w_lgammaf_r.c: Likewise.
10028 * math/w_lgammal.c: Likewise.
10029 * math/w_lgammal_r.c: Likewise.
10030 * math/w_sinh.c: Likewise.
10031 * math/w_sinhf.c: Likewise.
10032 * math/w_sinhl.c: Likewise.
10033 * math/w_tgamma.c: Likewise.
10034 * math/w_tgammaf.c: Likewise.
10035 * math/w_tgammal.c: Likewise.
10036 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10037 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10038 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
10039 Minor optimizations. Pretty printing. Remove cruft.
10040 * sysdeps/i386/fpu/e_acosf.S: Likewise.
10041 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10042 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10043 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10044 * sysdeps/i386/fpu/e_acosl.c: Likewise.
10045 * sysdeps/i386/fpu/e_asin.S: Likewise.
10046 * sysdeps/i386/fpu/e_asinf.S: Likewise.
10047 * sysdeps/i386/fpu/e_atan2.S: Likewise.
10048 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
10049 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
10050 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10051 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10052 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10053 * sysdeps/i386/fpu/e_exp10.S: Likewise.
10054 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
10055 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
10056 * sysdeps/i386/fpu/e_exp2.S: Likewise.
10057 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
10058 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
10059 * sysdeps/i386/fpu/e_fmod.S: Likewise.
10060 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
10061 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
10062 * sysdeps/i386/fpu/e_hypot.S: Likewise.
10063 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
10064 * sysdeps/i386/fpu/e_log.S: Likewise.
10065 * sysdeps/i386/fpu/e_log10.S: Likewise.
10066 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10067 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10068 * sysdeps/i386/fpu/e_log2.S: Likewise.
10069 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10070 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10071 * sysdeps/i386/fpu/e_logf.S: Likewise.
10072 * sysdeps/i386/fpu/e_logl.S: Likewise.
10073 * sysdeps/i386/fpu/e_pow.S: Likewise.
10074 * sysdeps/i386/fpu/e_powf.S: Likewise.
10075 * sysdeps/i386/fpu/e_powl.S: Likewise.
10076 * sysdeps/i386/fpu/e_remainder.S: Likewise.
10077 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
10078 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
10079 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10080 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10081 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10082 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
10083 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
10084 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
10085 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10086 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10087 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10088 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10089 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10090 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10091 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10092 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10093 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10094 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10095 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10096 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
10097 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10098 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10099 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10100 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10101 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10102 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10103 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10104 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10105 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10106 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
10107 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10108 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10109 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
10110 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
10111 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
10112 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
10113 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
10114 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
10115 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10116 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10117 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10118 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
10119 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
10120 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
10121 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
10122 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
10123 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
10124 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
10125 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
10126 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
10127 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
10128 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
10129 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10130 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
10131 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10132 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
10133 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
10134 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
10135 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10136 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10137 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10138 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10139 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10140 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
10141 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
10142 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
10143 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10144 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
10145 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10146 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
10147 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10148 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10149 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
10150 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
10151 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
10152 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
10153 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
10154 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
10155 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
10156 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
10157 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
10158 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
10159 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
10160 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10161 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
10162 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
10163 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10164 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
10165 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10166 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
10167 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
10168 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10169 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10170 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
10171 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10172 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
10173 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10174 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
10175 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10176 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10177 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10178 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
10179 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10180 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
10181 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
10182 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
10183 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
10184 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
10185 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
10186 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
10187 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
10188 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
10189 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10190 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10191 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10192 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10193 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
10194 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10195 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
10196 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
10197 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
10198 (__isnanf): Likewise.
10199 (__isinf_ns): Likewise.
10200 (__isinf_nsf): Likewise.
10201 (__finite): Likewise.
10202 (__finitef): Likewise.
10203 (__ieee754_sqrt): Define as macro.
10204 (__ieee754_sqrtf): Define as macro.
10205 (__ieee754_sqrtl): Define as macro.
10206 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
10208 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
10209 __FINITE_MATH_ONLY__ consistent.
10210 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
10212 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
10214 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
10217 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
10219 2011-10-09 Ulrich Drepper <drepper@gmail.com>
10221 * po/ja.po: Update from translation team.
10223 2011-10-08 Roland McGrath <roland@hack.frob.com>
10225 * locale/programs/locarchive.c (prepare_address_space): New function.
10226 (create_archive, enlarge_archive, open_archive): Use it.
10228 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
10229 inside [SHARED], where it is used.
10231 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
10233 * nss/getent.c (netgroup_keys): Remove unused variable.
10234 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
10236 2011-10-08 Ulrich Drepper <drepper@gmail.com>
10238 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
10239 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
10240 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
10241 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
10242 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
10243 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
10244 * math/Makefile (libm-calls): Add s_isinf_ns.
10245 * math/divtc3.c: Use __isinf_nsl instead of isinf.
10246 * math/multc3.c: Likewise.
10247 * math/s_casin.c: Likewise.
10248 * math/s_casinf.c: Likewise.
10249 * math/s_casinl.c: Likewise.
10250 * math/s_ccos.c: Likewise.
10251 * math/s_ccosf.c: Likewise.
10252 * math/s_ccosl.c: Likewise.
10253 * math/s_ctan.c: Likewise.
10254 * math/s_ctanf.c: Likewise.
10255 * math/s_ctanh.c: Likewise.
10256 * math/s_ctanhf.c: Likewise.
10257 * math/s_ctanhl.c: Likewise.
10258 * math/s_ctanl.c: Likewise.
10259 * math/w_fmod.c: Likewise.
10260 * math/w_fmodf.c: Likewise.
10261 * math/w_fmodl.c: Likewise.
10262 * math/w_remainder.c: Likewise.
10263 * math/w_remainderf.c: Likewise.
10264 * math/w_remainderl.c: Likewise.
10265 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
10266 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
10267 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
10268 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
10269 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
10270 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
10271 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
10272 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
10274 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
10276 * stdio-common/printf_fphex.c: Likewise.
10277 * stdio-common/printf_size.c: Likewise.
10279 * math/e_exp10.c: Include math_private.h using <...> not "...".
10280 * math/e_exp10f.c: Likewise.
10281 * math/e_exp10l.c: Likewise.
10282 * math/e_exp2l.c: Likewise.
10283 * math/e_j0l.c: Likewise.
10284 * math/e_j1l.c: Likewise.
10285 * math/e_jnl.c: Likewise.
10286 * math/e_lgammal_r.c: Likewise.
10287 * math/e_rem_pio2l.c: Likewise.
10288 * math/e_scalb.c: Likewise.
10289 * math/e_scalbf.c: Likewise.
10290 * math/e_scalbl.c: Likewise.
10291 * math/k_cosl.c: Likewise.
10292 * math/k_sinl.c: Likewise.
10293 * math/k_tanl.c: Likewise.
10294 * math/s_cacoshf.c: Likewise.
10295 * math/s_catan.c: Likewise.
10296 * math/s_catanf.c: Likewise.
10297 * math/s_catanh.c: Likewise.
10298 * math/s_catanhf.c: Likewise.
10299 * math/s_catanhl.c: Likewise.
10300 * math/s_catanl.c: Likewise.
10301 * math/s_ccosh.c: Likewise.
10302 * math/s_ccoshf.c: Likewise.
10303 * math/s_ccoshl.c: Likewise.
10304 * math/s_cexp.c: Likewise.
10305 * math/s_cexpf.c: Likewise.
10306 * math/s_cexpl.c: Likewise.
10307 * math/s_clog.c: Likewise.
10308 * math/s_clog10.c: Likewise.
10309 * math/s_clog10f.c: Likewise.
10310 * math/s_clog10l.c: Likewise.
10311 * math/s_clogf.c: Likewise.
10312 * math/s_clogl.c: Likewise.
10313 * math/s_csin.c: Likewise.
10314 * math/s_csinf.c: Likewise.
10315 * math/s_csinh.c: Likewise.
10316 * math/s_csinhf.c: Likewise.
10317 * math/s_csinhl.c: Likewise.
10318 * math/s_csinl.c: Likewise.
10319 * math/s_csqrt.c: Likewise.
10320 * math/s_csqrtf.c: Likewise.
10321 * math/s_csqrtl.c: Likewise.
10322 * math/s_ctan.c: Likewise.
10323 * math/s_ctanf.c: Likewise.
10324 * math/s_ctanh.c: Likewise.
10325 * math/s_ctanhf.c: Likewise.
10326 * math/s_ctanhl.c: Likewise.
10327 * math/s_ctanl.c: Likewise.
10328 * math/s_ldexp.c: Likewise.
10329 * math/s_ldexpf.c: Likewise.
10330 * math/s_ldexpl.c: Likewise.
10331 * math/s_significand.c: Likewise.
10332 * math/s_significandf.c: Likewise.
10333 * math/s_significandl.c: Likewise.
10334 * math/w_acos.c: Likewise.
10335 * math/w_acosf.c: Likewise.
10336 * math/w_acosh.c: Likewise.
10337 * math/w_acoshf.c: Likewise.
10338 * math/w_acoshl.c: Likewise.
10339 * math/w_acosl.c: Likewise.
10340 * math/w_asin.c: Likewise.
10341 * math/w_asinf.c: Likewise.
10342 * math/w_asinl.c: Likewise.
10343 * math/w_atan2.c: Likewise.
10344 * math/w_atan2f.c: Likewise.
10345 * math/w_atan2l.c: Likewise.
10346 * math/w_atanh.c: Likewise.
10347 * math/w_atanhf.c: Likewise.
10348 * math/w_atanhl.c: Likewise.
10349 * math/w_cosh.c: Likewise.
10350 * math/w_coshf.c: Likewise.
10351 * math/w_coshl.c: Likewise.
10352 * math/w_dremf.c: Likewise.
10353 * math/w_exp10.c: Likewise.
10354 * math/w_exp10f.c: Likewise.
10355 * math/w_exp10l.c: Likewise.
10356 * math/w_exp2.c: Likewise.
10357 * math/w_exp2f.c: Likewise.
10358 * math/w_fmod.c: Likewise.
10359 * math/w_fmodf.c: Likewise.
10360 * math/w_fmodl.c: Likewise.
10361 * math/w_hypot.c: Likewise.
10362 * math/w_hypotf.c: Likewise.
10363 * math/w_hypotl.c: Likewise.
10364 * math/w_j0.c: Likewise.
10365 * math/w_j0f.c: Likewise.
10366 * math/w_j0l.c: Likewise.
10367 * math/w_j1.c: Likewise.
10368 * math/w_j1f.c: Likewise.
10369 * math/w_j1l.c: Likewise.
10370 * math/w_jn.c: Likewise.
10371 * math/w_jnf.c: Likewise.
10372 * math/w_jnl.c: Likewise.
10373 * math/w_lgamma.c: Likewise.
10374 * math/w_lgamma_r.c: Likewise.
10375 * math/w_lgammaf.c: Likewise.
10376 * math/w_lgammaf_r.c: Likewise.
10377 * math/w_lgammal.c: Likewise.
10378 * math/w_lgammal_r.c: Likewise.
10379 * math/w_log.c: Likewise.
10380 * math/w_log10.c: Likewise.
10381 * math/w_log10f.c: Likewise.
10382 * math/w_log10l.c: Likewise.
10383 * math/w_log2.c: Likewise.
10384 * math/w_log2f.c: Likewise.
10385 * math/w_log2l.c: Likewise.
10386 * math/w_logf.c: Likewise.
10387 * math/w_logl.c: Likewise.
10388 * math/w_pow.c: Likewise.
10389 * math/w_powf.c: Likewise.
10390 * math/w_powl.c: Likewise.
10391 * math/w_remainder.c: Likewise.
10392 * math/w_remainderf.c: Likewise.
10393 * math/w_remainderl.c: Likewise.
10394 * math/w_scalb.c: Likewise.
10395 * math/w_scalbf.c: Likewise.
10396 * math/w_scalbl.c: Likewise.
10397 * math/w_sinh.c: Likewise.
10398 * math/w_sinhf.c: Likewise.
10399 * math/w_sinhl.c: Likewise.
10400 * math/w_sqrt.c: Likewise.
10401 * math/w_sqrtf.c: Likewise.
10402 * math/w_sqrtl.c: Likewise.
10403 * math/w_tgamma.c: Likewise.
10404 * math/w_tgammaf.c: Likewise.
10405 * math/w_tgammal.c: Likewise.
10407 * po/ja.po: Update from translation team.
10409 2011-09-29 Andreas Jaeger <aj@suse.de>
10412 * sunrpc/netname.c (netname2host): Fix logic.
10416 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
10418 * math/w_remainder.c (__remainder): Likewise.
10419 * math/w_remainderf.c (__remainderf): Likewise.
10420 * math/libm-test.inc (remainder_test): Add test cases.
10422 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10424 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
10427 2011-10-07 Ulrich Drepper <drepper@gmail.com>
10429 * string/test-memcmp.c: Avoid unncessary #defines.
10430 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
10432 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10434 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
10435 Use new sse2 version for core i3 - i7 as it's faster
10436 than sse42 version.
10437 (bit_Prefer_PMINUB_for_stringop): New.
10438 * sysdeps/x86_64/rawmemchr.S: Update.
10439 Replace with faster SSE2 version.
10440 * sysdeps/x86_64/memrchr.S: New file.
10441 * sysdeps/x86_64/memchr.S: Update.
10442 Replace with faster SSE2 version.
10444 2011-09-12 Marek Polacek <mpolacek@redhat.com>
10446 * elf/dl-load.c (lose): Add cast to avoid warning.
10448 2011-10-07 Ulrich Drepper <drepper@gmail.com>
10450 * po/ca.po: Update from translation team.
10452 * inet/getnetgrent_r.c: Hook up nscd.
10453 * nscd/Makefile (routines): Add nscd_netgroup.
10454 (nscd-modules): Add netgroupcache.
10455 (CFLAGS-netgroupcache.c): Define.
10456 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
10457 (cache_search): Add const to second parameter.
10458 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
10460 (dbs): Add netgrdb entry.
10461 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
10462 (verify_persistent_db): Handle netgrdb.
10463 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
10464 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
10466 (netgroup_response_header): Define.
10467 (innetgroup_response_header): Define.
10468 (datahead): Add netgroup_response_header and innetgroup_response_header
10470 * nscd/nscd.conf: Add entries for netgroup cache.
10471 * nscd/nscd.h (dbtype): Add netgrdb.
10472 (_PATH_NSCD_NETGROUP_DB): Define.
10473 (netgroup_iov_disabled): Declare.
10474 (xmalloc, xcalloc, xrealloc): Move declarations here.
10475 (cache_search): Adjust prototype.
10476 Add netgroup-related prototypes.
10477 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
10478 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
10479 (__nscd_innetgr): Declare.
10480 * nscd/selinux.c (perms): Use access_vector_t as element type and
10481 add netgroup-related initializers.
10482 * nscd/netgroupcache.c: New file.
10483 * nscd/nscd_netgroup.c: New file.
10484 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
10485 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
10486 For four parameters use innetgr.
10487 * nss/nss_files/files-init.c: Add definition and callback for netgr.
10488 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
10489 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
10490 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
10492 * nscd/connections.c (register_traced_file): Don't register file
10493 for disabled databases.
10495 2011-10-06 Ulrich Drepper <drepper@gmail.com>
10497 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
10499 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
10500 from tree and freeing node.
10502 2011-09-25 Jiri Olsa <jolsa@redhat.com>
10504 * nss/nsswitch.c (__nss_database_lookup): Handle
10505 nss_parse_service_list out of memory case.
10507 2011-09-15 Jiri Olsa <jolsa@redhat.com>
10509 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
10510 out of memory case.
10512 2011-10-04 Andreas Schwab <schwab@redhat.com>
10514 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
10515 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
10517 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
10518 elf_machine_rela, elf_machine_lazy_rel.
10519 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
10520 (ELF_DYNAMIC_DO_REL): Likewise.
10521 (ELF_DYNAMIC_DO_RELA): Likewise.
10522 (ELF_DYNAMIC_RELOCATE): Likewise.
10523 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
10524 to ELF_DYNAMIC_DO_REL.
10525 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
10526 (dl_main): In trace mode always set __RTLD_NOIFUNC.
10527 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
10529 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
10530 skip_ifunc, don't call ifunc function if non-zero.
10531 (elf_machine_rela): Likewise.
10532 (elf_machine_lazy_rel): Likewise.
10533 (elf_machine_lazy_rela): Likewise.
10534 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
10535 (elf_machine_lazy_rel): Likewise.
10536 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
10538 (elf_machine_lazy_rel): Likewise.
10539 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10541 (elf_machine_lazy_rel): Likewise.
10542 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
10543 (elf_machine_lazy_rel): Likewise.
10544 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
10545 (elf_machine_lazy_rel): Likewise.
10546 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10547 (elf_machine_lazy_rel): Likewise.
10548 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
10549 (elf_machine_lazy_rel): Likewise.
10550 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
10551 (elf_machine_lazy_rel): Likewise.
10552 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
10553 (elf_machine_lazy_rel): Likewise.
10555 2011-09-28 Ulrich Drepper <drepper@gmail.com>
10557 * nss/nss_files/files-init.c (_nss_files_init): Use static
10558 initialization for all the *_traced_file variables.
10560 2011-09-28 Andreas Schwab <schwab@redhat.com>
10562 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10564 2011-09-27 Roland McGrath <roland@hack.frob.com>
10567 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
10569 2011-09-27 Andreas Schwab <schwab@redhat.com>
10571 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10572 Reread the line before reparsing it.
10574 2011-09-26 Andreas Schwab <schwab@redhat.com>
10576 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
10578 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
10579 Maxim Kuvyrkov <maxim@codesourcery.com>
10580 Joseph Myers <joseph@codesourcery.com>
10582 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
10583 if needed for __stack_chk_guard.
10585 2011-09-19 Roland McGrath <roland@hack.frob.com>
10587 * sysdeps/posix/spawni.c (script_execute): Always define it.
10588 It will be optimized away if unused.
10589 (maybe_script_execute): New function.
10590 (__spawni): Call it.
10592 * Makerules: Don't include tls.make.
10593 (config-tls): Always set to thread.
10594 * tls.make.c: File removed.
10596 2011-09-19 Mike Frysinger <vapier@gentoo.org>
10598 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
10599 * config.make.in (CPPFLAGS-config): New substituted variable.
10601 2011-09-15 Ulrich Drepper <drepper@gmail.com>
10603 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
10606 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
10607 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
10609 2011-09-15 Roland McGrath <roland@hack.frob.com>
10611 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
10612 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
10613 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
10614 (CALL_FAIL): Likewise.
10615 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
10616 (CALL_FAIL): Macro removed.
10617 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
10619 2011-09-15 Ulrich Drepper <drepper@gmail.com>
10621 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
10622 for __FINITE_MATH_ONLY__ == 1.
10624 2011-09-15 Andreas Schwab <schwab@redhat.com>
10626 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
10627 __ieee754_sqrt instead of sqrt.
10628 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
10629 __ieee754_sqrtf instead of sqrtf.
10630 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
10631 __floorf instead of floorf.
10632 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
10633 __floorf, __truncf instead of floorf, truncf.
10635 2011-09-14 Ulrich Drepper <drepper@gmail.com>
10637 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
10639 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
10640 __extern_always_inline.
10641 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
10644 2011-09-14 Andreas Schwab <schwab@redhat.com>
10646 * elf/rtld.c (dl_main): Also relocate in dependency order when
10647 doing symbol dependency testing.
10649 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
10651 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10652 Always define `refsym'.
10654 2011-09-13 Andreas Schwab <schwab@redhat.com>
10656 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
10657 (__FD_ELT): Renamed from __FDELT.
10658 * misc/bits/select2.h (__FD_ELT): Likewise.
10659 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
10660 __FD_MASK instead of __FDELT, __FDMASK.
10661 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
10663 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
10666 * elf/Makefile (gen-ldd): Fix pattern.
10668 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
10669 (init_tls): Likewise.
10671 2011-09-12 Ulrich Drepper <drepper@gmail.com>
10673 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
10675 2011-09-12 Andreas Schwab <schwab@redhat.com>
10677 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
10678 `struct cmsghdr *' instead of `void *'.
10679 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
10682 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
10684 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
10686 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
10687 ldd_rewrite_script.
10689 2011-09-11 Ulrich Drepper <drepper@gmail.com>
10691 * configure.in: Remove --with-tls option.
10692 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
10693 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
10694 out in case it is missing.
10695 * sysdeps/ia64/elf/configure.in: Likewise.
10696 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
10697 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
10698 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
10699 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
10700 * sysdeps/sh/elf/configure.in: Likewise.
10701 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
10702 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
10703 * sysdeps/x86_64/elf/configure.in: Likewise.
10704 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
10705 * sysdeps/mach/hurd/tls.h: Likewise.
10708 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
10711 * configure.in: Fix use of AC_INIT.
10713 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
10715 2011-09-10 Ulrich Drepper <drepper@gmail.com>
10717 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
10719 * malloc/hooks.c: Likewise.
10722 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
10723 variables statically.
10724 (narenas): Initialize.
10725 (list_lock): Initialize.
10726 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
10727 initializtion of main_arena and list_lock. Small cleanups.
10728 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
10729 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
10730 Add initializers to main_arena and mp_.
10731 (malloc_state): Remove pagesize member. Change all users to use
10734 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
10735 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
10736 is always initialized.
10738 * malloc/malloc.c: Removed unused configurations and dead code.
10739 * malloc/arena.c: Likewise.
10740 * malloc/hooks.c: Likewise.
10741 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
10743 * include/tls.h: Removed. USE___THREAD must always be defined.
10744 * bits/libc-tsd.h: Don't handle !USE___THREAD.
10745 * elf/dl-libc.c: Likewise.
10746 * elf/dl-tsd.c: Likewise.
10747 * include/errno.h: Likewise.
10748 * include/netdb.h: Likewise.
10749 * include/resolv.h: Likewise.
10750 * inet/herrno-loc.c: Likewise.
10751 * inet/herrno.c: Likewise.
10752 * malloc/arena.c: Likewise.
10753 * malloc/hooks.c: Likewise.
10754 * malloc/malloc.c: Likewise.
10755 * resolv/res-state.c: Likewise.
10756 * resolv/res_libc.c: Likewise.
10757 * sysdeps/i386/dl-machine.h: Likewise.
10758 * sysdeps/ia64/dl-machine.h: Likewise.
10759 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
10760 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10761 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
10762 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10763 * sysdeps/sh/dl-machine.h: Likewise.
10764 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10765 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10766 * sysdeps/unix/i386/sysdep.S: Likewise.
10767 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10768 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
10769 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
10770 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10771 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
10772 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10773 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10774 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10775 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10776 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10777 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10778 * sysdeps/x86_64/dl-machine.h: Likewise.
10779 * tls.make.c: Likewise.
10781 * configure.in: Remove --with-__thread option. Make tests for
10782 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
10783 tls_model attribute fail if no support is available. Remove
10785 * Makeconfig: Adjust for dropped configure option. All features are
10787 * Makerules: Likewise.
10788 * Versions.def: Likewise.
10789 * argp/argp-fmtstream.c: Likewise.
10790 * argp/argp-fmtstream.h: Likewise.
10791 * argp/argp-help.c: Likewise.
10792 * assert/assert.c: Likewise.
10793 * config.h.in: Likewise.
10794 * config.make.in: Likewise.
10795 * configure: Likewise.
10796 * configure.in: Likewise.
10797 * csu/Versions: Likewise.
10798 * csu/init.c: Likewise.
10799 * elf/tst-audit2.c: Likewise.
10800 * elf/tst-tls10.c: Likewise.
10801 * elf/tst-tls10.h: Likewise.
10802 * elf/tst-tls11.c: Likewise.
10803 * elf/tst-tls12.c: Likewise.
10804 * elf/tst-tls14.c: Likewise.
10805 * elf/tst-tlsmod11.c: Likewise.
10806 * elf/tst-tlsmod12.c: Likewise.
10807 * elf/tst-tlsmod13.c: Likewise.
10808 * elf/tst-tlsmod13a.c: Likewise.
10809 * elf/tst-tlsmod14a.c: Likewise.
10810 * elf/tst-tlsmod15b.c: Likewise.
10811 * elf/tst-tlsmod16a.c: Likewise.
10812 * elf/tst-tlsmod16b.c: Likewise.
10813 * elf/tst-tlsmod7.c: Likewise.
10814 * elf/tst-tlsmod8.c: Likewise.
10815 * elf/tst-tlsmod9.c: Likewise.
10816 * gmon/gmon.c: Likewise.
10817 * grp/fgetgrent_r.c: Likewise.
10818 * grp/putgrent.c: Likewise.
10819 * hurd/fopenport.c: Likewise.
10820 * include/libc-symbols.h: Likewise.
10821 * include/tls.h: Likewise.
10822 * intl/gettextP.h: Likewise.
10823 * intl/loadinfo.h: Likewise.
10824 * locale/global-locale.c: Likewise.
10825 * locale/localeinfo.h: Likewise.
10826 * mach/devstream.c: Likewise.
10827 * malloc/arena.c: Likewise.
10828 * malloc/set-freeres.c: Likewise.
10829 * misc/err.c: Likewise.
10830 * misc/getttyent.c: Likewise.
10831 * misc/mntent_r.c: Likewise.
10832 * posix/getopt.c: Likewise.
10833 * posix/wordexp.c: Likewise.
10834 * pwd/fgetpwent_r.c: Likewise.
10835 * resolv/Versions: Likewise.
10836 * resolv/res_hconf.c: Likewise.
10837 * shadow/fgetspent_r.c: Likewise.
10838 * shadow/putspent.c: Likewise.
10839 * stdio-common/printf_fphex.c: Likewise.
10840 * stdio-common/tmpfile.c: Likewise.
10841 * stdlib/abort.c: Likewise.
10842 * stdlib/fmtmsg.c: Likewise.
10843 * sunrpc/auth_unix.c: Likewise.
10844 * sunrpc/clnt_perr.c: Likewise.
10845 * sunrpc/clnt_tcp.c: Likewise.
10846 * sunrpc/clnt_udp.c: Likewise.
10847 * sunrpc/clnt_unix.c: Likewise.
10848 * sunrpc/openchild.c: Likewise.
10849 * sunrpc/svc_simple.c: Likewise.
10850 * sunrpc/svc_tcp.c: Likewise.
10851 * sunrpc/svc_udp.c: Likewise.
10852 * sunrpc/svc_unix.c: Likewise.
10853 * sunrpc/xdr.c: Likewise.
10854 * sunrpc/xdr_array.c: Likewise.
10855 * sunrpc/xdr_rec.c: Likewise.
10856 * sunrpc/xdr_ref.c: Likewise.
10857 * sunrpc/xdr_stdio.c: Likewise.
10859 2011-09-09 Ulrich Drepper <drepper@gmail.com>
10861 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10863 2011-07-03 Andreas Jaeger <aj@suse.de>
10865 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
10866 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
10867 regenerate with gen-libm-tests.pl.
10869 2010-05-12 Petr Baudis <pasky@suse.cz>
10872 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
10873 around j0() zero points by switching to j1().
10874 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10875 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10876 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10877 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10879 2011-09-09 Ulrich Drepper <drepper@gmail.com>
10881 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
10883 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
10885 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10886 Patch in part by Pavel Roskin <proski@gnu.org>.
10889 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
10891 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
10892 Free memory block if necessary.
10895 * libio/genops.c (INTDEF): For string streams the _lock pointer can
10896 be NULL. Don't lock in this case.
10898 2011-09-09 Roland McGrath <roland@hack.frob.com>
10900 * elf/elf.h (ELFOSABI_GNU): New macro.
10901 (ELFOSABI_LINUX): Define to that.
10903 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
10905 * string/strncat.c (strncat): Undef the symbol in case it has been
10906 defined in bits/string.h.
10908 2011-09-09 Ulrich Drepper <drepper@gmail.com>
10910 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
10912 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
10915 2011-08-17 Andreas Jaeger <aj@suse.de>
10917 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
10919 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
10920 Ian Lance Taylor <iant@google.com>
10922 * math/libm-test.inc (lround_test): New testcase.
10923 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
10925 2011-09-08 Ulrich Drepper <drepper@gmail.com>
10927 * Makefile: Remove support for automatic cvs check-ins.
10928 * Makerules: Likewise.
10929 * config.make.in: Likewise.
10930 * configure.in: Likewise.
10931 * intl/Makefile: Likewise.
10932 * locale/Makefile: Likewise.
10933 * po/Makefile: Likewise.
10934 * posix/Makefile: Likewise.
10935 * sysdeps/gnu/Makefile: Likewise.
10936 * sysdeps/mach/hurd/Makefile: Likewise.
10937 * sysdeps/sparc/sparc32/Makefile: Likewise.
10940 * posix/Makefile (bug-regex32-ENV): Define.
10941 Patch by John Stanley <jpsinthemix@verizon.net>.
10943 * misc/Makefile (headers): Add bits/select2.h.
10944 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
10945 * misc/bits/select2.h: New file.
10946 * include/bits/select2.h: New file.
10947 * debug/Makefile (routines): Add fdelt_chk.
10948 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
10949 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
10951 * debug/fdelt_chk.c: New file.
10953 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
10954 * wcsmbs/test-wmemcmp.c: Likewise.
10955 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
10956 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
10958 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10960 * string/Makefile (strop-tests): Add memcmp.
10961 * string/test-wmemcmp.c: New file.
10962 * string/test-memcmp.c: Add wmemcmp support.
10964 2011-09-08 Roland McGrath <roland@hack.frob.com>
10967 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
10970 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
10971 garbage value in a __mach_port_mod_refs call in the cases of the
10972 task-self and thread-self ports.
10974 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
10976 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
10978 2011-09-08 Andreas Schwab <schwab@redhat.com>
10980 * elf/dl-load.c (lose): Check for non-null L.
10982 2011-09-07 Ulrich Drepper <drepper@gmail.com>
10984 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
10986 * elf/dl-libc.c (dlerror_run): Pass back error code from
10990 * elf/dl-load.c (lose): Free l_origin if it is valid.
10992 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
10994 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
10995 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10996 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10997 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10998 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
10999 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
11001 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11003 * sysdeps/powerpc/fpu/e_hypot.c: New file.
11004 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
11005 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
11006 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
11007 * sysdeps/powerpc/fpu/k_cosf.c: New file.
11008 * sysdeps/powerpc/fpu/k_sinf.c: New file.
11009 * sysdeps/powerpc/fpu/s_cosf.c: New file.
11010 * sysdeps/powerpc/fpu/s_sinf.c: New file.
11011 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
11012 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
11014 2011-08-15 Alan Modra <amodra@gmail.com>
11017 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
11018 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
11019 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
11020 ppc_mcount to static-only-routines.
11021 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
11023 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
11024 __mcount_internal with usual JUMPTARGET. Remove useless nop.
11026 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
11028 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
11029 for finite and infinity parameters.
11031 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
11033 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
11034 and add nop instructions for throughput optimization.
11035 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11037 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
11039 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
11040 aligned copy for power7 with vector-scalar instructions.
11041 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
11043 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
11045 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
11048 2011-09-07 Andreas Schwab <schwab@redhat.com>
11051 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
11054 2011-09-07 Ulrich Drepper <drepper@gmail.com>
11056 * sysdeps/unix/sysv/linux/x86_64/init-first.c
11057 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
11058 syscall wrapper around clock_gettime in __vdso_clock_gettime.
11059 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
11062 2011-09-06 Ulrich Drepper <drepper@gmail.com>
11064 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
11065 Forgot to demangle the pointer.
11067 * sysdeps/i386/sysdep.h: Define atom_text_section.
11068 * sysdeps/x86_64/sysdep.h: Likewise.
11069 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
11070 section with atom_text_section.
11071 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
11072 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
11073 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
11074 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
11075 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
11077 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
11078 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
11079 already be defined. Change to take two parameters and don't assign
11080 result to variable. Adjust all users.
11081 Define INTERNAL_GETTIME if not already defined.
11082 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
11084 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
11085 HAVE_CLOCK_GETTIME_VSYSCALL.
11086 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
11088 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
11089 gettimeofday vsyscall, just use time.
11091 2011-09-06 Andreas Schwab <schwab@redhat.com>
11093 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
11096 2011-09-06 Ulrich Drepper <drepper@gmail.com>
11098 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
11100 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
11102 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
11103 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
11104 syscall if possible.
11106 2011-09-05 Ulrich Drepper <drepper@gmail.com>
11108 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
11109 e_ident. Don't pass to find_mapsXX.
11110 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
11112 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11114 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11115 strchr-sse2-no-bsf strrchr-sse2-no-bsf
11116 * sysdeps/x86_64/multiarch/strchr.S: Update.
11117 Check bit_slow_BSF bit.
11118 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11119 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
11120 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
11122 2011-09-05 Ulrich Drepper <drepper@gmail.com>
11125 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
11127 (tryshell): Define.
11128 (__spawni): Change last parameter to be flag. Test
11129 SPAWN_XFLAGS_USE_PATH flag to use path or not.
11130 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
11131 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
11132 * posix/spawni.c: Likewise.
11133 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
11134 * posix/spawnp.c: Likewise. Change normal version to use
11135 SPAWN_XFLAGS_USE_PATH.
11136 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
11137 SPAWN_XFLAGS_TRY_SHELL.
11140 * posix/glob.h: Remove gcc 1.x support.
11143 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
11145 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11147 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11148 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
11150 * sysdeps/i386/i686/multiarch/strchr.S: New file.
11151 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
11152 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
11153 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
11154 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
11155 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
11157 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11159 * sysdeps/x86_64/wcscmp.S: New file.
11161 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
11162 wcscmp-c wcscmp-sse2
11163 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
11164 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
11165 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
11166 * wcsmbs/wcscmp.c: Allow renaming.
11168 2011-09-05 David S. Miller <davem@davemloft.net>
11170 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
11171 stack slot, rather than the struct return pointer slot.
11172 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
11173 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
11174 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
11175 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
11177 2011-09-05 Ulrich Drepper <drepper@gmail.com>
11179 * po/ja.po: Update from translation team.
11182 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
11183 kernel in 64-bit binaries.
11185 2011-09-01 David S. Miller <davem@davemloft.net>
11187 * elf/elf.h (HWCAP_SPARC_*): Move to..
11188 * sysdeps/sparc/sysdep.h: this new file and add new values.
11189 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
11190 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
11191 _DL_HWCAP_COUNT to 24.
11192 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
11194 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
11195 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
11196 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
11197 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
11198 instead of magic constants.
11199 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11201 2011-08-31 David S. Miller <davem@davemloft.net>
11203 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
11204 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
11205 Reimplement to do errno handling inline.
11206 (SYSCALL_ERROR_HANDLER): New macro.
11207 (__SYSCALL_STRING): Do not do errno handling in asm.
11208 (__CLONE_SYSCALL_STRING): Delete.
11209 (__INTERNAL_SYSCALL_STRING): Delete.
11210 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
11211 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
11212 (PSEUDO): Reimplement to do errno handling inline.
11213 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
11214 (SYSCALL_ERROR_HANDLER): New macro.
11215 (__SYSCALL_STRING): Do not do errno handling in asm.
11216 (__CLONE_SYSCALL_STRING): Delete.
11217 (__INTERNAL_SYSCALL_STRING): Delete.
11218 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
11219 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
11221 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
11222 (inline_syscall*): Add 'err' argument.
11223 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
11224 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
11225 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
11226 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
11228 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
11229 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
11231 2011-08-30 Andreas Schwab <schwab@redhat.com>
11233 * elf/rtld.c (dl_main): Relocate objects in dependency order.
11235 2011-08-29 Jiri Olsa <jolsa@redhat.com>
11237 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
11240 2011-08-24 David S. Miller <davem@davemloft.net>
11242 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
11244 2011-08-24 Andreas Schwab <schwab@redhat.com>
11246 * elf/Makefile: Add rules to build and run unload8 test.
11247 * elf/unload8.c: New file.
11248 * elf/unload8mod1.c: New file.
11249 * elf/unload8mod1x.c: New file.
11250 * elf/unload8mod2.c: New file.
11251 * elf/unload8mod3.c: New file.
11253 * elf/dl-close.c (_dl_close_worker): Reset private search list if
11256 2011-08-23 David S. Miller <davem@davemloft.net>
11258 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
11259 subtract stack bias.
11260 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
11261 %sp not %fp in calculations.
11262 (_JMPBUF_UNWINDS_ADJ): Likewise.
11264 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
11265 (aio_suspend): Call it to force an exception region around the
11266 AIO_MISC_WAIT() invocation.
11268 2011-08-23 Andreas Schwab <schwab@redhat.com>
11270 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
11273 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
11275 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
11277 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
11278 and <dl-machine.h>.
11279 (Elf64_FuncDesc): Remove.
11281 2011-08-22 David S. Miller <davem@davemloft.net>
11283 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
11284 sigaltstack check, add missing cfi directives.
11285 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
11286 missing cfi directives, and sigaltstack handling.
11288 2011-08-16 Andreas Schwab <schwab@redhat.com>
11291 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
11292 object is seen twice.
11293 * elf/dl-fini.c (_dl_sort_fini): Likewise.
11295 * elf/Makefile (distribute): Add tst-initorder2.c.
11296 (tests): Add tst-initorder2.
11297 (modules-names): Add tst-initorder2a tst-initorder2b
11298 tst-initorder2c tst-initorder2d. Add rules to build them.
11299 ($(objpfx)tst-initorder2.out): New rule.
11300 * elf/tst-initorder2.c: New file.
11301 * elf/tst-initorder2.exp: New file.
11303 2011-08-22 Andreas Schwab <schwab@redhat.com>
11305 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
11307 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
11308 dependencies back to end of function.
11310 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
11311 $(elfobjdir)/ld.so.
11313 2011-08-21 Ulrich Drepper <drepper@gmail.com>
11315 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
11316 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
11317 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
11318 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
11319 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
11320 of __vdso_gettimeofday.
11321 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
11322 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
11324 (_libc_vdso_platform_setup): Remove initialization of
11325 __vdso_gettimeofday and __vdso_time.
11327 2011-08-20 Ulrich Drepper <drepper@gmail.com>
11329 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
11330 and fgetc_unlocked.
11331 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
11334 * elf/dl-open.c (add_to_global): Report additions to the global scope
11335 for LD_DEBUG=scopes.
11336 (dl_open_worker): Also print scope of newly loaded dependencies.
11337 (_dl_show_scope): Indicate if there is no scope.
11340 * stdio-common/Makefile (tests): Add bug24.
11341 * stdio-common/bug24.c: New file.
11343 2011-08-19 Andreas Jaeger <aj@suse.de>
11346 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
11347 non-existant file when using close-on-exec mode.
11349 2011-08-20 Ulrich Drepper <drepper@gmail.com>
11351 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
11352 the very first instruction.
11354 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
11355 the CFI state in the end.
11356 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
11357 inclusion of dl-trampoline.h.
11358 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
11360 2011-08-19 Andreas Schwab <schwab@redhat.com>
11362 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
11363 expectations for long double.
11365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
11366 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
11368 2011-08-14 David S. Miller <davem@davemloft.net>
11370 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
11371 artificual limit depends upon the system page size.
11373 2011-08-17 Ulrich Drepper <drepper@gmail.com>
11375 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
11376 * resolv/Makefile: Define CFLAGS-libresolv.
11378 2011-08-17 Andreas Schwab <schwab@redhat.com>
11380 * nss/makedb.c (compute_tables): Make variables used in nested
11383 2011-08-17 Ulrich Drepper <drepper@gmail.com>
11385 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
11386 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
11387 if buffer was too small.
11389 * elf/pldd.c (main): Attach to all threads in the process.
11390 Rewrite /proc handling to use *at functions.
11392 2011-08-16 Ulrich Drepper <drepper@gmail.com>
11394 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
11395 specifies first scope to show.
11396 (dl_open_worker): Update callers. Move printing scope of new
11397 object to before the relocation.
11398 * elf/rtld.c (dl_main): Update _dl_show_scope call.
11399 * sysdeps/generic/ldsodefs.h: Update declaration.
11401 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
11402 string for the scope number.
11404 2011-08-14 Ulrich Drepper <drepper@gmail.com>
11406 * nscd/servicescache.c (cache_addserv): Make sure written is always
11409 2011-08-14 Roland McGrath <roland@hack.frob.com>
11411 * sysdeps/i386/i486/bits/atomic.h
11412 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
11413 statement expression, so as to suppress "set but not used" warning.
11414 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
11416 * string/strncat.c (STRNCAT): Use prototype definition.
11418 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
11419 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
11421 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
11422 (localedef-modules): Add localedef.
11423 (locale-modules): Add locale.
11425 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
11426 * elf/rtld.c (dl_main): Invert order of assignment in last change,
11427 to avoid a warning.
11429 2011-08-14 David S. Miller <davem@davemloft.net>
11431 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
11432 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
11434 2011-08-13 Ulrich Drepper <drepper@gmail.com>
11436 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
11437 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
11438 * elf/rtld.c (dl_main): Set l_name of vDSO.
11439 Call _dl_show_scope when DL_DEBUG_SCOPES.
11440 (process_dl_debug): Recognize scopes flag and also set it for all.
11441 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
11442 Declare _dl_show_scope.
11444 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
11445 (do_dlopen): Pass caller_dlopen to dl_open.
11446 (__libc_dlopen_mode): Initialize caller_dlopen.
11448 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
11449 of libc. Make tolower call locale-independent. Optimize a bit by
11450 using isdigit instead of isalnum.
11451 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
11453 2011-08-12 Ulrich Drepper <drepper@gmail.com>
11455 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
11456 was a dependency or dynamically loaded.
11458 2011-08-11 Ulrich Drepper <drepper@gmail.com>
11460 * intl/l10nflist.c: Allow architecture-specific pop function.
11461 * sysdeps/x86_64/l10nflist.c: New file.
11463 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
11466 2011-08-10 Andreas Schwab <schwab@redhat.com>
11468 * include/dirent.h: Add libc_hidden_proto for scandirat and
11469 scandirat64. Don't declare __scandirat64.
11470 * dirent/scandirat.c: Add libc_hidden_def.
11471 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
11472 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
11474 2011-08-10 David S. Miller <davem@davemloft.net>
11476 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
11478 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11479 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11480 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11482 2011-08-09 Ulrich Drepper <drepper@gmail.com>
11484 * Versions.def [libc]: Add GLIBC_2.15.
11485 * dirent/Makefile (routines): Add scandirat and scandirat64.
11486 * dirent/Versions [libc]: Export scandirat and scandirat64 for
11488 * dirent/dirent.h: Declare scandirat and scandirat64.
11489 * dirent/scandirat.c: New file.
11490 * dirent/scandirat64.c: New file.
11491 * sysdeps/wordsize-64/scandirat.c: New file.
11492 * sysdeps/wordsize-64/scandirat64.c: New file.
11493 * dirent/opendir.c: Define opendirat.
11494 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
11496 * dirent/scandir64.c: Adjust for scandir.c change.
11497 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
11498 __scandirat64, and __scandir_cancel_handler.
11499 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
11500 additional parameter and use openat instead of open (outside of ld.so).
11501 Add new __opendir as wrapper around __opendirat.
11502 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
11503 here without requiring old scandirat implementation.
11505 2011-08-08 Ulrich Drepper <drepper@gmail.com>
11507 * dirent/scandir.c (cancel_handler): Renamed to
11508 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
11509 defined. Adjust users.
11510 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
11511 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
11513 2011-08-04 Ulrich Drepper <drepper@gmail.com>
11515 * string/test-string.h (IMPL): Use __STRING to expand name and then
11518 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
11521 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11523 * string/Makefile: Update.
11524 (strop-tests): Append strncat.
11525 * string/test-wcscmp.c: New file.
11526 New comprehensive test for wcscmp.
11527 * string/test-strcmp.c: Update.
11528 (WIDE): New define.
11530 2011-07-22 Andreas Schwab <schwab@redhat.com>
11532 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
11535 2011-07-26 Andreas Schwab <schwab@redhat.com>
11537 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
11538 encoding to ACE if AI_IDN.
11540 2011-08-01 Jakub Jelinek <jakub@redhat.com>
11542 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
11543 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
11545 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11547 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
11548 Fix overflow bug in strncat.
11549 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
11551 * string/test-strncat.c: Update.
11552 Add new tests for checking overflow bugs.
11554 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11556 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11557 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
11558 * sysdeps/i386/i686/multiarch/strcat.S: New file.
11559 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
11560 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
11561 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
11562 * sysdeps/i386/i686/multiarch/strncat.S: New file.
11563 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
11564 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
11566 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
11567 (USE_AS_STRCAT): Define.
11568 Add strcat and strncat support.
11569 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
11571 2011-07-25 Andreas Schwab <schwab@redhat.com>
11573 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
11574 __n bigger than INT_MAX+1.
11575 (__strncmp_g): Likewise.
11577 2011-07-23 Ulrich Drepper <drepper@gmail.com>
11579 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
11580 * libio/stido.h: Likewise.
11582 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
11584 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
11587 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
11588 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11589 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11590 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
11591 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11594 * scripts/test-installation.pl: Don't expect libnss_test1 to be
11597 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
11599 (_dl_x86_64_save_sse): Likewise.
11601 2011-07-22 Ulrich Drepper <drepper@gmail.com>
11603 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
11605 (_dl_x86_64_save_sse): Likewise.
11607 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
11609 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
11611 2011-07-21 Andreas Schwab <schwab@redhat.com>
11613 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
11615 (_dl_x86_64_save_sse): Use correct AVX check.
11617 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11619 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
11620 bug in strncpy/strncat.
11621 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
11623 2011-07-21 Ulrich Drepper <drepper@gmail.com>
11625 * string/tester.c (test_strcat): Add tests for different alignments
11626 of source and destination.
11627 (test_strncat): Likewise.
11629 2011-07-20 Ulrich Drepper <drepper@gmail.com>
11632 * posix/glob.c (glob): Check passed in values before using them in
11633 expressions to avoid some overflows.
11634 (glob_in_dir): Likewise.
11637 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
11638 check for AVX enablement so that we don't crash with old kernels and
11640 * elf/tst-audit4.c: Add same checks here.
11641 * elf/tst-audit6.c: Likewise.
11643 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
11645 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
11647 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
11649 2011-07-20 Ulrich Drepper <drepper@gmail.com>
11651 * po/cs.po: Update from translation team.
11652 * po/bg.po: Likewise.
11654 2011-07-12 Marek Polacek <mpolacek@redhat.com>
11656 * misc/sys/cdefs.h: Add support for const attribute.
11657 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
11658 to gnu_dev_{major,minor,makedev} functions.
11660 2011-07-20 Marek Polacek <mpolacek@redhat.com>
11662 * intl/dcigettext.c (get_output_charset): Add missing bracket.
11664 2011-07-20 Andreas Schwab <schwab@redhat.com>
11666 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
11669 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11671 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
11672 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
11673 register in order to avoid conflicts with the soft frame pointer
11674 being held in r11 when necessary.
11675 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
11676 (INTERNAL_VSYSCALL_NCS): Likewise.
11678 2011-07-14 Marek Polacek <mpolacek@redhat.com>
11680 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
11681 * elf/dl-fini.c (_dl_fini): Adjust caller.
11682 * elf/dl-close.c (_dl_close_worker): Likewise.
11683 * sysdeps/generic/ldsodefs.h: Adjust declaration.
11685 2011-07-15 Marek Polacek <mpolacek@redhat.com>
11687 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
11688 "aux_cache->nlibs < 0".
11690 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
11691 in the reload-count case.
11693 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11695 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11696 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
11697 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
11698 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
11699 * sysdeps/x86_64/multiarch/strcat.S: New file.
11700 * sysdeps/x86_64/multiarch/strncat.S: New file.
11701 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
11702 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
11703 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
11704 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
11705 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
11706 (USE_AS_STRCAT): Define.
11707 Add strcat and strncat support.
11708 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
11709 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11710 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
11711 * string/strncat.c: Update.
11712 (USE_AS_STRNCAT): Define.
11713 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11714 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
11716 * sysdeps/x86_64/multiarch/init-arch.h
11717 (bit_Prefer_PMINUB_for_stringop): New.
11718 (index_Prefer_PMINUB_for_stringop): Likewise.
11719 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
11720 bit_Prefer_PMINUB_for_stringop.
11722 2011-07-19 Ulrich Drepper <drepper@gmail.com>
11724 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
11726 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
11727 of casting of buffer.
11728 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
11729 buffer32 and buffer64.
11730 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
11731 writes instead of casting of buffer.
11732 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
11734 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
11737 2011-07-19 Andreas Schwab <schwab@redhat.com>
11739 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
11741 2011-07-19 Ulrich Drepper <drepper@gmail.com>
11743 * nscd/nscd.c (termination_handler): Don't do anything for a database
11744 if it has not yet been initialized.
11746 2011-07-18 Ulrich Drepper <drepper@gmail.com>
11748 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
11750 2011-07-15 Marek Polacek <mpolacek@redhat.com>
11752 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
11754 2011-07-18 Ulrich Drepper <drepper@gmail.com>
11756 * po/nl.po: Update from translation team.
11757 * po/sv.po: Likewise.
11759 2011-07-16 Roland McGrath <roland@hack.frob.com>
11761 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
11762 now disallowed by GCC.
11764 * configure.in (use-default-link): Default to yes if a test -shared
11765 link meets our qualifications.
11766 * configure: Regenerated.
11768 * config.make.in (output-format): New variable.
11769 * configure.in: Check for ld --print-output-format support.
11770 * configure: Regenerated.
11771 * Makerules ($(common-objpfx)format.lds)
11772 [$(output-format) != unknown]: Just use $(output-format),
11773 instead of the linker-script munging.
11775 2011-07-14 Roland McGrath <roland@hack.frob.com>
11777 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
11778 of $(common-objpfx)shlib.lds.
11779 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
11781 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
11782 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
11784 * configure.in (-z relro check): Adjust test code to add a large
11785 writable data section after it.
11786 * configure: Regenerated.
11788 2011-07-11 Roland McGrath <roland@hack.frob.com>
11790 * configure.in (-z relro check): Fix test code to make the variable
11792 * configure: Regenerated.
11794 2011-07-11 Ulrich Drepper <drepper@gmail.com>
11796 * nscd/nscd.h (struct traced_file): Define.
11797 (struct database_dyn): Remove inotify_descr, reset_res, and filename
11798 elements. Add traced_files.
11799 (inotify_fd): Declare.
11800 (register_traced_file): Declare.
11801 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
11802 (inotify_fd): Export.
11803 (resolv_conf_descr): Remove.
11804 (nscd_init): Move inotify descriptor creation to main.
11805 Don't register files for notification here.
11806 (register_traced_file): New function.
11807 (invalidate_cache): Don't use reset_res to determine whether to call
11808 res_init, go through the list of registered files.
11809 (main_loop_poll): The inotify descriptors are now stored in the
11810 structures for the traced files.
11811 (main_loop_epoll): Likewise
11812 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
11813 to __nss_disable_nscd.
11814 * nscd/cache.c (prune_cache): There is no single inotify descriptor
11815 for a database anymore. Check the records for all the registered
11817 * nss/Makefile (libnss_files-routines): Add files-init.
11818 (libnss_db-routines): Add db-init.
11819 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
11820 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
11821 * nss/nss_db/db-init.c: New file.
11822 * nss/nss_files/files-init.c: New file.
11823 * nss/nsswitch.c (nss_load_library): New function. Broken out of
11824 __nss_lookup_function.
11825 (__nss_lookup_function): Call nss_load_library.
11826 (nss_load_all_libraries): New function.
11827 (__nss_disable_nscd): Take parameter with callback function for files
11828 to register. Set is_nscd. Load all the DSOs for the NSS modules
11829 used for the cached services.
11830 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
11831 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
11832 options for features to all the files in nscd.
11834 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
11836 2011-07-10 Roland McGrath <roland@hack.frob.com>
11838 * csu/elf-init.c (__libc_csu_init): Comment typo.
11840 2011-07-09 Ulrich Drepper <drepper@gmail.com>
11842 * po/pl.po: Update from translation team.
11843 * po/ja.po: Likewise.
11844 * po/ru.po: Likewise.
11845 * po/ko.po: Likewise.
11846 * po/fr.po: Likewise.
11848 2011-07-09 Roland McGrath <roland@hack.frob.com>
11850 * configure.in (.ctors/.dtors header and trailer check):
11851 Use an empirical test on a built program.
11852 * configure: Regenerated.
11854 * configure.in (-z relro check): Use an empirical test on a built DSO.
11855 Detect, but do not require, on ia64.
11856 * configure: Regenerated.
11858 * configure.in (READELF): Find it with AC_CHECK_TOOL.
11859 Update tests that use readelf to use $READELF instead.
11860 * configure: Regenerated.
11862 2011-07-08 Ulrich Drepper <drepper@gmail.com>
11864 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
11865 if the result is not used.
11867 2011-07-05 Andreas Jaeger <aj@suse.de>
11870 * stdlib/tst-strtod.c: Add testcase.
11872 2011-07-07 Ulrich Drepper <drepper@gmail.com>
11874 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
11875 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
11876 The latter has a higher limit. Take additional parameter to pass to
11878 (__pathconf): Pass file to __statfs_link_max.
11879 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
11881 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
11885 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
11886 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11888 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
11889 (__statfs_filesize_max): Likewise.
11890 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
11892 2011-07-05 Andreas Jaeger <aj@suse.de>
11894 * resolv/res_comp.c (dn_skipname): Remove unused variable.
11896 2011-07-06 Marek Polacek <mpolacek@redhat.com>
11898 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
11900 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
11903 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
11905 * Makefile (strop-tests): Add strncat.
11906 * string/test-strncat.c: New file.
11908 2011-06-30 Marek Polacek <mpolacek@redhat.com>
11910 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
11912 2011-06-21 Andreas Jaeger <aj@suse.de>
11914 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
11915 Copy rule from iconvdata/Makefile.
11917 2011-07-06 Ulrich Drepper <drepper@gmail.com>
11920 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
11921 but no long options are defined, just return 'W'.
11923 2011-06-22 Marek Polacek <mpolacek@redhat.com>
11926 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
11928 2011-07-06 Ulrich Drepper <drepper@gmail.com>
11930 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
11932 (innetgr): Likewise.
11934 2011-07-05 Roland McGrath <roland@hack.frob.com>
11936 * config.make.in (install_root): Default to $(DESTDIR).
11938 2011-07-05 Ulrich Drepper <drepper@gmail.com>
11940 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
11942 2011-07-02 Roland McGrath <roland@hack.frob.com>
11944 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
11946 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
11947 containing directory rather than embedding absolute directory names.
11949 * scripts/check-local-headers.sh: Rewritten using awk.
11950 Match by word, not by line. Print error messages for matches.
11951 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
11953 * Makerules [shlib-lds-flags empty]:
11954 ($(common-objpfx)libc_pic.opts): New target.
11955 ($(common-objpfx)libc_pic.os.clean): New target.
11956 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
11958 * config.make.in (OBJCOPY): New variable.
11959 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
11960 * configure: Regenerated.
11962 * config.make.in (use-default-link): New variable.
11963 * configure.in (use_default_link): Grok --with-default-link to set it.
11964 * configure: Regenerated.
11965 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
11966 (shlib-lds, shlib-lds-flags): Define to empty.
11968 * Makerules (shlib-lds): New variable.
11969 (shlib-lds-flags): New variable.
11970 (build-shlib, build-moduile, build-module-asneeded): Use it.
11971 ($(common-objpfx)libc.so): Use $(shlib-lds).
11972 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
11973 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
11975 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
11976 DT_FLAGS/DT_FLAGS_1 with zero flags.
11978 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
11979 linker script munging.
11981 2011-07-02 Ulrich Drepper <drepper@gmail.com>
11983 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
11985 * crypt/sha512.c (sha512_process_block): Perform total addition using
11986 128-bit if possible.
11987 (__sha512_finish_ctx): Likewise.
11988 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
11990 * crypt/sha256.c (SWAP64): Define.
11991 (sha256_process_block): Perform total addition using 64-bit if
11993 (__sha256_finish_ctx): Likewise.
11995 2011-07-01 Ulrich Drepper <drepper@gmail.com>
11997 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
11998 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11999 * nscd/hstcache.c (cache_addhst): Likewise.
12000 * nscd/grpcache.c (cache_addgr): Likewise.
12001 * nscd/aicache.c (addhstaiX): Likewise
12002 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
12004 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
12006 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
12007 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12008 * nscd/hstcache.c (cache_addhst): Likewise.
12009 * nscd/grpcache.c (cache_addgr): Likewise.
12010 * nscd/aicache.c (addhstaiX): Likewise
12012 2011-07-01 Andreas Schwab <schwab@redhat.com>
12014 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
12015 domain only when needed.
12017 2011-06-30 Andreas Schwab <schwab@redhat.com>
12019 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
12020 is always restored.
12022 2011-06-29 Ulrich Drepper <drepper@gmail.com>
12024 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
12025 are re-adding the entry.
12026 * nscd/servicescache.c (cache_addserv): Likewise.
12028 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
12030 * sysdeps/generic/dl-irel.h: fix protection against multiple
12032 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
12034 2011-06-28 Ulrich Drepper <drepper@gmail.com>
12037 * malloc/memusage.sh: Fix quoting in message.
12038 * debug/xtrace.sh: Likewise.
12040 * configure.in: Remove support for --experimental-malloc option, make
12042 * config.make.in: Likewise.
12043 * malloc/Makefile: Likewise.
12045 2011-06-27 Andreas Schwab <schwab@redhat.com>
12047 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
12048 two-byte characters.
12050 2011-06-27 Roland McGrath <roland@hack.frob.com>
12052 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
12053 AC_CACHE_CHECK invocation.
12054 * configure: Regenerated.
12056 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
12058 2011-06-27 Ulrich Drepper <drepper@gmail.com>
12061 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
12062 bit from old_res_options.
12064 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
12066 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
12067 value type for setfct.
12069 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
12071 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
12072 __gettimeofday instead of gettimeofday.
12074 2011-06-26 Ulrich Drepper <drepper@gmail.com>
12076 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
12078 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
12080 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
12082 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
12085 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
12087 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12088 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
12089 strcpy-sse2-unaligned strncpy-sse2-unaligned
12090 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
12091 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
12092 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
12093 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
12094 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
12095 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
12096 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
12097 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
12098 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
12099 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
12100 (STRCPY): Support SSE2 and SSSE3 versions.
12102 2011-06-24 Ulrich Drepper <drepper@gmail.com>
12105 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
12106 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
12107 kernels which artificially limit size of requests.
12109 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
12111 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12112 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
12113 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
12114 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
12115 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
12116 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
12117 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
12118 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
12119 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
12120 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
12121 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
12122 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
12123 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
12124 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
12125 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
12126 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12127 Enable unaligned load optimization for Intel Core i3, i5 and i7
12129 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
12131 (index_Fast_Unaligned_Load): Define.
12132 (HAS_FAST_UNALIGNED_LOAD): Define.
12134 2011-06-23 Marek Polacek <mpolacek@redhat.com>
12136 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
12138 2011-06-22 Ulrich Drepper <drepper@gmail.com>
12141 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
12142 until it is clear that the information is realy needed.
12143 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
12145 2011-06-22 Andreas Schwab <schwab@redhat.com>
12147 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
12149 2011-06-22 Ulrich Drepper <drepper@gmail.com>
12151 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
12152 /sys/devices/system/cpu/online if it is usable.
12154 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
12155 reading the information from the /proc filesystem to once a second.
12157 2011-06-21 Andreas Jaeger <aj@suse.de>
12159 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
12160 NULL after inclusion of kernel headers.
12162 2011-06-21 Ulrich Drepper <drepper@gmail.com>
12164 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
12165 calls to internal_setent.
12168 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
12169 addresses using gethostbyname4_r ignore IPv4 addresses.
12171 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
12172 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
12174 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
12176 2011-06-20 David S. Miller <davem@davemloft.net>
12178 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
12180 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
12182 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
12183 (elf_irel): Use it.
12184 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
12185 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
12186 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
12187 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
12188 * sysdeps/x86_64/dl-irel.h: Likewise.
12190 * elf/dl-runtime.c: Use elf_ifunc_invoke.
12191 * elf/dl-sym.c: Likewise.
12193 2011-06-15 Ulrich Drepper <drepper@gmail.com>
12195 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
12196 need to dereference resplen2.
12198 2011-06-14 Andreas Schwab <schwab@redhat.com>
12200 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
12202 2011-06-15 Ulrich Drepper <drepper@gmail.com>
12204 * Makeconfig: Define vardbdir and inst_vardbdir.
12205 * nss/Makefile: Add rules to install db-Makefile.
12207 * nss/nss_db/db-XXX.c: Cleanup.
12209 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
12210 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
12212 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
12213 * nss/makedb.c: Implement -g option to specify that value strings
12214 are generated and should not be added to table iterated over for
12216 * nss/nss_db/db-initgroups.c: New file.
12218 * nss/getent.c: Add support for initgroups lookups through getgrouplist
12221 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
12222 (internal_getgrouplist): Adjust to name change.
12223 Update use_initgroups_entry if this is not the first call.
12224 * nss/databases.def: Add initgroups entry.
12226 * nss/makedb.c (compute_tables): Check result of multiple hash table
12227 sizes to minimize maximum chain length.
12229 2011-06-14 Ulrich Drepper <drepper@gmail.com>
12231 * Versions.def: Add entry for libnss_db.
12232 * shlib-versions: Likewise.
12233 * nss/Makefile: Add rules to build libnss_db.
12234 * nss/Versions: Add libnss_db information. Organize libnss_files
12236 * nss/db-Makefile: Add gshadow support. Change rules for the new
12237 makedb progra. Some minor improvements to generate smaller files.
12238 * nss/nss_db/nss_db.h: Move NSS database header data structures to
12240 * nss/makedb.c: ...here.
12241 Improve database format to be smaller and require less memory at
12243 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
12245 * nss/nss_db/db-netgrp.c: Likewise.
12246 * nss/nss_db/db-open.c: Likewise.
12247 * nss/nss_files/flies-XXX.x: Adjust comments.
12248 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
12249 * nss/nss_files/files-grp.c: Likewise.
12250 * nss/nss_files/files-hosts.c: Likewise.
12251 * nss/nss_files/files-network.c: Likewise.
12252 * nss/nss_files/files-proto.c: Likewise.
12253 * nss/nss_files/files-pwd.c: Likewise.
12254 * nss/nss_files/files-rpc.c: Likewise.
12255 * nss/nss_files/files-service.c: Likewise.
12256 * nss/nss_files/files-sgrp.c: Likewise.
12257 * nss/nss_files/files-spwd.c: Likewise.
12258 * nss/nss_db/db-alias.c: Removed.
12259 * nss/nss_db/dummy-db.h: Removed.
12261 2011-06-02 Ulrich Drepper <drepper@gmail.com>
12263 * nss/makedb.c: Rewritten to not use database library.
12264 * nss/Makefile: Update to build new makedb program.
12266 2011-06-14 Andreas Jaeger <aj@suse.de>
12268 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
12269 memset declaration.
12271 2011-06-10 Andreas Schwab <schwab@redhat.com>
12273 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
12276 2011-06-10 Roland McGrath <roland@hack.frob.com>
12278 * Makerules (shlib.lds): Fail if the linker script comes out empty.
12279 * elf/Makefile ($(objpfx)ld.so): Likewise.
12281 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
12282 Don't list ld.so twice in dependencies.
12284 * posix/bug-regex31.c: Include <stdlib.h>.
12286 * nscd/hstcache.c (cache_addhst): Remove unused variable.
12288 * nis/nss_compat/compat-spwd.c
12289 (getspent_next_nss_netgr): Remove unused variable.
12290 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
12292 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
12293 nonmembers" output to use the right array.
12295 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
12297 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
12299 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
12300 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
12301 * catgets/gencat.c (read_input_file): Likewise.
12302 * locale/programs/locarchive.c (enlarge_archive): Likewise.
12304 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
12305 variable definition inside #if's controlling its use.
12307 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
12309 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
12311 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
12313 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
12316 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
12318 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
12319 * configure: Regenerated.
12321 * Makerules: Revert last change.
12322 * elf/Makefile: Likewise.
12324 2011-06-09 Roland McGrath <roland@hack.frob.com>
12326 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
12327 * elf/Makefile ($(objpfx)librtld.os): Likewise.
12328 (reloc-link): Likewise.
12330 2011-06-09 Ulrich Drepper <drepper@gmail.com>
12332 * elf/Makefile: Add rules to build pldd.
12333 * elf/pldd.c: New file.
12334 * elf/pldd-xx.c: New file.
12336 2011-06-07 Ulrich Drepper <drepper@gmail.com>
12338 * version.h: Update for 2.15 development version.
12340 2011-06-07 David S. Miller <davem@davemloft.net>
12342 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
12344 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
12345 elf_machine_lazy_rel): Likewise.
12346 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
12347 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
12348 elf_machine_lazy_rel): Likewise.
12349 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
12350 dl_hwcap via passed in argument.
12351 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
12354 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12356 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
12358 2011-06-06 Roland McGrath <roland@hack.frob.com>
12361 * manual/fdl-1.1.texi: New file, verbatim from:
12362 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
12363 * manual/lgpl-2.1.texi: New file, verbatim from:
12364 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
12365 * manual/Makefile (licenses): New variable, list those new file names.
12367 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
12369 * manual/fdl.texi: File removed.
12370 * manual/lesser.texi: File removed.
12371 * manual/libc.texinfo (Copying, Documentation License):
12372 Use new @include file names, put @appendix directive before @include.
12374 2011-06-04 Jakub Jelinek <jakub@redhat.com>
12377 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
12378 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
12379 (mq_open): Add __NTH.
12381 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
12383 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12384 Assume Intel Core i3/i5/i7 processor if AVX is available.
12386 2011-05-31 Ulrich Drepper <drepper@gmail.com>
12388 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
12391 2011-05-31 Andreas Schwab <schwab@redhat.com>
12393 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
12394 memory. Use alloca_account. Fix memory leak when retrying.
12396 2011-05-31 Ulrich Drepper <drepper@gmail.com>
12398 * version.h (RELEASE): Bump for 2.14 release.
12399 * include/features.h (__GLIBC_MINOR__): Bump to 14.
12401 * config.make.in (RANLIB): Remove entry.
12403 2011-05-30 Ulrich Drepper <drepper@gmail.com>
12405 * po/Makefile (po-sed-cmd): Add ksh to extensions.
12406 (libc.pot): Work around missing support for .ksh extension in xgettext.
12409 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
12410 if both request failed.
12411 (send_dg): In case of server errors clear resplen or *resplen2.
12414 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
12415 when there are multiple maps.
12416 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
12417 (_dl_fini): Remove test here.
12419 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
12421 2011-05-29 Ulrich Drepper <drepper@gmail.com>
12424 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
12425 bit from old_res_options.
12426 (gaih_inet): Likewise.
12429 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
12432 * resolv/res_init.c (res_setoptions): Make the code more compact.
12435 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
12439 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
12441 * malloc/malloc.h: Mark malloc hook variables as deprecated.
12444 * malloc/malloc.h: Declare malloc hook variables as volatile.
12446 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
12450 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
12451 raise in the comment.
12452 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
12453 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12454 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
12456 2011-05-28 Ulrich Drepper <drepper@gmail.com>
12459 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
12460 grow the buffers more if it already has to be sufficient.
12461 (build_wcs_upper_buffer): Likewise.
12462 * posix/regexec.c (check_matching): Likewise.
12463 (clean_state_log_if_needed): Likewise.
12464 (extend_buffers): Don't enlarge buffers beyond size of the input
12466 Patches mostly by Emil Wojak <emil@wojak.eu>.
12467 * posix/bug-regex32.c: New file.
12468 * posix/Makefile (tests): Add bug-regex32.
12470 * locale/findlocale.c (_nl_find_locale): Return right away if
12471 _nl_explode_name failed.
12472 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
12474 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
12476 * debug/xtrace.sh: Unify messages.
12477 * malloc/memusage.sh: Likewise.
12480 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
12481 time symbol from vDSO. Substitute with vsyscall if not available.
12482 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
12485 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
12486 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
12487 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
12488 Add sendmmsg and internal_sendmmsg.
12489 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
12490 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
12491 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
12493 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
12494 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
12495 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
12497 2011-05-27 Ulrich Drepper <drepper@gmail.com>
12500 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
12501 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
12503 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
12507 * iconvdata/Makefile (tests): Add bug-iconv9.
12508 * iconvdata/bug-iconv9.c: New file.
12510 2011-05-27 Andreas Schwab <schwab@redhat.com>
12513 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
12515 2011-05-25 Jakub Jelinek <jakub@redhat.com>
12517 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
12518 (struct user_regs_struct): Change intcs field back to cs.
12520 2011-05-25 Ulrich Drepper <drepper@gmail.com>
12522 * po/ja.po: Update from translation team.
12524 2011-05-23 Ulrich Drepper <drepper@gmail.com>
12527 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
12528 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
12530 2011-05-20 Andreas Schwab <schwab@redhat.com>
12532 * stdlib/longlong.h: Update from GCC.
12534 2011-05-23 Andreas Schwab <schwab@redhat.com>
12536 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
12538 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
12539 Add parameter name.
12540 (__sysconf): Pass it down.
12542 2011-05-22 Ulrich Drepper <drepper@gmail.com>
12545 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
12547 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
12548 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
12549 add in in __libc_use_alloca calls. Adjust callers.
12550 (glob): Use malloc in some situations.
12552 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
12553 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
12556 2011-05-21 Ulrich Drepper <drepper@gmail.com>
12558 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
12559 and CLOCK_BOOTTIME_ALARM.
12562 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
12565 * string/_strerror.c (__strerror_r): Print negative errors as signed
12569 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
12570 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
12571 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
12573 * configure.in: Fix typo in redirection and correct removal of test
12574 files in two cases.
12577 * locale/setlocale.c (new_composite_name): Fix test to check for
12578 identical name of all categories.
12581 * libio/filedoalloc.c (local_isatty): New function.
12582 (_IO_file_doallocate): Use local_isatty.
12583 * stdio-common/perror.c (perror): In case a new stream is used
12584 forward the stream error.
12585 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
12588 2011-05-20 Ulrich Drepper <drepper@gmail.com>
12591 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
12593 * include/alloca.h (extend_alloca_account): Define.
12596 * posix/regex.h: Fix comments with documentation of user-accessible
12597 fields after compilation and describe correct free'ing of pattern
12598 after re_compile_pattern.
12599 Patch by Reuben Thomas <rrt@sc3d.org>.
12601 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
12603 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
12604 and -mno-altivec to prevent the compiler from using Altivec and/or
12605 VSX instructions when the corresponding registers are not available.
12607 2011-05-19 Andreas Schwab <schwab@redhat.com>
12609 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
12611 2011-05-19 Ulrich Drepper <drepper@gmail.com>
12613 * libio/freopen.c (freopen): Use __dup2, not dup2.
12614 * libio/freopen64.c (freopen64): Likewise.
12616 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
12619 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
12620 * math/Makefile (tests): Add test-powl.
12621 (CFLAGS-test-powl.c): Define.
12622 * math/test-powl.c: New file.
12624 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
12626 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
12628 2011-05-17 Ulrich Drepper <drepper@gmail.com>
12631 * iconvdata/gb18030.c: Update to GB18020-2005.
12633 2011-05-16 Ulrich Drepper <drepper@gmail.com>
12635 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
12636 RE_SYNTAX_POSIX_AWK): Update to match recent development.
12637 Patch by Aharon Robbins <arnold@skeeve.com>.
12640 * stdlib/putenv.c (putenv): Don't always create copy of the variable
12644 * misc/pselect.c (__pselect): Handle timeout value errors hidden
12645 through underflows.
12648 * misc/error.c (error_at_line): Ensure file_name and old_file_name
12649 point to strings before performing equality test for error_one_per_line
12653 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
12656 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
12657 (struct user_fpregs_struct): Avoid __uint*_t types.
12660 * malloc/mtrace.c (tr_where): Add additional parameter to point to
12661 symbol info. Use it instead of calling _dl_addr locally.
12662 (lock_and_info): New function.
12663 (tr_freehook): Call lock_and_info and pass symbol info as additional
12664 parameter to tr_where.
12665 (tr_mallochook): Likewise.
12666 (tr_reallochook): Likewise.
12667 (tr_memalignhook): Likewise.
12669 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
12670 used and couldn't be at all thread-safe.
12672 2011-05-15 Ulrich Drepper <drepper@gmail.com>
12674 * libio/freopen.c (freopen): Don't close old file descriptor
12675 before the new one is opened. Instead dup the new file descriptor
12676 to the old one after the new stream is created.
12677 * libio/freopen64.c (freopen64): Likewise.
12678 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
12679 * libio/fileops.c (_IO_new_file_close_it): Handle new
12680 _IO_FLAGS2_NOCLOSE flag.
12681 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
12682 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
12683 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
12684 _IO_FLAGS2_NOCLOSE flag.
12685 * include/unistd.h: Add hidden_proto for dup3.
12686 Define __have_dup3.
12687 * io/dup3.c: Define hidden symbol.
12688 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
12691 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
12692 when an incomplete long option is used.
12693 * posix/tst-getopt_long1.c: New file.
12694 * posix/Makefile (tests): Add tst-getopt_long1.
12697 * scripts/config.guess: Update from autoconf-2.68.
12698 * scripts/config.sub: Likewise.
12701 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
12703 (has_cpuclock): ...this. New function.
12704 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
12705 macro here based on has_cpuclock code.
12708 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12709 First byte (not low byte) is now always NUL.
12710 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
12712 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12713 Use non-cancelable interfaces.
12716 * locale/iso-639.def: Add entry for Sorani.
12719 * include/stdlib.h: Move include protection to the right place.
12720 Define abort_msg_s. Declare __abort_msg with it.
12721 * stdlib/abort.c (__abort_msg): Adjust type.
12722 * assert/assert.c (__assert_fail_base): New function. Majority
12723 of code from __assert_fail. Allocate memory for __abort_msg with
12725 (__assert_fail): Now call __assert_fail_base.
12726 * assert/assert-perr.c: Remove bulk of implementation. Use
12727 __assert_fail_base.
12728 * include/assert.hL Declare __assert_fail_base.
12729 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
12731 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
12733 2011-05-14 Ulrich Drepper <drepper@gmail.com>
12737 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
12738 until all modules are registered in the DTV.
12739 * elf/Makefile: Add rules to build and run tst-tls19.
12740 * elf/tst-tls19.c: New file.
12741 * elf/tst-tls19mod1.c: New file.
12742 * elf/tst-tls19mod2.c: New file.
12743 * elf/tst-tls19mod3.c: New file.
12744 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
12747 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
12751 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
12752 two-byte sequence errors.
12753 * iconvdata/Makefile (tests): Add bug-iconv8.
12754 * iconvdata/bug-iconv8.c: New file.
12757 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
12760 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
12763 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
12764 (dummy_getcfa): New function.
12765 (init): Get _Unwind_GetCFA address, use dummy if not found.
12766 (backtrace_helper): In recursion check, also check whether CFA changes.
12767 (__backtrace): Completely initialize arg.
12769 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
12770 storing incomplete byte sequence in state object. Avoid testing for
12771 guaranteed too small input if we know there is enough data available.
12773 2011-05-11 Andreas Schwab <schwab@redhat.com>
12775 * Makeconfig (+link-pie): Indent.
12776 * Rules (binaries-pie): Define if $(have-fpie) and
12778 (binaries-shared): Also filter out $(binaries-pie).
12779 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
12780 * nscd/Makefile (others-pie): Add nscd.
12781 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
12782 ($(objpfx)nscd): Remove command override.
12783 * login/Makefile (others-pie): Add pt_chown.
12784 ($(objpfx)pt_chown): Remove command override.
12785 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
12786 remove command overrides.
12788 2011-05-13 Ulrich Drepper <drepper@gmail.com>
12790 * libio/tst_putwc.c: Fix error messages.
12793 * libio/fileops.c (_IO_new_file_close_it): Always flush when
12794 currently writing and seek to current position when not.
12795 * libio/Makefile (tests): Add bug-fclose1.
12796 * libio/bug-fclose1.c: New file.
12798 2011-05-12 Ulrich Drepper <drepper@gmail.com>
12801 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
12802 don't set DF_1_NODELETE here.
12803 (do_lookup_x): When entering new entry test for copy relocation
12804 and if necessary set DF_1_NODELETE flag.
12805 * elf/tst-unique4.cc: New file.
12806 * elf/tst-unique4.h: New file.
12807 * elf/tst-unique4lib.cc: New file.
12808 * elf/Makefile: Add rules to build and run tst-unique4.
12809 Patch by Piotr Bury <pbury@goahead.com>.
12811 2011-05-11 Ulrich Drepper <drepper@gmail.com>
12814 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
12817 * misc/mntent_r.c (addmntent): Flush the stream after the output
12820 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
12821 (is_trusted_path_normalize): Skip initial colon. Append slash
12822 to empty buffer. Duplicate is_trusted_path code but allow
12823 constructed patch to be prefix.
12824 (is_dst): Allow $ORIGIN followed by /.
12825 (_dl_dst_substitute): Correct clearing of check_for_trusted.
12826 Correct testing of result of is_trusted_path_normalize
12827 (decompose_rpath): Fix warning.
12829 2011-05-10 Ulrich Drepper <drepper@gmail.com>
12832 * grp/initgroups.c (internal_getgrouplist): When we found the service
12833 list through the initgroups entry in nsswitch.conf do not always
12834 continue on a successful lookup. Don't always use the
12835 __nss_group_database value if it is set.
12836 * nss/nsswitch.conf (initgroups): Change action for successful db
12837 lookup to continue for compatibility.
12839 2011-05-09 Ulrich Drepper <drepper@gmail.com>
12842 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
12844 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
12846 * iconvdata/tst-tables.sh: Likewise.
12847 * iconvdata/cp770.c: New file.
12848 * iconvdata/cp771.c: New file.
12849 * iconvdata/cp772.c: New file.
12850 * iconvdata/cp773.c: New file.
12851 * iconvdata/cp774.c: New file.
12852 * iconvdata/testdata/CP770: New file.
12853 * iconvdata/testdata/CP770..UTF8: New file.
12854 * iconvdata/testdata/CP771: New file.
12855 * iconvdata/testdata/CP771..UTF8: New file.
12856 * iconvdata/testdata/CP772: New file.
12857 * iconvdata/testdata/CP772..UTF8: New file.
12858 * iconvdata/testdata/CP773: New file.
12859 * iconvdata/testdata/CP773..UTF8: New file.
12860 * iconvdata/testdata/CP774: New file.
12861 * iconvdata/testdata/CP774..UTF8: New file.
12863 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
12865 * iconvdata/gen-8bit-gap.sh: Likewise.
12866 * iconvdata/gen-8bit.sh: Likewise.
12868 * locale/iso-639.def: Add ary entry.
12871 * locale/C-translit.h.in: Add U20A1 transliteration.
12874 * locale/iso-639.def: Add wae entry.
12875 Patch by Kevin Bortis <bortis@translate-wae.ch>.
12878 * locale/programs/localedef.c (construct_output_path): Use ssize_t
12882 * locale/C-translit.h.in: Add entry for U20B9.
12883 Patch by pravin.d.s@gmail.com.
12885 2011-05-08 Ulrich Drepper <drepper@gmail.com>
12888 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
12889 ENAMETOOLONG use generic getcwd.
12890 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
12891 in rtld. Use *stat64.
12892 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
12893 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
12894 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
12895 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
12896 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
12897 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
12898 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
12899 __fstatat64 macros.
12900 * include/dirent.h: Add libc_hidden_proto for rewinddir.
12901 * dirent/rewinddir.c: Add libc_hidden_def.
12902 * sysdeps/mach/hurd/rewinddir.c: Likewise.
12903 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
12905 * include/dirent.h (__alloc_dir): Add flags parameter.
12906 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
12907 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
12909 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
12910 from fdopendir if O_CLOEXEC is already set.
12912 2011-03-15 Alan Modra <amodra@gmail.com>
12914 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
12915 l_tls_firstbyte_offset non-zero. Save padding offset in
12916 l_tls_firstbyte_offset for later use.
12917 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
12918 freeing static tls block.
12920 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
12922 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
12923 where #ifdef was intended. The intent is to prevent ARG_MAX from
12924 being defined by the kernel headers.
12926 2011-05-07 Ulrich Drepper <drepper@gmail.com>
12929 * resolv/resolv.h: Define RES_NOTLDQUERY.
12930 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
12931 no-tld-query and set RES_NOTLDQUERY.
12932 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
12933 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
12934 modern BIND to search name as TLD unless forbidden.
12936 2011-05-07 Petr Baudis <pasky@suse.cz>
12937 Ulrich Drepper <drepper@gmail.com>
12940 * elf/dl-load.c (fillin_rpath): Move trusted path check...
12941 (is_trusted_path): ...to here.
12942 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
12943 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
12944 using is_trusted_path_normalize() in setuid scripts.
12946 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12948 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
12949 __BEGIN/__END_DECLS.
12951 2011-05-06 Ulrich Drepper <drepper@gmail.com>
12953 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
12954 NSS_STATUS_NOTFOUND if no record was found.
12956 2011-05-05 Andreas Schwab <schwab@redhat.com>
12958 * sunrpc/Makefile (headers): Add rpc/netdb.h.
12959 (headers-not-in-tirpc): Remove rpc/netdb.h
12960 * resolv/netdb.h: Revert last change.
12962 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12964 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
12965 circular dependency between libgcc.a and libc.a.
12967 2011-05-05 Andreas Schwab <schwab@redhat.com>
12969 * resolv/netdb.h: Don't include <rpc/netdb.h>.
12970 * nis/Makefile: Don't install rpcsvc/*.
12971 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
12972 instead of <rpc/types.h>.
12973 (MAXHOSTNAMELEN): Define.
12975 2011-05-03 Andreas Schwab <schwab@redhat.com>
12977 * elf/ldconfig.c (add_dir): Don't crash on empty path.
12979 2011-04-28 Maciej Babinski <mbabinski@google.com>
12982 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
12983 gethostbyname4_r when IPv6 results are possible.
12985 2011-05-02 Ulrich Drepper <drepper@gmail.com>
12988 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
12989 _PC_PIPE_BUF handling.
12991 2011-04-30 Bruno Haible <bruno@clisp.org>
12994 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
12995 * resolv/netdb.h (getnameinfo): Change type of flags parameter
12997 * inet/getnameinfo.c (getnameinfo): Likewise.
12999 2011-04-29 Ulrich Drepper <drepper@gmail.com>
13001 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
13002 to groups setting in database lookup.
13003 * nss/nsswitch.conf: Add initgroups entry.
13005 2011-04-22 Ulrich Drepper <drepper@gmail.com>
13008 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
13010 Patch by Eric Blake <eblake@redhat.com>.
13012 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
13014 * sunrpc/Makefile (need-export-routines): Add svc_run.
13015 (routines): Remove svc_run.
13016 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
13017 * sunrpc/clnt_perr.c (clnt_perrno): Export.
13018 * sunrpc/svc_run.c (svc_run): Likewise.
13019 * sunrpc/svc_udp.c (svcudp_create): Likewise.
13021 2011-04-21 Ulrich Drepper <drepper@gmail.com>
13023 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
13024 problem in reallocation in last patch.
13026 2011-04-20 Ulrich Drepper <drepper@gmail.com>
13028 * sunrpc/Makefile: Move inclusion of Rules.
13030 2011-04-19 Ulrich Drepper <drepper@gmail.com>
13032 * nss/nss_files/files-initgroups.c: New file.
13033 * nss/Makefile (libnss_files-routines): Add files-initgroups.
13034 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
13035 _nss_files_initgroups_dyn.
13037 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
13039 * elf/elf.h (R_ARM_IRELATIVE): Define.
13041 2011-04-19 Ulrich Drepper <drepper@gmail.com>
13043 * po/ru.po: Update from translation team.
13045 2011-04-17 Ulrich Drepper <drepper@gmail.com>
13047 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
13050 2011-02-06 Mike Frysinger <vapier@gentoo.org>
13053 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
13054 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
13055 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
13056 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13057 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13059 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
13061 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
13063 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13064 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13065 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13067 2011-04-17 Ulrich Drepper <drepper@gmail.com>
13070 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
13072 * stdlib/bug-getcontext.c: New file.
13073 * stdlib/Makefile: Add rules to build and run bug-getcontext.
13075 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13077 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
13078 instructions into .machine "z9-109".
13079 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
13080 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
13082 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13084 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
13085 between environment variables and auxiliary vector.
13087 2011-04-16 Ulrich Drepper <drepper@gmail.com>
13089 * Makefile: Add rules to build linkobj/libc.so.
13090 * include/libc-symbols.h: Define libc_hidden_nolink.
13091 * include/rpc/auth.h: Mark functions which are to be hidden.
13092 * include/rpc/auth_des.h: Likewise.
13093 * include/rpc/auth_unix.h: Likewise.
13094 * include/rpc/clnt.h: Likewise.
13095 * include/rpc/des_crypt.h: Likewise.
13096 * include/rpc/key_prot.h: Likewise.
13097 * include/rpc/pmap_clnt.h: Likewise.
13098 * include/rpc/pmap_prot.h: Likewise.
13099 * include/rpc/pmap_rmt.h: Likewise.
13100 * include/rpc/rpc_msg.h: Likewise.
13101 * include/rpc/svc.h: Likewise.
13102 * include/rpc/svc_auth.h: Likewise.
13103 * include/rpc/xdr.h: Likewise.
13104 * nis/Makefile: Link all DSOs against linkobj/libc.so.
13105 * nss/Makefile: Likewise.
13106 * sunrpc/Makefile: Don't install headers. Build library with normal
13107 entry points. Don't build rpcinfo. Link RPC tests appropriately.
13108 * sunrpc/auth_des.c: Hide exported symbols by default, export some
13109 for the compat linking library. Remove use of INTDEF/INTUSE.
13110 * sunrpc/auth_none.c: Likewise.
13111 * sunrpc/auth_unix.c: Likewise.
13112 * sunrpc/authdes_prot.c: Likewise.
13113 * sunrpc/authuxprot.c: Likewise.
13114 * sunrpc/clnt_gen.c: Likewise.
13115 * sunrpc/clnt_perr.c: Likewise.
13116 * sunrpc/clnt_raw.c: Likewise.
13117 * sunrpc/clnt_simp.c: Likewise.
13118 * sunrpc/clnt_tcp.c: Likewise.
13119 * sunrpc/clnt_udp.c: Likewise.
13120 * sunrpc/clnt_unix.c: Likewise.
13121 * sunrpc/des_crypt.c: Likewise.
13122 * sunrpc/des_soft.c: Likewise.
13123 * sunrpc/get_myaddr.c: Likewise.
13124 * sunrpc/key_call.c: Likewise.
13125 * sunrpc/key_prot.c: Likewise.
13126 * sunrpc/netname.c: Likewise.
13127 * sunrpc/pm_getmaps.c: Likewise.
13128 * sunrpc/pm_getport.c: Likewise.
13129 * sunrpc/pmap_clnt.c: Likewise.
13130 * sunrpc/pmap_prot.c: Likewise.
13131 * sunrpc/pmap_prot2.c: Likewise.
13132 * sunrpc/pmap_rmt.c: Likewise.
13133 * sunrpc/publickey.c: Likewise.
13134 * sunrpc/rpc_cmsg.c: Likewise.
13135 * sunrpc/rpc_common.c: Likewise.
13136 * sunrpc/rpc_dtable.c: Likewise.
13137 * sunrpc/rpc_prot.c: Likewise.
13138 * sunrpc/rpc_thread.c: Likewise.
13139 * sunrpc/rtime.c: Likewise.
13140 * sunrpc/svc.c: Likewise.
13141 * sunrpc/svc_auth.c: Likewise.
13142 * sunrpc/svc_authux.c: Likewise.
13143 * sunrpc/svc_raw.c: Likewise.
13144 * sunrpc/svc_run.c: Likewise.
13145 * sunrpc/svc_simple.c: Likewise.
13146 * sunrpc/svc_tcp.c: Likewise.
13147 * sunrpc/svc_udp.c: Likewise.
13148 * sunrpc/svc_unix.c: Likewise.
13149 * sunrpc/svcauth_des.c: Likewise.
13150 * sunrpc/xcrypt.c: Likewise.
13151 * sunrpc/xdr.c: Likewise.
13152 * sunrpc/xdr_array.c: Likewise.
13153 * sunrpc/xdr_float.c: Likewise.
13154 * sunrpc/xdr_intXX_t.c: Likewise.
13155 * sunrpc/xdr_mem.c: Likewise.
13156 * sunrpc/xdr_rec.c: Likewise.
13157 * sunrpc/xdr_ref.c: Likewise.
13158 * sunrpc/xdr_sizeof.c: Likewise.
13159 * sunrpc/xdr_stdio.c: Likewise.
13161 2011-04-10 Ulrich Drepper <drepper@gmail.com>
13164 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
13165 * sysdeps/ia64/dl-tls.h: Likewise.
13166 * sysdeps/powerpc/dl-tls.h: Likewise.
13167 * sysdeps/s390/dl-tls.h: Likewise.
13168 * sysdeps/sh/dl-tls.h: Likewise.
13169 * sysdeps/sparc/dl-tls.h: Likewise.
13170 * sysdeps/x86_64/dl-tls.h: Likewise.
13171 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
13173 2011-03-14 Andreas Schwab <schwab@redhat.com>
13175 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
13176 rpath element also skip the following colon.
13177 (expand_dynamic_string_token): Add is_path parameter and pass
13178 down to DL_DST_REQUIRED and _dl_dst_substitute.
13179 (decompose_rpath): Call expand_dynamic_string_token with
13180 non-zero is_path. Ignore empty rpaths.
13181 (_dl_map_object_from_fd): Call expand_dynamic_string_token
13184 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
13186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
13189 2011-04-09 Ulrich Drepper <drepper@gmail.com>
13192 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
13193 Patch by Filipe David Manana <fdmanana@apache.org>.
13195 2011-04-07 Andreas Schwab <schwab@redhat.com>
13197 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
13198 Maintain aligned stack.
13199 (CHECK_RSP): Remove unused macro.
13201 2011-04-03 Ulrich Drepper <drepper@gmail.com>
13203 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
13204 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
13206 2011-04-02 Ulrich Drepper <drepper@gmail.com>
13208 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
13210 * include/features.h: Mention __USE_XOPEN2K8 in comment.
13212 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
13215 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
13216 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
13217 * sysdeps/x86_64/memmove.c: New file.
13218 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
13219 (memcpy): Renamed to ...
13220 (__new_memcpy): This.
13221 (memcpy): Provide GLIBC_2_14 memcpy.
13222 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
13223 (memcpy): Provide GLIBC_2_2_5 memcpy.
13225 2011-04-01 Ulrich Drepper <drepper@gmail.com>
13228 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
13230 2011-03-30 Andreas Schwab <schwab@redhat.com>
13232 * misc/syncfs.c: New file.
13233 * misc/Makefile (routines): Add syncfs.
13234 * posix/unistd.h: Declare syncfs.
13235 * sysdeps/unix/syscalls.list: Add syncfs.
13237 2011-04-01 Andreas Schwab <schwab@redhat.com>
13239 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
13241 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
13242 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
13243 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13244 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13245 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13246 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
13247 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13249 2011-04-01 Ulrich Drepper <drepper@gmail.com>
13251 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
13252 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
13253 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
13254 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13255 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13256 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13257 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13259 * io/Makefile: Compile fallocate.c, fallocate64.c, and
13260 sync_file_range.c with -fexceptions.
13261 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
13262 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
13263 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
13264 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
13265 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
13266 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
13267 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
13268 sync_file_range as cancellation point
13269 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
13270 now a wrapper around __call_sync_file_range with cancellation handling.
13271 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
13272 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
13273 function name to __call_sync_file_range.
13274 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
13275 Add call_sync_file_range.
13277 2011-04-01 Andreas Schwab <schwab@redhat.com>
13279 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13282 2011-04-01 Ulrich Drepper <drepper@gmail.com>
13284 * iconv/iconv.h: Fix typo in comment.
13285 * io/fcntl.h: Likewise.
13286 * libio/stdio.h: Likewise.
13287 * posix/spawn.h: Likewise.
13288 * posix/unistd.h: Likewise.
13289 * stdlib/stdlib.h: Likewise.
13290 * time/time.h: Likewise.
13291 * wcsmbs/wchar.h: Likewise.
13293 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
13294 open_by_handle): Add.
13295 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
13296 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
13297 Augment a few comments.
13298 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
13299 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13300 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13301 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13302 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13303 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
13306 * io/fcntl.h (AT_EMPTY_PATH): Define.
13308 2011-03-30 Ulrich Drepper <drepper@gmail.com>
13310 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
13311 * sysdeps/unix/sysv/linux/bits/time.h: New file.
13312 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
13314 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
13315 * Versions.def: Add GLIBC_2.14.
13316 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
13319 2011-03-22 Ulrich Drepper <drepper@gmail.com>
13321 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
13323 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
13325 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
13328 * string/test-strncmp.c (do_page_test): New function.
13329 (check2): Likewise.
13330 (test_main): Call check2.
13331 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
13333 2011-03-20 Ulrich Drepper <drepper@gmail.com>
13336 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
13337 Handle cache information in CPU leaf 4.
13338 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
13340 2011-03-18 Ulrich Drepper <drepper@gmail.com>
13343 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
13344 character representation.
13345 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
13347 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
13349 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
13350 END(__isnan) to END(__isnanf) to match function entry point/label
13351 EALIGN(__isnanf,...).
13353 2011-03-10 Jakub Jelinek <jakub@redhat.com>
13355 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
13357 2011-03-10 Ulrich Drepper <drepper@gmail.com>
13360 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
13361 copy from the symbol referenced in the relocation to initialize the
13363 Patch by Piotr Bury <pbury@goahead.com>.
13364 * elf/Makefile: Add rules to build and tst-unique3.
13365 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
13366 * elf/tst-unique3.cc: New file.
13367 * elf/tst-unique3.h: New file.
13368 * elf/tst-unique3lib.cc: New file.
13369 * elf/tst-unique3lib2.cc: New file.
13371 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
13373 2011-03-10 Mike Frysinger <vapier@gentoo.org>
13375 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
13376 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
13379 2011-03-06 Ulrich Drepper <drepper@gmail.com>
13381 * elf/dl-load.c (_dl_map_object): If we are looking for the first
13382 to-be-loaded object along a path to loader is ld.so.
13384 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
13385 Ulrich Drepper <drepper@gmail.com>
13387 * sysdeps/x86_64/memset.S: After aligning destination, code
13388 branches to different locations depending on the value of
13389 misalignment, when multiarch is enabled. Fix this.
13391 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
13393 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
13394 Set _x86_64_preferred_memory_instruction for AMD processsors.
13395 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13396 Set bit_Prefer_SSE_for_memop for AMD processors.
13398 2011-03-04 Ulrich Drepper <drepper@gmail.com>
13400 * libio/fmemopen.c (fmemopen): Optimize a bit.
13402 2011-03-03 Andreas Schwab <schwab@redhat.com>
13404 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
13406 2011-03-03 Roland McGrath <roland@redhat.com>
13408 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
13410 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
13412 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
13413 __bzero_ultra1 instead of __memset_ultra1.
13415 2011-02-23 Andreas Schwab <schwab@redhat.com>
13416 Ulrich Drepper <drepper@gmail.com>
13419 * include/link.h (struct link_map): Add l_orig_initfini.
13420 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
13421 returning unsuccessfully.
13422 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
13423 close of a file loaded at startup, restore the original l_initfini
13425 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
13426 list, store the pointer.
13427 * elf/Makefile ($(objpfx)noload-mem): New rule.
13428 (noload-ENV): Define.
13429 (tests): Add $(objpfx)noload-mem.
13430 * elf/noload.c: Include <memcheck.h>.
13431 (main): Call mtrace. Close all opened handles.
13433 2011-02-17 Andreas Schwab <schwab@redhat.com>
13436 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
13437 dependencies are missing.
13439 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
13441 Fix __if_freereq crash: Unlike the generic version which uses free,
13443 * sysdeps/mach/hurd/ifreq.h: New file.
13445 2011-01-27 Petr Baudis <pasky@suse.cz>
13446 Ulrich Drepper <drepper@gmail.com>
13449 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
13450 to extend_alloca().
13451 * stdio-common/bug23.c: New file.
13452 * stdio-common/Makefile (tests): Add bug23.
13454 2010-09-28 Andreas Schwab <schwab@redhat.com>
13455 Ulrich Drepper <drepper@gmail.com>
13458 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
13459 before performing relro protection. At old place add assertion
13460 to make sure nothing changed.
13462 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
13463 Glauber de Oliveira Costa <glommer@gmail.com>
13465 * elf/elf.h: Add new ARM TLS relocs.
13467 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
13469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
13470 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
13472 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
13474 * sysdeps/wordsize-64/tst-writev.c: New file.
13476 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
13478 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
13479 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
13480 insns in _dl_start to prevent a TOC reference before relocs are
13483 2011-02-15 Ulrich Drepper <drepper@gmail.com>
13486 * Makeconfig: Remove RANLIB definition.
13487 * Makerules: Don't use RANLIB.
13488 * aclocal.m4: Remove ranlib test.
13489 * configure.in: No need to check for ranlib.
13490 * elf/rtld-Rules: Don't use RANLIB.
13492 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13494 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
13496 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
13497 inclusion protection macro.
13499 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
13500 SIGRTMIN and SIGRTMAX and print information in that case only when
13501 SIGRTMIN is defined.
13503 2011-02-11 Jakub Jelinek <jakub@redhat.com>
13505 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
13506 arginfo fn returning -1.
13508 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
13509 and thousands string is zero terminated.
13511 2011-02-03 Andreas Schwab <schwab@redhat.com>
13513 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
13514 sysdeps/unix/sysv/linux/bits/socket.h.
13516 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
13518 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
13519 (__CPU_COUNT): Remove old macros.
13520 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
13521 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
13522 (__CPU_ALLOC, __CPU_FREE): Add macros.
13523 (__sched_cpualloc, __sched_cpufree): Add declarations.
13525 2011-02-05 Ulrich Drepper <drepper@gmail.com>
13527 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
13528 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
13529 * nscd/aicache.c (addhstaiX): Return timeout of added value.
13530 (readdhstai): Return value of addhstaiX call.
13531 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
13532 (addgrbyX): Return value returned by cache_addgr.
13533 (readdgrbyname): Return value returned by addgrbyX.
13534 (readdgrbygid): Likewise.
13535 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
13536 (addpwbyX): Return value returned by cache_addpw.
13537 (readdpwbyname): Return value returned by addhstbyX.
13538 (readdpwbyuid): Likewise.
13539 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
13540 (addservbyX): Return value returned by cache_addserv.
13541 (readdservbyname): Return value returned by addservbyX:
13542 (readdservbyport): Likewise.
13543 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
13544 (addhstbyX): Return value returned by cache_addhst.
13545 (readdhstbyname): Return value returned by addhstbyX.
13546 (readdhstbyaddr): Likewise.
13547 (readdhstbynamev6): Likewise.
13548 (readdhstbyaddrv6): Likewise.
13549 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
13550 (readdinitgroups): Return value returned by addinitgroupsX.
13551 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
13552 (prune_cache): Keep track of timeout value of re-added entries.
13553 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
13554 * nscd/nscd.h: Adjust prototypes of readd* functions.
13556 2011-02-04 Roland McGrath <roland@redhat.com>
13558 * nis/nis_server.c (nis_servstate): Use the right name for 0.
13559 (nis_stats): Likewise.
13560 * nis/nis_modify.c (nis_modify): Likewise.
13561 * nis/nis_remove.c (nis_remove): Likewise.
13562 * nis/nis_add.c (nis_add): Likewise.
13564 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
13566 * posix/fnmatch_loop.c: Add some consts.
13568 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
13570 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
13573 * config.make.in (config-cflags-novzeroupper): Define.
13574 * configure.in: Substitute libc_cv_cc_novzeroupper.
13575 * elf/Makefile (AVX-CFLAGS): Define.
13576 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
13577 (CFLAGS-tst-auditmod4a.c): Likewise.
13578 (CFLAGS-tst-auditmod4b.c): Likewise.
13579 (CFLAGS-tst-auditmod6b.c): Likewise.
13580 (CFLAGS-tst-auditmod6c.c): Likewise.
13581 (CFLAGS-tst-auditmod7b.c): Likewise.
13582 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
13584 2011-02-02 Ulrich Drepper <drepper@gmail.com>
13586 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
13587 function to the callback.
13588 Patch partly by Jiri Olsa <jolsa@redhat.com>.
13590 2011-02-02 Andreas Schwab <schwab@redhat.com>
13592 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
13595 2011-01-19 Ulrich Drepper <drepper@gmail.com>
13598 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
13600 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
13602 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
13605 * elf/Makefile: Add rules to build and run new test.
13606 * elf/tst-initorder.c: New file.
13607 * elf/tst-initorder.exp: New file.
13608 * elf/tst-initordera1.c: New file.
13609 * elf/tst-initordera2.c: New file.
13610 * elf/tst-initordera3.c: New file.
13611 * elf/tst-initordera4.c: New file.
13612 * elf/tst-initorderb1.c: New file.
13613 * elf/tst-initorderb2.c: New file.
13614 * elf/tst-order-a1.c: New file.
13615 * elf/tst-order-a2.c: New file.
13616 * elf/tst-order-a3.c: New file.
13617 * elf/tst-order-a4.c: New file.
13618 * elf/tst-order-b1.c: New file.
13619 * elf/tst-order-b2.c: New file.
13620 * elf/tst-order-main.c: New file.
13621 New test case by George Gensure <werkt0@gmail.com>.
13623 2010-10-01 Andreas Schwab <schwab@redhat.com>
13625 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
13626 decoding ACE if AI_CANONIDN.
13628 2011-01-18 Ulrich Drepper <drepper@gmail.com>
13630 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
13632 2011-01-17 Ulrich Drepper <drepper@gmail.com>
13634 * version.h (RELEASE): Bump for 2.13 release.
13635 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
13637 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
13639 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
13641 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
13642 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
13643 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13644 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
13645 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
13646 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
13648 * posix/getconf.c: Update copyright year.
13649 * catgets/gencat.c: Likewise.
13650 * csu/version.c: Likewise.
13651 * debug/catchsegv.sh: Likewise.
13652 * debug/xtrace.sh: Likewise.
13653 * elf/ldconfig.c: Likewise.
13654 * elf/ldd.bash.in: Likewise.
13655 * elf/sprof.c (print_version): Likewise.
13656 * iconv/iconv_prog.c: Likewise.
13657 * iconv/iconvconfig.c: Likewise.
13658 * locale/programs/locale.c: Likewise.
13659 * locale/programs/localedef.c: Likewise.
13660 * malloc/memusage.sh: Likewise.
13661 * malloc/mtrace.pl: Likewise.
13662 * nscd/nscd.c (print_version): Likewise.
13663 * nss/getent.c: Likewise.
13665 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
13666 PF_CAIF, and PF_ALG.
13667 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13669 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
13671 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
13672 (modules-names): Use them.
13673 (ifunc-test-modules, ifunc-pie-tests): Define.
13674 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
13675 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
13676 (test-extras): Likewise.
13677 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
13678 $(compile-command.c).
13679 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
13680 (all-built-dso): Define.
13681 (check-textrel.out, check-execstack.out): Depend on it.
13683 * configure.in: Don't override --enable-multi-arch.
13685 2011-01-15 Ulrich Drepper <drepper@gmail.com>
13688 * nscd/hstcache.c (tryagain): Define.
13689 (cache_addhst): Return tryagain not notfound for temporary errors.
13690 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
13693 2011-01-14 Ulrich Drepper <drepper@gmail.com>
13696 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
13697 to make the syscall.
13698 * sysdeps/unix/sysv/linux/setgroups.c: New file.
13701 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
13702 and fall back to matching as normal character if the string ends before
13703 the matching ']' is found. This is what POSIX requires.
13704 * posix/testfnm.c: Adjust test result.
13705 * posix/globtest.sh: Adjust test result. Add new test.
13706 * posix/tst-fnmatch.input: Likewise.
13707 * posix/tst-fnmatch2.c: Add new test.
13709 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
13711 * elf/Makefile (check-execstack): Revert last change. Depend on
13713 (check-execstack.h): New target.
13714 (generated): Add check-execstack.h.
13715 * elf/check-execstack.c: Include "check-execstack.h".
13716 (main): Revert last change.
13717 (handle_file): Return zero if GNU_STACK is absent and
13718 DEFAULT_STACK_PERMS doesn't include PF_X.
13720 2011-01-13 Ulrich Drepper <drepper@gmail.com>
13722 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
13723 in child fails because the descriptor is already closed.
13724 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
13725 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
13726 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
13729 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
13733 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
13734 temporary buffer used to handle multi lookups locally.
13735 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
13737 2011-01-12 Ulrich Drepper <drepper@gmail.com>
13739 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
13742 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
13744 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
13745 alignment for SSE2.
13747 2011-01-12 Ulrich Drepper <drepper@gmail.com>
13750 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
13751 characters. When rounding increased number of integer digits recompute
13753 * stdio-common/tst-grouping.c: New file.
13754 * stdio-common/Makefile: Add rules to build and run tst-grouping.
13756 2011-01-09 Ulrich Drepper <drepper@gmail.com>
13758 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
13759 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
13761 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
13763 * bits/select.h: Likewise.
13765 2011-01-08 Ulrich Drepper <drepper@gmail.com>
13767 * po/ja.po: Update from translation team.
13769 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
13772 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
13773 implementation just like for lxstat, fxstatat, et al.
13775 2010-12-27 Jim Meyering <meyering@redhat.com>
13778 * posix/regexec.c (build_trtable): Return failure indication upon
13779 calloc failure. Otherwise, re_search_internal could infloop on OOM.
13781 2010-12-25 Ulrich Drepper <drepper@gmail.com>
13784 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
13785 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
13786 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
13787 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
13790 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
13793 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
13794 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
13796 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
13798 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
13799 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
13800 script has SORT_BY_INIT_PRIORITY.
13801 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
13802 NO_CTORS_DTORS_SECTIONS is defined.
13803 * elf/soinit.c: Likewise.
13804 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
13805 NO_CTORS_DTORS_SECTIONS is defined.
13806 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
13807 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
13808 * sysdeps/sh/init-first.c: Likewise.
13809 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
13811 2010-12-24 Ulrich Drepper <drepper@gmail.com>
13813 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
13814 always use the slow path.
13816 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
13818 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
13819 similar rule which adds the sysdep directories to the header search in
13820 order to pick up the correct platform stackinfo.h.
13821 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
13822 perform test if it is, otherwise return successfully without testing.
13823 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
13824 DEFAULT_STACK_PERMS define in stackinfo.h.
13825 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
13826 defined in stackinfo.h.
13827 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
13828 DEFAULT_STACK_PERMS defined in stackinfo.h.
13829 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
13830 * sysdeps/ia64/stackinfo.h: Likewise.
13831 * sysdeps/s390/stackinfo.h: Likewise.
13832 * sysdeps/sh/stackinfo.h: Likewise.
13833 * sysdeps/sparc/stackinfo.h: Likewise.
13834 * sysdeps/x86_64/stackinfo.h: Likewise.
13835 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
13836 PF_X for powerpc64. Retain PF_X for powerpc32.
13838 2010-12-19 Ulrich Drepper <drepper@gmail.com>
13840 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
13842 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
13843 GETDENTS_64BIT_ALIGNED.
13845 2010-12-14 Ulrich Drepper <dreper@gmail.com>
13847 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
13849 2010-12-10 Andreas Schwab <schwab@redhat.com>
13851 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
13854 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
13855 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
13857 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
13858 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
13860 2010-12-09 Ulrich Drepper <drepper@gmail.com>
13863 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
13866 2010-12-09 Jakub Jelinek <jakub@redhat.com>
13868 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
13870 2010-12-03 Ulrich Drepper <drepper@gmail.com>
13872 * po/it.po: Update from translation team.
13874 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
13876 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
13879 2010-11-30 Ulrich Drepper <drepper@gmail.com>
13881 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
13883 2010-11-24 Andreas Schwab <schwab@redhat.com>
13885 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
13887 (gaih_getanswer_slice): Likewise.
13889 2010-10-20 Jakub Jelinek <jakub@redhat.com>
13891 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
13893 2010-05-31 Petr Baudis <pasky@suse.cz>
13896 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
13897 silently even in the chroot mode.
13899 2010-11-22 Ulrich Drepper <drepper@gmail.com>
13901 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
13902 last patch a bit. Pretty printing
13904 2010-05-31 Petr Baudis <pasky@suse.cz>
13907 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
13908 initialization of skip_initgroups_dyn.
13910 2010-11-19 Ulrich Drepper <drepper@gmail.com>
13912 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
13913 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
13915 2010-11-16 Ulrich Drepper <drepper@gmail.com>
13917 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
13919 2010-11-11 Andreas Schwab <schwab@redhat.com>
13921 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
13922 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
13923 (tst-fnmatch-ENV): Set MALLOC_TRACE.
13924 ($(objpfx)tst-fnmatch-mem): New rule.
13925 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
13926 * posix/tst-fnmatch.c (main): Call mtrace.
13928 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
13930 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13931 Support Intel processor model 6 and model 0x2c.
13933 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
13935 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
13938 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
13941 * string/test-strncasecmp.c (check_result): New function.
13942 (do_one_test): Use it.
13943 (check1): New function.
13944 (test_main): Use it.
13945 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
13946 Support strcasecmp and strncasecmp.
13948 2010-11-08 Ulrich Drepper <drepper@gmail.com>
13951 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
13952 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13954 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
13956 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
13958 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13960 * sysdeps/x86_64/multiarch/bzero.S: New file.
13961 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
13962 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
13963 * sysdeps/x86_64/multiarch/memset.S: New file.
13964 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
13965 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13966 Set bit_Prefer_SSE_for_memop for Intel processors.
13967 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
13969 (index_Prefer_SSE_for_memop): Define.
13970 (HAS_PREFER_SSE_FOR_MEMOP): Define.
13972 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
13974 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
13975 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
13977 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
13980 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
13981 (__x86_64_raw_data_cache_size_half): Likewise.
13982 (__x86_64_raw_shared_cache_size): Likewise.
13983 (__x86_64_raw_shared_cache_size_half): Likewise.
13985 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
13986 (__x86_64_raw_data_cache_size_half): Likewise.
13987 (__x86_64_raw_shared_cache_size): Likewise.
13988 (__x86_64_raw_shared_cache_size_half): Likewise.
13989 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
13990 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
13991 and __x86_64_raw_shared_cache_size_half. Round
13992 __x86_64_data_cache_size_half, __x86_64_data_cache_size
13993 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
13994 to multiple of 256 bytes.
13996 2010-11-03 Ulrich Drepper <drepper@gmail.com>
13999 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
14000 of inacessible symlinks. Verify result of symlink before returning it.
14001 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
14002 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
14004 2010-10-28 Erich Ritz <erichritz@gmail.com>
14006 * math/math.h (isinf): Fix typo in comment.
14008 2010-11-01 Ulrich Drepper <drepper@gmail.com>
14010 * po/da.po: Update from translation team.
14012 2010-10-26 Ulrich Drepper <drepper@gmail.com>
14014 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
14015 is added to the list.
14017 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14018 Ulrich Drepper <drepper@gmail.com>
14020 * elf/dl-object.c (_dl_new_object): Don't append the new object to
14021 the global list here. Move code to...
14022 (_dl_add_to_namespace_list): ...here. New function.
14023 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
14024 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
14025 * elf/dl-load.c (lose): Don't remove the element from the list.
14026 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
14027 (_dl_map_object): Likewise.
14029 2010-10-25 Ulrich Drepper <drepper@gmail.com>
14032 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
14033 into all bytes of SSE register.
14034 Patch by Richard Li <richardpku@gmail.com>.
14036 2010-10-24 Ulrich Drepper <drepper@gmail.com>
14039 * malloc/malloc.c (_int_free): Fill correct number of bytes when
14042 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
14044 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
14045 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
14046 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
14047 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
14048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
14050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
14052 2010-10-22 Andreas Schwab <schwab@redhat.com>
14054 * include/dlfcn.h (__RTLD_SECURE): Define.
14055 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
14056 mode & __RTLD_SECURE instead.
14057 (open_path): Rename preloaded parameter to secure.
14058 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
14059 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
14060 * elf/dl-deps.c (openaux): Likewise.
14061 * elf/rtld.c (struct map_args): Remove is_preloaded.
14062 (map_doit): Don't use it.
14063 (dl_main): Likewise.
14064 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
14065 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
14067 2010-09-09 Andreas Schwab <schwab@redhat.com>
14069 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
14070 (sysd-rules-targets): Remove duplicates.
14071 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
14072 rtld-%.$o dependency.
14074 2010-10-18 Andreas Schwab <schwab@redhat.com>
14076 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
14077 _dl_map_object do it.
14079 2010-10-19 Ulrich Drepper <drepper@gmail.com>
14081 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
14082 fast fma builtins, define the macros in the C99 standard.
14083 (FP_FAST_FMAF): Likewise.
14084 (FP_FAST_FMAL): Likewise.
14085 * sysdeps/x86_64/bits/mathdef.h: Likewise.
14087 * bits/mathdef.h: Update copyright year.
14088 * sysdeps/powerpc/bits/mathdef.h: Likewise.
14090 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
14092 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
14093 builtins, define the macros in the C99 standard.
14094 (FP_FAST_FMAF): Likewise.
14095 (FP_FAST_FMAL): Likewise.
14096 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
14098 (FP_FAST_FMAF): Likewise.
14100 2010-10-15 Jakub Jelinek <jakub@redhat.com>
14103 * math/libm-test.inc (fma_test): Some new testcases.
14104 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
14105 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
14106 y and infinite z. Do multiplication by C already in long double.
14107 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
14108 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
14109 y and infinite z. Do bitwise or of inexact bit into u.d.
14110 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
14111 * sysdeps/i386/fpu/s_fmaf.S: Removed.
14112 * sysdeps/i386/fpu/s_fma.S: Removed.
14113 * sysdeps/i386/fpu/s_fmal.S: Removed.
14115 2010-10-16 Jakub Jelinek <jakub@redhat.com>
14118 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
14119 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
14120 computation is not scheduled after fetestexcept. Fix value
14121 of minimum denormal long double.
14123 2010-10-14 Jakub Jelinek <jakub@redhat.com>
14126 * math/libm-test.inc (fma_test): Add some more tests.
14127 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
14130 2010-10-15 Andreas Schwab <schwab@redhat.com>
14132 * scripts/data/localplt-s390-linux-gnu.data: New file.
14133 * scripts/data/localplt-s390x-linux-gnu.data: New file.
14135 2010-10-13 Jakub Jelinek <jakub@redhat.com>
14138 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
14139 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
14141 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
14143 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
14144 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
14145 if one of x and y is very large and the other is subnormal.
14146 * sysdeps/s390/fpu/s_fmaf.c: New file.
14147 * sysdeps/s390/fpu/s_fma.c: New file.
14148 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
14149 * sysdeps/powerpc/fpu/s_fma.S: New file.
14150 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
14151 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
14152 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
14154 2010-10-12 Jakub Jelinek <jakub@redhat.com>
14157 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
14159 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
14160 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
14161 * sysdeps/i386/i686/multiarch/s_fma.c: Include
14162 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
14163 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
14164 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
14165 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
14167 2010-10-12 Ulrich Drepper <drepper@redhat.com>
14170 * posix/regcomp.c (parse_branch): One more memory leak plugged.
14171 * posix/bug-regex31.input: Add test case.
14173 2010-10-11 Ulrich Drepper <drepper@gmail.com>
14175 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
14176 * posix/bug-regex31.input: New file.
14179 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
14180 (parse_sub_exp): Fix last change, use postorder.
14182 * posix/bug-regex31.c: New file.
14183 * posix/Makefile: Add rules to build and run bug-regex31.
14185 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
14188 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
14191 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
14192 to have entries in sys_siglist.
14195 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
14198 2010-10-07 Jakub Jelinek <jakub@redhat.com>
14201 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
14202 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
14203 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
14204 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
14205 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
14206 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
14207 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
14208 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
14209 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
14210 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
14211 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
14212 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
14213 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
14214 * math/ftestexcept.c (fetestexcept): Likewise.
14215 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
14216 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
14217 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
14218 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
14219 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
14220 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
14221 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
14223 2010-10-11 Ulrich Drepper <drepper@gmail.com>
14226 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
14229 2010-10-06 Ulrich Drepper <drepper@gmail.com>
14231 * string/bug-strstr1.c: New file.
14232 * string/Makefile: Add rules to build and run bug-strstr1.
14234 2010-10-05 Eric Blake <eblake@redhat.com>
14237 * string/str-two-way.h (two_way_long_needle): Always clear memory
14238 when skipping input due to the shift table.
14240 2010-10-03 Ulrich Drepper <drepper@gmail.com>
14243 * malloc/mcheck.c: Handle large requests.
14246 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
14247 for strncmp and strncasecmp.
14248 * string/stratcliff.c: Add tests for strcmp and strncmp.
14249 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
14251 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14253 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
14256 2010-09-30 Andreas Jaeger <aj@suse.de>
14258 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
14259 (CGROUP_SUPER_MAGIC): Define.
14260 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14261 Handle btrfs and cgroup file systems.
14262 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
14265 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
14267 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
14268 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
14270 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14273 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
14274 trying to locate the ELF header.
14276 2010-09-27 Andreas Schwab <schwab@redhat.com>
14279 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
14280 Mask out sign-bit copies when constructing f_fsid.
14282 2010-09-24 Petr Baudis <pasky@suse.cz>
14284 * debug/stack_chk_fail_local.c: Add missing licence exception.
14285 * debug/warning-nop.c: Likewise.
14287 2010-09-15 Joseph Myers <joseph@codesourcery.com>
14289 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
14290 implementing getdents64 using getdents syscall, set d_type if
14291 __ASSUME_GETDENTS32_D_TYPE.
14293 2010-09-16 Andreas Schwab <schwab@redhat.com>
14295 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
14296 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
14298 2010-09-21 Ulrich Drepper <drepper@redhat.com>
14301 * posix/unistd.h: Undo change of feature selection for ftruncate from
14304 2010-09-20 Ulrich Drepper <drepper@redhat.com>
14306 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
14309 2010-09-20 Andreas Schwab <schwab@redhat.com>
14311 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
14313 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
14315 2010-09-14 Andreas Schwab <schwab@redhat.com>
14317 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
14318 variables after CHECK_SP call.
14319 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
14321 2010-09-13 Andreas Schwab <schwab@redhat.com>
14322 Ulrich Drepper <drepper@redhat.com>
14324 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
14325 re-relocationg ld.so.
14326 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
14327 _dl_init_paths call.
14328 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
14331 2010-09-14 Ulrich Drepper <drepper@redhat.com>
14333 * resolv/res_init.c (__res_vinit): Count the default server we added.
14335 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
14336 Ulrich Drepper <drepper@redhat.com>
14339 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
14340 (____longjmp_chk): Use %ebx for saving value across system call.
14343 2010-09-06 Andreas Schwab <schwab@redhat.com>
14345 * manual/Makefile: Don't mix pattern rules with normal rules.
14347 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
14349 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
14351 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
14352 * libio/iofopncook.c (_IO_cookie_init): Likewise.
14353 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
14354 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
14355 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14358 2010-09-04 Ulrich Drepper <drepper@redhat.com>
14361 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
14362 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
14364 2010-09-02 Ulrich Drepper <drepper@redhat.com>
14366 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
14367 * sysdeps/x86_64/addmul_1.S: Likewise.
14368 * sysdeps/x86_64/lshift.S: Likewise.
14369 * sysdeps/x86_64/mul_1.S: Likewise.
14370 * sysdeps/x86_64/rshift.S: Likewise.
14371 * sysdeps/x86_64/sub_n.S: Likewise.
14372 * sysdeps/x86_64/submul_1.S: Likewise.
14374 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
14376 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
14377 Define __sched_param instead of SCHED_* and sched_param when
14378 <bits/sched.h> is included with __need_schedparam defined.
14379 * bits/sched.h [__need_schedparam]
14380 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
14381 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
14382 (__defined_schedparam): Define to 1.
14383 (__sched_param): New structure, identical to sched_param.
14384 (__need_schedparam): Undefine.
14386 2010-08-31 Mike Frysinger <vapier@gentoo.org>
14388 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
14389 (epoll_create1): Declare.
14391 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
14393 2010-08-31 Andreas Schwab <schwab@redhat.com>
14396 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
14397 shifting retval into place.
14399 2010-09-01 Ulrich Drepper <drepper@redhat.com>
14401 * nis/rpcsvc/nis.h: Update copyright notice.
14402 * nis/rpcsvc/nis.x: Likewise.
14403 * nis/rpcsvc/nis_callback.h: Likewise.
14404 * nis/rpcsvc/nis_callback.x: Likewise.
14405 * nis/rpcsvc/nis_object.x: Likewise.
14406 * nis/rpcsvc/nis_tags.h: Likewise.
14407 * nis/rpcsvc/yp.h: Likewise.
14408 * nis/rpcsvc/yp.x: Likewise.
14409 * nis/rpcsvc/ypupd.h: Likewise.
14410 * nis/yp_xdr.c: Likewise.
14411 * nis/ypupdate_xdr.c: Likewise.
14413 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
14414 mainly the body of pmap_getport. Add parameters to specify timeouts.
14415 (pmap_getport): Use __libc_rpc_getport.
14416 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
14417 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
14418 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
14420 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
14422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
14425 2010-08-27 Roland McGrath <roland@redhat.com>
14427 * sysdeps/i386/i686/multiarch/Makefile
14428 (CFLAGS-varshift.c): New variable.
14430 2010-08-27 Ulrich Drepper <drepper@redhat.com>
14432 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
14433 * sysdeps/i386/i686/multiarch/varshift.c: New file.
14435 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
14437 * sysdeps/x86_64/strlen.S: Minimal code improvement.
14439 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
14441 * sysdeps/x86_64/strlen.S: Unroll the loop.
14442 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14443 strlen-sse2 strlen-sse2-bsf.
14444 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
14445 __strlen_no_bsf if bit_Slow_BSF is set.
14446 (__strlen_sse42): Removed.
14447 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
14448 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
14450 2010-08-25 Roland McGrath <roland@redhat.com>
14452 * sysdeps/x86_64/multiarch/varshift.S: File removed.
14453 * sysdeps/x86_64/multiarch/varshift.c: New file.
14454 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
14455 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
14456 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
14457 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14459 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
14461 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14462 strlen-sse2 strlen-sse2-bsf.
14463 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
14464 __strlen_sse2_bsf if bit_Slow_BSF is unset.
14465 (__strlen_sse2): Removed.
14466 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
14467 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
14468 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
14469 bit_Slow_BSF for Atom.
14470 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
14471 (index_Slow_BSF): Define.
14472 (HAS_SLOW_BSF): Define.
14474 2010-08-25 Ulrich Drepper <drepper@redhat.com>
14477 * resolv/res_init.c (__res_vinit): When no server address at all
14478 is given default to loopback.
14480 2010-08-24 Roland McGrath <roland@redhat.com>
14482 * configure.in: Remove config-name.h generation.
14483 * configure: Regenerated.
14484 * config-name.in: File removed.
14485 * scripts/config-uname.sh: New file.
14486 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
14487 ($(objdir)config-name.h): New target.
14489 * sunrpc/rpc_parse.h: Avoid nested comment.
14491 2010-08-24 Richard Henderson <rth@redhat.com>
14492 Ulrich Drepper <drepper@redhat.com>
14493 H.J. Lu <hongjiu.lu@intel.com>
14495 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
14496 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
14497 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
14498 Replace _mm_srli_si128 with __m128i_shift_right. Replace
14499 _mm_alignr_epi8 with _mm_loadu_si128.
14500 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
14501 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
14502 (__m128i_shift_right): Removed.
14503 * sysdeps/i386/i686/multiarch/varshift.h: New file.
14504 * sysdeps/i386/i686/multiarch/varshift.S: New file.
14505 * sysdeps/x86_64/multiarch/varshift.h: New file.
14506 * sysdeps/x86_64/multiarch/varshift.S: New file.
14508 2010-08-21 Mike Frysinger <vapier@gentoo.org>
14510 * configure.in: Move assembler checks to before sysdep dir checking.
14512 2010-08-20 Petr Baudis <pasky@suse.cz>
14514 * LICENSES: Sync the sunrpc license.
14516 2010-08-19 Ulrich Drepper <drepper@redhat.com>
14518 * sunrpc/auth_des.c: Update copyright notice once again.
14519 * sunrpc/auth_none.c: Likewise.
14520 * sunrpc/auth_unix.c: Likewise.
14521 * sunrpc/authdes_prot.c: Likewise.
14522 * sunrpc/authuxprot.c: Likewise.
14523 * sunrpc/bindrsvprt.c: Likewise.
14524 * sunrpc/clnt_gen.c: Likewise.
14525 * sunrpc/clnt_perr.c: Likewise.
14526 * sunrpc/clnt_raw.c: Likewise.
14527 * sunrpc/clnt_simp.c: Likewise.
14528 * sunrpc/clnt_tcp.c: Likewise.
14529 * sunrpc/clnt_udp.c: Likewise.
14530 * sunrpc/clnt_unix.c: Likewise.
14531 * sunrpc/des_crypt.c: Likewise.
14532 * sunrpc/des_soft.c: Likewise.
14533 * sunrpc/get_myaddr.c: Likewise.
14534 * sunrpc/getrpcport.c: Likewise.
14535 * sunrpc/key_call.c: Likewise.
14536 * sunrpc/key_prot.c: Likewise.
14537 * sunrpc/openchild.c: Likewise.
14538 * sunrpc/pm_getmaps.c: Likewise.
14539 * sunrpc/pm_getport.c: Likewise.
14540 * sunrpc/pmap_clnt.c: Likewise.
14541 * sunrpc/pmap_prot.c: Likewise.
14542 * sunrpc/pmap_prot2.c: Likewise.
14543 * sunrpc/pmap_rmt.c: Likewise.
14544 * sunrpc/rpc/auth.h: Likewise.
14545 * sunrpc/rpc/auth_unix.h: Likewise.
14546 * sunrpc/rpc/clnt.h: Likewise.
14547 * sunrpc/rpc/des_crypt.h: Likewise.
14548 * sunrpc/rpc/key_prot.h: Likewise.
14549 * sunrpc/rpc/netdb.h: Likewise.
14550 * sunrpc/rpc/pmap_clnt.h: Likewise.
14551 * sunrpc/rpc/pmap_prot.h: Likewise.
14552 * sunrpc/rpc/pmap_rmt.h: Likewise.
14553 * sunrpc/rpc/rpc.h: Likewise.
14554 * sunrpc/rpc/rpc_des.h: Likewise.
14555 * sunrpc/rpc/rpc_msg.h: Likewise.
14556 * sunrpc/rpc/svc.h: Likewise.
14557 * sunrpc/rpc/svc_auth.h: Likewise.
14558 * sunrpc/rpc/types.h: Likewise.
14559 * sunrpc/rpc/xdr.h: Likewise.
14560 * sunrpc/rpc_clntout.c: Likewise.
14561 * sunrpc/rpc_cmsg.c: Likewise.
14562 * sunrpc/rpc_common.c: Likewise.
14563 * sunrpc/rpc_cout.c: Likewise.
14564 * sunrpc/rpc_dtable.c: Likewise.
14565 * sunrpc/rpc_hout.c: Likewise.
14566 * sunrpc/rpc_main.c: Likewise.
14567 * sunrpc/rpc_parse.c: Likewise.
14568 * sunrpc/rpc_parse.h: Likewise.
14569 * sunrpc/rpc_prot.c: Likewise.
14570 * sunrpc/rpc_sample.c: Likewise.
14571 * sunrpc/rpc_scan.c: Likewise.
14572 * sunrpc/rpc_scan.h: Likewise.
14573 * sunrpc/rpc_svcout.c: Likewise.
14574 * sunrpc/rpc_tblout.c: Likewise.
14575 * sunrpc/rpc_util.c: Likewise.
14576 * sunrpc/rpc_util.h: Likewise.
14577 * sunrpc/rpcinfo.c: Likewise.
14578 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
14579 * sunrpc/rpcsvc/key_prot.x: Likewise.
14580 * sunrpc/rpcsvc/klm_prot.x: Likewise.
14581 * sunrpc/rpcsvc/mount.x: Likewise.
14582 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
14583 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
14584 * sunrpc/rpcsvc/rex.x: Likewise.
14585 * sunrpc/rpcsvc/rstat.x: Likewise.
14586 * sunrpc/rpcsvc/rusers.x: Likewise.
14587 * sunrpc/rpcsvc/sm_inter.x: Likewise.
14588 * sunrpc/rpcsvc/spray.x: Likewise.
14589 * sunrpc/rpcsvc/yppasswd.x: Likewise.
14590 * sunrpc/rtime.c: Likewise.
14591 * sunrpc/svc.c: Likewise.
14592 * sunrpc/svc_auth.c: Likewise.
14593 * sunrpc/svc_authux.c: Likewise.
14594 * sunrpc/svc_raw.c: Likewise.
14595 * sunrpc/svc_run.c: Likewise.
14596 * sunrpc/svc_simple.c: Likewise.
14597 * sunrpc/svc_tcp.c: Likewise.
14598 * sunrpc/svc_udp.c: Likewise.
14599 * sunrpc/svc_unix.c: Likewise.
14600 * sunrpc/svcauth_des.c: Likewise.
14601 * sunrpc/xcrypt.c: Likewise.
14602 * sunrpc/xdr.c: Likewise.
14603 * sunrpc/xdr_array.c: Likewise.
14604 * sunrpc/xdr_float.c: Likewise.
14605 * sunrpc/xdr_mem.c: Likewise.
14606 * sunrpc/xdr_rec.c: Likewise.
14607 * sunrpc/xdr_ref.c: Likewise.
14608 * sunrpc/xdr_sizeof.c: Likewise.
14609 * sunrpc/xdr_stdio.c: Likewise.
14611 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
14614 2010-08-19 Andreas Schwab <schwab@redhat.com>
14616 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
14618 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
14620 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
14621 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
14622 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
14623 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
14624 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
14625 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
14626 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
14627 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
14628 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
14629 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
14630 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
14631 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
14632 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
14633 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
14635 2010-07-26 Anton Blanchard <anton@samba.org>
14637 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
14638 * malloc/arena.c (heap_trim): Likewise.
14640 2010-08-16 Ulrich Drepper <drepper@redhat.com>
14642 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
14644 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
14645 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
14647 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
14649 * sysdeps/i386/elf/Makefile: New file.
14651 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
14653 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
14654 from fanotify_init.
14655 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
14656 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14658 2010-08-15 Ulrich Drepper <drepper@redhat.com>
14660 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
14662 * sysdeps/multiarch/strcmp.S: Likewise.
14664 2010-08-14 Ulrich Drepper <drepper@redhat.com>
14666 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
14667 strncase_l-nonascii.
14668 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
14669 Add strncase_l-ssse3.
14670 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
14671 * sysdeps/x86_64/strcmp.S: Likewise.
14672 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
14673 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
14674 * sysdeps/x86_64/strncase.S: New file.
14675 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
14676 * sysdeps/x86_64/strncase_l.S: New file.
14677 * string/Makefile (strop-tests): Add strncasecmp.
14678 * string/test-strncasecmp.c: New file.
14680 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
14683 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
14684 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
14686 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
14688 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
14690 2010-08-12 Ulrich Drepper <drepper@redhat.com>
14692 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
14693 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
14694 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
14696 2010-05-01 Alan Modra <amodra@gmail.com>
14698 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
14699 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
14700 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
14701 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
14702 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
14703 tidying. Don't tail-call __sigjmp_save for static lib.
14704 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
14706 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
14707 (CALL_MCOUNT): Add eh info, and nop after bl.
14708 (TAIL_CALL_SYSCALL_ERROR): New macro.
14709 (PSEUDO_RET): Use it.
14710 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
14711 Correct save location of integer regs and cr.
14712 (_dl_profile_resolve): Correct cr save location. Delete nops
14713 after bl when SHARED. Reduce cfi size a little by better
14714 placement of cfi directives.
14715 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
14716 make a stack frame. Instead use parm save area as a temp.
14717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
14718 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
14719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14720 Don't make a stack frame for parent, use parm save area.
14721 Increase child stack frame to 112 bytes. Don't save unused reg,
14722 and adjust reg usage. Set up cfi on error recovery and
14723 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
14724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14725 (__makecontext): Add dummy nop after jump to exit.
14726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
14727 Use correct parm save area and cr save, reduce stack frame.
14728 Correct cfi for possible PSEUDO_RET frame setup.
14729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
14730 Branch to local label emitted by PSEUDO_RET rather than
14733 2010-08-12 Andreas Schwab <schwab@redhat.com>
14736 * locale/programs/locale.c (print_assignment): New function.
14737 (show_locale_vars): Use it.
14739 2010-08-11 Ulrich Drepper <drepper@redhat.com>
14741 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
14743 (struct statfs64): Likewise.
14744 (_STATFS_F_FLAGS): Define.
14745 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
14746 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14747 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
14748 (ST_VALID): Define locally.
14749 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
14750 __statvfs_getflags, use the provided value.
14751 * sysdeps/unix/sysv/linux/kernel-features.h: Define
14752 __ASSUME_STATFS_F_FLAGS.
14754 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
14756 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
14757 Add sys/fanotify.h.
14758 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
14759 fanotify_mask for GLIBC_2.13.
14760 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
14761 fanotify_init and fanotify_mark.
14762 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14763 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
14765 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
14767 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
14768 prlimit64 for GLIBC_2.13.
14769 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
14771 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
14773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
14774 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
14775 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
14776 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
14777 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
14779 * sysdeps/unix/sysv/linux/prlimit.c: New file.
14782 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
14783 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
14785 * nss/Makefile: Add rules to build and run tst-nss-test1.
14786 * shlib-versions: Add entry for libnss_test1.
14787 * nss/nss_test1.c: New file.
14788 * nss/tst-nss-test1.c: New file.
14790 * nss/nsswitch.c (__nss_database_custom): Define new variable.
14791 (__nss_configure_lookup): Set appropriate entry in
14792 __nss_configure_lookup to true.
14793 * nss/nsswitch.h: Define enum with indeces of databases in
14794 databases and __nss_database_custom arrays. Declare
14795 __nss_database_custom.
14796 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
14797 to avoid using nscd when custom rules are installed.
14798 * nss/getXXbyYY_r.c: Likewise.
14799 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14801 * nss/nss_files/files-parse.c: Whitespace fixes.
14803 2010-08-09 Ulrich Drepper <drepper@redhat.com>
14806 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
14807 * posix/fnmatch_loop.c: Likewise.
14809 2010-07-17 Andi Kleen <ak@linux.intel.com>
14811 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
14812 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
14813 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
14814 * Versions.def [GLIBC_2.13]: Add.
14816 2010-08-06 Ulrich Drepper <drepper@redhat.com>
14818 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14819 Also fail if tpwd after pwuid call is NULL.
14821 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
14823 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
14824 when converting to ms.
14826 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14828 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
14829 EOPNOTSUPP errors with ENOTTY.
14830 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
14831 EOPNOTSUPP errors with ENOTTY.
14833 2010-07-31 Ulrich Drepper <drepper@redhat.com>
14835 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
14836 Add strcasecmp_l-ssse3.
14837 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
14839 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
14840 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
14841 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
14843 2010-07-30 Ulrich Drepper <drepper@redhat.com>
14845 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
14847 * string/Makefile (strop-tests): Add strcasecmp.
14848 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
14849 strcasecmp_l-nonascii.
14850 (gen-as-const-headers): Add locale-defines.sym.
14851 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
14852 * sysdeps/x86_64/strcasecmp.S: New file.
14853 * sysdeps/x86_64/strcasecmp_l.S: New file.
14854 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
14855 * sysdeps/x86_64/locale-defines.sym: New file.
14856 * string/test-strcasecmp.c: New file.
14858 * string/test-strcasestr.c: Test both ends of the range of characters.
14859 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
14861 2010-07-29 Roland McGrath <roland@redhat.com>
14864 * manual/locale.texi (Yes-or-No Questions): Fix example code.
14866 2010-07-27 Ulrich Drepper <drepper@redhat.com>
14868 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
14871 2010-07-27 Andreas Schwab <schwab@redhat.com>
14873 * manual/memory.texi (Malloc Tunable Parameters): Document
14876 2010-07-26 Roland McGrath <roland@redhat.com>
14879 * configure.in (-fgnu89-inline check): Set and substitute
14880 gnu89_inline, not libc_cv_gnu89_inline.
14881 * configure: Regenerated.
14882 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
14884 2010-07-26 Ulrich Drepper <drepper@redhat.com>
14886 * string/test-strnlen.c: New file.
14887 * string/Makefile (strop-tests): Add strnlen.
14888 * string/tester.c (test_strnlen): Add a few more test cases.
14889 * string/tst-strlen.c: Better error reporting.
14891 * sysdeps/x86_64/strnlen.S: New file.
14893 2010-07-24 Ulrich Drepper <drepper@redhat.com>
14895 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
14896 lower-latency instructions.
14898 2010-07-23 Ulrich Drepper <drepper@redhat.com>
14900 * string/test-strcasestr.c: New file.
14901 * string/test-strstr.c: New file.
14902 * string/Makefile (strop-tests): Add strstr and strcasestr.
14903 * string/str-two-way.h: Don't undefine MAX.
14904 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
14906 2010-07-21 Andreas Schwab <schwab@redhat.com>
14908 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14909 strcasestr-nonascii.
14910 (CFLAGS-strcasestr-nonascii.c): Define.
14911 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
14912 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
14913 Remove unused attribute.
14915 2010-07-20 Roland McGrath <roland@redhat.com>
14917 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
14918 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
14919 ld.so.cache was broken. With it, there is no way to disable dsocaps
14920 like LD_HWCAP_MASK can disable hwcaps.
14922 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
14924 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
14926 2010-07-16 Ulrich Drepper <drepper@redhat.com>
14928 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
14929 call in strcasestr.
14930 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
14931 __strcasestr_sse42_nonascii.
14932 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
14933 strcasestr-nonascii.c.
14934 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
14936 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
14938 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
14939 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
14940 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
14941 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
14943 2010-07-09 Ulrich Drepper <drepper@redhat.com>
14945 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
14948 2010-07-06 Andreas Schwab <schwab@redhat.com>
14951 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
14954 2010-07-06 Ulrich Drepper <drepper@redhat.com>
14956 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
14957 _PC_PIPE_BUF using F_GETPIPE_SZ.
14959 2010-07-05 Roland McGrath <roland@redhat.com>
14961 * manual/arith.texi (Rounding Functions): Fix rint description
14962 implicit in round description.
14964 2010-07-02 Ulrich Drepper <drepper@redhat.com>
14966 * elf/Makefile: Fix linking for a few tests to make recent linker
14969 2010-06-30 Andreas Schwab <schwab@redhat.com>
14971 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
14972 $(common-objpfx)libc_nonshared.a.
14974 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
14976 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
14977 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
14978 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
14979 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
14980 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
14981 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
14982 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
14983 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
14984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
14985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
14986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
14987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
14988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
14989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
14990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
14991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
14992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
14993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
14994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
14995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
14996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
14997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
14998 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
14999 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
15000 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
15001 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
15002 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
15003 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
15004 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
15005 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
15006 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
15007 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
15008 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
15009 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
15010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
15011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
15012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
15013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
15014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
15015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
15016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
15017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
15018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
15019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
15020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
15021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
15022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
15023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
15025 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
15027 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
15028 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
15029 * string/memmove.c (memmove): Renamed to ...
15030 (MEMMOVE): ...this. Default to memmove.
15031 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
15032 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
15034 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15035 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
15036 mempcpy-ssse3-back memmove-ssse3-back.
15037 * sysdeps/x86_64/multiarch/bcopy.S: New file .
15038 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
15039 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
15040 * sysdeps/x86_64/multiarch/memcpy.S: New file.
15041 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
15042 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
15043 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
15044 * sysdeps/x86_64/multiarch/memmove.c: New file.
15045 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
15046 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
15047 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
15048 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
15049 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
15050 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
15052 (index_Fast_Copy_Backward): Define.
15053 (HAS_ARCH_FEATURE): Define.
15054 (HAS_FAST_REP_STRING): Define.
15055 (HAS_FAST_COPY_BACKWARD): Define.
15057 2010-06-21 Andreas Schwab <schwab@redhat.com>
15059 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15060 Restore proper fallback handling.
15062 2010-06-19 Ulrich Drepper <drepper@redhat.com>
15065 * posix/group_member.c (__group_member): Correct checking loop.
15067 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
15068 OOM in getpwuid_r correctly. Return error number when the caller
15069 should return, otherwise -1.
15070 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
15071 call returning > 0 value.
15072 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
15074 2010-06-07 Andreas Schwab <schwab@redhat.com>
15076 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
15077 libc_nonshared.a from targets in modules-names.
15079 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
15081 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
15084 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
15086 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
15087 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
15088 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
15089 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
15091 2010-06-02 Andreas Schwab <schwab@redhat.com>
15093 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
15095 2010-06-14 Ulrich Drepper <drepper@redhat.com>
15097 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
15099 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
15100 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15101 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15102 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15103 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15104 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
15106 2010-06-14 Roland McGrath <roland@redhat.com>
15108 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
15110 2010-06-07 Jakub Jelinek <jakub@redhat.com>
15112 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
15113 __REDIRECT followed by __THROW.
15114 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
15115 * posix/getopt.h (getopt): Likewise.
15117 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
15119 * hurd/lookup-at.c (__file_name_lookup_at): Accept
15120 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
15121 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
15123 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
15124 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
15126 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
15128 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
15130 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
15133 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15134 Properly check family and model.
15136 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
15138 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
15140 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
15142 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
15144 2010-05-21 Ulrich Drepper <drepper@redhat.com>
15146 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
15149 2010-05-19 Andreas Schwab <schwab@redhat.com>
15151 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
15154 2010-05-21 Andreas Schwab <schwab@redhat.com>
15156 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
15157 and internal_recvmmsg.
15158 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
15159 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
15160 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
15161 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
15163 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
15164 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
15165 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
15167 2010-05-20 Andreas Schwab <schwab@redhat.com>
15169 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
15171 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
15173 POWER7 optimizations.
15174 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
15175 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
15177 2010-05-19 Ulrich Drepper <drepper@redhat.com>
15179 * version.h: Update for 2.13 development version.
15181 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
15183 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
15184 exceptions. Return 0.
15186 2010-05-07 Roland McGrath <roland@redhat.com>
15188 * elf/ldconfig.c (main): Add a const.
15190 2010-05-06 Ulrich Drepper <drepper@redhat.com>
15192 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
15193 (args_options): Add no-idn option.
15194 (ahosts_keys_int): Add idn_flags to ai_flags.
15195 (parse_option): Handle 'i' option to clear idn_flags.
15197 * malloc/malloc.c (_int_free): Possible race in the most recently
15198 added check. Only act on the data if no current modification
15201 See ChangeLog.17 for earlier changes.