1 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3 * time/mktime.c: Update copyright years.
5 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
7 mktime: merge comment-quoting-style change from gnulib
8 * time/mktime.c: Quote 'like this' in comments.
9 The GNU coding standards suggest that we no longer quote `like this',
10 as "`" and "'" are typically rendered asymmetrically nowadays.
11 The typical gnulib style is to quote 'like this' when quoting
12 code, and "like this" when quoting English.
14 * time/mktime.c (compile-command): Add "-I.".
16 mktime: merge mktime-internal.h change from gnulib
17 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
19 mktime: merge time_r change from gnulib
20 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
22 mktime: merge DEBUG change from gnulib
23 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
24 case system <time.h> has a #define.
26 mktime: merge <sys/types.h> change from gnulib
27 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
28 since <time.t> is now guaranteed to define time_t.
30 mktime: merge HAVE_CONFIG_H change from gnulib
31 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
33 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
35 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
38 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
40 (struct rusage): Use anonymous union to pad each field to
43 2012-05-21 David S. Miller <davem@davemloft.net>
45 * Makefules (o-iterator): Remove .s cases.
46 (compile-command.s): Delete.
48 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
50 2012-05-21 Joseph Myers <joseph@codesourcery.com>
52 * configure.in (libc_cv_predef_stack_protector): Only consider
53 "foobar" and "__stack_chk_fail" lines in libc_undefs.
54 * configure: Regenerated.
56 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
58 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
59 New macro. Use R*LP on int and pointer.
60 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
61 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
62 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
63 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
65 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
66 [__WORDSIZE_TIME64_COMPAT32] instead of
67 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
68 (struct utmp): Likewise.
69 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
70 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
72 (__WORDSIZE_TIME64_COMPAT32): This.
73 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
74 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
75 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
76 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
77 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
78 (__WORDSIZE_TIME64_COMPAT32): New macro.
80 2012-05-21 Andreas Jaeger <aj@suse.de>
82 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
83 only if [SHARED]. Add prototype for __wcschr_ia32.
85 2012-05-21 Roland McGrath <roland@hack.frob.com>
87 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
88 of %rbp unmolested in the jmp_buf while mangling the low bits.
89 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
90 unmolested high bits of %rbp while demangling the low bits.
91 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
93 2012-05-21 Andreas Jaeger <aj@suse.de>
95 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
96 * sunrpc/svc_simple.c: Use it for registerrpc.
97 * sunrpc/xcrypt.c: Use it for passwd2des.
99 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
101 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
103 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
104 Don't define if [__SYSCALL_WORDSIZE != 32].
105 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
108 2012-05-21 Bruno Haible <bruno@clisp.org>
109 Andreas Jaeger <aj@suse.de>
111 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
112 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
113 inptr and inend for must_buffer_ch.
114 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
115 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
116 * stdio-common/Makefile (tests): Remove bug15.
117 (bug15-ENV): Remove macro.
118 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
121 2012-05-19 Andreas Jaeger <aj@suse.de>
122 Roland McGrath <roland@hack.frob.com>
124 * manual/contrib.texi: Completely rewritten. It contains now an
125 alphabetical list of contributors and their contributions.
127 2012-05-21 Richard Henderson <rth@twiddle.net>
129 * misc/getauxval.c (__getauxval): Use unsigned long int.
130 * misc/sys/auxv.h: Include <sys/cdefs.h>.
131 (getauxval): Use unsigned long int.
133 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
135 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
137 2012-05-21 Roland McGrath <roland@hack.frob.com>
139 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
140 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
141 __alignof__ (long double).
143 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
145 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
147 2012-05-20 Richard Henderson <rth@twiddle.net>
149 * misc/getauxval.c: New file.
150 * misc/sys/auxv.h: New file.
151 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
152 (routines): Add getauxval.
153 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
154 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
155 * elf/dl-sysdep.c (_dl_auxv): Remove.
156 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
157 * elf/dl-support.c (_dl_auxv): New variable.
158 (_dl_aux_init): Initialize it.
159 * manual/startup.texi (Auxiliary Vector): New node.
160 * sysdeps/generic/bits/hwcap.h: New file.
161 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
162 * sysdeps/powerpc/sysdep.h: ... here. Include it.
163 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
164 * sysdeps/sparc/sysdep.h: ... here. Include it.
165 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
166 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
170 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
171 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
172 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
173 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
174 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
175 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
176 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
178 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
180 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
182 2012-05-19 David S. Miller <davem@davemloft.net>
184 * sysdeps/sparc/fpu/libm-test-ulps: Update.
186 2012-05-19 Joseph Myers <joseph@codesourcery.com>
189 * math/s_ccosh.c: Include <float.h>
190 (__ccosh): Avoid internal overflow calculating sinh and cosh
191 values before multiplying by sin and cos values.
192 * math/s_ccoshf.c: Likewise.
193 * math/s_ccoshl.c: Likewise.
194 * math/s_csin.c: Likewise.
195 * math/s_csinf.c: Likewise.
196 * math/s_csinl.c: Likewise.
197 * math/s_csinh.c: Likewise.
198 * math/s_csinhf.c: Likewise.
199 * math/s_csinhl.c: Likewise.
200 * math/libm-test.inc (ccos_test): Add more tests.
201 (ccosh_test): Likewise.
202 (csin_test): Likewise.
203 (csinh_test): Likewise.
204 * sysdeps/i386/fpu/libm-test-ulps: Update.
205 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
207 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
209 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
210 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
212 * sysdeps/x86_64/x32/_itoa.h: Add comment.
214 2012-05-19 Joseph Myers <joseph@codesourcery.com>
216 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
217 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
218 * sysdeps/powerpc/soft-fp/Versions: Likewise.
219 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
220 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
221 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
222 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
223 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
224 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
225 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
226 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
227 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
228 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
229 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
230 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
231 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
232 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
233 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
234 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
235 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
236 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
237 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
238 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
239 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
240 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
241 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
242 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
243 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
244 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
245 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
246 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
248 2012-05-18 Andreas Jaeger <aj@suse.de>
250 * csu/.gitignore: Delete.
252 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
254 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
255 (timex): Use __syscall_slong_t.
257 2012-05-18 Andreas Jaeger <aj@suse.de>
258 Carlos O'Donell <carlos_odonell@mentor.com>
260 * manual/install.texi (Configuring and compiling): Update
261 description about files modified in the source directory.
262 * INSTALL: Regenerated.
264 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
266 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
267 value. Use "or" to set return value to -1.
268 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
271 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
273 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
274 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
275 failure if the compiler has Graphite support disabled.
276 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
278 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
279 CFLAGS-memmove.c): Likewise.
280 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
283 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
285 * sysdeps/x86_64/x32/_itoa.h: New file.
287 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
288 getdents system call only if kernel and user dirents have the
289 same d_ino and d_off.
291 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
292 LLONG_MAX != LONG_MAX.
293 (_itoa_word): Use _ITOA_WORD_TYPE on value.
294 (_fitoa_word): Likewise.
296 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
298 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
299 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
300 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
302 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
303 include <bits/wordsize.h>. Check __x86_64__ instead of
305 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
306 if __x86_64__ is defined. Use anonymous union on fpstate.
308 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
311 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
313 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
314 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
315 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
316 Refer to _rtld_local_ro instead of _rtld_global_ro.
317 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
319 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
321 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
323 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
324 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
325 of _rtld_global, and rtld_progname instead of _dl_argv[0].
327 * sysdeps/powerpc/powerpc32/dl-machine.c
328 (__elf_machine_runtime_setup) [PROF]: Don't reference
331 2012-05-18 Andreas Jaeger <aj@suse.de>
333 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
334 function only available for GCCs before 3.4 since GCC 3.4
335 introduced a builtin.
345 (nearbyint): Likewise.
346 (nearbyintf): Likewise.
352 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
354 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
355 on both fields and cast pointer to __syscall_ulong_t.
357 * bits/types.h (__fsword_t): New type.
358 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
359 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
360 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
361 (__FSWORD_T_TYPE): Likewise.
362 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
363 (__FSWORD_T_TYPE): Likewise.
364 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
365 (__FSWORD_T_TYPE): Likewise.
366 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
367 (__FSWORD_T_TYPE): Likewise.
368 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
369 __SWORD_TYPE with __fsword_t.
370 (statfs64): Likewise.
372 2012-05-17 David S. Miller <davem@davemloft.net>
374 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
376 2012-05-17 Andreas Jaeger <aj@suse.de>
378 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
381 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
383 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
385 2012-05-17 Andreas Jaeger <aj@suse.de>
387 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
390 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
392 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
394 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
396 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
397 * sysdeps/x86_64/tst-mallocalign1.c: New file.
399 2012-05-17 Andreas Jaeger <aj@suse.de>
400 Carlos O'Donell <carlos_odonell@mentor.com>
403 * sysdeps/x86_64/multiarch/init-arch.h
404 (bit_YMM_Usable): Rename to...
405 (bit_AVX_Usable): ... this.
406 (bit_FMA4_Usable): New macro.
407 (bit_XMM_state): New macro.
408 (bit_YMM_state): New macro.
409 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
410 [__ASSEMBLER__] (index_AVX_Usable): ... this.
411 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
412 (CPUID_OSXSAVE): New macro.
413 (CPUID_AVX): New macro.
414 (CPUID_FMA4): New macro.
415 (index_YMM_Usable): Rename to...
416 (index_AVX_Usable): ... this.
417 (HAS_AVX): Use HAS_ARCH_FEATURE.
418 (HAS_FMA4): Likewise.
419 (HAS_YMM_USABLE): Remove.
420 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
421 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
423 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
424 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
425 * sysdeps/x86_64/multiarch/Makefile: Likewise.
426 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
427 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
429 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
431 * math/libm-test.c: Support platforms without multiple rounding modes.
432 * math/bug-nextafter.c: Support platforms without FP exceptions.
433 * math/bug-nexttoward.c: Likewise.
434 * math/test-fenv.c: Likewise.
435 * math/test-misc.c: Likewise.
436 * stdlib/bug-getcontext.c: Likewise.
438 2012-05-17 Andreas Jaeger <aj@suse.de>
440 * manual/examples/search.c (critter_cmp): Change signature to
442 * manual/string.texi (Collation Functions): Likewise.
444 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
446 * bits/types.h: Fold copyright years.
447 * bits/typesizes.h: Likewise.
448 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
449 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
450 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
451 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
452 * time/time.h: Likewise.
454 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
457 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
458 in instead of returning them. Return void.
459 (__libc_mallinfo): Accumulate over all arenas.
460 (__malloc_stats): Adjust for change in int_mallinfo interface.
462 2012-05-16 Roland McGrath <roland@hack.frob.com>
465 * configure.in (NM): Add AC_CHECK_TOOL for it.
466 (libc_extra_cflags): New substituted variable.
467 Check for -fstack-protector being used implicitly.
468 * configure: Regenerated.
469 * config.make.in (config-extra-cflags): New variable,
470 gets @libc_extra_cflags@.
471 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
474 * configure.in: Check for _FORTIFY_SOURCE being predefined.
475 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
476 * configure: Regenerated.
477 * config.make.in (CPPUNDEFS): New substituted variable.
478 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
479 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
480 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
482 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
484 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
485 (mq_attr): Use __syscall_slong_t.
487 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
489 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
490 Check __x86_64__ instead of __WORDSIZE.
491 (_STAT_VER_LINUX): Likewise.
492 (stat): Check __x86_64__ instead of __WORDSIZE. Use
493 __syscall_ulong_t and __syscall_slong_t.
496 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
498 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
500 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
502 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
504 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
506 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
509 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
510 include <bits/wordsize.h>. Check __x86_64__ instead of
512 (greg_t): Use "__extension__ long long int" if __x86_64__ is
514 (mcontext_t): Replace "unsigned long" with "unsigned long long".
516 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
517 include <bits/wordsize.h>. Check __x86_64__ instead of
519 (user_regs_struct): Use "__extension__ unsigned long long"
520 instead of "unsigned long" if __x86_64__ is defined.
521 (user): Likewise. Pad after pointer field if __ILP32__ is
524 2012-05-16 Joseph Myers <joseph@codesourcery.com>
526 * configure.in (makeinfo): Require version 4.5 or later. Allow
528 * configure: Regenerated.
529 * manual/install.texi (texinfo): Increase version requirement to
531 * INSTALL: Regenerated.
533 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
535 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
537 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
539 * sysdeps/x86_64/x32/ffs.c: New file.
541 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
543 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
544 defined. Use __syscall_ulong_t.
545 (shminfo): Use __syscall_ulong_t.
546 (shm_info): Likewise.
548 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
551 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
553 (msgqnum_t): Use __syscall_ulong_t.
554 (msglen_t): Likewise.
555 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
558 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
559 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
561 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
563 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
564 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
566 * sysvipc/sys/msg.h (msgbuf): Replace long int with
569 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
570 include <bits/wordsize.h>. Check __x86_64__ instead of
573 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
574 "unsigned long long int" if __x86_64__ is defined.
575 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
577 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
578 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
579 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
581 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
583 (GET_PC): Cast to uintptr_t first.
584 (GET_FRAME): Likewise.
585 (GET_STACK): Likewise.
587 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
588 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
589 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
590 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
591 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
592 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
593 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
594 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
595 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
596 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
597 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
598 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
599 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
600 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
601 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
602 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
603 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
604 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
605 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
606 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
607 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
608 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
609 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
610 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
611 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
612 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
613 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
614 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
615 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
617 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
619 * Makerules (+depfiles): Also collect depfiles from .oS in
621 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
622 .oS, $(libnldbl-routines)).
624 * Makerules (native-compile-mkdep-flags): Define.
625 * sunrpc/Makefile (extra-objs): Add $(addprefix
626 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
627 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
628 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
629 calling $(make-target-directory).
631 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
633 * bits/types.h (__snseconds_t): Removed.
634 * time/time.h (struct timespec): Replace __snseconds_t with
636 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
637 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
639 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
640 (__SNSECONDS_T_TYPE): Likewise.
641 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
642 (__SNSECONDS_T_TYPE): Likewise.
643 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
644 (__SNSECONDS_T_TYPE): Likewise.
646 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
648 * sysdeps/mach/hurd/bits/typesizes.h
649 (__SYSCALL_SLONG_TYPE): New macro.
650 (__SYSCALL_ULONG_TYPE): Likewise.
652 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
654 * bits/types.h (__syscall_slong_t): New type.
655 (__syscall_ulong_t): Likewise.
657 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
658 (__SYSCALL_ULONG_TYPE): Likewise.
659 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
660 (__SYSCALL_SLONG_TYPE): Likewise.
661 (__SYSCALL_ULONG_TYPE): Likewise.
662 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
663 (__SYSCALL_SLONG_TYPE): Likewise.
664 (__SYSCALL_ULONG_TYPE): Likewise.
665 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
666 (__SYSCALL_SLONG_TYPE): Likewise.
667 (__SYSCALL_ULONG_TYPE): Likewise.
669 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
671 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
672 Add sigaltstack-offsets.sym.
673 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
674 <sigaltstack-offsets.h>.
675 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
677 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
678 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
680 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
682 2012-05-15 Joseph Myers <joseph@codesourcery.com>
684 * elf/stackguard-macros.h: Remove file.
685 * sysdeps/generic/stackguard-macros.h: New file.
686 * sysdeps/i386/stackguard-macros.h: Likewise.
687 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
688 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
689 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
690 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
691 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
692 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
693 * sysdeps/x86_64/stackguard-macros.h: Likewise.
694 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
695 <elf/stackguard-macros.h>.
698 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
699 __aligned__ in attribute.
700 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
701 (gregset_t): Likewise.
703 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
705 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
706 * sysdeps/x86_64/64/Implies-after: Here. New file.
707 * sysdeps/x86_64/x32/Implies-after: New file.
709 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
711 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
712 and access return value for _dl_profile_fixup. Use R10_LP to
715 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
717 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
719 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
721 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
722 * sysdeps/x86_64/x32/sysdep.h: New file.
724 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
726 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
727 * sysdeps/x86_64/setjmp.S: Likewise.
729 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
731 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
732 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
733 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
734 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
735 remove unused global constant.
737 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
739 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
740 include of <not-cancel.h>.
742 2012-05-15 Roland McGrath <roland@hack.frob.com>
744 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
746 2012-05-15 Jeff Law <law@redhat.com>
747 Andreas Jaeger <aj@suse.de>
750 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
752 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
753 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
754 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
755 code changing __hst_map_handle.map.
757 2012-05-15 Roland McGrath <roland@hack.frob.com>
759 * configure.in (sysnames): Look for Implies-before and Implies-after
761 * configure: Regenerated.
763 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
765 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
766 8-byte data alignment with LP_SIZE alignment.
768 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
770 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
773 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
775 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
777 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
779 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
780 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
781 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
783 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
785 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
787 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
788 (stackinfo_sub_sp): Likewise.
790 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
792 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
795 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
797 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
800 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
802 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
805 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
807 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
809 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
811 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
812 into R11_LP and load __x86_64_shared_cache_size_half into
815 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
817 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
820 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
822 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
824 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
826 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
828 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
829 powerpc32/power7/fpu/s_logb.c via #include.
830 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
831 powerpc32/power7/fpu/s_logbf.c via #include.
832 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
833 powerpc32/power7/fpu/s_logbl.c via #include.
835 2012-05-15 Joseph Myers <joseph@codesourcery.com>
837 * README.libm: Remove file.
839 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
841 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
842 count for x32. Use R*_LP and omit operand-size suffix.
844 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
846 * shlib-versions: Move x86_64-.*-linux.* entries to ...
847 * sysdeps/x86_64/64/shlib-versions: Here. New file.
848 * sysdeps/x86_64/x32/shlib-versions: New file.
850 2012-05-14 Roland McGrath <roland@hack.frob.com>
852 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
853 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
854 Use _dl_fatal_printf instead.
856 2012-05-14 Joseph Myers <joseph@codesourcery.com>
858 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
859 set if not set by the user. Do not allow for being unset.
860 * sysdeps/unix/sysv/linux/configure: Regenerated.
862 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
864 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
865 the `q' suffix from lea and replace .quad with ASM_ADDR.
867 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
869 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
870 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
872 (PTR_DEMANGLE): Likewise.
874 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
876 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
878 (ASM_ADDR): Likewise.
896 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
898 * sysdeps/x86_64/x32/dl-machine.h: New file.
900 2012-05-14 Andreas Jaeger <aj@suse.de>
902 * manual/Makefile (subdir): Remove export of subdir.
903 (all): Remove target.
904 (.PHONY): Remove all from list.
905 (mkinstalldirs): Remove.
906 (.PHONY): Remove installdirs from list.
907 ($(inst_infodir)/libc.info): Use make-target-directory.
908 (installdirs): Remove.
910 (glibc-targets): Remove.
913 ($(objpfx)stubs ../po/manual.pot): Remove.
914 ($(objpfx)stamp%): Remove.
915 (make-target-directory): Remove.
916 (subdir_install): Remove.
924 * manual/.gitignore: Remove, it's not needed anymore.
925 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
927 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
929 (texis): Renamed to $(objpfx)texis.
930 (texis-path): New, contains path to generated files.
931 (chapters.%): Use texis-path for complete path, add extra argument
933 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
934 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
935 (summary,texi, stamp-summary): Use complete path of
936 files. Generate files in build dir.
937 (dir-add.texi): Build in build dir.
938 (libm-err.texi,stamp-libm-err): Likewise.
939 (version.texi, stamp-version): Likewise.
940 (.%c.texi): Likewise.
941 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
942 (mostlyclean): Remove target.
943 (realclean): Remove target.
944 (generated): Add new variable with contents from mostlyclean and
945 realclean, remove entries duplicated in common-mostlyclean, add
946 stamp-libm-err and stamp-version.
947 (generated-dirs): Add libc directory.
948 ($(inst_infodir)/libc.info): Install files from build dir.
950 * manual/install.texi (Configuring and compiling): Adjust since
951 the info files are not part of the tar ball anymore.
953 2012-05-14 Andreas Jaeger <aj@suse.de>
955 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
958 2012-05-14 Joseph Myers <joseph@codesourcery.com>
961 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
962 to 2.2.0 where earlier.
963 * sysdeps/unix/sysv/linux/configure: Regenerated.
964 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
965 Remove conditional code.
966 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
967 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
968 Remove conditional code.
969 [!__NR_lchown]: Likewise.
970 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
971 [__NR_lchown]: Likewise.
972 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
973 comment referencing __ASSUME_LCHOWN_SYSCALL.
974 * sysdeps/unix/sysv/linux/i386/sigaction.c
975 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
976 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
977 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
978 Remove conditional code.
979 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
980 (__protocol_available): Remove #if 0 code.
981 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
983 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
984 * sysdeps/unix/sysv/linux/kernel-features.h
985 (__ASSUME_GETCWD_SYSCALL): Don't define.
986 (__ASSUME_REALTIME_SIGNALS): Likewise.
987 (__ASSUME_PREAD_SYSCALL): Likewise.
988 (__ASSUME_PWRITE_SYSCALL): Likewise.
989 (__ASSUME_POLL_SYSCALL): Likewise.
990 (__ASSUME_LCHOWN_SYSCALL): Likewise.
991 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
993 (__ASSUME_SIOCGIFNAME): Don't define.
994 (__ASSUME_MSG_NOSIGNAL): Likewise.
995 (__ASSUME_SENDFILE): Define unconditionally.
996 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
997 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
999 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
1000 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
1001 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
1002 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
1003 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
1004 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
1005 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
1006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
1007 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1008 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
1010 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1011 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
1013 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1014 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
1016 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1017 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
1019 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1020 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
1022 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1023 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
1025 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1026 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
1028 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1029 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1030 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
1031 Remove conditional code.
1032 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1033 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
1034 Remove conditional code.
1035 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1036 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
1037 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
1038 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
1039 Remove conditional code.
1040 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1041 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
1042 Remove conditional code.
1043 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1044 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
1045 Remove conditional code.
1046 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1047 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
1048 Remove conditional code.
1049 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1050 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
1051 Remove conditional code.
1052 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1053 * sysdeps/unix/sysv/linux/sh/pwrite64.c
1054 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1055 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1056 * sysdeps/unix/sysv/linux/sigaction.c
1057 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1058 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1059 * sysdeps/unix/sysv/linux/sigpending.c
1060 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1061 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1062 * sysdeps/unix/sysv/linux/sigprocmask.c
1063 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1064 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1065 * sysdeps/unix/sysv/linux/sigsuspend.c
1066 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1067 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1068 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1069 (__libc_missing_rt_sigs): Remove.
1070 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
1071 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
1072 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
1073 Remove conditional code.
1074 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
1075 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
1077 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
1078 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
1079 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
1080 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
1082 2012-05-14 Andreas Jaeger <aj@suse.de>
1084 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
1085 it's not used in glibc.
1086 (__coshm1): Likewise.
1087 (__acosh1p): Likewise.
1090 * manual/string.texi (Copying and Concatenation): Add missing
1091 variable in concat example.
1092 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
1094 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1097 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
1098 __builtin_clzl with __builtin_clzll.
1100 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1103 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
1106 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1108 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
1109 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
1110 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
1111 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
1113 2012-05-14 Mike Frysinger <vapier@gentoo.org>
1115 * NEWS: Update ia64 info.
1117 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
1119 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
1122 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
1124 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
1125 * sysdeps/unix/syscalls.list (dup3): Likewise.
1126 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
1127 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
1129 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
1131 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
1132 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
1134 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
1136 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
1138 (TLS_IE): Use mov/add instead of movq/addq to load thread
1140 (TLS_GD_PREFIX): New.
1143 2012-05-11 David S. Miller <davem@davemloft.net>
1145 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
1146 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
1147 (_FPU_SETCW): Likewise.
1149 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1151 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
1154 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
1157 * iconvdata/gb18030.c: Update tables.
1158 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
1159 characters specially.
1160 (BODY for TO_LOOP): Add encoding of missing ranges.
1162 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
1165 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
1166 * sysdeps/mach/hurd/dup3.c: Likewise.
1167 * sysdeps/mach/hurd/readlinkat.c: Likewise.
1168 * sysdeps/powerpc/memmove.c:: Likewise.
1170 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1172 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
1173 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
1175 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1177 * elf/elf.h (R_X86_64_RELATIVE64): New.
1178 (R_X86_64_NUM): Updated.
1179 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
1180 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
1181 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
1182 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
1183 tst-quad1pie tst-quad2pie
1184 (modules-names): Add tst-quadmod1 tst-quadmod2.
1185 ($(objpfx)tst-quad1): New dependency.
1186 ($(objpfx)tst-quad2): Likewise.
1187 ($(objpfx)tst-quad1pie): Likewise.
1188 ($(objpfx)tst-quad2pie): Likewise.
1189 * sysdeps/x86_64/tst-quad1.c: New file.
1190 * sysdeps/x86_64/tst-quad1pie.c: New file.
1191 * sysdeps/x86_64/tst-quad2.c: Likewise.
1192 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
1193 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
1194 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
1195 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
1196 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
1198 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1200 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
1201 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
1202 * streams/stropts.h (t_scalar_t): Define type.
1204 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
1205 (_PATH_PRESERVE): Set to "/var/lib".
1206 (_PATH_RWHODIR): Set to "/var/spool/rwho".
1208 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
1211 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
1212 if __dir_mkfile succeeded.
1214 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
1215 checking for _hurd_dtablesize. Unlock it right after having
1216 finished _hurd_dtable allocation.
1218 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1220 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
1221 * sysdeps/mach/hurd/configure: Regenerated.
1222 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
1223 special-casing to...
1224 * sysdeps/gnu/configure.in: ... this new file.
1225 * sysdeps/unix/sysv/linux/configure: Regenerated.
1226 * sysdeps/gnu/configure: New generated file.
1228 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
1229 for Linux: use nsec instead of usec, as well as:
1230 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
1231 members of type struct timespec.
1232 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
1234 (struct stat64): Likewise.
1235 (_STATBUF_ST_NSEC): New macro.
1236 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
1238 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
1239 __strtoul_internal rather than strtoul.
1241 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1243 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
1246 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1248 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
1249 which preserves existing values.
1250 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
1252 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1254 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
1255 TIMEOUT values. Return EINVAL for NFDS values either negative or
1256 greater than FD_SETSIZE.
1258 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1260 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
1261 allocated, call __vm_protect to finish enabling the existing space, and
1262 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
1263 allocate the remainder.
1265 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1267 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
1268 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
1270 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1272 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
1273 sysdeps/mach/hurd/readlink.c.
1275 * posix/tst-sysconf.c (posix_options): Only use
1276 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
1277 _POSIX_SYNCHRONIZED_IO when they are defined
1278 * sysdeps/mach/hurd/bits/posix_opt.h:
1279 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
1280 (_XOPEN_REALTIME): Undefine macro.
1281 (_XOPEN_REALTIME_THREADS): Undefine macro.
1282 (_XOPEN_SHM): Undefine macro.
1283 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
1285 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
1287 (_POSIX_ASYNC_IO): Undefine macro.
1288 (_POSIX_PRIORITIZED_IO): Undefine macro.
1289 (_POSIX_SPIN_LOCKS): Define macro to -1.
1291 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
1292 SA_NODEFER, SA_RESETHAND.
1293 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
1294 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
1297 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1299 * elf/Makefile (pldd-modules): Define unconditionally.
1301 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1303 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
1305 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1307 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
1308 Return ENOENT when name is empty.
1309 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
1311 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1313 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
1315 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
1317 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1319 Fix mlock in all cases except non-readable pages.
1320 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
1321 instead of VM_PROT_ALL as parameter to __vm_wire function.
1323 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
1324 (__mkdir): When path is `/', just fail with EEXIST.
1325 * sysdeps/mach/hurd/mkdirat.c: Likewise.
1327 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1329 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
1330 <sys/uio.h> (for writev).
1331 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
1332 and <sys/param.h> (for MIN).
1334 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1336 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
1337 REQUESTED_TIME. Properly set the remaining time and return EINTR
1340 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1342 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
1343 Depend on against $(link-rpcuserlibs).
1345 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1347 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
1348 (__libc_stack_end): Do not use attribute_relro.
1349 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
1350 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
1351 to libthread-provided value.
1352 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
1355 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1358 * bits/libc-lock.h (__libc_once_get): New macro.
1359 * sysdeps/mach/bits/libc-lock.h: Likewise.
1360 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
1361 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
1362 instead of using implementation details.
1364 * libio/fileops.c: Unconditionally include <kernel-features.h>.
1365 * libio/freopen.c: Likewise.
1366 * libio/freopen64.c: Likewise.
1367 * misc/syslog.c: Likewise.
1368 * nscd/connections.c: Likewise.
1369 * nscd/netgroupcache.c: Likewise.
1370 * sysdeps/posix/getcwd.c: Likewise.
1372 2012-05-10 Roland McGrath <roland@hack.frob.com>
1374 * math/w_ilogbf.c: Add #include <limits.h>.
1376 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1378 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
1379 path instead of returning without unlocking.
1381 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
1382 immediate-write ioctls.
1383 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
1385 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1387 * sysdeps/mach/hurd/i386/init-first.c (init): Use
1388 __builtin_frame_address instead of making assumptions about the
1389 location of the return address relative to DATA. Force early load of
1391 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
1392 __builtin_frame_address.
1395 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
1396 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
1397 implement dup3 and do some further code clean-ups.
1398 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
1399 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
1401 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1403 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
1405 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
1406 HURD_CRITICAL_END around holding _hurd_dtable_lock.
1407 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
1408 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
1409 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
1412 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
1413 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
1414 when handler == SIG_ERR, not when handler != SIG_ERR.
1416 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1418 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
1419 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
1422 accept4 for GNU Hurd.
1423 * include/sys/socket.h (__libc_accept4): New prototype.
1424 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
1425 to implement __libc_accept4.
1426 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
1428 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
1430 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
1431 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
1432 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
1435 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1437 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
1439 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1441 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
1442 assertion on O_CLOEXEC flag.
1443 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
1444 * hurd/intern-fd.c: Likewise.
1445 * hurd/port2fd.c: Likewise.
1447 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1450 * bits/in.h (IPV6_PKTINFO): Define new macro.
1451 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
1453 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1458 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
1459 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
1460 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
1461 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
1462 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1463 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
1464 * math/libm-test.inc (logb_test) : Additional logb tests.
1466 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
1467 Andreas Jaeger <aj@suse.de>
1469 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
1470 * configure: Regenerated.
1471 * config.h.in (LINK_OBSOLETE_RPC): New macro.
1472 * config.make.in (link-obsolete-rpc): New substituted variable.
1473 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
1474 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
1475 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
1476 (shared-only-routines): Don't set it under [link-obsolete-rpc],
1477 so that libc.a contains the symbols.
1478 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
1479 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
1480 * sunrpc/auth_none.c: Likewise.
1481 * sunrpc/auth_unix.c: Likewise.
1482 * sunrpc/authdes_prot.c: Likewise.
1483 * sunrpc/authuxprot.c: Likewise.
1484 * sunrpc/clnt_gen.c: Likewise.
1485 * sunrpc/clnt_perr.c: Likewise.
1486 * sunrpc/clnt_raw.c: Likewise.
1487 * sunrpc/clnt_simp.c: Likewise.
1488 * sunrpc/clnt_tcp.c: Likewise.
1489 * sunrpc/clnt_udp.c: Likewise.
1490 * sunrpc/clnt_unix.c: Likewise.
1491 * sunrpc/des_crypt.c: Likewise.
1492 * sunrpc/des_soft.c: Likewise.
1493 * sunrpc/get_myaddr.c: Likewise.
1494 * sunrpc/key_call.c: Likewise.
1495 * sunrpc/key_prot.c: Likewise.
1496 * sunrpc/netname.c: Likewise.
1497 * sunrpc/pm_getmaps.c: Likewise.
1498 * sunrpc/pm_getport.c: Likewise.
1499 * sunrpc/pmap_clnt.c: Likewise.
1500 * sunrpc/pmap_prot.c: Likewise.
1501 * sunrpc/pmap_prot2.c: Likewise.
1502 * sunrpc/pmap_rmt.c: Likewise.
1503 * sunrpc/publickey.c: Likewise.
1504 * sunrpc/rpc_cmsg.c: Likewise.
1505 * sunrpc/rpc_common.c: Likewise.
1506 * sunrpc/rpc_dtable.c: Likewise.
1507 * sunrpc/rpc_prot.c: Likewise.
1508 * sunrpc/rpc_thread.c: Likewise.
1509 * sunrpc/rtime.c: Likewise.
1510 * sunrpc/svc.c: Likewise.
1511 * sunrpc/svc_auth.c: Likewise.
1512 * sunrpc/svc_raw.c: Likewise.
1513 * sunrpc/svc_run.c: Likewise.
1514 * sunrpc/svc_tcp.c: Likewise.
1515 * sunrpc/svc_udp.c: Likewise.
1516 * sunrpc/svc_unix.c: Likewise.
1517 * sunrpc/svcauth_des.c: Likewise.
1518 * sunrpc/xcrypt.c: Likewise.
1519 * sunrpc/xdr.c: Likewise.
1520 * sunrpc/xdr_array.c: Likewise.
1521 * sunrpc/xdr_float.c: Likewise.
1522 * sunrpc/xdr_intXX_t.c: Likewise.
1523 * sunrpc/xdr_mem.c: Likewise.
1524 * sunrpc/xdr_rec.c: Likewise.
1525 * sunrpc/xdr_ref.c: Likewise.
1526 * sunrpc/xdr_sizeof.c: Likewise.
1527 * sunrpc/xdr_stdio.c: Likewise.
1529 2012-05-10 Roland McGrath <roland@hack.frob.com>
1531 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
1532 change. Update copyright years.
1534 2012-05-10 Joseph Myers <joseph@codesourcery.com>
1536 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
1538 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
1539 Joseph Myers <joseph@codesourcery.com>
1540 Paul Pluzhnikov <ppluzhnikov@google.com>
1543 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
1545 [cross-compiling] (extra-libs): Likewise.
1546 [cross-compiling] (extra-libs-others): Likewise.
1547 [cross-compiling] (librpcsvc-routines): Likewise.
1548 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
1549 [cross-compiling] (omit-deps): Likewise.
1550 (sunrpc-CPPFLAGS): New variable.
1551 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
1552 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
1553 (cross-rpcgen-objs): New variable.
1554 (extra-objs): Append $(cross-rpcgen-objs).
1555 ($(cross-rpcgen-objs)): New rule.
1556 ($(objpfx)cross-rpcgen): Likewise.
1557 (rpcgen-cmd): Define to use $(built-program-file). Expand
1559 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
1560 ($(objpfx)x%.stmp): Likewise.
1561 * sunrpc/proto.h [IS_IN_build] (_): Define.
1562 [IS_IN_build] (_libc_intl_domainname): Likewise.
1564 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1566 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
1567 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
1568 and R_X86_64_TPOFF64.
1570 2012-05-10 Joseph Myers <joseph@codesourcery.com>
1572 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
1573 sysdeps/unix/sysv/syscalls.list.
1576 * sysdeps/unix/sysv/syscalls.list: Remove file.
1578 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
1581 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
1582 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
1583 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
1584 (__LC_IDENTIFICATION): Make these macros useful in #if
1585 expressions, as required by C99.
1587 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
1589 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
1590 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
1593 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
1595 * stdlib/longlong.h: Updated from GCC.
1597 2012-05-09 Andreas Jaeger <aj@suse.de>
1599 * nscd/nscd.c (run_modes): Make named enum, reorder so that
1600 default is first entry.
1601 (run_mode): Set type.
1602 (main): Remove informal message about syslog.
1603 (options): Fix typo.
1606 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
1609 (llrintf): Likewise.
1613 (nearbyint): Likewise.
1614 (nearbyintf): Likewise.
1616 2012-05-09 Andreas Jaeger <aj@suse.de>
1617 Pedro Alves <palves@redhat.com>
1619 * nscd/nscd.c (run_mode): Use enum.
1620 (main): Cleanup coding style issue.
1622 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
1623 Andreas Jaeger <aj@suse.de>
1625 * nscd/nscd.c (go_background): Replaced with...
1626 (run_mode): ... this.
1627 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
1628 (options): Add -F --foreground.
1629 (main): Implement it.
1630 (parse_opt): Parse it.
1632 2012-05-09 Andreas Jaeger <aj@suse.de>
1635 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
1636 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
1637 -Wconversion warning.
1638 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
1641 2012-05-09 Joseph Myers <joseph@codesourcery.com>
1643 * conform/data/locale.h-data (NULL): Use macro-constant. Require
1645 (LC_ALL): Use macro-int-constant.
1646 (LC_COLLATE): Likewise.
1647 (LC_CTYPE): Likewise.
1648 (LC_MESSAGES): Likewise.
1649 (LC_MONETARY): Likewise.
1650 (LC_NUMERIC): Likewise.
1651 (LC_TIME): Likewise.
1652 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
1653 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
1654 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1655 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
1657 [C99-based standards] (float_t): Expect type.
1658 [C99-based standards] (double_t): Expect type.
1659 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
1661 [C99-based standards] (HUGE_VALL): Likewise.
1662 [C99-based standards] (INFINITY): Likewise.
1663 [C99-based standards] (NAN): Likewise.
1664 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
1665 [C99-based standards] (FP_NAN): Likewise.
1666 [C99-based standards] (FP_NORMAL): Likewise.
1667 [C99-based standards] (FP_SUBNORMAL): Likewise.
1668 [C99-based standards] (FP_ZERO): Likewise.
1669 [C99-based standards] (FP_FAST_FMA): Use
1670 optional-macro-int-constant. Specify type. Require == 1.
1671 [C99-based standards] (FP_FAST_FMAF): Likewise.
1672 [C99-based standards] (FP_FAST_FMAL): Likewise.
1673 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
1674 [C99-based standards] (FP_ILOGBNAN): Likewise.
1675 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
1677 [C99-based standards] (MATH_ERREXCEPT): Likewise.
1678 [C99-based standards] (math_errhandling): Specify type.
1679 [ISO99 || ISO11] (signgam): Do not allow.
1680 [non-C99-based standards] (copysignf): Do not allow.
1681 [non-C99-based standards] (exp2f): Likewise.
1682 [non-C99-based standards] (log2f): Likewise.
1683 [non-C99-based standards] (modff): Allow.
1684 [non-C99-based standards] (erff): Do not allow.
1685 [non-C99-based standards] (erfcf): Likewise.
1686 [non-C99-based standards] (gammaf): Likewise.
1687 [non-C99-based standards] (hypotf): Likewise.
1688 [non-C99-based standards] (j0f): Likewise.
1689 [non-C99-based standards] (j1f): Likewise.
1690 [non-C99-based standards] (jnf): Likewise.
1691 [non-C99-based standards] (lgammaf): Likewise.
1692 [non-C99-based standards] (tgammaf): Likewise.
1693 [non-C99-based standards] (y0f): Likewise.
1694 [non-C99-based standards] (y1f): Likewise.
1695 [non-C99-based standards] (ynf): Likewise.
1696 [non-C99-based standards] (isnanf): Likewise.
1697 [non-C99-based standards] (acoshf): Likewise.
1698 [non-C99-based standards] (asinhf): Likewise.
1699 [non-C99-based standards] (atanhf): Likewise.
1700 [non-C99-based standards] (cbrtf): Likewise.
1701 [non-C99-based standards] (expm1f): Likewise.
1702 [non-C99-based standards] (ilogbf): Likewise.
1703 [non-C99-based standards] (log1pf): Likewise.
1704 [non-C99-based standards] (logbf): Likewise.
1705 [non-C99-based standards] (nextafterf): Likewise.
1706 [non-C99-based standards] (remainderf): Likewise.
1707 [non-C99-based standards] (rintf): Likewise.
1708 [non-C99-based standards] (scalbf): Likewise.
1709 [non-C99-based standards] (copysignl): Likewise.
1710 [non-C99-based standards] (exp2l): Likewise.
1711 [non-C99-based standards] (log2l): Likewise.
1712 [non-C99-based standards] (modfl): Allow.
1713 [non-C99-based standards] (erfl): Do not allow.
1714 [non-C99-based standards] (erfcl): Likewise.
1715 [non-C99-based standards] (gammal): Likewise.
1716 [non-C99-based standards] (hypotl): Likewise.
1717 [non-C99-based standards] (j0l): Likewise.
1718 [non-C99-based standards] (j1l): Likewise.
1719 [non-C99-based standards] (jnl): Likewise.
1720 [non-C99-based standards] (lgammal): Likewise.
1721 [non-C99-based standards] (tgammal): Likewise.
1722 [non-C99-based standards] (y0l): Likewise.
1723 [non-C99-based standards] (y1l): Likewise.
1724 [non-C99-based standards] (ynl): Likewise.
1725 [non-C99-based standards] (isnanl): Likewise.
1726 [non-C99-based standards] (acoshl): Likewise.
1727 [non-C99-based standards] (asinhl): Likewise.
1728 [non-C99-based standards] (atanhl): Likewise.
1729 [non-C99-based standards] (cbrtl): Likewise.
1730 [non-C99-based standards] (expm1l): Likewise.
1731 [non-C99-based standards] (ilogbl): Likewise.
1732 [non-C99-based standards] (log1pl): Likewise.
1733 [non-C99-based standards] (logbl): Likewise.
1734 [non-C99-based standards] (nextafterl): Likewise.
1735 [non-C99-based standards] (remainderl): Likewise.
1736 [non-C99-based standards] (rintl): Likewise.
1737 [non-C99-based standards] (scalbl): Likewise.
1738 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1739 [non-C99-based standards] (FP_*): Do not allow.
1740 [C99-based standards] (FP_*): Change to
1741 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
1742 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1744 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
1745 (SIG_ERR): Likewise.
1746 [X/Open-based standards] (SIG_HOLD): Likewise.
1747 (SIG_IGN): Likewise.
1748 (SIGABRT): Use macro-int-constant. Specify type. Require
1753 (SIGSEGV): Likewise.
1755 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
1756 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
1757 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
1758 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
1759 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
1760 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
1761 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
1762 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
1763 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
1764 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
1765 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
1766 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
1767 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
1768 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
1769 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
1770 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
1771 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
1772 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
1773 [X/Open-based standards] (SIGTRAP): Likewise.
1774 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
1775 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
1776 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
1777 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
1778 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1781 2012-05-08 Ian Wienand <ianw@vmware.com>
1784 * time/tzset.c (__tzset_parse_tz): Update default rules for
1785 daylight time changes in the Energy Policy Act of 2005.
1787 2012-05-09 Andreas Jaeger <aj@suse.de>
1790 * elf/ldconfig.c (parse_conf): Change string to make clear that
1791 ldconfig only issued a warning if ld.so.conf does not exist.
1793 2012-05-08 David S. Miller <davem@davemloft.net>
1795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
1796 movxtod instead of popping the value on the stack.
1798 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1800 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
1802 * config.h.in: Add HAVE_ARM_PCS_VFP.
1804 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
1807 * include/features.h: Warn if user requests __FORTIFY_SOURCE
1808 checking but the checks are disabled for any reason.
1810 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
1812 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
1813 and ELF64_R_TYPE with ELFW(R_TYPE).
1815 2012-05-08 Joseph Myers <joseph@codesourcery.com>
1817 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
1820 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
1821 (settimeofday): Likewise.
1823 2012-05-08 Mike Frysinger <vapier@gentoo.org>
1825 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
1826 a struct th_u2 inside the union, and move tu_block/tu_code into
1827 a new th_u3 union of tu_block/tu_code inside of that. Move
1828 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
1829 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
1830 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
1831 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
1832 (th_stuff): Change to th_u1.tu_stuff.
1834 (th_msg): Change to th_u1.th_u2.tu_data.
1836 2012-05-07 David S. Miller <davem@davemloft.net>
1838 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1841 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
1842 (SETUP_PIC_REG): Use it.
1843 (SETUP_PIC_REG_LEAF): Use it.
1845 2012-05-07 Joseph Myers <joseph@codesourcery.com>
1849 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1851 (EXPL_FINITE): Likewise.
1853 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
1854 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
1856 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1858 (EXPL_FINITE): Likewise.
1860 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
1861 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
1863 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
1864 test of -max_value argument for long double.
1865 * sysdeps/i386/fpu/libm-test-ulps: Update.
1866 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1868 2012-05-06 David S. Miller <davem@davemloft.net>
1870 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
1871 quad soft-float symbols whose references which are compiler
1873 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
1875 2012-05-06 Joseph Myers <joseph@codesourcery.com>
1879 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1881 (EXPL_FINITE): Likewise.
1885 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
1886 Adjust comments for base varying.
1887 (__expl_finite): Change alias to EXPL_FINITE.
1888 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
1890 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
1891 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1892 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1893 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
1894 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1896 (EXPL_FINITE): Likewise.
1900 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
1901 Adjust comments for base varying.
1902 (__expl_finite): Change alias to EXPL_FINITE.
1903 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
1905 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1908 * math/libm-test.inc (check_float_internal): Correct ulp
1909 calculation for subnormal expected results.
1911 2012-05-06 Andreas Jaeger <aj@suse.de>
1913 * Makeconfig (+math-flags): New, set to -frounding-math.
1914 (+cflags): Add +math-flags so that all of glibc gets compiled with
1917 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
1919 2012-05-05 Joseph Myers <joseph@codesourcery.com>
1921 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
1927 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
1928 (__ieee754_expl): Allow for and saturate large arguments.
1929 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
1930 (u_threshold): Likewise.
1931 (__exp): Call __ieee754_exp before checking for overflow and
1933 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
1934 (u_threshold): Likewise.
1935 (__expf): Call __ieee754_expf before checking for overflow and
1937 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
1938 (u_threshold): Likewise.
1939 (__expl): Call __ieee754_expl before checking for overflow and
1941 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
1942 (__ieee754_expl): Allow for and saturate large arguments.
1943 * math/libm-test.inc (exp_test): Add another test. Do not allow
1944 missing overflow exception on overflow.
1945 (expm1_test): Do not allow missing overflow exception on overflow.
1947 * sysdeps/i386/fpu/e_expl.c: Move to ...
1948 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
1949 rather than using inline asm.
1950 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
1951 * sysdeps/x86_64/fpu/e_expl.S: Copy from
1952 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
1954 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
1961 2012-05-04 Joseph Myers <joseph@codesourcery.com>
1963 * sysdeps/unix/syscalls.list (adjtime): Add entry from
1964 sysdeps/unix/common/syscalls.list.
1967 (ftruncate): Likewise.
1968 (getrusage): Likewise.
1969 (gettimeofday): Likewise.
1970 (setpgid): Likewise.
1971 (setregid): Likewise.
1972 (setreuid): Likewise.
1973 (sigaction): Likewise.
1974 (truncate): Likewise.
1975 (vhangup): Likewise.
1976 * sysdeps/unix/common/syscalls.list: Remove file.
1977 * sysdeps/unix/bsd/Implies: Don't include unix/common.
1978 * sysdeps/unix/sysv/linux/Implies: Likewise.
1980 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
1982 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
1983 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
1984 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
1986 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
1988 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
1990 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
1991 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
1993 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
1994 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
1996 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
1997 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
1999 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
2000 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
2002 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
2003 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
2005 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
2006 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
2008 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
2010 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
2012 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
2014 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
2016 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
2017 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
2019 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
2021 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
2023 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
2025 2012-05-04 Joseph Myers <joseph@codesourcery.com>
2027 * sysdeps/unix/common/bits/dirent.h: Remove file.
2028 * sysdeps/unix/common/bits/fcntl.h: Likewise.
2030 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
2031 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
2032 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
2033 * sysdeps/unix/bsd/isatty.c: Likewise.
2034 * sysdeps/unix/bsd/tcdrain.c: Likewise.
2035 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
2036 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
2038 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2041 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
2042 long double comparison inaccuracies.
2043 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
2044 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2046 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
2048 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
2049 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
2051 2012-05-04 Joseph Myers <joseph@codesourcery.com>
2054 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
2055 nonzero digits before rounding a hex value.
2056 * stdlib/tst-strtod.c (tests): Add another test.
2058 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2060 * sysdeps/s390/fpu/libm-test-ulps: Update.
2062 2012-05-03 Andreas Jaeger <aj@suse.de>
2064 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
2065 does not get optimized out.
2066 (malloc_opt_barrier): New.
2068 2012-05-03 Andreas Jaeger <aj@suse.de>
2069 Roland McGrath <roland@hack.frob.com>
2071 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
2072 intermediate file deletion.
2073 (generated): Add .symlist files.
2075 2012-05-03 Joseph Myers <joseph@codesourcery.com>
2078 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
2079 Redirect under this condition.
2080 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
2081 [__USE_GNU] (__dprintf_chk): Not under this condition.
2082 [__USE_GNU] (__vdprintf_chk): Likewise.
2083 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
2084 under this condition.
2085 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
2086 [__USE_XOPEN2K8] (dprintf): Define under this condition.
2087 [__USE_XOPEN2K8] (vdprintf): Likewise.
2088 [__USE_GNU] (__dprintf_chk): Not under this condition.
2089 [__USE_GNU] (__vdprintf_chk): Likewise.
2090 [__USE_GNU] (dprintf): Likewise.
2091 [__USE_GNU] (vdprintf): Likewise.
2093 2012-05-03 Roland McGrath <roland@hack.frob.com>
2095 * elf/Makefile (common-generated): Set this instead of generated for
2096 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
2097 $(all-built-dso)-derived lists.
2099 2012-05-03 Andreas Jaeger <aj@suse.de>
2101 * sysdeps/i386/fpu/libm-test-ulps: Update.
2105 * scripts/gen-FAQ.pl: Likewise.
2106 * manual/install.texi (Installation): Point to online location of
2108 * Makefile (files-for-dist): Remove FAQ.
2111 2012-05-02 Allan McRae <allan@archlinux.org>
2113 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
2114 (LDFLAGS-reldepmod5.so): Likewise.
2115 (LDFLAGS-reldep6mod1.so): Likewise.
2116 (LDFLAGS-reldep6mod4.so): Likewise.
2117 (LDFLAGS-reldep8mod3.so): Likewise.
2118 (LDFLAGS-unload4mod1.so): Likewise.
2119 (LDFLAGS-unload4mod2.so): Likewise.
2120 (LDFLAGS-tst-initorder): Likewise.
2121 (LDFLAGS-tst-initordera2.so): Likewise.
2122 (LDFLAGS-tst-initordera3.so): Likewise.
2123 (LDFLAGS-tst-initordera4.so): Likewise.
2124 (LDFLAGS-tst-initorderb2.so): Likewise.
2125 (LDFLAGS-noload): Likewise.
2126 (LDFLAGS-next): Likewise.
2127 (LDFLAGS-order2mod1.so): Likewise.
2128 (LDFLAGS-order2mod2.so): Likewise.
2129 (LDFLAGS-tst-initorder2): Likewise.
2130 (LDFLAGS-tst-initorder2a.so): Likewise.
2131 (LDFLAGS-tst-initorder2b.so): Likewise.
2132 (LDFLAGS-tst-initorder2c.so): Likewise.
2133 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
2135 2012-05-02 David S. Miller <davem@davemloft.net>
2137 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2139 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
2142 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
2144 2012-05-02 Andreas Jaeger <aj@suse.de>
2146 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
2147 since we manipulate rounding mode.
2148 (CPPFLAGS-test-idouble.c): Likewise.
2149 (CPPFLAGS-test-ifloat.c): Likewise.
2150 (CFLAGS-test-ldouble.c): Likewise.
2151 (CFLAGS-test-double.c): Likewise.
2152 (CFLAGS-test-float.c): Likewise.
2153 (CFLAGS-test-misc.c): Likewise.
2154 (CFLAGS-test-test-fenv.c): Likewise.
2156 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2160 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
2161 comparisons to determine direction to adjust input.
2163 2012-05-01 Roland McGrath <roland@hack.frob.com>
2165 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
2166 output to the target.
2168 * scripts/localplt.awk: New file.
2169 * elf/Makefile ($(objpfx)check-localplt): Target removed.
2170 (check-localplt-CFLAGS): Variable removed.
2171 ($(all-built-dso:=.jmprel)): New static pattern rule.
2172 (generated): Add those targets.
2173 (localplt-built-dso): New variable.
2174 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
2176 * elf/check-localplt.c: File removed.
2178 * scripts/check-execstack.awk: New file.
2179 * elf/Makefile ($(objpfx)check-execstack): Target removed.
2180 (check-execstack-CFLAGS): Variable removed.
2181 ($(objpfx)check-execstack.h): Target removed.
2182 ($(objpfx)execstack-default): New target.
2183 (generated): Add that instead of check-execstack.h.
2184 ($(all-built-dso:=.phdr)): New static pattern rule.
2185 (generated): Add those targets.
2186 * elf/check-execstack.c: File removed.
2188 * scripts/check-textrel.awk: New file.
2189 * elf/Makefile ($(objpfx)check-textrel): Target removed.
2190 (check-textrel-CFLAGS): Variable removed.
2191 (all-built-dso): Use := to define.o
2192 ($(all-built-dso:=.dyn)): New static pattern rule.
2193 (generated): Add those targets.
2194 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
2195 * config.make.in (READELF): New substituted variable.
2196 * elf/check-textrel.c: File removed.
2198 2012-05-01 Joseph Myers <joseph@codesourcery.com>
2200 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2202 * conform/data/ctype.h-data [C99-based standards] (isblank):
2204 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
2205 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
2206 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2207 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
2208 Specify type. Require positive value.
2211 [ISO || POSIX] (EILSEQ): Do not expect.
2212 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
2213 Specify type. Require positive value.
2214 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
2215 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
2216 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
2217 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
2218 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
2219 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
2220 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
2221 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
2222 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
2223 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
2224 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
2225 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
2226 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
2227 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
2228 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
2229 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
2230 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
2231 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
2232 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
2233 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
2234 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
2235 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
2236 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
2237 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
2238 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
2239 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
2240 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
2241 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
2242 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
2243 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
2244 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
2245 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
2246 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
2247 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
2248 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
2249 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
2250 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
2251 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
2252 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
2253 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
2254 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
2255 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
2256 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
2257 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
2258 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
2259 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
2260 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
2261 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
2262 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
2263 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
2264 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
2265 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
2266 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
2267 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
2268 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
2269 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
2270 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
2271 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
2272 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
2273 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
2274 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
2275 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
2276 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
2277 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
2278 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
2279 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
2280 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
2281 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
2282 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
2283 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
2284 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
2285 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
2286 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
2287 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
2288 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
2289 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
2290 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
2292 (FLT_ROUNDS): Expect as macro, not constant.
2293 (FLT_MANT_DIG): Use macro-int-constant.
2294 (DBL_MANT_DIG): Likewise.
2295 (LDBL_MANT_DIG): Likewise.
2296 (FLT_DIG): Likewise.
2297 (DBL_DIG): Likewise.
2298 (LDBL_DIG): Likewise.
2299 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
2300 (DBL_MIN_EXP): Likewise.
2301 (LDBL_MIN_EXP): Likewise.
2302 (FLT_MAX_EXP): Use macro-int-constant.
2303 (DBL_MAX_EXP): Likewise.
2304 (LDBL_MAX_EXP): Likewise.
2305 (FLT_MAX_10_EXP): Likewise.
2306 (DBL_MAX_10_EXP): Likewise.
2307 (LDBL_MAX_10_EXP): Likewise.
2308 (FLT_MAX): Use macro-constant.
2309 (DBL_MAX): Likewise.
2310 (LDBL_MAX): Likewise.
2311 (FLT_EPSILON): Use macro-constant. Give upper bound.
2312 (DBL_EPSILON): Likewise.
2313 (LDBL_EPSILON): Likewise.
2314 (FLT_MIN): Likewise.
2315 (DBL_MIN): Likewise.
2316 (LDBL_MIN): Likewise.
2317 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
2318 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
2319 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
2320 [ISO11] (FLT_HAS_SUBNORM): Likewise.
2321 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
2322 [ISO11] (DBL_DECIMAL_DIG): Likewise.
2323 [ISO11] (FLT_DECIMAL_DIG): Likewise.
2324 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
2325 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
2326 [ISO11] (FLT_TRUE_MIN): Likewise.
2327 [ISO11] (LDBL_TRUE_MIN): Likewise.
2328 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2329 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
2330 (SCHAR_MIN): Use macro-int-constant. Specify type.
2331 (SCHAR_MAX): Likewise.
2332 (UCHAR_MAX): Likewise.
2333 (CHAR_MIN): Likewise.
2334 (CHAR_MAX): Likewise.
2335 (MB_LEN_MAX): Use macro-int-constant.
2336 (SHRT_MIN): Use macro-int-constant. Specify type.
2337 (SHRT_MAX): Likewise.
2338 (USHRT_MAX): Likewise.
2339 (INT_MAX): Likewise.
2340 (INT_MIN): Use macro-int-constant. Specify type. Make upper
2342 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
2344 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
2346 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
2347 bound negative. Suffix upper bound with "L".
2348 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
2350 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
2352 [C99-based standards] (LLONG_MAX): Likewise.
2353 [C99-based standards] (ULLONG_MAX): Likewise.
2354 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
2356 [ISO11] (max_align_t): Require type.
2357 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2359 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
2360 from $CFLAGS, without defining away __attribute__ calls.
2361 (checknamespace): Use $CFLAGS_namespace.
2363 * conform/conformtest.pl (@keywords): Only include C99 keywords
2364 for standards based on C99 or C11.
2366 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
2368 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
2371 * conform/conformtest.pl: Handle "macro-int-constant" and test for
2372 usability of symbols in #if.
2374 * conform/conformtest.pl: If macro or constant types start
2375 "promoted:", expect the symbol to be of the following type
2376 promoted by the integer promotions.
2378 * conform/conformtest.pl: Parse all "constant" and "macro" lines
2379 in one place. Also handle "macro-constant".
2381 * conform/conformtest.pl: Only accept expected macro values with
2382 "==". Parse all "macro" lines in one place.
2383 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
2385 * conform/conformtest.pl: Handle braced types on "constant" lines
2386 instead of handling "typed-constant".
2387 * conform/data/signal.h-data: Use "constant" instead of
2390 * conform/conformtest.pl: Handle "optional-" at start of lines in
2391 one place rather than duplicating several cases. Handle each
2392 format of "macro" line with initial "optional-".
2394 * conform/conformtest.pl: Only accept expected constant or
2395 optional-constant values with "==". Parse all "constant" lines in
2396 one place. Parse all "optional-constant" lines in one place.
2397 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
2398 * conform/data/fmtmsg.h-data: Likewise.
2399 * conform/data/netinet/in.h-data: Likewise.
2400 * conform/data/tar.h-data: Likewise.
2401 * conform/data/limits.h-data: Use "==" form on "constant" and
2402 "optional-constant" lines.
2404 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
2405 Use -std=c99 for XOPEN2K.
2406 (@knownproblems): Remove.
2407 (newtoken): Don't check %isknown.
2409 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
2410 Do not expect macro.
2411 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
2412 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
2413 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
2414 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
2415 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
2416 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
2417 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
2418 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
2419 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
2420 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
2421 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
2422 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
2423 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
2424 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
2425 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
2426 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
2427 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
2428 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
2429 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
2430 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
2431 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
2432 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
2433 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
2434 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
2435 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
2436 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
2437 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
2438 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
2439 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
2440 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
2441 [XPG3] (acosh): Likewise.
2442 [XPG3] (asinh): Likewise.
2443 [XPG3] (atanh): Likewise.
2444 [XPG3] (cbrt): Likewise.
2445 [XPG3] (expm1): Likewise.
2446 [XPG3] (ilogb): Likewise.
2447 [XPG3] (log1p): Likewise.
2448 [XPG3] (logb): Likewise.
2449 [XPG3] (nextafter): Likewise.
2450 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
2451 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
2452 [XPG3] (remainder): Likewise.
2453 [XPG3] (rint): Likewise.
2454 [XPG3 || XPG4 || UNIX98] (round): Likewise.
2455 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
2456 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
2457 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
2458 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
2459 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
2460 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
2461 [UNIX98 || XOPEN2K] (scalb): Expect.
2462 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
2463 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
2464 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
2465 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
2466 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
2467 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
2468 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
2469 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
2470 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
2471 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
2472 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
2473 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
2474 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
2475 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
2476 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
2477 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
2478 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
2479 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
2480 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
2481 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
2482 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
2483 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
2484 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
2485 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
2486 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
2487 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
2488 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
2489 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
2490 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
2491 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
2492 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
2493 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
2494 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
2495 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
2496 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
2497 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
2498 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
2499 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
2500 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
2501 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
2502 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
2503 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
2504 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
2505 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
2506 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
2507 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
2508 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
2509 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
2510 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
2511 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
2512 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
2513 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
2514 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
2515 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
2516 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
2517 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
2518 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
2519 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
2520 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
2521 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
2522 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
2523 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
2524 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
2525 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
2526 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
2527 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
2528 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
2529 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
2530 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
2531 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
2532 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
2533 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
2534 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
2535 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
2536 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
2537 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
2538 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
2539 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
2540 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
2541 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
2542 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
2543 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
2544 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
2545 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
2546 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
2547 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
2548 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
2549 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
2550 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
2551 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
2552 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
2553 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
2554 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
2555 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
2556 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
2557 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
2558 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
2559 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
2560 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
2561 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
2562 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
2563 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
2564 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
2565 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
2566 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
2567 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
2568 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
2569 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
2570 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
2571 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
2572 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
2573 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
2574 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
2575 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
2576 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
2577 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
2578 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
2579 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
2580 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
2581 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
2582 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
2583 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
2584 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
2585 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
2586 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
2587 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
2588 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
2589 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
2590 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
2591 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
2592 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
2593 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
2594 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
2595 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
2596 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
2597 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
2598 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
2600 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
2601 _XOPEN_SOURCE_EXTENDED for XPG4.
2603 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
2605 * Makeconfig (localtime): Remove variable.
2606 (inst_localtime-file): Likewise.
2608 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
2610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
2612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
2616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
2620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
2622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
2626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2629 2012-05-01 Joseph Myers <joseph@codesourcery.com>
2633 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
2634 comparisons to determine direction to adjust input.
2635 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
2636 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
2637 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
2639 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
2641 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
2643 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
2644 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
2646 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
2648 * math/libm-test.inc (nexttoward_test): Add more tests.
2650 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
2653 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
2654 in version GLIBC_2.1, not GLIBC_2.0.
2655 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
2658 2012-04-30 Joseph Myers <joseph@codesourcery.com>
2661 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
2663 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
2664 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
2665 * math/libm-test.inc (acos_test): Add more tests.
2666 (asin_test): Likewise.
2667 * sysdeps/i386/fpu/libm-test-ulps: Update.
2668 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2671 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
2673 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
2674 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
2675 * math/libm-test.inc (acos_test_tonearest): New function.
2676 (acos_test_towardzero): Likewise.
2677 (acos_test_downward): Likewise.
2678 (acos_test_upward): Likewise.
2679 (asin_test_tonearest): Likewise.
2680 (asin_test_towardzero): Likewise.
2681 (asin_test_downward): Likewise.
2682 (asin_test_upward): Likewise.
2683 (main): Call the new functions.
2684 * sysdeps/i386/fpu/libm-test-ulps: Update.
2685 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2689 * math/e_exp10.c: Include <float.h>.
2690 (__ieee754_exp10): Handle underflow here rather than multiplying
2691 large negative argument by M_LN10.
2692 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
2694 * math/e_exp10l.c: Include <float.h>.
2695 (__ieee754_exp10l): Handle underflow here rather than multiplying
2696 large negative argument by M_LN10l.
2697 * math/libm-test.inc (exp10_test): Add another test. Do not allow
2698 spurious overflow exception on underflow.
2700 2012-04-29 Marek Polacek <polacek@redhat.com>
2702 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
2703 (__fortify_function): New macro.
2704 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
2705 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
2706 __extern_always_inline.
2707 * libio/bits/stdio2.h: Likewise.
2708 * libio/bits/stdio.h: Likewise.
2709 * string/string.h: Likewise.
2710 * string/bits/string3.h: Likewise.
2711 * include/stdio.h: Likewise.
2712 * stdlib/bits/stdlib.h: Likewise.
2713 * stdlib/stdlib.h: Likewise.
2714 * rt/bits/mqueue2.h: Likewise.
2715 * rt/mqueue.h: Likewise.
2716 * posix/bits/unistd.h: Likewise.
2717 * posix/unistd.h: Likewise.
2718 * io/bits/poll2.h: Likewise.
2719 * io/bits/fcntl2.h: Likewise.
2720 * io/fcntl.h: Likewise.
2721 * io/sys/poll.h: Likewise.
2722 * misc/bits/syslog.h: Likewise.
2723 * misc/bits/syslog-ldbl.h: Likewise.
2724 * misc/sys/syslog.h: Likewise.
2725 * socket/bits/socket2.h: Likewise.
2726 * socket/sys/socket.h: Likewise.
2727 * debug/tst-chk1.c: Likewise.
2728 * wcsmbs/bits/wchar2.h: Likewise.
2729 * wcsmbs/bits/wchar-ldbl.h: Likewise.
2730 * wcsmbs/wchar.h: Likewise.
2732 2012-04-29 Andreas Jaeger <aj@suse.de>
2734 * Makerules (tests): Remove enable-check-abi protection.
2735 (check-abi-warn): Remove.
2736 (check-abi-%): Remove check-abi-warn usage.
2738 * configure.in: Remove check-abi configure option.
2739 * configure: Regenerated.
2740 * config.make.in (enable-check-abi): Remove.
2742 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
2745 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
2746 double functions to double *_finite functions.
2749 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
2750 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
2752 * stdio-common/Makefile (tests): Add tst-sprintf3.
2753 * stdio-common/tst-sprintf3.c: New file.
2755 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
2756 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
2758 2012-04-28 Joseph Myers <joseph@codesourcery.com>
2760 * conform/conformtest.pl: Remove duplicate typed-constant
2763 2012-04-28 David S. Miller <davem@davemloft.net>
2765 * Makerules (%.abilist): Add vpath on sysdep_dirs.
2766 (check-abi-%): Remove AWK script prerequisite and explicit
2768 (check-abi): Rewrite to just diff the symlist with the abilist.
2769 (config-tls, config-abi-config): Delete, no longer used.
2770 (update-abi-%): Remove AWK script and explicit abilist directory.
2771 (update-abi): Rewrite to simply compare and conditionally copy the
2772 symlist and the sysdep abilist file. Remove update-abi-config
2774 * abilist/ld.abilist: Remove.
2775 * abilist/libBrokenLocale.abilist: Remove.
2776 * abilist/libanl.abilist: Remove.
2777 * abilist/libcrypt.abilist: Remove.
2778 * abilist/libdl.abilist: Remove.
2779 * abilist/librt.abilist: Remove.
2780 * abilist/libthread_db.abilist: Remove.
2781 * abilist/libutil.abilist: Remove.
2782 * scripts/extract-abilist.awk: Remove.
2783 * scripts/merge-abilist.awk: Remove.
2784 * sysdeps/generic/libcidn.abilist: New file.
2785 * sysdeps/generic/libnss_compat.abilist: New file.
2786 * sysdeps/generic/libnss_db.abilist: New file.
2787 * sysdeps/generic/libnss_dns.abilist: New file.
2788 * sysdeps/generic/libnss_files.abilist: New file.
2789 * sysdeps/generic/libnss_hesiod.abilist: New file.
2790 * sysdeps/generic/libnss_nis.abilist: New file.
2791 * sysdeps/generic/libnss_nisplus.abilist: New file.
2792 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
2793 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
2794 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
2796 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
2797 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
2798 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
2799 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
2800 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
2801 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
2802 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
2803 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
2804 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
2806 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
2807 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
2808 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
2809 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
2811 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
2812 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
2813 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
2814 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
2815 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
2816 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
2818 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
2819 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
2820 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
2822 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
2823 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
2825 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
2827 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
2829 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
2831 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
2833 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
2835 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
2837 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
2839 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
2841 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
2843 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
2845 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
2847 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
2849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
2851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
2857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
2863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2875 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
2876 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
2878 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2880 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
2882 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
2884 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
2886 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
2888 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
2890 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2892 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
2894 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
2896 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2898 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
2900 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
2901 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
2903 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2905 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
2907 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
2909 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
2911 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
2913 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
2915 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2917 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
2919 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
2921 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2923 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
2925 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2926 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
2927 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
2929 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
2930 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
2931 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
2932 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
2933 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
2934 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
2935 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
2936 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
2937 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
2938 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
2939 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
2940 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
2942 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2944 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
2946 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
2948 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
2950 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
2952 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
2954 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2956 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2958 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
2960 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2962 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
2964 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
2965 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
2967 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2969 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
2971 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
2973 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
2975 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
2977 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
2979 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2981 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2983 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
2985 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2987 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
2990 2012-04-28 Joseph Myers <joseph@codesourcery.com>
2992 * conform/conformtest.pl: Fix typo in handling typed-constant from
2995 2012-04-27 Joseph Myers <joseph@codesourcery.com>
2997 * README: Cut down references to pre-2.6 Linux kernels and
2998 Linuxthreads. Update lists of configurations in libc and ports
2999 and sort alphabetically. Say "or newer" with Linux kernel version
3002 * config.h.in [IS_IN_build]: Allow compiling without optimization.
3004 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3007 * math/libm-test.inc (logb_test_downward): New test to expose
3008 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
3011 2012-04-27 Joseph Myers <joseph@codesourcery.com>
3014 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
3016 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
3017 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
3019 2012-04-26 Joseph Myers <joseph@codesourcery.com>
3021 * sysdeps/unix/i386/brk.S: Remove file.
3022 * sysdeps/unix/i386/dl-brk.S: Likewise.
3023 * sysdeps/unix/i386/pipe.S: Likewise.
3024 * sysdeps/unix/i386/sigreturn.S: Likewise.
3025 * sysdeps/unix/i386/syscall.S: Likewise.
3026 * sysdeps/unix/i386/vfork.S: Likewise.
3027 * sysdeps/unix/i386/wait.S: Likewise.
3029 * sysdeps/unix/common/tcsendbrk.c: Move to ...
3030 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
3032 * configure.in (arm*-none*): Do not allow without
3033 --enable-hacker-mode.
3034 (netbsd*): Remove case setting base_os.
3035 (386bsd*): Likewise.
3036 (freebsd*): Likewise.
3040 (ultrix*): Likewise.
3041 (newsos*): Likewise.
3051 (solaris[2-9]*): Likewise.
3053 * configure: Regenerated.
3055 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3058 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
3059 overflow or cancellation in calculating denominator.
3060 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
3061 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
3062 down expression to avoid unexpected rounding in newer GCCs.
3063 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
3065 2012-04-26 David S. Miller <davem@davemloft.net>
3067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
3068 long-double compat symbols.
3069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
3071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
3072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
3073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
3074 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
3075 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
3076 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
3077 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
3078 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
3079 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
3080 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
3081 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
3083 2012-04-25 David S. Miller <davem@davemloft.net>
3085 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
3086 HWCAP_* values only after the memory barriers have been defined.
3087 (atomic_full_barrier): Define.
3088 (atomic_read_barrier): Define.
3089 (atomic_write_barrier): Define.
3091 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3093 * shlib-versions: Add libgcc_s version information.
3094 * sysdeps/generic/libgcc_s.h: Remove.
3095 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
3097 * sysdeps/gnu/unwind-resume.c: Likewise.
3098 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
3100 2012-04-25 David S. Miller <davem@davemloft.net>
3102 * sysdeps/unix/sparc/brk.S: Delete.
3103 * sysdeps/unix/sparc/dl-brk.S: Delete.
3104 * sysdeps/unix/sparc/pipe.S: Delete.
3105 * sysdeps/unix/sparc/sysdep.S: Delete.
3106 * sysdeps/unix/sparc/sysdep.h: Delete.
3107 * sysdeps/unix/sparc/vfork.S: Delete.
3108 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
3109 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
3110 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
3111 ret_ERRVAL, r0, r1, MOVE): Define.
3112 (JUMPTARGET): Remove.
3113 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
3114 sysdeps/unix/sparc/sysdep.h
3115 (ENTRY, END): Remove.
3116 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3118 2012-04-25 Joseph Myers <joseph@codesourcery.com>
3120 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
3121 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
3124 * timezone/README: Update upstream location and email address for
3126 * timezone/zdump.c: Update from tzcode 2012b.
3127 * timezone/zic.c: Likewise.
3129 * configure.in (libc_cv_as_needed): Remove test.
3130 * configure: Regenerated.
3131 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
3132 conditional definition.
3133 [$(have-as-needed) != yes] (no-as-needed): Likewise.
3134 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
3135 * config.make.in (have-as-needed): Remove variable.
3137 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3138 Paul Pluzhnikov <ppluzhnikov@google.com>
3140 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
3143 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
3145 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
3146 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
3147 * sysdeps/sh/strlen.S: Likewise.
3149 2012-04-24 Joseph Myers <joseph@codesourcery.com>
3151 * sysdeps/unix/fork.S: Remove file.
3152 * sysdeps/unix/i386/fork.S: Likewise.
3153 * sysdeps/unix/sparc/fork.S: Likewise.
3155 * sysdeps/unix/system.c: Remove file.
3156 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
3158 * sysdeps/unix/getegid.S: Remove file.
3159 * sysdeps/unix/geteuid.S: Likewise.
3161 2012-04-24 Roland McGrath <roland@hack.frob.com>
3163 * scripts/check-localplt.awk: New file.
3164 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
3166 * scripts/data/localplt-generic.data: Add a comment.
3168 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
3169 NODE when __dir_mkfile failed.
3170 * sysdeps/mach/hurd/symlinkat.c: Likewise.
3171 Reported by Ludovic Courtès <ludo@gnu.org>.
3173 2012-04-24 Andreas Jaeger <aj@suse.de>
3175 * Makerules (common-clean): Also remove gen-as-const-headers
3178 2012-04-24 Joseph Myers <joseph@codesourcery.com>
3180 * Makerules (native-compile): Do not change working directory for
3181 build. Use $(OUTPUT_OPTION) in command.
3182 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
3184 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3187 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
3188 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
3189 * math/libm-test.inc (floor_test): Add more tests.
3190 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
3192 2012-04-24 Joseph Myers <joseph@codesourcery.com>
3194 * sysdeps/unix/getdents.c: Remove file.
3195 * sysdeps/unix/sysv/getdents.c: Likewise.
3196 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
3198 * sysdeps/unix/syscalls.list (madvise): Add syscall from
3199 sysdeps/unix/mman/syscalls.list.
3201 (mprotect): Likewise.
3204 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
3205 * sysdeps/unix/mman/syscalls.list: Remove.
3206 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
3208 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
3209 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
3210 * configure: Regenerated.
3211 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
3213 * config.make.in (libgcc_s_suffix): Remove variable.
3215 2012-04-23 Joseph Myers <joseph@codesourcery.com>
3217 * sysdeps/unix/sysv/gethostname.c: Move to ...
3218 * sysdeps/posix/gethostname.c: ... here.
3220 * sysdeps/unix/execve.S: Remove file.
3222 * sysdeps/unix/_exit.S: Remove file.
3224 2012-04-23 Andreas Jaeger <aj@suse.de>
3227 * manual/Makefile: Remove make dist support, there's no
3228 need for a stand-alone documentation tar ball.
3229 (TEXI2DVI): Define always, it's not in Makeconfig.
3233 (glibc-doc-$(edition).tar): Removed
3237 (ETAGS): Remove, it's in Makeconfig.
3238 (move-if-change): Remove, it's in Makeconfig.
3240 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
3243 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
3244 (strtod, strtof, strtold, strtol, strtoul, strtoq)
3245 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
3246 (strtod_l, strtof_l, strtold_l): Remove __wur.
3247 It is not necessarily an error to ignore strtol's return value.
3248 One can reliably look at the stored endptr to decide whether
3249 the number had valid syntax.
3251 2012-04-21 Andreas Jaeger <aj@suse.de>
3254 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
3256 2012-04-21 Joseph Myers <joseph@codesourcery.com>
3258 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
3259 * sysdeps/unix/sysv/Versions: Remove file.
3261 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
3264 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3266 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
3269 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
3270 version from __vm86.
3272 2012-04-20 Joseph Myers <joseph@codesourcery.com>
3274 * sysdeps/unix/common/lxstat.c: Remove file.
3275 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
3277 * sysdeps/unix/sysv/Makefile: Remove file.
3279 * sysdeps/unix/sysv/direct.h: Remove file.
3281 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
3282 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
3283 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
3284 * sysdeps/unix/sysv/bits/signum.h: Likewise.
3285 * sysdeps/unix/sysv/bits/stat.h: Likewise.
3286 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
3287 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
3289 * sysdeps/unix/sysv/setrlimit.c: Remove file.
3291 * sysdeps/unix/xmknod.c: Remove file.
3292 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
3294 * sysdeps/unix/sysv/settimeofday.c: Remove file.
3296 * sysdeps/unix/sysv/i386/time.S: Remove file.
3298 * sysdeps/unix/fxstat.c: Remove file.
3299 * sysdeps/unix/xstat.c: Likewise.
3300 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
3302 * sysdeps/unix/sysv/sigaction.c: Remove file.
3304 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
3305 (sysdep_headers): Remove variable.
3306 [termio.h not in sysdep_headers] (generated): Likewise.
3307 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
3308 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
3309 * sysdeps/unix/sysv/tcdrain.c: Likewise.
3310 * sysdeps/unix/sysv/tcflow.c: Likewise.
3311 * sysdeps/unix/sysv/tcflush.c: Likewise.
3312 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
3313 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
3314 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
3315 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
3316 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
3318 * sysdeps/unix/siglist.c: Remove file.
3320 * sysdeps/unix/getppid.S: Remove file.
3322 * sysdeps/unix/mkdir.c: Remove file.
3323 * sysdeps/unix/rmdir.c: Likewise.
3325 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
3327 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
3329 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
3330 errlist-compat value.
3332 2012-04-18 David S. Miller <davem@davemloft.net>
3334 * sysdeps/generic/memcopy.h (reg_char): Delete.
3335 * debug/strcat_chk.c: Use char, not reg_char.
3336 * debug/strcpy_chk.c: Likewise.
3337 * debug/strncat_chk.c: Likewise.
3338 * debug/strncpy_chk.c: Likewise.
3339 * string/memchr.c: Likewise.
3340 * string/memrchr.c: Likewise.
3341 * string/rawmemchr.c: Likewise.
3342 * string/strcat.c: Likewise.
3343 * string/strchr.c: Likewise.
3344 * string/strchrnul.c: Likewise.
3345 * string/strcmp.c: Likewise.
3346 * string/strcpy.c: Likewise.
3347 * string/strncat.c: Likewise.
3348 * string/strncmp.c: Likewise.
3349 * string/strncpy.c: Likewise.
3351 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3353 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
3354 __builtin_memcopy is called when src and dest ranges are known to not
3357 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3359 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
3360 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
3361 fwd_align_merge macro call.
3362 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
3363 bwd_align_merge macro call.
3364 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3366 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3368 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
3369 bwd_align_merge macros.
3370 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
3371 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
3372 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3374 2012-04-18 David S. Miller <davem@davemloft.net>
3376 * sysdeps/sparc/sparc64/memcopy.h: Delete.
3378 2012-04-18 Andreas Jaeger <aj@suse.de>
3381 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
3382 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
3383 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3385 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
3386 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
3387 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3389 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
3390 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
3391 Adjust for changed ldbl-128 files.
3393 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
3394 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
3395 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3397 2012-04-17 David S. Miller <davem@davemloft.net>
3399 * sysdeps/sparc/sparc32/memcopy.h: Delete.
3401 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
3403 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
3404 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
3405 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
3406 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
3407 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
3408 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
3410 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3413 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
3414 * math/libm-test.inc: Add ilogb errno and exception tests.
3415 * math/w_ilogb.c: New file: ilogb wrapper.
3416 * math/w_ilogbf.c: New file: ilogbf wrapper.
3417 * math/w_ilogbl.c: New file: ilogbl wrapper.
3418 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
3419 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
3420 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
3421 exception being thrown with 0.0 as argument.
3422 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
3423 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
3424 exception being thrown with 0.0 as argument.
3425 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
3426 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
3427 exception being thrown with 0.0 as argument.
3428 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
3429 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
3430 exception being thrown with 0.0 as argument.
3431 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
3432 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
3433 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
3434 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
3435 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
3436 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
3437 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
3438 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
3439 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
3441 2012-04-17 Petr Baudis <pasky@ucw.cz>
3443 * include/sys/uio.h: Change __vector to __iovec to avoid clash
3446 2012-04-16 Marek Polacek <polacek@redhat.com>
3448 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
3450 2012-04-16 Marek Polacek <polacek@redhat.com>
3452 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
3453 operands of fdivp instruction.
3455 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
3457 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
3458 * elf/tst-auditmod3b.c: Likewise.
3459 * elf/tst-auditmod4b.c: Likewise.
3460 * elf/tst-auditmod5b.c: Likewise.
3461 * elf/tst-auditmod6b.c: Likewise.
3462 * elf/tst-auditmod6c.c: Likewise.
3463 * elf/tst-auditmod7b.c: Likewise.
3464 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
3465 * sysdeps/x86_64/preconfigure.in: Likewise.
3466 * sysdeps/x86_64/preconfigure: Regenerated.
3468 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
3470 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
3473 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
3475 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3476 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
3478 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
3481 * locale/iso-639.def: Fix gl language name. Spotted by
3484 2012-04-12 Roland McGrath <roland@hack.frob.com>
3487 * libio/libio.h (__io_write_fn): Update comment.
3489 2012-04-12 Petr Baudis <pasky@ucw.cz>
3492 * stdio.texi (Hook Functions): The user provided writer function
3493 is not allowed to return -1.
3495 2012-04-11 David S. Miller <davem@davemloft.net>
3497 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3499 2012-04-11 Mike Frysinger <vapier@gentoo.org>
3501 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
3502 Add a leading slash to rtkaio.
3504 2012-04-11 Jim Meyering <meyering@redhat.com>
3507 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
3508 It is not necessarily an error to ignore fwrite's return
3509 value. One can reliably use ferror to test for errors after
3512 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
3514 * bits/types.h (__snseconds_t): New type.
3515 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
3517 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
3518 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3519 (__SNSECONDS_T_TYPE): Likewise.
3520 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3521 (__SNSECONDS_T_TYPE): Likewise.
3522 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3523 (__SNSECONDS_T_TYPE): Likewise.
3525 2012-04-10 Andreas Jaeger <aj@suse.de>
3528 * manual/time.texi (Processor Time): Return type of times is
3529 elapsed real time since an arbitrary point in the past.
3530 (CPU Time): Move CLK_TCK from here...
3531 (Processor Time): ...to here. Correct description.
3532 * manual/conf.texi (Constants for Sysconf): Correct description of
3535 2012-04-10 David S. Miller <davem@davemloft.net>
3538 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
3539 where the is a gap between DT_REL(A) and DT_JMPREL.
3541 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
3543 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
3544 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
3545 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
3547 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3549 * elf/dl-support.c (_dl_inhibit_cache): New variable.
3550 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
3551 (dl_main): Handle --inhibit-cache.
3552 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
3554 * elf/dl-load.c (_dl_map_object): Use it.
3555 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
3557 2012-04-09 Joseph Myers <joseph@codesourcery.com>
3560 * sysdeps/i386/fpu/e_powl.S (p78): New object.
3561 (__ieee754_powl): Saturate large exponents rather than testing for
3562 overflow of y*log2(x).
3563 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3564 * math/libm-test.inc (pow_test): Do not permit spurious overflow
3568 * math/s_ctan.c: Include <float.h>.
3569 (__ctan): Avoid internal overflow or cancellation in calculating
3571 * math/s_ctanf.c: Likewise.
3572 * math/s_ctanl.c: Likewise.
3573 * math/s_ctanh.c: Likewise.
3574 * math/s_ctanhf.c: Likewise.
3575 * math/s_ctanhl.c: Likewise.
3576 * math/libm-test.inc (ctan_test): Add more tests.
3577 (ctanh_test): Likewise.
3578 * sysdeps/i386/fpu/libm-test-ulps: Update.
3579 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3581 2012-04-09 Andreas Jaeger <aj@suse.de>
3584 * manual/filesys.texi (Directory Entries): Mention that d_namlen
3585 is an optional BSD extension.
3588 * manual/stdio.texi (Opening Streams): Document additional fopen
3591 2012-04-09 Roland McGrath <roland@hack.frob.com>
3593 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
3594 %eax without telling the compiler.
3596 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
3599 * manual/install.texi: Use sourceware.org.
3601 2012-04-09 Joseph Myers <joseph@codesourcery.com>
3604 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
3605 (__ieee754_pow): Generate overflow and underflow using huge*huge
3606 and tiny*tiny rather than just returning constant infinity or zero
3607 for large exponents.
3608 * math/libm-test.inc (pow_test): Require overflow exceptions for
3609 applicable cases of large exponents.
3612 * sysdeps/i386/fpu/e_pow.S (p10): New object.
3613 (__ieee754_pow): Use iterative multiplication algorithm only for
3614 integer exponents with absolute value below 1024. Check for odd
3615 integer exponents when using algorithm for real exponents.
3616 * math/libm-test.inc (pow_test): Add more tests.
3617 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3619 2012-04-08 Joseph Myers <joseph@codesourcery.com>
3622 * math/libm-test.inc (exp_test): Do not allow overflow exception
3625 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
3628 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
3629 instead of __kernel_standard_f.
3631 2012-04-08 Mike Frysinger <vapier@gentoo.org>
3633 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
3634 * sysdeps/x86_64/memset_chk.S: Likewise.
3636 2012-04-08 Andreas Jaeger <aj@suse.de>
3639 * manual/startup.texi (Environment Access): Describe return value
3640 for putenv and setenv.
3643 * manual/filesys.texi (Directory Entries): Add description for
3647 * manual/filesys.texi (Directory Entries): Clarify that it's file
3648 system not operating system in the description of DT_UNKNOWN.
3651 * manual/syslog.texi (closelog): Fix reference, it's openlog.
3653 2012-04-08 Stephen Compall <s11@member.fsf.org>
3656 * manual/llio.texi (Opening and Closing Files): Add cross
3657 reference to explain mode argument.
3659 2012-04-07 Mike Frysinger <vapier@gentoo.org>
3661 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
3662 * sysdeps/x86_64/memset_chk.S: Likewise.
3664 2012-04-07 David S. Miller <davem@davemloft.net>
3666 * elf/elf.h (R_SPARC_WDISP10): Define.
3667 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
3669 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
3670 R_SPARC_SIZE64 and R_SPARC_H34.
3672 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
3674 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
3675 conditions and remove no longer applicable assertion.
3677 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
3679 * bits/byteswap.h: Include <features.h>.
3680 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
3681 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
3683 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
3685 * bits/byteswap.h (__bswap_16): Removed.
3686 Include <bits/byteswap-16.h> to get __bswap_16.
3687 * sysdeps/i386/bits/byteswap.h: Likewise.
3688 * sysdeps/s390/bits/byteswap.h: Likewise.
3689 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3690 * bits/byteswap-16.h: New file.
3691 * sysdeps/i386/bits/byteswap-16.h: Likewise.
3692 * sysdeps/s390/bits/byteswap-16.h: Likewise.
3693 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
3694 * string/Makefile (headers): Add bits/byteswap-16.h.
3696 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
3699 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
3701 * nss/Makefile (tests-static, tests): Add tst-nss-static.
3702 * nss/tst-nss-static.c: New.
3704 2012-04-06 Robert Millan <rmh@gnu.org>
3707 * manual/llio.texi (File Position Primitive): lseek
3708 refers to WHENCE when it really means OFFSET.
3710 2012-04-06 Andreas Jaeger <aj@suse.de>
3712 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
3713 strncmp declarations.
3715 * abilist/libc.abilist: Add __poll and __ppoll.
3717 2012-04-05 David S. Miller <davem@davemloft.net>
3719 * scripts/check-local-headers.sh: Accept a host triplet in the
3720 path matched by the exclude regexp.
3722 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
3724 * sysdeps/powerpc/powerpc32/dl-machine.h
3725 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
3726 * sysdeps/s390/s390-32/dl-machine.h
3727 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3728 * sysdeps/sparc/sparc32/dl-machine.h
3729 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3730 * sysdeps/sparc/sparc64/dl-machine.h
3731 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3733 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
3735 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
3736 undefined symbol errors.
3738 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
3741 2012-04-05 Michael Matz <matz@suse.de>
3744 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
3746 2012-04-05 Andreas Jaeger <aj@suse.de>
3749 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
3752 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3754 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
3755 which ROUND is no valid rounding mode.
3757 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3759 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
3761 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
3763 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3765 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
3766 an exception using FPU order intentionally.
3768 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3770 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
3771 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
3772 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
3773 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
3775 2012-04-05 Simon Josefsson <simon@josefsson.org>
3778 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
3779 EINVAL when BUFLEN is too smal.
3781 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
3784 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
3785 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
3787 2012-04-03 Andreas Jaeger <aj@suse.de>
3790 * manual/setjmp.texi (System V contexts): Fix sentence.
3793 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
3794 New macro for this case.
3795 [!__GNUC__] (__bswap_64): New inline function for this case.
3796 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3797 * bits/byteswap.h: Likewise.
3798 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
3799 ull, guard with __GLIBC_HAVE_LONG_LONG.
3801 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
3802 __GLIBC_HAVE_LONG_LONG.
3804 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
3805 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
3807 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3810 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
3811 inptr and inend, rather than using last_ch.
3813 2012-04-02 David S. Miller <davem@davemloft.net>
3815 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
3816 * stdio-common/printf-parse.h (read_int): Change return type to
3817 'int', return -1 on INT_MAX overflow.
3818 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
3819 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
3820 overflows INT_MAX. Check for overflow of in-format-string precision
3821 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
3822 SIZE_MAX not INT_MAX for integer overflow test.
3823 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
3824 skip the construct in the format string but do not record anything.
3825 * stdio-common/bug22.c: Adjust to test both width/prevision
3826 INT_MAX overflow as well as total length INT_MAX overflow. Check
3827 explicitly for proper errno values.
3829 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
3831 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
3833 * string/test-strcmp.c [! WIDE]: Likewise.
3834 * time/tst-mktime2.c: Likewise for INT_MAX.
3835 * string/test-string.h: #include <sys/param.h> for MIN.
3837 * csu/init-first.c (__libc_init_first): Call __ctype_init.
3838 * sysdeps/i386/init-first.c (init): Likewise.
3839 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
3840 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
3841 * sysdeps/sh/init-first.c (init): Likewise.
3843 2012-04-01 Ulrich Drepper <drepper@gmail.com>
3845 * po/ru.po: Update from translation team.
3846 * po/vi.po: Likewise.
3848 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3850 * resolv/nss_dns/dns-host.c: Merge copyright years.
3852 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3854 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
3855 Optimize memcpy with prefetch if
3856 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
3857 src, dst pointers have unequal 16 byte alignments.
3859 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3862 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
3863 from a CNAME entry and return the minimum ttl for the query.
3864 (gaih_getanswer_slice): Likewise.
3866 2012-03-30 Jeff Law <law@redhat.com>
3868 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
3870 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
3871 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
3873 * resolv/nss_dns/dns-host.c: Update copyright year.
3875 2012-03-30 Ulrich Drepper <drepper@gmail.com>
3877 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
3878 requests to save a system call. Fix check that all bytes are sent.
3880 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
3881 comments for sendmmsg.
3883 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3886 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
3887 with only 1 character between 0x0041 and 0x01b0.
3888 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
3889 * wcsmbs/tst-mbsnrtowcs.c: New file.
3891 2012-03-29 David S. Miller <davem@davemloft.net>
3893 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
3894 small copies by hand.
3896 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3899 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
3900 _nss_compat_initgroups_dyn): Fall back to malloc/free
3901 for large group memberships.
3903 2012-03-28 David S. Miller <davem@davemloft.net>
3905 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
3906 that branches into memcpy.
3907 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
3908 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
3909 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3910 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
3911 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
3913 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
3915 * sysdeps/sparc/mempcpy.S: New file.
3917 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
3918 the IFUNC routine in the libc case.
3919 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3921 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
3922 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
3923 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
3924 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
3925 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
3926 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
3927 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
3928 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
3930 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
3931 loop to 256 bytes instead of 64 bytes and fix test signedness.
3933 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
3934 * sysdeps/sparc/sparc32/Makefile: rather than here...
3935 * sysdeps/sparc/sparc64/Makefile: and here.
3937 2012-03-28 Ulrich Drepper <drepper@gmail.com>
3939 * malloc/mallocbug.c: Avoid warnings about unused variables.
3941 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3944 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
3945 in the right place. Discard and retry query if response is
3946 larger than input buffer size.
3948 2012-03-28 Joseph Myers <joseph@codesourcery.com>
3953 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
3954 x for large integer exponent.
3955 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3956 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
3957 sign of result as needed afterwards.
3958 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3959 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
3960 result for underflowing pow the same as for overflow.
3961 (__kernel_standard_l): Handle powl overflow and underflow here
3962 rather than calling __kernel_standard.
3963 * math/libm-test.inc (pow_test): Add more tests.
3978 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
3979 * sysdeps/ieee754/k_standard.c: Include <float.h>.
3980 (__kernel_standard_l): New function.
3981 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
3983 * math/w_acosl.c (__acosl): Likewise.
3984 * math/w_asinl.c (__asinl): Likewise.
3985 * math/w_atan2l.c (__atan2l): Likewise.
3986 * math/w_atanhl.c (__atanhl): Likewise.
3987 * math/w_coshl.c (__coshl): Likewise.
3988 * math/w_exp10l.c (__exp10l): Likewise.
3989 * math/w_exp2l.c (__exp2l): Likewise.
3990 * math/w_fmodl.c (__fmodl): Likewise.
3991 * math/w_hypotl.c (__hypotl): Likewise.
3992 * math/w_j0l.c (__j0l, __y0l): Likewise.
3993 * math/w_j1l.c (__j1l, __y1l): Likewise.
3994 * math/w_jnl.c (__jnl, __ynl): Likewise.
3995 * math/w_lgammal.c (__lgammal): Likewise.
3996 * math/w_log10l.c (__log10l): Likewise.
3997 * math/w_log2l.c (__log2l): Likewise.
3998 * math/w_logl.c (__logl): Likewise.
3999 * math/w_powl.c (__powl): Likewise.
4000 * math/w_remainderl.c (__remainderl): Likewise.
4001 * math/w_scalbl.c (sysv_scalbl): Likewise.
4002 * math/w_sinhl.c (__sinhl): Likewise.
4003 * math/w_sqrtl.c (__sqrtl): Likewise.
4004 * math/w_tgammal.c (__tgammal): Likewise.
4005 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
4006 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
4007 * math/libm-test.inc (acos_test): Add more tests.
4008 (acosh_test): Likewise.
4009 (asin_test): Likewise.
4010 (atanh_test): Likewise.
4011 (exp_test): Likewise.
4012 (exp10_test): Likewise.
4013 (exp2_test): Likewise.
4014 (expm1_test): Likewise.
4015 (lgamma_test): Likewise.
4016 (log_test): Likewise.
4017 (log10_test): Likewise.
4018 (log1p_test): Likewise.
4019 (log2_test): Likewise.
4020 (pow_test): Do not allow some spurious overflow exceptions.
4021 (sqrt_test): Add more tests.
4022 (tgamma_test): Likewise.
4023 (y0_test): Likewise.
4024 (y1_test): Likewise.
4025 (yn_test): Likewise.
4027 2012-03-27 Anton Blanchard <anton@samba.org>
4029 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
4031 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
4032 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
4033 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
4035 2012-03-27 David S. Miller <davem@davemloft.net>
4037 * conform/Makefile: Run run-conformtest.sh using $(BASH).
4039 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
4042 2012-03-27 Andreas Jaeger <aj@suse.de>
4044 * sysdeps/x86_64/elf/configure.in: Moved to ...
4045 * sysdeps/x86_64/configure.in: ... here.
4046 * sysdeps/x86_64/elf/start.S: Moved to ...
4047 * sysdeps/x86_64/start.S: ... here.
4048 * sysdeps/x86_64/elf/configure: Delete.
4050 * sysdeps/x86_64/configure.in: Merge contents from
4051 sysdeps/i386/configure.in (without i686 check).
4053 * sysdeps/i386/elf/Versions: Merge into ...
4054 * sysdeps/i386/Versions: ... this.
4055 * sysdeps/i386/elf/Versions: Delete file.
4056 * sysdeps/i386/elf/start.S: Moved to ...
4057 * sysdeps/i386/start.S: ...here.
4058 * sysdeps/i386/elf/configure.in: Merge into...
4059 * sysdeps/i386/configure.in: ...here.
4060 * sysdeps/i386/elf/configure.in: Delete file.
4061 * sysdeps/i386/elf/configure: Delete file.
4063 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
4064 * debug/backtracesyms.c: ... here.
4065 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
4066 * debug/backtracesymsfd.c: ... here.
4067 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
4068 * sysdeps/generic/ifunc-sel.h: ... here.
4070 * sysdeps/unix/i386/start.c: Delete file.
4071 * sysdeps/unix/sparc/start.c: Delete file.
4072 * sysdeps/unix/start.c: Delete file.
4074 * sysdeps/sh/elf/configure.in: Moved to ...
4075 * sysdeps/sh/configure.in: ... here.
4076 * sysdeps/sh/elf/start.S: Moved to ...
4077 * sysdeps/sh/start.S: ... here.
4078 * sysdeps/sh/elf/configure: Delete file.
4080 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
4081 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
4082 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
4083 * sysdeps/powerpc/powerpc64/entry.h: ... here.
4084 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
4085 * sysdeps/powerpc/powerpc64/start.S: here.
4086 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
4087 * sysdeps/powerpc/powerpc64/Makefile: ... this.
4088 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
4089 * sysdeps/powerpc/powerpc64/configure.in: ... this.
4090 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
4092 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
4093 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
4094 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
4095 * sysdeps/powerpc/powerpc32/start.S: ... here.
4096 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
4097 * sysdeps/powerpc/powerpc32/configure.in: ... this.
4098 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
4100 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
4101 * sysdeps/powerpc/ifunc-sel.h: ... here.
4102 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
4103 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
4105 * sysdeps/sparc/elf/configure.in: Moved to ...
4106 * sysdeps/sparc/configure.in: ... here.
4107 * sysdeps/sparc/elf/configure: Delete file.
4108 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
4109 * sysdeps/sparc/sparc32/start.S: ... here.
4110 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
4111 * sysdeps/sparc/sparc64/start.S: ... here.
4112 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
4113 * sysdeps/sparc/sparc32/Makefile: ... this.
4114 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
4115 * sysdeps/sparc/sparc64/Makefile: ... this.
4117 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
4118 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
4119 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
4120 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
4121 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
4122 * sysdeps/s390/s390-32/setjmp.S: ... here.
4123 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
4124 * sysdeps/s390/s390-32/configure.in: ... here.
4125 * sysdeps/s390/s390-32/elf/configure: Delete file.
4126 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
4127 * sysdeps/s390/s390-32/start.S: ... here.
4129 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
4130 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
4131 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
4132 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
4133 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
4134 * sysdeps/s390/s390-64/setjmp.S: ... here.
4135 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
4136 * sysdeps/s390/s390-64/configure.in: ... here
4137 * sysdeps/s390/s390-64/elf/configure: Delete file.
4138 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
4139 * sysdeps/s390/s390-64/start.S: ... here.
4140 * sysdeps/s390/s390-64/elf/configure: Delete.
4142 * configure.in: Remove support for elf directories in sysdeps.
4144 * configure: Regenerated.
4145 * sysdeps/i386/configure: Regenerated.
4146 * sysdeps/powerpc/powerpc32/configure: Regenerated.
4147 * sysdeps/powerpc/powerpc64/configure: Regenerated.
4148 * sysdeps/s390/s390-32/configure: Regenerated.
4149 * sysdeps/s390/s390-64/configure: Regenerated.
4150 * sysdeps/sh/configure: Regenerated.
4151 * sysdeps/sparc/configure: Regenerated.
4152 * sysdeps/x86_64/configure: Regenerated.
4154 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
4156 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4158 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
4159 denormal result into account.
4161 2012-03-25 Roland McGrath <roland@hack.frob.com>
4163 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
4164 Reported by Allan McRae <allan@archlinux.org>.
4166 2012-03-23 Jeff Law <law@redhat.com>
4168 * nss/getnssent.c (__nss_getent): Fix typo.
4170 2012-03-23 David S. Miller <davem@davemloft.net>
4172 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4174 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
4176 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
4177 to pad to uint64_t for each field.
4178 (dl_tls_index): Replace unsigned long with uint64_t.
4180 2012-03-23 Daniel Jacobowitz <dmj@google.com>
4181 Paul Pluzhnikov <ppluzhnikov@google.com>
4184 * grp/Makefile (otherlibs): Don't set it.
4185 * inet/Makefile (otherlibs): Likewise.
4186 * login/Makefile (otherlibs): Likewise.
4187 * nscd/Makefile (otherlibs): Likewise.
4188 * posix/Makefile (otherlibs): Likewise.
4189 * pwd/Makefile (otherlibs): Likewise.
4190 * rt/Makefile (otherlibs): Likewise.
4191 * sunrpc/Makefile (otherlibs): Likewise.
4192 * nss/Makefile (otherlibs): Likewise.
4193 Add libnss_files to routines and static-only-routines.
4194 ($(objpfx)getent): Remove rule.
4195 * resolv/Makefile: Add libnss_dns and libresolv to routines and
4196 static-only-routines.
4198 2012-03-22 Joseph Myers <joseph@codesourcery.com>
4201 * math/s_cexp.c: Include <float.h>.
4202 (__cexp): Handle exp result overflowing not necessarily
4203 overflowing both real and imaginary parts of result.
4204 * math/s_cexpf.c: Likewise.
4205 * math/s_cexpl.c: Likewise.
4206 * math/libm-test.inc (cexp_test): Add more tests.
4207 * sysdeps/i386/fpu/libm-test-ulps: Update.
4208 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4210 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4212 * include/link.h (ELFW): New macro.
4213 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
4214 Replace ELF64_R_TYPE with ELFW(R_TYPE).
4216 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4218 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
4221 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4223 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
4225 (struct La_x32_retval): Likewise.
4227 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4229 * sysdeps/x86_64/preconfigure.in: New file.
4230 * sysdeps/x86_64/preconfigure: New generated file.
4232 2012-03-22 Joseph Myers <joseph@codesourcery.com>
4235 * math/e_exp2l.c: Include <float.h>.
4236 (__ieee754_exp2l): Handle overflow and underflow cases
4237 separately. Only pass fractional part of argument to
4239 * math/libm-test.inc (exp2_test): Add more tests.
4241 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
4242 negating x to take absolute value.
4243 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
4245 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
4246 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
4248 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
4249 computing low part if x was negated.
4250 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4252 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
4254 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
4256 (pltexit): Cast int_retval to ptrdiff_t.
4257 * elf/tst-auditmod3b.c: Likewise.
4258 * elf/tst-auditmod4b.c: Likewise.
4259 * elf/tst-auditmod5b.c: Likewise.
4260 * elf/tst-auditmod6b.c: Likewise.
4261 * elf/tst-auditmod6c.c: Likewise.
4262 * elf/tst-auditmod7b.c: Likewise.
4264 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
4265 and x32_gnu_pltexit.
4267 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
4269 (La_x32_regs): New macro.
4270 (La_x32_retval): Likewise.
4271 (la_x32_gnu_pltenter): New function prototype.
4272 (la_x32_gnu_pltexit): Likewise.
4274 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
4276 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
4279 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4281 * configure.in (libc_cv_cc_nofma): Check for option to disable
4282 generation of FMA instructions.
4283 * configure: Regenerate.
4284 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
4285 * sysdeps/ieee754/dbl-64/Makefile: New file.
4286 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
4287 Remove brandred-fma4.
4288 (CFLAGS-brandred-fma4.c): Remove.
4289 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
4290 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
4292 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
4295 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
4297 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
4298 LLONG_MAX != LONG_MAX.
4299 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4300 (_fitoa_word): Likewise.
4301 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
4302 LLONG_MAX != LONG_MAX.
4303 * stdio-common/_itowa.h: Include <_itoa.h>.
4304 (_itowa_word): Use _ITOA_WORD_TYPE on value.
4305 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
4306 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
4307 only if not defined.
4308 (_ITOA_WORD_TYPE): Likewise.
4309 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4310 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
4312 2012-03-21 David S. Miller <davem@davemloft.net>
4314 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4316 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
4318 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
4319 of x86_64 when setting libc_cv_slibdir, libdir and
4321 * sysdeps/unix/sysv/linux/configure: Regenerated.
4323 2012-03-21 Joseph Myers <joseph@codesourcery.com>
4325 * manual/lang.texi (Old Varargs): Remove section.
4326 (How Variadic): Update menu.
4327 (va_start): Do not mention varargs.h.
4329 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
4330 Joseph Myers <joseph@codesourcery.com>
4332 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
4334 * configure: Regenerated.
4336 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
4338 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
4339 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
4342 2012-03-21 Joseph Myers <joseph@codesourcery.com>
4345 * Makefile (files-for-dist): Remove NOTES.
4346 (NOTES): Remove rule.
4347 * README: Don't refer to NOTES.
4348 * manual/creature.texi: Don't include macros.texi.
4349 * manual/intro.texi (creature.texi): Remove comment referring to
4352 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
4353 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
4354 * configure: Regenerated.
4355 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
4357 (libc_cv_as_i686): Likewise.
4358 (libc_cv_cc_avx): Likewise.
4359 (libc_cv_cc_sse2avx): Likewise.
4360 (libc_cv_cc_fma4): Likewise.
4361 (libc_cv_cc_novzeroupper): Likewise.
4362 * sysdeps/i386/configure: Regenerated.
4365 * sysdeps/i386/fpu/s_cexp.S: Remove.
4366 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
4367 * sysdeps/i386/fpu/s_cexpl.S: 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-21 Allan McRae <allan@archlinux.org>
4374 * timezone/Makefile: Do not install iso3166.tab and zone.tab
4376 2012-03-21 Joseph Myers <joseph@codesourcery.com>
4379 * math/w_exp2.c: Do not include <float.h>.
4380 (o_threshold, u_threshold): Remove.
4381 (__exp2): Calculate result before checking finiteness and calling
4383 * math/w_exp2f.c: Likewise.
4384 * math/w_exp2l.c: Likewise.
4385 * math/libm-test.inc (exp2_test): Require overflow exception for
4389 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
4390 range of signed 64-bit integers before using fistpll. Remove
4391 checks for whether integers fit in mantissa bits.
4392 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
4393 the range of signed 32-bit integers before using fistpl. Remove
4394 checks for whether integers fit in mantissa bits.
4395 * sysdeps/i386/fpu/e_powl.S (p64): New object.
4396 (__ieee754_powl): Test for y outside the range of signed 64-bit
4397 integers before using fistpll. Reduce 64-bit values to 63-bit
4399 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
4400 divide-by-zero is raised for zero to large negative powers.
4401 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
4402 (__ieee754_powl): Test for y outside the range of signed 64-bit
4403 integers before using fistpll. Reduce 64-bit values to 63-bit
4405 * math/libm-test.inc (pow_test): Add more tests.
4407 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4409 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
4410 <stdio-common/_itoa.h>.
4411 * debug/segfault.c: Likewise.
4412 * elf/dl-cache.c: Likewise.
4413 * elf/dl-minimal.c: Likewise.
4414 * elf/dl-misc.c: Likewise.
4415 * elf/dl-sysdep.c: Likewise.
4416 * elf/dl-version.c: Likewise.
4417 * elf/rtld.c: Likewise.
4418 * hurd/hurdsock.c: Likewise.
4419 * hurd/lookup-retry.c: Likewise.
4420 * malloc/malloc.c: Likewise.
4421 * malloc/mtrace.c: Likewise.
4422 * nscd/nscd_getgr_r.c: Likewise.
4423 * nscd/nscd_getpw_r.c: Likewise.
4424 * nscd/nscd_getserv_r.c: Likewise.
4425 * posix/getopt_init.c: Likewise.
4426 * posix/wordexp.c: Likewise.
4427 * stdio-common/_itoa.c: Likewise.
4428 * stdio-common/printf_fphex.c: Likewise.
4429 * stdio-common/vfprintf.c: Likewise.
4430 * string/_strerror.c: Likewise.
4431 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
4432 * sysdeps/i386/i686/hp-timing.h: Likewise.
4433 * sysdeps/mach/_strerror.c: Likewise.
4434 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
4435 * sysdeps/mach/hurd/sethostid.c: Likewise.
4436 * sysdeps/mach/hurd/xmknodat.c: Likewise.
4437 * sysdeps/mach/xpg-strerror.c: Likewise.
4438 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4439 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4440 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
4441 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
4442 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4443 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
4444 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
4445 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
4446 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
4447 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
4448 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
4449 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
4450 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
4451 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
4452 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
4453 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
4454 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
4455 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
4456 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
4457 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
4458 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
4460 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
4462 * stdio-common/_itoa.h: Moved to ...
4463 * sysdeps/generic/_itoa.h: Here.
4465 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
4467 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
4468 instead of "_itoa.h" and "_itowa.h".
4469 * stdio-common/vfprintf.: Likewise.
4471 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4473 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
4475 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
4476 (__signbit): Likwise.
4480 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4482 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
4485 2012-03-20 Joseph Myers <joseph@codesourcery.com>
4487 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
4488 OVERFLOW_EXCEPTION_OK.
4489 * math/libm-test.inc ("Philosophy"): Update comment about
4491 (OVERFLOW_EXCEPTION): Define.
4492 (OVERFLOW_EXCEPTION_OK): Likewise.
4493 (INVALID_EXCEPTION_OK): Renumber.
4494 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4495 (IGNORE_ZERO_INF_SIGN): Likewise.
4496 (test_exceptions): Handle FE_OVERFLOW.
4497 (exp10_test): Expect overflow exceptions.
4498 (exp2_test): Likewise.
4499 (expm1_test): Likewise.
4500 (nextafter_test): Likewise.
4501 (pow_test): Likewise.
4502 (scalbn_test): Likewise.
4503 (scalbln_test): Likewise.
4505 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4507 * sysdeps/x86_64/bits/atomic.h
4508 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
4510 (atomic_exchange_acq): Likewise.
4511 (__arch_exchange_and_add_body): Likewise.
4512 (__arch_add_body): Likewise.
4513 (atomic_add_negative): Likewise.
4514 (atomic_add_zero): Likewise.
4516 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4518 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
4519 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
4521 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4523 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
4524 Check __x86_64__ instead of __WORDSIZE.
4526 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4528 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
4530 2012-03-19 David S. Miller <davem@davemloft.net>
4532 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4534 * sysdeps/sparc/fpu/fenv_private.h: New file.
4535 * sysdeps/sparc/fpu/math_private.h: Use it.
4536 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
4538 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
4539 (libc_feholdexcept_setroundl): Remove.
4540 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
4542 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
4543 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
4545 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4547 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
4548 int64_t instead of long int.
4549 (INSERT_WORDS64): Likwise.
4551 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4553 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
4554 _Unwind_GetCFA return to _Unwind_Ptr first.
4556 2012-03-19 Joseph Myers <joseph@codesourcery.com>
4559 * math/s_clog.c: Include <float.h>.
4560 (__clog): Scale large or subnormal inputs.
4561 * math/s_clogf.c: Likewise.
4562 * math/s_clogl.c: Likewise.
4563 * math/s_clog10.c: Include <float.h>.
4564 (M_LOG10_2): Define.
4565 (__clog10): Scale large or subnormal inputs.
4566 * math/s_clog10f.c: Likewise.
4567 * math/s_clog10l.c: Likewise.
4568 * math/libm-test.inc (clog_test): Add more tests.
4569 (clog10_test): Likewise.
4570 * sysdeps/i386/fpu/libm-test-ulps: Update.
4571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4574 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
4576 * math/libm-test.inc (atan2_test): Add another test.
4578 * Makerules (common-objdir-compile): Remove.
4579 * sysdeps/unix/Makefile (config-generated): Do not add
4580 $(unix-generated) to variable.
4581 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
4582 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
4584 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
4586 [generic bits/local_lim.h] (before-compile): Do not append to
4588 [generic bits/local_lim.h] (common-generated): Likewise.
4589 [generic sys/param.h] (before-compile): Do not append to variable.
4590 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
4591 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
4592 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
4593 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
4595 [generic sys/param.h] (sys/param.h-includes): Remove variable.
4596 [generic sys/param.h] (sys/param.h-includes): Remove rule.
4597 [generic sys/param.h] ($(addprefix
4598 $(common-objpfx),$(sys/param.h-includes))): Likewise.
4599 [generic sys/param.h] (common-generated): Do not append to
4601 [generic sys/param.h] (sysdep_headers): Likewise.
4602 [generic bits/errno.h] (before-compile): Do not append to
4604 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
4606 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
4607 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
4608 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
4609 [generic bits/errno.h] (common-generated): Do not append to
4611 [generic bits/ioctls.h] (before-compile): Do not append to
4613 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
4615 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
4616 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
4617 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
4619 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
4620 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
4621 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
4622 [generic bits/ioctls.h] (common-generated): Do not append to
4624 [generic sys/syscall.h] (syscall.h): Remove variable.
4625 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
4627 [generic sys/syscall.h] (before-compile): Do not append to
4629 [generic sys/syscall.h] (common-generated): Likewise.
4630 * sysdeps/unix/errnos-tmpl.c: Remove file.
4631 * sysdeps/unix/errnos.awk: Likewise.
4632 * sysdeps/unix/ioctls-tmpl.c: Likewise.
4633 * sysdeps/unix/ioctls.awk: Likewise.
4634 * sysdeps/unix/mk-local_lim.c: Likewise.
4635 * sysdeps/unix/snarf-ioctls: Likewise.
4637 2012-03-19 Richard Henderson <rth@twiddle.net>
4639 * sysdeps/i386/fpu/fenv_private.h: New file.
4640 * sysdeps/i386/fpu/math_private.h: Use it.
4641 (math_opt_barrier, math_force_eval): Remove.
4642 (libc_feholdexcept_setround_53bit): Remove.
4643 (libc_feupdateenv_53bit): Remove.
4644 * sysdeps/x86_64/fpu/math_private.h: Likewise.
4645 (math_opt_barrier, math_force_eval): Remove.
4646 (libc_feholdexcept): Remove.
4647 (libc_feholdexcept_setround): Remove.
4648 (libc_fetestexcept, libc_fesetenv): Remove.
4649 (libc_feupdateenv_test): Remove.
4650 (libc_feupdateenv, libc_feholdsetround): Remove.
4651 (libc_feresetround): Remove.
4653 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
4654 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
4656 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
4657 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
4658 (libc_feupdateenv_testl): New.
4659 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
4660 (libc_feupdateenv_testf): New.
4661 (libc_feupdateenv): Use libc_feupdateenv_test.
4662 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
4663 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
4665 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
4666 (libc_feholdsetroundf, libc_feholdsetroundl): New.
4667 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
4668 (libc_feresetround_noex): New.
4669 (libc_feresetround_noexf): New.
4670 (libc_feresetround_noexl): New.
4671 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
4672 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
4673 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
4674 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
4676 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
4677 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
4679 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
4680 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
4681 SET_RESTORE_ROUND_NOEX.
4682 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
4683 SET_RESTORE_ROUND_NOEXF.
4684 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
4685 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
4686 (libc_feholdsetroundf): New.
4687 (libc_feresetround, libc_feresetroundf): New.
4689 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
4690 (libc_feholdexcept_setround_53bit): Convert from macro to function.
4691 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
4693 * sysdeps/generic/math_private.h: Include <fenv.h>.
4694 (default_libc_feholdexcept): New.
4695 (default_libc_feholdexcept_setround): New.
4696 (default_libc_fesetenv, default_libc_feupdateenv): New.
4697 (libc_feholdexcept): Only define if undefined.
4698 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
4699 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
4700 (libc_feholdexcept_setroundl): Likewise.
4701 (libc_feholdexcept_setround_53bit): Likewise.
4702 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
4703 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
4704 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
4705 (libc_feupdateenv_53bit): Likewise.
4706 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
4707 (libc_feholdexcept): Convert from macro to inline function.
4708 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
4709 (libc_fesetenv, libc_feupdateenv): Likewise.
4711 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
4712 not previously defined.
4713 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
4714 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
4715 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
4716 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
4717 * sysdeps/ieee754/flt-32/math_private.h: New file.
4718 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
4719 math_private.h below SET_FLOAT_WORD.
4720 (__isnan, __isinf_ns, __finite): Remove.
4721 (__isnanf, __isinf_nsf, __finitef): Remove.
4723 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
4725 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4727 2012-03-17 David S. Miller <davem@davemloft.net>
4730 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
4733 2012-03-16 David S. Miller <davem@davemloft.net>
4735 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
4739 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
4741 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
4742 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
4743 sysdep_routines when subdir is sysvipc.
4744 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
4747 * sysdeps/sparc/fpu/libm-test/ulps: Update.
4749 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4751 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
4754 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4756 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
4757 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
4758 (__lround): Renamed to ...
4759 (__llround): This. Replace long int with long long int.
4760 Define lround functions as aliases of llround functions.
4761 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
4763 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4765 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
4766 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
4767 adresses to uintptr_t. Replace "long int" and "unsigned long
4768 int" with "greg_t" on va_arg.
4770 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4772 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
4773 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
4775 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
4776 Move e_machine check before EI_CLASS check. Handle x32
4777 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
4778 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
4779 SKIP_EM_IA_64 and include
4780 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
4782 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
4783 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
4784 (add_system_dir): New macro.
4786 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
4787 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
4789 2012-03-16 Joseph Myers <joseph@codesourcery.com>
4800 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
4802 * math/w_j0f.c (j0f): Likewise.
4804 * math/w_j0l.c (__j0l): Likewise.
4806 * math/w_j1.c (j1): Likewise.
4808 * math/w_j1f.c (j1f): Likewise.
4810 * math/w_j1l.c (__j1l): Likewise.
4812 * math/w_jn.c (jn): Likewise.
4814 * math/w_jnf.c (jnf): Likewise.
4816 * math/w_jnl.c (__jnl): Likewise.
4818 * math/libm-test.inc (j0_test): Add more tests.
4819 (j1_test): Likewise.
4820 (jn_test): Likewise. Add trailing semicolon to existing test.
4821 (y0_test): Likewise.
4822 (y1_test): Likewise.
4823 * sysdeps/i386/fpu/libm-test-ulps: Update.
4824 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4828 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
4829 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
4830 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
4831 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
4832 (__tanl): Set errno for infinite argument.
4833 * sysdeps/i386/fpu/mptan.c: Remove.
4834 * sysdeps/i386/fpu/s_tan.S: Likewise.
4835 * sysdeps/i386/fpu/s_tanl.S: Likewise.
4836 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
4837 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
4838 * math/libm-test.inc (tan_test): Add more tests and enable more
4839 tests for double and long double.
4840 * sysdeps/i386/fpu/libm-test-ulps: Update.
4841 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4843 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4845 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
4846 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
4848 2012-03-16 Roland McGrath <roland@hack.frob.com>
4850 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
4851 * configure.in: Use it for both main tree and add-ons.
4852 * configure: Regenerated.
4854 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4856 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
4858 2012-03-16 Joseph Myers <joseph@codesourcery.com>
4860 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
4864 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
4865 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
4866 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
4867 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
4868 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
4870 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
4871 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
4873 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
4874 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
4875 * sysdeps/i386/fpu/s_cosl.S: Likewise.
4876 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
4877 * sysdeps/i386/fpu/s_sinl.S: Likewise.
4878 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
4879 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
4880 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
4881 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
4882 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
4883 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
4884 * math/libm-test.inc (cos_test): Add more tests and enable more
4885 tests for long double.
4886 (sin_test): Likewise.
4887 (sincos_test): Likewise.
4888 * sysdeps/i386/fpu/libm-test-ulps: Update.
4889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4891 2012-03-16 David S. Miller <davem@davemloft.net>
4893 * sysdeps/sparc/fpu/math_private.h: New file.
4895 2012-03-15 David S. Miller <davem@davemloft.net>
4897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
4899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
4900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
4902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
4903 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
4904 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
4905 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
4906 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
4907 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
4909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4911 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
4912 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
4914 * sysdeps/sparc/sparc-ifunc.h: New file.
4915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
4917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
4918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
4920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
4922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
4923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
4924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
4929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
4931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
4933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
4935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
4937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
4938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
4939 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4940 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4941 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
4942 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
4943 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4944 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4945 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
4946 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
4947 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
4948 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
4949 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
4950 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
4951 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
4952 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
4953 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
4954 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
4955 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
4956 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
4957 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
4958 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
4960 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
4962 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
4964 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4966 2012-03-15 Andreas Jaeger <aj@suse.de>
4969 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
4970 ieee754/flt-32 implementation for sin, cos and sincos.
4971 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
4972 * sysdeps/i386/fpu/s_cosf.S: Likewise.
4973 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
4974 * sysdeps/i386/fpu/s_sinf.S: Likewise.
4975 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
4976 ieee754/flt-32 implementation for tan.
4978 * math/libm-test.inc (cos_test): Enable some large input tests for
4980 (sin_test): Likewise.
4981 (sincos_test): Likewise.
4982 (tan_test): Add tests for large input.
4984 * sysdeps/i386/fpu/libm-test-ulps: Update.
4986 2012-03-15 Andreas Jaeger <aj@suse.de>
4989 * math/libm-test.inc (cos_test): Add more test cases.
4990 (sin_test): Likewise.
4991 (sincos_test): Likewise.
4993 2012-03-15 Andreas Jaeger <aj@suse.de>
4996 * math/libm-test.inc (cos_test): Add a test case for large input
4998 (sin_test): Likewise.
4999 (sincos_test): Likewise.
5001 2012-03-15 Andreas Jaeger <aj@suse.de>,
5002 Joseph Myers <joseph@codesourcery.com>
5005 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
5006 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
5007 * sysdeps/i386/fpu/branred.c: Likewise.
5008 * sysdeps/i386/fpu/dosincos.c: Likewise.
5009 * sysdeps/i386/fpu/mpa.c: Likewise.
5010 * sysdeps/i386/fpu/s_cos.S: Likewise.
5011 * sysdeps/i386/fpu/s_sin.S: Likewise.
5012 * sysdeps/i386/fpu/s_sincos.S: Likewise.
5013 * sysdeps/i386/fpu/sincos32.c: Likewise.
5015 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
5017 (libc_feupdateenv_53bit): Define.
5018 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
5020 (libc_feupdateenv_53bit): Define.
5022 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
5023 53 bit (without extend i386 double precision).
5025 * math/libm-test.inc (sincos_test): Add tests for large input.
5029 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
5031 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
5033 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5035 2012-03-15 David S. Miller <davem@davemloft.net>
5037 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
5038 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
5039 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
5040 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
5041 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
5042 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
5043 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
5044 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
5045 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
5046 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
5047 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
5048 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
5049 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
5050 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
5051 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
5052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
5054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
5055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
5057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
5058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
5060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
5061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
5063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
5064 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
5065 fmin/fmax sysdep routines.
5066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
5068 2012-03-14 David S. Miller <davem@davemloft.net>
5070 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
5071 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
5072 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
5073 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
5074 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
5075 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
5076 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
5077 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
5078 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
5079 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
5080 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
5081 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
5082 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
5083 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
5084 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
5085 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
5086 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
5087 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
5088 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
5089 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
5090 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
5091 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
5092 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
5093 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
5094 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
5095 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
5096 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
5097 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
5098 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
5100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
5102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
5103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
5105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
5106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
5108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
5109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
5111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
5112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
5114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
5115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
5117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
5119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
5121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
5123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
5125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
5127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
5129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
5130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
5132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
5133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
5135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
5136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
5138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
5139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
5142 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
5145 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5147 * sysdeps/sparc/configure.in: New file.
5148 * sysdeps/sparc/configure: Generate.
5149 * configure.in (libc_cv_sparc_as_vis3): Substitute.
5150 * configure: Regenerate.
5151 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
5152 * config.make.in (have-as-vis3): New.
5153 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
5154 available use -Av9d instead of -Av9a.
5155 * sysdeps/sparc/sparc64/Makefile: Likewise.
5156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
5157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
5159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
5161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
5163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
5165 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
5166 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
5167 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
5168 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
5169 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
5171 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
5172 fzeros/fnegs to load 0x80000000 into a float register instead of
5174 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
5176 2012-03-14 Joseph Myers <joseph@codesourcery.com>
5178 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5180 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
5181 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
5182 ($(inst_includedir)/bits/syscall.h): Remove rule.
5183 ($(objpfx)bits/syscall.d): Include instead of
5184 $(objpfx)syscall-list.d.
5185 (generated): Change syscall-list.h and syscall-list.d to
5186 bits/syscall.h and bits/syscall.d.
5188 2012-03-14 Roland McGrath <roland@hack.frob.com>
5191 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
5193 2012-03-14 Joseph Myers <joseph@codesourcery.com>
5196 * math/s_csqrt.c: Include <float.h>.
5197 (__csqrt): Scale large or subnormal inputs.
5198 * math/s_csqrtf.c: Likewise.
5199 * math/s_csqrtl.c: Likewise.
5200 * math/libm-test.inc (csqrt_test): Add more tests.
5201 * sysdeps/i386/fpu/libm-test-ulps: Update.
5202 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5205 * math/libm-test.inc (hypot_test): Add more tests.
5207 2012-03-13 David S. Miller <davem@davemloft.net>
5210 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
5211 double-precision for the calculation instead of scaling.
5213 2012-03-13 Joseph Myers <joseph@codesourcery.com>
5215 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
5216 manipulate bits before adding and subtracting TWO52[sx].
5217 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
5218 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
5220 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
5222 2012-03-13 David S. Miller <davem@davemloft.net>
5224 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
5225 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
5226 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
5227 rtld-global-offsets.h
5228 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5230 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
5233 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
5235 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
5236 'err' in the ifdef scope in which it is actually used.
5238 * nss/nss_db/db-init.c: Include string.h
5240 2012-03-12 David S. Miller <davem@davemloft.net>
5242 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
5243 masking out of the most significant byte of random value used.
5244 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5245 Fix coding style in previous change.
5247 * sysdeps/unix/sysv/linux/kernel-features.h
5248 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
5249 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
5251 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
5254 2012-03-11 David S. Miller <davem@davemloft.net>
5256 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
5257 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
5258 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
5259 for 'resultvar' otherwise things get truncated on 64-bit.
5261 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5262 Fix masking out of the most significant byte of random value used.
5264 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5266 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
5268 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5270 2012-03-09 David S. Miller <davem@davemloft.net>
5272 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
5273 variables with appropriate CPP guards.
5274 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
5275 frame pointer, not the stack pointer. Correct layout comments. Fix test
5276 on resulting framesize and the management of the outregs buffer for pltexit.
5277 Preserve floating point return values across _dl_call_pltexit call.
5278 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
5279 framesize and the management of the outregs buffer for pltexit.
5280 Preserve floating point return values across _dl_call_pltexit
5282 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
5283 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
5284 (print_exit): Fix format string for return register value.
5286 2012-03-10 Joseph Myers <joseph@codesourcery.com>
5288 * sunrpc/Makefile (others): Add rpcgen.
5289 ($(objpfx)rpcgen): Remove special build rule and dependency on
5291 * sunrpc/rpcgen.c: New file.
5293 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
5296 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
5297 * stdio-common/bug-vfprintf-nargs.c: Likewise.
5298 * sysdeps/i386/crti.S: Likewise.
5299 * sysdeps/i386/crtn.S: Likewise.
5300 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
5301 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
5302 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
5303 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
5304 * sysdeps/sh/crti.S: Likewise.
5305 * sysdeps/sh/crtn.S: Likewise.
5306 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
5309 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
5311 * locale/programs/locfile-kw.gperf: Likewise.
5312 * locale/programs/charmap-kw.h: Regenerated.
5313 * locale/programs/locfile-kw.h: Likewise.
5316 * intl/plural.y: Replace FSF snail mail address with URL.
5317 * intl/plural.c: Regenerated.
5319 2012-03-09 Richard Henderson <rth@twiddle.net>
5321 * include/math_private.h: Remove file.
5322 * math/math_private.h: Move file ...
5323 * sysdeps/generic/math_private.h: ... here.
5325 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
5326 * sysdeps/powerpc/fpu/math_private.h: Likewise.
5327 * sysdeps/x86_64/fpu/math_private.h: Likewise.
5329 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
5330 and <math_private.h>.
5331 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
5332 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
5333 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
5334 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
5335 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
5336 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
5337 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5338 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5339 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
5340 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5341 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5342 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5343 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
5344 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5345 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
5346 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
5347 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5348 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5349 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5350 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
5351 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5352 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
5353 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
5354 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5355 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
5356 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5357 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
5358 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5359 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5360 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5361 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
5362 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5363 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
5364 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5365 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5366 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5367 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5368 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5369 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5370 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5371 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
5372 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5373 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
5374 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
5375 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
5376 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5377 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
5378 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
5379 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5380 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5381 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
5382 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
5383 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
5384 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5385 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
5386 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5387 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5388 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5389 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
5390 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
5391 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5392 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
5393 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5394 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5395 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
5396 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5397 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5398 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5399 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
5400 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
5401 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
5402 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5403 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
5404 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5405 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
5406 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
5407 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
5408 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5409 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
5410 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
5411 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
5412 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
5413 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
5414 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
5415 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5416 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
5417 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
5418 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
5419 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
5420 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5421 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5422 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
5423 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5424 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
5425 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
5426 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
5427 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5428 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
5429 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5430 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
5431 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
5432 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
5433 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
5434 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
5435 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5436 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
5437 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
5438 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
5439 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5440 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5441 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5442 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5443 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
5444 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5445 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
5446 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5447 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5448 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
5449 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5450 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5451 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5452 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
5453 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5454 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
5455 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5456 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
5457 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
5458 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
5459 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
5460 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
5461 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
5462 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5463 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5464 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
5465 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
5466 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
5467 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
5468 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
5469 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
5470 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
5471 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5472 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
5473 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
5474 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
5475 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
5476 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
5477 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
5478 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
5479 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
5480 * sysdeps/ieee754/k_standard.c: Likewise.
5481 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
5482 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
5483 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5484 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
5485 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
5486 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
5487 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
5488 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
5489 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
5490 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5491 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5492 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
5493 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
5494 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
5495 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
5496 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
5497 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
5498 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
5499 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
5500 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
5501 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
5502 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
5503 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5504 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
5505 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
5506 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
5507 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
5508 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
5509 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
5510 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5511 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
5512 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
5513 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
5514 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
5515 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
5516 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
5517 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
5518 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
5519 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
5520 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5521 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
5522 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
5523 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
5524 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
5525 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
5526 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
5527 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
5528 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5529 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
5530 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5531 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5532 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
5533 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
5534 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
5535 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5536 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5537 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
5538 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
5539 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
5540 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
5541 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5542 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
5543 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5544 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
5545 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5546 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5547 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
5548 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
5549 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
5550 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
5551 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
5552 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5553 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
5554 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
5555 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
5556 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
5557 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
5558 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
5559 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5560 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
5561 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
5562 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
5563 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
5564 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
5565 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
5566 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5567 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
5568 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
5569 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5570 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
5571 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
5572 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
5573 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
5574 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
5575 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5576 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
5577 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
5578 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
5579 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
5580 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
5581 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
5582 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5583 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
5584 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
5585 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
5586 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
5587 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5588 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
5589 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
5590 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
5591 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
5592 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
5593 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
5594 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
5595 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
5596 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5597 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
5598 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
5599 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5600 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
5601 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5602 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
5603 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
5604 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
5605 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
5606 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
5607 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
5608 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
5609 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
5610 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5611 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
5612 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
5613 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
5614 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
5615 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
5616 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
5617 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
5618 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
5619 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
5620 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
5621 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
5622 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
5623 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
5624 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
5625 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
5626 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
5627 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
5628 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
5629 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
5630 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
5631 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
5632 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5633 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5634 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
5635 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
5636 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
5637 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
5638 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
5639 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
5640 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
5641 * sysdeps/ieee754/s_lib_version.c: Likewise.
5642 * sysdeps/ieee754/s_matherr.c: Likewise.
5643 * sysdeps/ieee754/s_signgam.c: Likewise.
5644 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5645 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5646 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
5647 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
5648 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
5649 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
5650 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
5651 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
5652 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
5653 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
5654 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
5655 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
5656 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
5657 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5658 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
5659 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
5660 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5661 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
5662 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5663 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5664 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5666 2012-03-09 Joseph Myers <joseph@codesourcery.com>
5668 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
5669 * sunrpc/rpc_main.c: Likewise.
5670 * sunrpc/rpc_svcout.c: Likewise.
5672 2012-03-09 David S. Miller <davem@davemloft.net>
5674 * include/math_private.h: New file.
5676 2012-03-09 Joseph Myers <joseph@codesourcery.com>
5678 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
5679 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
5680 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
5681 from <bits/socket_type.h>.
5682 (enum __socket_type): Don't define here.
5683 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
5684 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5688 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
5691 * Makerules ($(inst_includedir)/%.h): New rule.
5692 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
5693 (install-others): Remove variable setting.
5694 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
5696 2012-03-08 Richard Henderson <rth@twiddle.net>
5698 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
5699 from macro to inline function; merge with the
5700 !__LIBC_INTERNAL_MATH_INLINES version.
5701 (__ieee754_sqrtf): Likewise.
5703 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
5705 (__rintf, __floor, __floorf): Likewise.
5707 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
5708 macro to inline function.
5709 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
5711 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
5712 not <math/math_private.h>.
5714 2012-03-08 David S. Miller <davem@davemloft.net>
5716 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
5718 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
5720 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
5722 * resolv/gai_misc.c (handle_requests): Fix struct timespec
5724 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
5725 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
5727 2012-03-08 Ulrich Drepper <drepper@gmail.com>
5729 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
5730 be defined individually, they must be defined as a block. Define
5731 S for printing a string instead of hidint the different by using a
5732 macro for adding the 'l'.
5733 * stdio-common/tst-fphex-wide.c: Adjust.
5735 2012-03-07 Marek Polacek <polacek@redhat.com>
5737 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
5739 2012-03-08 Marek Polacek <polacek@redhat.com>
5742 * stdio-common/Makefile (tests): Add tst-fphex-wide.
5743 * stdio-common/tst-fphex.c: Define a few macros to make the
5744 test reusable. Use them.
5745 * stdio-common/tst-fphex-wide.c: New file.
5747 2012-03-08 Joseph Myers <joseph@codesourcery.com>
5750 * manual/macros.texi (gnusystems): New macro.
5751 (nongnusystems): Likewise.
5752 (gnulinuxhurdsystems): Likewise.
5753 (gnuhurdsystems): Likewise..
5754 (gnulinuxsystems): Likewise.
5755 * manual/charset.texi: Use new macros or @theglibc{} to refer to
5756 variants of the GNU system, not "GNU system".
5757 * manual/conf.texi: Likewise.
5758 * manual/errno.texi: Likewise. Update example of errno macro
5760 * manual/filesys.texi: Likewise.
5761 (getumask): Document as specific to GNU/Hurd.
5762 * manual/install.texi: Likewise. Reword some references to
5764 * manual/intro.texi: Likewise.
5765 * manual/io.texi: Likewise.
5766 (File Name Portability): Detail which constraints are inapplicable
5767 to all GNU systems and which are only inapplicable to GNU/Hurd.
5768 * manual/job.texi: Likewise.
5769 * manual/llio.texi: Likewise.
5770 (O_NOCTTY): Document as present on GNU/Linux.
5771 * manual/maint.texi: Likewise.
5772 * manual/memory.texi: Likewise.
5773 * manual/pattern.texi: Likewise.
5774 * manual/pipe.texi: Likewise.
5775 * manual/process.texi: Likewise.
5776 * manual/resource.texi: Likewise.
5777 (RUSAGE_CHILDREN): Remove statement about specifying a particular
5779 * manual/setjmp.texi: Likewise.
5780 * manual/signal.texi: Likewise.
5781 * manual/startup.texi: Likewise.
5782 * manual/stdio.texi: Likewise.
5783 * manual/terminal.texi: Likewise.
5784 (ONLCR): Document as POSIX.
5785 (OXTABS): Document availability on GNU/Linux as XTABS.
5786 (ONOEOT): Document availability separately from other bits.
5787 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
5788 * manual/time.texi: Likewise.
5789 * manual/users.texi: Likewise.
5790 * INSTALL: Regenerated.
5791 * sysdeps/gnu/errlist.c: Regenerated.
5793 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
5794 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
5795 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
5797 * configure: Regenerated.
5799 2012-03-07 Joseph Myers <joseph@codesourcery.com>
5801 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
5802 default includes instead of AC_HEADER_CHECK.
5803 * sysdeps/i386/configure: Regenerated.
5806 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
5807 * math/s_cacoshf.c (__cacoshf): Likewise.
5808 * math/s_cacoshl.c (__cacoshl): Likewise.
5809 * math/s_casinh.c (__casinh): Set signs of result from argument.
5810 * math/s_casinhf.c (__casinhf): Likewise.
5811 * math/s_casinhl.c (__casinhl): Likewise.
5812 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
5813 (casinh_test): Add more tests.
5814 * sysdeps/i386/fpu/libm-test-ulps: Update.
5815 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5817 2012-03-07 Ulrich Drepper <drepper@gmail.com>
5819 * po/zh_TW.po: Update from translation team.
5821 * login/Makefile (distribute): Remove variable.
5822 * catgets/Makefile: Likewise.
5823 * mach/Makefile: Likewise.
5824 * malloc/Makefile: Likewise.
5825 * misc/Makefile: Likewise.
5826 * iconv/Makefile: Likewise.
5827 * nscd/Makefile: Likewise.
5828 * hurd/Makefile: Likewise.
5829 * manual/Makefile: Likewise.
5830 * locale/Makefile: Likewise.
5831 * intl/Makefile: Likewise.
5832 * conform/Makefile: Likewise.
5833 * nss/Makefile: Likewise.
5834 * time/Makefile: Likewise.
5835 * soft-fp/Makefile: Likewise.
5836 * dirent/Makefile: Likewise.
5837 * gmon/Makefile: Likewise.
5838 * po/Makefile: Likewise.
5839 * rt/Makefile: Likewise.
5840 * socket/Makefile: Likewise.
5841 * math/Makefile: Likewise.
5842 * signal/Makefile: Likewise.
5843 * debug/Makefile: Likewise.
5844 * elf/Makefile: Likewise.
5845 * timezone/Makefile: Likewise.
5846 * stdlib/Makefile: Likewise.
5847 * iconvdata/Makefile: Likewise.
5848 * sunrpc/Makefile: Likewise.
5849 * io/Makefile: Likewise.
5850 * argp/Makefile: Likewise.
5851 * inet/Makefile: Likewise.
5852 * hesiod/Makefile: Likewise.
5853 * grp/Makefile: Likewise.
5854 * csu/Makefile: Likewise.
5855 * wctype/Makefile: Likewise.
5856 * crypt/Makefile: Likewise.
5857 * libio/Makefile: Likewise.
5858 * string/Makefile: Likewise.
5859 * nis/Makefile: Likewise.
5860 * resolv/Makefile: Likewise.
5861 * stdio-common/Makefile: Likewise.
5862 * wcsmbs/Makefile: Likewise.
5863 * dlfcn/Makefile: Likewise.
5864 * posix/Makefile: Likewise.
5867 * timezone/Makefile: Don't install timezone files, just the programs
5870 2012-03-06 Ulrich Drepper <drepper@gmail.com>
5872 * nss/databases.def: Add missing gshadow entry.
5874 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
5876 2012-03-06 Marek Polacek <polacek@redhat.com>
5879 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
5880 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
5881 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
5882 * stdio-common/tst-long-dbl-fphex.c: New file.
5884 2012-03-06 David S. Miller <davem@davemloft.net>
5886 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5887 (set_obp_int): New function.
5888 (get_obp_int): New function.
5889 (__get_clockfreq_via_dev_openprom): Likewise.
5890 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
5891 Avoid unused variable warnings on 'val' and use builtin_expect.
5892 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
5894 (INLINE_CLONE_SYSCALL): Likewise.
5896 2012-03-05 David S. Miller <davem@davemloft.net>
5898 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5900 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
5902 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5904 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
5906 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5908 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
5910 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
5911 Replace gettimeofday with __vdso_gettimeofday.
5913 * sysdeps/unix/sysv/linux/x86_64/init-first.c
5914 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
5915 __vdso_clock_gettime and __vdso_getcpu.
5917 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
5918 time with __vdso_time.
5920 2012-03-05 Joseph Myers <joseph@codesourcery.com>
5922 * manual/lang.texi (size_t): Note types to which size_t may be
5923 equivalent with the GNU C Library, but do not describe when
5924 differences between them are significant.
5926 2012-03-05 Andreas Jaeger <aj@suse.de>
5928 * sysdeps/i386/fpu/libm-test-ulps: Update.
5930 2012-03-05 Joseph Myers <joseph@codesourcery.com>
5933 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
5934 (__ieee754_pow): Save and restore rounding mode and use
5935 round-to-nearest for main computations.
5936 * math/libm-test.inc (pow_test_tonearest): New function.
5937 (pow_test_towardzero): Likewise.
5938 (pow_test_downward): Likewise.
5939 (pow_test_upward): Likewise.
5940 (main): Call the new functions.
5941 * sysdeps/i386/fpu/libm-test-ulps: Update.
5942 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5945 * math/libm-test.inc (cosh_test_tonearest): New function.
5946 (cosh_test_towardzero): Likewise.
5947 (cosh_test_downward): Likewise.
5948 (cosh_test_upward): Likewise.
5949 (sinh_test_tonearest): Likewise.
5950 (sinh_test_towardzero): Likewise.
5951 (sinh_test_downward): Likewise.
5952 (sinh_test_upward): Likewise.
5953 (main): Call the new functions.
5954 * sysdeps/i386/fpu/libm-test-ulps: Update.
5955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5957 2012-03-05 Tom de Vries <tom@codesourcery.com>
5959 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
5960 default stack guard is set in last bytes.
5961 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
5963 2012-03-05 Kees Cook <keescook@chromium.org>
5965 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
5968 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
5969 possibly allocate from heap instead of stack.
5970 * stdio-common/bug-vfprintf-nargs.c: New file.
5971 * stdio-common/Makefile (tests): Add nargs overflow test.
5973 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
5975 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5977 2012-03-03 Marek Polacek <polacek@redhat.com>
5979 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
5980 * math/math_private.h: Likewise.
5981 * stdlib/tst-strtod.c: Likewise.
5982 * sysdeps/i386/i486/bits/atomic.h: Likewise.
5983 * sysdeps/x86_64/bits/atomic.h: Likewise.
5985 2012-03-02 David S. Miller <davem@davemloft.net>
5987 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
5988 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
5989 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
5990 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
5991 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
5992 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
5993 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
5994 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
5996 2012-03-02 Roland McGrath <roland@hack.frob.com>
5999 * manual/examples/README: New file, says the example source files
6000 can be used under GPL>=2.
6001 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
6002 line containing just "*/".
6003 * manual/examples/add.c: Add copyright header (GPL>=2).
6004 * manual/examples/argp-ex1.c: Likewise.
6005 * manual/examples/argp-ex2.c: Likewise.
6006 * manual/examples/argp-ex3.c: Likewise.
6007 * manual/examples/argp-ex4.c: Likewise.
6008 * manual/examples/atexit.c: Likewise.
6009 * manual/examples/db.c: Likewise.
6010 * manual/examples/dir.c: Likewise.
6011 * manual/examples/dir2.c: Likewise.
6012 * manual/examples/execinfo.c: Likewise.
6013 * manual/examples/filecli.c: Likewise.
6014 * manual/examples/filesrv.c: Likewise.
6015 * manual/examples/fmtmsgexpl.c: Likewise.
6016 * manual/examples/genpass.c: Likewise.
6017 * manual/examples/inetcli.c: Likewise.
6018 * manual/examples/inetsrv.c: Likewise.
6019 * manual/examples/isockad.c: Likewise.
6020 * manual/examples/longopt.c: Likewise.
6021 * manual/examples/memopen.c: Likewise.
6022 * manual/examples/memstrm.c: Likewise.
6023 * manual/examples/mkfsock.c: Likewise.
6024 * manual/examples/mkisock.c: Likewise.
6025 * manual/examples/mygetpass.c: Likewise.
6026 * manual/examples/pipe.c: Likewise.
6027 * manual/examples/popen.c: Likewise.
6028 * manual/examples/rprintf.c: Likewise.
6029 * manual/examples/search.c: Likewise.
6030 * manual/examples/select.c: Likewise.
6031 * manual/examples/setjmp.c: Likewise.
6032 * manual/examples/sigh1.c: Likewise.
6033 * manual/examples/sigusr.c: Likewise.
6034 * manual/examples/stpcpy.c: Likewise.
6035 * manual/examples/strdupa.c: Likewise.
6036 * manual/examples/strftim.c: Likewise.
6037 * manual/examples/strncat.c: Likewise.
6038 * manual/examples/subopt.c: Likewise.
6039 * manual/examples/swapcontext.c: Likewise.
6040 * manual/examples/termios.c: Likewise.
6041 * manual/examples/testopt.c: Likewise.
6042 * manual/examples/testpass.c: Likewise.
6043 * manual/examples/timeval_subtract.c: Likewise.
6046 * manual/time.texi (Elapsed Time): Move timeval_subtract example
6048 * manual/timeval_subtract.c.texi: ... here, new file.
6050 2012-03-02 David S. Miller <davem@davemloft.net>
6052 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
6054 2012-03-02 Joseph Myers <joseph@codesourcery.com>
6057 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
6058 (__sin): Save and restore rounding mode and use round-to-nearest
6059 for all computations.
6060 (__cos): Save and restore rounding mode and use round-to-nearest
6061 for all computations.
6062 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
6064 (tan): Save and restore rounding mode and use round-to-nearest for
6066 * math/libm-test.inc (cos_test_tonearest): New function.
6067 (cos_test_towardzero): Likewise.
6068 (cos_test_downward): Likewise.
6069 (cos_test_upward): Likewise.
6070 (sin_test_tonearest): Likewise.
6071 (sin_test_towardzero): Likewise.
6072 (sin_test_downward): Likewise.
6073 (sin_test_upward): Likewise.
6074 (tan_test_tonearest): Likewise.
6075 (tan_test_towardzero): Likewise.
6076 (tan_test_downward): Likewise.
6077 (tan_test_upward): Likewise.
6078 (main): Call the new functions.
6079 * sysdeps/i386/fpu/libm-test-ulps: Update.
6080 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6083 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
6084 small n, then large n, before computing and testing k+n.
6085 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
6086 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
6088 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
6090 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
6091 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
6092 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
6093 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
6094 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
6095 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
6096 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
6097 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
6098 * math/libm-test.inc (scalbn_test): Add more tests.
6099 (scalbln_test): Likewise.
6101 * manual/filesys.texi (mode_t): Describe constraints on size and
6102 signedness, not exact equivalence to a particular type.
6104 (ino64_t): Likewise.
6106 (nlink_t): Likewise.
6107 (blkcnt_t): Likewise.
6108 (blkcnt64_t): Likewise.
6109 * manual/llio.texi (off_t): Likewise.
6112 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
6113 (__ieee754_exp): Save and restore rounding mode and use
6114 round-to-nearest for all computations.
6115 * math/libm-test.inc (exp_test_tonearest): New function.
6116 (exp_test_towardzero): Likewise.
6117 (exp_test_downward): Likewise.
6118 (exp_test_upward): Likewise.
6119 (main): Call the new functions.
6120 * sysdeps/i386/fpu/libm-test-ulps: Update.
6121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6123 2012-03-01 Chris Demetriou <cgd@google.com>
6125 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
6126 have predictable order.
6128 2012-03-01 David S. Miller <davem@davemloft.net>
6130 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
6132 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
6133 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
6134 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
6135 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
6137 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
6138 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
6139 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
6140 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
6141 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
6142 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
6143 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
6144 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
6145 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
6147 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6149 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
6150 * sysdeps/sparc/fpu/libm-test-ulps: to here.
6151 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
6153 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
6154 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6155 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
6156 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
6157 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
6158 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
6159 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
6160 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6161 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
6162 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
6163 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
6164 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6165 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6166 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
6167 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6168 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6169 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
6170 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
6171 * sysdeps/sparc/elf/configure: Regenerated.
6173 2012-03-01 Joseph Myers <joseph@codesourcery.com>
6175 * configure.in (AS, LD): Require binutils 2.20 or later.
6176 * configure: Regenerated.
6177 * manual/install.texi (Tools for Compilation): Give binutils 2.20
6178 as required minimum version.
6179 * INSTALL: Regenerated.
6183 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
6184 before squaring exponent.
6185 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
6186 bottom long double and 27 bits of top long double before squaring
6188 * math/libm-test.inc (erfc_test): Add more tests.
6189 * sysdeps/i386/fpu/libm-test-ulps: Update.
6190 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6191 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6193 2012-03-01 Kai Tietz <ktietz@redhat.com>
6195 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
6196 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
6197 containing bit-fields.
6198 * soft-fp/extended.h (_FP_UNION_E): Likewise.
6199 * soft-fp/single.h (_FP_UNION_S): Likewise.
6200 * soft-fp/double.h (_FP_UNION_D): Likewise.
6202 2012-02-29 Joseph Myers <joseph@codesourcery.com>
6205 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
6206 not include ../strcmp.S.
6207 [USE_AS_STRNCASECMP_L]: Likewise.
6208 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
6209 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
6210 * sysdeps/i386/i686/multiarch/strncase_l-c.c
6211 (__strncasecmp_l_ia32): Define as alias to
6212 __strncasecmp_l_nonascii.
6215 * math/libm-test.inc (expm1_test): Add test for bug 5794.
6216 * sysdeps/i386/fpu/libm-test-ulps: Update.
6217 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6219 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
6220 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6222 2012-02-29 Jeff Law <law@redhat.com>
6224 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
6227 2012-02-29 Marek Polacek <polacek@redhat.com>
6230 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
6231 * elf/Makefile: Add rules to run tst-unused-dep.out.
6233 2012-02-28 David S. Miller <davem@davemloft.net>
6235 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
6236 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
6237 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
6238 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
6239 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
6240 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
6242 2012-02-29 Joseph Myers <joseph@codesourcery.com>
6244 * math/libm-test.inc (llround_test): Move one test from
6245 lround_test. Use TEST_f_L in moved test.
6246 (lround_test): Move misplaced test to llround_test. Add testcase
6249 2012-02-28 Ulrich Drepper <drepper@gmail.com>
6251 * sysdeps/x86_64/fpu/e_expf.S: New file.
6252 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
6254 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
6257 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
6258 of remain_len that may cause incomplete multi-byte character and
6260 * posix/bug-regex33.c: New file.
6261 * posix/Makefile (tests): Add bug-regex33.
6263 2012-02-28 Joseph Myers <joseph@codesourcery.com>
6265 * manual/macros.texi: New file.
6266 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
6267 * manual/libc.texinfo: Include macros.texi.
6268 * manual/creatute.texi: Likewise.
6269 * manual/install.texi: Likewise.
6270 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
6271 @glibcadj{} in references to the GNU C Library.
6272 * manual/charset.texi: Likewise.
6273 * manual/conf.texi: Likewise.
6274 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
6275 when not using those macros.
6276 * manual/creature.texi: Likewise.
6277 * manual/crypt.texi: Likewise.
6278 * manual/errno.texi: Likewise.
6279 * manual/filesys.texi: Likewise.
6280 * manual/header.texi: Likewise.
6281 * manual/install.texi: Likewise.
6282 * manual/intro.texi: Likewise.
6283 * manual/io.texi: Likewise.
6284 * manual/job.texi: Likewise.
6285 * manual/lang.texi: Likewise.
6286 * manual/libc.texiinfo: Likewise.
6287 * manual/llio.texi: Likewise.
6288 * manual/locale.texi: Likewise.
6289 * manual/maint.texi: Likewise.
6290 * manual/math.texi: Likewise.
6291 * manual/memory.texi: Likewise.
6292 * manual/message.texi: Likewise.
6293 * manual/nss.texi: Likewise.
6294 * manual/pattern.texi: Likewise.
6295 * manual/process.texi: Likewise.
6296 * manual/resource.texi: Likewise.
6297 * manual/search.texi: Likewise.
6298 * manual/setjmp.texi: Likewise.
6299 * manual/signal.texi: Likewise.
6300 * manual/socket.texi: Likewise.
6301 * manual/startup.texi: Likewise.
6302 * manual/stdio.texi: Likewise.
6303 * manual/string.texi: Likewise.
6304 * manual/sysinfo.texi: Likewise.
6305 * manual/syslog.texi: Likewise.
6306 * manual/terminal.texi: Likewise.
6307 * manual/time.texi: Likewise.
6308 * manual/users.texi: Likewise.
6309 * INSTALL: Regenerated.
6310 * NOTES: Regenerated.
6311 * sysdeps/gnu/errlist.c: Regenerated.
6313 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
6315 * include/dirent.h: Include <dirstream.h> before
6318 2012-02-28 David S. Miller <davem@davemloft.net>
6320 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
6321 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
6322 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
6323 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
6325 2012-02-27 David S. Miller <davem@davemloft.net>
6327 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
6328 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
6329 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
6330 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
6332 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
6333 frame pointer instead of stack pointer relative arg slot.
6334 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
6335 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
6336 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
6338 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
6341 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
6343 2012-02-27 David S. Miller <davem@davemloft.net>
6345 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
6346 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
6347 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
6348 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
6349 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
6350 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
6351 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
6352 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
6354 2012-02-27 Joseph Myers <joseph@codesourcery.com>
6356 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
6357 later. Allow versions 5-9.
6358 * configure: Regenerated.
6359 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
6360 required minimum version and 4.6 as recommended version. Do not
6361 mention bugs in GCC 2.7 and 2.8.
6362 * INSTALL: Regenerated.
6364 2012-02-27 David S. Miller <davem@davemloft.net>
6366 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
6367 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
6368 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
6369 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
6370 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
6371 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
6372 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
6373 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
6375 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
6376 manipulate bits before adding and subtracting TWO112[sx].
6377 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
6379 2012-02-27 Roland McGrath <roland@hack.frob.com>
6382 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
6383 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
6384 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
6385 being in POSIX, because they are in 1003.1-2008.
6387 * rt/tst-aio.c: Include <fcntl.h>.
6388 * rt/tst-aio7.c: Likewise.
6389 * rt/tst-aio64.c: Likewise.
6391 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
6393 2012-02-27 Joseph Myers <joseph@codesourcery.com>
6395 * manual/install.texi (--with-headers): Describe headers as
6396 interface headers, not private headers.
6397 (Specific advice for GNU/Linux systems): Describe use of headers
6398 from "make headers_install", not private headers from older
6400 * INSTALL: Regenerated.
6401 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
6403 * sysdeps/unix/sysv/linux/configure: Regenerated.
6405 * manual/llio.texi (fclean): Remove documentation.
6407 * manual/Makefile (libc-texi-generated): New variable. Include
6409 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
6410 $(libc-texi-generated), not duplicated list of files.
6411 (version.texi, stamp-version): New rules.
6412 (realclean): Remove $(libc-texi-generated), not individual files
6413 from that list. Do not remove dir-add.texinfo.
6414 * manual/libc.texinfo: Comment out uses of edition numbers and
6415 references to printed manual. Remove last-updated dates.
6416 (EDITION): Comment out.
6418 (VERSION, UPDATED): Remove.
6419 (version.texi): Include.
6421 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
6423 * sysdeps/posix/spawni.c: Include <signal.h>.
6424 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
6425 * sysdeps/pthread/aio_fsync.c: Likewise.
6427 2012-02-26 Ulrich Drepper <drepper@gmail.com>
6429 * conform/Makefile (tests): Run only when not cross-compiling and
6430 when fast-check is not defined.
6432 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
6433 * conform/data/limits.h-data: Fixes for POSIX2008.
6434 * conform/run-conformtest.sh: Run all tests.
6435 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
6437 * include/bits/dlfcn.h: Likewise.
6438 * include/langinfo.h: Likewise.
6439 * include/monetary.h: Likewise.
6440 * include/sys/poll.h: Likewise.
6442 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
6444 * posix/spawn.h: Define __need_sigset_t.
6445 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
6446 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
6447 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
6448 to get sigevent_t only.
6449 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
6451 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6452 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
6453 process_vm_writev only for __USE_GNU.
6454 * termios/termios.h: Declare tcgetsid also for POSIX2008.
6456 * conform/Makefile: For now ignore errors from run-conformtest.
6457 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
6458 POSIX to avoid namespace pollution. Don't prepend headers.
6459 * conform/data/aio.h-data: Fixes for POSIX testing.
6460 * conform/data/fcntl.h-data: Likewise.
6461 * conform/data/glob.h-data: Likewise.
6462 * conform/data/grp.h-data: Likewise.
6463 * conform/data/pthread.h-data: Likewise.
6464 * conform/data/pwd.h-data: Likewise.
6465 * conform/data/signal.h-data: Likewise.
6466 * conform/data/spawn.h-data: Likewise.
6467 * conform/data/stdio.h-data: Likewise.
6468 * conform/data/stdlib.h-data: Likewise.
6469 * conform/data/stropts.h-data: Likewise.
6470 * conform/data/sys/mman.h-data: Likewise.
6471 * conform/data/sys/stat.h-data: Likewise.
6472 * conform/data/sys/types.h-data: Likewise.
6473 * conform/data/sys/wait.h-data: Likewise.
6474 * conform/data/time.h-data: Likewise.
6475 * conform/data/unistd.h-data: Likewise.
6476 * conform/data/utime.h-data: Likewise.
6478 * io/sys/stat.h: fchmod was always in POSIX.
6479 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
6480 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
6481 * rt/aio.h: Define __need_timespec before including <time.h>.
6482 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
6483 struct. Add forward declaration of pthread_attr_t and use it in
6485 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
6486 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6487 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
6488 always remove CLK_TCK definition.
6490 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
6492 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
6494 2012-02-25 Ulrich Drepper <drepper@gmail.com>
6496 * conform/run-conformtest.sh: New file.
6497 * conform/Makefile: Run run-conformtest for tests.
6498 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
6501 * conform/data/uchar.h-data: New file.
6502 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
6503 * conform/data/arpa/inet.h-data: Likewise.
6504 * conform/data/assert.h-data: Likewise.
6505 * conform/data/complex.h-data: Likewise.
6506 * conform/data/cpio.h-data: Likewise.
6507 * conform/data/ctype.h-data: Likewise.
6508 * conform/data/dirent.h-data: Likewise.
6509 * conform/data/dlfcn.h-data: Likewise.
6510 * conform/data/errno.h-data: Likewise.
6511 * conform/data/fcntl.h-data: Likewise.
6512 * conform/data/float.h-data: Likewise.
6513 * conform/data/fmtmsg.h-data: Likewise.
6514 * conform/data/fnmatch.h-data: Likewise.
6515 * conform/data/ftw.h-data: Likewise.
6516 * conform/data/glob.h-data: Likewise.
6517 * conform/data/grp.h-data: Likewise.
6518 * conform/data/iconv.h-data: Likewise.
6519 * conform/data/inttypes.h-data: Likewise.
6520 * conform/data/langinfo.h-data: Likewise.
6521 * conform/data/libgen.h-data: Likewise.
6522 * conform/data/limits.h-data: Likewise.
6523 * conform/data/locale.h-data: Likewise.
6524 * conform/data/math.h-data: Likewise.
6525 * conform/data/monetary.h-data: Likewise.
6526 * conform/data/mqueue.h-data: Likewise.
6527 * conform/data/ndbm.h-data: Likewise.
6528 * conform/data/net/if.h-data: Likewise.
6529 * conform/data/netdb.h-data: Likewise.
6530 * conform/data/netinet/in.h-data: Likewise.
6531 * conform/data/nl_types.h-data: Likewise.
6532 * conform/data/poll.h-data: Likewise.
6533 * conform/data/pthread.h-data: Likewise.
6534 * conform/data/pwd.h-data: Likewise.
6535 * conform/data/regex.h-data: Likewise.
6536 * conform/data/sched.h-data: Likewise.
6537 * conform/data/search.h-data: Likewise.
6538 * conform/data/semaphore.h-data: Likewise.
6539 * conform/data/setjmp.h-data: Likewise.
6540 * conform/data/signal.h-data: Likewise.
6541 * conform/data/spawn.h-data: Likewise.
6542 * conform/data/stdarg.h-data: Likewise.
6543 * conform/data/stdio.h-data: Likewise.
6544 * conform/data/stdlib.h-data: Likewise.
6545 * conform/data/string.h-data: Likewise.
6546 * conform/data/strings.h-data: Likewise.
6547 * conform/data/stropts.h-data: Likewise.
6548 * conform/data/sys/ipc.h-data: Likewise.
6549 * conform/data/sys/mman.h-data: Likewise.
6550 * conform/data/sys/msg.h-data: Likewise.
6551 * conform/data/sys/resource.h-data: Likewise.
6552 * conform/data/sys/select.h-data: Likewise.
6553 * conform/data/sys/sem.h-data: Likewise.
6554 * conform/data/sys/shm.h-data: Likewise.
6555 * conform/data/sys/socket.h-data: Likewise.
6556 * conform/data/sys/stat.h-data: Likewise.
6557 * conform/data/sys/statvfs.h-data: Likewise.
6558 * conform/data/sys/time.h-data: Likewise.
6559 * conform/data/sys/timeb.h-data: Likewise.
6560 * conform/data/sys/times.h-data: Likewise.
6561 * conform/data/sys/types.h-data: Likewise.
6562 * conform/data/sys/uio.h-data: Likewise.
6563 * conform/data/sys/un.h-data: Likewise.
6564 * conform/data/sys/utsname.h-data: Likewise.
6565 * conform/data/sys/wait.h-data: Likewise.
6566 * conform/data/syslog.h-data: Likewise.
6567 * conform/data/tar.h-data: Likewise.
6568 * conform/data/termios.h-data: Likewise.
6569 * conform/data/utime.h-data: Likewise.
6570 * conform/data/utmpx.h-data: Likewise.
6571 * conform/data/varargs.h-data: Likewise.
6572 * conform/data/wchar.h-data: Likewise.
6573 * conform/data/wctype.h-data: Likewise.
6574 * conform/data/wordexp.h-data: Likewise.
6576 * include/stropts.h: New file.
6577 * include/uchar.h: New file.
6578 * include/aio.h: Changes to allow conformtest.pl to use the headers.
6579 * include/assert.h: Likewise.
6580 * include/ctype.h: Likewise.
6581 * include/dirent.h: Likewise.
6582 * include/dlfcn.h: Likewise.
6583 * include/fcntl.h: Likewise.
6584 * include/fnmatch.h: Likewise.
6585 * include/glob.h: Likewise.
6586 * include/grp.h: Likewise.
6587 * include/libio.h: Likewise.
6588 * include/locale.h: Likewise.
6589 * include/math.h: Likewise.
6590 * include/net/if.h: Likewise.
6591 * include/netdb.h: Likewise.
6592 * include/netinet/in.h: Likewise.
6593 * include/pthread.h: Likewise.
6594 * include/pwd.h: Likewise.
6595 * include/regex.h: Likewise.
6596 * include/sched.h: Likewise.
6597 * include/search.h: Likewise.
6598 * include/setjmp.h: Likewise.
6599 * include/signal.h: Likewise.
6600 * include/stdio.h: Likewise.
6601 * include/stdlib.h: Likewise.
6602 * include/string.h: Likewise.
6603 * include/sys/cdefs.h: Likewise.
6604 * include/sys/mman.h: Likewise.
6605 * include/sys/msg.h: Likewise.
6606 * include/sys/resource.h: Likewise.
6607 * include/sys/select.h: Likewise.
6608 * include/sys/socket.h: Likewise.
6609 * include/sys/stat.h: Likewise.
6610 * include/sys/statvfs.h: Likewise.
6611 * include/sys/time.h: Likewise.
6612 * include/sys/times.h: Likewise.
6613 * include/sys/uio.h: Likewise.
6614 * include/sys/utsname.h: Likewise.
6615 * include/sys/wait.h: Likewise.
6616 * include/termios.h: Likewise.
6617 * include/time.h: Likewise.
6618 * include/ulimit.h: Likewise.
6619 * include/unistd.h: Likewise.
6620 * include/utime.h: Likewise.
6621 * include/wchar.h: Likewise.
6622 * include/wctype.h: Likewise.
6623 * include/wordexp.h: Likewise.
6625 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
6627 * time/time.h: TIME_UTC must be a macro.
6628 Make timespec_get available for ISO C11 only as well.
6630 2012-02-24 Ulrich Drepper <drepper@gmail.com>
6632 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
6633 Reported by Peng Haitao <penght@cn.fujitsu.com>.
6635 2012-02-24 Joseph Myers <joseph@codesourcery.com>
6637 * configure.in: Use -o not -a in test for unsupported multi-arch.
6639 2012-02-24 Joseph Myers <joseph@codesourcery.com>
6641 * manual/texinfo.tex: Update to version 2012-01-19.16.
6643 2012-02-24 Joseph Myers <joseph@codesourcery.com>
6645 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
6647 2012-02-24 Roland McGrath <roland@hack.frob.com>
6650 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
6651 * manual/fdl-1.3.texi: New file.
6652 * manual/fdl-1.1.texi: File removed.
6655 * manual/libc.texinfo (FDL_VERSION): New @set.
6656 Use it for mention of FDL in cover text.
6657 (Documentation License): Use it in @include file name.
6659 2012-02-22 Joseph Myers <joseph@codesourcery.com>
6660 Roland McGrath <roland@hack.frob.com>
6663 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
6664 not LONG_LONG_MAX and LONG_LONG_MIN.
6665 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
6666 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
6668 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
6670 2012-02-22 Joseph Myers <joseph@codesourcery.com>
6674 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
6675 manipulate bits before adding and subtracting TWO23[sx].
6676 * math/libm-test.inc (nearbyint_test): Add more tests.
6678 2012-02-22 Joseph Myers <joseph@codesourcery.com>
6681 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
6682 bits before adding and subtracting TWO23[sx].
6683 * math/libm-test.inc (rint_test): Add more tests.
6684 (rint_test_tonearest): Likewise.
6685 (rint_test_towardzero): Likewise.
6686 (rint_test_downward): Likewise.
6687 (rint_test_upward: Likewise.
6689 2012-02-22 Joseph Myers <joseph@codesourcery.com>
6692 * include/stdc-predef.h: New file. Extracted from features.h.
6693 * include/features.h: Include stdc-predef.h.
6694 * Makefile (headers): Add stdc-predef.h.
6695 * CONFORMANCE (Compiler limitations): Update.
6697 2012-02-22 Joseph Myers <joseph@codesourcery.com>
6699 * manual/libc.texinfo (VERSION, UPDATED): Revert.
6701 2012-02-21 David S. Miller <davem@davemloft.net>
6703 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
6704 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
6706 2012-02-20 David S. Miller <davem@davemloft.net>
6708 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
6709 using a normal save/restore sequence, rather than allocating a
6710 dummy stack frame just to store a frame pointer and restore.
6711 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6713 2012-02-21 Joseph Myers <joseph@codesourcery.com>
6715 * manual/install.texi: Fix stray word in line-wrapped comment.
6717 2012-02-20 David S. Miller <davem@davemloft.net>
6719 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
6720 both binutils and gcc support GOTDATA.
6722 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
6723 "rd %pc" in the PIC register setup sequences.
6725 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
6726 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
6727 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
6728 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
6729 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
6730 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
6731 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6732 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6733 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
6734 (SYSCALL_ERROR_HANDLER): Likewise.
6735 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
6736 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6737 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
6738 (SYSCALL_ERROR_HANDLER): Likewise.
6740 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
6741 (HAVE_GCC_GOTDATA): New.
6742 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
6743 relocation support in both binutils and gcc.
6744 * sysdeps/sparc/elf/configure: Regenerate.
6746 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
6747 * sysdeps/sparc/sparc32/elf/configure: Delete.
6748 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
6749 * sysdeps/sparc/sparc64/elf/configure: Delete.
6750 * sysdeps/sparc/elf/configure.in: New file.
6751 * sysdeps/sparc/elf/configure: Generate.
6753 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
6754 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
6755 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
6756 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
6757 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
6759 2012-02-21 Joseph Myers <joseph@codesourcery.com>
6761 * manual/install.texi: Do not mention specific glibc version
6763 * manual/libc.texinfo (VERSION, UPDATED): Update.
6764 (@copying): Use @copyright{} and range of years.
6766 2012-02-21 Joseph Myers <joseph@codesourcery.com>
6769 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
6770 [crti.S not in sysdirs] (generated): Do not append.
6771 [crti.S not in sysdirs] (omit-deps): Likewise.
6772 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
6773 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
6774 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
6775 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
6776 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
6778 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
6779 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
6780 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
6781 * csu/defs.awk: Remove file.
6782 * sysdeps/generic/initfini.c: Likewise.
6783 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
6785 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
6788 2012-02-20 Joseph Myers <joseph@codesourcery.com>
6790 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
6791 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
6792 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
6793 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
6794 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6795 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
6797 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
6798 (__EPOLL_PACKED): Define to empty if not defined by
6800 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
6801 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6804 2012-02-20 Joseph Myers <joseph@codesourcery.com>
6806 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
6807 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
6808 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
6809 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
6811 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
6812 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6815 2012-02-20 Joseph Myers <joseph@codesourcery.com>
6817 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
6819 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6820 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6821 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
6822 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6824 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
6826 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6827 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
6829 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
6831 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
6832 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
6834 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
6836 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
6839 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
6841 * math/w_acos.c: Use non-signaling floating-point comparisons.
6842 * math/w_acosf.c: Likewise.
6843 * math/w_acosh.c: Likewise.
6844 * math/w_acoshf.c: Likewise.
6845 * math/w_acoshl.c: Likewise.
6846 * math/w_acosl.c: Likewise.
6847 * math/w_asin.c: Likewise.
6848 * math/w_asinf.c: Likewise.
6849 * math/w_asinl.c: Likewise.
6850 * math/w_atanh.c: Likewise.
6851 * math/w_atanhf.c: Likewise.
6852 * math/w_atanhl.c: Likewise.
6853 * math/w_exp2.c: Likewise.
6854 * math/w_exp2f.c: Likewise.
6855 * math/w_exp2l.c: Likewise.
6856 * math/w_j0.c: Likewise.
6857 * math/w_j0f.c: Likewise.
6858 * math/w_j0l.c: Likewise.
6859 * math/w_j1.c: Likewise.
6860 * math/w_j1f.c: Likewise.
6861 * math/w_j1l.c: Likewise.
6862 * math/w_jn.c: Likewise.
6863 * math/w_jnf.c: Likewise.
6864 * math/w_log.c: Likewise.
6865 * math/w_log10.c: Likewise.
6866 * math/w_log10f.c: Likewise.
6867 * math/w_log10l.c: Likewise.
6868 * math/w_log2.c: Likewise.
6869 * math/w_log2f.c: Likewise.
6870 * math/w_log2l.c: Likewise.
6871 * math/w_logf.c: Likewise.
6872 * math/w_logl.c: Likewise.
6873 * math/w_sqrt.c: Likewise.
6874 * math/w_sqrtf.c: Likewise.
6875 * math/w_sqrtl.c: Likewise.
6876 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6877 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
6878 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6879 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6880 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6882 2012-02-19 Joseph Myers <joseph@codesourcery.com>
6885 * manual/string.texi (strnlen): Use correct parameter name in
6886 equivalent expression.
6888 2012-02-19 Joseph Myers <joseph@codesourcery.com>
6891 * manual/users.texi (seteuid): Consistently use neweuid for
6894 2012-02-19 Joseph Myers <joseph@codesourcery.com>
6897 * manual/nss.texi (Services in the NSS configuration): Correct
6898 list of services in example configuration file.
6900 2012-02-19 Nick Bowler <nbowler@draconx.ca>
6903 * manual/arith.texi: Remove statements about negative zero
6904 behaving identically to zero.
6906 2012-02-18 Joseph Myers <joseph@codesourcery.com>
6909 * manual/install.texi: Do not document upgrading from libc5.
6911 2012-02-18 Joseph Myers <joseph@codesourcery.com>
6914 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
6916 2012-02-18 David S. Miller <davem@davemloft.net>
6918 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
6919 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
6920 %o7 across the call.
6921 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
6923 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
6925 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6926 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
6927 * sysdeps/sparc/crtn.S: Likewise.
6929 2012-02-17 Ulrich Drepper <drepper@gmail.com>
6931 * aout/Makefile: Remove.
6933 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
6936 * manual/examples/argp-ex1.c (main): Format definition in GNU
6938 * manual/examples/argp-ex2.c (main): Likewise.
6939 * manual/examples/argp-ex3.c (main): Likewise.
6940 * manual/examples/argp-ex4.c (main): Likewise.
6941 * manual/examples/longopt.c (main): Use new-style prototype
6943 * manual/examples/strncat.c (main): Specify return type and use
6944 (void) for arguments.
6945 * manual/examples/subopt.c (main): Use char **argv argument.
6947 2012-02-17 Joseph Myers <joseph@codesourcery.com>
6950 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
6953 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
6956 * manual/string.texi (strchr): Change when strchrnul is
6959 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
6962 * manual/locale.texi (setlocale): Document LOCPATH.
6964 2012-02-17 Joseph Myers <joseph@codesourcery.com>
6967 * manual/process.texi (execle): Move @dots{} before last argument.
6969 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
6972 * manual/charset.texi (Generic Charset Conversion): Fix typo
6973 (LC_TYPE -> LC_CTYPE).
6975 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
6978 * manual/arith.texi (scalbn): Use @var{} on parameter names.
6979 (scalbnf): Likewise.
6980 (scalbnl): Likewise.
6981 (scalbln): Likewise.
6982 (scalblnf): Likewise.
6983 (scalblnl): Likewise.
6984 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
6988 * manual/filesys.texi (telldir): Use braces around return type.
6989 * manual/llio.texi (mmap): Add space after comma.
6991 * manual/math.texi (jn): Use @var{} on parameter names.
6997 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
6999 * manual/resource.texi (ulimit): Use @dots{} instead of literal
7001 (sched_get_priority_min): Remove semicolon on @deftypefun line.
7002 (sched_get_priority_max): Likewise.
7003 * manual/signal.texi (sigvec): Add space after comma.
7004 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
7006 (if_indextoname): Likewise.
7007 (if_freenameindex): Likewise.
7008 (sendto): Use ',' instead of '.' in prototype.
7009 * manual/startup.texi (syscall): Use @dots{} instead of literal
7011 * manual/stdio.texi (__fpending): Separate initial words of
7012 paragraph from @deftypefun line.
7013 * manual/syslog.texi (syslog): Use @dots{} instead of literal
7015 (vsyslog): Use @var{} on parameter names.
7016 * manual/terminal.texi (stty): Use @var{} on parameter names.
7017 * manual/users.texi (getutmp): Use @var{} on parameter names.
7018 (getutmpx): Likewise.
7020 2012-02-17 Joseph Myers <joseph@codesourcery.com>
7023 * manual/stdio.texi (fopen): Fix typos in description of
7026 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
7029 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
7030 get clock_id definition.
7032 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
7035 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
7036 (madvise): Cast every argument to void on its own.
7038 2012-02-17 Joseph Myers <joseph@codesourcery.com>
7041 * manual/startup.texi (Exit Status): Fix typo.
7043 2012-02-17 Joseph Myers <joseph@codesourcery.com>
7046 * manual/examples/argp-ex1.c: Include <stdlib.h>.
7047 * manual/examples/argp-ex2.c: Likewise.
7048 * manual/examples/argp-ex3.c: Likewise.
7050 2012-02-16 Richard Henderson <rth@redhat.com>
7052 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
7053 * sysdeps/s390/s390-32/initfini.c: Remove.
7054 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
7055 * sysdeps/s390/s390-64/initfini.c: Remove.
7057 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7059 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
7060 compiler output for sysdeps/generic/initfini.c.
7061 * sysdeps/sh/elf/initfini.c: Remove file.
7063 2012-02-16 David S. Miller <davem@davemloft.net>
7066 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
7068 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
7069 * sysdeps/sparc/crti.S: New file.
7070 * sysdeps/sparc/crtn.S: New file.
7071 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
7072 * sysdeps/sparc/sparc64/Makefile: Likewise.
7074 2012-02-15 Mike Frysinger <vapier@gentoo.org>
7077 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
7079 2012-02-15 Roland McGrath <roland@hack.frob.com>
7082 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
7084 * mach/devstream.c (cookie_io_functions_t): Macro removed.
7085 (write, read, close): Likewise.
7086 Patch by Aurelien Jarno <aurelien@aurel32.net>.
7088 2012-02-15 Joseph Myers <joseph@codesourcery.com>
7090 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
7091 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
7092 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
7093 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
7095 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
7096 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7099 2012-02-14 Marek Polacek <polacek@redhat.com>
7101 * sysdeps/x86_64/crti.S: New file.
7102 * sysdeps/x86_64/crtn.S: New file.
7103 * sysdeps/x86_64/elf/initfini.c: Remove file.
7105 2012-02-13 Joseph Myers <joseph@codesourcery.com>
7107 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
7108 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
7109 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
7110 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
7112 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
7113 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7116 2012-02-13 Joseph Myers <joseph@codesourcery.com>
7118 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
7119 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
7120 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
7121 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
7123 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
7124 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7127 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
7129 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
7130 __feraiseexcept instead of feraiseexcept.
7132 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
7133 nanosleep invocations.
7134 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
7135 strings, and add error checking for a nanosleep invocations.
7137 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
7139 Replace FSF snail mail address with URLs, as per GNU coding standards.
7140 Most of the snail mail addresses were wrong anyway, and omitting
7141 them makes the source code easier to maintain. Almost all of the
7142 changes are to license notices and to locale LC_IDENTIFICATION
7143 addresses, except for this one:
7144 * manual/libc.texinfo: In "Published by", give the FSF's URL,
7145 not its snail mail address.
7147 2012-02-09 Richard Henderson <rth@twiddle.net>
7149 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
7150 of kernel-features.h.
7152 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
7154 2012-02-08 Marek Polacek <polacek@redhat.com>
7156 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
7157 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
7158 * sysdeps/gnu/_G_config.h: Likewise.
7159 * sysdeps/generic/_G_config.h: Likewise.
7161 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
7163 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
7165 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7167 * sysdeps/powerpc/powerpc32/crti.S: New file.
7168 * sysdeps/powerpc/powerpc32/crtn.S: New file.
7169 * sysdeps/powerpc/powerpc64/crti.S: New file.
7170 * sysdeps/powerpc/powerpc64/crtn.S: New file.
7172 * Makeconfig (have-initfini): Don't set.
7173 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
7174 * configure.in (nopic_initfini): Don't substitute.
7175 * config.h.in (HAVE_INITFINI): Don't #undef.
7176 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
7177 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
7179 2012-02-08 Joseph Myers <joseph@codesourcery.com>
7181 Support crti.S and crtn.S provided directly by architectures.
7182 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
7183 [crti.S in sysdirs] (omit-deps): Likewise.
7184 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
7185 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
7186 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
7187 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
7188 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
7189 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
7190 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
7191 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
7192 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
7193 compiler output for sysdeps/generic/initfini.c.
7194 * sysdeps/i386/elf/Makefile: Remove file.
7195 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
7197 2012-02-07 Marek Polacek <polacek@redhat.com>
7199 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
7200 * sysdeps/gnu/_G_config.h: Likewise.
7201 * sysdeps/mach/hurd/_G_config.h: Likewise.
7203 2012-02-07 Marek Polacek <polacek@redhat.com>
7205 * math/Makefile (tests): Add tst-CMPLX2.
7206 * math/tst-CMPLX2.c: New file.
7208 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
7210 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7212 * math/libm-test.inc (jn_test): Add missing L suffix.
7214 2012-02-06 Marek Polacek <polacek@redhat.com>
7216 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
7217 * sysdeps/i386/fpu/e_powf.S: Likewise.
7218 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
7219 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
7220 * sysdeps/i386/fpu/e_acosh.S: Likewise.
7221 * sysdeps/i386/fpu/e_pow.S: Likewise.
7222 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
7223 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
7224 * sysdeps/i386/fpu/s_expm1.S: Likewise.
7225 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
7226 * sysdeps/i386/fpu/e_log2.S: Likewise.
7227 * sysdeps/i386/fpu/e_log2l.S: Likewise.
7228 * sysdeps/i386/fpu/e_scalb.S: Likewise.
7229 * sysdeps/i386/fpu/e_powl.S: Likewise.
7230 * sysdeps/i386/fpu/s_log1p.S: Likewise.
7231 * sysdeps/i386/fpu/e_log10f.S: Likewise.
7232 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
7233 * sysdeps/i386/fpu/e_logl.S: Likewise.
7234 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
7235 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
7236 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
7237 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
7238 * sysdeps/i386/fpu/e_log2f.S: Likewise.
7239 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
7240 * sysdeps/i386/fpu/e_log.S: Likewise.
7241 * sysdeps/i386/fpu/s_cexp.S: Likewise.
7242 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7243 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
7244 * sysdeps/i386/fpu/e_logf.S: Likewise.
7245 * sysdeps/i386/fpu/e_log10l.S: Likewise.
7246 * sysdeps/i386/fpu/e_atanh.S: Likewise.
7247 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
7248 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
7249 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
7250 * sysdeps/i386/fpu/e_log10.S: Likewise.
7251 * sysdeps/i386/fpu/s_frexp.S: Likewise.
7252 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
7253 * sysdeps/i386/fpu/s_asinh.S: Likewise.
7254 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
7255 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7256 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
7257 * sysdeps/i386/asm-syntax.h: Likewise.
7258 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
7259 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7260 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
7261 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
7262 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
7263 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
7264 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
7265 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
7266 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
7267 * sysdeps/powerpc/sysdep.h: Likewise.
7268 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
7269 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
7271 2012-02-06 Joseph Myers <joseph@codesourcery.com>
7274 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
7276 2012-02-06 Joseph Myers <joseph@codesourcery.com>
7278 * sysdeps/i386/sysdep.h: Include <features.h>.
7279 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
7282 2012-02-05 Joseph Myers <joseph@codesourcery.com>
7284 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
7286 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
7289 2012-02-03 Joseph Myers <joseph@codesourcery.com>
7291 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
7292 (SETUP_PIC_REG): Use GET_PC_THUNK.
7293 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
7296 2012-02-03 Joseph Myers <joseph@codesourcery.com>
7298 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
7299 for non-PIC compilation.
7300 (SETUP_PIC_REG): Add .p2align directive.
7301 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
7302 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
7303 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7304 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7305 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
7306 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7307 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
7308 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
7309 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7310 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7311 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7312 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7313 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7314 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7315 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7316 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
7317 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
7318 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7319 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7320 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7321 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7322 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
7323 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7324 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7325 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
7326 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
7327 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7328 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
7329 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7330 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7331 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7332 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7333 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7334 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7335 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7336 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7337 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7338 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7339 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7340 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7341 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7343 2012-02-03 Joseph Myers <joseph@codesourcery.com>
7345 * math/tst-CMPLX.c: Include <stdio.h>.
7347 2012-01-31 Joseph Myers <joseph@codesourcery.com>
7349 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
7351 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
7352 * sysdeps/sparc/bits/mathdef.h: Likewise.
7354 2012-01-31 Marek Polacek <polacek@redhat.com>
7356 * libio/libio.h: Don't define _PARAMS.
7357 * locale/programs/config.h: Don't define PARAMS.
7358 * stdlib/strtol_l.c: Likewise.
7359 (__strtol_l): Remove PARAMS from the prototype.
7361 2012-01-31 Ulrich Drepper <drepper@gmail.com>
7363 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
7364 names. Just use the correct names. Remove unnecessary wrapper
7366 * malloc/arena.c: Likewise.
7367 * malloc/hooks.c: Likewise.
7369 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
7370 ARENA_TEST says not to. Simplify test for creation of a new arena.
7371 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
7373 2012-01-30 Ulrich Drepper <drepper@gmail.com>
7375 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
7377 (update_get_addr): New function.
7378 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
7379 GET_ADDR_MODULE parameter.
7381 2012-01-30 Joseph Myers <joseph@codesourcery.com>
7383 * crypt/cert.c: Remove __STDC__ conditionals.
7384 * crypt/crypt-entry.c: Likewise.
7385 * crypt/crypt_util.c: Likewise.
7386 * libio/filedoalloc.c: Likewise.
7387 * libio/fileops.c: Likewise.
7388 * libio/genops.c: Likewise.
7389 * libio/iofclose.c: Likewise.
7390 * libio/iofdopen.c: Likewise.
7391 * libio/iofopen.c: Likewise.
7392 * libio/iofopen64.c: Likewise.
7393 * libio/iogetdelim.c: Likewise.
7394 * libio/iopopen.c: Likewise.
7395 * libio/obprintf.c: Likewise.
7396 * libio/oldfileops.c: Likewise.
7397 * libio/oldiofclose.c: Likewise.
7398 * libio/oldiofdopen.c: Likewise.
7399 * libio/oldiofopen.c: Likewise.
7400 * libio/oldiopopen.c: Likewise.
7401 * libio/wfiledoalloc.c: Likewise.
7402 * libio/wgenops.c: Likewise.
7403 * locale/programs/xmalloc.c: Likewise.
7404 * misc/syslog.c: Likewise.
7405 * stdio-common/xbug.c: Likewise.
7406 * string/memchr.c: Likewise.
7407 * string/memcmp.c: Likewise.
7408 * string/memrchr.c: Likewise.
7409 * string/rawmemchr.c: Likewise.
7410 * sysdeps/posix/getcwd.c: Likewise.
7411 * time/strftime_l.c: Likewise.
7413 2012-01-30 Joseph Myers <joseph@codesourcery.com>
7415 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
7416 * config.make.in (config-cflags-sse2avx): Define.
7417 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
7420 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
7422 * scripts/config.guess: Update from upstream config git repository.
7423 * scripts/config.sub: Likewise.
7425 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
7427 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
7429 (R_TILEPRO_*, R_TILEGX_*): New macros.
7431 * scripts/firstversions.awk: Fix bug in version range handling.
7433 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
7435 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
7437 * include/sys/epoll.h: New file.
7438 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
7441 2012-01-28 Ulrich Drepper <drepper@gmail.com>
7443 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
7444 Avoid unnecessary __WORDSIZE == 64 test.
7445 (fmaxf): Use VEX format if possible.
7450 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
7451 * math/math_private.h: Remove libc_fegetround* and
7453 * sysdeps/i386/configure.in: Check for -msse2avx.
7454 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
7455 also if SSE2AVX is defined.
7456 Remove libc_fegetround* and libc_fesetround*.
7457 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
7458 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
7459 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
7461 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7462 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7463 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7464 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7465 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7467 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
7469 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7471 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
7473 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
7475 2012-01-27 Ulrich Drepper <drepper@gmail.com>
7478 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
7480 * Makeconfig (libm): Define.
7481 * elf/Makefile: Add rules to build and run tst-relsort1.
7482 * elf/tst-relsort1.c: New file.
7483 * elf/tst-relsort1mod1.c: New file.
7484 * elf/tst-relsort1mod2.c: New file.
7486 2012-01-27 Joseph Myers <joseph@codesourcery.com>
7488 * math/s_ldexp.c: Remove __STDC__ conditionals.
7489 * math/s_ldexpf.c: Likewise.
7490 * math/s_ldexpl.c: Likewise.
7491 * math/s_nextafter.c: Likewise.
7492 * math/s_nexttowardf.c: Likewise.
7493 * math/s_significand.c: Likewise.
7494 * math/s_significandf.c: Likewise.
7495 * math/s_significandl.c: Likewise.
7496 * math/w_jnl.c: Likewise.
7497 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
7498 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
7499 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
7500 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
7501 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
7502 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7503 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
7504 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7505 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7506 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
7507 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
7508 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7509 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
7510 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
7511 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7512 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
7513 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7514 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
7515 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7516 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7517 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7518 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7519 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7520 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7521 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7522 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7523 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7524 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7525 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
7526 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7527 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7528 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
7529 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7530 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
7531 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
7532 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7533 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
7534 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
7535 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
7536 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
7537 * sysdeps/ieee754/k_standard.c: Likewise.
7538 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7539 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7540 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
7541 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7542 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7543 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
7544 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7545 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
7546 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
7547 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7548 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
7549 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
7550 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
7551 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
7552 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
7553 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7554 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
7555 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7556 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7557 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7558 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7559 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7560 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
7561 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
7562 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7563 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
7564 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7565 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7566 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7567 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
7568 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
7569 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
7570 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7571 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
7572 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
7573 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
7574 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
7575 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7576 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
7577 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
7578 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
7579 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
7580 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7581 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
7582 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7583 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
7584 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7585 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7586 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
7587 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7588 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
7589 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7590 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7591 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
7592 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
7593 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
7594 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
7595 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7596 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7597 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7598 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7599 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7600 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
7601 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7602 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7603 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7604 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7605 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
7606 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
7607 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7608 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7609 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7610 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7611 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
7612 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
7613 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7614 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
7615 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
7616 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
7617 * sysdeps/ieee754/s_matherr.c: Likewise.
7618 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
7619 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7620 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7621 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7623 2012-01-26 Joseph Myers <joseph@codesourcery.com>
7625 * crypt/md5.h: Remove __STDC__ conditionals.
7626 * libio/libioP.h: Likewise.
7627 * locale/programs/config.h: Likewise.
7628 * sysdeps/generic/sysdep.h: Likewise.
7629 * sysdeps/i386/asm-syntax.h: Likewise.
7630 * sysdeps/s390/asm-syntax.h: Likewise.
7631 * sysdeps/unix/sysdep.h: Likewise.
7632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7635 2012-01-26 Joseph Myers <joseph@codesourcery.com>
7637 * libio/libio.h: Remove __STDC__ conditionals.
7638 * malloc/obstack.h: Likewise.
7639 * math/complex.h: Likewise.
7640 * math/math.h: Likewise.
7641 * sysdeps/generic/_G_config.h: Likewise.
7642 * sysdeps/gnu/_G_config.h: Likewise.
7643 * sysdeps/mach/hurd/_G_config.h: Likewise.
7644 * sysdeps/powerpc/bits/mathdef.h: Likewise.
7645 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
7646 * sysdeps/sparc/bits/mathdef.h: Likewise.
7648 2012-01-26 Ulrich Drepper <drepper@gmail.com>
7651 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
7652 Clean up HAS_* macros.
7653 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
7654 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
7656 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
7658 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7659 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7660 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7661 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7662 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7664 2012-01-25 Joseph Myers <joseph@codesourcery.com>
7666 * elf/tst-unique3.cc (gets): Remove declaration.
7667 * elf/tst-unique3lib.cc (gets): Likewise.
7668 * elf/tst-unique3lib2.cc (gets): Likewise.
7669 * elf/tst-unique4.cc (gets): Likewise.
7671 2012-01-24 Ulrich Drepper <drepper@gmail.com>
7673 * include/stdio.h: Add C++ protection. Add gets declarations and
7675 * debug/tst-chk1.c: Don't declare gets here.
7676 * stdio-common/tst-gets.c: Likewise.
7678 2012-01-24 Joseph Myers <joseph@codesourcery.com>
7680 * posix/glob: Remove directory.
7682 2012-01-24 Joseph Myers <joseph@codesourcery.com>
7684 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
7686 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
7688 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
7689 of the non-standard EPFNOSUPPORT.
7691 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
7693 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
7694 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
7695 ANYWHERE set to 1 only on KERN_NO_SPACE error.
7697 2012-01-21 Ulrich Drepper <drepper@gmail.com>
7699 * wcsmbs/uchar.h: Test __STDC_VERSION__.
7701 2012-01-20 Ulrich Drepper <drepper@gmail.com>
7703 * nscd/aicache.c (addhstaiX): Do not cache negative results of
7705 * nscd/grpcache.c (cache_addgr): Likewise.
7706 * nscd/hstcache.c (cache_addhst): Likewise.
7707 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7708 * nscd/pwdcache.c (cache_addpw): Likewise.
7709 * nscd/servicescache.c (cache_addserv): Likewise.
7711 2012-01-16 Ulrich Drepper <drepper@gmail.com>
7713 * malloc/malloc.c: Various cleanups.
7714 * malloc/hooks.c: Likewise.
7716 * stdlib/Makefile (tests): Add bug-fmtmsg1.
7717 * stdlib/bug-fmtmsg1.c: New file.
7719 * stdlib/fmtmsg.c (init): Add missing unlock.
7720 Patch by Peng Haitao <penght@cn.fujitsu.com>.
7722 2012-01-12 Marek Polacek <polacek@redhat.com>
7724 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
7727 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
7729 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
7730 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
7731 macro to ensure uniqueness of label name.
7732 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7733 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7735 2012-01-11 Ulrich Drepper <drepper@gmail.com>
7737 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
7739 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
7740 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
7741 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7742 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
7744 2012-01-10 Ulrich Drepper <drepper@gmail.com>
7746 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
7748 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
7749 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
7750 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
7752 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
7754 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
7755 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
7756 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7757 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
7759 * math/bits/math-finite.h: Add ldexp support.
7761 2012-01-10 Marek Polacek <polacek@redhat.com>
7763 * locale/programs/localedef.h (show_archive_content): Add noreturn
7766 2012-01-09 Ulrich Drepper <drepper@gmail.com>
7768 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
7770 2012-01-08 Ulrich Drepper <drepper@gmail.com>
7772 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
7774 * io/Makefile (headers): Add bits/poll2.h.
7776 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
7778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
7779 typo #include statement.
7781 2012-01-08 Ulrich Drepper <drepper@gmail.com>
7783 * include/sys/cdefs.h: Define __attribute_alloc_size.
7784 * catgets/gencat.c: Add alloc_size attribute and apply consistently
7785 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
7786 * elf/pldd.c: Likewise.
7787 * iconv/iconv_charmap.c: Likewise.
7788 * iconv/iconvconfig.c: Likewise.
7789 * iconv/strtab.c: Likewise.
7790 * locale/programs/locale.c: Likewise.
7791 * locale/programs/localedef.h: Likewise.
7792 * locale/programs/simple-hash.c: Likewise.
7793 * nscd/nscd.h: Likewise.
7794 * nss/makedb.c: Likewise.
7795 * sysdeps/generic/ldconfig.h: Likewise.
7796 * locale/programs/localedef.c: Remove xmalloc prototype.
7797 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
7799 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7801 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
7804 2012-01-08 Ulrich Drepper <drepper@gmail.com>
7806 * math/Makefile (tests): Add tst-CMPLX.
7807 * math/tst-CMPLX.c: New file.
7809 * math/complex.h (CMPLXL): Fix typo.
7811 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
7812 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
7814 * debug/tst-chk1.c: Add poll and ppoll tests.
7815 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
7816 * include/sys/poll.h: Add hidden proto for ppoll.
7817 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
7818 * sysdeps/mach/hurd/ppoll.c: Likewise.
7819 * io/ppoll.c: Likewise.
7820 * debug/poll_chk.c: New file.
7821 * debug/ppoll_chk.c: New file.
7822 * include/bits/poll2.h: New file.
7823 * io/bits/poll2.h: New file.
7826 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
7828 * configure.in: static is always set to yes. Remove.
7829 * config.make.in: Don't set build-static.
7830 * Makeconfig: Remove use of build-static.
7831 * dlfcn/Makefile: Likewise.
7832 * elf/Makefile: Likewise.
7833 * math/Makefile: Likewise.
7834 * misc/Makefile: Likewise.
7835 * nptl/Makefile: Likewise.
7836 * sysdeps/mach/hurd/Makefile: Likewise.
7838 * configure.in: PWD_P is not used anymore.
7839 * config.make.in: Remove PWD_P entry.
7841 * configure.in: Remove last remnants of RANLIB.
7842 No need to check for signed size_t anymore.
7843 Don't set libc_commonpagesize and libc_relro_required here for Alpha
7845 Remove __builtin_expect test because we require at least gcc 3.4.
7846 * aclocal.m4: Likewise.
7848 * wcsmbs/mbrtoc16.c: Implement using towc function.
7849 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
7850 * wcsmbs/wcsmbsload.c: Likewise.
7851 * iconv/gconv_simple.c: Likewise.
7852 * iconv/gconv_int.h: Likewise.
7853 * iconv/gconv_builtin.h: Likewise.
7854 * iconv/iconv_prog.c: Remove CHAR16 handling.
7856 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
7858 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
7860 * configure.in: Remove --with-elf and --enable-bounded options.
7861 Dont set base_machine for ia64. More non-ELF conditions removed.
7862 Remove testing and setting of leading underscore information.
7863 * config.make.in (build-bounded): Set to no.
7864 * config.h.in: Remove NO_UNDERSCORES entry.
7865 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
7867 * csu/start.c: Remove !NO_UNDERSCORE code.
7868 * locale/localeinfo.h: Likewise.
7869 * sysdeps/generic/machine-gmon.h: Likewise.
7870 * sysdeps/generic/sysdep.h: Likewise.
7871 * sysdeps/i386/sysdep.h: Likewise.
7872 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
7873 * sysdeps/mach/sysdep.h: Likewise.
7874 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7875 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7876 * sysdeps/sh/sysdep.h: Likewise.
7877 * sysdeps/sparc/sparc32/alloca.S: Likewise.
7878 * sysdeps/unix/i386/sysdep.S: Likewise.
7879 * sysdeps/unix/sparc/start.c: Likewise.
7880 * sysdeps/unix/sparc/sysdep.S: Likewise.
7881 * sysdeps/unix/sparc/sysdep.h: Likewise.
7882 * sysdeps/unix/start.c: Likewise.
7883 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7884 * sysdeps/x86_64/sysdep.h: Likewise.
7886 2012-01-07 Ulrich Drepper <drepper@gmail.com>
7889 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
7891 * argp/argp-fmtstream.h: Use const instead __const.
7892 * argp/argp.h: Likewise.
7893 * assert/assert.h: Likewise.
7894 * bits/fenv.h: Likewise.
7895 * bits/sched.h: Likewise.
7896 * bits/sigset.h: Likewise.
7897 * bits/sigthread.h: Likewise.
7898 * catgets/nl_types.h: Likewise.
7899 * conform/data/pthread.h-data: Likewise.
7900 * crypt/crypt-private.h: Likewise.
7901 * crypt/crypt.h: Likewise.
7902 * crypt/crypt_util.c: Likewise.
7903 * ctype/ctype.h: Likewise.
7904 * debug/execinfo.h: Likewise.
7905 * debug/mbsnrtowcs_chk.c: Likewise.
7906 * debug/mbsrtowcs_chk.c: Likewise.
7907 * debug/wcsnrtombs_chk.c: Likewise.
7908 * debug/wcsrtombs_chk.c: Likewise.
7909 * debug/wcstombs_chk.c: Likewise.
7910 * dirent/dirent.h: Likewise.
7911 * dlfcn/dlfcn.h: Likewise.
7912 * elf/neededtest4.c: Likewise.
7913 * grp/grp.h: Likewise.
7914 * gshadow/gshadow.h: Likewise.
7915 * iconv/gconv.h: Likewise.
7916 * iconv/gconv_int.h: Likewise.
7917 * iconv/gconv_simple.c: Likewise.
7918 * iconv/iconv.h: Likewise.
7919 * iconv/loop.c: Likewise.
7920 * iconv/skeleton.c: Likewise.
7921 * include/aio.h: Likewise.
7922 * include/aliases.h: Likewise.
7923 * include/argz.h: Likewise.
7924 * include/arpa/inet.h: Likewise.
7925 * include/assert.h: Likewise.
7926 * include/dirent.h: Likewise.
7927 * include/dlfcn.h: Likewise.
7928 * include/execinfo.h: Likewise.
7929 * include/fcntl.h: Likewise.
7930 * include/fenv.h: Likewise.
7931 * include/glob.h: Likewise.
7932 * include/grp.h: Likewise.
7933 * include/libintl.h: Likewise.
7934 * include/mntent.h: Likewise.
7935 * include/netdb.h: Likewise.
7936 * include/pwd.h: Likewise.
7937 * include/rpc/netdb.h: Likewise.
7938 * include/sched.h: Likewise.
7939 * include/search.h: Likewise.
7940 * include/shadow.h: Likewise.
7941 * include/signal.h: Likewise.
7942 * include/stdio.h: Likewise.
7943 * include/stdlib.h: Likewise.
7944 * include/string.h: Likewise.
7945 * include/sys/socket.h: Likewise.
7946 * include/sys/stat.h: Likewise.
7947 * include/sys/statfs.h: Likewise.
7948 * include/sys/statvfs.h: Likewise.
7949 * include/sys/syslog.h: Likewise.
7950 * include/sys/time.h: Likewise.
7951 * include/sys/uio.h: Likewise.
7952 * include/time.h: Likewise.
7953 * include/unistd.h: Likewise.
7954 * include/utmp.h: Likewise.
7955 * include/wchar.h: Likewise.
7956 * include/wctype.h: Likewise.
7957 * inet/aliases.h: Likewise.
7958 * inet/arpa/inet.h: Likewise.
7959 * inet/netinet/ether.h: Likewise.
7960 * inet/netinet/in.h: Likewise.
7961 * intl/libintl.h: Likewise.
7962 * io/bits/fcntl2.h: Likewise.
7963 * io/fcntl.h: Likewise.
7964 * io/ftw.h: Likewise.
7965 * io/sys/poll.h: Likewise.
7966 * io/sys/stat.h: Likewise.
7967 * io/sys/statfs.h: Likewise.
7968 * io/sys/statvfs.h: Likewise.
7969 * io/utime.h: Likewise.
7970 * libio/bits/stdio.h: Likewise.
7971 * libio/bits/stdio2.h: Likewise.
7972 * libio/libio.h: Likewise.
7973 * libio/libioP.h: Likewise.
7974 * libio/stdio.h: Likewise.
7975 * locale/lc-ctype.c: Likewise.
7976 * locale/locale.h: Likewise.
7977 * login/utmp.h: Likewise.
7978 * malloc/arena.c: Likewise.
7979 * malloc/malloc.c: Likewise.
7980 * malloc/malloc.h: Likewise.
7981 * malloc/mcheck.c: Likewise.
7982 * malloc/mtrace.c: Likewise.
7983 * math/bits/mathcalls.h: Likewise.
7984 * math/fenv.h: Likewise.
7985 * math/math_private.h: Likewise.
7986 * misc/bits/error.h: Likewise.
7987 * misc/bits/syslog.h: Likewise.
7988 * misc/err.h: Likewise.
7989 * misc/error.h: Likewise.
7990 * misc/fstab.h: Likewise.
7991 * misc/mntent.h: Likewise.
7992 * misc/regexp.h: Likewise.
7993 * misc/search.h: Likewise.
7994 * misc/sgtty.h: Likewise.
7995 * misc/sys/mman.h: Likewise.
7996 * misc/sys/syslog.h: Likewise.
7997 * misc/sys/uio.h: Likewise.
7998 * misc/sys/xattr.h: Likewise.
7999 * misc/ttyent.h: Likewise.
8000 * nis/rpcsvc/ypclnt.h: Likewise.
8001 * nss/nss.h: Likewise.
8002 * posix/bits/unistd.h: Likewise.
8003 * posix/fnmatch.h: Likewise.
8004 * posix/glob.h: Likewise.
8005 * posix/sched.h: Likewise.
8006 * posix/spawn.h: Likewise.
8007 * posix/sys/wait.h: Likewise.
8008 * posix/unistd.h: Likewise.
8009 * posix/wordexp.h: Likewise.
8010 * pwd/pwd.h: Likewise.
8011 * resolv/netdb.h: Likewise.
8012 * resource/sys/resource.h: Likewise.
8013 * rt/aio.h: Likewise.
8014 * rt/bits/mqueue2.h: Likewise.
8015 * rt/mqueue.h: Likewise.
8016 * shadow/shadow.h: Likewise.
8017 * signal/signal.h: Likewise.
8018 * socket/send.c: Likewise.
8019 * socket/sendto.c: Likewise.
8020 * socket/sys/socket.h: Likewise.
8021 * stdio-common/printf.h: Likewise.
8022 * stdlib/bits/stdlib.h: Likewise.
8023 * stdlib/fmtmsg.h: Likewise.
8024 * stdlib/monetary.h: Likewise.
8025 * stdlib/stdlib.h: Likewise.
8026 * stdlib/ucontext.h: Likewise.
8027 * streams/stropts.h: Likewise.
8028 * string/argz.h: Likewise.
8029 * string/bits/string2.h: Likewise.
8030 * string/string.h: Likewise.
8031 * string/strings.h: Likewise.
8032 * sunrpc/rpc/auth.h: Likewise.
8033 * sunrpc/rpc/auth_des.h: Likewise.
8034 * sunrpc/rpc/clnt.h: Likewise.
8035 * sunrpc/rpc/netdb.h: Likewise.
8036 * sunrpc/rpc/pmap_clnt.h: Likewise.
8037 * sunrpc/rpc/xdr.h: Likewise.
8038 * sysdeps/generic/inttypes.h: Likewise.
8039 * sysdeps/generic/net/if.h: Likewise.
8040 * sysdeps/generic/sys/swap.h: Likewise.
8041 * sysdeps/gnu/net/if.h: Likewise.
8042 * sysdeps/gnu/utmpx.h: Likewise.
8043 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
8044 * sysdeps/i386/i486/bits/string.h: Likewise.
8045 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
8046 * sysdeps/s390/bits/string.h: Likewise.
8047 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
8048 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
8049 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
8050 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
8051 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
8052 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
8053 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
8054 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
8055 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
8056 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
8057 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
8058 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
8059 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
8060 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
8061 * sysdeps/unix/sysv/linux/readv.c: Likewise.
8062 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
8063 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
8064 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8065 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
8066 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
8067 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
8068 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
8069 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
8070 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
8071 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
8072 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
8073 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
8074 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8075 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
8076 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
8077 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
8078 * sysvipc/sys/ipc.h: Likewise.
8079 * sysvipc/sys/msg.h: Likewise.
8080 * sysvipc/sys/sem.h: Likewise.
8081 * sysvipc/sys/shm.h: Likewise.
8082 * termios/termios.h: Likewise.
8083 * time/sys/time.h: Likewise.
8084 * time/time.h: Likewise.
8085 * wcsmbs/bits/wchar2.h: Likewise.
8086 * wcsmbs/uchar.h: Likewise.
8087 * wcsmbs/wchar.h: Likewise.
8088 * wctype/wctype.h: Likewise.
8091 * Makeconfig: Remove all but ELF support including AIX support.
8092 * Makerules: Likewise.
8093 * config.h.in: Likewise.
8094 * config.make.in: Likewise.
8095 * configure: Likewise.
8096 * configure.in: Likewise.
8097 * csu/Makefile: Likewise.
8098 * csu/version.c: Likewise.
8099 * debug/Makefile: Likewise.
8100 * dlfcn/Makefile: Likewise.
8101 * elf/Makefile: Likewise.
8102 * extra-lib.mk: Likewise.
8103 * iconv/Makefile: Likewise.
8104 * include/libc-symbols.h: Likewise.
8105 * include/shlib-compat.h: Likewise.
8106 * resolv/Makefile: Likewise.
8107 * resolv/res_libc.c: Likewise.
8108 * rt/Makefile: Likewise.
8109 * sysdeps/i386/asm-syntax.h: Likewise.
8110 * sysdeps/i386/sysdep.h: Likewise.
8111 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
8112 * sysdeps/mach/sysdep.h: Likewise.
8113 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
8114 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
8115 * sysdeps/s390/asm-syntax.h: Likewise.
8116 * sysdeps/s390/s390-32/sysdep.h: Likewise.
8117 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8118 * sysdeps/sh/sysdep.h: Likewise.
8119 * sysdeps/unix/sparc/sysdep.h: Likewise.
8120 * sysdeps/wordsize-32/divdi3.c: Likewise.
8121 * sysdeps/x86_64/sysdep.h: Likewise.
8123 * argp/Versions: Remove _argp_unlock_xxx.
8126 * abilist/ld.abilist: Update. Adjust for removal of tls option.
8127 * abilist/libBrokenLocale.abilist: Likewise.
8128 * abilist/libanl.abilist: Likewise.
8129 * abilist/libc.abilist: Likewise.
8130 * abilist/libcrypt.abilist: Likewise.
8131 * abilist/libdl.abilist: Likewise.
8132 * abilist/libm.abilist: Likewise.
8133 * abilist/libnsl.abilist: Likewise.
8134 * abilist/libpthread.abilist: Likewise.
8135 * abilist/libresolv.abilist: Likewise.
8136 * abilist/librt.abilist: Likewise.
8137 * abilist/libthread_db.abilist: Likewise.
8138 * abilist/libutil.abilist: Likewise.
8139 * abilist/libnss_db.abilist: New file.
8141 * scripts/abilist.awk: Add support for indirect functions.
8143 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
8145 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
8147 * shlib-versions: Remove entries for ports architectures.
8149 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
8151 * elf/stackguard-macros.h: Remove support for IA-64.
8152 * elf/tst-auditmod1.c: Likewise.
8153 * sysdeps/generic/ldsodefs.h: Likewise.
8155 * sysdeps/unix/sysv/linux/configure.in: Ports should define
8156 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
8160 * configure.in: Remove --enable-omitfp support.
8162 * config.make.in: Likewise.
8163 * Makeconfig: Likewise.
8164 * manual/install.texi: Likewise.
8166 In case anyone cares, the IA-64 architecture could move to ports.
8167 * sysdeps/ia64/*: Removed.
8168 * sysdeps/unix/sysv/linux/ia64/*: Removed.
8169 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
8172 * configure.in: Remove entries for unsupported architectures.
8175 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
8176 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
8178 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
8179 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
8180 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
8181 fall back to using wcrtomb.
8182 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
8183 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
8185 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
8186 * wcsmbs/tst-c16c32-1.c: New file.
8188 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
8191 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
8193 * elf/tst-unique3.cc: Add explicit declaration of gets.
8194 * elf/tst-unique3lib.cc: Likewise.
8195 * elf/tst-unique3lib2.cc: Likewise.
8196 * elf/tst-unique4.cc: Likewise.
8198 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
8200 2012-01-06 Joseph Myers <joseph@codesourcery.com>
8203 * assert/assert.h (static_assert): Don't define for C++.
8204 * libio/stdio.h (gets): Do declare for C++ <= C++11.
8205 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
8207 2012-01-03 Ulrich Drepper <drepper@gmail.com>
8209 * iconv/loop.c (single loop): Fix assertion in storing of
8212 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
8214 2012-01-01 Ulrich Drepper <drepper@gmail.com>
8216 * posix/getconf.c: Update copyright year.
8217 * nss/getent.c: Likewise.
8218 * nss/makedb.c: Likewise.
8219 * iconv/iconvconfig.c: Likewise.
8220 * iconv/iconv_prog.c: Likewise.
8221 * elf/ldconfig.c: Likewise.
8222 * elf/pldd.c: Likewise.
8223 * elf/sotruss.ksh: Likewise.
8224 * catgets/gencat.c: Likewise.
8225 * csu/version.c: Likewise.
8226 * elf/ldd.bash.in: Likewise.
8227 * elf/sprof.c (print_version): Likewise.
8228 * locale/programs/locale.c: Likewise.
8229 * locale/programs/localedef.c: Likewise.
8230 * login/programs/pt_chown.c: Likewise.
8231 * nscd/nscd.c (print_version): Likewise.
8232 * debug/xtrace.sh: Likewise.
8233 * malloc/memusage.sh: Likewise.
8234 * malloc/mtrace.pl: Likewise.
8235 * debug/catchsegv.sh: Likewise.
8237 2011-12-30 Jakub Jelinek <jakub@redhat.com>
8239 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
8242 2011-12-24 Ulrich Drepper <drepper@gmail.com>
8245 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
8246 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
8248 * iconv/gconv_int.h: Likewise.
8249 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
8250 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
8251 from libc for GLIBC_2.16.
8252 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
8253 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
8254 * wcsmbs/uchar.h: Really define mbstate_t.
8255 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
8256 * wcsmbs/c16rtomb.c: New file.
8257 * wcsmbs/mbrtoc16.c: New file.
8258 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
8260 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
8261 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
8263 * wcsmbs/wchar.h: Add missing __restrict.
8265 2011-12-23 Ulrich Drepper <drepper@gmail.com>
8268 * time/Makefile (routines): Add timespec_get.
8269 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
8270 * time/time.h: Define TIME_UTC and declare timespec_get. Define
8271 timespec for ISO C11.
8272 * time/timespec_get.c: New file.
8273 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
8274 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
8277 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
8278 * stdlib/stdlib.h: Declare aligned_alloc.
8279 * Versions.def: Add GLIBC_2.16 for libc.
8280 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
8283 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
8286 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8290 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
8293 * assert/assert.h (static_assert): Define.
8295 * version.h: Update for 2.16 development version.
8298 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
8301 * version.h (RELEASE): Bump for 2.15 release.
8302 * include/features.h (__GLIBC_MINOR__): Bump to 15.
8304 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
8305 Patch by Marek Polacek <mpolacek@redhat.com>.
8307 * bits/byteswap.h: Protect long long constants with __extension__.
8308 * sysdeps/i386/bits/byteswap.h: Likewise.
8309 * sysdeps/ia64/bits/byteswap.h: Likewise.
8310 * sysdeps/s390/bits/byteswap.h: Likewise.
8311 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8313 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8316 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
8318 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
8320 2011-12-23 Marek Polacek <polacek@redhat.com>
8322 * elf/dl-addr.c (determine_info): Add inline keyword.
8323 * elf/tst-auditmod4b.c (check_avx): Likewise.
8324 * elf/tst-auditmod6b.c (check_avx): Likewise.
8325 * elf/tst-auditmod6c.c (check_avx): Likewise.
8326 * elf/tst-auditmod7b.c (check_avx): Likewise.
8328 2011-12-23 Ulrich Drepper <drepper@gmail.com>
8330 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
8333 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8336 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
8337 processing for last bytes.
8339 2011-08-06 Bruno Haible <bruno@clisp.org>
8342 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
8343 U+0385, not to U+1FEE.
8346 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
8347 entry for U+00A5 U+0301.
8349 2011-12-22 Ulrich Drepper <drepper@gmail.com>
8352 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
8353 buffer for the output is too small.
8355 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
8359 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
8360 SSE flags if possible.
8362 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8365 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
8366 processing for last bytes.
8368 2011-12-22 Joseph Myers <joseph@codesourcery.com>
8370 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
8371 (syscall-list-default-options, syscall-list-default-condition)
8372 (syscall-list-includes): Define.
8373 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
8374 list of ABIs and options and #if conditions for each ABI. Do not
8375 handle common syscalls between ABIs specially.
8376 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
8378 (syscall-list-variants, syscall-list-32bit-options)
8379 (syscall-list-32bit-condition, syscall-list-64bit-options)
8380 (syscall-list-64bit-condition): Define.
8381 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
8382 (syscall-list-variants, syscall-list-32bit-options)
8383 (syscall-list-32bit-condition, syscall-list-64bit-options)
8384 (syscall-list-64bit-condition): Define.
8385 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
8387 (syscall-list-variants, syscall-list-32bit-options)
8388 (syscall-list-32bit-condition, syscall-list-64bit-options)
8389 (syscall-list-64bit-condition): Define.
8390 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
8392 (syscall-list-variants, syscall-list-32bit-options)
8393 (syscall-list-32bit-condition, syscall-list-64bit-options)
8394 (syscall-list-64bit-condition): Define.
8396 2011-12-22 Ulrich Drepper <drepper@gmail.com>
8398 * locale/iso-639.def: Add brx entry.
8401 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
8402 Proposed by Mariusz_Cukr <marcukr@op.pl>.
8404 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
8405 __feraiseexcept_renamed.
8407 2011-12-21 Ulrich Drepper <drepper@gmail.com>
8410 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
8411 EPOLLET with unsigned values.
8412 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8413 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
8415 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
8416 to large cancellation.
8417 * math/s_cacoshf.c: Likewise.
8418 * math/s_cacoshl.c: Likewise.
8420 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
8424 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
8425 * math/s_cacoshf.c: Likewise.
8426 * math/s_cacoshl.c: Likewise.
8428 2011-12-21 Ulrich Drepper <drepper@gmail.com>
8431 * iconv/gconv.h: Define __GCONV_SWAP.
8432 * iconvdata/unicode.c: The swap bit must be stored in __flags.
8433 * iconvdata/utf-16.c: Likewise.
8434 * iconvdata/utf-32.c: Likewise.
8436 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
8439 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
8440 numerator after shifting it by one limb.
8442 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
8444 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
8445 under [__USE_EXTERN_INLINES].
8447 2011-12-17 Ulrich Drepper <drepper@gmail.com>
8450 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
8452 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8454 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
8455 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
8457 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
8458 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
8459 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
8460 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
8461 for strncasecmp/strncasecmp_l compilation.
8462 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
8463 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
8465 2011-12-08 Marek Polacek <mpolacek@redhat.com>
8468 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
8471 2011-12-17 Ulrich Drepper <drepper@gmail.com>
8474 * time/tzfile.c (__tzfile_read): Check values from file header.
8476 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
8478 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
8479 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
8480 * powerpc/powerpc32/dl-start.S: Likewise.
8481 * powerpc/powerpc32/elf/start.S: Likewise.
8482 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
8483 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
8484 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
8485 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
8486 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
8487 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
8488 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
8489 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
8490 * powerpc/powerpc32/fpu/s_round.S: Likewise.
8491 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
8492 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
8493 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
8494 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
8495 * powerpc/powerpc32/memset.S: Likewise.
8496 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
8497 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8498 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8499 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8500 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8501 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
8502 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
8503 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
8504 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
8505 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
8506 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
8507 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
8508 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
8510 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8512 * math/libm-test.inc: Added more nearbyint tests.
8513 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
8514 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
8515 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
8516 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
8518 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
8520 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
8523 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8525 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
8526 Add wcscpy-ssse3 wcscpy-c.
8527 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
8528 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
8529 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
8530 * sysdeps/x86_64/wcschr.S: New file.
8531 * sysdeps/x86_64/wcsrchr.S: New file.
8532 * string/test-strcmp.c: Remove checking of wcscmp function for
8534 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
8535 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
8536 wcsrchr-sse2 wcsrchr-c.
8537 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
8538 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
8539 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
8540 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
8541 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
8542 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
8543 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
8544 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
8545 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
8546 * wcsmbc/wcschr.c (WCSCHR): New macro.
8548 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8550 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
8551 * wcsmbs/test-wcsrchr.c: New file.
8552 * string/test-strrchr.c: Add wcsrchr support.
8554 * wcsmbs/test-wcscpy.c: New file.
8555 * string/test-strcpy.c: Add wcscpy support.
8558 2011-12-10 Ulrich Drepper <drepper@gmail.com>
8560 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
8563 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
8566 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
8568 2011-12-04 Ulrich Drepper <drepper@gmail.com>
8570 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
8571 Minor optimizations.
8573 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
8574 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
8575 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
8577 2011-12-03 Ulrich Drepper <drepper@gmail.com>
8579 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
8580 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
8581 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
8582 for gcc to avoid warnings.
8583 * inet/Makefile (tests): Add tst-checks.
8584 * inet/tst-checks.c: New file.
8586 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
8589 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
8592 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
8593 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
8595 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
8597 2011-12-02 Ulrich Drepper <drepper@gmail.com>
8599 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
8602 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
8604 2011-11-29 Joseph Myers <joseph@codesourcery.com>
8606 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
8607 conditional on GCC version.
8608 (__arch_compare_and_exchange_val_8_acq)
8609 (__arch_compare_and_exchange_val_16_acq)
8610 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
8611 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
8612 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
8614 2011-12-02 Joseph Myers <joseph@codesourcery.com>
8616 * sysdeps/sh/backtrace.c: New file.
8618 2011-12-02 Andreas Schwab <schwab@redhat.com>
8620 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
8623 2011-12-01 Andreas Schwab <schwab@redhat.com>
8625 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
8626 falling back to utime.
8628 2011-11-30 Andreas Schwab <schwab@redhat.com>
8630 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
8631 expectations for float.
8633 2011-11-29 Andreas Schwab <schwab@redhat.com>
8635 * locale/weight.h (findidx): Add parameter len.
8636 * locale/weightwc.h (findidx): Likewise.
8637 * posix/fnmatch_loop.c (FCT): Adjust caller.
8638 * posix/regcomp.c (build_equiv_class): Likewise.
8639 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
8640 * posix/regexec.c (check_node_accept_bytes): Likewise.
8641 * string/strcoll_l.c (STRCOLL): Likewise.
8642 * string/strxfrm_l.c (STRXFRM): Likewise.
8644 2011-11-17 Ulrich Drepper <drepper@gmail.com>
8646 * Makefile.in: Remove CVSOPT handling.
8647 * configure.in: Remove use of AC_REVISION.
8648 * iconvdata/Makefile (distribute): No need to filter out CVS.
8649 * scripts/list-sources.sh: Remove CVS, subversion and monotone
8652 2011-11-16 Andreas Schwab <schwab@redhat.com>
8654 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
8655 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
8656 [USE_AS_STRNCASECMP_L]: Likewise.
8657 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
8658 NO_TLS_DIRECT_SEG_REFS.
8659 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
8660 Fix argument offsets for non-PIC.
8661 [USE_AS_STRNCASECMP_L]: Likewise.
8662 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
8663 NO_TLS_DIRECT_SEG_REFS.
8665 2011-11-15 Ulrich Drepper <drepper@gmail.com>
8667 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
8669 * locale/loadlocale.c (_nl_load_locale): Likewise.
8671 2011-11-15 Andreas Schwab <schwab@redhat.com>
8673 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
8674 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
8675 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
8676 (SYSCALL_GETTIME): Set errno on error.
8678 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
8679 count references to noai6ai_cached.
8681 2011-11-15 Ulrich Drepper <drepper@gmail.com>
8683 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
8685 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
8686 FD_CLOEXEC for /proc/self/maps.
8688 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
8689 FD_CLOEXEC for /proc/meminfo.
8691 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
8694 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
8695 FD_CLOEXEC for given file.
8697 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
8699 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
8700 FD_CLOEXEC for /etc/hosts.
8701 (_gethtent): Likewise.
8703 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
8705 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
8706 cancellation and set FD_CLOEXEC for /etc/netgroup.
8708 * nss/nss_files/files-key.c (search): Don't allow cancellation when
8709 reading /etc/publickey.
8711 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
8712 allow cancellation when reading /etc/group.
8714 * nss/nss_files/files-alias.c (internal_setent): Don't allow
8716 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
8718 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
8719 when using data file.
8721 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
8723 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
8724 (write_nis_obj): Use "c" and "e" in fopen.
8726 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
8728 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
8730 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
8732 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
8734 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
8737 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
8739 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
8741 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
8743 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
8744 file parsing and set FD_CLOEXEC.
8746 2011-11-14 Ulrich Drepper <drepper@gmail.com>
8748 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
8750 2011-11-14 Andreas Schwab <schwab@redhat.com>
8752 * malloc/arena.c (arena_get2): Don't call reused_arena when
8753 _int_new_arena failed.
8755 2011-11-14 Ulrich Drepper <drepper@gmail.com>
8757 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
8758 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
8759 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
8760 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8761 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8762 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
8763 to compile strcasecmp and strncasecmp.
8764 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
8765 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
8767 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
8769 2011-11-13 Ulrich Drepper <drepper@gmail.com>
8771 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
8772 locale-defines.sym to gen-as-const-headers.
8773 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
8774 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
8775 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
8776 to compile strcasecmp and strncasecmp.
8777 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
8778 strcasecmp_l and strncasecmp_l.
8779 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
8780 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
8781 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
8782 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
8783 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
8784 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
8785 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
8786 * sysdeps/i386/i686/multiarch/strncase.S: New file.
8787 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
8788 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
8789 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
8791 2011-11-12 Ulrich Drepper <drepper@gmail.com>
8793 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
8794 result of SYSDEP_GETTIME_CPU to retval.
8795 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
8796 parameter list to macro. Remove trailing semicolon. Adjust users.
8798 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
8801 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
8803 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
8805 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
8806 from unused variable.
8808 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
8810 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
8813 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
8816 * sunrpc/rpc_prot.c (rejected): Fix case value.
8818 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
8819 unsigned long long int to avoid warnings in shift.
8821 * posix/regex_internal.c (re_string_reconstruct): Actually use result
8823 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
8826 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
8827 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
8828 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
8830 * nis/nis_table.c (nis_list): Use variable of correct type for
8831 result of __follow_path call.
8833 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8835 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
8836 of math functions ceil, trunc, floor, round, and sqrt, when
8837 avaliable on the platform.
8838 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
8840 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8841 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8842 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8844 2011-10-30 Marek Polacek <mpolacek@redhat.com>
8846 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
8847 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
8849 2011-11-11 Roland McGrath <roland@hack.frob.com>
8851 * include/unistd.h: Fix __readlink return type.
8852 Reported by Chris Metcalf <cmetcalf@tilera.com>.
8854 2011-11-11 Ulrich Drepper <drepper@gmail.com>
8856 * stdlib/ucontext.h: Undo last change for makecontext.
8858 2011-11-11 Andreas Schwab <schwab@redhat.com>
8860 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
8862 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
8863 * setjmp/setjmp.h: Mark functions as non-leaf.
8864 * setjmp/bits/setjmp2.h: Likewise.
8865 * stdlib/ucontext.h: Likewise.
8867 2011-11-10 Andreas Schwab <schwab@redhat.com>
8869 * malloc/arena.c (_int_new_arena): Don't increment narenas.
8870 (reused_arena): Don't check arena limit.
8871 (arena_get2): Atomically check arena limit.
8873 2011-11-08 Ulrich Drepper <drepper@gmail.com>
8875 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
8876 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
8878 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
8881 2011-11-07 Andreas Schwab <schwab@redhat.com>
8883 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
8884 handler when locking.
8886 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8887 Fix size of allocated buffer.
8889 2011-11-04 Andreas Schwab <schwab@redhat.com>
8892 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
8893 declarations for long double functions.
8894 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
8896 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
8898 2011-11-03 Andreas Schwab <schwab@redhat.com>
8900 * nscd/nscd.c (main): Don't start AVC thread until credentials are
8903 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
8906 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
8908 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
8910 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
8912 * include/alloca.h (stackinfo_alloca_round): Define.
8913 (extend_alloca): Use it.
8914 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
8915 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
8918 * scripts/check-local-headers.sh: Ignore libaudit.h.
8920 * nscd/Makefile (extra-objs): Make recursively expanded.
8922 2011-11-01 Ulrich Drepper <drepper@gmail.com>
8924 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
8925 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
8927 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
8928 * posix/tst-rfc3484-2.c: Likewise.
8929 * posix/tst-rfc3484-3.c: Likewise.
8931 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
8933 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
8935 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
8936 process_vm_writev from libc using GLIBC_2.15 version.
8938 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
8940 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
8942 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
8945 2011-10-31 Ulrich Drepper <drepper@gmail.com>
8948 * nss/getent.c (initgroups_keys): Show error message in case no group
8951 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
8952 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
8953 __bump_nl_timestamp.
8954 * nscd/connections (nscd_init): When host database is served open
8955 netlink socket and request notification about configuration changes.
8956 (main_loop_poll): Track netlink file descriptor and bump timestamp
8957 in case data becomes available.
8958 (main_loop_epoll): Likewise.
8959 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
8960 (database_pers_head): Add extra_data fileds.
8961 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
8962 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
8963 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
8965 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
8966 in6ai data, call __free_in6ai.
8967 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
8969 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
8970 interface information. Reuse previous data if netlink timestamp
8972 (__bump_nl_timestamp): New function.
8973 (__free_in6ai): New function.
8975 2011-10-30 Ulrich Drepper <drepper@gmail.com>
8977 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
8978 close_not_cancel_no_status here.
8979 (__check_pf): Reorganize code a bit to not call close twice if OOM.
8981 2011-10-29 Ulrich Drepper <drepper@gmail.com>
8984 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
8987 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
8988 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
8989 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
8991 2011-07-03 Andreas Jaeger <aj@suse.de>
8994 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
8995 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
8996 * math/libm-test.inc (sin_test): Add test case.
8998 2011-10-29 Ulrich Drepper <drepper@gmail.com>
9001 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
9002 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
9004 * elf/chroot_canon.c (chroot_canon): Cleanups.
9006 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
9009 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
9010 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
9012 * string/test-strchr.c: Make usable for strchrnul testing.
9013 * string/test-strchrnul.c: New file.
9014 * string/Makefile (strop-tests): Add strchrnul.
9016 * po/it.po: Update from translation team.
9017 * po/es.po: Likewise.
9019 2011-10-28 Ulrich Drepper <drepper@gmail.com>
9021 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
9022 the three constants needed as parameters. Drop the others.
9023 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
9024 __m128i_strloadu_tolower.
9025 Create and initialize variable zero and use it in all the places
9026 where _mm_setzero_si128 was used.
9028 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
9029 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
9030 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
9031 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
9033 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
9034 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
9035 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
9036 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
9037 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
9038 __mpranred, __mptan.
9039 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
9040 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
9041 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
9042 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
9043 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
9044 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
9045 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
9046 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
9047 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
9049 2011-10-28 Andreas Schwab <schwab@redhat.com>
9051 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
9053 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
9055 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
9056 wide char related routines to wcsmbs subdir.
9058 2011-10-27 Andreas Schwab <schwab@redhat.com>
9061 * misc/sys/cdefs.h (__THROWNL): Define.
9062 * posix/unistd.h: Use __THREADNL instead of __THREAD
9063 for memory synchronization functions.
9065 2011-10-26 Roland McGrath <roland@hack.frob.com>
9068 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
9070 * manual/stdio.texi (Obstack Streams): Node removed.
9072 2011-10-26 Andreas Schwab <schwab@redhat.com>
9074 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
9075 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9076 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9078 * math/math_private.h (math_force_eval): Allow non-addressable
9080 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
9082 2011-10-25 Ulrich Drepper <drepper@gmail.com>
9084 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
9087 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
9088 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
9089 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9090 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9091 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9092 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9093 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9094 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
9096 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
9097 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
9098 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
9099 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
9100 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
9101 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
9102 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
9103 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
9104 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
9105 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
9106 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
9107 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
9108 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
9109 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
9110 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
9111 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
9112 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
9113 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
9114 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
9116 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
9117 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
9119 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
9120 place. Use VEX encoding when compiling for AVX.
9122 2011-10-25 Andreas Schwab <schwab@redhat.com>
9124 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
9125 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
9127 * string/test-strchr.c (do_test): Don't generate NUL bytes.
9129 2011-10-25 Ulrich Drepper <drepper@gmail.com>
9131 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
9132 useless if() expression.
9133 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9134 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9135 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9136 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9137 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9138 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9139 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9140 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9141 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9142 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9143 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9144 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9145 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
9146 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9147 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
9148 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9149 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9150 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9151 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9153 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
9155 2011-10-25 Andreas Schwab <schwab@redhat.com>
9157 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
9159 * elf/dl-fini.c (_dl_sort_fini): Likewise.
9161 2011-10-25 Ulrich Drepper <drepper@gmail.com>
9163 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
9164 .text section. Avoid duplicate constants.
9165 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9166 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9167 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9168 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9169 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9170 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9171 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9172 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9173 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9174 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
9175 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9176 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9177 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
9178 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
9179 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
9180 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
9181 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
9182 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9183 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9184 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9185 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9186 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9187 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9188 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
9189 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
9190 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
9191 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
9192 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
9193 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
9194 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
9195 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
9196 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
9197 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9198 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
9199 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
9200 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
9201 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
9202 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
9203 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
9204 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
9205 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
9206 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
9207 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
9208 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
9209 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
9211 2011-10-24 Ulrich Drepper <drepper@gmail.com>
9213 * sysdeps/x86_64/dla.h: Move to ...
9214 * sysdeps/x86_64/fpu/dla.h: ...here.
9215 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
9216 situations. Use __builtin_fma only for gcc 4.6 and up.
9218 * config.make.in: Add have-mfma4 entry.
9219 * configure.in: Substitute libc_cv_cc_fma4.
9220 * math/Makefile (dbl-only-routines): Add sincostab.
9221 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
9222 Use __sincostab not sincos.
9223 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
9225 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9226 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9227 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9228 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
9230 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
9231 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
9232 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
9233 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
9235 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
9236 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
9238 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
9239 define aliases when function name is a macro.
9240 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
9241 sysdeps/ieee754/dbl-64/sincos.tbl.
9242 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
9243 fma4-enabled routines.
9244 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
9245 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
9246 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
9247 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
9248 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
9249 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
9250 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
9251 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
9252 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
9253 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
9254 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
9255 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
9256 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
9257 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
9258 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
9259 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
9260 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
9261 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
9262 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
9263 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
9264 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
9265 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
9266 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
9267 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
9268 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
9269 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
9270 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
9271 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
9272 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
9273 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
9275 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
9277 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9278 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9279 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9280 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9281 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9282 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9283 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9284 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9286 2011-10-24 Andreas Schwab <schwab@redhat.com>
9288 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
9290 2011-10-23 Ulrich Drepper <drepper@gmail.com>
9292 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
9294 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
9296 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
9298 * string/strnlen.c: Don't define STRNLEN, reverse logic.
9299 Remove unused variable magic_bits.
9300 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
9302 * string/strnlen.c: Define and use STRNLEN macro.
9303 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
9304 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
9305 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
9306 * wcsmbs/wcslen.c: Define and use WCSLEN.
9307 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
9308 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
9309 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
9310 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
9311 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
9312 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
9313 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
9315 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9317 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9318 strnlen-sse2-no-bsf.
9319 Rename strlen-no-bsf to strlen-sse2-no-bsf.
9320 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
9321 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
9322 Add strnlen support.
9323 (USE_AS_STRNLEN): New macro.
9324 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
9325 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
9326 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
9327 * sysdeps/x86_64/wcslen.S: New file.
9329 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
9331 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
9332 XMM-moves are used for copying on small sizes.
9334 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9336 * wcsmbs/Makefile (strop-tests): Add wcschr.
9337 * wcsmbs/test-wcschr.c: New file.
9338 * string/test-strchr.c: Update.
9342 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9344 * wcsmbs/Makefile (strop-tests): Add wcslen.
9345 * wcsmbs/test-wcslen.c: New file.
9346 * string/test-strlen.c: Update.
9350 2011-10-23 Ulrich Drepper <drepper@gmail.com>
9352 * po/it.po: Update from translation team.
9354 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9356 * sysdeps/x86_64/wcscmp.S: Update.
9357 Fix wrong comparison semantics.
9358 wcscmp shall use signed comparison not unsigned.
9359 Don't use substraction to avoid overflow bug.
9360 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
9361 * wcsmbc/wcscmp.c: Likewise.
9362 * string/test-strcmp.c: Likewise.
9363 Add new tests to check cases with negative values.
9365 2011-10-23 Ulrich Drepper <drepper@gmail.com>
9367 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
9368 * sysdeps/x86_64/dla.h: ...here. New file.
9369 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
9370 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9371 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9372 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9373 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9374 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9375 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9376 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9377 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9379 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
9381 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
9382 __ynl_finite aliases.
9384 2011-10-22 Ulrich Drepper <drepper@gmail.com>
9386 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9388 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
9390 [DLA_FMA] (EMULV): Use DLA_FMA.
9391 [DLA_FMA] (MUL12): Use EMULV.
9392 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
9393 that are not needed.
9394 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9395 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9396 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9397 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9398 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9399 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9400 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9402 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
9404 * math/s_nan.c: Undef __nan.
9405 * math/s_nanf.c: Undef __nanf.
9406 * math/s_nanl.c: Undef __nanl.
9407 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
9410 2011-10-22 Ulrich Drepper <drepper@gmail.com>
9412 * math/s_catan.c: Add branch predictions.
9413 * math/s_catanf.c: Likewise.
9414 * math/s_catanh.c: Likewise.
9415 * math/s_catanhf.c: Likewise.
9416 * math/s_catanhl.c: Likewise.
9417 * math/s_catanl.c: Likewise.
9418 * math/s_cexp.c: Likewise.
9419 * math/s_cexpf.c: Likewise.
9420 * math/s_cexpl.c: Likewise.
9421 * math/s_clog.c: Likewise.
9422 * math/s_clog10.c: Likewise.
9423 * math/s_clog10f.c: Likewise.
9424 * math/s_clog10l.c: Likewise.
9425 * math/s_clogf.c: Likewise.
9426 * math/s_clogl.c: Likewise.
9427 * math/s_csqrt.c: Likewise.
9428 * math/s_csqrtf.c: Likewise.
9429 * math/s_csqrtl.c: Likewise.
9430 * math/s_ctanf.c: Likewise.
9431 * math/s_ctanh.c: Likewise.
9432 * math/s_ctanhf.c: Likewise.
9433 * math/s_ctanhl.c: Likewise.
9434 * math/s_ctanl.c: Likewise.
9436 * math/math_private.h: Define __nan, __nanf, __nanl.
9437 * math/s_cacosh.c: Include <math_private.h>.
9438 * math/s_cacoshl.c: Likewise.
9439 * math/s_casinh.c: Likewise.
9440 * math/s_casinhf.c: Likewise.
9441 * math/s_casinhl.c: Likewise.
9442 * math/s_ccos.c: Rely entire on ccosh.
9443 * math/s_ccosf.c: Rely entire on ccoshf.
9444 * math/s_ccosl.c: Rely entirely on ccoshl.
9445 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
9446 Remove tests for FE_INVALID.
9447 * math/s_ccoshf.c: Likewise.
9448 * math/s_ccoshl.c: Likewise.
9449 * math/s_csin.c: Likewise.
9450 * math/s_csinf.c: Likewise.
9451 * math/s_csinh.c Likewise.
9452 * math/s_csinhf.c: Likewise.
9453 * math/s_csinhl.c: Likewise.
9454 * math/s_csinl.c: Likewise.
9455 * math/s_ctan.c: Likewise.
9456 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
9457 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
9458 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
9460 2011-10-21 Ulrich Drepper <drepper@gmail.com>
9462 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
9463 compilation problems.
9465 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
9468 2011-10-20 Ulrich Drepper <drepper@gmail.com>
9470 * sysdeps/i386/configure.in: Test for -mfma4 option.
9471 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
9472 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
9473 COMMON_CPUID_INDEX_80000001.
9474 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
9475 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
9476 use it if FMA3 is not supported.
9477 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
9479 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
9480 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
9482 2011-10-20 Andreas Schwab <schwab@redhat.com>
9485 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
9486 it would create a cycle with a link time dependency.
9488 2011-10-19 Ulrich Drepper <drepper@gmail.com>
9490 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
9492 * string/Makefile (strop-tests): Add rawmemchr.
9493 * string/test-rawmemchr.c: New file.
9495 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
9496 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
9497 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
9498 when compiling str{,n}casecmp and when AVX is available. Hook up
9499 new optimized code in initializers.
9501 2011-10-19 Andreas Schwab <schwab@redhat.com>
9503 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
9504 __feraiseexcept instead of feraiseexcept.
9506 2011-10-18 Ulrich Drepper <drepper@gmail.com>
9508 * math/math_private.h: Define defaults for libc_fetestexcept and
9510 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
9511 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
9512 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
9513 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
9514 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9515 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
9516 libc_fetestexcept and libc_feupdateenv.
9518 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
9519 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
9520 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
9521 * sysdeps/x86_64/fpu/math_private.h: Define special version of
9522 libc_feholdexcept_setround.
9524 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
9525 Add s_nearbyint-c and s_nearbyintf-c.
9526 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
9528 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
9529 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
9530 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
9531 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
9533 * math/math_private.h: Define defaults for libc_fegetround,
9534 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
9535 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
9536 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
9537 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
9538 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
9540 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9541 Remove comments and hacks for old compiler versions.
9542 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
9543 libc_fegetround, libc_fesetround, libc_feholdexcept, and
9546 2011-10-18 Andreas Schwab <schwab@redhat.com>
9548 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
9549 (__feraiseexcept_renamed): Add __NTH.
9550 (feraiseexcept): Add __NTH. Rename local variables to fix
9551 namespace violations.
9553 2011-10-17 Ulrich Drepper <drepper@gmail.com>
9555 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
9557 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
9559 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
9560 recently added interfaces.
9561 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
9563 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
9564 about macro parameter expansion.
9566 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
9567 __NO_MATH_INLINES is defined. Cleanups.
9569 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
9570 and __floorf is target has SSE4.1.
9571 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
9572 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
9573 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
9574 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
9576 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
9580 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
9582 2011-10-17 Andreas Schwab <schwab@redhat.com>
9584 * misc/sys/cdefs.h: Fix last change.
9586 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
9589 2011-10-16 Ulrich Drepper <drepper@gmail.com>
9591 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
9593 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
9594 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9595 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9596 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9597 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9598 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9599 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9600 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9601 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9602 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
9603 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
9604 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
9605 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
9606 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
9607 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
9608 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
9609 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
9610 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
9611 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
9612 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
9613 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
9614 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
9616 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
9617 ceil, ceilf, floor, floorf.
9619 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
9620 Perform IRELATIVE relocations last.
9622 * elf/do-rel.h: Add another parameter nrelative, replacing the
9623 local variable with the same name. Change name of the function
9624 to end in Rel or Rela (uppercase).
9625 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
9626 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
9627 elf_dynamic_do_##reloc function.
9629 2011-10-15 Ulrich Drepper <drepper@gmail.com>
9631 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
9632 is sufficient, at least on modern CPUs.
9634 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
9636 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
9637 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
9639 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
9641 * math/bits/math-finite.h: Add entries for exp.
9642 * math/e_expl.c: Add __*_finite alias.
9643 * sysdeps/i386/fpu/e_exp.S: Likewise.
9644 * sysdeps/i386/fpu/e_expf.S: Likewise.
9645 * sysdeps/i386/fpu/e_expl.c: Likewise.
9646 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9647 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
9648 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9649 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9650 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
9651 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
9652 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
9654 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
9655 is sufficient, at least on modern CPUs.
9657 * ctype/ctype-info.c (__ctype_init): Define.
9658 * include/ctype.h (__ctype_init): Declare.
9659 (__ctype_b_loc): The variable is always initialized.
9660 (__ctype_toupper_loc): Likewise.
9661 (__ctype_tolower_loc): Likewise.
9662 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
9663 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
9665 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
9667 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
9669 * configure.in: Also look in $cxxmachine/include for C++ system
9672 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9674 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
9675 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
9676 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
9677 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
9678 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
9679 (USE_AS_WMEMCMP): New macro.
9681 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
9682 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
9683 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
9684 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
9685 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9686 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
9687 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
9688 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
9689 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
9690 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
9691 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
9692 (USE_AS_WMEMCMP): New macro.
9693 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
9694 * sysdeps/string/test-memcmp.c: Update.
9697 * wcsmbs/wmemcmp.c: Update.
9698 (WMEMCMP): New macro.
9701 2011-10-12 Andreas Jaeger <aj@suse.de>
9704 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
9706 2011-10-15 Ulrich Drepper <drepper@gmail.com>
9708 * libio/iofwide.c (do_length): Avoid warning.
9710 * ctype/ctype.h (__isctype_f): Add missing __THROW.
9712 2011-10-14 Ulrich Drepper <drepper@gmail.com>
9714 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
9716 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
9717 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
9718 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
9719 * sysdeps/i386/i686/fpu/e_log.S: New file.
9720 * sysdeps/i386/i686/fpu/e_logf.S: New file.
9721 * sysdeps/i386/i686/fpu/e_logl.S: New file.
9723 * ctype/ctype.h: Add support for inlined isXXX functions when
9726 2011-10-14 Andreas Schwab <schwab@redhat.com>
9728 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9730 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
9732 2011-10-13 Roland McGrath <roland@hack.frob.com>
9735 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
9737 2011-10-13 Andreas Schwab <schwab@redhat.com>
9739 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
9740 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
9743 * sysdeps/x86_64/memrchr.S: Check for zero size.
9745 * string/stratcliff.c: Add memrchr tests.
9747 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9749 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9750 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
9751 rawmemchr-sse2 rawmemchr-sse2-bsf.
9752 * sysdeps/i386/i686/multiarch/memchr.S: New file.
9753 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
9754 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
9755 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
9756 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
9757 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
9758 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
9759 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
9760 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
9761 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
9762 * string/memrchr.c (MEMRCHR): New macro.
9764 2011-10-12 Ulrich Drepper <drepper@gmail.com>
9766 Add integration with gcc's -ffinite-math-only and optimize wrapper
9768 * Versions.def: Define GLIBC_2.15 version for libm.
9769 * math/Makefile (headers): Add bits/math-finite.h.
9770 * math/bits/math-finite.h: New file.
9771 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
9772 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
9773 * math/e_acoshl.c: Add __*_finite alias.
9774 * math/e_acosl.c: Likewise.
9775 * math/e_asinl.c: Likewise.
9776 * math/e_atan2l.c: Likewise.
9777 * math/e_atanhl.c: Likewise.
9778 * math/e_coshl.c: Likewise.
9779 * math/e_exp10.c: Likewise.
9780 * math/e_exp10f.c: Likewise.
9781 * math/e_exp10l.c: Likewise.
9782 * math/e_exp2l.c: Likewise.
9783 * math/e_fmodl.c: Likewise.
9784 * math/e_gammal_r.c: Likewise.
9785 * math/e_hypotl.c: Likewise.
9786 * math/e_j0l.c: Likewise.
9787 * math/e_j1l.c: Likewise.
9788 * math/e_jnl.c: Likewise.
9789 * math/e_lgammal_r.c: Likewise.
9790 * math/e_log10l.c: Likewise.
9791 * math/e_log2l.c: Likewise.
9792 * math/e_logl.c: Likewise.
9793 * math/e_powl.c: Likewise.
9794 * math/e_sinhl.c: Likewise.
9795 * math/e_sqrtl.c: Likewise.
9796 * math/e_scalb.c: Completely rewritten and optimized.
9797 * math/e_scalbf.c: Likewise.
9798 * math/e_scalbl.c: Likewise.
9799 * math/w_acos.c: Likewise.
9800 * math/w_acosf.c: Likewise.
9801 * math/w_acosl.c: Likewise.
9802 * math/w_acosh.c: Likewise.
9803 * math/w_acoshf.c: Likewise.
9804 * math/w_acoshl.c: Likewise.
9805 * math/w_asin.c: Likewise.
9806 * math/w_asinf.c: Likewise.
9807 * math/w_asinl.c: Likewise.
9808 * math/w_atan2.c: Likewise.
9809 * math/w_atan2f.c: Likewise.
9810 * math/w_atan2l.c: Likewise.
9811 * math/w_atanh.c: Likewise.
9812 * math/w_atanhf.c: Likewise.
9813 * math/w_atanhl.c: Likewise.
9814 * math/w_exp10.c: Likewise.
9815 * math/w_exp10f.c: Likewise.
9816 * math/w_exp10l.c: Likewise.
9817 * math/w_fmod.c: Likewise.
9818 * math/w_fmodf.c: Likewise.
9819 * math/w_fmodl.c: Likewise.
9820 * math/w_j0.c: Likewise.
9821 * math/w_j0f.c: Likewise.
9822 * math/w_j0l.c: Likewise.
9823 * math/w_j1.c: Likewise.
9824 * math/w_j1f.c: Likewise.
9825 * math/w_j1l.c: Likewise.
9826 * math/w_jn.c: Likewise.
9827 * math/w_jnf.c: Likewise.
9828 * math/w_log.c: Likewise.
9829 * math/w_logf.c: Likewise.
9830 * math/w_logl.c: Likewise.
9831 * math/w_log10.c: Likewise.
9832 * math/w_log10f.c: Likewise.
9833 * math/w_log10l.c: Likewise.
9834 * math/w_log2.c: Likewise.
9835 * math/w_log2f.c: Likewise.
9836 * math/w_log2l.c: Likewise.
9837 * math/w_pow.c: Likewise.
9838 * math/w_powf.c: Likewise.
9839 * math/w_powl.c: Likewise.
9840 * math/w_remainder.c: Likewise.
9841 * math/w_remainderf.c: Likewise.
9842 * math/w_remainderl.c: Likewise.
9843 * math/w_scalb.c: Likewise.
9844 * math/w_scalbf.c: Likewise.
9845 * math/w_scalbl.c: Likewise.
9846 * math/w_sqrt.c: Likewise.
9847 * math/w_sqrtf.c: Likewise.
9848 * math/w_sqrtl.c: Likewise.
9849 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
9850 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
9852 * math/math_private.h: Declare __kernel_standard_f.
9853 * math/w_cosh.c: Remove cruft and optimize a bit.
9854 * math/w_coshf.c: Likewise.
9855 * math/w_coshl.c: Likewise.
9856 * math/w_exp2.c: Likewise.
9857 * math/w_exp2f.c: Likewise.
9858 * math/w_exp2l.c: Likewise.
9859 * math/w_hypot.c: Likewise.
9860 * math/w_hypotf.c: Likewise.
9861 * math/w_hypotl.c: Likewise.
9862 * math/w_lgamma.c: Likewise.
9863 * math/w_lgamma_r.c: Likewise.
9864 * math/w_lgammaf.c: Likewise.
9865 * math/w_lgammaf_r.c: Likewise.
9866 * math/w_lgammal.c: Likewise.
9867 * math/w_lgammal_r.c: Likewise.
9868 * math/w_sinh.c: Likewise.
9869 * math/w_sinhf.c: Likewise.
9870 * math/w_sinhl.c: Likewise.
9871 * math/w_tgamma.c: Likewise.
9872 * math/w_tgammaf.c: Likewise.
9873 * math/w_tgammal.c: Likewise.
9874 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9875 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9876 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
9877 Minor optimizations. Pretty printing. Remove cruft.
9878 * sysdeps/i386/fpu/e_acosf.S: Likewise.
9879 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9880 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9881 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9882 * sysdeps/i386/fpu/e_acosl.c: Likewise.
9883 * sysdeps/i386/fpu/e_asin.S: Likewise.
9884 * sysdeps/i386/fpu/e_asinf.S: Likewise.
9885 * sysdeps/i386/fpu/e_atan2.S: Likewise.
9886 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
9887 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
9888 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9889 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9890 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9891 * sysdeps/i386/fpu/e_exp10.S: Likewise.
9892 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
9893 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
9894 * sysdeps/i386/fpu/e_exp2.S: Likewise.
9895 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
9896 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
9897 * sysdeps/i386/fpu/e_fmod.S: Likewise.
9898 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
9899 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
9900 * sysdeps/i386/fpu/e_hypot.S: Likewise.
9901 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
9902 * sysdeps/i386/fpu/e_log.S: Likewise.
9903 * sysdeps/i386/fpu/e_log10.S: Likewise.
9904 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9905 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9906 * sysdeps/i386/fpu/e_log2.S: Likewise.
9907 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9908 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9909 * sysdeps/i386/fpu/e_logf.S: Likewise.
9910 * sysdeps/i386/fpu/e_logl.S: Likewise.
9911 * sysdeps/i386/fpu/e_pow.S: Likewise.
9912 * sysdeps/i386/fpu/e_powf.S: Likewise.
9913 * sysdeps/i386/fpu/e_powl.S: Likewise.
9914 * sysdeps/i386/fpu/e_remainder.S: Likewise.
9915 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
9916 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
9917 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9918 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9919 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9920 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
9921 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
9922 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
9923 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9924 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9925 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9926 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9927 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9928 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9929 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9930 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9931 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9932 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9933 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9934 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9935 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9936 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9937 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9938 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9939 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9940 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9941 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9942 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9943 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9944 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
9945 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9946 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9947 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
9948 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9949 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
9950 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
9951 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
9952 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
9953 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9954 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9955 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9956 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9957 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
9958 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
9959 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
9960 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
9961 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
9962 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9963 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
9964 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9965 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
9966 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9967 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9968 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9969 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9970 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9971 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9972 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
9973 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9974 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9975 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9976 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9977 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9978 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9979 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9980 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9981 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9982 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9983 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9984 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9985 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9986 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9987 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9988 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9989 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9990 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9991 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
9992 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9993 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9994 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9995 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9996 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9997 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9998 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9999 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
10000 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
10001 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10002 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
10003 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10004 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
10005 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
10006 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10007 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10008 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
10009 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10010 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
10011 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10012 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
10013 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10014 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10015 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10016 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
10017 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10018 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
10019 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
10020 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
10021 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
10022 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
10023 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
10024 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
10025 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
10026 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
10027 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10028 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10029 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10030 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10031 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
10032 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10033 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
10034 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
10035 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
10036 (__isnanf): Likewise.
10037 (__isinf_ns): Likewise.
10038 (__isinf_nsf): Likewise.
10039 (__finite): Likewise.
10040 (__finitef): Likewise.
10041 (__ieee754_sqrt): Define as macro.
10042 (__ieee754_sqrtf): Define as macro.
10043 (__ieee754_sqrtl): Define as macro.
10044 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
10046 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
10047 __FINITE_MATH_ONLY__ consistent.
10048 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
10050 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
10052 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
10055 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
10057 2011-10-09 Ulrich Drepper <drepper@gmail.com>
10059 * po/ja.po: Update from translation team.
10061 2011-10-08 Roland McGrath <roland@hack.frob.com>
10063 * locale/programs/locarchive.c (prepare_address_space): New function.
10064 (create_archive, enlarge_archive, open_archive): Use it.
10066 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
10067 inside [SHARED], where it is used.
10069 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
10071 * nss/getent.c (netgroup_keys): Remove unused variable.
10072 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
10074 2011-10-08 Ulrich Drepper <drepper@gmail.com>
10076 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
10077 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
10078 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
10079 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
10080 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
10081 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
10082 * math/Makefile (libm-calls): Add s_isinf_ns.
10083 * math/divtc3.c: Use __isinf_nsl instead of isinf.
10084 * math/multc3.c: Likewise.
10085 * math/s_casin.c: Likewise.
10086 * math/s_casinf.c: Likewise.
10087 * math/s_casinl.c: Likewise.
10088 * math/s_ccos.c: Likewise.
10089 * math/s_ccosf.c: Likewise.
10090 * math/s_ccosl.c: Likewise.
10091 * math/s_ctan.c: Likewise.
10092 * math/s_ctanf.c: Likewise.
10093 * math/s_ctanh.c: Likewise.
10094 * math/s_ctanhf.c: Likewise.
10095 * math/s_ctanhl.c: Likewise.
10096 * math/s_ctanl.c: Likewise.
10097 * math/w_fmod.c: Likewise.
10098 * math/w_fmodf.c: Likewise.
10099 * math/w_fmodl.c: Likewise.
10100 * math/w_remainder.c: Likewise.
10101 * math/w_remainderf.c: Likewise.
10102 * math/w_remainderl.c: Likewise.
10103 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
10104 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
10105 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
10106 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
10107 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
10108 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
10109 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
10110 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
10112 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
10114 * stdio-common/printf_fphex.c: Likewise.
10115 * stdio-common/printf_size.c: Likewise.
10117 * math/e_exp10.c: Include math_private.h using <...> not "...".
10118 * math/e_exp10f.c: Likewise.
10119 * math/e_exp10l.c: Likewise.
10120 * math/e_exp2l.c: Likewise.
10121 * math/e_j0l.c: Likewise.
10122 * math/e_j1l.c: Likewise.
10123 * math/e_jnl.c: Likewise.
10124 * math/e_lgammal_r.c: Likewise.
10125 * math/e_rem_pio2l.c: Likewise.
10126 * math/e_scalb.c: Likewise.
10127 * math/e_scalbf.c: Likewise.
10128 * math/e_scalbl.c: Likewise.
10129 * math/k_cosl.c: Likewise.
10130 * math/k_sinl.c: Likewise.
10131 * math/k_tanl.c: Likewise.
10132 * math/s_cacoshf.c: Likewise.
10133 * math/s_catan.c: Likewise.
10134 * math/s_catanf.c: Likewise.
10135 * math/s_catanh.c: Likewise.
10136 * math/s_catanhf.c: Likewise.
10137 * math/s_catanhl.c: Likewise.
10138 * math/s_catanl.c: Likewise.
10139 * math/s_ccosh.c: Likewise.
10140 * math/s_ccoshf.c: Likewise.
10141 * math/s_ccoshl.c: Likewise.
10142 * math/s_cexp.c: Likewise.
10143 * math/s_cexpf.c: Likewise.
10144 * math/s_cexpl.c: Likewise.
10145 * math/s_clog.c: Likewise.
10146 * math/s_clog10.c: Likewise.
10147 * math/s_clog10f.c: Likewise.
10148 * math/s_clog10l.c: Likewise.
10149 * math/s_clogf.c: Likewise.
10150 * math/s_clogl.c: Likewise.
10151 * math/s_csin.c: Likewise.
10152 * math/s_csinf.c: Likewise.
10153 * math/s_csinh.c: Likewise.
10154 * math/s_csinhf.c: Likewise.
10155 * math/s_csinhl.c: Likewise.
10156 * math/s_csinl.c: Likewise.
10157 * math/s_csqrt.c: Likewise.
10158 * math/s_csqrtf.c: Likewise.
10159 * math/s_csqrtl.c: Likewise.
10160 * math/s_ctan.c: Likewise.
10161 * math/s_ctanf.c: Likewise.
10162 * math/s_ctanh.c: Likewise.
10163 * math/s_ctanhf.c: Likewise.
10164 * math/s_ctanhl.c: Likewise.
10165 * math/s_ctanl.c: Likewise.
10166 * math/s_ldexp.c: Likewise.
10167 * math/s_ldexpf.c: Likewise.
10168 * math/s_ldexpl.c: Likewise.
10169 * math/s_significand.c: Likewise.
10170 * math/s_significandf.c: Likewise.
10171 * math/s_significandl.c: Likewise.
10172 * math/w_acos.c: Likewise.
10173 * math/w_acosf.c: Likewise.
10174 * math/w_acosh.c: Likewise.
10175 * math/w_acoshf.c: Likewise.
10176 * math/w_acoshl.c: Likewise.
10177 * math/w_acosl.c: Likewise.
10178 * math/w_asin.c: Likewise.
10179 * math/w_asinf.c: Likewise.
10180 * math/w_asinl.c: Likewise.
10181 * math/w_atan2.c: Likewise.
10182 * math/w_atan2f.c: Likewise.
10183 * math/w_atan2l.c: Likewise.
10184 * math/w_atanh.c: Likewise.
10185 * math/w_atanhf.c: Likewise.
10186 * math/w_atanhl.c: Likewise.
10187 * math/w_cosh.c: Likewise.
10188 * math/w_coshf.c: Likewise.
10189 * math/w_coshl.c: Likewise.
10190 * math/w_dremf.c: Likewise.
10191 * math/w_exp10.c: Likewise.
10192 * math/w_exp10f.c: Likewise.
10193 * math/w_exp10l.c: Likewise.
10194 * math/w_exp2.c: Likewise.
10195 * math/w_exp2f.c: Likewise.
10196 * math/w_fmod.c: Likewise.
10197 * math/w_fmodf.c: Likewise.
10198 * math/w_fmodl.c: Likewise.
10199 * math/w_hypot.c: Likewise.
10200 * math/w_hypotf.c: Likewise.
10201 * math/w_hypotl.c: Likewise.
10202 * math/w_j0.c: Likewise.
10203 * math/w_j0f.c: Likewise.
10204 * math/w_j0l.c: Likewise.
10205 * math/w_j1.c: Likewise.
10206 * math/w_j1f.c: Likewise.
10207 * math/w_j1l.c: Likewise.
10208 * math/w_jn.c: Likewise.
10209 * math/w_jnf.c: Likewise.
10210 * math/w_jnl.c: Likewise.
10211 * math/w_lgamma.c: Likewise.
10212 * math/w_lgamma_r.c: Likewise.
10213 * math/w_lgammaf.c: Likewise.
10214 * math/w_lgammaf_r.c: Likewise.
10215 * math/w_lgammal.c: Likewise.
10216 * math/w_lgammal_r.c: Likewise.
10217 * math/w_log.c: Likewise.
10218 * math/w_log10.c: Likewise.
10219 * math/w_log10f.c: Likewise.
10220 * math/w_log10l.c: Likewise.
10221 * math/w_log2.c: Likewise.
10222 * math/w_log2f.c: Likewise.
10223 * math/w_log2l.c: Likewise.
10224 * math/w_logf.c: Likewise.
10225 * math/w_logl.c: Likewise.
10226 * math/w_pow.c: Likewise.
10227 * math/w_powf.c: Likewise.
10228 * math/w_powl.c: Likewise.
10229 * math/w_remainder.c: Likewise.
10230 * math/w_remainderf.c: Likewise.
10231 * math/w_remainderl.c: Likewise.
10232 * math/w_scalb.c: Likewise.
10233 * math/w_scalbf.c: Likewise.
10234 * math/w_scalbl.c: Likewise.
10235 * math/w_sinh.c: Likewise.
10236 * math/w_sinhf.c: Likewise.
10237 * math/w_sinhl.c: Likewise.
10238 * math/w_sqrt.c: Likewise.
10239 * math/w_sqrtf.c: Likewise.
10240 * math/w_sqrtl.c: Likewise.
10241 * math/w_tgamma.c: Likewise.
10242 * math/w_tgammaf.c: Likewise.
10243 * math/w_tgammal.c: Likewise.
10245 * po/ja.po: Update from translation team.
10247 2011-09-29 Andreas Jaeger <aj@suse.de>
10250 * sunrpc/netname.c (netname2host): Fix logic.
10254 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
10256 * math/w_remainder.c (__remainder): Likewise.
10257 * math/w_remainderf.c (__remainderf): Likewise.
10258 * math/libm-test.inc (remainder_test): Add test cases.
10260 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10262 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
10265 2011-10-07 Ulrich Drepper <drepper@gmail.com>
10267 * string/test-memcmp.c: Avoid unncessary #defines.
10268 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
10270 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10272 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
10273 Use new sse2 version for core i3 - i7 as it's faster
10274 than sse42 version.
10275 (bit_Prefer_PMINUB_for_stringop): New.
10276 * sysdeps/x86_64/rawmemchr.S: Update.
10277 Replace with faster SSE2 version.
10278 * sysdeps/x86_64/memrchr.S: New file.
10279 * sysdeps/x86_64/memchr.S: Update.
10280 Replace with faster SSE2 version.
10282 2011-09-12 Marek Polacek <mpolacek@redhat.com>
10284 * elf/dl-load.c (lose): Add cast to avoid warning.
10286 2011-10-07 Ulrich Drepper <drepper@gmail.com>
10288 * po/ca.po: Update from translation team.
10290 * inet/getnetgrent_r.c: Hook up nscd.
10291 * nscd/Makefile (routines): Add nscd_netgroup.
10292 (nscd-modules): Add netgroupcache.
10293 (CFLAGS-netgroupcache.c): Define.
10294 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
10295 (cache_search): Add const to second parameter.
10296 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
10298 (dbs): Add netgrdb entry.
10299 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
10300 (verify_persistent_db): Handle netgrdb.
10301 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
10302 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
10304 (netgroup_response_header): Define.
10305 (innetgroup_response_header): Define.
10306 (datahead): Add netgroup_response_header and innetgroup_response_header
10308 * nscd/nscd.conf: Add entries for netgroup cache.
10309 * nscd/nscd.h (dbtype): Add netgrdb.
10310 (_PATH_NSCD_NETGROUP_DB): Define.
10311 (netgroup_iov_disabled): Declare.
10312 (xmalloc, xcalloc, xrealloc): Move declarations here.
10313 (cache_search): Adjust prototype.
10314 Add netgroup-related prototypes.
10315 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
10316 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
10317 (__nscd_innetgr): Declare.
10318 * nscd/selinux.c (perms): Use access_vector_t as element type and
10319 add netgroup-related initializers.
10320 * nscd/netgroupcache.c: New file.
10321 * nscd/nscd_netgroup.c: New file.
10322 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
10323 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
10324 For four parameters use innetgr.
10325 * nss/nss_files/files-init.c: Add definition and callback for netgr.
10326 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
10327 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
10328 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
10330 * nscd/connections.c (register_traced_file): Don't register file
10331 for disabled databases.
10333 2011-10-06 Ulrich Drepper <drepper@gmail.com>
10335 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
10337 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
10338 from tree and freeing node.
10340 2011-09-25 Jiri Olsa <jolsa@redhat.com>
10342 * nss/nsswitch.c (__nss_database_lookup): Handle
10343 nss_parse_service_list out of memory case.
10345 2011-09-15 Jiri Olsa <jolsa@redhat.com>
10347 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
10348 out of memory case.
10350 2011-10-04 Andreas Schwab <schwab@redhat.com>
10352 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
10353 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
10355 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
10356 elf_machine_rela, elf_machine_lazy_rel.
10357 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
10358 (ELF_DYNAMIC_DO_REL): Likewise.
10359 (ELF_DYNAMIC_DO_RELA): Likewise.
10360 (ELF_DYNAMIC_RELOCATE): Likewise.
10361 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
10362 to ELF_DYNAMIC_DO_REL.
10363 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
10364 (dl_main): In trace mode always set __RTLD_NOIFUNC.
10365 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
10367 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
10368 skip_ifunc, don't call ifunc function if non-zero.
10369 (elf_machine_rela): Likewise.
10370 (elf_machine_lazy_rel): Likewise.
10371 (elf_machine_lazy_rela): Likewise.
10372 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
10373 (elf_machine_lazy_rel): Likewise.
10374 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
10376 (elf_machine_lazy_rel): Likewise.
10377 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10379 (elf_machine_lazy_rel): Likewise.
10380 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
10381 (elf_machine_lazy_rel): Likewise.
10382 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
10383 (elf_machine_lazy_rel): Likewise.
10384 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10385 (elf_machine_lazy_rel): Likewise.
10386 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
10387 (elf_machine_lazy_rel): Likewise.
10388 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
10389 (elf_machine_lazy_rel): Likewise.
10390 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
10391 (elf_machine_lazy_rel): Likewise.
10393 2011-09-28 Ulrich Drepper <drepper@gmail.com>
10395 * nss/nss_files/files-init.c (_nss_files_init): Use static
10396 initialization for all the *_traced_file variables.
10398 2011-09-28 Andreas Schwab <schwab@redhat.com>
10400 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10402 2011-09-27 Roland McGrath <roland@hack.frob.com>
10405 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
10407 2011-09-27 Andreas Schwab <schwab@redhat.com>
10409 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10410 Reread the line before reparsing it.
10412 2011-09-26 Andreas Schwab <schwab@redhat.com>
10414 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
10416 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
10417 Maxim Kuvyrkov <maxim@codesourcery.com>
10418 Joseph Myers <joseph@codesourcery.com>
10420 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
10421 if needed for __stack_chk_guard.
10423 2011-09-19 Roland McGrath <roland@hack.frob.com>
10425 * sysdeps/posix/spawni.c (script_execute): Always define it.
10426 It will be optimized away if unused.
10427 (maybe_script_execute): New function.
10428 (__spawni): Call it.
10430 * Makerules: Don't include tls.make.
10431 (config-tls): Always set to thread.
10432 * tls.make.c: File removed.
10434 2011-09-19 Mike Frysinger <vapier@gentoo.org>
10436 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
10437 * config.make.in (CPPFLAGS-config): New substituted variable.
10439 2011-09-15 Ulrich Drepper <drepper@gmail.com>
10441 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
10444 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
10445 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
10447 2011-09-15 Roland McGrath <roland@hack.frob.com>
10449 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
10450 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
10451 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
10452 (CALL_FAIL): Likewise.
10453 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
10454 (CALL_FAIL): Macro removed.
10455 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
10457 2011-09-15 Ulrich Drepper <drepper@gmail.com>
10459 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
10460 for __FINITE_MATH_ONLY__ == 1.
10462 2011-09-15 Andreas Schwab <schwab@redhat.com>
10464 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
10465 __ieee754_sqrt instead of sqrt.
10466 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
10467 __ieee754_sqrtf instead of sqrtf.
10468 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
10469 __floorf instead of floorf.
10470 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
10471 __floorf, __truncf instead of floorf, truncf.
10473 2011-09-14 Ulrich Drepper <drepper@gmail.com>
10475 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
10477 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
10478 __extern_always_inline.
10479 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
10482 2011-09-14 Andreas Schwab <schwab@redhat.com>
10484 * elf/rtld.c (dl_main): Also relocate in dependency order when
10485 doing symbol dependency testing.
10487 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
10489 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10490 Always define `refsym'.
10492 2011-09-13 Andreas Schwab <schwab@redhat.com>
10494 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
10495 (__FD_ELT): Renamed from __FDELT.
10496 * misc/bits/select2.h (__FD_ELT): Likewise.
10497 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
10498 __FD_MASK instead of __FDELT, __FDMASK.
10499 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
10501 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
10504 * elf/Makefile (gen-ldd): Fix pattern.
10506 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
10507 (init_tls): Likewise.
10509 2011-09-12 Ulrich Drepper <drepper@gmail.com>
10511 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
10513 2011-09-12 Andreas Schwab <schwab@redhat.com>
10515 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
10516 `struct cmsghdr *' instead of `void *'.
10517 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
10520 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
10522 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
10524 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
10525 ldd_rewrite_script.
10527 2011-09-11 Ulrich Drepper <drepper@gmail.com>
10529 * configure.in: Remove --with-tls option.
10530 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
10531 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
10532 out in case it is missing.
10533 * sysdeps/ia64/elf/configure.in: Likewise.
10534 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
10535 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
10536 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
10537 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
10538 * sysdeps/sh/elf/configure.in: Likewise.
10539 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
10540 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
10541 * sysdeps/x86_64/elf/configure.in: Likewise.
10542 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
10543 * sysdeps/mach/hurd/tls.h: Likewise.
10546 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
10549 * configure.in: Fix use of AC_INIT.
10551 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
10553 2011-09-10 Ulrich Drepper <drepper@gmail.com>
10555 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
10557 * malloc/hooks.c: Likewise.
10560 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
10561 variables statically.
10562 (narenas): Initialize.
10563 (list_lock): Initialize.
10564 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
10565 initializtion of main_arena and list_lock. Small cleanups.
10566 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
10567 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
10568 Add initializers to main_arena and mp_.
10569 (malloc_state): Remove pagesize member. Change all users to use
10572 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
10573 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
10574 is always initialized.
10576 * malloc/malloc.c: Removed unused configurations and dead code.
10577 * malloc/arena.c: Likewise.
10578 * malloc/hooks.c: Likewise.
10579 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
10581 * include/tls.h: Removed. USE___THREAD must always be defined.
10582 * bits/libc-tsd.h: Don't handle !USE___THREAD.
10583 * elf/dl-libc.c: Likewise.
10584 * elf/dl-tsd.c: Likewise.
10585 * include/errno.h: Likewise.
10586 * include/netdb.h: Likewise.
10587 * include/resolv.h: Likewise.
10588 * inet/herrno-loc.c: Likewise.
10589 * inet/herrno.c: Likewise.
10590 * malloc/arena.c: Likewise.
10591 * malloc/hooks.c: Likewise.
10592 * malloc/malloc.c: Likewise.
10593 * resolv/res-state.c: Likewise.
10594 * resolv/res_libc.c: Likewise.
10595 * sysdeps/i386/dl-machine.h: Likewise.
10596 * sysdeps/ia64/dl-machine.h: Likewise.
10597 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
10598 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10599 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
10600 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10601 * sysdeps/sh/dl-machine.h: Likewise.
10602 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10603 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10604 * sysdeps/unix/i386/sysdep.S: Likewise.
10605 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10606 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
10607 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
10608 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10609 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
10610 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10611 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10612 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10613 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10614 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10615 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10616 * sysdeps/x86_64/dl-machine.h: Likewise.
10617 * tls.make.c: Likewise.
10619 * configure.in: Remove --with-__thread option. Make tests for
10620 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
10621 tls_model attribute fail if no support is available. Remove
10623 * Makeconfig: Adjust for dropped configure option. All features are
10625 * Makerules: Likewise.
10626 * Versions.def: Likewise.
10627 * argp/argp-fmtstream.c: Likewise.
10628 * argp/argp-fmtstream.h: Likewise.
10629 * argp/argp-help.c: Likewise.
10630 * assert/assert.c: Likewise.
10631 * config.h.in: Likewise.
10632 * config.make.in: Likewise.
10633 * configure: Likewise.
10634 * configure.in: Likewise.
10635 * csu/Versions: Likewise.
10636 * csu/init.c: Likewise.
10637 * elf/tst-audit2.c: Likewise.
10638 * elf/tst-tls10.c: Likewise.
10639 * elf/tst-tls10.h: Likewise.
10640 * elf/tst-tls11.c: Likewise.
10641 * elf/tst-tls12.c: Likewise.
10642 * elf/tst-tls14.c: Likewise.
10643 * elf/tst-tlsmod11.c: Likewise.
10644 * elf/tst-tlsmod12.c: Likewise.
10645 * elf/tst-tlsmod13.c: Likewise.
10646 * elf/tst-tlsmod13a.c: Likewise.
10647 * elf/tst-tlsmod14a.c: Likewise.
10648 * elf/tst-tlsmod15b.c: Likewise.
10649 * elf/tst-tlsmod16a.c: Likewise.
10650 * elf/tst-tlsmod16b.c: Likewise.
10651 * elf/tst-tlsmod7.c: Likewise.
10652 * elf/tst-tlsmod8.c: Likewise.
10653 * elf/tst-tlsmod9.c: Likewise.
10654 * gmon/gmon.c: Likewise.
10655 * grp/fgetgrent_r.c: Likewise.
10656 * grp/putgrent.c: Likewise.
10657 * hurd/fopenport.c: Likewise.
10658 * include/libc-symbols.h: Likewise.
10659 * include/tls.h: Likewise.
10660 * intl/gettextP.h: Likewise.
10661 * intl/loadinfo.h: Likewise.
10662 * locale/global-locale.c: Likewise.
10663 * locale/localeinfo.h: Likewise.
10664 * mach/devstream.c: Likewise.
10665 * malloc/arena.c: Likewise.
10666 * malloc/set-freeres.c: Likewise.
10667 * misc/err.c: Likewise.
10668 * misc/getttyent.c: Likewise.
10669 * misc/mntent_r.c: Likewise.
10670 * posix/getopt.c: Likewise.
10671 * posix/wordexp.c: Likewise.
10672 * pwd/fgetpwent_r.c: Likewise.
10673 * resolv/Versions: Likewise.
10674 * resolv/res_hconf.c: Likewise.
10675 * shadow/fgetspent_r.c: Likewise.
10676 * shadow/putspent.c: Likewise.
10677 * stdio-common/printf_fphex.c: Likewise.
10678 * stdio-common/tmpfile.c: Likewise.
10679 * stdlib/abort.c: Likewise.
10680 * stdlib/fmtmsg.c: Likewise.
10681 * sunrpc/auth_unix.c: Likewise.
10682 * sunrpc/clnt_perr.c: Likewise.
10683 * sunrpc/clnt_tcp.c: Likewise.
10684 * sunrpc/clnt_udp.c: Likewise.
10685 * sunrpc/clnt_unix.c: Likewise.
10686 * sunrpc/openchild.c: Likewise.
10687 * sunrpc/svc_simple.c: Likewise.
10688 * sunrpc/svc_tcp.c: Likewise.
10689 * sunrpc/svc_udp.c: Likewise.
10690 * sunrpc/svc_unix.c: Likewise.
10691 * sunrpc/xdr.c: Likewise.
10692 * sunrpc/xdr_array.c: Likewise.
10693 * sunrpc/xdr_rec.c: Likewise.
10694 * sunrpc/xdr_ref.c: Likewise.
10695 * sunrpc/xdr_stdio.c: Likewise.
10697 2011-09-09 Ulrich Drepper <drepper@gmail.com>
10699 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10701 2011-07-03 Andreas Jaeger <aj@suse.de>
10703 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
10704 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
10705 regenerate with gen-libm-tests.pl.
10707 2010-05-12 Petr Baudis <pasky@suse.cz>
10710 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
10711 around j0() zero points by switching to j1().
10712 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10713 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10714 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10715 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10717 2011-09-09 Ulrich Drepper <drepper@gmail.com>
10719 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
10721 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
10723 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10724 Patch in part by Pavel Roskin <proski@gnu.org>.
10727 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
10729 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
10730 Free memory block if necessary.
10733 * libio/genops.c (INTDEF): For string streams the _lock pointer can
10734 be NULL. Don't lock in this case.
10736 2011-09-09 Roland McGrath <roland@hack.frob.com>
10738 * elf/elf.h (ELFOSABI_GNU): New macro.
10739 (ELFOSABI_LINUX): Define to that.
10741 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
10743 * string/strncat.c (strncat): Undef the symbol in case it has been
10744 defined in bits/string.h.
10746 2011-09-09 Ulrich Drepper <drepper@gmail.com>
10748 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
10750 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
10753 2011-08-17 Andreas Jaeger <aj@suse.de>
10755 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
10757 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
10758 Ian Lance Taylor <iant@google.com>
10760 * math/libm-test.inc (lround_test): New testcase.
10761 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
10763 2011-09-08 Ulrich Drepper <drepper@gmail.com>
10765 * Makefile: Remove support for automatic cvs check-ins.
10766 * Makerules: Likewise.
10767 * config.make.in: Likewise.
10768 * configure.in: Likewise.
10769 * intl/Makefile: Likewise.
10770 * locale/Makefile: Likewise.
10771 * po/Makefile: Likewise.
10772 * posix/Makefile: Likewise.
10773 * sysdeps/gnu/Makefile: Likewise.
10774 * sysdeps/mach/hurd/Makefile: Likewise.
10775 * sysdeps/sparc/sparc32/Makefile: Likewise.
10778 * posix/Makefile (bug-regex32-ENV): Define.
10779 Patch by John Stanley <jpsinthemix@verizon.net>.
10781 * misc/Makefile (headers): Add bits/select2.h.
10782 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
10783 * misc/bits/select2.h: New file.
10784 * include/bits/select2.h: New file.
10785 * debug/Makefile (routines): Add fdelt_chk.
10786 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
10787 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
10789 * debug/fdelt_chk.c: New file.
10791 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
10792 * wcsmbs/test-wmemcmp.c: Likewise.
10793 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
10794 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
10796 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10798 * string/Makefile (strop-tests): Add memcmp.
10799 * string/test-wmemcmp.c: New file.
10800 * string/test-memcmp.c: Add wmemcmp support.
10802 2011-09-08 Roland McGrath <roland@hack.frob.com>
10805 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
10808 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
10809 garbage value in a __mach_port_mod_refs call in the cases of the
10810 task-self and thread-self ports.
10812 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
10814 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
10816 2011-09-08 Andreas Schwab <schwab@redhat.com>
10818 * elf/dl-load.c (lose): Check for non-null L.
10820 2011-09-07 Ulrich Drepper <drepper@gmail.com>
10822 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
10824 * elf/dl-libc.c (dlerror_run): Pass back error code from
10828 * elf/dl-load.c (lose): Free l_origin if it is valid.
10830 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
10832 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
10833 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10834 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10835 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10836 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
10837 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
10839 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10841 * sysdeps/powerpc/fpu/e_hypot.c: New file.
10842 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
10843 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
10844 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
10845 * sysdeps/powerpc/fpu/k_cosf.c: New file.
10846 * sysdeps/powerpc/fpu/k_sinf.c: New file.
10847 * sysdeps/powerpc/fpu/s_cosf.c: New file.
10848 * sysdeps/powerpc/fpu/s_sinf.c: New file.
10849 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
10850 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
10852 2011-08-15 Alan Modra <amodra@gmail.com>
10855 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
10856 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
10857 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
10858 ppc_mcount to static-only-routines.
10859 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
10861 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
10862 __mcount_internal with usual JUMPTARGET. Remove useless nop.
10864 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
10866 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
10867 for finite and infinity parameters.
10869 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
10871 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
10872 and add nop instructions for throughput optimization.
10873 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10875 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
10877 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
10878 aligned copy for power7 with vector-scalar instructions.
10879 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
10881 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
10883 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
10886 2011-09-07 Andreas Schwab <schwab@redhat.com>
10889 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
10892 2011-09-07 Ulrich Drepper <drepper@gmail.com>
10894 * sysdeps/unix/sysv/linux/x86_64/init-first.c
10895 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
10896 syscall wrapper around clock_gettime in __vdso_clock_gettime.
10897 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
10900 2011-09-06 Ulrich Drepper <drepper@gmail.com>
10902 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
10903 Forgot to demangle the pointer.
10905 * sysdeps/i386/sysdep.h: Define atom_text_section.
10906 * sysdeps/x86_64/sysdep.h: Likewise.
10907 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
10908 section with atom_text_section.
10909 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10910 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10911 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
10912 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10913 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
10915 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
10916 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
10917 already be defined. Change to take two parameters and don't assign
10918 result to variable. Adjust all users.
10919 Define INTERNAL_GETTIME if not already defined.
10920 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
10922 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
10923 HAVE_CLOCK_GETTIME_VSYSCALL.
10924 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
10926 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
10927 gettimeofday vsyscall, just use time.
10929 2011-09-06 Andreas Schwab <schwab@redhat.com>
10931 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
10934 2011-09-06 Ulrich Drepper <drepper@gmail.com>
10936 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
10938 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
10940 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
10941 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
10942 syscall if possible.
10944 2011-09-05 Ulrich Drepper <drepper@gmail.com>
10946 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
10947 e_ident. Don't pass to find_mapsXX.
10948 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
10950 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10952 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10953 strchr-sse2-no-bsf strrchr-sse2-no-bsf
10954 * sysdeps/x86_64/multiarch/strchr.S: Update.
10955 Check bit_slow_BSF bit.
10956 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10957 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
10958 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
10960 2011-09-05 Ulrich Drepper <drepper@gmail.com>
10963 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
10965 (tryshell): Define.
10966 (__spawni): Change last parameter to be flag. Test
10967 SPAWN_XFLAGS_USE_PATH flag to use path or not.
10968 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
10969 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
10970 * posix/spawni.c: Likewise.
10971 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
10972 * posix/spawnp.c: Likewise. Change normal version to use
10973 SPAWN_XFLAGS_USE_PATH.
10974 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
10975 SPAWN_XFLAGS_TRY_SHELL.
10978 * posix/glob.h: Remove gcc 1.x support.
10981 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
10983 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10985 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10986 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
10988 * sysdeps/i386/i686/multiarch/strchr.S: New file.
10989 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
10990 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
10991 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
10992 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
10993 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
10995 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10997 * sysdeps/x86_64/wcscmp.S: New file.
10999 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
11000 wcscmp-c wcscmp-sse2
11001 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
11002 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
11003 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
11004 * wcsmbs/wcscmp.c: Allow renaming.
11006 2011-09-05 David S. Miller <davem@davemloft.net>
11008 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
11009 stack slot, rather than the struct return pointer slot.
11010 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
11011 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
11012 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
11013 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
11015 2011-09-05 Ulrich Drepper <drepper@gmail.com>
11017 * po/ja.po: Update from translation team.
11020 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
11021 kernel in 64-bit binaries.
11023 2011-09-01 David S. Miller <davem@davemloft.net>
11025 * elf/elf.h (HWCAP_SPARC_*): Move to..
11026 * sysdeps/sparc/sysdep.h: this new file and add new values.
11027 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
11028 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
11029 _DL_HWCAP_COUNT to 24.
11030 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
11032 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
11033 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
11034 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
11035 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
11036 instead of magic constants.
11037 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11039 2011-08-31 David S. Miller <davem@davemloft.net>
11041 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
11042 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
11043 Reimplement to do errno handling inline.
11044 (SYSCALL_ERROR_HANDLER): New macro.
11045 (__SYSCALL_STRING): Do not do errno handling in asm.
11046 (__CLONE_SYSCALL_STRING): Delete.
11047 (__INTERNAL_SYSCALL_STRING): Delete.
11048 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
11049 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
11050 (PSEUDO): Reimplement to do errno handling inline.
11051 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
11052 (SYSCALL_ERROR_HANDLER): New macro.
11053 (__SYSCALL_STRING): Do not do errno handling in asm.
11054 (__CLONE_SYSCALL_STRING): Delete.
11055 (__INTERNAL_SYSCALL_STRING): Delete.
11056 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
11057 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
11059 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
11060 (inline_syscall*): Add 'err' argument.
11061 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
11062 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
11063 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
11064 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
11066 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
11067 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
11069 2011-08-30 Andreas Schwab <schwab@redhat.com>
11071 * elf/rtld.c (dl_main): Relocate objects in dependency order.
11073 2011-08-29 Jiri Olsa <jolsa@redhat.com>
11075 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
11078 2011-08-24 David S. Miller <davem@davemloft.net>
11080 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
11082 2011-08-24 Andreas Schwab <schwab@redhat.com>
11084 * elf/Makefile: Add rules to build and run unload8 test.
11085 * elf/unload8.c: New file.
11086 * elf/unload8mod1.c: New file.
11087 * elf/unload8mod1x.c: New file.
11088 * elf/unload8mod2.c: New file.
11089 * elf/unload8mod3.c: New file.
11091 * elf/dl-close.c (_dl_close_worker): Reset private search list if
11094 2011-08-23 David S. Miller <davem@davemloft.net>
11096 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
11097 subtract stack bias.
11098 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
11099 %sp not %fp in calculations.
11100 (_JMPBUF_UNWINDS_ADJ): Likewise.
11102 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
11103 (aio_suspend): Call it to force an exception region around the
11104 AIO_MISC_WAIT() invocation.
11106 2011-08-23 Andreas Schwab <schwab@redhat.com>
11108 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
11111 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
11113 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
11115 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
11116 and <dl-machine.h>.
11117 (Elf64_FuncDesc): Remove.
11119 2011-08-22 David S. Miller <davem@davemloft.net>
11121 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
11122 sigaltstack check, add missing cfi directives.
11123 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
11124 missing cfi directives, and sigaltstack handling.
11126 2011-08-16 Andreas Schwab <schwab@redhat.com>
11129 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
11130 object is seen twice.
11131 * elf/dl-fini.c (_dl_sort_fini): Likewise.
11133 * elf/Makefile (distribute): Add tst-initorder2.c.
11134 (tests): Add tst-initorder2.
11135 (modules-names): Add tst-initorder2a tst-initorder2b
11136 tst-initorder2c tst-initorder2d. Add rules to build them.
11137 ($(objpfx)tst-initorder2.out): New rule.
11138 * elf/tst-initorder2.c: New file.
11139 * elf/tst-initorder2.exp: New file.
11141 2011-08-22 Andreas Schwab <schwab@redhat.com>
11143 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
11145 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
11146 dependencies back to end of function.
11148 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
11149 $(elfobjdir)/ld.so.
11151 2011-08-21 Ulrich Drepper <drepper@gmail.com>
11153 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
11154 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
11155 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
11156 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
11157 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
11158 of __vdso_gettimeofday.
11159 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
11160 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
11162 (_libc_vdso_platform_setup): Remove initialization of
11163 __vdso_gettimeofday and __vdso_time.
11165 2011-08-20 Ulrich Drepper <drepper@gmail.com>
11167 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
11168 and fgetc_unlocked.
11169 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
11172 * elf/dl-open.c (add_to_global): Report additions to the global scope
11173 for LD_DEBUG=scopes.
11174 (dl_open_worker): Also print scope of newly loaded dependencies.
11175 (_dl_show_scope): Indicate if there is no scope.
11178 * stdio-common/Makefile (tests): Add bug24.
11179 * stdio-common/bug24.c: New file.
11181 2011-08-19 Andreas Jaeger <aj@suse.de>
11184 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
11185 non-existant file when using close-on-exec mode.
11187 2011-08-20 Ulrich Drepper <drepper@gmail.com>
11189 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
11190 the very first instruction.
11192 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
11193 the CFI state in the end.
11194 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
11195 inclusion of dl-trampoline.h.
11196 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
11198 2011-08-19 Andreas Schwab <schwab@redhat.com>
11200 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
11201 expectations for long double.
11203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
11204 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
11206 2011-08-14 David S. Miller <davem@davemloft.net>
11208 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
11209 artificual limit depends upon the system page size.
11211 2011-08-17 Ulrich Drepper <drepper@gmail.com>
11213 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
11214 * resolv/Makefile: Define CFLAGS-libresolv.
11216 2011-08-17 Andreas Schwab <schwab@redhat.com>
11218 * nss/makedb.c (compute_tables): Make variables used in nested
11221 2011-08-17 Ulrich Drepper <drepper@gmail.com>
11223 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
11224 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
11225 if buffer was too small.
11227 * elf/pldd.c (main): Attach to all threads in the process.
11228 Rewrite /proc handling to use *at functions.
11230 2011-08-16 Ulrich Drepper <drepper@gmail.com>
11232 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
11233 specifies first scope to show.
11234 (dl_open_worker): Update callers. Move printing scope of new
11235 object to before the relocation.
11236 * elf/rtld.c (dl_main): Update _dl_show_scope call.
11237 * sysdeps/generic/ldsodefs.h: Update declaration.
11239 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
11240 string for the scope number.
11242 2011-08-14 Ulrich Drepper <drepper@gmail.com>
11244 * nscd/servicescache.c (cache_addserv): Make sure written is always
11247 2011-08-14 Roland McGrath <roland@hack.frob.com>
11249 * sysdeps/i386/i486/bits/atomic.h
11250 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
11251 statement expression, so as to suppress "set but not used" warning.
11252 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
11254 * string/strncat.c (STRNCAT): Use prototype definition.
11256 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
11257 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
11259 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
11260 (localedef-modules): Add localedef.
11261 (locale-modules): Add locale.
11263 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
11264 * elf/rtld.c (dl_main): Invert order of assignment in last change,
11265 to avoid a warning.
11267 2011-08-14 David S. Miller <davem@davemloft.net>
11269 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
11270 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
11272 2011-08-13 Ulrich Drepper <drepper@gmail.com>
11274 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
11275 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
11276 * elf/rtld.c (dl_main): Set l_name of vDSO.
11277 Call _dl_show_scope when DL_DEBUG_SCOPES.
11278 (process_dl_debug): Recognize scopes flag and also set it for all.
11279 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
11280 Declare _dl_show_scope.
11282 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
11283 (do_dlopen): Pass caller_dlopen to dl_open.
11284 (__libc_dlopen_mode): Initialize caller_dlopen.
11286 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
11287 of libc. Make tolower call locale-independent. Optimize a bit by
11288 using isdigit instead of isalnum.
11289 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
11291 2011-08-12 Ulrich Drepper <drepper@gmail.com>
11293 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
11294 was a dependency or dynamically loaded.
11296 2011-08-11 Ulrich Drepper <drepper@gmail.com>
11298 * intl/l10nflist.c: Allow architecture-specific pop function.
11299 * sysdeps/x86_64/l10nflist.c: New file.
11301 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
11304 2011-08-10 Andreas Schwab <schwab@redhat.com>
11306 * include/dirent.h: Add libc_hidden_proto for scandirat and
11307 scandirat64. Don't declare __scandirat64.
11308 * dirent/scandirat.c: Add libc_hidden_def.
11309 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
11310 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
11312 2011-08-10 David S. Miller <davem@davemloft.net>
11314 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
11316 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11317 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11318 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11320 2011-08-09 Ulrich Drepper <drepper@gmail.com>
11322 * Versions.def [libc]: Add GLIBC_2.15.
11323 * dirent/Makefile (routines): Add scandirat and scandirat64.
11324 * dirent/Versions [libc]: Export scandirat and scandirat64 for
11326 * dirent/dirent.h: Declare scandirat and scandirat64.
11327 * dirent/scandirat.c: New file.
11328 * dirent/scandirat64.c: New file.
11329 * sysdeps/wordsize-64/scandirat.c: New file.
11330 * sysdeps/wordsize-64/scandirat64.c: New file.
11331 * dirent/opendir.c: Define opendirat.
11332 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
11334 * dirent/scandir64.c: Adjust for scandir.c change.
11335 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
11336 __scandirat64, and __scandir_cancel_handler.
11337 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
11338 additional parameter and use openat instead of open (outside of ld.so).
11339 Add new __opendir as wrapper around __opendirat.
11340 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
11341 here without requiring old scandirat implementation.
11343 2011-08-08 Ulrich Drepper <drepper@gmail.com>
11345 * dirent/scandir.c (cancel_handler): Renamed to
11346 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
11347 defined. Adjust users.
11348 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
11349 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
11351 2011-08-04 Ulrich Drepper <drepper@gmail.com>
11353 * string/test-string.h (IMPL): Use __STRING to expand name and then
11356 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
11359 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11361 * string/Makefile: Update.
11362 (strop-tests): Append strncat.
11363 * string/test-wcscmp.c: New file.
11364 New comprehensive test for wcscmp.
11365 * string/test-strcmp.c: Update.
11366 (WIDE): New define.
11368 2011-07-22 Andreas Schwab <schwab@redhat.com>
11370 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
11373 2011-07-26 Andreas Schwab <schwab@redhat.com>
11375 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
11376 encoding to ACE if AI_IDN.
11378 2011-08-01 Jakub Jelinek <jakub@redhat.com>
11380 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
11381 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
11383 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11385 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
11386 Fix overflow bug in strncat.
11387 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
11389 * string/test-strncat.c: Update.
11390 Add new tests for checking overflow bugs.
11392 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11394 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11395 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
11396 * sysdeps/i386/i686/multiarch/strcat.S: New file.
11397 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
11398 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
11399 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
11400 * sysdeps/i386/i686/multiarch/strncat.S: New file.
11401 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
11402 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
11404 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
11405 (USE_AS_STRCAT): Define.
11406 Add strcat and strncat support.
11407 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
11409 2011-07-25 Andreas Schwab <schwab@redhat.com>
11411 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
11412 __n bigger than INT_MAX+1.
11413 (__strncmp_g): Likewise.
11415 2011-07-23 Ulrich Drepper <drepper@gmail.com>
11417 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
11418 * libio/stido.h: Likewise.
11420 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
11422 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
11425 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
11426 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11427 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11428 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
11429 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11432 * scripts/test-installation.pl: Don't expect libnss_test1 to be
11435 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
11437 (_dl_x86_64_save_sse): Likewise.
11439 2011-07-22 Ulrich Drepper <drepper@gmail.com>
11441 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
11443 (_dl_x86_64_save_sse): Likewise.
11445 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
11447 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
11449 2011-07-21 Andreas Schwab <schwab@redhat.com>
11451 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
11453 (_dl_x86_64_save_sse): Use correct AVX check.
11455 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11457 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
11458 bug in strncpy/strncat.
11459 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
11461 2011-07-21 Ulrich Drepper <drepper@gmail.com>
11463 * string/tester.c (test_strcat): Add tests for different alignments
11464 of source and destination.
11465 (test_strncat): Likewise.
11467 2011-07-20 Ulrich Drepper <drepper@gmail.com>
11470 * posix/glob.c (glob): Check passed in values before using them in
11471 expressions to avoid some overflows.
11472 (glob_in_dir): Likewise.
11475 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
11476 check for AVX enablement so that we don't crash with old kernels and
11478 * elf/tst-audit4.c: Add same checks here.
11479 * elf/tst-audit6.c: Likewise.
11481 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
11483 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
11485 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
11487 2011-07-20 Ulrich Drepper <drepper@gmail.com>
11489 * po/cs.po: Update from translation team.
11490 * po/bg.po: Likewise.
11492 2011-07-12 Marek Polacek <mpolacek@redhat.com>
11494 * misc/sys/cdefs.h: Add support for const attribute.
11495 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
11496 to gnu_dev_{major,minor,makedev} functions.
11498 2011-07-20 Marek Polacek <mpolacek@redhat.com>
11500 * intl/dcigettext.c (get_output_charset): Add missing bracket.
11502 2011-07-20 Andreas Schwab <schwab@redhat.com>
11504 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
11507 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11509 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
11510 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
11511 register in order to avoid conflicts with the soft frame pointer
11512 being held in r11 when necessary.
11513 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
11514 (INTERNAL_VSYSCALL_NCS): Likewise.
11516 2011-07-14 Marek Polacek <mpolacek@redhat.com>
11518 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
11519 * elf/dl-fini.c (_dl_fini): Adjust caller.
11520 * elf/dl-close.c (_dl_close_worker): Likewise.
11521 * sysdeps/generic/ldsodefs.h: Adjust declaration.
11523 2011-07-15 Marek Polacek <mpolacek@redhat.com>
11525 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
11526 "aux_cache->nlibs < 0".
11528 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
11529 in the reload-count case.
11531 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11533 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11534 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
11535 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
11536 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
11537 * sysdeps/x86_64/multiarch/strcat.S: New file.
11538 * sysdeps/x86_64/multiarch/strncat.S: New file.
11539 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
11540 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
11541 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
11542 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
11543 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
11544 (USE_AS_STRCAT): Define.
11545 Add strcat and strncat support.
11546 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
11547 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11548 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
11549 * string/strncat.c: Update.
11550 (USE_AS_STRNCAT): Define.
11551 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11552 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
11554 * sysdeps/x86_64/multiarch/init-arch.h
11555 (bit_Prefer_PMINUB_for_stringop): New.
11556 (index_Prefer_PMINUB_for_stringop): Likewise.
11557 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
11558 bit_Prefer_PMINUB_for_stringop.
11560 2011-07-19 Ulrich Drepper <drepper@gmail.com>
11562 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
11564 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
11565 of casting of buffer.
11566 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
11567 buffer32 and buffer64.
11568 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
11569 writes instead of casting of buffer.
11570 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
11572 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
11575 2011-07-19 Andreas Schwab <schwab@redhat.com>
11577 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
11579 2011-07-19 Ulrich Drepper <drepper@gmail.com>
11581 * nscd/nscd.c (termination_handler): Don't do anything for a database
11582 if it has not yet been initialized.
11584 2011-07-18 Ulrich Drepper <drepper@gmail.com>
11586 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
11588 2011-07-15 Marek Polacek <mpolacek@redhat.com>
11590 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
11592 2011-07-18 Ulrich Drepper <drepper@gmail.com>
11594 * po/nl.po: Update from translation team.
11595 * po/sv.po: Likewise.
11597 2011-07-16 Roland McGrath <roland@hack.frob.com>
11599 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
11600 now disallowed by GCC.
11602 * configure.in (use-default-link): Default to yes if a test -shared
11603 link meets our qualifications.
11604 * configure: Regenerated.
11606 * config.make.in (output-format): New variable.
11607 * configure.in: Check for ld --print-output-format support.
11608 * configure: Regenerated.
11609 * Makerules ($(common-objpfx)format.lds)
11610 [$(output-format) != unknown]: Just use $(output-format),
11611 instead of the linker-script munging.
11613 2011-07-14 Roland McGrath <roland@hack.frob.com>
11615 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
11616 of $(common-objpfx)shlib.lds.
11617 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
11619 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
11620 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
11622 * configure.in (-z relro check): Adjust test code to add a large
11623 writable data section after it.
11624 * configure: Regenerated.
11626 2011-07-11 Roland McGrath <roland@hack.frob.com>
11628 * configure.in (-z relro check): Fix test code to make the variable
11630 * configure: Regenerated.
11632 2011-07-11 Ulrich Drepper <drepper@gmail.com>
11634 * nscd/nscd.h (struct traced_file): Define.
11635 (struct database_dyn): Remove inotify_descr, reset_res, and filename
11636 elements. Add traced_files.
11637 (inotify_fd): Declare.
11638 (register_traced_file): Declare.
11639 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
11640 (inotify_fd): Export.
11641 (resolv_conf_descr): Remove.
11642 (nscd_init): Move inotify descriptor creation to main.
11643 Don't register files for notification here.
11644 (register_traced_file): New function.
11645 (invalidate_cache): Don't use reset_res to determine whether to call
11646 res_init, go through the list of registered files.
11647 (main_loop_poll): The inotify descriptors are now stored in the
11648 structures for the traced files.
11649 (main_loop_epoll): Likewise
11650 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
11651 to __nss_disable_nscd.
11652 * nscd/cache.c (prune_cache): There is no single inotify descriptor
11653 for a database anymore. Check the records for all the registered
11655 * nss/Makefile (libnss_files-routines): Add files-init.
11656 (libnss_db-routines): Add db-init.
11657 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
11658 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
11659 * nss/nss_db/db-init.c: New file.
11660 * nss/nss_files/files-init.c: New file.
11661 * nss/nsswitch.c (nss_load_library): New function. Broken out of
11662 __nss_lookup_function.
11663 (__nss_lookup_function): Call nss_load_library.
11664 (nss_load_all_libraries): New function.
11665 (__nss_disable_nscd): Take parameter with callback function for files
11666 to register. Set is_nscd. Load all the DSOs for the NSS modules
11667 used for the cached services.
11668 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
11669 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
11670 options for features to all the files in nscd.
11672 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
11674 2011-07-10 Roland McGrath <roland@hack.frob.com>
11676 * csu/elf-init.c (__libc_csu_init): Comment typo.
11678 2011-07-09 Ulrich Drepper <drepper@gmail.com>
11680 * po/pl.po: Update from translation team.
11681 * po/ja.po: Likewise.
11682 * po/ru.po: Likewise.
11683 * po/ko.po: Likewise.
11684 * po/fr.po: Likewise.
11686 2011-07-09 Roland McGrath <roland@hack.frob.com>
11688 * configure.in (.ctors/.dtors header and trailer check):
11689 Use an empirical test on a built program.
11690 * configure: Regenerated.
11692 * configure.in (-z relro check): Use an empirical test on a built DSO.
11693 Detect, but do not require, on ia64.
11694 * configure: Regenerated.
11696 * configure.in (READELF): Find it with AC_CHECK_TOOL.
11697 Update tests that use readelf to use $READELF instead.
11698 * configure: Regenerated.
11700 2011-07-08 Ulrich Drepper <drepper@gmail.com>
11702 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
11703 if the result is not used.
11705 2011-07-05 Andreas Jaeger <aj@suse.de>
11708 * stdlib/tst-strtod.c: Add testcase.
11710 2011-07-07 Ulrich Drepper <drepper@gmail.com>
11712 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
11713 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
11714 The latter has a higher limit. Take additional parameter to pass to
11716 (__pathconf): Pass file to __statfs_link_max.
11717 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
11719 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
11723 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
11724 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11726 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
11727 (__statfs_filesize_max): Likewise.
11728 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
11730 2011-07-05 Andreas Jaeger <aj@suse.de>
11732 * resolv/res_comp.c (dn_skipname): Remove unused variable.
11734 2011-07-06 Marek Polacek <mpolacek@redhat.com>
11736 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
11738 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
11741 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
11743 * Makefile (strop-tests): Add strncat.
11744 * string/test-strncat.c: New file.
11746 2011-06-30 Marek Polacek <mpolacek@redhat.com>
11748 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
11750 2011-06-21 Andreas Jaeger <aj@suse.de>
11752 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
11753 Copy rule from iconvdata/Makefile.
11755 2011-07-06 Ulrich Drepper <drepper@gmail.com>
11758 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
11759 but no long options are defined, just return 'W'.
11761 2011-06-22 Marek Polacek <mpolacek@redhat.com>
11764 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
11766 2011-07-06 Ulrich Drepper <drepper@gmail.com>
11768 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
11770 (innetgr): Likewise.
11772 2011-07-05 Roland McGrath <roland@hack.frob.com>
11774 * config.make.in (install_root): Default to $(DESTDIR).
11776 2011-07-05 Ulrich Drepper <drepper@gmail.com>
11778 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
11780 2011-07-02 Roland McGrath <roland@hack.frob.com>
11782 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
11784 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
11785 containing directory rather than embedding absolute directory names.
11787 * scripts/check-local-headers.sh: Rewritten using awk.
11788 Match by word, not by line. Print error messages for matches.
11789 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
11791 * Makerules [shlib-lds-flags empty]:
11792 ($(common-objpfx)libc_pic.opts): New target.
11793 ($(common-objpfx)libc_pic.os.clean): New target.
11794 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
11796 * config.make.in (OBJCOPY): New variable.
11797 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
11798 * configure: Regenerated.
11800 * config.make.in (use-default-link): New variable.
11801 * configure.in (use_default_link): Grok --with-default-link to set it.
11802 * configure: Regenerated.
11803 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
11804 (shlib-lds, shlib-lds-flags): Define to empty.
11806 * Makerules (shlib-lds): New variable.
11807 (shlib-lds-flags): New variable.
11808 (build-shlib, build-moduile, build-module-asneeded): Use it.
11809 ($(common-objpfx)libc.so): Use $(shlib-lds).
11810 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
11811 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
11813 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
11814 DT_FLAGS/DT_FLAGS_1 with zero flags.
11816 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
11817 linker script munging.
11819 2011-07-02 Ulrich Drepper <drepper@gmail.com>
11821 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
11823 * crypt/sha512.c (sha512_process_block): Perform total addition using
11824 128-bit if possible.
11825 (__sha512_finish_ctx): Likewise.
11826 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
11828 * crypt/sha256.c (SWAP64): Define.
11829 (sha256_process_block): Perform total addition using 64-bit if
11831 (__sha256_finish_ctx): Likewise.
11833 2011-07-01 Ulrich Drepper <drepper@gmail.com>
11835 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
11836 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11837 * nscd/hstcache.c (cache_addhst): Likewise.
11838 * nscd/grpcache.c (cache_addgr): Likewise.
11839 * nscd/aicache.c (addhstaiX): Likewise
11840 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
11842 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
11844 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
11845 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11846 * nscd/hstcache.c (cache_addhst): Likewise.
11847 * nscd/grpcache.c (cache_addgr): Likewise.
11848 * nscd/aicache.c (addhstaiX): Likewise
11850 2011-07-01 Andreas Schwab <schwab@redhat.com>
11852 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
11853 domain only when needed.
11855 2011-06-30 Andreas Schwab <schwab@redhat.com>
11857 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
11858 is always restored.
11860 2011-06-29 Ulrich Drepper <drepper@gmail.com>
11862 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
11863 are re-adding the entry.
11864 * nscd/servicescache.c (cache_addserv): Likewise.
11866 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
11868 * sysdeps/generic/dl-irel.h: fix protection against multiple
11870 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
11872 2011-06-28 Ulrich Drepper <drepper@gmail.com>
11875 * malloc/memusage.sh: Fix quoting in message.
11876 * debug/xtrace.sh: Likewise.
11878 * configure.in: Remove support for --experimental-malloc option, make
11880 * config.make.in: Likewise.
11881 * malloc/Makefile: Likewise.
11883 2011-06-27 Andreas Schwab <schwab@redhat.com>
11885 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
11886 two-byte characters.
11888 2011-06-27 Roland McGrath <roland@hack.frob.com>
11890 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
11891 AC_CACHE_CHECK invocation.
11892 * configure: Regenerated.
11894 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
11896 2011-06-27 Ulrich Drepper <drepper@gmail.com>
11899 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
11900 bit from old_res_options.
11902 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
11904 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
11905 value type for setfct.
11907 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
11909 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11910 __gettimeofday instead of gettimeofday.
11912 2011-06-26 Ulrich Drepper <drepper@gmail.com>
11914 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
11916 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
11918 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
11920 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
11923 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
11925 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11926 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11927 strcpy-sse2-unaligned strncpy-sse2-unaligned
11928 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
11929 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
11930 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
11931 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
11932 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
11933 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
11934 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
11935 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
11936 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
11937 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
11938 (STRCPY): Support SSE2 and SSSE3 versions.
11940 2011-06-24 Ulrich Drepper <drepper@gmail.com>
11943 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
11944 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
11945 kernels which artificially limit size of requests.
11947 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
11949 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11950 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11951 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
11952 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
11953 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
11954 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
11955 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
11956 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
11957 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
11958 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
11959 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
11960 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
11961 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
11962 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
11963 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
11964 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11965 Enable unaligned load optimization for Intel Core i3, i5 and i7
11967 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
11969 (index_Fast_Unaligned_Load): Define.
11970 (HAS_FAST_UNALIGNED_LOAD): Define.
11972 2011-06-23 Marek Polacek <mpolacek@redhat.com>
11974 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
11976 2011-06-22 Ulrich Drepper <drepper@gmail.com>
11979 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
11980 until it is clear that the information is realy needed.
11981 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
11983 2011-06-22 Andreas Schwab <schwab@redhat.com>
11985 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
11987 2011-06-22 Ulrich Drepper <drepper@gmail.com>
11989 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11990 /sys/devices/system/cpu/online if it is usable.
11992 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
11993 reading the information from the /proc filesystem to once a second.
11995 2011-06-21 Andreas Jaeger <aj@suse.de>
11997 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
11998 NULL after inclusion of kernel headers.
12000 2011-06-21 Ulrich Drepper <drepper@gmail.com>
12002 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
12003 calls to internal_setent.
12006 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
12007 addresses using gethostbyname4_r ignore IPv4 addresses.
12009 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
12010 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
12012 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
12014 2011-06-20 David S. Miller <davem@davemloft.net>
12016 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
12018 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
12020 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
12021 (elf_irel): Use it.
12022 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
12023 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
12024 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
12025 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
12026 * sysdeps/x86_64/dl-irel.h: Likewise.
12028 * elf/dl-runtime.c: Use elf_ifunc_invoke.
12029 * elf/dl-sym.c: Likewise.
12031 2011-06-15 Ulrich Drepper <drepper@gmail.com>
12033 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
12034 need to dereference resplen2.
12036 2011-06-14 Andreas Schwab <schwab@redhat.com>
12038 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
12040 2011-06-15 Ulrich Drepper <drepper@gmail.com>
12042 * Makeconfig: Define vardbdir and inst_vardbdir.
12043 * nss/Makefile: Add rules to install db-Makefile.
12045 * nss/nss_db/db-XXX.c: Cleanup.
12047 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
12048 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
12050 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
12051 * nss/makedb.c: Implement -g option to specify that value strings
12052 are generated and should not be added to table iterated over for
12054 * nss/nss_db/db-initgroups.c: New file.
12056 * nss/getent.c: Add support for initgroups lookups through getgrouplist
12059 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
12060 (internal_getgrouplist): Adjust to name change.
12061 Update use_initgroups_entry if this is not the first call.
12062 * nss/databases.def: Add initgroups entry.
12064 * nss/makedb.c (compute_tables): Check result of multiple hash table
12065 sizes to minimize maximum chain length.
12067 2011-06-14 Ulrich Drepper <drepper@gmail.com>
12069 * Versions.def: Add entry for libnss_db.
12070 * shlib-versions: Likewise.
12071 * nss/Makefile: Add rules to build libnss_db.
12072 * nss/Versions: Add libnss_db information. Organize libnss_files
12074 * nss/db-Makefile: Add gshadow support. Change rules for the new
12075 makedb progra. Some minor improvements to generate smaller files.
12076 * nss/nss_db/nss_db.h: Move NSS database header data structures to
12078 * nss/makedb.c: ...here.
12079 Improve database format to be smaller and require less memory at
12081 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
12083 * nss/nss_db/db-netgrp.c: Likewise.
12084 * nss/nss_db/db-open.c: Likewise.
12085 * nss/nss_files/flies-XXX.x: Adjust comments.
12086 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
12087 * nss/nss_files/files-grp.c: Likewise.
12088 * nss/nss_files/files-hosts.c: Likewise.
12089 * nss/nss_files/files-network.c: Likewise.
12090 * nss/nss_files/files-proto.c: Likewise.
12091 * nss/nss_files/files-pwd.c: Likewise.
12092 * nss/nss_files/files-rpc.c: Likewise.
12093 * nss/nss_files/files-service.c: Likewise.
12094 * nss/nss_files/files-sgrp.c: Likewise.
12095 * nss/nss_files/files-spwd.c: Likewise.
12096 * nss/nss_db/db-alias.c: Removed.
12097 * nss/nss_db/dummy-db.h: Removed.
12099 2011-06-02 Ulrich Drepper <drepper@gmail.com>
12101 * nss/makedb.c: Rewritten to not use database library.
12102 * nss/Makefile: Update to build new makedb program.
12104 2011-06-14 Andreas Jaeger <aj@suse.de>
12106 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
12107 memset declaration.
12109 2011-06-10 Andreas Schwab <schwab@redhat.com>
12111 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
12114 2011-06-10 Roland McGrath <roland@hack.frob.com>
12116 * Makerules (shlib.lds): Fail if the linker script comes out empty.
12117 * elf/Makefile ($(objpfx)ld.so): Likewise.
12119 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
12120 Don't list ld.so twice in dependencies.
12122 * posix/bug-regex31.c: Include <stdlib.h>.
12124 * nscd/hstcache.c (cache_addhst): Remove unused variable.
12126 * nis/nss_compat/compat-spwd.c
12127 (getspent_next_nss_netgr): Remove unused variable.
12128 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
12130 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
12131 nonmembers" output to use the right array.
12133 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
12135 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
12137 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
12138 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
12139 * catgets/gencat.c (read_input_file): Likewise.
12140 * locale/programs/locarchive.c (enlarge_archive): Likewise.
12142 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
12143 variable definition inside #if's controlling its use.
12145 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
12147 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
12149 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
12151 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
12154 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
12156 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
12157 * configure: Regenerated.
12159 * Makerules: Revert last change.
12160 * elf/Makefile: Likewise.
12162 2011-06-09 Roland McGrath <roland@hack.frob.com>
12164 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
12165 * elf/Makefile ($(objpfx)librtld.os): Likewise.
12166 (reloc-link): Likewise.
12168 2011-06-09 Ulrich Drepper <drepper@gmail.com>
12170 * elf/Makefile: Add rules to build pldd.
12171 * elf/pldd.c: New file.
12172 * elf/pldd-xx.c: New file.
12174 2011-06-07 Ulrich Drepper <drepper@gmail.com>
12176 * version.h: Update for 2.15 development version.
12178 2011-06-07 David S. Miller <davem@davemloft.net>
12180 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
12182 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
12183 elf_machine_lazy_rel): Likewise.
12184 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
12185 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
12186 elf_machine_lazy_rel): Likewise.
12187 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
12188 dl_hwcap via passed in argument.
12189 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
12192 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12194 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
12196 2011-06-06 Roland McGrath <roland@hack.frob.com>
12199 * manual/fdl-1.1.texi: New file, verbatim from:
12200 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
12201 * manual/lgpl-2.1.texi: New file, verbatim from:
12202 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
12203 * manual/Makefile (licenses): New variable, list those new file names.
12205 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
12207 * manual/fdl.texi: File removed.
12208 * manual/lesser.texi: File removed.
12209 * manual/libc.texinfo (Copying, Documentation License):
12210 Use new @include file names, put @appendix directive before @include.
12212 2011-06-04 Jakub Jelinek <jakub@redhat.com>
12215 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
12216 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
12217 (mq_open): Add __NTH.
12219 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
12221 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12222 Assume Intel Core i3/i5/i7 processor if AVX is available.
12224 2011-05-31 Ulrich Drepper <drepper@gmail.com>
12226 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
12229 2011-05-31 Andreas Schwab <schwab@redhat.com>
12231 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
12232 memory. Use alloca_account. Fix memory leak when retrying.
12234 2011-05-31 Ulrich Drepper <drepper@gmail.com>
12236 * version.h (RELEASE): Bump for 2.14 release.
12237 * include/features.h (__GLIBC_MINOR__): Bump to 14.
12239 * config.make.in (RANLIB): Remove entry.
12241 2011-05-30 Ulrich Drepper <drepper@gmail.com>
12243 * po/Makefile (po-sed-cmd): Add ksh to extensions.
12244 (libc.pot): Work around missing support for .ksh extension in xgettext.
12247 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
12248 if both request failed.
12249 (send_dg): In case of server errors clear resplen or *resplen2.
12252 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
12253 when there are multiple maps.
12254 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
12255 (_dl_fini): Remove test here.
12257 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
12259 2011-05-29 Ulrich Drepper <drepper@gmail.com>
12262 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
12263 bit from old_res_options.
12264 (gaih_inet): Likewise.
12267 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
12270 * resolv/res_init.c (res_setoptions): Make the code more compact.
12273 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
12277 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
12279 * malloc/malloc.h: Mark malloc hook variables as deprecated.
12282 * malloc/malloc.h: Declare malloc hook variables as volatile.
12284 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
12288 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
12289 raise in the comment.
12290 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
12291 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12292 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
12294 2011-05-28 Ulrich Drepper <drepper@gmail.com>
12297 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
12298 grow the buffers more if it already has to be sufficient.
12299 (build_wcs_upper_buffer): Likewise.
12300 * posix/regexec.c (check_matching): Likewise.
12301 (clean_state_log_if_needed): Likewise.
12302 (extend_buffers): Don't enlarge buffers beyond size of the input
12304 Patches mostly by Emil Wojak <emil@wojak.eu>.
12305 * posix/bug-regex32.c: New file.
12306 * posix/Makefile (tests): Add bug-regex32.
12308 * locale/findlocale.c (_nl_find_locale): Return right away if
12309 _nl_explode_name failed.
12310 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
12312 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
12314 * debug/xtrace.sh: Unify messages.
12315 * malloc/memusage.sh: Likewise.
12318 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
12319 time symbol from vDSO. Substitute with vsyscall if not available.
12320 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
12323 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
12324 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
12325 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
12326 Add sendmmsg and internal_sendmmsg.
12327 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
12328 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
12329 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
12331 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
12332 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
12333 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
12335 2011-05-27 Ulrich Drepper <drepper@gmail.com>
12338 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
12339 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
12341 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
12345 * iconvdata/Makefile (tests): Add bug-iconv9.
12346 * iconvdata/bug-iconv9.c: New file.
12348 2011-05-27 Andreas Schwab <schwab@redhat.com>
12351 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
12353 2011-05-25 Jakub Jelinek <jakub@redhat.com>
12355 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
12356 (struct user_regs_struct): Change intcs field back to cs.
12358 2011-05-25 Ulrich Drepper <drepper@gmail.com>
12360 * po/ja.po: Update from translation team.
12362 2011-05-23 Ulrich Drepper <drepper@gmail.com>
12365 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
12366 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
12368 2011-05-20 Andreas Schwab <schwab@redhat.com>
12370 * stdlib/longlong.h: Update from GCC.
12372 2011-05-23 Andreas Schwab <schwab@redhat.com>
12374 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
12376 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
12377 Add parameter name.
12378 (__sysconf): Pass it down.
12380 2011-05-22 Ulrich Drepper <drepper@gmail.com>
12383 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
12385 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
12386 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
12387 add in in __libc_use_alloca calls. Adjust callers.
12388 (glob): Use malloc in some situations.
12390 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
12391 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
12394 2011-05-21 Ulrich Drepper <drepper@gmail.com>
12396 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
12397 and CLOCK_BOOTTIME_ALARM.
12400 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
12403 * string/_strerror.c (__strerror_r): Print negative errors as signed
12407 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
12408 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
12409 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
12411 * configure.in: Fix typo in redirection and correct removal of test
12412 files in two cases.
12415 * locale/setlocale.c (new_composite_name): Fix test to check for
12416 identical name of all categories.
12419 * libio/filedoalloc.c (local_isatty): New function.
12420 (_IO_file_doallocate): Use local_isatty.
12421 * stdio-common/perror.c (perror): In case a new stream is used
12422 forward the stream error.
12423 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
12426 2011-05-20 Ulrich Drepper <drepper@gmail.com>
12429 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
12431 * include/alloca.h (extend_alloca_account): Define.
12434 * posix/regex.h: Fix comments with documentation of user-accessible
12435 fields after compilation and describe correct free'ing of pattern
12436 after re_compile_pattern.
12437 Patch by Reuben Thomas <rrt@sc3d.org>.
12439 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
12441 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
12442 and -mno-altivec to prevent the compiler from using Altivec and/or
12443 VSX instructions when the corresponding registers are not available.
12445 2011-05-19 Andreas Schwab <schwab@redhat.com>
12447 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
12449 2011-05-19 Ulrich Drepper <drepper@gmail.com>
12451 * libio/freopen.c (freopen): Use __dup2, not dup2.
12452 * libio/freopen64.c (freopen64): Likewise.
12454 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
12457 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
12458 * math/Makefile (tests): Add test-powl.
12459 (CFLAGS-test-powl.c): Define.
12460 * math/test-powl.c: New file.
12462 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
12464 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
12466 2011-05-17 Ulrich Drepper <drepper@gmail.com>
12469 * iconvdata/gb18030.c: Update to GB18020-2005.
12471 2011-05-16 Ulrich Drepper <drepper@gmail.com>
12473 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
12474 RE_SYNTAX_POSIX_AWK): Update to match recent development.
12475 Patch by Aharon Robbins <arnold@skeeve.com>.
12478 * stdlib/putenv.c (putenv): Don't always create copy of the variable
12482 * misc/pselect.c (__pselect): Handle timeout value errors hidden
12483 through underflows.
12486 * misc/error.c (error_at_line): Ensure file_name and old_file_name
12487 point to strings before performing equality test for error_one_per_line
12491 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
12494 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
12495 (struct user_fpregs_struct): Avoid __uint*_t types.
12498 * malloc/mtrace.c (tr_where): Add additional parameter to point to
12499 symbol info. Use it instead of calling _dl_addr locally.
12500 (lock_and_info): New function.
12501 (tr_freehook): Call lock_and_info and pass symbol info as additional
12502 parameter to tr_where.
12503 (tr_mallochook): Likewise.
12504 (tr_reallochook): Likewise.
12505 (tr_memalignhook): Likewise.
12507 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
12508 used and couldn't be at all thread-safe.
12510 2011-05-15 Ulrich Drepper <drepper@gmail.com>
12512 * libio/freopen.c (freopen): Don't close old file descriptor
12513 before the new one is opened. Instead dup the new file descriptor
12514 to the old one after the new stream is created.
12515 * libio/freopen64.c (freopen64): Likewise.
12516 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
12517 * libio/fileops.c (_IO_new_file_close_it): Handle new
12518 _IO_FLAGS2_NOCLOSE flag.
12519 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
12520 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
12521 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
12522 _IO_FLAGS2_NOCLOSE flag.
12523 * include/unistd.h: Add hidden_proto for dup3.
12524 Define __have_dup3.
12525 * io/dup3.c: Define hidden symbol.
12526 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
12529 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
12530 when an incomplete long option is used.
12531 * posix/tst-getopt_long1.c: New file.
12532 * posix/Makefile (tests): Add tst-getopt_long1.
12535 * scripts/config.guess: Update from autoconf-2.68.
12536 * scripts/config.sub: Likewise.
12539 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
12541 (has_cpuclock): ...this. New function.
12542 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
12543 macro here based on has_cpuclock code.
12546 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12547 First byte (not low byte) is now always NUL.
12548 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
12550 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12551 Use non-cancelable interfaces.
12554 * locale/iso-639.def: Add entry for Sorani.
12557 * include/stdlib.h: Move include protection to the right place.
12558 Define abort_msg_s. Declare __abort_msg with it.
12559 * stdlib/abort.c (__abort_msg): Adjust type.
12560 * assert/assert.c (__assert_fail_base): New function. Majority
12561 of code from __assert_fail. Allocate memory for __abort_msg with
12563 (__assert_fail): Now call __assert_fail_base.
12564 * assert/assert-perr.c: Remove bulk of implementation. Use
12565 __assert_fail_base.
12566 * include/assert.hL Declare __assert_fail_base.
12567 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
12569 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
12571 2011-05-14 Ulrich Drepper <drepper@gmail.com>
12575 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
12576 until all modules are registered in the DTV.
12577 * elf/Makefile: Add rules to build and run tst-tls19.
12578 * elf/tst-tls19.c: New file.
12579 * elf/tst-tls19mod1.c: New file.
12580 * elf/tst-tls19mod2.c: New file.
12581 * elf/tst-tls19mod3.c: New file.
12582 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
12585 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
12589 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
12590 two-byte sequence errors.
12591 * iconvdata/Makefile (tests): Add bug-iconv8.
12592 * iconvdata/bug-iconv8.c: New file.
12595 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
12598 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
12601 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
12602 (dummy_getcfa): New function.
12603 (init): Get _Unwind_GetCFA address, use dummy if not found.
12604 (backtrace_helper): In recursion check, also check whether CFA changes.
12605 (__backtrace): Completely initialize arg.
12607 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
12608 storing incomplete byte sequence in state object. Avoid testing for
12609 guaranteed too small input if we know there is enough data available.
12611 2011-05-11 Andreas Schwab <schwab@redhat.com>
12613 * Makeconfig (+link-pie): Indent.
12614 * Rules (binaries-pie): Define if $(have-fpie) and
12616 (binaries-shared): Also filter out $(binaries-pie).
12617 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
12618 * nscd/Makefile (others-pie): Add nscd.
12619 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
12620 ($(objpfx)nscd): Remove command override.
12621 * login/Makefile (others-pie): Add pt_chown.
12622 ($(objpfx)pt_chown): Remove command override.
12623 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
12624 remove command overrides.
12626 2011-05-13 Ulrich Drepper <drepper@gmail.com>
12628 * libio/tst_putwc.c: Fix error messages.
12631 * libio/fileops.c (_IO_new_file_close_it): Always flush when
12632 currently writing and seek to current position when not.
12633 * libio/Makefile (tests): Add bug-fclose1.
12634 * libio/bug-fclose1.c: New file.
12636 2011-05-12 Ulrich Drepper <drepper@gmail.com>
12639 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
12640 don't set DF_1_NODELETE here.
12641 (do_lookup_x): When entering new entry test for copy relocation
12642 and if necessary set DF_1_NODELETE flag.
12643 * elf/tst-unique4.cc: New file.
12644 * elf/tst-unique4.h: New file.
12645 * elf/tst-unique4lib.cc: New file.
12646 * elf/Makefile: Add rules to build and run tst-unique4.
12647 Patch by Piotr Bury <pbury@goahead.com>.
12649 2011-05-11 Ulrich Drepper <drepper@gmail.com>
12652 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
12655 * misc/mntent_r.c (addmntent): Flush the stream after the output
12658 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
12659 (is_trusted_path_normalize): Skip initial colon. Append slash
12660 to empty buffer. Duplicate is_trusted_path code but allow
12661 constructed patch to be prefix.
12662 (is_dst): Allow $ORIGIN followed by /.
12663 (_dl_dst_substitute): Correct clearing of check_for_trusted.
12664 Correct testing of result of is_trusted_path_normalize
12665 (decompose_rpath): Fix warning.
12667 2011-05-10 Ulrich Drepper <drepper@gmail.com>
12670 * grp/initgroups.c (internal_getgrouplist): When we found the service
12671 list through the initgroups entry in nsswitch.conf do not always
12672 continue on a successful lookup. Don't always use the
12673 __nss_group_database value if it is set.
12674 * nss/nsswitch.conf (initgroups): Change action for successful db
12675 lookup to continue for compatibility.
12677 2011-05-09 Ulrich Drepper <drepper@gmail.com>
12680 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
12682 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
12684 * iconvdata/tst-tables.sh: Likewise.
12685 * iconvdata/cp770.c: New file.
12686 * iconvdata/cp771.c: New file.
12687 * iconvdata/cp772.c: New file.
12688 * iconvdata/cp773.c: New file.
12689 * iconvdata/cp774.c: New file.
12690 * iconvdata/testdata/CP770: New file.
12691 * iconvdata/testdata/CP770..UTF8: New file.
12692 * iconvdata/testdata/CP771: New file.
12693 * iconvdata/testdata/CP771..UTF8: New file.
12694 * iconvdata/testdata/CP772: New file.
12695 * iconvdata/testdata/CP772..UTF8: New file.
12696 * iconvdata/testdata/CP773: New file.
12697 * iconvdata/testdata/CP773..UTF8: New file.
12698 * iconvdata/testdata/CP774: New file.
12699 * iconvdata/testdata/CP774..UTF8: New file.
12701 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
12703 * iconvdata/gen-8bit-gap.sh: Likewise.
12704 * iconvdata/gen-8bit.sh: Likewise.
12706 * locale/iso-639.def: Add ary entry.
12709 * locale/C-translit.h.in: Add U20A1 transliteration.
12712 * locale/iso-639.def: Add wae entry.
12713 Patch by Kevin Bortis <bortis@translate-wae.ch>.
12716 * locale/programs/localedef.c (construct_output_path): Use ssize_t
12720 * locale/C-translit.h.in: Add entry for U20B9.
12721 Patch by pravin.d.s@gmail.com.
12723 2011-05-08 Ulrich Drepper <drepper@gmail.com>
12726 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
12727 ENAMETOOLONG use generic getcwd.
12728 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
12729 in rtld. Use *stat64.
12730 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
12731 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
12732 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
12733 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
12734 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
12735 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
12736 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
12737 __fstatat64 macros.
12738 * include/dirent.h: Add libc_hidden_proto for rewinddir.
12739 * dirent/rewinddir.c: Add libc_hidden_def.
12740 * sysdeps/mach/hurd/rewinddir.c: Likewise.
12741 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
12743 * include/dirent.h (__alloc_dir): Add flags parameter.
12744 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
12745 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
12747 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
12748 from fdopendir if O_CLOEXEC is already set.
12750 2011-03-15 Alan Modra <amodra@gmail.com>
12752 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
12753 l_tls_firstbyte_offset non-zero. Save padding offset in
12754 l_tls_firstbyte_offset for later use.
12755 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
12756 freeing static tls block.
12758 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
12760 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
12761 where #ifdef was intended. The intent is to prevent ARG_MAX from
12762 being defined by the kernel headers.
12764 2011-05-07 Ulrich Drepper <drepper@gmail.com>
12767 * resolv/resolv.h: Define RES_NOTLDQUERY.
12768 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
12769 no-tld-query and set RES_NOTLDQUERY.
12770 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
12771 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
12772 modern BIND to search name as TLD unless forbidden.
12774 2011-05-07 Petr Baudis <pasky@suse.cz>
12775 Ulrich Drepper <drepper@gmail.com>
12778 * elf/dl-load.c (fillin_rpath): Move trusted path check...
12779 (is_trusted_path): ...to here.
12780 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
12781 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
12782 using is_trusted_path_normalize() in setuid scripts.
12784 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12786 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
12787 __BEGIN/__END_DECLS.
12789 2011-05-06 Ulrich Drepper <drepper@gmail.com>
12791 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
12792 NSS_STATUS_NOTFOUND if no record was found.
12794 2011-05-05 Andreas Schwab <schwab@redhat.com>
12796 * sunrpc/Makefile (headers): Add rpc/netdb.h.
12797 (headers-not-in-tirpc): Remove rpc/netdb.h
12798 * resolv/netdb.h: Revert last change.
12800 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12802 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
12803 circular dependency between libgcc.a and libc.a.
12805 2011-05-05 Andreas Schwab <schwab@redhat.com>
12807 * resolv/netdb.h: Don't include <rpc/netdb.h>.
12808 * nis/Makefile: Don't install rpcsvc/*.
12809 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
12810 instead of <rpc/types.h>.
12811 (MAXHOSTNAMELEN): Define.
12813 2011-05-03 Andreas Schwab <schwab@redhat.com>
12815 * elf/ldconfig.c (add_dir): Don't crash on empty path.
12817 2011-04-28 Maciej Babinski <mbabinski@google.com>
12820 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
12821 gethostbyname4_r when IPv6 results are possible.
12823 2011-05-02 Ulrich Drepper <drepper@gmail.com>
12826 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
12827 _PC_PIPE_BUF handling.
12829 2011-04-30 Bruno Haible <bruno@clisp.org>
12832 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
12833 * resolv/netdb.h (getnameinfo): Change type of flags parameter
12835 * inet/getnameinfo.c (getnameinfo): Likewise.
12837 2011-04-29 Ulrich Drepper <drepper@gmail.com>
12839 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
12840 to groups setting in database lookup.
12841 * nss/nsswitch.conf: Add initgroups entry.
12843 2011-04-22 Ulrich Drepper <drepper@gmail.com>
12846 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
12848 Patch by Eric Blake <eblake@redhat.com>.
12850 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
12852 * sunrpc/Makefile (need-export-routines): Add svc_run.
12853 (routines): Remove svc_run.
12854 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
12855 * sunrpc/clnt_perr.c (clnt_perrno): Export.
12856 * sunrpc/svc_run.c (svc_run): Likewise.
12857 * sunrpc/svc_udp.c (svcudp_create): Likewise.
12859 2011-04-21 Ulrich Drepper <drepper@gmail.com>
12861 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
12862 problem in reallocation in last patch.
12864 2011-04-20 Ulrich Drepper <drepper@gmail.com>
12866 * sunrpc/Makefile: Move inclusion of Rules.
12868 2011-04-19 Ulrich Drepper <drepper@gmail.com>
12870 * nss/nss_files/files-initgroups.c: New file.
12871 * nss/Makefile (libnss_files-routines): Add files-initgroups.
12872 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
12873 _nss_files_initgroups_dyn.
12875 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
12877 * elf/elf.h (R_ARM_IRELATIVE): Define.
12879 2011-04-19 Ulrich Drepper <drepper@gmail.com>
12881 * po/ru.po: Update from translation team.
12883 2011-04-17 Ulrich Drepper <drepper@gmail.com>
12885 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
12888 2011-02-06 Mike Frysinger <vapier@gentoo.org>
12891 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
12892 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
12893 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12894 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12895 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12897 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
12899 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
12901 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12902 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12903 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12905 2011-04-17 Ulrich Drepper <drepper@gmail.com>
12908 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
12910 * stdlib/bug-getcontext.c: New file.
12911 * stdlib/Makefile: Add rules to build and run bug-getcontext.
12913 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12915 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
12916 instructions into .machine "z9-109".
12917 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
12918 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
12920 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12922 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
12923 between environment variables and auxiliary vector.
12925 2011-04-16 Ulrich Drepper <drepper@gmail.com>
12927 * Makefile: Add rules to build linkobj/libc.so.
12928 * include/libc-symbols.h: Define libc_hidden_nolink.
12929 * include/rpc/auth.h: Mark functions which are to be hidden.
12930 * include/rpc/auth_des.h: Likewise.
12931 * include/rpc/auth_unix.h: Likewise.
12932 * include/rpc/clnt.h: Likewise.
12933 * include/rpc/des_crypt.h: Likewise.
12934 * include/rpc/key_prot.h: Likewise.
12935 * include/rpc/pmap_clnt.h: Likewise.
12936 * include/rpc/pmap_prot.h: Likewise.
12937 * include/rpc/pmap_rmt.h: Likewise.
12938 * include/rpc/rpc_msg.h: Likewise.
12939 * include/rpc/svc.h: Likewise.
12940 * include/rpc/svc_auth.h: Likewise.
12941 * include/rpc/xdr.h: Likewise.
12942 * nis/Makefile: Link all DSOs against linkobj/libc.so.
12943 * nss/Makefile: Likewise.
12944 * sunrpc/Makefile: Don't install headers. Build library with normal
12945 entry points. Don't build rpcinfo. Link RPC tests appropriately.
12946 * sunrpc/auth_des.c: Hide exported symbols by default, export some
12947 for the compat linking library. Remove use of INTDEF/INTUSE.
12948 * sunrpc/auth_none.c: Likewise.
12949 * sunrpc/auth_unix.c: Likewise.
12950 * sunrpc/authdes_prot.c: Likewise.
12951 * sunrpc/authuxprot.c: Likewise.
12952 * sunrpc/clnt_gen.c: Likewise.
12953 * sunrpc/clnt_perr.c: Likewise.
12954 * sunrpc/clnt_raw.c: Likewise.
12955 * sunrpc/clnt_simp.c: Likewise.
12956 * sunrpc/clnt_tcp.c: Likewise.
12957 * sunrpc/clnt_udp.c: Likewise.
12958 * sunrpc/clnt_unix.c: Likewise.
12959 * sunrpc/des_crypt.c: Likewise.
12960 * sunrpc/des_soft.c: Likewise.
12961 * sunrpc/get_myaddr.c: Likewise.
12962 * sunrpc/key_call.c: Likewise.
12963 * sunrpc/key_prot.c: Likewise.
12964 * sunrpc/netname.c: Likewise.
12965 * sunrpc/pm_getmaps.c: Likewise.
12966 * sunrpc/pm_getport.c: Likewise.
12967 * sunrpc/pmap_clnt.c: Likewise.
12968 * sunrpc/pmap_prot.c: Likewise.
12969 * sunrpc/pmap_prot2.c: Likewise.
12970 * sunrpc/pmap_rmt.c: Likewise.
12971 * sunrpc/publickey.c: Likewise.
12972 * sunrpc/rpc_cmsg.c: Likewise.
12973 * sunrpc/rpc_common.c: Likewise.
12974 * sunrpc/rpc_dtable.c: Likewise.
12975 * sunrpc/rpc_prot.c: Likewise.
12976 * sunrpc/rpc_thread.c: Likewise.
12977 * sunrpc/rtime.c: Likewise.
12978 * sunrpc/svc.c: Likewise.
12979 * sunrpc/svc_auth.c: Likewise.
12980 * sunrpc/svc_authux.c: Likewise.
12981 * sunrpc/svc_raw.c: Likewise.
12982 * sunrpc/svc_run.c: Likewise.
12983 * sunrpc/svc_simple.c: Likewise.
12984 * sunrpc/svc_tcp.c: Likewise.
12985 * sunrpc/svc_udp.c: Likewise.
12986 * sunrpc/svc_unix.c: Likewise.
12987 * sunrpc/svcauth_des.c: Likewise.
12988 * sunrpc/xcrypt.c: Likewise.
12989 * sunrpc/xdr.c: Likewise.
12990 * sunrpc/xdr_array.c: Likewise.
12991 * sunrpc/xdr_float.c: Likewise.
12992 * sunrpc/xdr_intXX_t.c: Likewise.
12993 * sunrpc/xdr_mem.c: Likewise.
12994 * sunrpc/xdr_rec.c: Likewise.
12995 * sunrpc/xdr_ref.c: Likewise.
12996 * sunrpc/xdr_sizeof.c: Likewise.
12997 * sunrpc/xdr_stdio.c: Likewise.
12999 2011-04-10 Ulrich Drepper <drepper@gmail.com>
13002 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
13003 * sysdeps/ia64/dl-tls.h: Likewise.
13004 * sysdeps/powerpc/dl-tls.h: Likewise.
13005 * sysdeps/s390/dl-tls.h: Likewise.
13006 * sysdeps/sh/dl-tls.h: Likewise.
13007 * sysdeps/sparc/dl-tls.h: Likewise.
13008 * sysdeps/x86_64/dl-tls.h: Likewise.
13009 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
13011 2011-03-14 Andreas Schwab <schwab@redhat.com>
13013 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
13014 rpath element also skip the following colon.
13015 (expand_dynamic_string_token): Add is_path parameter and pass
13016 down to DL_DST_REQUIRED and _dl_dst_substitute.
13017 (decompose_rpath): Call expand_dynamic_string_token with
13018 non-zero is_path. Ignore empty rpaths.
13019 (_dl_map_object_from_fd): Call expand_dynamic_string_token
13022 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
13024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
13027 2011-04-09 Ulrich Drepper <drepper@gmail.com>
13030 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
13031 Patch by Filipe David Manana <fdmanana@apache.org>.
13033 2011-04-07 Andreas Schwab <schwab@redhat.com>
13035 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
13036 Maintain aligned stack.
13037 (CHECK_RSP): Remove unused macro.
13039 2011-04-03 Ulrich Drepper <drepper@gmail.com>
13041 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
13042 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
13044 2011-04-02 Ulrich Drepper <drepper@gmail.com>
13046 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
13048 * include/features.h: Mention __USE_XOPEN2K8 in comment.
13050 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
13053 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
13054 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
13055 * sysdeps/x86_64/memmove.c: New file.
13056 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
13057 (memcpy): Renamed to ...
13058 (__new_memcpy): This.
13059 (memcpy): Provide GLIBC_2_14 memcpy.
13060 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
13061 (memcpy): Provide GLIBC_2_2_5 memcpy.
13063 2011-04-01 Ulrich Drepper <drepper@gmail.com>
13066 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
13068 2011-03-30 Andreas Schwab <schwab@redhat.com>
13070 * misc/syncfs.c: New file.
13071 * misc/Makefile (routines): Add syncfs.
13072 * posix/unistd.h: Declare syncfs.
13073 * sysdeps/unix/syscalls.list: Add syncfs.
13075 2011-04-01 Andreas Schwab <schwab@redhat.com>
13077 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
13079 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
13080 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
13081 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13082 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13083 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13084 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
13085 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13087 2011-04-01 Ulrich Drepper <drepper@gmail.com>
13089 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
13090 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
13091 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
13092 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13093 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13094 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13095 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13097 * io/Makefile: Compile fallocate.c, fallocate64.c, and
13098 sync_file_range.c with -fexceptions.
13099 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
13100 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
13101 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
13102 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
13103 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
13104 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
13105 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
13106 sync_file_range as cancellation point
13107 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
13108 now a wrapper around __call_sync_file_range with cancellation handling.
13109 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
13110 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
13111 function name to __call_sync_file_range.
13112 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
13113 Add call_sync_file_range.
13115 2011-04-01 Andreas Schwab <schwab@redhat.com>
13117 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13120 2011-04-01 Ulrich Drepper <drepper@gmail.com>
13122 * iconv/iconv.h: Fix typo in comment.
13123 * io/fcntl.h: Likewise.
13124 * libio/stdio.h: Likewise.
13125 * posix/spawn.h: Likewise.
13126 * posix/unistd.h: Likewise.
13127 * stdlib/stdlib.h: Likewise.
13128 * time/time.h: Likewise.
13129 * wcsmbs/wchar.h: Likewise.
13131 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
13132 open_by_handle): Add.
13133 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
13134 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
13135 Augment a few comments.
13136 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
13137 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13138 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13139 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13140 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13141 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
13144 * io/fcntl.h (AT_EMPTY_PATH): Define.
13146 2011-03-30 Ulrich Drepper <drepper@gmail.com>
13148 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
13149 * sysdeps/unix/sysv/linux/bits/time.h: New file.
13150 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
13152 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
13153 * Versions.def: Add GLIBC_2.14.
13154 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
13157 2011-03-22 Ulrich Drepper <drepper@gmail.com>
13159 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
13161 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
13163 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
13166 * string/test-strncmp.c (do_page_test): New function.
13167 (check2): Likewise.
13168 (test_main): Call check2.
13169 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
13171 2011-03-20 Ulrich Drepper <drepper@gmail.com>
13174 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
13175 Handle cache information in CPU leaf 4.
13176 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
13178 2011-03-18 Ulrich Drepper <drepper@gmail.com>
13181 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
13182 character representation.
13183 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
13185 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
13187 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
13188 END(__isnan) to END(__isnanf) to match function entry point/label
13189 EALIGN(__isnanf,...).
13191 2011-03-10 Jakub Jelinek <jakub@redhat.com>
13193 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
13195 2011-03-10 Ulrich Drepper <drepper@gmail.com>
13198 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
13199 copy from the symbol referenced in the relocation to initialize the
13201 Patch by Piotr Bury <pbury@goahead.com>.
13202 * elf/Makefile: Add rules to build and tst-unique3.
13203 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
13204 * elf/tst-unique3.cc: New file.
13205 * elf/tst-unique3.h: New file.
13206 * elf/tst-unique3lib.cc: New file.
13207 * elf/tst-unique3lib2.cc: New file.
13209 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
13211 2011-03-10 Mike Frysinger <vapier@gentoo.org>
13213 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
13214 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
13217 2011-03-06 Ulrich Drepper <drepper@gmail.com>
13219 * elf/dl-load.c (_dl_map_object): If we are looking for the first
13220 to-be-loaded object along a path to loader is ld.so.
13222 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
13223 Ulrich Drepper <drepper@gmail.com>
13225 * sysdeps/x86_64/memset.S: After aligning destination, code
13226 branches to different locations depending on the value of
13227 misalignment, when multiarch is enabled. Fix this.
13229 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
13231 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
13232 Set _x86_64_preferred_memory_instruction for AMD processsors.
13233 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13234 Set bit_Prefer_SSE_for_memop for AMD processors.
13236 2011-03-04 Ulrich Drepper <drepper@gmail.com>
13238 * libio/fmemopen.c (fmemopen): Optimize a bit.
13240 2011-03-03 Andreas Schwab <schwab@redhat.com>
13242 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
13244 2011-03-03 Roland McGrath <roland@redhat.com>
13246 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
13248 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
13250 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
13251 __bzero_ultra1 instead of __memset_ultra1.
13253 2011-02-23 Andreas Schwab <schwab@redhat.com>
13254 Ulrich Drepper <drepper@gmail.com>
13257 * include/link.h (struct link_map): Add l_orig_initfini.
13258 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
13259 returning unsuccessfully.
13260 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
13261 close of a file loaded at startup, restore the original l_initfini
13263 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
13264 list, store the pointer.
13265 * elf/Makefile ($(objpfx)noload-mem): New rule.
13266 (noload-ENV): Define.
13267 (tests): Add $(objpfx)noload-mem.
13268 * elf/noload.c: Include <memcheck.h>.
13269 (main): Call mtrace. Close all opened handles.
13271 2011-02-17 Andreas Schwab <schwab@redhat.com>
13274 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
13275 dependencies are missing.
13277 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
13279 Fix __if_freereq crash: Unlike the generic version which uses free,
13281 * sysdeps/mach/hurd/ifreq.h: New file.
13283 2011-01-27 Petr Baudis <pasky@suse.cz>
13284 Ulrich Drepper <drepper@gmail.com>
13287 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
13288 to extend_alloca().
13289 * stdio-common/bug23.c: New file.
13290 * stdio-common/Makefile (tests): Add bug23.
13292 2010-09-28 Andreas Schwab <schwab@redhat.com>
13293 Ulrich Drepper <drepper@gmail.com>
13296 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
13297 before performing relro protection. At old place add assertion
13298 to make sure nothing changed.
13300 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
13301 Glauber de Oliveira Costa <glommer@gmail.com>
13303 * elf/elf.h: Add new ARM TLS relocs.
13305 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
13307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
13308 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
13310 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
13312 * sysdeps/wordsize-64/tst-writev.c: New file.
13314 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
13316 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
13317 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
13318 insns in _dl_start to prevent a TOC reference before relocs are
13321 2011-02-15 Ulrich Drepper <drepper@gmail.com>
13324 * Makeconfig: Remove RANLIB definition.
13325 * Makerules: Don't use RANLIB.
13326 * aclocal.m4: Remove ranlib test.
13327 * configure.in: No need to check for ranlib.
13328 * elf/rtld-Rules: Don't use RANLIB.
13330 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13332 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
13334 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
13335 inclusion protection macro.
13337 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
13338 SIGRTMIN and SIGRTMAX and print information in that case only when
13339 SIGRTMIN is defined.
13341 2011-02-11 Jakub Jelinek <jakub@redhat.com>
13343 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
13344 arginfo fn returning -1.
13346 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
13347 and thousands string is zero terminated.
13349 2011-02-03 Andreas Schwab <schwab@redhat.com>
13351 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
13352 sysdeps/unix/sysv/linux/bits/socket.h.
13354 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
13356 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
13357 (__CPU_COUNT): Remove old macros.
13358 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
13359 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
13360 (__CPU_ALLOC, __CPU_FREE): Add macros.
13361 (__sched_cpualloc, __sched_cpufree): Add declarations.
13363 2011-02-05 Ulrich Drepper <drepper@gmail.com>
13365 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
13366 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
13367 * nscd/aicache.c (addhstaiX): Return timeout of added value.
13368 (readdhstai): Return value of addhstaiX call.
13369 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
13370 (addgrbyX): Return value returned by cache_addgr.
13371 (readdgrbyname): Return value returned by addgrbyX.
13372 (readdgrbygid): Likewise.
13373 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
13374 (addpwbyX): Return value returned by cache_addpw.
13375 (readdpwbyname): Return value returned by addhstbyX.
13376 (readdpwbyuid): Likewise.
13377 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
13378 (addservbyX): Return value returned by cache_addserv.
13379 (readdservbyname): Return value returned by addservbyX:
13380 (readdservbyport): Likewise.
13381 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
13382 (addhstbyX): Return value returned by cache_addhst.
13383 (readdhstbyname): Return value returned by addhstbyX.
13384 (readdhstbyaddr): Likewise.
13385 (readdhstbynamev6): Likewise.
13386 (readdhstbyaddrv6): Likewise.
13387 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
13388 (readdinitgroups): Return value returned by addinitgroupsX.
13389 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
13390 (prune_cache): Keep track of timeout value of re-added entries.
13391 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
13392 * nscd/nscd.h: Adjust prototypes of readd* functions.
13394 2011-02-04 Roland McGrath <roland@redhat.com>
13396 * nis/nis_server.c (nis_servstate): Use the right name for 0.
13397 (nis_stats): Likewise.
13398 * nis/nis_modify.c (nis_modify): Likewise.
13399 * nis/nis_remove.c (nis_remove): Likewise.
13400 * nis/nis_add.c (nis_add): Likewise.
13402 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
13404 * posix/fnmatch_loop.c: Add some consts.
13406 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
13408 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
13411 * config.make.in (config-cflags-novzeroupper): Define.
13412 * configure.in: Substitute libc_cv_cc_novzeroupper.
13413 * elf/Makefile (AVX-CFLAGS): Define.
13414 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
13415 (CFLAGS-tst-auditmod4a.c): Likewise.
13416 (CFLAGS-tst-auditmod4b.c): Likewise.
13417 (CFLAGS-tst-auditmod6b.c): Likewise.
13418 (CFLAGS-tst-auditmod6c.c): Likewise.
13419 (CFLAGS-tst-auditmod7b.c): Likewise.
13420 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
13422 2011-02-02 Ulrich Drepper <drepper@gmail.com>
13424 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
13425 function to the callback.
13426 Patch partly by Jiri Olsa <jolsa@redhat.com>.
13428 2011-02-02 Andreas Schwab <schwab@redhat.com>
13430 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
13433 2011-01-19 Ulrich Drepper <drepper@gmail.com>
13436 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
13438 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
13440 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
13443 * elf/Makefile: Add rules to build and run new test.
13444 * elf/tst-initorder.c: New file.
13445 * elf/tst-initorder.exp: New file.
13446 * elf/tst-initordera1.c: New file.
13447 * elf/tst-initordera2.c: New file.
13448 * elf/tst-initordera3.c: New file.
13449 * elf/tst-initordera4.c: New file.
13450 * elf/tst-initorderb1.c: New file.
13451 * elf/tst-initorderb2.c: New file.
13452 * elf/tst-order-a1.c: New file.
13453 * elf/tst-order-a2.c: New file.
13454 * elf/tst-order-a3.c: New file.
13455 * elf/tst-order-a4.c: New file.
13456 * elf/tst-order-b1.c: New file.
13457 * elf/tst-order-b2.c: New file.
13458 * elf/tst-order-main.c: New file.
13459 New test case by George Gensure <werkt0@gmail.com>.
13461 2010-10-01 Andreas Schwab <schwab@redhat.com>
13463 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
13464 decoding ACE if AI_CANONIDN.
13466 2011-01-18 Ulrich Drepper <drepper@gmail.com>
13468 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
13470 2011-01-17 Ulrich Drepper <drepper@gmail.com>
13472 * version.h (RELEASE): Bump for 2.13 release.
13473 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
13475 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
13477 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
13479 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
13480 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
13481 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13482 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
13483 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
13484 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
13486 * posix/getconf.c: Update copyright year.
13487 * catgets/gencat.c: Likewise.
13488 * csu/version.c: Likewise.
13489 * debug/catchsegv.sh: Likewise.
13490 * debug/xtrace.sh: Likewise.
13491 * elf/ldconfig.c: Likewise.
13492 * elf/ldd.bash.in: Likewise.
13493 * elf/sprof.c (print_version): Likewise.
13494 * iconv/iconv_prog.c: Likewise.
13495 * iconv/iconvconfig.c: Likewise.
13496 * locale/programs/locale.c: Likewise.
13497 * locale/programs/localedef.c: Likewise.
13498 * malloc/memusage.sh: Likewise.
13499 * malloc/mtrace.pl: Likewise.
13500 * nscd/nscd.c (print_version): Likewise.
13501 * nss/getent.c: Likewise.
13503 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
13504 PF_CAIF, and PF_ALG.
13505 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13507 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
13509 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
13510 (modules-names): Use them.
13511 (ifunc-test-modules, ifunc-pie-tests): Define.
13512 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
13513 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
13514 (test-extras): Likewise.
13515 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
13516 $(compile-command.c).
13517 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
13518 (all-built-dso): Define.
13519 (check-textrel.out, check-execstack.out): Depend on it.
13521 * configure.in: Don't override --enable-multi-arch.
13523 2011-01-15 Ulrich Drepper <drepper@gmail.com>
13526 * nscd/hstcache.c (tryagain): Define.
13527 (cache_addhst): Return tryagain not notfound for temporary errors.
13528 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
13531 2011-01-14 Ulrich Drepper <drepper@gmail.com>
13534 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
13535 to make the syscall.
13536 * sysdeps/unix/sysv/linux/setgroups.c: New file.
13539 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
13540 and fall back to matching as normal character if the string ends before
13541 the matching ']' is found. This is what POSIX requires.
13542 * posix/testfnm.c: Adjust test result.
13543 * posix/globtest.sh: Adjust test result. Add new test.
13544 * posix/tst-fnmatch.input: Likewise.
13545 * posix/tst-fnmatch2.c: Add new test.
13547 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
13549 * elf/Makefile (check-execstack): Revert last change. Depend on
13551 (check-execstack.h): New target.
13552 (generated): Add check-execstack.h.
13553 * elf/check-execstack.c: Include "check-execstack.h".
13554 (main): Revert last change.
13555 (handle_file): Return zero if GNU_STACK is absent and
13556 DEFAULT_STACK_PERMS doesn't include PF_X.
13558 2011-01-13 Ulrich Drepper <drepper@gmail.com>
13560 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
13561 in child fails because the descriptor is already closed.
13562 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
13563 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
13564 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
13567 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
13571 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
13572 temporary buffer used to handle multi lookups locally.
13573 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
13575 2011-01-12 Ulrich Drepper <drepper@gmail.com>
13577 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
13580 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
13582 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
13583 alignment for SSE2.
13585 2011-01-12 Ulrich Drepper <drepper@gmail.com>
13588 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
13589 characters. When rounding increased number of integer digits recompute
13591 * stdio-common/tst-grouping.c: New file.
13592 * stdio-common/Makefile: Add rules to build and run tst-grouping.
13594 2011-01-09 Ulrich Drepper <drepper@gmail.com>
13596 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
13597 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
13599 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
13601 * bits/select.h: Likewise.
13603 2011-01-08 Ulrich Drepper <drepper@gmail.com>
13605 * po/ja.po: Update from translation team.
13607 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
13610 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
13611 implementation just like for lxstat, fxstatat, et al.
13613 2010-12-27 Jim Meyering <meyering@redhat.com>
13616 * posix/regexec.c (build_trtable): Return failure indication upon
13617 calloc failure. Otherwise, re_search_internal could infloop on OOM.
13619 2010-12-25 Ulrich Drepper <drepper@gmail.com>
13622 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
13623 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
13624 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
13625 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
13628 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
13631 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
13632 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
13634 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
13636 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
13637 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
13638 script has SORT_BY_INIT_PRIORITY.
13639 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
13640 NO_CTORS_DTORS_SECTIONS is defined.
13641 * elf/soinit.c: Likewise.
13642 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
13643 NO_CTORS_DTORS_SECTIONS is defined.
13644 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
13645 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
13646 * sysdeps/sh/init-first.c: Likewise.
13647 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
13649 2010-12-24 Ulrich Drepper <drepper@gmail.com>
13651 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
13652 always use the slow path.
13654 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
13656 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
13657 similar rule which adds the sysdep directories to the header search in
13658 order to pick up the correct platform stackinfo.h.
13659 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
13660 perform test if it is, otherwise return successfully without testing.
13661 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
13662 DEFAULT_STACK_PERMS define in stackinfo.h.
13663 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
13664 defined in stackinfo.h.
13665 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
13666 DEFAULT_STACK_PERMS defined in stackinfo.h.
13667 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
13668 * sysdeps/ia64/stackinfo.h: Likewise.
13669 * sysdeps/s390/stackinfo.h: Likewise.
13670 * sysdeps/sh/stackinfo.h: Likewise.
13671 * sysdeps/sparc/stackinfo.h: Likewise.
13672 * sysdeps/x86_64/stackinfo.h: Likewise.
13673 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
13674 PF_X for powerpc64. Retain PF_X for powerpc32.
13676 2010-12-19 Ulrich Drepper <drepper@gmail.com>
13678 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
13680 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
13681 GETDENTS_64BIT_ALIGNED.
13683 2010-12-14 Ulrich Drepper <dreper@gmail.com>
13685 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
13687 2010-12-10 Andreas Schwab <schwab@redhat.com>
13689 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
13692 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
13693 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
13695 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
13696 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
13698 2010-12-09 Ulrich Drepper <drepper@gmail.com>
13701 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
13704 2010-12-09 Jakub Jelinek <jakub@redhat.com>
13706 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
13708 2010-12-03 Ulrich Drepper <drepper@gmail.com>
13710 * po/it.po: Update from translation team.
13712 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
13714 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
13717 2010-11-30 Ulrich Drepper <drepper@gmail.com>
13719 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
13721 2010-11-24 Andreas Schwab <schwab@redhat.com>
13723 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
13725 (gaih_getanswer_slice): Likewise.
13727 2010-10-20 Jakub Jelinek <jakub@redhat.com>
13729 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
13731 2010-05-31 Petr Baudis <pasky@suse.cz>
13734 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
13735 silently even in the chroot mode.
13737 2010-11-22 Ulrich Drepper <drepper@gmail.com>
13739 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
13740 last patch a bit. Pretty printing
13742 2010-05-31 Petr Baudis <pasky@suse.cz>
13745 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
13746 initialization of skip_initgroups_dyn.
13748 2010-11-19 Ulrich Drepper <drepper@gmail.com>
13750 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
13751 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
13753 2010-11-16 Ulrich Drepper <drepper@gmail.com>
13755 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
13757 2010-11-11 Andreas Schwab <schwab@redhat.com>
13759 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
13760 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
13761 (tst-fnmatch-ENV): Set MALLOC_TRACE.
13762 ($(objpfx)tst-fnmatch-mem): New rule.
13763 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
13764 * posix/tst-fnmatch.c (main): Call mtrace.
13766 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
13768 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13769 Support Intel processor model 6 and model 0x2c.
13771 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
13773 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
13776 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
13779 * string/test-strncasecmp.c (check_result): New function.
13780 (do_one_test): Use it.
13781 (check1): New function.
13782 (test_main): Use it.
13783 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
13784 Support strcasecmp and strncasecmp.
13786 2010-11-08 Ulrich Drepper <drepper@gmail.com>
13789 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
13790 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13792 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
13794 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
13796 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13798 * sysdeps/x86_64/multiarch/bzero.S: New file.
13799 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
13800 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
13801 * sysdeps/x86_64/multiarch/memset.S: New file.
13802 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
13803 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13804 Set bit_Prefer_SSE_for_memop for Intel processors.
13805 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
13807 (index_Prefer_SSE_for_memop): Define.
13808 (HAS_PREFER_SSE_FOR_MEMOP): Define.
13810 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
13812 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
13813 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
13815 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
13818 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
13819 (__x86_64_raw_data_cache_size_half): Likewise.
13820 (__x86_64_raw_shared_cache_size): Likewise.
13821 (__x86_64_raw_shared_cache_size_half): Likewise.
13823 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
13824 (__x86_64_raw_data_cache_size_half): Likewise.
13825 (__x86_64_raw_shared_cache_size): Likewise.
13826 (__x86_64_raw_shared_cache_size_half): Likewise.
13827 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
13828 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
13829 and __x86_64_raw_shared_cache_size_half. Round
13830 __x86_64_data_cache_size_half, __x86_64_data_cache_size
13831 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
13832 to multiple of 256 bytes.
13834 2010-11-03 Ulrich Drepper <drepper@gmail.com>
13837 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
13838 of inacessible symlinks. Verify result of symlink before returning it.
13839 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
13840 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
13842 2010-10-28 Erich Ritz <erichritz@gmail.com>
13844 * math/math.h (isinf): Fix typo in comment.
13846 2010-11-01 Ulrich Drepper <drepper@gmail.com>
13848 * po/da.po: Update from translation team.
13850 2010-10-26 Ulrich Drepper <drepper@gmail.com>
13852 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
13853 is added to the list.
13855 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13856 Ulrich Drepper <drepper@gmail.com>
13858 * elf/dl-object.c (_dl_new_object): Don't append the new object to
13859 the global list here. Move code to...
13860 (_dl_add_to_namespace_list): ...here. New function.
13861 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
13862 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
13863 * elf/dl-load.c (lose): Don't remove the element from the list.
13864 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
13865 (_dl_map_object): Likewise.
13867 2010-10-25 Ulrich Drepper <drepper@gmail.com>
13870 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
13871 into all bytes of SSE register.
13872 Patch by Richard Li <richardpku@gmail.com>.
13874 2010-10-24 Ulrich Drepper <drepper@gmail.com>
13877 * malloc/malloc.c (_int_free): Fill correct number of bytes when
13880 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
13882 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
13883 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
13884 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
13885 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
13886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
13888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
13890 2010-10-22 Andreas Schwab <schwab@redhat.com>
13892 * include/dlfcn.h (__RTLD_SECURE): Define.
13893 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
13894 mode & __RTLD_SECURE instead.
13895 (open_path): Rename preloaded parameter to secure.
13896 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
13897 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
13898 * elf/dl-deps.c (openaux): Likewise.
13899 * elf/rtld.c (struct map_args): Remove is_preloaded.
13900 (map_doit): Don't use it.
13901 (dl_main): Likewise.
13902 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
13903 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
13905 2010-09-09 Andreas Schwab <schwab@redhat.com>
13907 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
13908 (sysd-rules-targets): Remove duplicates.
13909 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
13910 rtld-%.$o dependency.
13912 2010-10-18 Andreas Schwab <schwab@redhat.com>
13914 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
13915 _dl_map_object do it.
13917 2010-10-19 Ulrich Drepper <drepper@gmail.com>
13919 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
13920 fast fma builtins, define the macros in the C99 standard.
13921 (FP_FAST_FMAF): Likewise.
13922 (FP_FAST_FMAL): Likewise.
13923 * sysdeps/x86_64/bits/mathdef.h: Likewise.
13925 * bits/mathdef.h: Update copyright year.
13926 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13928 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
13930 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
13931 builtins, define the macros in the C99 standard.
13932 (FP_FAST_FMAF): Likewise.
13933 (FP_FAST_FMAL): Likewise.
13934 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
13936 (FP_FAST_FMAF): Likewise.
13938 2010-10-15 Jakub Jelinek <jakub@redhat.com>
13941 * math/libm-test.inc (fma_test): Some new testcases.
13942 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
13943 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
13944 y and infinite z. Do multiplication by C already in long double.
13945 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
13946 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
13947 y and infinite z. Do bitwise or of inexact bit into u.d.
13948 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
13949 * sysdeps/i386/fpu/s_fmaf.S: Removed.
13950 * sysdeps/i386/fpu/s_fma.S: Removed.
13951 * sysdeps/i386/fpu/s_fmal.S: Removed.
13953 2010-10-16 Jakub Jelinek <jakub@redhat.com>
13956 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
13957 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
13958 computation is not scheduled after fetestexcept. Fix value
13959 of minimum denormal long double.
13961 2010-10-14 Jakub Jelinek <jakub@redhat.com>
13964 * math/libm-test.inc (fma_test): Add some more tests.
13965 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
13968 2010-10-15 Andreas Schwab <schwab@redhat.com>
13970 * scripts/data/localplt-s390-linux-gnu.data: New file.
13971 * scripts/data/localplt-s390x-linux-gnu.data: New file.
13973 2010-10-13 Jakub Jelinek <jakub@redhat.com>
13976 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
13977 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
13979 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
13981 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
13982 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
13983 if one of x and y is very large and the other is subnormal.
13984 * sysdeps/s390/fpu/s_fmaf.c: New file.
13985 * sysdeps/s390/fpu/s_fma.c: New file.
13986 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
13987 * sysdeps/powerpc/fpu/s_fma.S: New file.
13988 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
13989 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
13990 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
13992 2010-10-12 Jakub Jelinek <jakub@redhat.com>
13995 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
13997 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
13998 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
13999 * sysdeps/i386/i686/multiarch/s_fma.c: Include
14000 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
14001 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
14002 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
14003 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
14005 2010-10-12 Ulrich Drepper <drepper@redhat.com>
14008 * posix/regcomp.c (parse_branch): One more memory leak plugged.
14009 * posix/bug-regex31.input: Add test case.
14011 2010-10-11 Ulrich Drepper <drepper@gmail.com>
14013 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
14014 * posix/bug-regex31.input: New file.
14017 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
14018 (parse_sub_exp): Fix last change, use postorder.
14020 * posix/bug-regex31.c: New file.
14021 * posix/Makefile: Add rules to build and run bug-regex31.
14023 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
14026 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
14029 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
14030 to have entries in sys_siglist.
14033 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
14036 2010-10-07 Jakub Jelinek <jakub@redhat.com>
14039 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
14040 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
14041 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
14042 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
14043 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
14044 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
14045 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
14046 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
14047 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
14048 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
14049 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
14050 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
14051 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
14052 * math/ftestexcept.c (fetestexcept): Likewise.
14053 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
14054 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
14055 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
14056 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
14057 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
14058 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
14059 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
14061 2010-10-11 Ulrich Drepper <drepper@gmail.com>
14064 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
14067 2010-10-06 Ulrich Drepper <drepper@gmail.com>
14069 * string/bug-strstr1.c: New file.
14070 * string/Makefile: Add rules to build and run bug-strstr1.
14072 2010-10-05 Eric Blake <eblake@redhat.com>
14075 * string/str-two-way.h (two_way_long_needle): Always clear memory
14076 when skipping input due to the shift table.
14078 2010-10-03 Ulrich Drepper <drepper@gmail.com>
14081 * malloc/mcheck.c: Handle large requests.
14084 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
14085 for strncmp and strncasecmp.
14086 * string/stratcliff.c: Add tests for strcmp and strncmp.
14087 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
14089 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14091 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
14094 2010-09-30 Andreas Jaeger <aj@suse.de>
14096 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
14097 (CGROUP_SUPER_MAGIC): Define.
14098 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14099 Handle btrfs and cgroup file systems.
14100 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
14103 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
14105 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
14106 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
14108 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14111 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
14112 trying to locate the ELF header.
14114 2010-09-27 Andreas Schwab <schwab@redhat.com>
14117 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
14118 Mask out sign-bit copies when constructing f_fsid.
14120 2010-09-24 Petr Baudis <pasky@suse.cz>
14122 * debug/stack_chk_fail_local.c: Add missing licence exception.
14123 * debug/warning-nop.c: Likewise.
14125 2010-09-15 Joseph Myers <joseph@codesourcery.com>
14127 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
14128 implementing getdents64 using getdents syscall, set d_type if
14129 __ASSUME_GETDENTS32_D_TYPE.
14131 2010-09-16 Andreas Schwab <schwab@redhat.com>
14133 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
14134 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
14136 2010-09-21 Ulrich Drepper <drepper@redhat.com>
14139 * posix/unistd.h: Undo change of feature selection for ftruncate from
14142 2010-09-20 Ulrich Drepper <drepper@redhat.com>
14144 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
14147 2010-09-20 Andreas Schwab <schwab@redhat.com>
14149 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
14151 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
14153 2010-09-14 Andreas Schwab <schwab@redhat.com>
14155 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
14156 variables after CHECK_SP call.
14157 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
14159 2010-09-13 Andreas Schwab <schwab@redhat.com>
14160 Ulrich Drepper <drepper@redhat.com>
14162 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
14163 re-relocationg ld.so.
14164 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
14165 _dl_init_paths call.
14166 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
14169 2010-09-14 Ulrich Drepper <drepper@redhat.com>
14171 * resolv/res_init.c (__res_vinit): Count the default server we added.
14173 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
14174 Ulrich Drepper <drepper@redhat.com>
14177 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
14178 (____longjmp_chk): Use %ebx for saving value across system call.
14181 2010-09-06 Andreas Schwab <schwab@redhat.com>
14183 * manual/Makefile: Don't mix pattern rules with normal rules.
14185 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
14187 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
14189 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
14190 * libio/iofopncook.c (_IO_cookie_init): Likewise.
14191 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
14192 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
14193 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14196 2010-09-04 Ulrich Drepper <drepper@redhat.com>
14199 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
14200 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
14202 2010-09-02 Ulrich Drepper <drepper@redhat.com>
14204 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
14205 * sysdeps/x86_64/addmul_1.S: Likewise.
14206 * sysdeps/x86_64/lshift.S: Likewise.
14207 * sysdeps/x86_64/mul_1.S: Likewise.
14208 * sysdeps/x86_64/rshift.S: Likewise.
14209 * sysdeps/x86_64/sub_n.S: Likewise.
14210 * sysdeps/x86_64/submul_1.S: Likewise.
14212 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
14214 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
14215 Define __sched_param instead of SCHED_* and sched_param when
14216 <bits/sched.h> is included with __need_schedparam defined.
14217 * bits/sched.h [__need_schedparam]
14218 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
14219 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
14220 (__defined_schedparam): Define to 1.
14221 (__sched_param): New structure, identical to sched_param.
14222 (__need_schedparam): Undefine.
14224 2010-08-31 Mike Frysinger <vapier@gentoo.org>
14226 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
14227 (epoll_create1): Declare.
14229 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
14231 2010-08-31 Andreas Schwab <schwab@redhat.com>
14234 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
14235 shifting retval into place.
14237 2010-09-01 Ulrich Drepper <drepper@redhat.com>
14239 * nis/rpcsvc/nis.h: Update copyright notice.
14240 * nis/rpcsvc/nis.x: Likewise.
14241 * nis/rpcsvc/nis_callback.h: Likewise.
14242 * nis/rpcsvc/nis_callback.x: Likewise.
14243 * nis/rpcsvc/nis_object.x: Likewise.
14244 * nis/rpcsvc/nis_tags.h: Likewise.
14245 * nis/rpcsvc/yp.h: Likewise.
14246 * nis/rpcsvc/yp.x: Likewise.
14247 * nis/rpcsvc/ypupd.h: Likewise.
14248 * nis/yp_xdr.c: Likewise.
14249 * nis/ypupdate_xdr.c: Likewise.
14251 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
14252 mainly the body of pmap_getport. Add parameters to specify timeouts.
14253 (pmap_getport): Use __libc_rpc_getport.
14254 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
14255 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
14256 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
14258 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
14260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
14263 2010-08-27 Roland McGrath <roland@redhat.com>
14265 * sysdeps/i386/i686/multiarch/Makefile
14266 (CFLAGS-varshift.c): New variable.
14268 2010-08-27 Ulrich Drepper <drepper@redhat.com>
14270 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
14271 * sysdeps/i386/i686/multiarch/varshift.c: New file.
14273 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
14275 * sysdeps/x86_64/strlen.S: Minimal code improvement.
14277 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
14279 * sysdeps/x86_64/strlen.S: Unroll the loop.
14280 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14281 strlen-sse2 strlen-sse2-bsf.
14282 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
14283 __strlen_no_bsf if bit_Slow_BSF is set.
14284 (__strlen_sse42): Removed.
14285 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
14286 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
14288 2010-08-25 Roland McGrath <roland@redhat.com>
14290 * sysdeps/x86_64/multiarch/varshift.S: File removed.
14291 * sysdeps/x86_64/multiarch/varshift.c: New file.
14292 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
14293 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
14294 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
14295 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14297 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
14299 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14300 strlen-sse2 strlen-sse2-bsf.
14301 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
14302 __strlen_sse2_bsf if bit_Slow_BSF is unset.
14303 (__strlen_sse2): Removed.
14304 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
14305 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
14306 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
14307 bit_Slow_BSF for Atom.
14308 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
14309 (index_Slow_BSF): Define.
14310 (HAS_SLOW_BSF): Define.
14312 2010-08-25 Ulrich Drepper <drepper@redhat.com>
14315 * resolv/res_init.c (__res_vinit): When no server address at all
14316 is given default to loopback.
14318 2010-08-24 Roland McGrath <roland@redhat.com>
14320 * configure.in: Remove config-name.h generation.
14321 * configure: Regenerated.
14322 * config-name.in: File removed.
14323 * scripts/config-uname.sh: New file.
14324 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
14325 ($(objdir)config-name.h): New target.
14327 * sunrpc/rpc_parse.h: Avoid nested comment.
14329 2010-08-24 Richard Henderson <rth@redhat.com>
14330 Ulrich Drepper <drepper@redhat.com>
14331 H.J. Lu <hongjiu.lu@intel.com>
14333 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
14334 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
14335 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
14336 Replace _mm_srli_si128 with __m128i_shift_right. Replace
14337 _mm_alignr_epi8 with _mm_loadu_si128.
14338 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
14339 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
14340 (__m128i_shift_right): Removed.
14341 * sysdeps/i386/i686/multiarch/varshift.h: New file.
14342 * sysdeps/i386/i686/multiarch/varshift.S: New file.
14343 * sysdeps/x86_64/multiarch/varshift.h: New file.
14344 * sysdeps/x86_64/multiarch/varshift.S: New file.
14346 2010-08-21 Mike Frysinger <vapier@gentoo.org>
14348 * configure.in: Move assembler checks to before sysdep dir checking.
14350 2010-08-20 Petr Baudis <pasky@suse.cz>
14352 * LICENSES: Sync the sunrpc license.
14354 2010-08-19 Ulrich Drepper <drepper@redhat.com>
14356 * sunrpc/auth_des.c: Update copyright notice once again.
14357 * sunrpc/auth_none.c: Likewise.
14358 * sunrpc/auth_unix.c: Likewise.
14359 * sunrpc/authdes_prot.c: Likewise.
14360 * sunrpc/authuxprot.c: Likewise.
14361 * sunrpc/bindrsvprt.c: Likewise.
14362 * sunrpc/clnt_gen.c: Likewise.
14363 * sunrpc/clnt_perr.c: Likewise.
14364 * sunrpc/clnt_raw.c: Likewise.
14365 * sunrpc/clnt_simp.c: Likewise.
14366 * sunrpc/clnt_tcp.c: Likewise.
14367 * sunrpc/clnt_udp.c: Likewise.
14368 * sunrpc/clnt_unix.c: Likewise.
14369 * sunrpc/des_crypt.c: Likewise.
14370 * sunrpc/des_soft.c: Likewise.
14371 * sunrpc/get_myaddr.c: Likewise.
14372 * sunrpc/getrpcport.c: Likewise.
14373 * sunrpc/key_call.c: Likewise.
14374 * sunrpc/key_prot.c: Likewise.
14375 * sunrpc/openchild.c: Likewise.
14376 * sunrpc/pm_getmaps.c: Likewise.
14377 * sunrpc/pm_getport.c: Likewise.
14378 * sunrpc/pmap_clnt.c: Likewise.
14379 * sunrpc/pmap_prot.c: Likewise.
14380 * sunrpc/pmap_prot2.c: Likewise.
14381 * sunrpc/pmap_rmt.c: Likewise.
14382 * sunrpc/rpc/auth.h: Likewise.
14383 * sunrpc/rpc/auth_unix.h: Likewise.
14384 * sunrpc/rpc/clnt.h: Likewise.
14385 * sunrpc/rpc/des_crypt.h: Likewise.
14386 * sunrpc/rpc/key_prot.h: Likewise.
14387 * sunrpc/rpc/netdb.h: Likewise.
14388 * sunrpc/rpc/pmap_clnt.h: Likewise.
14389 * sunrpc/rpc/pmap_prot.h: Likewise.
14390 * sunrpc/rpc/pmap_rmt.h: Likewise.
14391 * sunrpc/rpc/rpc.h: Likewise.
14392 * sunrpc/rpc/rpc_des.h: Likewise.
14393 * sunrpc/rpc/rpc_msg.h: Likewise.
14394 * sunrpc/rpc/svc.h: Likewise.
14395 * sunrpc/rpc/svc_auth.h: Likewise.
14396 * sunrpc/rpc/types.h: Likewise.
14397 * sunrpc/rpc/xdr.h: Likewise.
14398 * sunrpc/rpc_clntout.c: Likewise.
14399 * sunrpc/rpc_cmsg.c: Likewise.
14400 * sunrpc/rpc_common.c: Likewise.
14401 * sunrpc/rpc_cout.c: Likewise.
14402 * sunrpc/rpc_dtable.c: Likewise.
14403 * sunrpc/rpc_hout.c: Likewise.
14404 * sunrpc/rpc_main.c: Likewise.
14405 * sunrpc/rpc_parse.c: Likewise.
14406 * sunrpc/rpc_parse.h: Likewise.
14407 * sunrpc/rpc_prot.c: Likewise.
14408 * sunrpc/rpc_sample.c: Likewise.
14409 * sunrpc/rpc_scan.c: Likewise.
14410 * sunrpc/rpc_scan.h: Likewise.
14411 * sunrpc/rpc_svcout.c: Likewise.
14412 * sunrpc/rpc_tblout.c: Likewise.
14413 * sunrpc/rpc_util.c: Likewise.
14414 * sunrpc/rpc_util.h: Likewise.
14415 * sunrpc/rpcinfo.c: Likewise.
14416 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
14417 * sunrpc/rpcsvc/key_prot.x: Likewise.
14418 * sunrpc/rpcsvc/klm_prot.x: Likewise.
14419 * sunrpc/rpcsvc/mount.x: Likewise.
14420 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
14421 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
14422 * sunrpc/rpcsvc/rex.x: Likewise.
14423 * sunrpc/rpcsvc/rstat.x: Likewise.
14424 * sunrpc/rpcsvc/rusers.x: Likewise.
14425 * sunrpc/rpcsvc/sm_inter.x: Likewise.
14426 * sunrpc/rpcsvc/spray.x: Likewise.
14427 * sunrpc/rpcsvc/yppasswd.x: Likewise.
14428 * sunrpc/rtime.c: Likewise.
14429 * sunrpc/svc.c: Likewise.
14430 * sunrpc/svc_auth.c: Likewise.
14431 * sunrpc/svc_authux.c: Likewise.
14432 * sunrpc/svc_raw.c: Likewise.
14433 * sunrpc/svc_run.c: Likewise.
14434 * sunrpc/svc_simple.c: Likewise.
14435 * sunrpc/svc_tcp.c: Likewise.
14436 * sunrpc/svc_udp.c: Likewise.
14437 * sunrpc/svc_unix.c: Likewise.
14438 * sunrpc/svcauth_des.c: Likewise.
14439 * sunrpc/xcrypt.c: Likewise.
14440 * sunrpc/xdr.c: Likewise.
14441 * sunrpc/xdr_array.c: Likewise.
14442 * sunrpc/xdr_float.c: Likewise.
14443 * sunrpc/xdr_mem.c: Likewise.
14444 * sunrpc/xdr_rec.c: Likewise.
14445 * sunrpc/xdr_ref.c: Likewise.
14446 * sunrpc/xdr_sizeof.c: Likewise.
14447 * sunrpc/xdr_stdio.c: Likewise.
14449 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
14452 2010-08-19 Andreas Schwab <schwab@redhat.com>
14454 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
14456 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
14458 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
14459 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
14460 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
14461 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
14462 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
14463 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
14464 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
14465 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
14466 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
14467 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
14468 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
14469 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
14470 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
14471 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
14473 2010-07-26 Anton Blanchard <anton@samba.org>
14475 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
14476 * malloc/arena.c (heap_trim): Likewise.
14478 2010-08-16 Ulrich Drepper <drepper@redhat.com>
14480 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
14482 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
14483 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
14485 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
14487 * sysdeps/i386/elf/Makefile: New file.
14489 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
14491 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
14492 from fanotify_init.
14493 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
14494 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14496 2010-08-15 Ulrich Drepper <drepper@redhat.com>
14498 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
14500 * sysdeps/multiarch/strcmp.S: Likewise.
14502 2010-08-14 Ulrich Drepper <drepper@redhat.com>
14504 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
14505 strncase_l-nonascii.
14506 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
14507 Add strncase_l-ssse3.
14508 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
14509 * sysdeps/x86_64/strcmp.S: Likewise.
14510 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
14511 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
14512 * sysdeps/x86_64/strncase.S: New file.
14513 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
14514 * sysdeps/x86_64/strncase_l.S: New file.
14515 * string/Makefile (strop-tests): Add strncasecmp.
14516 * string/test-strncasecmp.c: New file.
14518 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
14521 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
14522 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
14524 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
14526 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
14528 2010-08-12 Ulrich Drepper <drepper@redhat.com>
14530 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
14531 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
14532 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
14534 2010-05-01 Alan Modra <amodra@gmail.com>
14536 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
14537 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
14538 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
14539 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
14540 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
14541 tidying. Don't tail-call __sigjmp_save for static lib.
14542 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
14544 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
14545 (CALL_MCOUNT): Add eh info, and nop after bl.
14546 (TAIL_CALL_SYSCALL_ERROR): New macro.
14547 (PSEUDO_RET): Use it.
14548 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
14549 Correct save location of integer regs and cr.
14550 (_dl_profile_resolve): Correct cr save location. Delete nops
14551 after bl when SHARED. Reduce cfi size a little by better
14552 placement of cfi directives.
14553 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
14554 make a stack frame. Instead use parm save area as a temp.
14555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
14556 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
14557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14558 Don't make a stack frame for parent, use parm save area.
14559 Increase child stack frame to 112 bytes. Don't save unused reg,
14560 and adjust reg usage. Set up cfi on error recovery and
14561 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
14562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14563 (__makecontext): Add dummy nop after jump to exit.
14564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
14565 Use correct parm save area and cr save, reduce stack frame.
14566 Correct cfi for possible PSEUDO_RET frame setup.
14567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
14568 Branch to local label emitted by PSEUDO_RET rather than
14571 2010-08-12 Andreas Schwab <schwab@redhat.com>
14574 * locale/programs/locale.c (print_assignment): New function.
14575 (show_locale_vars): Use it.
14577 2010-08-11 Ulrich Drepper <drepper@redhat.com>
14579 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
14581 (struct statfs64): Likewise.
14582 (_STATFS_F_FLAGS): Define.
14583 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
14584 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14585 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
14586 (ST_VALID): Define locally.
14587 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
14588 __statvfs_getflags, use the provided value.
14589 * sysdeps/unix/sysv/linux/kernel-features.h: Define
14590 __ASSUME_STATFS_F_FLAGS.
14592 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
14594 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
14595 Add sys/fanotify.h.
14596 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
14597 fanotify_mask for GLIBC_2.13.
14598 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
14599 fanotify_init and fanotify_mark.
14600 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14601 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
14603 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
14605 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
14606 prlimit64 for GLIBC_2.13.
14607 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
14609 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
14611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
14612 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
14613 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
14614 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
14615 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
14617 * sysdeps/unix/sysv/linux/prlimit.c: New file.
14620 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
14621 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
14623 * nss/Makefile: Add rules to build and run tst-nss-test1.
14624 * shlib-versions: Add entry for libnss_test1.
14625 * nss/nss_test1.c: New file.
14626 * nss/tst-nss-test1.c: New file.
14628 * nss/nsswitch.c (__nss_database_custom): Define new variable.
14629 (__nss_configure_lookup): Set appropriate entry in
14630 __nss_configure_lookup to true.
14631 * nss/nsswitch.h: Define enum with indeces of databases in
14632 databases and __nss_database_custom arrays. Declare
14633 __nss_database_custom.
14634 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
14635 to avoid using nscd when custom rules are installed.
14636 * nss/getXXbyYY_r.c: Likewise.
14637 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14639 * nss/nss_files/files-parse.c: Whitespace fixes.
14641 2010-08-09 Ulrich Drepper <drepper@redhat.com>
14644 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
14645 * posix/fnmatch_loop.c: Likewise.
14647 2010-07-17 Andi Kleen <ak@linux.intel.com>
14649 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
14650 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
14651 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
14652 * Versions.def [GLIBC_2.13]: Add.
14654 2010-08-06 Ulrich Drepper <drepper@redhat.com>
14656 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14657 Also fail if tpwd after pwuid call is NULL.
14659 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
14661 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
14662 when converting to ms.
14664 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14666 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
14667 EOPNOTSUPP errors with ENOTTY.
14668 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
14669 EOPNOTSUPP errors with ENOTTY.
14671 2010-07-31 Ulrich Drepper <drepper@redhat.com>
14673 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
14674 Add strcasecmp_l-ssse3.
14675 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
14677 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
14678 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
14679 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
14681 2010-07-30 Ulrich Drepper <drepper@redhat.com>
14683 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
14685 * string/Makefile (strop-tests): Add strcasecmp.
14686 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
14687 strcasecmp_l-nonascii.
14688 (gen-as-const-headers): Add locale-defines.sym.
14689 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
14690 * sysdeps/x86_64/strcasecmp.S: New file.
14691 * sysdeps/x86_64/strcasecmp_l.S: New file.
14692 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
14693 * sysdeps/x86_64/locale-defines.sym: New file.
14694 * string/test-strcasecmp.c: New file.
14696 * string/test-strcasestr.c: Test both ends of the range of characters.
14697 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
14699 2010-07-29 Roland McGrath <roland@redhat.com>
14702 * manual/locale.texi (Yes-or-No Questions): Fix example code.
14704 2010-07-27 Ulrich Drepper <drepper@redhat.com>
14706 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
14709 2010-07-27 Andreas Schwab <schwab@redhat.com>
14711 * manual/memory.texi (Malloc Tunable Parameters): Document
14714 2010-07-26 Roland McGrath <roland@redhat.com>
14717 * configure.in (-fgnu89-inline check): Set and substitute
14718 gnu89_inline, not libc_cv_gnu89_inline.
14719 * configure: Regenerated.
14720 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
14722 2010-07-26 Ulrich Drepper <drepper@redhat.com>
14724 * string/test-strnlen.c: New file.
14725 * string/Makefile (strop-tests): Add strnlen.
14726 * string/tester.c (test_strnlen): Add a few more test cases.
14727 * string/tst-strlen.c: Better error reporting.
14729 * sysdeps/x86_64/strnlen.S: New file.
14731 2010-07-24 Ulrich Drepper <drepper@redhat.com>
14733 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
14734 lower-latency instructions.
14736 2010-07-23 Ulrich Drepper <drepper@redhat.com>
14738 * string/test-strcasestr.c: New file.
14739 * string/test-strstr.c: New file.
14740 * string/Makefile (strop-tests): Add strstr and strcasestr.
14741 * string/str-two-way.h: Don't undefine MAX.
14742 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
14744 2010-07-21 Andreas Schwab <schwab@redhat.com>
14746 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14747 strcasestr-nonascii.
14748 (CFLAGS-strcasestr-nonascii.c): Define.
14749 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
14750 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
14751 Remove unused attribute.
14753 2010-07-20 Roland McGrath <roland@redhat.com>
14755 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
14756 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
14757 ld.so.cache was broken. With it, there is no way to disable dsocaps
14758 like LD_HWCAP_MASK can disable hwcaps.
14760 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
14762 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
14764 2010-07-16 Ulrich Drepper <drepper@redhat.com>
14766 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
14767 call in strcasestr.
14768 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
14769 __strcasestr_sse42_nonascii.
14770 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
14771 strcasestr-nonascii.c.
14772 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
14774 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
14776 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
14777 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
14778 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
14779 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
14781 2010-07-09 Ulrich Drepper <drepper@redhat.com>
14783 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
14786 2010-07-06 Andreas Schwab <schwab@redhat.com>
14789 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
14792 2010-07-06 Ulrich Drepper <drepper@redhat.com>
14794 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
14795 _PC_PIPE_BUF using F_GETPIPE_SZ.
14797 2010-07-05 Roland McGrath <roland@redhat.com>
14799 * manual/arith.texi (Rounding Functions): Fix rint description
14800 implicit in round description.
14802 2010-07-02 Ulrich Drepper <drepper@redhat.com>
14804 * elf/Makefile: Fix linking for a few tests to make recent linker
14807 2010-06-30 Andreas Schwab <schwab@redhat.com>
14809 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
14810 $(common-objpfx)libc_nonshared.a.
14812 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
14814 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
14815 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
14816 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
14817 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
14818 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
14819 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
14820 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
14821 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
14822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
14823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
14824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
14825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
14826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
14827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
14828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
14829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
14830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
14831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
14832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
14833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
14834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
14835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
14836 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
14837 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
14838 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
14839 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
14840 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
14841 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
14842 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
14843 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
14844 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
14845 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
14846 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
14847 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
14848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
14849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
14850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
14851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
14852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
14853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
14854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
14855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
14856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
14857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
14858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
14859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
14860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
14861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
14863 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
14865 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
14866 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
14867 * string/memmove.c (memmove): Renamed to ...
14868 (MEMMOVE): ...this. Default to memmove.
14869 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
14870 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
14872 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14873 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
14874 mempcpy-ssse3-back memmove-ssse3-back.
14875 * sysdeps/x86_64/multiarch/bcopy.S: New file .
14876 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
14877 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
14878 * sysdeps/x86_64/multiarch/memcpy.S: New file.
14879 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
14880 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
14881 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
14882 * sysdeps/x86_64/multiarch/memmove.c: New file.
14883 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
14884 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
14885 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
14886 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
14887 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
14888 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
14890 (index_Fast_Copy_Backward): Define.
14891 (HAS_ARCH_FEATURE): Define.
14892 (HAS_FAST_REP_STRING): Define.
14893 (HAS_FAST_COPY_BACKWARD): Define.
14895 2010-06-21 Andreas Schwab <schwab@redhat.com>
14897 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14898 Restore proper fallback handling.
14900 2010-06-19 Ulrich Drepper <drepper@redhat.com>
14903 * posix/group_member.c (__group_member): Correct checking loop.
14905 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
14906 OOM in getpwuid_r correctly. Return error number when the caller
14907 should return, otherwise -1.
14908 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
14909 call returning > 0 value.
14910 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
14912 2010-06-07 Andreas Schwab <schwab@redhat.com>
14914 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
14915 libc_nonshared.a from targets in modules-names.
14917 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
14919 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
14922 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
14924 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
14925 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
14926 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
14927 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
14929 2010-06-02 Andreas Schwab <schwab@redhat.com>
14931 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
14933 2010-06-14 Ulrich Drepper <drepper@redhat.com>
14935 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
14937 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14938 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14939 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14940 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14941 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14942 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
14944 2010-06-14 Roland McGrath <roland@redhat.com>
14946 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
14948 2010-06-07 Jakub Jelinek <jakub@redhat.com>
14950 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
14951 __REDIRECT followed by __THROW.
14952 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
14953 * posix/getopt.h (getopt): Likewise.
14955 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
14957 * hurd/lookup-at.c (__file_name_lookup_at): Accept
14958 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
14959 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
14961 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
14962 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
14964 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
14966 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
14968 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
14971 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14972 Properly check family and model.
14974 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
14976 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
14978 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
14980 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
14982 2010-05-21 Ulrich Drepper <drepper@redhat.com>
14984 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
14987 2010-05-19 Andreas Schwab <schwab@redhat.com>
14989 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
14992 2010-05-21 Andreas Schwab <schwab@redhat.com>
14994 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
14995 and internal_recvmmsg.
14996 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
14997 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
14998 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
14999 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
15001 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
15002 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
15003 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
15005 2010-05-20 Andreas Schwab <schwab@redhat.com>
15007 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
15009 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
15011 POWER7 optimizations.
15012 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
15013 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
15015 2010-05-19 Ulrich Drepper <drepper@redhat.com>
15017 * version.h: Update for 2.13 development version.
15019 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
15021 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
15022 exceptions. Return 0.
15024 2010-05-07 Roland McGrath <roland@redhat.com>
15026 * elf/ldconfig.c (main): Add a const.
15028 2010-05-06 Ulrich Drepper <drepper@redhat.com>
15030 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
15031 (args_options): Add no-idn option.
15032 (ahosts_keys_int): Add idn_flags to ai_flags.
15033 (parse_option): Handle 'i' option to clear idn_flags.
15035 * malloc/malloc.c (_int_free): Possible race in the most recently
15036 added check. Only act on the data if no current modification
15039 See ChangeLog.17 for earlier changes.