1 2012-05-30 Richard Henderson <rth@twiddle.net>
3 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
4 with #ifndef NOT_IN_libc.
6 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
7 marked to avoid plt entry.
9 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12 * Makeconfig (default-abi): New macro.
13 (abi-includes): Likewise.
14 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
15 $(abi-$(default-abi)-lib-soname) for soname if defined.
16 ($(common-objpfx)gnu/lib-names.stmp): Generate from
18 * Makefile (installed-stubs): Likewise.
19 * include/stubs-biarch.h: Removed.
20 * scripts/lib-names.awk: Only handle one library at a time.
21 * scripts/soversions.awk: Remove WORDSIZE support.
22 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
24 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
26 (syscall-list-default-condition): Likewise.
27 (syscall-list-default-condition): Likewise.
28 (syscall-list-includes): Likewise.
29 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
30 syscall-list-* with abi-*. Handle undefined abi-variants.
31 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
32 * sysdeps/unix/sysv/linux/i386/Implies: New file.
33 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
34 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
35 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
36 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
38 (syscall-list-32-options): Likewise.
39 (syscall-list-32-condition): Likewise.
40 (syscall-list-64-options): Likewise.
41 (syscall-list-64-condition): Likewise.
42 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
44 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
47 (abi-64-ld-soname): New macro.
48 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
49 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
52 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
53 * sysdeps/x86_64/x32/shlib-versions: Likewise.
55 2012-05-30 Joseph Myers <joseph@codesourcery.com>
57 * sysdeps/unix/sysv/linux/kernel-features.h
58 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
59 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
60 include <kernel-features.h>.
61 [!__NR_ftruncate64]: Remove conditional code.
62 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63 [__NR_ftruncate64]: Make code unconditional.
64 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65 * sysdeps/unix/sysv/linux/truncate64.c: Do not
66 include <kernel-features.h>.
67 [!__NR_ftruncate64]: Remove conditional code.
68 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69 [__NR_ftruncate64]: Make code unconditional.
70 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
71 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
72 include <kernel-features.h>.
73 [!__NR_ftruncate64]: Remove conditional code.
74 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
75 [__NR_ftruncate64]: Make code unconditional.
76 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
77 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
78 include <kernel-features.h>.
79 [!__NR_ftruncate64]: Remove conditional code.
80 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
81 [__NR_ftruncate64]: Make code unconditional.
82 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
84 * configure.in (libc_cv_fpie): Weaken to a compile test using
86 * configure: Regenerated.
88 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
90 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
91 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
92 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
93 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
95 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
96 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
97 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
98 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
99 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
100 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
103 2012-05-27 David S. Miller <davem@davemloft.net>
105 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
107 (__Q_simulate_exceptions): Return void. Change to simulate
108 exceptions by writing into the %fsr.
109 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
110 (__Qp_handle_exceptions): Likewise.
112 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
113 __Qp_handle_exceptions.
114 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
115 __Qp_handle_exceptions.
116 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
117 as unused and give dummy FP_RND_NEAREST initializer.
118 (FP_INHIBIT_RESULTS): Define.
119 (___Q_simulate_exceptions): Update declaration.
120 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
122 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
123 as unused and give dummy FP_RND_NEAREST initializer.
124 (__Qp_handle_exceptions): Update declaration.
125 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
128 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
130 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
131 the temporary FPU control word.
132 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
133 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
134 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
135 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
136 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
137 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
138 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
139 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
140 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
141 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
142 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
144 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
146 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
149 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
151 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
152 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
153 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
154 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
156 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
157 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
160 2012-05-27 Ulrich Drepper <drepper@gmail.com>
162 * po/h.po: Update from translation team.
164 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
166 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
168 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
169 handling of denormals.
170 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
171 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
172 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
173 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
174 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
175 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
176 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
179 2012-05-26 Marek Polacek <polacek@redhat.com>
182 * math/libm-test.inc (fma_test): Don't always expect underflow
185 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
188 * elf/tst-execstack.c: Include stackinfo.h.
189 (do_test): Adjust test case to ensure that pthread_getattr_np
190 behaviour remains the same after marking stack executable.
192 2012-05-25 Joseph Myers <joseph@codesourcery.com>
194 * sysdeps/unix/sysv/linux/kernel-features.h
195 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
196 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
198 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
199 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
200 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
202 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
203 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
205 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
207 * configure.in: Define the default includes to being none.
208 * configure: Regenerated.
210 2012-05-25 Roland McGrath <roland@hack.frob.com>
212 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
213 * sysdeps/x86_64/setjmp.S: Likewise.
214 * sysdeps/i386/bsd-setjmp.S: Likewise.
215 * sysdeps/i386/bsd-_setjmp.S: Likewise.
216 * sysdeps/i386/setjmp.S: Likewise.
217 * sysdeps/i386/__longjmp.S: Likewise.
218 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
219 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
221 * include/stap-probe.h: New file.
222 * configure.in: Handle --enable-systemtap.
223 * configure: Regenerated.
224 * config.h.in (USE_STAP_PROBE): New #undef.
225 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
226 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
227 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
229 2012-05-25 Joseph Myers <joseph@codesourcery.com>
232 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
233 to 2.4.0 where earlier.
234 * sysdeps/unix/sysv/linux/configure: Regenerated.
235 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
237 [__ASSUME_32BITUIDS]: Make code unconditional.
238 [!__ASSUME_32BITUIDS]: Remove conditional code.
239 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
241 [__ASSUME_32BITUIDS]: Make code unconditional.
242 [!__ASSUME_32BITUIDS]: Remove conditional code.
243 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
244 [__ASSUME_32BITUIDS]: Make code unconditional.
245 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
246 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
248 [__ASSUME_32BITUIDS]: Make code unconditional.
249 [!__ASSUME_32BITUIDS]: Remove conditional code.
250 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
252 [__ASSUME_32BITUIDS]: Make code unconditional.
253 [!__ASSUME_32BITUIDS]: Remove conditional code.
254 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
256 [__ASSUME_32BITUIDS]: Make code unconditional.
257 [!__ASSUME_32BITUIDS]: Remove conditional code.
258 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
260 [__ASSUME_32BITUIDS]: Make code unconditional.
261 [!__ASSUME_32BITUIDS]: Remove conditional code.
262 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
264 [__ASSUME_32BITUIDS]: Make code unconditional.
265 [!__ASSUME_32BITUIDS]: Remove conditional code.
266 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
268 [__ASSUME_32BITUIDS]: Make code unconditional.
269 [!__ASSUME_32BITUIDS]: Remove conditional code.
270 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
272 [__ASSUME_32BITUIDS]: Make code unconditional.
273 [!__ASSUME_32BITUIDS]: Remove conditional code.
274 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
276 [__ASSUME_32BITUIDS]: Make code unconditional.
277 [!__ASSUME_32BITUIDS]: Remove conditional code.
278 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
280 [__ASSUME_32BITUIDS]: Make code unconditional.
281 [!__ASSUME_32BITUIDS]: Remove conditional code.
282 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
284 [__ASSUME_32BITUIDS]: Make code unconditional.
285 [!__ASSUME_32BITUIDS]: Remove conditional code.
286 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
288 [__NR_setresgid] (__setresgid): Do not declare.
289 [__ASSUME_32BITUIDS]: Make code unconditional.
290 [!__ASSUME_32BITUIDS]: Remove conditional code.
291 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
293 [__NR_setresuid] (__setresuid): Do not declare.
294 [__ASSUME_32BITUIDS]: Make code unconditional.
295 [!__ASSUME_32BITUIDS]: Remove conditional code.
296 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
298 [__ASSUME_32BITUIDS]: Make code unconditional.
299 [!__ASSUME_32BITUIDS]: Remove conditional code.
300 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
302 [__ASSUME_32BITUIDS]: Make code unconditional.
303 [!__ASSUME_32BITUIDS]: Remove conditional code.
304 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
306 [__ASSUME_32BITUIDS]: Make code unconditional.
307 [!__ASSUME_32BITUIDS]: Remove conditional code.
308 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
310 [__ASSUME_32BITUIDS]: Make code unconditional.
311 [!__ASSUME_32BITUIDS]: Remove conditional code.
312 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
314 [__ASSUME_32BITUIDS]: Make code unconditional.
315 [!__ASSUME_32BITUIDS]: Remove conditional code.
316 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
318 [__ASSUME_32BITUIDS]: Make code unconditional.
319 [!__ASSUME_32BITUIDS]: Remove conditional code.
320 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
322 [__ASSUME_32BITUIDS]: Make code unconditional.
323 [!__ASSUME_32BITUIDS]: Remove conditional code.
324 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
326 [__ASSUME_32BITUIDS]: Make code unconditional.
327 [!__ASSUME_32BITUIDS]: Remove conditional code.
328 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
330 [__ASSUME_32BITUIDS]: Make code unconditional.
331 [!__ASSUME_32BITUIDS]: Remove conditional code.
332 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
334 [__ASSUME_32BITUIDS]: Make code unconditional.
335 [!__ASSUME_32BITUIDS]: Remove conditional code.
336 * sysdeps/unix/sysv/linux/kernel-features.h
337 (__ASSUME_SETRESUID_SYSCALL): Remove.
338 (__ASSUME_SETRESGID_SYSCALL): Likewise.
339 (__ASSUME_32BITUIDS): Likewise.
340 (__ASSUME_LDT_WORKS): Likewise.
341 (__ASSUME_O_DIRECTORY): Likewise.
342 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
343 architecture but not kernel version.
344 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
345 (__ASSUME_MMAP2_SYSCALL): Likewise.
346 (__ASSUME_STAT64_SYSCALL): Likewise.
347 (__ASSUME_IPC64): Likewise.
348 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
350 [__ASSUME_32BITUIDS]: Make code unconditional.
351 [!__ASSUME_32BITUIDS]: Remove conditional code.
352 * sysdeps/unix/sysv/linux/opendir.c: Do not include
354 [__ASSUME_O_DIRECTORY]: Make code unconditional.
355 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
356 132096]: Remove conditional code.
357 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
358 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
360 [__ASSUME_32BITUIDS]: Make code unconditional.
361 [!__ASSUME_32BITUIDS]: Remove conditional code.
362 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
364 [__ASSUME_32BITUIDS]: Make code unconditional.
365 [!__ASSUME_32BITUIDS]: Remove conditional code.
366 * sysdeps/unix/sysv/linux/setegid.c: Do not include
368 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
370 (__setresgid): Do not declare.
371 [__ASSUME_32BITUIDS]: Make code unconditional.
372 [!__ASSUME_32BITUIDS]: Remove conditional code.
373 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
375 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
377 (__setresuid): Do not declare.
378 [__ASSUME_32BITUIDS]: Make code unconditional.
379 [!__ASSUME_32BITUIDS]: Remove conditional code.
380 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
382 [__ASSUME_32BITUIDS]: Make code unconditional.
383 [!__ASSUME_32BITUIDS]: Remove conditional code.
384 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
386 [__ASSUME_32BITUIDS]: Make code unconditional.
387 [!__ASSUME_32BITUIDS]: Remove conditional code.
389 2012-05-25 Richard Henderson <rth@twiddle.net>
391 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
392 dl_hwcap to ifunc resolver.
393 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
395 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
396 dl_hwcap to ifunc resolver.
397 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
399 2012-05-24 Joseph Myers <joseph@codesourcery.com>
402 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
403 for |x| <= 2**-26, not 2**-57.
404 * math/libm-test.inc (acos_test): Do not allow spurious underflow
407 2012-05-24 Jeff Law <law@redhat.com>
409 * stdio-common/Makefile (tests): Add bug25.
410 * stdio-common/bug25.c: New test.
412 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
415 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
416 multiple of MALLOC_ALIGNMENT in size.
417 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
419 2012-05-24 Joseph Myers <joseph@codesourcery.com>
421 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
423 (FILENAME_MAX): Use macro-int-constant.
424 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
425 (_IOFBF): Use macro-int-constant.
428 (SEEK_CUR): Likewise.
429 (SEEK_END): Likewise.
430 (SEEK_SET): Likewise.
432 (EOF): Use macro-int-constant. Require < 0.
433 (NULL): Use macro-constant. Require == 0.
434 (stdin): Require type to be FILE *.
437 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
439 (EXIT_SUCCESS): Likewise.
440 (NULL): Use macro-constant. Require == 0.
441 (RAND_MAX): Use macro-int-constant.
442 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
443 [C99-based standards] (strtof): Require function.
444 [C99-based standards] (strtold): Likewise.
445 [C99-based standards] (strtoll): Likewise.
446 [C99-based standards] (strtoull): Likewise.
447 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
448 [ISO || ISO99 || ISO11] (limits.h): Likewise.
449 [ISO || ISO99 || ISO11] (math.h): Likewise.
450 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
451 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
452 [ISO || ISO99 || ISO11] (*_t): Do not allow.
454 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
457 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
458 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
459 * intl/dgettext.c (DCGETTEXT): Likewise.
460 * intl/gettext.c (DCGETTEXT): Likewise.
461 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
462 * posix/regex_internal.h (gettext): Likewise.
463 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
465 * include/argz.h (__argz_count_internal)
466 (__argz_stringify_internal): Remove declaration.
467 (__argz_count, __argz_stringify): Declare hidden proto.
468 * intl/dcgettext.c: Remove use of INTDEF.
469 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
470 * string/argz-stringify.c: Likewise.
471 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
472 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
473 Declare hidden proto.
474 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
475 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
476 Declare hidden proto.
477 * include/stdio.h (__asprintf_internal): Don't declare.
478 (__asprintf): Don't define as macro. Declare hidden proto.
479 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
480 (__fsetlocking): Declare hidden proto.
481 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
482 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
484 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
485 (_IO_setlinebuf): Remove use of INTUSE.
486 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
487 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
488 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
490 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
491 (_IO_do_flush): Remove use of INTUSE.
492 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
493 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
494 (_IO_adjust_column, _IO_least_wmarker)
495 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
496 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
497 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
498 (_IO_default_doallocate, _IO_wdefault_doallocate)
499 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
500 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
501 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
502 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
503 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
504 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
505 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
506 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
507 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
508 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
509 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
510 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
511 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
513 (_IO_flush_all_internal, _IO_adjust_column_internal)
514 (_IO_default_uflow_internal, _IO_default_finish_internal)
515 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
516 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
517 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
518 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
519 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
520 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
521 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
522 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
523 (_IO_file_close_internal, _IO_file_close_it_internal)
524 (_IO_file_underflow_internal, _IO_file_overflow_internal)
525 (_IO_file_init_internal, _IO_file_attach_internal)
526 (_IO_file_fopen_internal, _IO_file_read_internal)
527 (_IO_file_sync_internal, _IO_file_seek_internal)
528 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
529 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
530 (_IO_str_underflow_internal, _IO_str_overflow_internal)
531 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
532 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
533 (_IO_list_all_internal, _IO_link_in_internal)
534 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
535 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
536 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
537 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
538 (_IO_do_write_internal, _IO_padn_internal)
539 (_IO_getline_info_internal, _IO_getline_internal)
540 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
541 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
542 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
543 (_IO_vfscanf_internal, _IO_vfprintf_internal)
544 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
545 (_IO_init_internal, _IO_un_link_internal): Don't declare.
546 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
547 with libc_hidden_ver, remove use of INTUSE.
548 * libio/genops.c: Likewise.
549 * libio/freopen.c: Likewise.
550 * libio/freopen64.c: Likewise.
551 * libio/iofclose.c: Likewise.
552 * libio/iofdopen.c: Likewise.
553 * libio/iofflush.c: Likewise.
554 * libio/iofflush_u.c: Likewise.
555 * libio/iofgets.c: Likewise.
556 * libio/iofgets_u.c: Likewise.
557 * libio/iofopen.c: Likewise.
558 * libio/iofopncook.c: Likewise.
559 * libio/iofread.c: Likewise.
560 * libio/iofread_u.c: Likewise.
561 * libio/ioftell.c: Likewise.
562 * libio/iofwrite.c: Likewise.
563 * libio/iogetline.c: Likewise.
564 * libio/iogets.c: Likewise.
565 * libio/iogetwline.c: Likewise.
566 * libio/iopadn.c: Likewise.
567 * libio/iopopen.c: Likewise.
568 * libio/ioseekoff.c: Likewise.
569 * libio/ioseekpos.c: Likewise.
570 * libio/iosetbuffer.c: Likewise.
571 * libio/iosetvbuf.c: Likewise.
572 * libio/ioungetc.c: Likewise.
573 * libio/ioungetwc.c: Likewise.
574 * libio/iovdprintf.c: Likewise.
575 * libio/iovsprintf.c: Likewise.
576 * libio/iovsscanf.c: Likewise.
577 * libio/memstream.c: Likewise.
578 * libio/obprintf.c: Likewise.
579 * libio/oldfileops.c: Likewise.
580 * libio/oldiofclose.c: Likewise.
581 * libio/oldiofdopen.c: Likewise.
582 * libio/oldiofopen.c: Likewise.
583 * libio/oldiopopen.c: Likewise.
584 * libio/oldstdfiles.c: Likewise.
585 * libio/putc.c: Likewise.
586 * libio/setbuf.c: Likewise.
587 * libio/setlinebuf.c: Likewise.
588 * libio/stdfiles.c: Likewise.
589 * libio/strops.c: Likewise.
590 * libio/vasprintf.c: Likewise.
591 * libio/vscanf.c: Likewise.
592 * libio/vsnprintf.c: Likewise.
593 * libio/vswprintf.c: Likewise.
594 * libio/wfiledoalloc.c: Likewise.
595 * libio/wfileops.c: Likewise.
596 * libio/wgenops.c: Likewise.
597 * libio/wmemstream.c: Likewise.
598 * libio/wstrops.c: Likewise.
599 * libio/__fpurge.c: Likewise.
600 * libio/__fsetlocking.c: Likewise.
601 * assert/assert.c: Likewise.
602 * debug/fgets_chk.c: Likewise.
603 * debug/fgets_u_chk.c: Likewise.
604 * debug/fread_chk.c: Likewise.
605 * debug/fread_u_chk.c: Likewise.
606 * debug/gets_chk.c: Likewise.
607 * debug/obprintf_chk.c: Likewise.
608 * debug/vasprintf_chk.c: Likewise.
609 * debug/vdprintf_chk.c: Likewise.
610 * debug/vsnprintf_chk.c: Likewise.
611 * debug/vsprintf_chk.c: Likewise.
612 * malloc/mtrace.c: Likewise.
613 * misc/error.c: Likewise.
614 * misc/syslog.c: Likewise.
615 * stdio-common/asprintf.c: Likewise.
616 * stdio-common/fxprintf.c: Likewise.
617 * stdio-common/getw.c: Likewise.
618 * stdio-common/isoc99_fscanf.c: Likewise.
619 * stdio-common/isoc99_scanf.c: Likewise.
620 * stdio-common/isoc99_vfscanf.c: Likewise.
621 * stdio-common/isoc99_vscanf.c: Likewise.
622 * stdio-common/isoc99_vsscanf.c: Likewise.
623 * stdio-common/printf-prs.c: Likewise.
624 * stdio-common/printf_fp.c: Likewise.
625 * stdio-common/printf_fphex.c: Likewise.
626 * stdio-common/printf_size.c: Likewise.
627 * stdio-common/putw.c: Likewise.
628 * stdio-common/scanf.c: Likewise.
629 * stdio-common/sprintf.c: Likewise.
630 * stdio-common/tmpfile.c: Likewise.
631 * stdio-common/vfprintf.c: Likewise.
632 * stdio-common/vfscanf.c: Likewise.
633 * stdlib/strfmon_l.c: Likewise.
634 * sunrpc/openchild.c: Likewise.
635 * sunrpc/xdr_stdio.c: Likewise.
636 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
637 * sysdeps/mach/hurd/tmpfile.c: Likewise.
639 2012-05-24 Roland McGrath <roland@hack.frob.com>
641 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
643 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
644 in the third column, to generate for the shared library an IFUNC
645 that uses _dl_vdso_vsym.
646 * Makerules (COMPILE.c, compile-stdin.c): New variables.
647 * Makeconfig (object-suffixes-noshared): New variable.
649 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
650 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
651 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
652 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
655 * include/sys/time.h (__gettimeofday): Remove macro.
656 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
657 * time/gettimeofday.c (__gettimeofday): Remove #undef.
659 (__gettimeofday): Add libc_hidden_def.
660 (gettimeofday): Add libc_hidden_weak.
661 * sysdeps/mach/gettimeofday.c: Likewise.
662 * sysdeps/posix/gettimeofday.c: Likewise.
663 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
664 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
665 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
666 (__gettimeofday_internal): Remove strong_alias.
667 (__gettimeofday): Add libc_hidden_def.
668 (gettimeofday): Add libc_hidden_weak.
669 * sysdeps/unix/syscalls.list (gettimeofday):
670 Remove __gettimeofday_internal alias.
672 2012-05-24 Daniel Jacobowitz <drow@false.org>
673 H.J. Lu <hongjiu.lu@intel.com>
676 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
677 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
678 (largebin_index_32_big): New.
679 (largebin_index): Use it for 16-byte alignment.
680 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
681 correction with front_misalign.
683 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
685 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
686 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
688 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
690 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
692 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
694 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
696 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
698 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
700 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
702 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
704 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
706 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
708 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
711 * scripts/data/c++-types-x32-linux-gnu.data: New file.
712 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
714 2012-05-24 Joseph Myers <joseph@codesourcery.com>
718 * math/libm-test.inc (exp_test): Add test from bug 14036.
719 (pow_test): Add test from bug 10846.
721 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
723 (special_function): Do not include flags in test name.
724 (parse_args): Likewise.
725 * sysdeps/i386/fpu/libm-test-ulps: Update.
726 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
727 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
728 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
729 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
731 * math/gen-libm-test.pl (%beautify): Add entries for underflow
733 * math/libm-test.inc ("Philosophy"): Update comment about
735 (UNDERFLOW_EXCEPTION): New macro.
736 (UNDERFLOW_EXCEPTION_OK): Likewise.
737 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
738 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
739 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
740 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
741 (INVALID_EXCEPTION_OK): Update value.
742 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
743 (OVERFLOW_EXCEPTION_OK): Likewise.
744 (IGNORE_ZERO_INF_SIGN): Likewise.
745 (test_exceptions): Handle underflow exceptions.
746 (acos_test): Update for underflow exception expectations.
747 (cexp_test): Likewise.
748 (clog_test): Likewise.
749 (clog10_test): Likewise.
750 (csqrt_test): Likewise.
751 (ctan_test): Likewise.
752 (ctanh_test): Likewise.
753 (exp_test): Likewise.
754 (exp10_test): Likewise.
755 (exp2_test): Likewise.
756 (expm1_test): Likewise.
757 (fma_test): Likewise.
760 (nexttoward_test): Likewise.
761 (pow_test): Likewise.
762 (scalbn_test): Likewise.
763 (scalbln_test): Likewise.
764 (tan_test): Likewise.
766 * sysdeps/i386/fpu/libm-test-ulps: Update.
767 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
769 2012-05-23 David S. Miller <davem@davemloft.net>
771 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
772 (__libc_sigaction): Remove unused local variables.
774 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
776 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
778 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
780 mktime: avoid signed integer overflow
781 * time/mktime.c (__mktime_internal): Do not mishandle the case
782 where diff == INT_MIN.
784 mktime: simplify computation of average
785 * time/mktime.c (ranged_convert): Use new time_t_avg function
786 instead of rolling our own (probably-slower) code.
788 mktime: do not assume signed right shift propagates sign bit
789 * time/mktime.c (isdst_differ): New static function.
790 (__mktime_internal): No need to normalize tm_isdst now.
791 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
794 mktime: merge another wrapv change from gnulib
795 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
798 mktime: remove incorrect attempt at unusual arithmetics
799 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
800 The code didn't really work on such machines anyway.
801 (TYPE_MINIMUM): Assume two's complement.
802 (twos_complement_arithmetic): Verify that long_int and time_t
803 are two's complement (or unsigned, in the latter case).
805 mktime: check signed shifts on long_int and time_t, too
806 * time/mktime.c (SHR): Check that shifts work as desired
807 on the types long_int and time_t too, as SHR is used on
810 mktime: do not assume 'long' is wide enough
811 * time/mktime.c (verify): Move decl up.
812 (long_int): New type.
813 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
814 to remove assumption in the code that 'long' is wide enough to
815 store year values. This assumption is not true on x32 and on
816 some non-glibc platforms.
818 mktime: merge wrapv change from gnulib
819 * time/mktime.c (WRAPV): New macro.
820 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
821 (guess_time_tm, __mktime_internal): Do not assume that signed
822 integer overflow wraps around; modern compilers generate code
823 where this assumption is no longer valid.
825 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
827 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
828 Replace "jmp L(pseudo_end)" with "ret".
829 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
832 2012-05-23 Andreas Jaeger <aj@suse.de>
834 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
835 * sysdeps/unix/sysv/linux/poll.c: Remove file.
837 2012-05-23 Andreas Jaeger <aj@suse.de>
838 Maximilian Attems <max@stro.at>
840 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
843 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
845 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
846 code so that pseudo_end is just ret and the stack pointer is
847 correct also for static library in error case.
849 2012-05-23 Joseph Myers <joseph@codesourcery.com>
851 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
852 move to syscalls.list.
853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
858 * manual/install.texi (Running make install): Do not mention Linux
859 kernel version for which pt_chown is not needed.
860 (Linux): Do not mention problems with nscd with 2.0 kernels.
861 * INSTALL: Regenerated.
863 2012-05-23 Andreas Jaeger <aj@suse.de>
865 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
866 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
868 * sysdeps/unix/sysv/linux/s390/bits/mman.h
869 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
870 * sysdeps/unix/sysv/linux/sh/bits/mman.h
871 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
872 * sysdeps/unix/sysv/linux/i386/bits/mman.h
873 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
874 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
875 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
876 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
877 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
878 * sysdeps/unix/sysv/linux/bits/in.h
879 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
881 2012-05-22 Roland McGrath <roland@hack.frob.com>
883 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
884 (PREPARE_VERSION): Just use assert instead, it will be elided
885 under [NDEBUG] anyway.
887 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
889 * sysdeps/unix/sysv/linux/Makefile: Include
890 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
891 (sysdep_routines): Remove sysctl.
892 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
893 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
894 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
895 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
896 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
898 2012-05-22 Andreas Jaeger <aj@suse.de>
900 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
901 that pseudo_end is just ret and the stack pointer is correct also
902 for static library in error case.
904 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
907 * nss/nsswitch.c (defconfig_entries): New variable.
908 (__nss_database_lookup): Don't leak defconfig entries.
909 (nss_parse_service_list): Don't leak on error paths.
910 (free_database_entries): New function.
911 (free_defconfig): New function.
912 (free_mem): Move common code to free_database_entries.
914 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
916 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
918 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
920 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
921 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
922 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
924 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
925 (INTERNAL_SYSCALL_TYPES): Likewise.
926 (LOAD_ARGS_TYPES_[1-6]): Likewise.
927 (LOAD_REGS_TYPES_[1-6]): Likewise.
928 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
929 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
931 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
933 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
934 copysignl for GLIBC_2_0.
935 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
936 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
937 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
939 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
940 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
942 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
944 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
945 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
947 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
950 * time/mktime.c: Update copyright years.
952 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
954 mktime: merge comment-quoting-style change from gnulib
955 * time/mktime.c: Quote 'like this' in comments.
956 The GNU coding standards suggest that we no longer quote `like this',
957 as "`" and "'" are typically rendered asymmetrically nowadays.
958 The typical gnulib style is to quote 'like this' when quoting
959 code, and "like this" when quoting English.
961 * time/mktime.c (compile-command): Add "-I.".
963 mktime: merge mktime-internal.h change from gnulib
964 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
966 mktime: merge time_r change from gnulib
967 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
969 mktime: merge DEBUG change from gnulib
970 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
971 case system <time.h> has a #define.
973 mktime: merge <sys/types.h> change from gnulib
974 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
975 since <time.t> is now guaranteed to define time_t.
977 mktime: merge HAVE_CONFIG_H change from gnulib
978 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
980 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
982 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
985 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
987 (struct rusage): Use anonymous union to pad each field to
990 2012-05-21 David S. Miller <davem@davemloft.net>
992 * Makefules (o-iterator): Remove .s cases.
993 (compile-command.s): Delete.
995 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
997 2012-05-21 Joseph Myers <joseph@codesourcery.com>
999 * configure.in (libc_cv_predef_stack_protector): Only consider
1000 "foobar" and "__stack_chk_fail" lines in libc_undefs.
1001 * configure: Regenerated.
1003 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1005 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1006 New macro. Use R*LP on int and pointer.
1007 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
1008 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
1009 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
1010 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
1012 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
1013 [__WORDSIZE_TIME64_COMPAT32] instead of
1014 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
1015 (struct utmp): Likewise.
1016 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
1017 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
1019 (__WORDSIZE_TIME64_COMPAT32): This.
1020 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
1021 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
1022 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
1023 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
1024 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
1025 (__WORDSIZE_TIME64_COMPAT32): New macro.
1027 2012-05-21 Andreas Jaeger <aj@suse.de>
1029 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
1030 only if [SHARED]. Add prototype for __wcschr_ia32.
1032 2012-05-21 Roland McGrath <roland@hack.frob.com>
1034 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
1035 of %rbp unmolested in the jmp_buf while mangling the low bits.
1036 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
1037 unmolested high bits of %rbp while demangling the low bits.
1038 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
1040 2012-05-21 Andreas Jaeger <aj@suse.de>
1042 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
1043 * sunrpc/svc_simple.c: Use it for registerrpc.
1044 * sunrpc/xcrypt.c: Use it for passwd2des.
1046 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
1048 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1050 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
1051 Don't define if [__SYSCALL_WORDSIZE != 32].
1052 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
1055 2012-05-21 Bruno Haible <bruno@clisp.org>
1056 Andreas Jaeger <aj@suse.de>
1058 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
1059 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
1060 inptr and inend for must_buffer_ch.
1061 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
1062 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
1063 * stdio-common/Makefile (tests): Remove bug15.
1064 (bug15-ENV): Remove macro.
1065 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
1068 2012-05-19 Andreas Jaeger <aj@suse.de>
1069 Roland McGrath <roland@hack.frob.com>
1071 * manual/contrib.texi: Completely rewritten. It contains now an
1072 alphabetical list of contributors and their contributions.
1074 2012-05-21 Richard Henderson <rth@twiddle.net>
1076 * misc/getauxval.c (__getauxval): Use unsigned long int.
1077 * misc/sys/auxv.h: Include <sys/cdefs.h>.
1078 (getauxval): Use unsigned long int.
1080 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1082 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1084 2012-05-21 Roland McGrath <roland@hack.frob.com>
1086 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
1087 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
1088 __alignof__ (long double).
1090 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1092 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1094 2012-05-20 Richard Henderson <rth@twiddle.net>
1096 * misc/getauxval.c: New file.
1097 * misc/sys/auxv.h: New file.
1098 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
1099 (routines): Add getauxval.
1100 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
1101 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
1102 * elf/dl-sysdep.c (_dl_auxv): Remove.
1103 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
1104 * elf/dl-support.c (_dl_auxv): New variable.
1105 (_dl_aux_init): Initialize it.
1106 * manual/startup.texi (Auxiliary Vector): New node.
1107 * sysdeps/generic/bits/hwcap.h: New file.
1108 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
1109 * sysdeps/powerpc/sysdep.h: ... here. Include it.
1110 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
1111 * sysdeps/sparc/sysdep.h: ... here. Include it.
1112 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
1113 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
1114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
1117 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
1118 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
1119 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
1120 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1121 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1122 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
1123 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
1125 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1127 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1129 2012-05-19 David S. Miller <davem@davemloft.net>
1131 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1133 2012-05-19 Joseph Myers <joseph@codesourcery.com>
1136 * math/s_ccosh.c: Include <float.h>
1137 (__ccosh): Avoid internal overflow calculating sinh and cosh
1138 values before multiplying by sin and cos values.
1139 * math/s_ccoshf.c: Likewise.
1140 * math/s_ccoshl.c: Likewise.
1141 * math/s_csin.c: Likewise.
1142 * math/s_csinf.c: Likewise.
1143 * math/s_csinl.c: Likewise.
1144 * math/s_csinh.c: Likewise.
1145 * math/s_csinhf.c: Likewise.
1146 * math/s_csinhl.c: Likewise.
1147 * math/libm-test.inc (ccos_test): Add more tests.
1148 (ccosh_test): Likewise.
1149 (csin_test): Likewise.
1150 (csinh_test): Likewise.
1151 * sysdeps/i386/fpu/libm-test-ulps: Update.
1152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1154 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
1156 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
1157 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
1159 * sysdeps/x86_64/x32/_itoa.h: Add comment.
1161 2012-05-19 Joseph Myers <joseph@codesourcery.com>
1163 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
1164 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
1165 * sysdeps/powerpc/soft-fp/Versions: Likewise.
1166 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
1167 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
1168 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
1169 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
1170 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
1171 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
1172 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
1173 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
1174 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
1175 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
1176 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
1177 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
1178 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
1179 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
1180 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
1181 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
1182 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
1183 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
1184 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
1185 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
1186 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
1187 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
1188 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
1189 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
1190 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
1191 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
1192 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
1193 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
1195 2012-05-18 Andreas Jaeger <aj@suse.de>
1197 * csu/.gitignore: Delete.
1199 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1201 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
1202 (timex): Use __syscall_slong_t.
1204 2012-05-18 Andreas Jaeger <aj@suse.de>
1205 Carlos O'Donell <carlos_odonell@mentor.com>
1207 * manual/install.texi (Configuring and compiling): Update
1208 description about files modified in the source directory.
1209 * INSTALL: Regenerated.
1211 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1213 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
1214 value. Use "or" to set return value to -1.
1215 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
1216 negate return value.
1218 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1220 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
1221 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
1222 failure if the compiler has Graphite support disabled.
1223 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
1225 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
1226 CFLAGS-memmove.c): Likewise.
1227 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
1230 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1232 * sysdeps/x86_64/x32/_itoa.h: New file.
1234 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
1235 getdents system call only if kernel and user dirents have the
1236 same d_ino and d_off.
1238 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1239 LLONG_MAX != LONG_MAX.
1240 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1241 (_fitoa_word): Likewise.
1243 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
1245 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
1246 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
1247 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
1249 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
1250 include <bits/wordsize.h>. Check __x86_64__ instead of
1252 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
1253 if __x86_64__ is defined. Use anonymous union on fpstate.
1255 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
1258 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
1260 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
1261 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
1262 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
1263 Refer to _rtld_local_ro instead of _rtld_global_ro.
1264 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
1266 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
1268 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
1270 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
1271 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
1272 of _rtld_global, and rtld_progname instead of _dl_argv[0].
1274 * sysdeps/powerpc/powerpc32/dl-machine.c
1275 (__elf_machine_runtime_setup) [PROF]: Don't reference
1278 2012-05-18 Andreas Jaeger <aj@suse.de>
1280 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
1281 function only available for GCCs before 3.4 since GCC 3.4
1282 introduced a builtin.
1284 (llrintf): Likewise.
1292 (nearbyint): Likewise.
1293 (nearbyintf): Likewise.
1299 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1301 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
1302 on both fields and cast pointer to __syscall_ulong_t.
1304 * bits/types.h (__fsword_t): New type.
1305 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
1306 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
1307 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1308 (__FSWORD_T_TYPE): Likewise.
1309 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1310 (__FSWORD_T_TYPE): Likewise.
1311 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1312 (__FSWORD_T_TYPE): Likewise.
1313 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
1314 (__FSWORD_T_TYPE): Likewise.
1315 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
1316 __SWORD_TYPE with __fsword_t.
1317 (statfs64): Likewise.
1319 2012-05-17 David S. Miller <davem@davemloft.net>
1321 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
1323 2012-05-17 Andreas Jaeger <aj@suse.de>
1325 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
1328 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1330 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
1332 2012-05-17 Andreas Jaeger <aj@suse.de>
1334 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
1337 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1339 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
1341 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1343 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
1344 * sysdeps/x86_64/tst-mallocalign1.c: New file.
1346 2012-05-17 Andreas Jaeger <aj@suse.de>
1347 Carlos O'Donell <carlos_odonell@mentor.com>
1350 * sysdeps/x86_64/multiarch/init-arch.h
1351 (bit_YMM_Usable): Rename to...
1352 (bit_AVX_Usable): ... this.
1353 (bit_FMA4_Usable): New macro.
1354 (bit_XMM_state): New macro.
1355 (bit_YMM_state): New macro.
1356 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
1357 [__ASSEMBLER__] (index_AVX_Usable): ... this.
1358 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
1359 (CPUID_OSXSAVE): New macro.
1360 (CPUID_AVX): New macro.
1361 (CPUID_FMA4): New macro.
1362 (index_YMM_Usable): Rename to...
1363 (index_AVX_Usable): ... this.
1364 (HAS_AVX): Use HAS_ARCH_FEATURE.
1365 (HAS_FMA4): Likewise.
1366 (HAS_YMM_USABLE): Remove.
1367 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1368 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
1370 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
1371 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
1372 * sysdeps/x86_64/multiarch/Makefile: Likewise.
1373 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
1374 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
1376 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1378 * math/libm-test.c: Support platforms without multiple rounding modes.
1379 * math/bug-nextafter.c: Support platforms without FP exceptions.
1380 * math/bug-nexttoward.c: Likewise.
1381 * math/test-fenv.c: Likewise.
1382 * math/test-misc.c: Likewise.
1383 * stdlib/bug-getcontext.c: Likewise.
1385 2012-05-17 Andreas Jaeger <aj@suse.de>
1387 * manual/examples/search.c (critter_cmp): Change signature to
1389 * manual/string.texi (Collation Functions): Likewise.
1391 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1393 * bits/types.h: Fold copyright years.
1394 * bits/typesizes.h: Likewise.
1395 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
1396 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
1397 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
1398 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
1399 * time/time.h: Likewise.
1401 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
1404 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
1405 in instead of returning them. Return void.
1406 (__libc_mallinfo): Accumulate over all arenas.
1407 (__malloc_stats): Adjust for change in int_mallinfo interface.
1409 2012-05-16 Roland McGrath <roland@hack.frob.com>
1412 * configure.in (NM): Add AC_CHECK_TOOL for it.
1413 (libc_extra_cflags): New substituted variable.
1414 Check for -fstack-protector being used implicitly.
1415 * configure: Regenerated.
1416 * config.make.in (config-extra-cflags): New variable,
1417 gets @libc_extra_cflags@.
1418 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
1421 * configure.in: Check for _FORTIFY_SOURCE being predefined.
1422 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
1423 * configure: Regenerated.
1424 * config.make.in (CPPUNDEFS): New substituted variable.
1425 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
1426 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
1427 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
1429 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1431 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
1432 (mq_attr): Use __syscall_slong_t.
1434 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1436 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
1437 Check __x86_64__ instead of __WORDSIZE.
1438 (_STAT_VER_LINUX): Likewise.
1439 (stat): Check __x86_64__ instead of __WORDSIZE. Use
1440 __syscall_ulong_t and __syscall_slong_t.
1443 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1445 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
1447 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1449 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
1451 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1453 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
1456 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
1457 include <bits/wordsize.h>. Check __x86_64__ instead of
1459 (greg_t): Use "__extension__ long long int" if __x86_64__ is
1461 (mcontext_t): Replace "unsigned long" with "unsigned long long".
1463 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
1464 include <bits/wordsize.h>. Check __x86_64__ instead of
1466 (user_regs_struct): Use "__extension__ unsigned long long"
1467 instead of "unsigned long" if __x86_64__ is defined.
1468 (user): Likewise. Pad after pointer field if __ILP32__ is
1471 2012-05-16 Joseph Myers <joseph@codesourcery.com>
1473 * configure.in (makeinfo): Require version 4.5 or later. Allow
1475 * configure: Regenerated.
1476 * manual/install.texi (texinfo): Increase version requirement to
1478 * INSTALL: Regenerated.
1480 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
1482 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1484 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
1486 * sysdeps/x86_64/x32/ffs.c: New file.
1488 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
1490 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
1491 defined. Use __syscall_ulong_t.
1492 (shminfo): Use __syscall_ulong_t.
1493 (shm_info): Likewise.
1495 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
1498 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
1500 (msgqnum_t): Use __syscall_ulong_t.
1501 (msglen_t): Likewise.
1502 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
1505 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
1506 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1508 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
1510 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
1511 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
1513 * sysvipc/sys/msg.h (msgbuf): Replace long int with
1516 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
1517 include <bits/wordsize.h>. Check __x86_64__ instead of
1520 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
1521 "unsigned long long int" if __x86_64__ is defined.
1522 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
1524 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
1525 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1526 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
1528 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
1530 (GET_PC): Cast to uintptr_t first.
1531 (GET_FRAME): Likewise.
1532 (GET_STACK): Likewise.
1534 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
1535 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
1536 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
1537 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
1538 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
1539 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
1540 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
1541 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
1542 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
1543 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
1544 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
1545 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
1546 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1547 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
1548 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
1549 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
1550 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
1551 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
1552 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
1553 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
1554 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
1555 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
1556 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
1557 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
1558 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
1559 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
1560 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
1561 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
1562 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
1564 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
1566 * Makerules (+depfiles): Also collect depfiles from .oS in
1568 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
1569 .oS, $(libnldbl-routines)).
1571 * Makerules (native-compile-mkdep-flags): Define.
1572 * sunrpc/Makefile (extra-objs): Add $(addprefix
1573 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
1574 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
1575 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
1576 calling $(make-target-directory).
1578 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1580 * bits/types.h (__snseconds_t): Removed.
1581 * time/time.h (struct timespec): Replace __snseconds_t with
1583 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
1584 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
1586 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1587 (__SNSECONDS_T_TYPE): Likewise.
1588 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1589 (__SNSECONDS_T_TYPE): Likewise.
1590 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1591 (__SNSECONDS_T_TYPE): Likewise.
1593 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1595 * sysdeps/mach/hurd/bits/typesizes.h
1596 (__SYSCALL_SLONG_TYPE): New macro.
1597 (__SYSCALL_ULONG_TYPE): Likewise.
1599 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1601 * bits/types.h (__syscall_slong_t): New type.
1602 (__syscall_ulong_t): Likewise.
1604 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
1605 (__SYSCALL_ULONG_TYPE): Likewise.
1606 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1607 (__SYSCALL_SLONG_TYPE): Likewise.
1608 (__SYSCALL_ULONG_TYPE): Likewise.
1609 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1610 (__SYSCALL_SLONG_TYPE): Likewise.
1611 (__SYSCALL_ULONG_TYPE): Likewise.
1612 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1613 (__SYSCALL_SLONG_TYPE): Likewise.
1614 (__SYSCALL_ULONG_TYPE): Likewise.
1616 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1618 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
1619 Add sigaltstack-offsets.sym.
1620 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
1621 <sigaltstack-offsets.h>.
1622 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
1623 longjmp_msg pointer.
1624 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
1625 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
1627 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
1629 2012-05-15 Joseph Myers <joseph@codesourcery.com>
1631 * elf/stackguard-macros.h: Remove file.
1632 * sysdeps/generic/stackguard-macros.h: New file.
1633 * sysdeps/i386/stackguard-macros.h: Likewise.
1634 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
1635 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
1636 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
1637 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
1638 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
1639 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
1640 * sysdeps/x86_64/stackguard-macros.h: Likewise.
1641 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
1642 <elf/stackguard-macros.h>.
1645 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
1646 __aligned__ in attribute.
1647 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
1648 (gregset_t): Likewise.
1650 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1652 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
1653 * sysdeps/x86_64/64/Implies-after: Here. New file.
1654 * sysdeps/x86_64/x32/Implies-after: New file.
1656 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1658 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
1659 and access return value for _dl_profile_fixup. Use R10_LP to
1662 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1664 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
1666 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1668 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
1669 * sysdeps/x86_64/x32/sysdep.h: New file.
1671 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1673 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
1674 * sysdeps/x86_64/setjmp.S: Likewise.
1676 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1678 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
1679 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
1680 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
1681 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
1682 remove unused global constant.
1684 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
1686 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
1687 include of <not-cancel.h>.
1689 2012-05-15 Roland McGrath <roland@hack.frob.com>
1691 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
1693 2012-05-15 Jeff Law <law@redhat.com>
1694 Andreas Jaeger <aj@suse.de>
1697 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
1699 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
1700 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
1701 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
1702 code changing __hst_map_handle.map.
1704 2012-05-15 Roland McGrath <roland@hack.frob.com>
1706 * configure.in (sysnames): Look for Implies-before and Implies-after
1708 * configure: Regenerated.
1710 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1712 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
1713 8-byte data alignment with LP_SIZE alignment.
1715 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1717 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
1720 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1722 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
1724 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1726 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
1727 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
1728 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
1730 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1732 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1734 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
1735 (stackinfo_sub_sp): Likewise.
1737 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1739 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
1742 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1744 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
1747 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1749 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
1752 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1754 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
1756 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1758 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
1759 into R11_LP and load __x86_64_shared_cache_size_half into
1762 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1764 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
1767 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1769 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
1771 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
1773 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
1775 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
1776 powerpc32/power7/fpu/s_logb.c via #include.
1777 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
1778 powerpc32/power7/fpu/s_logbf.c via #include.
1779 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
1780 powerpc32/power7/fpu/s_logbl.c via #include.
1782 2012-05-15 Joseph Myers <joseph@codesourcery.com>
1784 * README.libm: Remove file.
1786 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1788 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
1789 count for x32. Use R*_LP and omit operand-size suffix.
1791 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1793 * shlib-versions: Move x86_64-.*-linux.* entries to ...
1794 * sysdeps/x86_64/64/shlib-versions: Here. New file.
1795 * sysdeps/x86_64/x32/shlib-versions: New file.
1797 2012-05-14 Roland McGrath <roland@hack.frob.com>
1799 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
1800 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
1801 Use _dl_fatal_printf instead.
1803 2012-05-14 Joseph Myers <joseph@codesourcery.com>
1805 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
1806 set if not set by the user. Do not allow for being unset.
1807 * sysdeps/unix/sysv/linux/configure: Regenerated.
1809 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1811 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
1812 the `q' suffix from lea and replace .quad with ASM_ADDR.
1814 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1816 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
1817 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
1819 (PTR_DEMANGLE): Likewise.
1821 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1823 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
1825 (ASM_ADDR): Likewise.
1843 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1845 * sysdeps/x86_64/x32/dl-machine.h: New file.
1847 2012-05-14 Andreas Jaeger <aj@suse.de>
1849 * manual/Makefile (subdir): Remove export of subdir.
1850 (all): Remove target.
1851 (.PHONY): Remove all from list.
1852 (mkinstalldirs): Remove.
1853 (.PHONY): Remove installdirs from list.
1854 ($(inst_infodir)/libc.info): Use make-target-directory.
1855 (installdirs): Remove.
1857 (glibc-targets): Remove.
1860 ($(objpfx)stubs ../po/manual.pot): Remove.
1861 ($(objpfx)stamp%): Remove.
1862 (make-target-directory): Remove.
1863 (subdir_install): Remove.
1871 * manual/.gitignore: Remove, it's not needed anymore.
1872 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
1874 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
1876 (texis): Renamed to $(objpfx)texis.
1877 (texis-path): New, contains path to generated files.
1878 (chapters.%): Use texis-path for complete path, add extra argument
1880 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
1881 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
1882 (summary,texi, stamp-summary): Use complete path of
1883 files. Generate files in build dir.
1884 (dir-add.texi): Build in build dir.
1885 (libm-err.texi,stamp-libm-err): Likewise.
1886 (version.texi, stamp-version): Likewise.
1887 (.%c.texi): Likewise.
1888 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
1889 (mostlyclean): Remove target.
1890 (realclean): Remove target.
1891 (generated): Add new variable with contents from mostlyclean and
1892 realclean, remove entries duplicated in common-mostlyclean, add
1893 stamp-libm-err and stamp-version.
1894 (generated-dirs): Add libc directory.
1895 ($(inst_infodir)/libc.info): Install files from build dir.
1897 * manual/install.texi (Configuring and compiling): Adjust since
1898 the info files are not part of the tar ball anymore.
1900 2012-05-14 Andreas Jaeger <aj@suse.de>
1902 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
1905 2012-05-14 Joseph Myers <joseph@codesourcery.com>
1908 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
1909 to 2.2.0 where earlier.
1910 * sysdeps/unix/sysv/linux/configure: Regenerated.
1911 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
1912 Remove conditional code.
1913 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
1914 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
1915 Remove conditional code.
1916 [!__NR_lchown]: Likewise.
1917 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
1918 [__NR_lchown]: Likewise.
1919 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
1920 comment referencing __ASSUME_LCHOWN_SYSCALL.
1921 * sysdeps/unix/sysv/linux/i386/sigaction.c
1922 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1923 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1924 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
1925 Remove conditional code.
1926 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
1927 (__protocol_available): Remove #if 0 code.
1928 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
1930 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
1931 * sysdeps/unix/sysv/linux/kernel-features.h
1932 (__ASSUME_GETCWD_SYSCALL): Don't define.
1933 (__ASSUME_REALTIME_SIGNALS): Likewise.
1934 (__ASSUME_PREAD_SYSCALL): Likewise.
1935 (__ASSUME_PWRITE_SYSCALL): Likewise.
1936 (__ASSUME_POLL_SYSCALL): Likewise.
1937 (__ASSUME_LCHOWN_SYSCALL): Likewise.
1938 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
1940 (__ASSUME_SIOCGIFNAME): Don't define.
1941 (__ASSUME_MSG_NOSIGNAL): Likewise.
1942 (__ASSUME_SENDFILE): Define unconditionally.
1943 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
1944 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
1946 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
1947 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
1948 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
1949 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
1950 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
1951 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
1952 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
1953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
1954 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1955 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
1957 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1958 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
1960 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1961 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
1963 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1964 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
1966 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1967 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
1969 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1970 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
1972 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1973 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
1975 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1976 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1977 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
1978 Remove conditional code.
1979 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1980 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
1981 Remove conditional code.
1982 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1983 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
1984 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
1985 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
1986 Remove conditional code.
1987 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1988 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
1989 Remove conditional code.
1990 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1991 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
1992 Remove conditional code.
1993 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1994 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
1995 Remove conditional code.
1996 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1997 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
1998 Remove conditional code.
1999 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2000 * sysdeps/unix/sysv/linux/sh/pwrite64.c
2001 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2002 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2003 * sysdeps/unix/sysv/linux/sigaction.c
2004 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2005 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2006 * sysdeps/unix/sysv/linux/sigpending.c
2007 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2008 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2009 * sysdeps/unix/sysv/linux/sigprocmask.c
2010 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2011 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2012 * sysdeps/unix/sysv/linux/sigsuspend.c
2013 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2014 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2015 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2016 (__libc_missing_rt_sigs): Remove.
2017 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
2018 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
2019 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
2020 Remove conditional code.
2021 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
2022 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
2024 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
2025 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
2026 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
2027 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
2029 2012-05-14 Andreas Jaeger <aj@suse.de>
2031 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
2032 it's not used in glibc.
2033 (__coshm1): Likewise.
2034 (__acosh1p): Likewise.
2037 * manual/string.texi (Copying and Concatenation): Add missing
2038 variable in concat example.
2039 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2041 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2044 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
2045 __builtin_clzl with __builtin_clzll.
2047 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2050 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
2053 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2055 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
2056 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
2057 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
2058 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
2060 2012-05-14 Mike Frysinger <vapier@gentoo.org>
2062 * NEWS: Update ia64 info.
2064 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
2066 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
2069 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
2071 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
2072 * sysdeps/unix/syscalls.list (dup3): Likewise.
2073 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
2074 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
2076 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2078 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
2079 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
2081 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2083 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
2085 (TLS_IE): Use mov/add instead of movq/addq to load thread
2087 (TLS_GD_PREFIX): New.
2090 2012-05-11 David S. Miller <davem@davemloft.net>
2092 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
2093 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
2094 (_FPU_SETCW): Likewise.
2096 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2098 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
2101 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
2104 * iconvdata/gb18030.c: Update tables.
2105 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
2106 characters specially.
2107 (BODY for TO_LOOP): Add encoding of missing ranges.
2109 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
2112 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
2113 * sysdeps/mach/hurd/dup3.c: Likewise.
2114 * sysdeps/mach/hurd/readlinkat.c: Likewise.
2115 * sysdeps/powerpc/memmove.c:: Likewise.
2117 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2119 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
2120 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
2122 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2124 * elf/elf.h (R_X86_64_RELATIVE64): New.
2125 (R_X86_64_NUM): Updated.
2126 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
2127 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
2128 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
2129 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
2130 tst-quad1pie tst-quad2pie
2131 (modules-names): Add tst-quadmod1 tst-quadmod2.
2132 ($(objpfx)tst-quad1): New dependency.
2133 ($(objpfx)tst-quad2): Likewise.
2134 ($(objpfx)tst-quad1pie): Likewise.
2135 ($(objpfx)tst-quad2pie): Likewise.
2136 * sysdeps/x86_64/tst-quad1.c: New file.
2137 * sysdeps/x86_64/tst-quad1pie.c: New file.
2138 * sysdeps/x86_64/tst-quad2.c: Likewise.
2139 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
2140 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
2141 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
2142 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
2143 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
2145 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2147 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
2148 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
2149 * streams/stropts.h (t_scalar_t): Define type.
2151 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
2152 (_PATH_PRESERVE): Set to "/var/lib".
2153 (_PATH_RWHODIR): Set to "/var/spool/rwho".
2155 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
2158 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
2159 if __dir_mkfile succeeded.
2161 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
2162 checking for _hurd_dtablesize. Unlock it right after having
2163 finished _hurd_dtable allocation.
2165 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2167 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
2168 * sysdeps/mach/hurd/configure: Regenerated.
2169 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
2170 special-casing to...
2171 * sysdeps/gnu/configure.in: ... this new file.
2172 * sysdeps/unix/sysv/linux/configure: Regenerated.
2173 * sysdeps/gnu/configure: New generated file.
2175 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
2176 for Linux: use nsec instead of usec, as well as:
2177 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
2178 members of type struct timespec.
2179 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
2181 (struct stat64): Likewise.
2182 (_STATBUF_ST_NSEC): New macro.
2183 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
2185 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
2186 __strtoul_internal rather than strtoul.
2188 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2190 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
2193 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2195 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
2196 which preserves existing values.
2197 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
2199 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2201 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
2202 TIMEOUT values. Return EINVAL for NFDS values either negative or
2203 greater than FD_SETSIZE.
2205 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2207 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
2208 allocated, call __vm_protect to finish enabling the existing space, and
2209 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
2210 allocate the remainder.
2212 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2214 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
2215 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
2217 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2219 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
2220 sysdeps/mach/hurd/readlink.c.
2222 * posix/tst-sysconf.c (posix_options): Only use
2223 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
2224 _POSIX_SYNCHRONIZED_IO when they are defined
2225 * sysdeps/mach/hurd/bits/posix_opt.h:
2226 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
2227 (_XOPEN_REALTIME): Undefine macro.
2228 (_XOPEN_REALTIME_THREADS): Undefine macro.
2229 (_XOPEN_SHM): Undefine macro.
2230 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
2232 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
2234 (_POSIX_ASYNC_IO): Undefine macro.
2235 (_POSIX_PRIORITIZED_IO): Undefine macro.
2236 (_POSIX_SPIN_LOCKS): Define macro to -1.
2238 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
2239 SA_NODEFER, SA_RESETHAND.
2240 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
2241 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
2244 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2246 * elf/Makefile (pldd-modules): Define unconditionally.
2248 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2250 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
2252 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2254 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
2255 Return ENOENT when name is empty.
2256 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
2258 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2260 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
2262 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
2264 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2266 Fix mlock in all cases except non-readable pages.
2267 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
2268 instead of VM_PROT_ALL as parameter to __vm_wire function.
2270 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
2271 (__mkdir): When path is `/', just fail with EEXIST.
2272 * sysdeps/mach/hurd/mkdirat.c: Likewise.
2274 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2276 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
2277 <sys/uio.h> (for writev).
2278 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
2279 and <sys/param.h> (for MIN).
2281 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2283 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
2284 REQUESTED_TIME. Properly set the remaining time and return EINTR
2287 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2289 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
2290 Depend on against $(link-rpcuserlibs).
2292 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2294 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
2295 (__libc_stack_end): Do not use attribute_relro.
2296 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
2297 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
2298 to libthread-provided value.
2299 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
2302 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2305 * bits/libc-lock.h (__libc_once_get): New macro.
2306 * sysdeps/mach/bits/libc-lock.h: Likewise.
2307 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
2308 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
2309 instead of using implementation details.
2311 * libio/fileops.c: Unconditionally include <kernel-features.h>.
2312 * libio/freopen.c: Likewise.
2313 * libio/freopen64.c: Likewise.
2314 * misc/syslog.c: Likewise.
2315 * nscd/connections.c: Likewise.
2316 * nscd/netgroupcache.c: Likewise.
2317 * sysdeps/posix/getcwd.c: Likewise.
2319 2012-05-10 Roland McGrath <roland@hack.frob.com>
2321 * math/w_ilogbf.c: Add #include <limits.h>.
2323 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2325 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
2326 path instead of returning without unlocking.
2328 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
2329 immediate-write ioctls.
2330 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
2332 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2334 * sysdeps/mach/hurd/i386/init-first.c (init): Use
2335 __builtin_frame_address instead of making assumptions about the
2336 location of the return address relative to DATA. Force early load of
2338 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
2339 __builtin_frame_address.
2342 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
2343 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
2344 implement dup3 and do some further code clean-ups.
2345 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
2346 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
2348 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2350 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
2352 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
2353 HURD_CRITICAL_END around holding _hurd_dtable_lock.
2354 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
2355 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
2356 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
2359 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
2360 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
2361 when handler == SIG_ERR, not when handler != SIG_ERR.
2363 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2365 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
2366 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
2369 accept4 for GNU Hurd.
2370 * include/sys/socket.h (__libc_accept4): New prototype.
2371 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
2372 to implement __libc_accept4.
2373 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
2375 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
2377 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
2378 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
2379 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
2382 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2384 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
2386 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2388 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
2389 assertion on O_CLOEXEC flag.
2390 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
2391 * hurd/intern-fd.c: Likewise.
2392 * hurd/port2fd.c: Likewise.
2394 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2397 * bits/in.h (IPV6_PKTINFO): Define new macro.
2398 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
2400 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2405 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
2406 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2407 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
2408 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
2409 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2410 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
2411 * math/libm-test.inc (logb_test) : Additional logb tests.
2413 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
2414 Andreas Jaeger <aj@suse.de>
2416 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
2417 * configure: Regenerated.
2418 * config.h.in (LINK_OBSOLETE_RPC): New macro.
2419 * config.make.in (link-obsolete-rpc): New substituted variable.
2420 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
2421 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
2422 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2423 (shared-only-routines): Don't set it under [link-obsolete-rpc],
2424 so that libc.a contains the symbols.
2425 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2426 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
2427 * sunrpc/auth_none.c: Likewise.
2428 * sunrpc/auth_unix.c: Likewise.
2429 * sunrpc/authdes_prot.c: Likewise.
2430 * sunrpc/authuxprot.c: Likewise.
2431 * sunrpc/clnt_gen.c: Likewise.
2432 * sunrpc/clnt_perr.c: Likewise.
2433 * sunrpc/clnt_raw.c: Likewise.
2434 * sunrpc/clnt_simp.c: Likewise.
2435 * sunrpc/clnt_tcp.c: Likewise.
2436 * sunrpc/clnt_udp.c: Likewise.
2437 * sunrpc/clnt_unix.c: Likewise.
2438 * sunrpc/des_crypt.c: Likewise.
2439 * sunrpc/des_soft.c: Likewise.
2440 * sunrpc/get_myaddr.c: Likewise.
2441 * sunrpc/key_call.c: Likewise.
2442 * sunrpc/key_prot.c: Likewise.
2443 * sunrpc/netname.c: Likewise.
2444 * sunrpc/pm_getmaps.c: Likewise.
2445 * sunrpc/pm_getport.c: Likewise.
2446 * sunrpc/pmap_clnt.c: Likewise.
2447 * sunrpc/pmap_prot.c: Likewise.
2448 * sunrpc/pmap_prot2.c: Likewise.
2449 * sunrpc/pmap_rmt.c: Likewise.
2450 * sunrpc/publickey.c: Likewise.
2451 * sunrpc/rpc_cmsg.c: Likewise.
2452 * sunrpc/rpc_common.c: Likewise.
2453 * sunrpc/rpc_dtable.c: Likewise.
2454 * sunrpc/rpc_prot.c: Likewise.
2455 * sunrpc/rpc_thread.c: Likewise.
2456 * sunrpc/rtime.c: Likewise.
2457 * sunrpc/svc.c: Likewise.
2458 * sunrpc/svc_auth.c: Likewise.
2459 * sunrpc/svc_raw.c: Likewise.
2460 * sunrpc/svc_run.c: Likewise.
2461 * sunrpc/svc_tcp.c: Likewise.
2462 * sunrpc/svc_udp.c: Likewise.
2463 * sunrpc/svc_unix.c: Likewise.
2464 * sunrpc/svcauth_des.c: Likewise.
2465 * sunrpc/xcrypt.c: Likewise.
2466 * sunrpc/xdr.c: Likewise.
2467 * sunrpc/xdr_array.c: Likewise.
2468 * sunrpc/xdr_float.c: Likewise.
2469 * sunrpc/xdr_intXX_t.c: Likewise.
2470 * sunrpc/xdr_mem.c: Likewise.
2471 * sunrpc/xdr_rec.c: Likewise.
2472 * sunrpc/xdr_ref.c: Likewise.
2473 * sunrpc/xdr_sizeof.c: Likewise.
2474 * sunrpc/xdr_stdio.c: Likewise.
2476 2012-05-10 Roland McGrath <roland@hack.frob.com>
2478 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
2479 change. Update copyright years.
2481 2012-05-10 Joseph Myers <joseph@codesourcery.com>
2483 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
2485 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
2486 Joseph Myers <joseph@codesourcery.com>
2487 Paul Pluzhnikov <ppluzhnikov@google.com>
2490 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
2492 [cross-compiling] (extra-libs): Likewise.
2493 [cross-compiling] (extra-libs-others): Likewise.
2494 [cross-compiling] (librpcsvc-routines): Likewise.
2495 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
2496 [cross-compiling] (omit-deps): Likewise.
2497 (sunrpc-CPPFLAGS): New variable.
2498 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
2499 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
2500 (cross-rpcgen-objs): New variable.
2501 (extra-objs): Append $(cross-rpcgen-objs).
2502 ($(cross-rpcgen-objs)): New rule.
2503 ($(objpfx)cross-rpcgen): Likewise.
2504 (rpcgen-cmd): Define to use $(built-program-file). Expand
2506 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
2507 ($(objpfx)x%.stmp): Likewise.
2508 * sunrpc/proto.h [IS_IN_build] (_): Define.
2509 [IS_IN_build] (_libc_intl_domainname): Likewise.
2511 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2513 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
2514 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
2515 and R_X86_64_TPOFF64.
2517 2012-05-10 Joseph Myers <joseph@codesourcery.com>
2519 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
2520 sysdeps/unix/sysv/syscalls.list.
2523 * sysdeps/unix/sysv/syscalls.list: Remove file.
2525 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
2528 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
2529 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
2530 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
2531 (__LC_IDENTIFICATION): Make these macros useful in #if
2532 expressions, as required by C99.
2534 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
2536 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
2537 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
2540 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
2542 * stdlib/longlong.h: Updated from GCC.
2544 2012-05-09 Andreas Jaeger <aj@suse.de>
2546 * nscd/nscd.c (run_modes): Make named enum, reorder so that
2547 default is first entry.
2548 (run_mode): Set type.
2549 (main): Remove informal message about syslog.
2550 (options): Fix typo.
2553 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
2556 (llrintf): Likewise.
2560 (nearbyint): Likewise.
2561 (nearbyintf): Likewise.
2563 2012-05-09 Andreas Jaeger <aj@suse.de>
2564 Pedro Alves <palves@redhat.com>
2566 * nscd/nscd.c (run_mode): Use enum.
2567 (main): Cleanup coding style issue.
2569 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
2570 Andreas Jaeger <aj@suse.de>
2572 * nscd/nscd.c (go_background): Replaced with...
2573 (run_mode): ... this.
2574 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
2575 (options): Add -F --foreground.
2576 (main): Implement it.
2577 (parse_opt): Parse it.
2579 2012-05-09 Andreas Jaeger <aj@suse.de>
2582 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
2583 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
2584 -Wconversion warning.
2585 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
2588 2012-05-09 Joseph Myers <joseph@codesourcery.com>
2590 * conform/data/locale.h-data (NULL): Use macro-constant. Require
2592 (LC_ALL): Use macro-int-constant.
2593 (LC_COLLATE): Likewise.
2594 (LC_CTYPE): Likewise.
2595 (LC_MESSAGES): Likewise.
2596 (LC_MONETARY): Likewise.
2597 (LC_NUMERIC): Likewise.
2598 (LC_TIME): Likewise.
2599 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
2600 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
2601 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2602 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
2604 [C99-based standards] (float_t): Expect type.
2605 [C99-based standards] (double_t): Expect type.
2606 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
2608 [C99-based standards] (HUGE_VALL): Likewise.
2609 [C99-based standards] (INFINITY): Likewise.
2610 [C99-based standards] (NAN): Likewise.
2611 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
2612 [C99-based standards] (FP_NAN): Likewise.
2613 [C99-based standards] (FP_NORMAL): Likewise.
2614 [C99-based standards] (FP_SUBNORMAL): Likewise.
2615 [C99-based standards] (FP_ZERO): Likewise.
2616 [C99-based standards] (FP_FAST_FMA): Use
2617 optional-macro-int-constant. Specify type. Require == 1.
2618 [C99-based standards] (FP_FAST_FMAF): Likewise.
2619 [C99-based standards] (FP_FAST_FMAL): Likewise.
2620 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
2621 [C99-based standards] (FP_ILOGBNAN): Likewise.
2622 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
2624 [C99-based standards] (MATH_ERREXCEPT): Likewise.
2625 [C99-based standards] (math_errhandling): Specify type.
2626 [ISO99 || ISO11] (signgam): Do not allow.
2627 [non-C99-based standards] (copysignf): Do not allow.
2628 [non-C99-based standards] (exp2f): Likewise.
2629 [non-C99-based standards] (log2f): Likewise.
2630 [non-C99-based standards] (modff): Allow.
2631 [non-C99-based standards] (erff): Do not allow.
2632 [non-C99-based standards] (erfcf): Likewise.
2633 [non-C99-based standards] (gammaf): Likewise.
2634 [non-C99-based standards] (hypotf): Likewise.
2635 [non-C99-based standards] (j0f): Likewise.
2636 [non-C99-based standards] (j1f): Likewise.
2637 [non-C99-based standards] (jnf): Likewise.
2638 [non-C99-based standards] (lgammaf): Likewise.
2639 [non-C99-based standards] (tgammaf): Likewise.
2640 [non-C99-based standards] (y0f): Likewise.
2641 [non-C99-based standards] (y1f): Likewise.
2642 [non-C99-based standards] (ynf): Likewise.
2643 [non-C99-based standards] (isnanf): Likewise.
2644 [non-C99-based standards] (acoshf): Likewise.
2645 [non-C99-based standards] (asinhf): Likewise.
2646 [non-C99-based standards] (atanhf): Likewise.
2647 [non-C99-based standards] (cbrtf): Likewise.
2648 [non-C99-based standards] (expm1f): Likewise.
2649 [non-C99-based standards] (ilogbf): Likewise.
2650 [non-C99-based standards] (log1pf): Likewise.
2651 [non-C99-based standards] (logbf): Likewise.
2652 [non-C99-based standards] (nextafterf): Likewise.
2653 [non-C99-based standards] (remainderf): Likewise.
2654 [non-C99-based standards] (rintf): Likewise.
2655 [non-C99-based standards] (scalbf): Likewise.
2656 [non-C99-based standards] (copysignl): Likewise.
2657 [non-C99-based standards] (exp2l): Likewise.
2658 [non-C99-based standards] (log2l): Likewise.
2659 [non-C99-based standards] (modfl): Allow.
2660 [non-C99-based standards] (erfl): Do not allow.
2661 [non-C99-based standards] (erfcl): Likewise.
2662 [non-C99-based standards] (gammal): Likewise.
2663 [non-C99-based standards] (hypotl): Likewise.
2664 [non-C99-based standards] (j0l): Likewise.
2665 [non-C99-based standards] (j1l): Likewise.
2666 [non-C99-based standards] (jnl): Likewise.
2667 [non-C99-based standards] (lgammal): Likewise.
2668 [non-C99-based standards] (tgammal): Likewise.
2669 [non-C99-based standards] (y0l): Likewise.
2670 [non-C99-based standards] (y1l): Likewise.
2671 [non-C99-based standards] (ynl): Likewise.
2672 [non-C99-based standards] (isnanl): Likewise.
2673 [non-C99-based standards] (acoshl): Likewise.
2674 [non-C99-based standards] (asinhl): Likewise.
2675 [non-C99-based standards] (atanhl): Likewise.
2676 [non-C99-based standards] (cbrtl): Likewise.
2677 [non-C99-based standards] (expm1l): Likewise.
2678 [non-C99-based standards] (ilogbl): Likewise.
2679 [non-C99-based standards] (log1pl): Likewise.
2680 [non-C99-based standards] (logbl): Likewise.
2681 [non-C99-based standards] (nextafterl): Likewise.
2682 [non-C99-based standards] (remainderl): Likewise.
2683 [non-C99-based standards] (rintl): Likewise.
2684 [non-C99-based standards] (scalbl): Likewise.
2685 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2686 [non-C99-based standards] (FP_*): Do not allow.
2687 [C99-based standards] (FP_*): Change to
2688 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
2689 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2691 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
2692 (SIG_ERR): Likewise.
2693 [X/Open-based standards] (SIG_HOLD): Likewise.
2694 (SIG_IGN): Likewise.
2695 (SIGABRT): Use macro-int-constant. Specify type. Require
2700 (SIGSEGV): Likewise.
2702 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
2703 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
2704 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
2705 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
2706 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
2707 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
2708 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
2709 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
2710 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
2711 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
2712 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
2713 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
2714 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
2715 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
2716 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
2717 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
2718 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
2719 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
2720 [X/Open-based standards] (SIGTRAP): Likewise.
2721 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
2722 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
2723 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
2724 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
2725 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2728 2012-05-08 Ian Wienand <ianw@vmware.com>
2731 * time/tzset.c (__tzset_parse_tz): Update default rules for
2732 daylight time changes in the Energy Policy Act of 2005.
2734 2012-05-09 Andreas Jaeger <aj@suse.de>
2737 * elf/ldconfig.c (parse_conf): Change string to make clear that
2738 ldconfig only issued a warning if ld.so.conf does not exist.
2740 2012-05-08 David S. Miller <davem@davemloft.net>
2742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
2743 movxtod instead of popping the value on the stack.
2745 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2747 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
2749 * config.h.in: Add HAVE_ARM_PCS_VFP.
2751 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
2754 * include/features.h: Warn if user requests __FORTIFY_SOURCE
2755 checking but the checks are disabled for any reason.
2757 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
2759 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
2760 and ELF64_R_TYPE with ELFW(R_TYPE).
2762 2012-05-08 Joseph Myers <joseph@codesourcery.com>
2764 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
2767 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
2768 (settimeofday): Likewise.
2770 2012-05-08 Mike Frysinger <vapier@gentoo.org>
2772 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
2773 a struct th_u2 inside the union, and move tu_block/tu_code into
2774 a new th_u3 union of tu_block/tu_code inside of that. Move
2775 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
2776 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
2777 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
2778 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
2779 (th_stuff): Change to th_u1.tu_stuff.
2781 (th_msg): Change to th_u1.th_u2.tu_data.
2783 2012-05-07 David S. Miller <davem@davemloft.net>
2785 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2788 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
2789 (SETUP_PIC_REG): Use it.
2790 (SETUP_PIC_REG_LEAF): Use it.
2792 2012-05-07 Joseph Myers <joseph@codesourcery.com>
2796 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2798 (EXPL_FINITE): Likewise.
2800 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
2801 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
2803 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2805 (EXPL_FINITE): Likewise.
2807 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
2808 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
2810 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
2811 test of -max_value argument for long double.
2812 * sysdeps/i386/fpu/libm-test-ulps: Update.
2813 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2815 2012-05-06 David S. Miller <davem@davemloft.net>
2817 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
2818 quad soft-float symbols whose references which are compiler
2820 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
2822 2012-05-06 Joseph Myers <joseph@codesourcery.com>
2826 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2828 (EXPL_FINITE): Likewise.
2832 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
2833 Adjust comments for base varying.
2834 (__expl_finite): Change alias to EXPL_FINITE.
2835 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
2837 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
2838 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
2839 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
2840 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
2841 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2843 (EXPL_FINITE): Likewise.
2847 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
2848 Adjust comments for base varying.
2849 (__expl_finite): Change alias to EXPL_FINITE.
2850 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
2852 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2855 * math/libm-test.inc (check_float_internal): Correct ulp
2856 calculation for subnormal expected results.
2858 2012-05-06 Andreas Jaeger <aj@suse.de>
2860 * Makeconfig (+math-flags): New, set to -frounding-math.
2861 (+cflags): Add +math-flags so that all of glibc gets compiled with
2864 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
2866 2012-05-05 Joseph Myers <joseph@codesourcery.com>
2868 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
2874 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
2875 (__ieee754_expl): Allow for and saturate large arguments.
2876 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
2877 (u_threshold): Likewise.
2878 (__exp): Call __ieee754_exp before checking for overflow and
2880 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
2881 (u_threshold): Likewise.
2882 (__expf): Call __ieee754_expf before checking for overflow and
2884 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
2885 (u_threshold): Likewise.
2886 (__expl): Call __ieee754_expl before checking for overflow and
2888 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
2889 (__ieee754_expl): Allow for and saturate large arguments.
2890 * math/libm-test.inc (exp_test): Add another test. Do not allow
2891 missing overflow exception on overflow.
2892 (expm1_test): Do not allow missing overflow exception on overflow.
2894 * sysdeps/i386/fpu/e_expl.c: Move to ...
2895 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
2896 rather than using inline asm.
2897 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
2898 * sysdeps/x86_64/fpu/e_expl.S: Copy from
2899 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
2901 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
2908 2012-05-04 Joseph Myers <joseph@codesourcery.com>
2910 * sysdeps/unix/syscalls.list (adjtime): Add entry from
2911 sysdeps/unix/common/syscalls.list.
2914 (ftruncate): Likewise.
2915 (getrusage): Likewise.
2916 (gettimeofday): Likewise.
2917 (setpgid): Likewise.
2918 (setregid): Likewise.
2919 (setreuid): Likewise.
2920 (sigaction): Likewise.
2921 (truncate): Likewise.
2922 (vhangup): Likewise.
2923 * sysdeps/unix/common/syscalls.list: Remove file.
2924 * sysdeps/unix/bsd/Implies: Don't include unix/common.
2925 * sysdeps/unix/sysv/linux/Implies: Likewise.
2927 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
2929 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
2930 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
2931 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
2933 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
2935 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
2937 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
2938 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
2940 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
2941 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
2943 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
2944 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
2946 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
2947 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
2949 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
2950 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
2952 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
2953 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
2955 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
2957 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
2959 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
2961 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
2963 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
2964 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
2966 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
2968 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
2970 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
2972 2012-05-04 Joseph Myers <joseph@codesourcery.com>
2974 * sysdeps/unix/common/bits/dirent.h: Remove file.
2975 * sysdeps/unix/common/bits/fcntl.h: Likewise.
2977 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
2978 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
2979 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
2980 * sysdeps/unix/bsd/isatty.c: Likewise.
2981 * sysdeps/unix/bsd/tcdrain.c: Likewise.
2982 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
2983 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
2985 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2988 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
2989 long double comparison inaccuracies.
2990 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
2991 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2993 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
2995 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
2996 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
2998 2012-05-04 Joseph Myers <joseph@codesourcery.com>
3001 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
3002 nonzero digits before rounding a hex value.
3003 * stdlib/tst-strtod.c (tests): Add another test.
3005 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3007 * sysdeps/s390/fpu/libm-test-ulps: Update.
3009 2012-05-03 Andreas Jaeger <aj@suse.de>
3011 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
3012 does not get optimized out.
3013 (malloc_opt_barrier): New.
3015 2012-05-03 Andreas Jaeger <aj@suse.de>
3016 Roland McGrath <roland@hack.frob.com>
3018 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
3019 intermediate file deletion.
3020 (generated): Add .symlist files.
3022 2012-05-03 Joseph Myers <joseph@codesourcery.com>
3025 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
3026 Redirect under this condition.
3027 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3028 [__USE_GNU] (__dprintf_chk): Not under this condition.
3029 [__USE_GNU] (__vdprintf_chk): Likewise.
3030 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
3031 under this condition.
3032 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3033 [__USE_XOPEN2K8] (dprintf): Define under this condition.
3034 [__USE_XOPEN2K8] (vdprintf): Likewise.
3035 [__USE_GNU] (__dprintf_chk): Not under this condition.
3036 [__USE_GNU] (__vdprintf_chk): Likewise.
3037 [__USE_GNU] (dprintf): Likewise.
3038 [__USE_GNU] (vdprintf): Likewise.
3040 2012-05-03 Roland McGrath <roland@hack.frob.com>
3042 * elf/Makefile (common-generated): Set this instead of generated for
3043 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
3044 $(all-built-dso)-derived lists.
3046 2012-05-03 Andreas Jaeger <aj@suse.de>
3048 * sysdeps/i386/fpu/libm-test-ulps: Update.
3052 * scripts/gen-FAQ.pl: Likewise.
3053 * manual/install.texi (Installation): Point to online location of
3055 * Makefile (files-for-dist): Remove FAQ.
3058 2012-05-02 Allan McRae <allan@archlinux.org>
3060 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
3061 (LDFLAGS-reldepmod5.so): Likewise.
3062 (LDFLAGS-reldep6mod1.so): Likewise.
3063 (LDFLAGS-reldep6mod4.so): Likewise.
3064 (LDFLAGS-reldep8mod3.so): Likewise.
3065 (LDFLAGS-unload4mod1.so): Likewise.
3066 (LDFLAGS-unload4mod2.so): Likewise.
3067 (LDFLAGS-tst-initorder): Likewise.
3068 (LDFLAGS-tst-initordera2.so): Likewise.
3069 (LDFLAGS-tst-initordera3.so): Likewise.
3070 (LDFLAGS-tst-initordera4.so): Likewise.
3071 (LDFLAGS-tst-initorderb2.so): Likewise.
3072 (LDFLAGS-noload): Likewise.
3073 (LDFLAGS-next): Likewise.
3074 (LDFLAGS-order2mod1.so): Likewise.
3075 (LDFLAGS-order2mod2.so): Likewise.
3076 (LDFLAGS-tst-initorder2): Likewise.
3077 (LDFLAGS-tst-initorder2a.so): Likewise.
3078 (LDFLAGS-tst-initorder2b.so): Likewise.
3079 (LDFLAGS-tst-initorder2c.so): Likewise.
3080 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
3082 2012-05-02 David S. Miller <davem@davemloft.net>
3084 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3086 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
3089 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
3091 2012-05-02 Andreas Jaeger <aj@suse.de>
3093 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
3094 since we manipulate rounding mode.
3095 (CPPFLAGS-test-idouble.c): Likewise.
3096 (CPPFLAGS-test-ifloat.c): Likewise.
3097 (CFLAGS-test-ldouble.c): Likewise.
3098 (CFLAGS-test-double.c): Likewise.
3099 (CFLAGS-test-float.c): Likewise.
3100 (CFLAGS-test-misc.c): Likewise.
3101 (CFLAGS-test-test-fenv.c): Likewise.
3103 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3107 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
3108 comparisons to determine direction to adjust input.
3110 2012-05-01 Roland McGrath <roland@hack.frob.com>
3112 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
3113 output to the target.
3115 * scripts/localplt.awk: New file.
3116 * elf/Makefile ($(objpfx)check-localplt): Target removed.
3117 (check-localplt-CFLAGS): Variable removed.
3118 ($(all-built-dso:=.jmprel)): New static pattern rule.
3119 (generated): Add those targets.
3120 (localplt-built-dso): New variable.
3121 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
3123 * elf/check-localplt.c: File removed.
3125 * scripts/check-execstack.awk: New file.
3126 * elf/Makefile ($(objpfx)check-execstack): Target removed.
3127 (check-execstack-CFLAGS): Variable removed.
3128 ($(objpfx)check-execstack.h): Target removed.
3129 ($(objpfx)execstack-default): New target.
3130 (generated): Add that instead of check-execstack.h.
3131 ($(all-built-dso:=.phdr)): New static pattern rule.
3132 (generated): Add those targets.
3133 * elf/check-execstack.c: File removed.
3135 * scripts/check-textrel.awk: New file.
3136 * elf/Makefile ($(objpfx)check-textrel): Target removed.
3137 (check-textrel-CFLAGS): Variable removed.
3138 (all-built-dso): Use := to define.o
3139 ($(all-built-dso:=.dyn)): New static pattern rule.
3140 (generated): Add those targets.
3141 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
3142 * config.make.in (READELF): New substituted variable.
3143 * elf/check-textrel.c: File removed.
3145 2012-05-01 Joseph Myers <joseph@codesourcery.com>
3147 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3149 * conform/data/ctype.h-data [C99-based standards] (isblank):
3151 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
3152 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
3153 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3154 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
3155 Specify type. Require positive value.
3158 [ISO || POSIX] (EILSEQ): Do not expect.
3159 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
3160 Specify type. Require positive value.
3161 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
3162 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
3163 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
3164 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
3165 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
3166 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
3167 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
3168 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
3169 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
3170 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
3171 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
3172 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
3173 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
3174 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
3175 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
3176 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
3177 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
3178 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
3179 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
3180 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
3181 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
3182 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
3183 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
3184 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
3185 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
3186 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
3187 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
3188 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
3189 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
3190 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
3191 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
3192 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
3193 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
3194 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
3195 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
3196 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
3197 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
3198 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
3199 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
3200 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
3201 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
3202 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
3203 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
3204 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
3205 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
3206 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
3207 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
3208 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
3209 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
3210 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
3211 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
3212 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
3213 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
3214 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
3215 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
3216 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
3217 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
3218 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
3219 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
3220 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
3221 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
3222 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
3223 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
3224 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
3225 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
3226 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
3227 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
3228 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
3229 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
3230 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
3231 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
3232 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
3233 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
3234 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
3235 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
3236 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
3237 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
3239 (FLT_ROUNDS): Expect as macro, not constant.
3240 (FLT_MANT_DIG): Use macro-int-constant.
3241 (DBL_MANT_DIG): Likewise.
3242 (LDBL_MANT_DIG): Likewise.
3243 (FLT_DIG): Likewise.
3244 (DBL_DIG): Likewise.
3245 (LDBL_DIG): Likewise.
3246 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
3247 (DBL_MIN_EXP): Likewise.
3248 (LDBL_MIN_EXP): Likewise.
3249 (FLT_MAX_EXP): Use macro-int-constant.
3250 (DBL_MAX_EXP): Likewise.
3251 (LDBL_MAX_EXP): Likewise.
3252 (FLT_MAX_10_EXP): Likewise.
3253 (DBL_MAX_10_EXP): Likewise.
3254 (LDBL_MAX_10_EXP): Likewise.
3255 (FLT_MAX): Use macro-constant.
3256 (DBL_MAX): Likewise.
3257 (LDBL_MAX): Likewise.
3258 (FLT_EPSILON): Use macro-constant. Give upper bound.
3259 (DBL_EPSILON): Likewise.
3260 (LDBL_EPSILON): Likewise.
3261 (FLT_MIN): Likewise.
3262 (DBL_MIN): Likewise.
3263 (LDBL_MIN): Likewise.
3264 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
3265 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
3266 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
3267 [ISO11] (FLT_HAS_SUBNORM): Likewise.
3268 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
3269 [ISO11] (DBL_DECIMAL_DIG): Likewise.
3270 [ISO11] (FLT_DECIMAL_DIG): Likewise.
3271 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
3272 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
3273 [ISO11] (FLT_TRUE_MIN): Likewise.
3274 [ISO11] (LDBL_TRUE_MIN): Likewise.
3275 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3276 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
3277 (SCHAR_MIN): Use macro-int-constant. Specify type.
3278 (SCHAR_MAX): Likewise.
3279 (UCHAR_MAX): Likewise.
3280 (CHAR_MIN): Likewise.
3281 (CHAR_MAX): Likewise.
3282 (MB_LEN_MAX): Use macro-int-constant.
3283 (SHRT_MIN): Use macro-int-constant. Specify type.
3284 (SHRT_MAX): Likewise.
3285 (USHRT_MAX): Likewise.
3286 (INT_MAX): Likewise.
3287 (INT_MIN): Use macro-int-constant. Specify type. Make upper
3289 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
3291 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3293 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
3294 bound negative. Suffix upper bound with "L".
3295 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3297 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
3299 [C99-based standards] (LLONG_MAX): Likewise.
3300 [C99-based standards] (ULLONG_MAX): Likewise.
3301 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
3303 [ISO11] (max_align_t): Require type.
3304 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3306 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
3307 from $CFLAGS, without defining away __attribute__ calls.
3308 (checknamespace): Use $CFLAGS_namespace.
3310 * conform/conformtest.pl (@keywords): Only include C99 keywords
3311 for standards based on C99 or C11.
3313 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
3315 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
3318 * conform/conformtest.pl: Handle "macro-int-constant" and test for
3319 usability of symbols in #if.
3321 * conform/conformtest.pl: If macro or constant types start
3322 "promoted:", expect the symbol to be of the following type
3323 promoted by the integer promotions.
3325 * conform/conformtest.pl: Parse all "constant" and "macro" lines
3326 in one place. Also handle "macro-constant".
3328 * conform/conformtest.pl: Only accept expected macro values with
3329 "==". Parse all "macro" lines in one place.
3330 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
3332 * conform/conformtest.pl: Handle braced types on "constant" lines
3333 instead of handling "typed-constant".
3334 * conform/data/signal.h-data: Use "constant" instead of
3337 * conform/conformtest.pl: Handle "optional-" at start of lines in
3338 one place rather than duplicating several cases. Handle each
3339 format of "macro" line with initial "optional-".
3341 * conform/conformtest.pl: Only accept expected constant or
3342 optional-constant values with "==". Parse all "constant" lines in
3343 one place. Parse all "optional-constant" lines in one place.
3344 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
3345 * conform/data/fmtmsg.h-data: Likewise.
3346 * conform/data/netinet/in.h-data: Likewise.
3347 * conform/data/tar.h-data: Likewise.
3348 * conform/data/limits.h-data: Use "==" form on "constant" and
3349 "optional-constant" lines.
3351 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
3352 Use -std=c99 for XOPEN2K.
3353 (@knownproblems): Remove.
3354 (newtoken): Don't check %isknown.
3356 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
3357 Do not expect macro.
3358 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
3359 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
3360 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
3361 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
3362 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
3363 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
3364 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
3365 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
3366 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
3367 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
3368 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
3369 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
3370 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
3371 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
3372 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
3373 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
3374 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
3375 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
3376 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
3377 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
3378 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
3379 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
3380 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
3381 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
3382 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
3383 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
3384 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
3385 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
3386 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
3387 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
3388 [XPG3] (acosh): Likewise.
3389 [XPG3] (asinh): Likewise.
3390 [XPG3] (atanh): Likewise.
3391 [XPG3] (cbrt): Likewise.
3392 [XPG3] (expm1): Likewise.
3393 [XPG3] (ilogb): Likewise.
3394 [XPG3] (log1p): Likewise.
3395 [XPG3] (logb): Likewise.
3396 [XPG3] (nextafter): Likewise.
3397 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
3398 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
3399 [XPG3] (remainder): Likewise.
3400 [XPG3] (rint): Likewise.
3401 [XPG3 || XPG4 || UNIX98] (round): Likewise.
3402 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
3403 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
3404 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
3405 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
3406 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
3407 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
3408 [UNIX98 || XOPEN2K] (scalb): Expect.
3409 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
3410 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
3411 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
3412 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
3413 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
3414 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
3415 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
3416 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
3417 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
3418 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
3419 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
3420 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
3421 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
3422 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
3423 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
3424 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
3425 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
3426 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
3427 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
3428 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
3429 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
3430 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
3431 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
3432 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
3433 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
3434 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
3435 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
3436 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
3437 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
3438 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
3439 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
3440 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
3441 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
3442 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
3443 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
3444 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
3445 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
3446 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
3447 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
3448 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
3449 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
3450 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
3451 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
3452 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
3453 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
3454 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
3455 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
3456 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
3457 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
3458 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
3459 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
3460 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
3461 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
3462 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
3463 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
3464 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
3465 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
3466 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
3467 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
3468 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
3469 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
3470 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
3471 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
3472 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
3473 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
3474 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
3475 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
3476 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
3477 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
3478 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
3479 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
3480 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
3481 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
3482 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
3483 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
3484 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
3485 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
3486 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
3487 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
3488 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
3489 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
3490 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
3491 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
3492 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
3493 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
3494 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
3495 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
3496 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
3497 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
3498 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
3499 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
3500 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
3501 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
3502 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
3503 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
3504 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
3505 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
3506 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
3507 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
3508 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
3509 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
3510 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
3511 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
3512 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
3513 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
3514 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
3515 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
3516 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
3517 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
3518 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
3519 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
3520 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
3521 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
3522 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
3523 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
3524 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
3525 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
3526 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
3527 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
3528 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
3529 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
3530 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
3531 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
3532 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
3533 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
3534 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
3535 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
3536 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
3537 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
3538 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
3539 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
3540 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
3541 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
3542 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
3543 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
3544 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
3545 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
3547 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
3548 _XOPEN_SOURCE_EXTENDED for XPG4.
3550 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
3552 * Makeconfig (localtime): Remove variable.
3553 (inst_localtime-file): Likewise.
3555 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
3557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
3559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
3563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
3567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
3569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
3573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3576 2012-05-01 Joseph Myers <joseph@codesourcery.com>
3580 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
3581 comparisons to determine direction to adjust input.
3582 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
3583 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
3584 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
3586 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
3588 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
3590 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
3591 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
3593 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
3595 * math/libm-test.inc (nexttoward_test): Add more tests.
3597 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
3600 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
3601 in version GLIBC_2.1, not GLIBC_2.0.
3602 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
3605 2012-04-30 Joseph Myers <joseph@codesourcery.com>
3608 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
3610 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
3611 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
3612 * math/libm-test.inc (acos_test): Add more tests.
3613 (asin_test): Likewise.
3614 * sysdeps/i386/fpu/libm-test-ulps: Update.
3615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3618 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
3620 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
3621 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
3622 * math/libm-test.inc (acos_test_tonearest): New function.
3623 (acos_test_towardzero): Likewise.
3624 (acos_test_downward): Likewise.
3625 (acos_test_upward): Likewise.
3626 (asin_test_tonearest): Likewise.
3627 (asin_test_towardzero): Likewise.
3628 (asin_test_downward): Likewise.
3629 (asin_test_upward): Likewise.
3630 (main): Call the new functions.
3631 * sysdeps/i386/fpu/libm-test-ulps: Update.
3632 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3636 * math/e_exp10.c: Include <float.h>.
3637 (__ieee754_exp10): Handle underflow here rather than multiplying
3638 large negative argument by M_LN10.
3639 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
3641 * math/e_exp10l.c: Include <float.h>.
3642 (__ieee754_exp10l): Handle underflow here rather than multiplying
3643 large negative argument by M_LN10l.
3644 * math/libm-test.inc (exp10_test): Add another test. Do not allow
3645 spurious overflow exception on underflow.
3647 2012-04-29 Marek Polacek <polacek@redhat.com>
3649 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
3650 (__fortify_function): New macro.
3651 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
3652 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
3653 __extern_always_inline.
3654 * libio/bits/stdio2.h: Likewise.
3655 * libio/bits/stdio.h: Likewise.
3656 * string/string.h: Likewise.
3657 * string/bits/string3.h: Likewise.
3658 * include/stdio.h: Likewise.
3659 * stdlib/bits/stdlib.h: Likewise.
3660 * stdlib/stdlib.h: Likewise.
3661 * rt/bits/mqueue2.h: Likewise.
3662 * rt/mqueue.h: Likewise.
3663 * posix/bits/unistd.h: Likewise.
3664 * posix/unistd.h: Likewise.
3665 * io/bits/poll2.h: Likewise.
3666 * io/bits/fcntl2.h: Likewise.
3667 * io/fcntl.h: Likewise.
3668 * io/sys/poll.h: Likewise.
3669 * misc/bits/syslog.h: Likewise.
3670 * misc/bits/syslog-ldbl.h: Likewise.
3671 * misc/sys/syslog.h: Likewise.
3672 * socket/bits/socket2.h: Likewise.
3673 * socket/sys/socket.h: Likewise.
3674 * debug/tst-chk1.c: Likewise.
3675 * wcsmbs/bits/wchar2.h: Likewise.
3676 * wcsmbs/bits/wchar-ldbl.h: Likewise.
3677 * wcsmbs/wchar.h: Likewise.
3679 2012-04-29 Andreas Jaeger <aj@suse.de>
3681 * Makerules (tests): Remove enable-check-abi protection.
3682 (check-abi-warn): Remove.
3683 (check-abi-%): Remove check-abi-warn usage.
3685 * configure.in: Remove check-abi configure option.
3686 * configure: Regenerated.
3687 * config.make.in (enable-check-abi): Remove.
3689 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
3692 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
3693 double functions to double *_finite functions.
3696 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
3697 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
3699 * stdio-common/Makefile (tests): Add tst-sprintf3.
3700 * stdio-common/tst-sprintf3.c: New file.
3702 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
3703 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
3705 2012-04-28 Joseph Myers <joseph@codesourcery.com>
3707 * conform/conformtest.pl: Remove duplicate typed-constant
3710 2012-04-28 David S. Miller <davem@davemloft.net>
3712 * Makerules (%.abilist): Add vpath on sysdep_dirs.
3713 (check-abi-%): Remove AWK script prerequisite and explicit
3715 (check-abi): Rewrite to just diff the symlist with the abilist.
3716 (config-tls, config-abi-config): Delete, no longer used.
3717 (update-abi-%): Remove AWK script and explicit abilist directory.
3718 (update-abi): Rewrite to simply compare and conditionally copy the
3719 symlist and the sysdep abilist file. Remove update-abi-config
3721 * abilist/ld.abilist: Remove.
3722 * abilist/libBrokenLocale.abilist: Remove.
3723 * abilist/libanl.abilist: Remove.
3724 * abilist/libcrypt.abilist: Remove.
3725 * abilist/libdl.abilist: Remove.
3726 * abilist/librt.abilist: Remove.
3727 * abilist/libthread_db.abilist: Remove.
3728 * abilist/libutil.abilist: Remove.
3729 * scripts/extract-abilist.awk: Remove.
3730 * scripts/merge-abilist.awk: Remove.
3731 * sysdeps/generic/libcidn.abilist: New file.
3732 * sysdeps/generic/libnss_compat.abilist: New file.
3733 * sysdeps/generic/libnss_db.abilist: New file.
3734 * sysdeps/generic/libnss_dns.abilist: New file.
3735 * sysdeps/generic/libnss_files.abilist: New file.
3736 * sysdeps/generic/libnss_hesiod.abilist: New file.
3737 * sysdeps/generic/libnss_nis.abilist: New file.
3738 * sysdeps/generic/libnss_nisplus.abilist: New file.
3739 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
3740 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
3741 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
3743 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
3744 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
3745 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
3746 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
3747 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
3748 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
3749 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
3750 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
3751 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
3753 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
3754 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
3755 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
3756 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
3758 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
3759 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
3760 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
3761 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
3762 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
3763 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
3765 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
3766 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
3767 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
3769 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
3770 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
3772 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
3774 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
3776 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
3778 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
3780 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
3782 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
3784 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
3786 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
3788 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
3790 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
3792 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
3794 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
3796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
3798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
3800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
3802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
3804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
3806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
3808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
3810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
3812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
3816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
3818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
3820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
3822 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
3823 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
3825 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
3827 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
3829 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
3831 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
3833 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
3835 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
3837 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3839 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
3841 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
3843 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
3845 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
3847 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
3848 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
3850 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
3852 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
3854 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
3856 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
3858 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
3860 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
3862 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3864 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
3866 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
3868 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
3870 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
3872 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
3873 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
3874 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
3876 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
3877 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
3878 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
3879 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
3880 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
3881 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
3882 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
3883 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
3884 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
3885 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
3886 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
3887 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
3889 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
3891 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
3893 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
3895 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
3897 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
3899 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
3901 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3903 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
3905 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
3907 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
3909 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
3911 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
3912 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
3914 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
3916 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
3918 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
3920 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
3922 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
3924 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
3926 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3928 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
3930 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
3932 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
3934 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
3937 2012-04-28 Joseph Myers <joseph@codesourcery.com>
3939 * conform/conformtest.pl: Fix typo in handling typed-constant from
3942 2012-04-27 Joseph Myers <joseph@codesourcery.com>
3944 * README: Cut down references to pre-2.6 Linux kernels and
3945 Linuxthreads. Update lists of configurations in libc and ports
3946 and sort alphabetically. Say "or newer" with Linux kernel version
3949 * config.h.in [IS_IN_build]: Allow compiling without optimization.
3951 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3954 * math/libm-test.inc (logb_test_downward): New test to expose
3955 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
3958 2012-04-27 Joseph Myers <joseph@codesourcery.com>
3961 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
3963 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
3964 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
3966 2012-04-26 Joseph Myers <joseph@codesourcery.com>
3968 * sysdeps/unix/i386/brk.S: Remove file.
3969 * sysdeps/unix/i386/dl-brk.S: Likewise.
3970 * sysdeps/unix/i386/pipe.S: Likewise.
3971 * sysdeps/unix/i386/sigreturn.S: Likewise.
3972 * sysdeps/unix/i386/syscall.S: Likewise.
3973 * sysdeps/unix/i386/vfork.S: Likewise.
3974 * sysdeps/unix/i386/wait.S: Likewise.
3976 * sysdeps/unix/common/tcsendbrk.c: Move to ...
3977 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
3979 * configure.in (arm*-none*): Do not allow without
3980 --enable-hacker-mode.
3981 (netbsd*): Remove case setting base_os.
3982 (386bsd*): Likewise.
3983 (freebsd*): Likewise.
3987 (ultrix*): Likewise.
3988 (newsos*): Likewise.
3998 (solaris[2-9]*): Likewise.
4000 * configure: Regenerated.
4002 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4005 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
4006 overflow or cancellation in calculating denominator.
4007 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
4008 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
4009 down expression to avoid unexpected rounding in newer GCCs.
4010 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
4012 2012-04-26 David S. Miller <davem@davemloft.net>
4014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
4015 long-double compat symbols.
4016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
4020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4021 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
4022 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
4023 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
4024 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
4025 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
4026 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
4027 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
4028 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4030 2012-04-25 David S. Miller <davem@davemloft.net>
4032 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
4033 HWCAP_* values only after the memory barriers have been defined.
4034 (atomic_full_barrier): Define.
4035 (atomic_read_barrier): Define.
4036 (atomic_write_barrier): Define.
4038 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4040 * shlib-versions: Add libgcc_s version information.
4041 * sysdeps/generic/libgcc_s.h: Remove.
4042 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
4044 * sysdeps/gnu/unwind-resume.c: Likewise.
4045 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
4047 2012-04-25 David S. Miller <davem@davemloft.net>
4049 * sysdeps/unix/sparc/brk.S: Delete.
4050 * sysdeps/unix/sparc/dl-brk.S: Delete.
4051 * sysdeps/unix/sparc/pipe.S: Delete.
4052 * sysdeps/unix/sparc/sysdep.S: Delete.
4053 * sysdeps/unix/sparc/sysdep.h: Delete.
4054 * sysdeps/unix/sparc/vfork.S: Delete.
4055 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
4056 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
4057 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
4058 ret_ERRVAL, r0, r1, MOVE): Define.
4059 (JUMPTARGET): Remove.
4060 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
4061 sysdeps/unix/sparc/sysdep.h
4062 (ENTRY, END): Remove.
4063 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4065 2012-04-25 Joseph Myers <joseph@codesourcery.com>
4067 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
4068 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
4071 * timezone/README: Update upstream location and email address for
4073 * timezone/zdump.c: Update from tzcode 2012b.
4074 * timezone/zic.c: Likewise.
4076 * configure.in (libc_cv_as_needed): Remove test.
4077 * configure: Regenerated.
4078 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
4079 conditional definition.
4080 [$(have-as-needed) != yes] (no-as-needed): Likewise.
4081 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
4082 * config.make.in (have-as-needed): Remove variable.
4084 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4085 Paul Pluzhnikov <ppluzhnikov@google.com>
4087 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
4090 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
4092 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
4093 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
4094 * sysdeps/sh/strlen.S: Likewise.
4096 2012-04-24 Joseph Myers <joseph@codesourcery.com>
4098 * sysdeps/unix/fork.S: Remove file.
4099 * sysdeps/unix/i386/fork.S: Likewise.
4100 * sysdeps/unix/sparc/fork.S: Likewise.
4102 * sysdeps/unix/system.c: Remove file.
4103 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
4105 * sysdeps/unix/getegid.S: Remove file.
4106 * sysdeps/unix/geteuid.S: Likewise.
4108 2012-04-24 Roland McGrath <roland@hack.frob.com>
4110 * scripts/check-localplt.awk: New file.
4111 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
4113 * scripts/data/localplt-generic.data: Add a comment.
4115 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
4116 NODE when __dir_mkfile failed.
4117 * sysdeps/mach/hurd/symlinkat.c: Likewise.
4118 Reported by Ludovic Courtès <ludo@gnu.org>.
4120 2012-04-24 Andreas Jaeger <aj@suse.de>
4122 * Makerules (common-clean): Also remove gen-as-const-headers
4125 2012-04-24 Joseph Myers <joseph@codesourcery.com>
4127 * Makerules (native-compile): Do not change working directory for
4128 build. Use $(OUTPUT_OPTION) in command.
4129 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
4131 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4134 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
4135 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
4136 * math/libm-test.inc (floor_test): Add more tests.
4137 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
4139 2012-04-24 Joseph Myers <joseph@codesourcery.com>
4141 * sysdeps/unix/getdents.c: Remove file.
4142 * sysdeps/unix/sysv/getdents.c: Likewise.
4143 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
4145 * sysdeps/unix/syscalls.list (madvise): Add syscall from
4146 sysdeps/unix/mman/syscalls.list.
4148 (mprotect): Likewise.
4151 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
4152 * sysdeps/unix/mman/syscalls.list: Remove.
4153 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
4155 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
4156 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
4157 * configure: Regenerated.
4158 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
4160 * config.make.in (libgcc_s_suffix): Remove variable.
4162 2012-04-23 Joseph Myers <joseph@codesourcery.com>
4164 * sysdeps/unix/sysv/gethostname.c: Move to ...
4165 * sysdeps/posix/gethostname.c: ... here.
4167 * sysdeps/unix/execve.S: Remove file.
4169 * sysdeps/unix/_exit.S: Remove file.
4171 2012-04-23 Andreas Jaeger <aj@suse.de>
4174 * manual/Makefile: Remove make dist support, there's no
4175 need for a stand-alone documentation tar ball.
4176 (TEXI2DVI): Define always, it's not in Makeconfig.
4180 (glibc-doc-$(edition).tar): Removed
4184 (ETAGS): Remove, it's in Makeconfig.
4185 (move-if-change): Remove, it's in Makeconfig.
4187 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
4190 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
4191 (strtod, strtof, strtold, strtol, strtoul, strtoq)
4192 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
4193 (strtod_l, strtof_l, strtold_l): Remove __wur.
4194 It is not necessarily an error to ignore strtol's return value.
4195 One can reliably look at the stored endptr to decide whether
4196 the number had valid syntax.
4198 2012-04-21 Andreas Jaeger <aj@suse.de>
4201 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
4203 2012-04-21 Joseph Myers <joseph@codesourcery.com>
4205 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
4206 * sysdeps/unix/sysv/Versions: Remove file.
4208 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
4211 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4213 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
4216 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
4217 version from __vm86.
4219 2012-04-20 Joseph Myers <joseph@codesourcery.com>
4221 * sysdeps/unix/common/lxstat.c: Remove file.
4222 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
4224 * sysdeps/unix/sysv/Makefile: Remove file.
4226 * sysdeps/unix/sysv/direct.h: Remove file.
4228 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
4229 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
4230 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
4231 * sysdeps/unix/sysv/bits/signum.h: Likewise.
4232 * sysdeps/unix/sysv/bits/stat.h: Likewise.
4233 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
4234 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
4236 * sysdeps/unix/sysv/setrlimit.c: Remove file.
4238 * sysdeps/unix/xmknod.c: Remove file.
4239 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
4241 * sysdeps/unix/sysv/settimeofday.c: Remove file.
4243 * sysdeps/unix/sysv/i386/time.S: Remove file.
4245 * sysdeps/unix/fxstat.c: Remove file.
4246 * sysdeps/unix/xstat.c: Likewise.
4247 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
4249 * sysdeps/unix/sysv/sigaction.c: Remove file.
4251 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
4252 (sysdep_headers): Remove variable.
4253 [termio.h not in sysdep_headers] (generated): Likewise.
4254 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
4255 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
4256 * sysdeps/unix/sysv/tcdrain.c: Likewise.
4257 * sysdeps/unix/sysv/tcflow.c: Likewise.
4258 * sysdeps/unix/sysv/tcflush.c: Likewise.
4259 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
4260 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
4261 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
4262 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
4263 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
4265 * sysdeps/unix/siglist.c: Remove file.
4267 * sysdeps/unix/getppid.S: Remove file.
4269 * sysdeps/unix/mkdir.c: Remove file.
4270 * sysdeps/unix/rmdir.c: Likewise.
4272 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
4274 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
4276 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
4277 errlist-compat value.
4279 2012-04-18 David S. Miller <davem@davemloft.net>
4281 * sysdeps/generic/memcopy.h (reg_char): Delete.
4282 * debug/strcat_chk.c: Use char, not reg_char.
4283 * debug/strcpy_chk.c: Likewise.
4284 * debug/strncat_chk.c: Likewise.
4285 * debug/strncpy_chk.c: Likewise.
4286 * string/memchr.c: Likewise.
4287 * string/memrchr.c: Likewise.
4288 * string/rawmemchr.c: Likewise.
4289 * string/strcat.c: Likewise.
4290 * string/strchr.c: Likewise.
4291 * string/strchrnul.c: Likewise.
4292 * string/strcmp.c: Likewise.
4293 * string/strcpy.c: Likewise.
4294 * string/strncat.c: Likewise.
4295 * string/strncmp.c: Likewise.
4296 * string/strncpy.c: Likewise.
4298 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4300 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
4301 __builtin_memcopy is called when src and dest ranges are known to not
4304 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4306 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
4307 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
4308 fwd_align_merge macro call.
4309 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
4310 bwd_align_merge macro call.
4311 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4313 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4315 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
4316 bwd_align_merge macros.
4317 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
4318 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
4319 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4321 2012-04-18 David S. Miller <davem@davemloft.net>
4323 * sysdeps/sparc/sparc64/memcopy.h: Delete.
4325 2012-04-18 Andreas Jaeger <aj@suse.de>
4328 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
4329 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
4330 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4332 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
4333 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
4334 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4336 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
4337 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
4338 Adjust for changed ldbl-128 files.
4340 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
4341 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
4342 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4344 2012-04-17 David S. Miller <davem@davemloft.net>
4346 * sysdeps/sparc/sparc32/memcopy.h: Delete.
4348 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
4350 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
4351 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
4352 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
4353 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
4354 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4355 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
4357 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4360 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
4361 * math/libm-test.inc: Add ilogb errno and exception tests.
4362 * math/w_ilogb.c: New file: ilogb wrapper.
4363 * math/w_ilogbf.c: New file: ilogbf wrapper.
4364 * math/w_ilogbl.c: New file: ilogbl wrapper.
4365 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
4366 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
4367 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
4368 exception being thrown with 0.0 as argument.
4369 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
4370 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
4371 exception being thrown with 0.0 as argument.
4372 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
4373 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4374 exception being thrown with 0.0 as argument.
4375 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
4376 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4377 exception being thrown with 0.0 as argument.
4378 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
4379 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
4380 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
4381 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
4382 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
4383 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
4384 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
4385 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
4386 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
4388 2012-04-17 Petr Baudis <pasky@ucw.cz>
4390 * include/sys/uio.h: Change __vector to __iovec to avoid clash
4393 2012-04-16 Marek Polacek <polacek@redhat.com>
4395 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
4397 2012-04-16 Marek Polacek <polacek@redhat.com>
4399 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
4400 operands of fdivp instruction.
4402 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4404 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
4405 * elf/tst-auditmod3b.c: Likewise.
4406 * elf/tst-auditmod4b.c: Likewise.
4407 * elf/tst-auditmod5b.c: Likewise.
4408 * elf/tst-auditmod6b.c: Likewise.
4409 * elf/tst-auditmod6c.c: Likewise.
4410 * elf/tst-auditmod7b.c: Likewise.
4411 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
4412 * sysdeps/x86_64/preconfigure.in: Likewise.
4413 * sysdeps/x86_64/preconfigure: Regenerated.
4415 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4417 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
4420 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
4422 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4423 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
4425 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
4428 * locale/iso-639.def: Fix gl language name. Spotted by
4431 2012-04-12 Roland McGrath <roland@hack.frob.com>
4434 * libio/libio.h (__io_write_fn): Update comment.
4436 2012-04-12 Petr Baudis <pasky@ucw.cz>
4439 * stdio.texi (Hook Functions): The user provided writer function
4440 is not allowed to return -1.
4442 2012-04-11 David S. Miller <davem@davemloft.net>
4444 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4446 2012-04-11 Mike Frysinger <vapier@gentoo.org>
4448 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
4449 Add a leading slash to rtkaio.
4451 2012-04-11 Jim Meyering <meyering@redhat.com>
4454 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
4455 It is not necessarily an error to ignore fwrite's return
4456 value. One can reliably use ferror to test for errors after
4459 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
4461 * bits/types.h (__snseconds_t): New type.
4462 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
4464 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
4465 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4466 (__SNSECONDS_T_TYPE): Likewise.
4467 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4468 (__SNSECONDS_T_TYPE): Likewise.
4469 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4470 (__SNSECONDS_T_TYPE): Likewise.
4472 2012-04-10 Andreas Jaeger <aj@suse.de>
4475 * manual/time.texi (Processor Time): Return type of times is
4476 elapsed real time since an arbitrary point in the past.
4477 (CPU Time): Move CLK_TCK from here...
4478 (Processor Time): ...to here. Correct description.
4479 * manual/conf.texi (Constants for Sysconf): Correct description of
4482 2012-04-10 David S. Miller <davem@davemloft.net>
4485 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
4486 where the is a gap between DT_REL(A) and DT_JMPREL.
4488 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
4490 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
4491 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
4492 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
4494 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4496 * elf/dl-support.c (_dl_inhibit_cache): New variable.
4497 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
4498 (dl_main): Handle --inhibit-cache.
4499 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
4501 * elf/dl-load.c (_dl_map_object): Use it.
4502 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
4504 2012-04-09 Joseph Myers <joseph@codesourcery.com>
4507 * sysdeps/i386/fpu/e_powl.S (p78): New object.
4508 (__ieee754_powl): Saturate large exponents rather than testing for
4509 overflow of y*log2(x).
4510 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4511 * math/libm-test.inc (pow_test): Do not permit spurious overflow
4515 * math/s_ctan.c: Include <float.h>.
4516 (__ctan): Avoid internal overflow or cancellation in calculating
4518 * math/s_ctanf.c: Likewise.
4519 * math/s_ctanl.c: Likewise.
4520 * math/s_ctanh.c: Likewise.
4521 * math/s_ctanhf.c: Likewise.
4522 * math/s_ctanhl.c: Likewise.
4523 * math/libm-test.inc (ctan_test): Add more tests.
4524 (ctanh_test): Likewise.
4525 * sysdeps/i386/fpu/libm-test-ulps: Update.
4526 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4528 2012-04-09 Andreas Jaeger <aj@suse.de>
4531 * manual/filesys.texi (Directory Entries): Mention that d_namlen
4532 is an optional BSD extension.
4535 * manual/stdio.texi (Opening Streams): Document additional fopen
4538 2012-04-09 Roland McGrath <roland@hack.frob.com>
4540 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
4541 %eax without telling the compiler.
4543 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
4546 * manual/install.texi: Use sourceware.org.
4548 2012-04-09 Joseph Myers <joseph@codesourcery.com>
4551 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
4552 (__ieee754_pow): Generate overflow and underflow using huge*huge
4553 and tiny*tiny rather than just returning constant infinity or zero
4554 for large exponents.
4555 * math/libm-test.inc (pow_test): Require overflow exceptions for
4556 applicable cases of large exponents.
4559 * sysdeps/i386/fpu/e_pow.S (p10): New object.
4560 (__ieee754_pow): Use iterative multiplication algorithm only for
4561 integer exponents with absolute value below 1024. Check for odd
4562 integer exponents when using algorithm for real exponents.
4563 * math/libm-test.inc (pow_test): Add more tests.
4564 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4566 2012-04-08 Joseph Myers <joseph@codesourcery.com>
4569 * math/libm-test.inc (exp_test): Do not allow overflow exception
4572 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
4575 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
4576 instead of __kernel_standard_f.
4578 2012-04-08 Mike Frysinger <vapier@gentoo.org>
4580 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
4581 * sysdeps/x86_64/memset_chk.S: Likewise.
4583 2012-04-08 Andreas Jaeger <aj@suse.de>
4586 * manual/startup.texi (Environment Access): Describe return value
4587 for putenv and setenv.
4590 * manual/filesys.texi (Directory Entries): Add description for
4594 * manual/filesys.texi (Directory Entries): Clarify that it's file
4595 system not operating system in the description of DT_UNKNOWN.
4598 * manual/syslog.texi (closelog): Fix reference, it's openlog.
4600 2012-04-08 Stephen Compall <s11@member.fsf.org>
4603 * manual/llio.texi (Opening and Closing Files): Add cross
4604 reference to explain mode argument.
4606 2012-04-07 Mike Frysinger <vapier@gentoo.org>
4608 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
4609 * sysdeps/x86_64/memset_chk.S: Likewise.
4611 2012-04-07 David S. Miller <davem@davemloft.net>
4613 * elf/elf.h (R_SPARC_WDISP10): Define.
4614 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
4616 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
4617 R_SPARC_SIZE64 and R_SPARC_H34.
4619 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
4621 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
4622 conditions and remove no longer applicable assertion.
4624 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
4626 * bits/byteswap.h: Include <features.h>.
4627 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
4628 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
4630 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
4632 * bits/byteswap.h (__bswap_16): Removed.
4633 Include <bits/byteswap-16.h> to get __bswap_16.
4634 * sysdeps/i386/bits/byteswap.h: Likewise.
4635 * sysdeps/s390/bits/byteswap.h: Likewise.
4636 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4637 * bits/byteswap-16.h: New file.
4638 * sysdeps/i386/bits/byteswap-16.h: Likewise.
4639 * sysdeps/s390/bits/byteswap-16.h: Likewise.
4640 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
4641 * string/Makefile (headers): Add bits/byteswap-16.h.
4643 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
4646 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
4648 * nss/Makefile (tests-static, tests): Add tst-nss-static.
4649 * nss/tst-nss-static.c: New.
4651 2012-04-06 Robert Millan <rmh@gnu.org>
4654 * manual/llio.texi (File Position Primitive): lseek
4655 refers to WHENCE when it really means OFFSET.
4657 2012-04-06 Andreas Jaeger <aj@suse.de>
4659 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
4660 strncmp declarations.
4662 * abilist/libc.abilist: Add __poll and __ppoll.
4664 2012-04-05 David S. Miller <davem@davemloft.net>
4666 * scripts/check-local-headers.sh: Accept a host triplet in the
4667 path matched by the exclude regexp.
4669 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
4671 * sysdeps/powerpc/powerpc32/dl-machine.h
4672 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
4673 * sysdeps/s390/s390-32/dl-machine.h
4674 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4675 * sysdeps/sparc/sparc32/dl-machine.h
4676 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4677 * sysdeps/sparc/sparc64/dl-machine.h
4678 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4680 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
4682 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
4683 undefined symbol errors.
4685 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
4688 2012-04-05 Michael Matz <matz@suse.de>
4691 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
4693 2012-04-05 Andreas Jaeger <aj@suse.de>
4696 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
4699 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4701 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
4702 which ROUND is no valid rounding mode.
4704 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4706 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
4708 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
4710 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4712 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
4713 an exception using FPU order intentionally.
4715 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4717 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
4718 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
4719 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
4720 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
4722 2012-04-05 Simon Josefsson <simon@josefsson.org>
4725 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
4726 EINVAL when BUFLEN is too smal.
4728 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
4731 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
4732 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
4734 2012-04-03 Andreas Jaeger <aj@suse.de>
4737 * manual/setjmp.texi (System V contexts): Fix sentence.
4740 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
4741 New macro for this case.
4742 [!__GNUC__] (__bswap_64): New inline function for this case.
4743 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4744 * bits/byteswap.h: Likewise.
4745 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
4746 ull, guard with __GLIBC_HAVE_LONG_LONG.
4748 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
4749 __GLIBC_HAVE_LONG_LONG.
4751 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
4752 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
4754 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4757 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
4758 inptr and inend, rather than using last_ch.
4760 2012-04-02 David S. Miller <davem@davemloft.net>
4762 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
4763 * stdio-common/printf-parse.h (read_int): Change return type to
4764 'int', return -1 on INT_MAX overflow.
4765 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
4766 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
4767 overflows INT_MAX. Check for overflow of in-format-string precision
4768 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
4769 SIZE_MAX not INT_MAX for integer overflow test.
4770 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
4771 skip the construct in the format string but do not record anything.
4772 * stdio-common/bug22.c: Adjust to test both width/prevision
4773 INT_MAX overflow as well as total length INT_MAX overflow. Check
4774 explicitly for proper errno values.
4776 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
4778 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
4780 * string/test-strcmp.c [! WIDE]: Likewise.
4781 * time/tst-mktime2.c: Likewise for INT_MAX.
4782 * string/test-string.h: #include <sys/param.h> for MIN.
4784 * csu/init-first.c (__libc_init_first): Call __ctype_init.
4785 * sysdeps/i386/init-first.c (init): Likewise.
4786 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
4787 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
4788 * sysdeps/sh/init-first.c (init): Likewise.
4790 2012-04-01 Ulrich Drepper <drepper@gmail.com>
4792 * po/ru.po: Update from translation team.
4793 * po/vi.po: Likewise.
4795 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4797 * resolv/nss_dns/dns-host.c: Merge copyright years.
4799 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4801 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
4802 Optimize memcpy with prefetch if
4803 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
4804 src, dst pointers have unequal 16 byte alignments.
4806 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4809 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
4810 from a CNAME entry and return the minimum ttl for the query.
4811 (gaih_getanswer_slice): Likewise.
4813 2012-03-30 Jeff Law <law@redhat.com>
4815 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
4817 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
4818 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
4820 * resolv/nss_dns/dns-host.c: Update copyright year.
4822 2012-03-30 Ulrich Drepper <drepper@gmail.com>
4824 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
4825 requests to save a system call. Fix check that all bytes are sent.
4827 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
4828 comments for sendmmsg.
4830 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4833 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
4834 with only 1 character between 0x0041 and 0x01b0.
4835 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
4836 * wcsmbs/tst-mbsnrtowcs.c: New file.
4838 2012-03-29 David S. Miller <davem@davemloft.net>
4840 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
4841 small copies by hand.
4843 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4846 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
4847 _nss_compat_initgroups_dyn): Fall back to malloc/free
4848 for large group memberships.
4850 2012-03-28 David S. Miller <davem@davemloft.net>
4852 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
4853 that branches into memcpy.
4854 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
4855 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
4856 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4857 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
4858 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
4860 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
4862 * sysdeps/sparc/mempcpy.S: New file.
4864 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
4865 the IFUNC routine in the libc case.
4866 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
4868 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
4869 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
4870 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
4871 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
4872 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
4873 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
4874 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
4875 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
4877 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
4878 loop to 256 bytes instead of 64 bytes and fix test signedness.
4880 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
4881 * sysdeps/sparc/sparc32/Makefile: rather than here...
4882 * sysdeps/sparc/sparc64/Makefile: and here.
4884 2012-03-28 Ulrich Drepper <drepper@gmail.com>
4886 * malloc/mallocbug.c: Avoid warnings about unused variables.
4888 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4891 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
4892 in the right place. Discard and retry query if response is
4893 larger than input buffer size.
4895 2012-03-28 Joseph Myers <joseph@codesourcery.com>
4900 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
4901 x for large integer exponent.
4902 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
4903 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
4904 sign of result as needed afterwards.
4905 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
4906 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
4907 result for underflowing pow the same as for overflow.
4908 (__kernel_standard_l): Handle powl overflow and underflow here
4909 rather than calling __kernel_standard.
4910 * math/libm-test.inc (pow_test): Add more tests.
4925 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
4926 * sysdeps/ieee754/k_standard.c: Include <float.h>.
4927 (__kernel_standard_l): New function.
4928 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
4930 * math/w_acosl.c (__acosl): Likewise.
4931 * math/w_asinl.c (__asinl): Likewise.
4932 * math/w_atan2l.c (__atan2l): Likewise.
4933 * math/w_atanhl.c (__atanhl): Likewise.
4934 * math/w_coshl.c (__coshl): Likewise.
4935 * math/w_exp10l.c (__exp10l): Likewise.
4936 * math/w_exp2l.c (__exp2l): Likewise.
4937 * math/w_fmodl.c (__fmodl): Likewise.
4938 * math/w_hypotl.c (__hypotl): Likewise.
4939 * math/w_j0l.c (__j0l, __y0l): Likewise.
4940 * math/w_j1l.c (__j1l, __y1l): Likewise.
4941 * math/w_jnl.c (__jnl, __ynl): Likewise.
4942 * math/w_lgammal.c (__lgammal): Likewise.
4943 * math/w_log10l.c (__log10l): Likewise.
4944 * math/w_log2l.c (__log2l): Likewise.
4945 * math/w_logl.c (__logl): Likewise.
4946 * math/w_powl.c (__powl): Likewise.
4947 * math/w_remainderl.c (__remainderl): Likewise.
4948 * math/w_scalbl.c (sysv_scalbl): Likewise.
4949 * math/w_sinhl.c (__sinhl): Likewise.
4950 * math/w_sqrtl.c (__sqrtl): Likewise.
4951 * math/w_tgammal.c (__tgammal): Likewise.
4952 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
4953 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
4954 * math/libm-test.inc (acos_test): Add more tests.
4955 (acosh_test): Likewise.
4956 (asin_test): Likewise.
4957 (atanh_test): Likewise.
4958 (exp_test): Likewise.
4959 (exp10_test): Likewise.
4960 (exp2_test): Likewise.
4961 (expm1_test): Likewise.
4962 (lgamma_test): Likewise.
4963 (log_test): Likewise.
4964 (log10_test): Likewise.
4965 (log1p_test): Likewise.
4966 (log2_test): Likewise.
4967 (pow_test): Do not allow some spurious overflow exceptions.
4968 (sqrt_test): Add more tests.
4969 (tgamma_test): Likewise.
4970 (y0_test): Likewise.
4971 (y1_test): Likewise.
4972 (yn_test): Likewise.
4974 2012-03-27 Anton Blanchard <anton@samba.org>
4976 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
4978 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
4979 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
4980 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
4982 2012-03-27 David S. Miller <davem@davemloft.net>
4984 * conform/Makefile: Run run-conformtest.sh using $(BASH).
4986 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
4989 2012-03-27 Andreas Jaeger <aj@suse.de>
4991 * sysdeps/x86_64/elf/configure.in: Moved to ...
4992 * sysdeps/x86_64/configure.in: ... here.
4993 * sysdeps/x86_64/elf/start.S: Moved to ...
4994 * sysdeps/x86_64/start.S: ... here.
4995 * sysdeps/x86_64/elf/configure: Delete.
4997 * sysdeps/x86_64/configure.in: Merge contents from
4998 sysdeps/i386/configure.in (without i686 check).
5000 * sysdeps/i386/elf/Versions: Merge into ...
5001 * sysdeps/i386/Versions: ... this.
5002 * sysdeps/i386/elf/Versions: Delete file.
5003 * sysdeps/i386/elf/start.S: Moved to ...
5004 * sysdeps/i386/start.S: ...here.
5005 * sysdeps/i386/elf/configure.in: Merge into...
5006 * sysdeps/i386/configure.in: ...here.
5007 * sysdeps/i386/elf/configure.in: Delete file.
5008 * sysdeps/i386/elf/configure: Delete file.
5010 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
5011 * debug/backtracesyms.c: ... here.
5012 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
5013 * debug/backtracesymsfd.c: ... here.
5014 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
5015 * sysdeps/generic/ifunc-sel.h: ... here.
5017 * sysdeps/unix/i386/start.c: Delete file.
5018 * sysdeps/unix/sparc/start.c: Delete file.
5019 * sysdeps/unix/start.c: Delete file.
5021 * sysdeps/sh/elf/configure.in: Moved to ...
5022 * sysdeps/sh/configure.in: ... here.
5023 * sysdeps/sh/elf/start.S: Moved to ...
5024 * sysdeps/sh/start.S: ... here.
5025 * sysdeps/sh/elf/configure: Delete file.
5027 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
5028 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
5029 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
5030 * sysdeps/powerpc/powerpc64/entry.h: ... here.
5031 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
5032 * sysdeps/powerpc/powerpc64/start.S: here.
5033 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
5034 * sysdeps/powerpc/powerpc64/Makefile: ... this.
5035 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
5036 * sysdeps/powerpc/powerpc64/configure.in: ... this.
5037 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
5039 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
5040 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
5041 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
5042 * sysdeps/powerpc/powerpc32/start.S: ... here.
5043 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
5044 * sysdeps/powerpc/powerpc32/configure.in: ... this.
5045 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
5047 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
5048 * sysdeps/powerpc/ifunc-sel.h: ... here.
5049 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
5050 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
5052 * sysdeps/sparc/elf/configure.in: Moved to ...
5053 * sysdeps/sparc/configure.in: ... here.
5054 * sysdeps/sparc/elf/configure: Delete file.
5055 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
5056 * sysdeps/sparc/sparc32/start.S: ... here.
5057 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
5058 * sysdeps/sparc/sparc64/start.S: ... here.
5059 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
5060 * sysdeps/sparc/sparc32/Makefile: ... this.
5061 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
5062 * sysdeps/sparc/sparc64/Makefile: ... this.
5064 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
5065 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
5066 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
5067 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
5068 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
5069 * sysdeps/s390/s390-32/setjmp.S: ... here.
5070 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
5071 * sysdeps/s390/s390-32/configure.in: ... here.
5072 * sysdeps/s390/s390-32/elf/configure: Delete file.
5073 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
5074 * sysdeps/s390/s390-32/start.S: ... here.
5076 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
5077 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
5078 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
5079 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
5080 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
5081 * sysdeps/s390/s390-64/setjmp.S: ... here.
5082 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
5083 * sysdeps/s390/s390-64/configure.in: ... here
5084 * sysdeps/s390/s390-64/elf/configure: Delete file.
5085 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
5086 * sysdeps/s390/s390-64/start.S: ... here.
5087 * sysdeps/s390/s390-64/elf/configure: Delete.
5089 * configure.in: Remove support for elf directories in sysdeps.
5091 * configure: Regenerated.
5092 * sysdeps/i386/configure: Regenerated.
5093 * sysdeps/powerpc/powerpc32/configure: Regenerated.
5094 * sysdeps/powerpc/powerpc64/configure: Regenerated.
5095 * sysdeps/s390/s390-32/configure: Regenerated.
5096 * sysdeps/s390/s390-64/configure: Regenerated.
5097 * sysdeps/sh/configure: Regenerated.
5098 * sysdeps/sparc/configure: Regenerated.
5099 * sysdeps/x86_64/configure: Regenerated.
5101 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
5103 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5105 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
5106 denormal result into account.
5108 2012-03-25 Roland McGrath <roland@hack.frob.com>
5110 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
5111 Reported by Allan McRae <allan@archlinux.org>.
5113 2012-03-23 Jeff Law <law@redhat.com>
5115 * nss/getnssent.c (__nss_getent): Fix typo.
5117 2012-03-23 David S. Miller <davem@davemloft.net>
5119 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5121 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
5123 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
5124 to pad to uint64_t for each field.
5125 (dl_tls_index): Replace unsigned long with uint64_t.
5127 2012-03-23 Daniel Jacobowitz <dmj@google.com>
5128 Paul Pluzhnikov <ppluzhnikov@google.com>
5131 * grp/Makefile (otherlibs): Don't set it.
5132 * inet/Makefile (otherlibs): Likewise.
5133 * login/Makefile (otherlibs): Likewise.
5134 * nscd/Makefile (otherlibs): Likewise.
5135 * posix/Makefile (otherlibs): Likewise.
5136 * pwd/Makefile (otherlibs): Likewise.
5137 * rt/Makefile (otherlibs): Likewise.
5138 * sunrpc/Makefile (otherlibs): Likewise.
5139 * nss/Makefile (otherlibs): Likewise.
5140 Add libnss_files to routines and static-only-routines.
5141 ($(objpfx)getent): Remove rule.
5142 * resolv/Makefile: Add libnss_dns and libresolv to routines and
5143 static-only-routines.
5145 2012-03-22 Joseph Myers <joseph@codesourcery.com>
5148 * math/s_cexp.c: Include <float.h>.
5149 (__cexp): Handle exp result overflowing not necessarily
5150 overflowing both real and imaginary parts of result.
5151 * math/s_cexpf.c: Likewise.
5152 * math/s_cexpl.c: Likewise.
5153 * math/libm-test.inc (cexp_test): Add more tests.
5154 * sysdeps/i386/fpu/libm-test-ulps: Update.
5155 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5157 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5159 * include/link.h (ELFW): New macro.
5160 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
5161 Replace ELF64_R_TYPE with ELFW(R_TYPE).
5163 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5165 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
5168 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5170 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
5172 (struct La_x32_retval): Likewise.
5174 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5176 * sysdeps/x86_64/preconfigure.in: New file.
5177 * sysdeps/x86_64/preconfigure: New generated file.
5179 2012-03-22 Joseph Myers <joseph@codesourcery.com>
5182 * math/e_exp2l.c: Include <float.h>.
5183 (__ieee754_exp2l): Handle overflow and underflow cases
5184 separately. Only pass fractional part of argument to
5186 * math/libm-test.inc (exp2_test): Add more tests.
5188 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
5189 negating x to take absolute value.
5190 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
5192 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5193 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
5195 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
5196 computing low part if x was negated.
5197 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5199 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5201 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
5203 (pltexit): Cast int_retval to ptrdiff_t.
5204 * elf/tst-auditmod3b.c: Likewise.
5205 * elf/tst-auditmod4b.c: Likewise.
5206 * elf/tst-auditmod5b.c: Likewise.
5207 * elf/tst-auditmod6b.c: Likewise.
5208 * elf/tst-auditmod6c.c: Likewise.
5209 * elf/tst-auditmod7b.c: Likewise.
5211 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
5212 and x32_gnu_pltexit.
5214 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
5216 (La_x32_regs): New macro.
5217 (La_x32_retval): Likewise.
5218 (la_x32_gnu_pltenter): New function prototype.
5219 (la_x32_gnu_pltexit): Likewise.
5221 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
5223 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
5226 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5228 * configure.in (libc_cv_cc_nofma): Check for option to disable
5229 generation of FMA instructions.
5230 * configure: Regenerate.
5231 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
5232 * sysdeps/ieee754/dbl-64/Makefile: New file.
5233 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
5234 Remove brandred-fma4.
5235 (CFLAGS-brandred-fma4.c): Remove.
5236 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
5237 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
5239 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
5242 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5244 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
5245 LLONG_MAX != LONG_MAX.
5246 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5247 (_fitoa_word): Likewise.
5248 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
5249 LLONG_MAX != LONG_MAX.
5250 * stdio-common/_itowa.h: Include <_itoa.h>.
5251 (_itowa_word): Use _ITOA_WORD_TYPE on value.
5252 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
5253 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
5254 only if not defined.
5255 (_ITOA_WORD_TYPE): Likewise.
5256 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5257 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
5259 2012-03-21 David S. Miller <davem@davemloft.net>
5261 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5263 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5265 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
5266 of x86_64 when setting libc_cv_slibdir, libdir and
5268 * sysdeps/unix/sysv/linux/configure: Regenerated.
5270 2012-03-21 Joseph Myers <joseph@codesourcery.com>
5272 * manual/lang.texi (Old Varargs): Remove section.
5273 (How Variadic): Update menu.
5274 (va_start): Do not mention varargs.h.
5276 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5277 Joseph Myers <joseph@codesourcery.com>
5279 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
5281 * configure: Regenerated.
5283 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5285 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
5286 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
5289 2012-03-21 Joseph Myers <joseph@codesourcery.com>
5292 * Makefile (files-for-dist): Remove NOTES.
5293 (NOTES): Remove rule.
5294 * README: Don't refer to NOTES.
5295 * manual/creature.texi: Don't include macros.texi.
5296 * manual/intro.texi (creature.texi): Remove comment referring to
5299 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
5300 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
5301 * configure: Regenerated.
5302 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
5304 (libc_cv_as_i686): Likewise.
5305 (libc_cv_cc_avx): Likewise.
5306 (libc_cv_cc_sse2avx): Likewise.
5307 (libc_cv_cc_fma4): Likewise.
5308 (libc_cv_cc_novzeroupper): Likewise.
5309 * sysdeps/i386/configure: Regenerated.
5312 * sysdeps/i386/fpu/s_cexp.S: Remove.
5313 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5314 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5315 * math/libm-test.inc (cexp_test): Add more tests.
5316 * sysdeps/i386/fpu/libm-test-ulps: Update.
5317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5319 2012-03-21 Allan McRae <allan@archlinux.org>
5321 * timezone/Makefile: Do not install iso3166.tab and zone.tab
5323 2012-03-21 Joseph Myers <joseph@codesourcery.com>
5326 * math/w_exp2.c: Do not include <float.h>.
5327 (o_threshold, u_threshold): Remove.
5328 (__exp2): Calculate result before checking finiteness and calling
5330 * math/w_exp2f.c: Likewise.
5331 * math/w_exp2l.c: Likewise.
5332 * math/libm-test.inc (exp2_test): Require overflow exception for
5336 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
5337 range of signed 64-bit integers before using fistpll. Remove
5338 checks for whether integers fit in mantissa bits.
5339 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
5340 the range of signed 32-bit integers before using fistpl. Remove
5341 checks for whether integers fit in mantissa bits.
5342 * sysdeps/i386/fpu/e_powl.S (p64): New object.
5343 (__ieee754_powl): Test for y outside the range of signed 64-bit
5344 integers before using fistpll. Reduce 64-bit values to 63-bit
5346 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
5347 divide-by-zero is raised for zero to large negative powers.
5348 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
5349 (__ieee754_powl): Test for y outside the range of signed 64-bit
5350 integers before using fistpll. Reduce 64-bit values to 63-bit
5352 * math/libm-test.inc (pow_test): Add more tests.
5354 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5356 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
5357 <stdio-common/_itoa.h>.
5358 * debug/segfault.c: Likewise.
5359 * elf/dl-cache.c: Likewise.
5360 * elf/dl-minimal.c: Likewise.
5361 * elf/dl-misc.c: Likewise.
5362 * elf/dl-sysdep.c: Likewise.
5363 * elf/dl-version.c: Likewise.
5364 * elf/rtld.c: Likewise.
5365 * hurd/hurdsock.c: Likewise.
5366 * hurd/lookup-retry.c: Likewise.
5367 * malloc/malloc.c: Likewise.
5368 * malloc/mtrace.c: Likewise.
5369 * nscd/nscd_getgr_r.c: Likewise.
5370 * nscd/nscd_getpw_r.c: Likewise.
5371 * nscd/nscd_getserv_r.c: Likewise.
5372 * posix/getopt_init.c: Likewise.
5373 * posix/wordexp.c: Likewise.
5374 * stdio-common/_itoa.c: Likewise.
5375 * stdio-common/printf_fphex.c: Likewise.
5376 * stdio-common/vfprintf.c: Likewise.
5377 * string/_strerror.c: Likewise.
5378 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
5379 * sysdeps/i386/i686/hp-timing.h: Likewise.
5380 * sysdeps/mach/_strerror.c: Likewise.
5381 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
5382 * sysdeps/mach/hurd/sethostid.c: Likewise.
5383 * sysdeps/mach/hurd/xmknodat.c: Likewise.
5384 * sysdeps/mach/xpg-strerror.c: Likewise.
5385 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5386 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5387 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
5388 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
5389 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5390 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
5391 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
5392 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
5393 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
5394 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
5395 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
5396 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5397 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
5398 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
5399 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
5400 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
5401 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
5402 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
5403 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5404 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5405 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
5407 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
5409 * stdio-common/_itoa.h: Moved to ...
5410 * sysdeps/generic/_itoa.h: Here.
5412 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
5414 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
5415 instead of "_itoa.h" and "_itowa.h".
5416 * stdio-common/vfprintf.: Likewise.
5418 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5420 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
5422 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
5423 (__signbit): Likwise.
5427 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5429 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
5432 2012-03-20 Joseph Myers <joseph@codesourcery.com>
5434 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
5435 OVERFLOW_EXCEPTION_OK.
5436 * math/libm-test.inc ("Philosophy"): Update comment about
5438 (OVERFLOW_EXCEPTION): Define.
5439 (OVERFLOW_EXCEPTION_OK): Likewise.
5440 (INVALID_EXCEPTION_OK): Renumber.
5441 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5442 (IGNORE_ZERO_INF_SIGN): Likewise.
5443 (test_exceptions): Handle FE_OVERFLOW.
5444 (exp10_test): Expect overflow exceptions.
5445 (exp2_test): Likewise.
5446 (expm1_test): Likewise.
5447 (nextafter_test): Likewise.
5448 (pow_test): Likewise.
5449 (scalbn_test): Likewise.
5450 (scalbln_test): Likewise.
5452 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5454 * sysdeps/x86_64/bits/atomic.h
5455 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
5457 (atomic_exchange_acq): Likewise.
5458 (__arch_exchange_and_add_body): Likewise.
5459 (__arch_add_body): Likewise.
5460 (atomic_add_negative): Likewise.
5461 (atomic_add_zero): Likewise.
5463 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5465 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
5466 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
5468 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5470 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
5471 Check __x86_64__ instead of __WORDSIZE.
5473 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5475 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
5477 2012-03-19 David S. Miller <davem@davemloft.net>
5479 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5481 * sysdeps/sparc/fpu/fenv_private.h: New file.
5482 * sysdeps/sparc/fpu/math_private.h: Use it.
5483 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
5485 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
5486 (libc_feholdexcept_setroundl): Remove.
5487 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
5489 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
5490 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
5492 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5494 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
5495 int64_t instead of long int.
5496 (INSERT_WORDS64): Likwise.
5498 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5500 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
5501 _Unwind_GetCFA return to _Unwind_Ptr first.
5503 2012-03-19 Joseph Myers <joseph@codesourcery.com>
5506 * math/s_clog.c: Include <float.h>.
5507 (__clog): Scale large or subnormal inputs.
5508 * math/s_clogf.c: Likewise.
5509 * math/s_clogl.c: Likewise.
5510 * math/s_clog10.c: Include <float.h>.
5511 (M_LOG10_2): Define.
5512 (__clog10): Scale large or subnormal inputs.
5513 * math/s_clog10f.c: Likewise.
5514 * math/s_clog10l.c: Likewise.
5515 * math/libm-test.inc (clog_test): Add more tests.
5516 (clog10_test): Likewise.
5517 * sysdeps/i386/fpu/libm-test-ulps: Update.
5518 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5521 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
5523 * math/libm-test.inc (atan2_test): Add another test.
5525 * Makerules (common-objdir-compile): Remove.
5526 * sysdeps/unix/Makefile (config-generated): Do not add
5527 $(unix-generated) to variable.
5528 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
5529 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
5531 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
5533 [generic bits/local_lim.h] (before-compile): Do not append to
5535 [generic bits/local_lim.h] (common-generated): Likewise.
5536 [generic sys/param.h] (before-compile): Do not append to variable.
5537 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
5538 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
5539 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
5540 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
5542 [generic sys/param.h] (sys/param.h-includes): Remove variable.
5543 [generic sys/param.h] (sys/param.h-includes): Remove rule.
5544 [generic sys/param.h] ($(addprefix
5545 $(common-objpfx),$(sys/param.h-includes))): Likewise.
5546 [generic sys/param.h] (common-generated): Do not append to
5548 [generic sys/param.h] (sysdep_headers): Likewise.
5549 [generic bits/errno.h] (before-compile): Do not append to
5551 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
5553 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
5554 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
5555 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
5556 [generic bits/errno.h] (common-generated): Do not append to
5558 [generic bits/ioctls.h] (before-compile): Do not append to
5560 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
5562 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
5563 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
5564 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
5566 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
5567 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
5568 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
5569 [generic bits/ioctls.h] (common-generated): Do not append to
5571 [generic sys/syscall.h] (syscall.h): Remove variable.
5572 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
5574 [generic sys/syscall.h] (before-compile): Do not append to
5576 [generic sys/syscall.h] (common-generated): Likewise.
5577 * sysdeps/unix/errnos-tmpl.c: Remove file.
5578 * sysdeps/unix/errnos.awk: Likewise.
5579 * sysdeps/unix/ioctls-tmpl.c: Likewise.
5580 * sysdeps/unix/ioctls.awk: Likewise.
5581 * sysdeps/unix/mk-local_lim.c: Likewise.
5582 * sysdeps/unix/snarf-ioctls: Likewise.
5584 2012-03-19 Richard Henderson <rth@twiddle.net>
5586 * sysdeps/i386/fpu/fenv_private.h: New file.
5587 * sysdeps/i386/fpu/math_private.h: Use it.
5588 (math_opt_barrier, math_force_eval): Remove.
5589 (libc_feholdexcept_setround_53bit): Remove.
5590 (libc_feupdateenv_53bit): Remove.
5591 * sysdeps/x86_64/fpu/math_private.h: Likewise.
5592 (math_opt_barrier, math_force_eval): Remove.
5593 (libc_feholdexcept): Remove.
5594 (libc_feholdexcept_setround): Remove.
5595 (libc_fetestexcept, libc_fesetenv): Remove.
5596 (libc_feupdateenv_test): Remove.
5597 (libc_feupdateenv, libc_feholdsetround): Remove.
5598 (libc_feresetround): Remove.
5600 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
5601 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5603 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
5604 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
5605 (libc_feupdateenv_testl): New.
5606 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
5607 (libc_feupdateenv_testf): New.
5608 (libc_feupdateenv): Use libc_feupdateenv_test.
5609 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
5610 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
5612 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
5613 (libc_feholdsetroundf, libc_feholdsetroundl): New.
5614 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
5615 (libc_feresetround_noex): New.
5616 (libc_feresetround_noexf): New.
5617 (libc_feresetround_noexl): New.
5618 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
5619 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
5620 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
5621 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
5623 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
5624 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
5626 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
5627 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
5628 SET_RESTORE_ROUND_NOEX.
5629 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
5630 SET_RESTORE_ROUND_NOEXF.
5631 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
5632 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
5633 (libc_feholdsetroundf): New.
5634 (libc_feresetround, libc_feresetroundf): New.
5636 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
5637 (libc_feholdexcept_setround_53bit): Convert from macro to function.
5638 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
5640 * sysdeps/generic/math_private.h: Include <fenv.h>.
5641 (default_libc_feholdexcept): New.
5642 (default_libc_feholdexcept_setround): New.
5643 (default_libc_fesetenv, default_libc_feupdateenv): New.
5644 (libc_feholdexcept): Only define if undefined.
5645 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
5646 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
5647 (libc_feholdexcept_setroundl): Likewise.
5648 (libc_feholdexcept_setround_53bit): Likewise.
5649 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
5650 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
5651 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
5652 (libc_feupdateenv_53bit): Likewise.
5653 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
5654 (libc_feholdexcept): Convert from macro to inline function.
5655 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
5656 (libc_fesetenv, libc_feupdateenv): Likewise.
5658 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
5659 not previously defined.
5660 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
5661 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
5662 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
5663 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
5664 * sysdeps/ieee754/flt-32/math_private.h: New file.
5665 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
5666 math_private.h below SET_FLOAT_WORD.
5667 (__isnan, __isinf_ns, __finite): Remove.
5668 (__isnanf, __isinf_nsf, __finitef): Remove.
5670 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
5672 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5674 2012-03-17 David S. Miller <davem@davemloft.net>
5677 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
5680 2012-03-16 David S. Miller <davem@davemloft.net>
5682 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
5686 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
5688 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
5689 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
5690 sysdep_routines when subdir is sysvipc.
5691 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
5694 * sysdeps/sparc/fpu/libm-test/ulps: Update.
5696 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5698 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
5701 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5703 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
5704 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
5705 (__lround): Renamed to ...
5706 (__llround): This. Replace long int with long long int.
5707 Define lround functions as aliases of llround functions.
5708 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
5710 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5712 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
5713 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
5714 adresses to uintptr_t. Replace "long int" and "unsigned long
5715 int" with "greg_t" on va_arg.
5717 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5719 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
5720 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
5722 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
5723 Move e_machine check before EI_CLASS check. Handle x32
5724 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
5725 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
5726 SKIP_EM_IA_64 and include
5727 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
5729 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
5730 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
5731 (add_system_dir): New macro.
5733 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
5734 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
5736 2012-03-16 Joseph Myers <joseph@codesourcery.com>
5747 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
5749 * math/w_j0f.c (j0f): Likewise.
5751 * math/w_j0l.c (__j0l): Likewise.
5753 * math/w_j1.c (j1): Likewise.
5755 * math/w_j1f.c (j1f): Likewise.
5757 * math/w_j1l.c (__j1l): Likewise.
5759 * math/w_jn.c (jn): Likewise.
5761 * math/w_jnf.c (jnf): Likewise.
5763 * math/w_jnl.c (__jnl): Likewise.
5765 * math/libm-test.inc (j0_test): Add more tests.
5766 (j1_test): Likewise.
5767 (jn_test): Likewise. Add trailing semicolon to existing test.
5768 (y0_test): Likewise.
5769 (y1_test): Likewise.
5770 * sysdeps/i386/fpu/libm-test-ulps: Update.
5771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5775 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
5776 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
5777 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
5778 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
5779 (__tanl): Set errno for infinite argument.
5780 * sysdeps/i386/fpu/mptan.c: Remove.
5781 * sysdeps/i386/fpu/s_tan.S: Likewise.
5782 * sysdeps/i386/fpu/s_tanl.S: Likewise.
5783 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
5784 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
5785 * math/libm-test.inc (tan_test): Add more tests and enable more
5786 tests for double and long double.
5787 * sysdeps/i386/fpu/libm-test-ulps: Update.
5788 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5790 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5792 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
5793 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
5795 2012-03-16 Roland McGrath <roland@hack.frob.com>
5797 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
5798 * configure.in: Use it for both main tree and add-ons.
5799 * configure: Regenerated.
5801 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5803 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
5805 2012-03-16 Joseph Myers <joseph@codesourcery.com>
5807 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
5811 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
5812 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
5813 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
5814 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
5815 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
5817 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
5818 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
5820 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
5821 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
5822 * sysdeps/i386/fpu/s_cosl.S: Likewise.
5823 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
5824 * sysdeps/i386/fpu/s_sinl.S: Likewise.
5825 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
5826 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
5827 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
5828 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
5829 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
5830 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
5831 * math/libm-test.inc (cos_test): Add more tests and enable more
5832 tests for long double.
5833 (sin_test): Likewise.
5834 (sincos_test): Likewise.
5835 * sysdeps/i386/fpu/libm-test-ulps: Update.
5836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5838 2012-03-16 David S. Miller <davem@davemloft.net>
5840 * sysdeps/sparc/fpu/math_private.h: New file.
5842 2012-03-15 David S. Miller <davem@davemloft.net>
5844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
5846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
5847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
5849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
5850 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
5851 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
5852 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
5853 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
5854 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
5856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
5858 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
5859 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
5861 * sysdeps/sparc/sparc-ifunc.h: New file.
5862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
5864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
5865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
5867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
5869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
5870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
5871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
5872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
5874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
5875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
5876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
5877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
5878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
5880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
5882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
5883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
5884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
5885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
5886 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
5887 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
5888 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
5889 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
5890 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
5891 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
5892 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
5893 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
5894 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
5895 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
5896 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
5897 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
5898 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
5899 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
5900 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
5901 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
5902 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
5903 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
5904 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
5905 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
5907 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
5909 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
5911 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5913 2012-03-15 Andreas Jaeger <aj@suse.de>
5916 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
5917 ieee754/flt-32 implementation for sin, cos and sincos.
5918 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
5919 * sysdeps/i386/fpu/s_cosf.S: Likewise.
5920 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
5921 * sysdeps/i386/fpu/s_sinf.S: Likewise.
5922 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
5923 ieee754/flt-32 implementation for tan.
5925 * math/libm-test.inc (cos_test): Enable some large input tests for
5927 (sin_test): Likewise.
5928 (sincos_test): Likewise.
5929 (tan_test): Add tests for large input.
5931 * sysdeps/i386/fpu/libm-test-ulps: Update.
5933 2012-03-15 Andreas Jaeger <aj@suse.de>
5936 * math/libm-test.inc (cos_test): Add more test cases.
5937 (sin_test): Likewise.
5938 (sincos_test): Likewise.
5940 2012-03-15 Andreas Jaeger <aj@suse.de>
5943 * math/libm-test.inc (cos_test): Add a test case for large input
5945 (sin_test): Likewise.
5946 (sincos_test): Likewise.
5948 2012-03-15 Andreas Jaeger <aj@suse.de>,
5949 Joseph Myers <joseph@codesourcery.com>
5952 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
5953 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
5954 * sysdeps/i386/fpu/branred.c: Likewise.
5955 * sysdeps/i386/fpu/dosincos.c: Likewise.
5956 * sysdeps/i386/fpu/mpa.c: Likewise.
5957 * sysdeps/i386/fpu/s_cos.S: Likewise.
5958 * sysdeps/i386/fpu/s_sin.S: Likewise.
5959 * sysdeps/i386/fpu/s_sincos.S: Likewise.
5960 * sysdeps/i386/fpu/sincos32.c: Likewise.
5962 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
5964 (libc_feupdateenv_53bit): Define.
5965 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
5967 (libc_feupdateenv_53bit): Define.
5969 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
5970 53 bit (without extend i386 double precision).
5972 * math/libm-test.inc (sincos_test): Add tests for large input.
5976 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
5978 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
5980 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5982 2012-03-15 David S. Miller <davem@davemloft.net>
5984 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
5985 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
5986 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
5987 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
5988 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
5989 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
5990 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
5991 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
5992 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
5993 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
5994 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
5995 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
5996 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
5997 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
5998 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
5999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
6001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
6002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
6004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
6005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
6007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
6008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
6010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
6011 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
6012 fmin/fmax sysdep routines.
6013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6015 2012-03-14 David S. Miller <davem@davemloft.net>
6017 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
6018 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
6019 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
6020 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
6021 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
6022 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
6023 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
6024 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
6025 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
6026 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
6027 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
6028 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
6029 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
6030 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
6031 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
6032 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
6033 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
6034 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
6035 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
6036 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
6037 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
6038 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
6039 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
6040 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
6041 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
6042 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
6043 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
6044 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
6045 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
6047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
6049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
6050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
6052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
6053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
6055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
6056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
6058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
6059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
6061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
6062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
6064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
6066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
6068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
6070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
6072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
6074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
6076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
6077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
6079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
6080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
6082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
6083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
6085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
6086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
6089 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
6092 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6094 * sysdeps/sparc/configure.in: New file.
6095 * sysdeps/sparc/configure: Generate.
6096 * configure.in (libc_cv_sparc_as_vis3): Substitute.
6097 * configure: Regenerate.
6098 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
6099 * config.make.in (have-as-vis3): New.
6100 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
6101 available use -Av9d instead of -Av9a.
6102 * sysdeps/sparc/sparc64/Makefile: Likewise.
6103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
6104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
6106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
6108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
6110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
6112 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
6113 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
6114 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
6115 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
6116 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
6118 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
6119 fzeros/fnegs to load 0x80000000 into a float register instead of
6121 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
6123 2012-03-14 Joseph Myers <joseph@codesourcery.com>
6125 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6127 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
6128 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
6129 ($(inst_includedir)/bits/syscall.h): Remove rule.
6130 ($(objpfx)bits/syscall.d): Include instead of
6131 $(objpfx)syscall-list.d.
6132 (generated): Change syscall-list.h and syscall-list.d to
6133 bits/syscall.h and bits/syscall.d.
6135 2012-03-14 Roland McGrath <roland@hack.frob.com>
6138 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
6140 2012-03-14 Joseph Myers <joseph@codesourcery.com>
6143 * math/s_csqrt.c: Include <float.h>.
6144 (__csqrt): Scale large or subnormal inputs.
6145 * math/s_csqrtf.c: Likewise.
6146 * math/s_csqrtl.c: Likewise.
6147 * math/libm-test.inc (csqrt_test): Add more tests.
6148 * sysdeps/i386/fpu/libm-test-ulps: Update.
6149 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6152 * math/libm-test.inc (hypot_test): Add more tests.
6154 2012-03-13 David S. Miller <davem@davemloft.net>
6157 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
6158 double-precision for the calculation instead of scaling.
6160 2012-03-13 Joseph Myers <joseph@codesourcery.com>
6162 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
6163 manipulate bits before adding and subtracting TWO52[sx].
6164 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
6165 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
6167 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
6169 2012-03-13 David S. Miller <davem@davemloft.net>
6171 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
6172 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
6173 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
6174 rtld-global-offsets.h
6175 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6177 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
6180 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
6182 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
6183 'err' in the ifdef scope in which it is actually used.
6185 * nss/nss_db/db-init.c: Include string.h
6187 2012-03-12 David S. Miller <davem@davemloft.net>
6189 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
6190 masking out of the most significant byte of random value used.
6191 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6192 Fix coding style in previous change.
6194 * sysdeps/unix/sysv/linux/kernel-features.h
6195 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
6196 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
6198 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
6201 2012-03-11 David S. Miller <davem@davemloft.net>
6203 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6204 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
6205 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
6206 for 'resultvar' otherwise things get truncated on 64-bit.
6208 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6209 Fix masking out of the most significant byte of random value used.
6211 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6213 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
6215 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6217 2012-03-09 David S. Miller <davem@davemloft.net>
6219 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
6220 variables with appropriate CPP guards.
6221 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
6222 frame pointer, not the stack pointer. Correct layout comments. Fix test
6223 on resulting framesize and the management of the outregs buffer for pltexit.
6224 Preserve floating point return values across _dl_call_pltexit call.
6225 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
6226 framesize and the management of the outregs buffer for pltexit.
6227 Preserve floating point return values across _dl_call_pltexit
6229 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
6230 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
6231 (print_exit): Fix format string for return register value.
6233 2012-03-10 Joseph Myers <joseph@codesourcery.com>
6235 * sunrpc/Makefile (others): Add rpcgen.
6236 ($(objpfx)rpcgen): Remove special build rule and dependency on
6238 * sunrpc/rpcgen.c: New file.
6240 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
6243 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
6244 * stdio-common/bug-vfprintf-nargs.c: Likewise.
6245 * sysdeps/i386/crti.S: Likewise.
6246 * sysdeps/i386/crtn.S: Likewise.
6247 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
6248 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
6249 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
6250 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
6251 * sysdeps/sh/crti.S: Likewise.
6252 * sysdeps/sh/crtn.S: Likewise.
6253 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
6256 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
6258 * locale/programs/locfile-kw.gperf: Likewise.
6259 * locale/programs/charmap-kw.h: Regenerated.
6260 * locale/programs/locfile-kw.h: Likewise.
6263 * intl/plural.y: Replace FSF snail mail address with URL.
6264 * intl/plural.c: Regenerated.
6266 2012-03-09 Richard Henderson <rth@twiddle.net>
6268 * include/math_private.h: Remove file.
6269 * math/math_private.h: Move file ...
6270 * sysdeps/generic/math_private.h: ... here.
6272 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
6273 * sysdeps/powerpc/fpu/math_private.h: Likewise.
6274 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6276 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
6277 and <math_private.h>.
6278 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6279 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6280 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6281 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6282 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6283 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
6284 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6285 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6286 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6287 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6288 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6289 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6290 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6291 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6292 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6293 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6294 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6295 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6296 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6297 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6298 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6299 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6300 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6301 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6302 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
6303 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6304 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6305 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6306 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6307 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6308 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6309 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6310 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
6311 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6312 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6313 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6314 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6315 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6316 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6317 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6318 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
6319 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6320 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6321 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
6322 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
6323 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6324 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
6325 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6326 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6327 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6328 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6329 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
6330 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
6331 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6332 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
6333 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6334 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6335 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
6336 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
6337 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
6338 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6339 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
6340 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6341 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6342 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
6343 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6344 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6345 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6346 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
6347 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
6348 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
6349 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6350 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6351 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6352 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
6353 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
6354 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
6355 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6356 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
6357 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
6358 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
6359 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
6360 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
6361 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6362 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6363 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
6364 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
6365 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
6366 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6367 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6368 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6369 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6370 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6371 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6372 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6373 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6374 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6375 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6376 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6377 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6378 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6379 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6380 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6381 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6382 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6383 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6384 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6385 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6386 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6387 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6388 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6389 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6390 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6391 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6392 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
6393 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6394 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6395 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6396 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6397 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
6398 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6399 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6400 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6401 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
6402 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6403 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6404 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6405 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
6406 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6407 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
6408 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
6409 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
6410 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6411 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
6412 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
6413 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6414 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6415 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6416 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
6417 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6418 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6419 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6420 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6421 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
6422 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
6423 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6424 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6425 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6426 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
6427 * sysdeps/ieee754/k_standard.c: Likewise.
6428 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6429 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6430 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6431 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6432 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6433 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6434 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6435 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6436 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6437 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6438 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6439 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6440 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6441 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6442 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6443 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6444 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6445 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6446 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6447 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
6448 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
6449 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
6450 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6451 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6452 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6453 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
6454 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6455 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6456 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6457 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6458 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6459 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6460 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6461 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6462 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6463 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6464 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6465 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
6466 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
6467 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6468 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6469 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6470 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6471 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6472 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6473 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6474 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6475 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6476 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6477 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6478 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6479 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6480 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6481 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
6482 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6483 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6484 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
6485 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
6486 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6487 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6488 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6489 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6490 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6491 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6492 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6493 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6494 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6495 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6496 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6497 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6498 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6499 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6500 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6501 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6502 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6503 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6504 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
6505 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6506 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6507 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
6508 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
6509 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
6510 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6511 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6512 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
6513 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6514 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6515 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
6516 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6517 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6518 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
6519 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6520 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
6521 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
6522 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6523 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6524 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
6525 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
6526 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
6527 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
6528 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6529 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6530 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6531 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6532 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
6533 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6534 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6535 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
6536 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
6537 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6538 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6539 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6540 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6541 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6542 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6543 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6544 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6545 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6546 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6547 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6548 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6549 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6550 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6551 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6552 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6553 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
6554 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6555 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6556 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6557 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6558 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6559 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6560 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6561 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
6562 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6563 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6564 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
6565 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
6566 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6567 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
6568 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
6569 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6570 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
6571 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
6572 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6573 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6574 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6575 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6576 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6577 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
6578 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6579 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
6580 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6581 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
6582 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
6583 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
6584 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6585 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6586 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6587 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
6588 * sysdeps/ieee754/s_lib_version.c: Likewise.
6589 * sysdeps/ieee754/s_matherr.c: Likewise.
6590 * sysdeps/ieee754/s_signgam.c: Likewise.
6591 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6592 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6593 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
6594 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
6595 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
6596 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
6597 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
6598 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
6599 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
6600 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
6601 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6602 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
6603 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6604 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6605 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
6606 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
6607 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
6608 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
6609 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
6610 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6611 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6613 2012-03-09 Joseph Myers <joseph@codesourcery.com>
6615 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
6616 * sunrpc/rpc_main.c: Likewise.
6617 * sunrpc/rpc_svcout.c: Likewise.
6619 2012-03-09 David S. Miller <davem@davemloft.net>
6621 * include/math_private.h: New file.
6623 2012-03-09 Joseph Myers <joseph@codesourcery.com>
6625 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
6626 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
6627 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
6628 from <bits/socket_type.h>.
6629 (enum __socket_type): Don't define here.
6630 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
6631 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6635 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
6638 * Makerules ($(inst_includedir)/%.h): New rule.
6639 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
6640 (install-others): Remove variable setting.
6641 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
6643 2012-03-08 Richard Henderson <rth@twiddle.net>
6645 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
6646 from macro to inline function; merge with the
6647 !__LIBC_INTERNAL_MATH_INLINES version.
6648 (__ieee754_sqrtf): Likewise.
6650 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
6652 (__rintf, __floor, __floorf): Likewise.
6654 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
6655 macro to inline function.
6656 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
6658 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
6659 not <math/math_private.h>.
6661 2012-03-08 David S. Miller <davem@davemloft.net>
6663 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
6665 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
6667 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
6669 * resolv/gai_misc.c (handle_requests): Fix struct timespec
6671 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
6672 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
6674 2012-03-08 Ulrich Drepper <drepper@gmail.com>
6676 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
6677 be defined individually, they must be defined as a block. Define
6678 S for printing a string instead of hidint the different by using a
6679 macro for adding the 'l'.
6680 * stdio-common/tst-fphex-wide.c: Adjust.
6682 2012-03-07 Marek Polacek <polacek@redhat.com>
6684 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
6686 2012-03-08 Marek Polacek <polacek@redhat.com>
6689 * stdio-common/Makefile (tests): Add tst-fphex-wide.
6690 * stdio-common/tst-fphex.c: Define a few macros to make the
6691 test reusable. Use them.
6692 * stdio-common/tst-fphex-wide.c: New file.
6694 2012-03-08 Joseph Myers <joseph@codesourcery.com>
6697 * manual/macros.texi (gnusystems): New macro.
6698 (nongnusystems): Likewise.
6699 (gnulinuxhurdsystems): Likewise.
6700 (gnuhurdsystems): Likewise..
6701 (gnulinuxsystems): Likewise.
6702 * manual/charset.texi: Use new macros or @theglibc{} to refer to
6703 variants of the GNU system, not "GNU system".
6704 * manual/conf.texi: Likewise.
6705 * manual/errno.texi: Likewise. Update example of errno macro
6707 * manual/filesys.texi: Likewise.
6708 (getumask): Document as specific to GNU/Hurd.
6709 * manual/install.texi: Likewise. Reword some references to
6711 * manual/intro.texi: Likewise.
6712 * manual/io.texi: Likewise.
6713 (File Name Portability): Detail which constraints are inapplicable
6714 to all GNU systems and which are only inapplicable to GNU/Hurd.
6715 * manual/job.texi: Likewise.
6716 * manual/llio.texi: Likewise.
6717 (O_NOCTTY): Document as present on GNU/Linux.
6718 * manual/maint.texi: Likewise.
6719 * manual/memory.texi: Likewise.
6720 * manual/pattern.texi: Likewise.
6721 * manual/pipe.texi: Likewise.
6722 * manual/process.texi: Likewise.
6723 * manual/resource.texi: Likewise.
6724 (RUSAGE_CHILDREN): Remove statement about specifying a particular
6726 * manual/setjmp.texi: Likewise.
6727 * manual/signal.texi: Likewise.
6728 * manual/startup.texi: Likewise.
6729 * manual/stdio.texi: Likewise.
6730 * manual/terminal.texi: Likewise.
6731 (ONLCR): Document as POSIX.
6732 (OXTABS): Document availability on GNU/Linux as XTABS.
6733 (ONOEOT): Document availability separately from other bits.
6734 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
6735 * manual/time.texi: Likewise.
6736 * manual/users.texi: Likewise.
6737 * INSTALL: Regenerated.
6738 * sysdeps/gnu/errlist.c: Regenerated.
6740 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
6741 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
6742 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
6744 * configure: Regenerated.
6746 2012-03-07 Joseph Myers <joseph@codesourcery.com>
6748 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
6749 default includes instead of AC_HEADER_CHECK.
6750 * sysdeps/i386/configure: Regenerated.
6753 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
6754 * math/s_cacoshf.c (__cacoshf): Likewise.
6755 * math/s_cacoshl.c (__cacoshl): Likewise.
6756 * math/s_casinh.c (__casinh): Set signs of result from argument.
6757 * math/s_casinhf.c (__casinhf): Likewise.
6758 * math/s_casinhl.c (__casinhl): Likewise.
6759 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
6760 (casinh_test): Add more tests.
6761 * sysdeps/i386/fpu/libm-test-ulps: Update.
6762 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6764 2012-03-07 Ulrich Drepper <drepper@gmail.com>
6766 * po/zh_TW.po: Update from translation team.
6768 * login/Makefile (distribute): Remove variable.
6769 * catgets/Makefile: Likewise.
6770 * mach/Makefile: Likewise.
6771 * malloc/Makefile: Likewise.
6772 * misc/Makefile: Likewise.
6773 * iconv/Makefile: Likewise.
6774 * nscd/Makefile: Likewise.
6775 * hurd/Makefile: Likewise.
6776 * manual/Makefile: Likewise.
6777 * locale/Makefile: Likewise.
6778 * intl/Makefile: Likewise.
6779 * conform/Makefile: Likewise.
6780 * nss/Makefile: Likewise.
6781 * time/Makefile: Likewise.
6782 * soft-fp/Makefile: Likewise.
6783 * dirent/Makefile: Likewise.
6784 * gmon/Makefile: Likewise.
6785 * po/Makefile: Likewise.
6786 * rt/Makefile: Likewise.
6787 * socket/Makefile: Likewise.
6788 * math/Makefile: Likewise.
6789 * signal/Makefile: Likewise.
6790 * debug/Makefile: Likewise.
6791 * elf/Makefile: Likewise.
6792 * timezone/Makefile: Likewise.
6793 * stdlib/Makefile: Likewise.
6794 * iconvdata/Makefile: Likewise.
6795 * sunrpc/Makefile: Likewise.
6796 * io/Makefile: Likewise.
6797 * argp/Makefile: Likewise.
6798 * inet/Makefile: Likewise.
6799 * hesiod/Makefile: Likewise.
6800 * grp/Makefile: Likewise.
6801 * csu/Makefile: Likewise.
6802 * wctype/Makefile: Likewise.
6803 * crypt/Makefile: Likewise.
6804 * libio/Makefile: Likewise.
6805 * string/Makefile: Likewise.
6806 * nis/Makefile: Likewise.
6807 * resolv/Makefile: Likewise.
6808 * stdio-common/Makefile: Likewise.
6809 * wcsmbs/Makefile: Likewise.
6810 * dlfcn/Makefile: Likewise.
6811 * posix/Makefile: Likewise.
6814 * timezone/Makefile: Don't install timezone files, just the programs
6817 2012-03-06 Ulrich Drepper <drepper@gmail.com>
6819 * nss/databases.def: Add missing gshadow entry.
6821 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
6823 2012-03-06 Marek Polacek <polacek@redhat.com>
6826 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
6827 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
6828 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
6829 * stdio-common/tst-long-dbl-fphex.c: New file.
6831 2012-03-06 David S. Miller <davem@davemloft.net>
6833 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6834 (set_obp_int): New function.
6835 (get_obp_int): New function.
6836 (__get_clockfreq_via_dev_openprom): Likewise.
6837 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
6838 Avoid unused variable warnings on 'val' and use builtin_expect.
6839 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
6841 (INLINE_CLONE_SYSCALL): Likewise.
6843 2012-03-05 David S. Miller <davem@davemloft.net>
6845 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6847 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
6849 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6851 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
6853 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6855 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
6857 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
6858 Replace gettimeofday with __vdso_gettimeofday.
6860 * sysdeps/unix/sysv/linux/x86_64/init-first.c
6861 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
6862 __vdso_clock_gettime and __vdso_getcpu.
6864 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
6865 time with __vdso_time.
6867 2012-03-05 Joseph Myers <joseph@codesourcery.com>
6869 * manual/lang.texi (size_t): Note types to which size_t may be
6870 equivalent with the GNU C Library, but do not describe when
6871 differences between them are significant.
6873 2012-03-05 Andreas Jaeger <aj@suse.de>
6875 * sysdeps/i386/fpu/libm-test-ulps: Update.
6877 2012-03-05 Joseph Myers <joseph@codesourcery.com>
6880 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
6881 (__ieee754_pow): Save and restore rounding mode and use
6882 round-to-nearest for main computations.
6883 * math/libm-test.inc (pow_test_tonearest): New function.
6884 (pow_test_towardzero): Likewise.
6885 (pow_test_downward): Likewise.
6886 (pow_test_upward): Likewise.
6887 (main): Call the new functions.
6888 * sysdeps/i386/fpu/libm-test-ulps: Update.
6889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6892 * math/libm-test.inc (cosh_test_tonearest): New function.
6893 (cosh_test_towardzero): Likewise.
6894 (cosh_test_downward): Likewise.
6895 (cosh_test_upward): Likewise.
6896 (sinh_test_tonearest): Likewise.
6897 (sinh_test_towardzero): Likewise.
6898 (sinh_test_downward): Likewise.
6899 (sinh_test_upward): Likewise.
6900 (main): Call the new functions.
6901 * sysdeps/i386/fpu/libm-test-ulps: Update.
6902 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6904 2012-03-05 Tom de Vries <tom@codesourcery.com>
6906 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
6907 default stack guard is set in last bytes.
6908 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
6910 2012-03-05 Kees Cook <keescook@chromium.org>
6912 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
6915 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
6916 possibly allocate from heap instead of stack.
6917 * stdio-common/bug-vfprintf-nargs.c: New file.
6918 * stdio-common/Makefile (tests): Add nargs overflow test.
6920 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
6922 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6924 2012-03-03 Marek Polacek <polacek@redhat.com>
6926 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
6927 * math/math_private.h: Likewise.
6928 * stdlib/tst-strtod.c: Likewise.
6929 * sysdeps/i386/i486/bits/atomic.h: Likewise.
6930 * sysdeps/x86_64/bits/atomic.h: Likewise.
6932 2012-03-02 David S. Miller <davem@davemloft.net>
6934 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
6935 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
6936 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
6937 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
6938 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
6939 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
6940 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
6941 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
6943 2012-03-02 Roland McGrath <roland@hack.frob.com>
6946 * manual/examples/README: New file, says the example source files
6947 can be used under GPL>=2.
6948 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
6949 line containing just "*/".
6950 * manual/examples/add.c: Add copyright header (GPL>=2).
6951 * manual/examples/argp-ex1.c: Likewise.
6952 * manual/examples/argp-ex2.c: Likewise.
6953 * manual/examples/argp-ex3.c: Likewise.
6954 * manual/examples/argp-ex4.c: Likewise.
6955 * manual/examples/atexit.c: Likewise.
6956 * manual/examples/db.c: Likewise.
6957 * manual/examples/dir.c: Likewise.
6958 * manual/examples/dir2.c: Likewise.
6959 * manual/examples/execinfo.c: Likewise.
6960 * manual/examples/filecli.c: Likewise.
6961 * manual/examples/filesrv.c: Likewise.
6962 * manual/examples/fmtmsgexpl.c: Likewise.
6963 * manual/examples/genpass.c: Likewise.
6964 * manual/examples/inetcli.c: Likewise.
6965 * manual/examples/inetsrv.c: Likewise.
6966 * manual/examples/isockad.c: Likewise.
6967 * manual/examples/longopt.c: Likewise.
6968 * manual/examples/memopen.c: Likewise.
6969 * manual/examples/memstrm.c: Likewise.
6970 * manual/examples/mkfsock.c: Likewise.
6971 * manual/examples/mkisock.c: Likewise.
6972 * manual/examples/mygetpass.c: Likewise.
6973 * manual/examples/pipe.c: Likewise.
6974 * manual/examples/popen.c: Likewise.
6975 * manual/examples/rprintf.c: Likewise.
6976 * manual/examples/search.c: Likewise.
6977 * manual/examples/select.c: Likewise.
6978 * manual/examples/setjmp.c: Likewise.
6979 * manual/examples/sigh1.c: Likewise.
6980 * manual/examples/sigusr.c: Likewise.
6981 * manual/examples/stpcpy.c: Likewise.
6982 * manual/examples/strdupa.c: Likewise.
6983 * manual/examples/strftim.c: Likewise.
6984 * manual/examples/strncat.c: Likewise.
6985 * manual/examples/subopt.c: Likewise.
6986 * manual/examples/swapcontext.c: Likewise.
6987 * manual/examples/termios.c: Likewise.
6988 * manual/examples/testopt.c: Likewise.
6989 * manual/examples/testpass.c: Likewise.
6990 * manual/examples/timeval_subtract.c: Likewise.
6993 * manual/time.texi (Elapsed Time): Move timeval_subtract example
6995 * manual/timeval_subtract.c.texi: ... here, new file.
6997 2012-03-02 David S. Miller <davem@davemloft.net>
6999 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
7001 2012-03-02 Joseph Myers <joseph@codesourcery.com>
7004 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
7005 (__sin): Save and restore rounding mode and use round-to-nearest
7006 for all computations.
7007 (__cos): Save and restore rounding mode and use round-to-nearest
7008 for all computations.
7009 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
7011 (tan): Save and restore rounding mode and use round-to-nearest for
7013 * math/libm-test.inc (cos_test_tonearest): New function.
7014 (cos_test_towardzero): Likewise.
7015 (cos_test_downward): Likewise.
7016 (cos_test_upward): Likewise.
7017 (sin_test_tonearest): Likewise.
7018 (sin_test_towardzero): Likewise.
7019 (sin_test_downward): Likewise.
7020 (sin_test_upward): Likewise.
7021 (tan_test_tonearest): Likewise.
7022 (tan_test_towardzero): Likewise.
7023 (tan_test_downward): Likewise.
7024 (tan_test_upward): Likewise.
7025 (main): Call the new functions.
7026 * sysdeps/i386/fpu/libm-test-ulps: Update.
7027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7030 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
7031 small n, then large n, before computing and testing k+n.
7032 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7033 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
7035 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
7037 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
7038 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
7039 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
7040 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
7041 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
7042 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
7043 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
7044 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
7045 * math/libm-test.inc (scalbn_test): Add more tests.
7046 (scalbln_test): Likewise.
7048 * manual/filesys.texi (mode_t): Describe constraints on size and
7049 signedness, not exact equivalence to a particular type.
7051 (ino64_t): Likewise.
7053 (nlink_t): Likewise.
7054 (blkcnt_t): Likewise.
7055 (blkcnt64_t): Likewise.
7056 * manual/llio.texi (off_t): Likewise.
7059 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
7060 (__ieee754_exp): Save and restore rounding mode and use
7061 round-to-nearest for all computations.
7062 * math/libm-test.inc (exp_test_tonearest): New function.
7063 (exp_test_towardzero): Likewise.
7064 (exp_test_downward): Likewise.
7065 (exp_test_upward): Likewise.
7066 (main): Call the new functions.
7067 * sysdeps/i386/fpu/libm-test-ulps: Update.
7068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7070 2012-03-01 Chris Demetriou <cgd@google.com>
7072 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
7073 have predictable order.
7075 2012-03-01 David S. Miller <davem@davemloft.net>
7077 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
7079 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
7080 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
7081 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
7082 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
7084 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
7085 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
7086 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
7087 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
7088 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
7089 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
7090 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
7091 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
7092 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
7094 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7096 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
7097 * sysdeps/sparc/fpu/libm-test-ulps: to here.
7098 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
7100 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
7101 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7102 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
7103 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
7104 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
7105 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
7106 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
7107 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7108 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
7109 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
7110 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
7111 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7112 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7113 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
7114 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7115 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7116 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
7117 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
7118 * sysdeps/sparc/elf/configure: Regenerated.
7120 2012-03-01 Joseph Myers <joseph@codesourcery.com>
7122 * configure.in (AS, LD): Require binutils 2.20 or later.
7123 * configure: Regenerated.
7124 * manual/install.texi (Tools for Compilation): Give binutils 2.20
7125 as required minimum version.
7126 * INSTALL: Regenerated.
7130 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
7131 before squaring exponent.
7132 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
7133 bottom long double and 27 bits of top long double before squaring
7135 * math/libm-test.inc (erfc_test): Add more tests.
7136 * sysdeps/i386/fpu/libm-test-ulps: Update.
7137 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7140 2012-03-01 Kai Tietz <ktietz@redhat.com>
7142 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
7143 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
7144 containing bit-fields.
7145 * soft-fp/extended.h (_FP_UNION_E): Likewise.
7146 * soft-fp/single.h (_FP_UNION_S): Likewise.
7147 * soft-fp/double.h (_FP_UNION_D): Likewise.
7149 2012-02-29 Joseph Myers <joseph@codesourcery.com>
7152 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
7153 not include ../strcmp.S.
7154 [USE_AS_STRNCASECMP_L]: Likewise.
7155 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
7156 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
7157 * sysdeps/i386/i686/multiarch/strncase_l-c.c
7158 (__strncasecmp_l_ia32): Define as alias to
7159 __strncasecmp_l_nonascii.
7162 * math/libm-test.inc (expm1_test): Add test for bug 5794.
7163 * sysdeps/i386/fpu/libm-test-ulps: Update.
7164 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7166 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
7167 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7169 2012-02-29 Jeff Law <law@redhat.com>
7171 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
7174 2012-02-29 Marek Polacek <polacek@redhat.com>
7177 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
7178 * elf/Makefile: Add rules to run tst-unused-dep.out.
7180 2012-02-28 David S. Miller <davem@davemloft.net>
7182 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
7183 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
7184 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
7185 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
7186 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
7187 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
7189 2012-02-29 Joseph Myers <joseph@codesourcery.com>
7191 * math/libm-test.inc (llround_test): Move one test from
7192 lround_test. Use TEST_f_L in moved test.
7193 (lround_test): Move misplaced test to llround_test. Add testcase
7196 2012-02-28 Ulrich Drepper <drepper@gmail.com>
7198 * sysdeps/x86_64/fpu/e_expf.S: New file.
7199 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
7201 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
7204 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
7205 of remain_len that may cause incomplete multi-byte character and
7207 * posix/bug-regex33.c: New file.
7208 * posix/Makefile (tests): Add bug-regex33.
7210 2012-02-28 Joseph Myers <joseph@codesourcery.com>
7212 * manual/macros.texi: New file.
7213 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
7214 * manual/libc.texinfo: Include macros.texi.
7215 * manual/creatute.texi: Likewise.
7216 * manual/install.texi: Likewise.
7217 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
7218 @glibcadj{} in references to the GNU C Library.
7219 * manual/charset.texi: Likewise.
7220 * manual/conf.texi: Likewise.
7221 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
7222 when not using those macros.
7223 * manual/creature.texi: Likewise.
7224 * manual/crypt.texi: Likewise.
7225 * manual/errno.texi: Likewise.
7226 * manual/filesys.texi: Likewise.
7227 * manual/header.texi: Likewise.
7228 * manual/install.texi: Likewise.
7229 * manual/intro.texi: Likewise.
7230 * manual/io.texi: Likewise.
7231 * manual/job.texi: Likewise.
7232 * manual/lang.texi: Likewise.
7233 * manual/libc.texiinfo: Likewise.
7234 * manual/llio.texi: Likewise.
7235 * manual/locale.texi: Likewise.
7236 * manual/maint.texi: Likewise.
7237 * manual/math.texi: Likewise.
7238 * manual/memory.texi: Likewise.
7239 * manual/message.texi: Likewise.
7240 * manual/nss.texi: Likewise.
7241 * manual/pattern.texi: Likewise.
7242 * manual/process.texi: Likewise.
7243 * manual/resource.texi: Likewise.
7244 * manual/search.texi: Likewise.
7245 * manual/setjmp.texi: Likewise.
7246 * manual/signal.texi: Likewise.
7247 * manual/socket.texi: Likewise.
7248 * manual/startup.texi: Likewise.
7249 * manual/stdio.texi: Likewise.
7250 * manual/string.texi: Likewise.
7251 * manual/sysinfo.texi: Likewise.
7252 * manual/syslog.texi: Likewise.
7253 * manual/terminal.texi: Likewise.
7254 * manual/time.texi: Likewise.
7255 * manual/users.texi: Likewise.
7256 * INSTALL: Regenerated.
7257 * NOTES: Regenerated.
7258 * sysdeps/gnu/errlist.c: Regenerated.
7260 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
7262 * include/dirent.h: Include <dirstream.h> before
7265 2012-02-28 David S. Miller <davem@davemloft.net>
7267 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
7268 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
7269 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
7270 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
7272 2012-02-27 David S. Miller <davem@davemloft.net>
7274 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
7275 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
7276 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
7277 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
7279 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
7280 frame pointer instead of stack pointer relative arg slot.
7281 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7282 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7283 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7285 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
7288 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
7290 2012-02-27 David S. Miller <davem@davemloft.net>
7292 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
7293 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7294 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7295 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
7296 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7297 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7298 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
7299 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
7301 2012-02-27 Joseph Myers <joseph@codesourcery.com>
7303 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
7304 later. Allow versions 5-9.
7305 * configure: Regenerated.
7306 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
7307 required minimum version and 4.6 as recommended version. Do not
7308 mention bugs in GCC 2.7 and 2.8.
7309 * INSTALL: Regenerated.
7311 2012-02-27 David S. Miller <davem@davemloft.net>
7313 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
7314 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
7315 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
7316 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
7317 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
7318 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
7319 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
7320 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
7322 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
7323 manipulate bits before adding and subtracting TWO112[sx].
7324 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
7326 2012-02-27 Roland McGrath <roland@hack.frob.com>
7329 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
7330 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
7331 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
7332 being in POSIX, because they are in 1003.1-2008.
7334 * rt/tst-aio.c: Include <fcntl.h>.
7335 * rt/tst-aio7.c: Likewise.
7336 * rt/tst-aio64.c: Likewise.
7338 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
7340 2012-02-27 Joseph Myers <joseph@codesourcery.com>
7342 * manual/install.texi (--with-headers): Describe headers as
7343 interface headers, not private headers.
7344 (Specific advice for GNU/Linux systems): Describe use of headers
7345 from "make headers_install", not private headers from older
7347 * INSTALL: Regenerated.
7348 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
7350 * sysdeps/unix/sysv/linux/configure: Regenerated.
7352 * manual/llio.texi (fclean): Remove documentation.
7354 * manual/Makefile (libc-texi-generated): New variable. Include
7356 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
7357 $(libc-texi-generated), not duplicated list of files.
7358 (version.texi, stamp-version): New rules.
7359 (realclean): Remove $(libc-texi-generated), not individual files
7360 from that list. Do not remove dir-add.texinfo.
7361 * manual/libc.texinfo: Comment out uses of edition numbers and
7362 references to printed manual. Remove last-updated dates.
7363 (EDITION): Comment out.
7365 (VERSION, UPDATED): Remove.
7366 (version.texi): Include.
7368 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
7370 * sysdeps/posix/spawni.c: Include <signal.h>.
7371 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
7372 * sysdeps/pthread/aio_fsync.c: Likewise.
7374 2012-02-26 Ulrich Drepper <drepper@gmail.com>
7376 * conform/Makefile (tests): Run only when not cross-compiling and
7377 when fast-check is not defined.
7379 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
7380 * conform/data/limits.h-data: Fixes for POSIX2008.
7381 * conform/run-conformtest.sh: Run all tests.
7382 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
7384 * include/bits/dlfcn.h: Likewise.
7385 * include/langinfo.h: Likewise.
7386 * include/monetary.h: Likewise.
7387 * include/sys/poll.h: Likewise.
7389 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
7391 * posix/spawn.h: Define __need_sigset_t.
7392 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
7393 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
7394 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
7395 to get sigevent_t only.
7396 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
7398 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7399 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7400 process_vm_writev only for __USE_GNU.
7401 * termios/termios.h: Declare tcgetsid also for POSIX2008.
7403 * conform/Makefile: For now ignore errors from run-conformtest.
7404 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
7405 POSIX to avoid namespace pollution. Don't prepend headers.
7406 * conform/data/aio.h-data: Fixes for POSIX testing.
7407 * conform/data/fcntl.h-data: Likewise.
7408 * conform/data/glob.h-data: Likewise.
7409 * conform/data/grp.h-data: Likewise.
7410 * conform/data/pthread.h-data: Likewise.
7411 * conform/data/pwd.h-data: Likewise.
7412 * conform/data/signal.h-data: Likewise.
7413 * conform/data/spawn.h-data: Likewise.
7414 * conform/data/stdio.h-data: Likewise.
7415 * conform/data/stdlib.h-data: Likewise.
7416 * conform/data/stropts.h-data: Likewise.
7417 * conform/data/sys/mman.h-data: Likewise.
7418 * conform/data/sys/stat.h-data: Likewise.
7419 * conform/data/sys/types.h-data: Likewise.
7420 * conform/data/sys/wait.h-data: Likewise.
7421 * conform/data/time.h-data: Likewise.
7422 * conform/data/unistd.h-data: Likewise.
7423 * conform/data/utime.h-data: Likewise.
7425 * io/sys/stat.h: fchmod was always in POSIX.
7426 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
7427 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
7428 * rt/aio.h: Define __need_timespec before including <time.h>.
7429 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
7430 struct. Add forward declaration of pthread_attr_t and use it in
7432 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
7433 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7434 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
7435 always remove CLK_TCK definition.
7437 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
7439 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
7441 2012-02-25 Ulrich Drepper <drepper@gmail.com>
7443 * conform/run-conformtest.sh: New file.
7444 * conform/Makefile: Run run-conformtest for tests.
7445 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
7448 * conform/data/uchar.h-data: New file.
7449 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
7450 * conform/data/arpa/inet.h-data: Likewise.
7451 * conform/data/assert.h-data: Likewise.
7452 * conform/data/complex.h-data: Likewise.
7453 * conform/data/cpio.h-data: Likewise.
7454 * conform/data/ctype.h-data: Likewise.
7455 * conform/data/dirent.h-data: Likewise.
7456 * conform/data/dlfcn.h-data: Likewise.
7457 * conform/data/errno.h-data: Likewise.
7458 * conform/data/fcntl.h-data: Likewise.
7459 * conform/data/float.h-data: Likewise.
7460 * conform/data/fmtmsg.h-data: Likewise.
7461 * conform/data/fnmatch.h-data: Likewise.
7462 * conform/data/ftw.h-data: Likewise.
7463 * conform/data/glob.h-data: Likewise.
7464 * conform/data/grp.h-data: Likewise.
7465 * conform/data/iconv.h-data: Likewise.
7466 * conform/data/inttypes.h-data: Likewise.
7467 * conform/data/langinfo.h-data: Likewise.
7468 * conform/data/libgen.h-data: Likewise.
7469 * conform/data/limits.h-data: Likewise.
7470 * conform/data/locale.h-data: Likewise.
7471 * conform/data/math.h-data: Likewise.
7472 * conform/data/monetary.h-data: Likewise.
7473 * conform/data/mqueue.h-data: Likewise.
7474 * conform/data/ndbm.h-data: Likewise.
7475 * conform/data/net/if.h-data: Likewise.
7476 * conform/data/netdb.h-data: Likewise.
7477 * conform/data/netinet/in.h-data: Likewise.
7478 * conform/data/nl_types.h-data: Likewise.
7479 * conform/data/poll.h-data: Likewise.
7480 * conform/data/pthread.h-data: Likewise.
7481 * conform/data/pwd.h-data: Likewise.
7482 * conform/data/regex.h-data: Likewise.
7483 * conform/data/sched.h-data: Likewise.
7484 * conform/data/search.h-data: Likewise.
7485 * conform/data/semaphore.h-data: Likewise.
7486 * conform/data/setjmp.h-data: Likewise.
7487 * conform/data/signal.h-data: Likewise.
7488 * conform/data/spawn.h-data: Likewise.
7489 * conform/data/stdarg.h-data: Likewise.
7490 * conform/data/stdio.h-data: Likewise.
7491 * conform/data/stdlib.h-data: Likewise.
7492 * conform/data/string.h-data: Likewise.
7493 * conform/data/strings.h-data: Likewise.
7494 * conform/data/stropts.h-data: Likewise.
7495 * conform/data/sys/ipc.h-data: Likewise.
7496 * conform/data/sys/mman.h-data: Likewise.
7497 * conform/data/sys/msg.h-data: Likewise.
7498 * conform/data/sys/resource.h-data: Likewise.
7499 * conform/data/sys/select.h-data: Likewise.
7500 * conform/data/sys/sem.h-data: Likewise.
7501 * conform/data/sys/shm.h-data: Likewise.
7502 * conform/data/sys/socket.h-data: Likewise.
7503 * conform/data/sys/stat.h-data: Likewise.
7504 * conform/data/sys/statvfs.h-data: Likewise.
7505 * conform/data/sys/time.h-data: Likewise.
7506 * conform/data/sys/timeb.h-data: Likewise.
7507 * conform/data/sys/times.h-data: Likewise.
7508 * conform/data/sys/types.h-data: Likewise.
7509 * conform/data/sys/uio.h-data: Likewise.
7510 * conform/data/sys/un.h-data: Likewise.
7511 * conform/data/sys/utsname.h-data: Likewise.
7512 * conform/data/sys/wait.h-data: Likewise.
7513 * conform/data/syslog.h-data: Likewise.
7514 * conform/data/tar.h-data: Likewise.
7515 * conform/data/termios.h-data: Likewise.
7516 * conform/data/utime.h-data: Likewise.
7517 * conform/data/utmpx.h-data: Likewise.
7518 * conform/data/varargs.h-data: Likewise.
7519 * conform/data/wchar.h-data: Likewise.
7520 * conform/data/wctype.h-data: Likewise.
7521 * conform/data/wordexp.h-data: Likewise.
7523 * include/stropts.h: New file.
7524 * include/uchar.h: New file.
7525 * include/aio.h: Changes to allow conformtest.pl to use the headers.
7526 * include/assert.h: Likewise.
7527 * include/ctype.h: Likewise.
7528 * include/dirent.h: Likewise.
7529 * include/dlfcn.h: Likewise.
7530 * include/fcntl.h: Likewise.
7531 * include/fnmatch.h: Likewise.
7532 * include/glob.h: Likewise.
7533 * include/grp.h: Likewise.
7534 * include/libio.h: Likewise.
7535 * include/locale.h: Likewise.
7536 * include/math.h: Likewise.
7537 * include/net/if.h: Likewise.
7538 * include/netdb.h: Likewise.
7539 * include/netinet/in.h: Likewise.
7540 * include/pthread.h: Likewise.
7541 * include/pwd.h: Likewise.
7542 * include/regex.h: Likewise.
7543 * include/sched.h: Likewise.
7544 * include/search.h: Likewise.
7545 * include/setjmp.h: Likewise.
7546 * include/signal.h: Likewise.
7547 * include/stdio.h: Likewise.
7548 * include/stdlib.h: Likewise.
7549 * include/string.h: Likewise.
7550 * include/sys/cdefs.h: Likewise.
7551 * include/sys/mman.h: Likewise.
7552 * include/sys/msg.h: Likewise.
7553 * include/sys/resource.h: Likewise.
7554 * include/sys/select.h: Likewise.
7555 * include/sys/socket.h: Likewise.
7556 * include/sys/stat.h: Likewise.
7557 * include/sys/statvfs.h: Likewise.
7558 * include/sys/time.h: Likewise.
7559 * include/sys/times.h: Likewise.
7560 * include/sys/uio.h: Likewise.
7561 * include/sys/utsname.h: Likewise.
7562 * include/sys/wait.h: Likewise.
7563 * include/termios.h: Likewise.
7564 * include/time.h: Likewise.
7565 * include/ulimit.h: Likewise.
7566 * include/unistd.h: Likewise.
7567 * include/utime.h: Likewise.
7568 * include/wchar.h: Likewise.
7569 * include/wctype.h: Likewise.
7570 * include/wordexp.h: Likewise.
7572 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
7574 * time/time.h: TIME_UTC must be a macro.
7575 Make timespec_get available for ISO C11 only as well.
7577 2012-02-24 Ulrich Drepper <drepper@gmail.com>
7579 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
7580 Reported by Peng Haitao <penght@cn.fujitsu.com>.
7582 2012-02-24 Joseph Myers <joseph@codesourcery.com>
7584 * configure.in: Use -o not -a in test for unsupported multi-arch.
7586 2012-02-24 Joseph Myers <joseph@codesourcery.com>
7588 * manual/texinfo.tex: Update to version 2012-01-19.16.
7590 2012-02-24 Joseph Myers <joseph@codesourcery.com>
7592 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
7594 2012-02-24 Roland McGrath <roland@hack.frob.com>
7597 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
7598 * manual/fdl-1.3.texi: New file.
7599 * manual/fdl-1.1.texi: File removed.
7602 * manual/libc.texinfo (FDL_VERSION): New @set.
7603 Use it for mention of FDL in cover text.
7604 (Documentation License): Use it in @include file name.
7606 2012-02-22 Joseph Myers <joseph@codesourcery.com>
7607 Roland McGrath <roland@hack.frob.com>
7610 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
7611 not LONG_LONG_MAX and LONG_LONG_MIN.
7612 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
7613 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
7615 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
7617 2012-02-22 Joseph Myers <joseph@codesourcery.com>
7621 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
7622 manipulate bits before adding and subtracting TWO23[sx].
7623 * math/libm-test.inc (nearbyint_test): Add more tests.
7625 2012-02-22 Joseph Myers <joseph@codesourcery.com>
7628 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
7629 bits before adding and subtracting TWO23[sx].
7630 * math/libm-test.inc (rint_test): Add more tests.
7631 (rint_test_tonearest): Likewise.
7632 (rint_test_towardzero): Likewise.
7633 (rint_test_downward): Likewise.
7634 (rint_test_upward: Likewise.
7636 2012-02-22 Joseph Myers <joseph@codesourcery.com>
7639 * include/stdc-predef.h: New file. Extracted from features.h.
7640 * include/features.h: Include stdc-predef.h.
7641 * Makefile (headers): Add stdc-predef.h.
7642 * CONFORMANCE (Compiler limitations): Update.
7644 2012-02-22 Joseph Myers <joseph@codesourcery.com>
7646 * manual/libc.texinfo (VERSION, UPDATED): Revert.
7648 2012-02-21 David S. Miller <davem@davemloft.net>
7650 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
7651 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
7653 2012-02-20 David S. Miller <davem@davemloft.net>
7655 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
7656 using a normal save/restore sequence, rather than allocating a
7657 dummy stack frame just to store a frame pointer and restore.
7658 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7660 2012-02-21 Joseph Myers <joseph@codesourcery.com>
7662 * manual/install.texi: Fix stray word in line-wrapped comment.
7664 2012-02-20 David S. Miller <davem@davemloft.net>
7666 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
7667 both binutils and gcc support GOTDATA.
7669 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
7670 "rd %pc" in the PIC register setup sequences.
7672 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
7673 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
7674 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
7675 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
7676 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
7677 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7678 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7679 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7680 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
7681 (SYSCALL_ERROR_HANDLER): Likewise.
7682 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
7683 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7684 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
7685 (SYSCALL_ERROR_HANDLER): Likewise.
7687 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
7688 (HAVE_GCC_GOTDATA): New.
7689 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
7690 relocation support in both binutils and gcc.
7691 * sysdeps/sparc/elf/configure: Regenerate.
7693 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
7694 * sysdeps/sparc/sparc32/elf/configure: Delete.
7695 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
7696 * sysdeps/sparc/sparc64/elf/configure: Delete.
7697 * sysdeps/sparc/elf/configure.in: New file.
7698 * sysdeps/sparc/elf/configure: Generate.
7700 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
7701 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
7702 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
7703 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
7704 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
7706 2012-02-21 Joseph Myers <joseph@codesourcery.com>
7708 * manual/install.texi: Do not mention specific glibc version
7710 * manual/libc.texinfo (VERSION, UPDATED): Update.
7711 (@copying): Use @copyright{} and range of years.
7713 2012-02-21 Joseph Myers <joseph@codesourcery.com>
7716 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
7717 [crti.S not in sysdirs] (generated): Do not append.
7718 [crti.S not in sysdirs] (omit-deps): Likewise.
7719 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
7720 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
7721 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
7722 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
7723 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
7725 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
7726 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
7727 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
7728 * csu/defs.awk: Remove file.
7729 * sysdeps/generic/initfini.c: Likewise.
7730 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
7732 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
7735 2012-02-20 Joseph Myers <joseph@codesourcery.com>
7737 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
7738 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
7739 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
7740 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
7741 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7742 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
7744 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
7745 (__EPOLL_PACKED): Define to empty if not defined by
7747 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
7748 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7751 2012-02-20 Joseph Myers <joseph@codesourcery.com>
7753 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
7754 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
7755 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
7756 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
7758 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
7759 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7762 2012-02-20 Joseph Myers <joseph@codesourcery.com>
7764 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
7766 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7767 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7768 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
7769 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7771 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
7773 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7774 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
7776 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
7778 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
7779 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
7781 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
7783 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
7786 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
7788 * math/w_acos.c: Use non-signaling floating-point comparisons.
7789 * math/w_acosf.c: Likewise.
7790 * math/w_acosh.c: Likewise.
7791 * math/w_acoshf.c: Likewise.
7792 * math/w_acoshl.c: Likewise.
7793 * math/w_acosl.c: Likewise.
7794 * math/w_asin.c: Likewise.
7795 * math/w_asinf.c: Likewise.
7796 * math/w_asinl.c: Likewise.
7797 * math/w_atanh.c: Likewise.
7798 * math/w_atanhf.c: Likewise.
7799 * math/w_atanhl.c: Likewise.
7800 * math/w_exp2.c: Likewise.
7801 * math/w_exp2f.c: Likewise.
7802 * math/w_exp2l.c: Likewise.
7803 * math/w_j0.c: Likewise.
7804 * math/w_j0f.c: Likewise.
7805 * math/w_j0l.c: Likewise.
7806 * math/w_j1.c: Likewise.
7807 * math/w_j1f.c: Likewise.
7808 * math/w_j1l.c: Likewise.
7809 * math/w_jn.c: Likewise.
7810 * math/w_jnf.c: Likewise.
7811 * math/w_log.c: Likewise.
7812 * math/w_log10.c: Likewise.
7813 * math/w_log10f.c: Likewise.
7814 * math/w_log10l.c: Likewise.
7815 * math/w_log2.c: Likewise.
7816 * math/w_log2f.c: Likewise.
7817 * math/w_log2l.c: Likewise.
7818 * math/w_logf.c: Likewise.
7819 * math/w_logl.c: Likewise.
7820 * math/w_sqrt.c: Likewise.
7821 * math/w_sqrtf.c: Likewise.
7822 * math/w_sqrtl.c: Likewise.
7823 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7824 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
7825 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7826 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
7827 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
7829 2012-02-19 Joseph Myers <joseph@codesourcery.com>
7832 * manual/string.texi (strnlen): Use correct parameter name in
7833 equivalent expression.
7835 2012-02-19 Joseph Myers <joseph@codesourcery.com>
7838 * manual/users.texi (seteuid): Consistently use neweuid for
7841 2012-02-19 Joseph Myers <joseph@codesourcery.com>
7844 * manual/nss.texi (Services in the NSS configuration): Correct
7845 list of services in example configuration file.
7847 2012-02-19 Nick Bowler <nbowler@draconx.ca>
7850 * manual/arith.texi: Remove statements about negative zero
7851 behaving identically to zero.
7853 2012-02-18 Joseph Myers <joseph@codesourcery.com>
7856 * manual/install.texi: Do not document upgrading from libc5.
7858 2012-02-18 Joseph Myers <joseph@codesourcery.com>
7861 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
7863 2012-02-18 David S. Miller <davem@davemloft.net>
7865 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
7866 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
7867 %o7 across the call.
7868 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
7870 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
7872 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7873 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
7874 * sysdeps/sparc/crtn.S: Likewise.
7876 2012-02-17 Ulrich Drepper <drepper@gmail.com>
7878 * aout/Makefile: Remove.
7880 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
7883 * manual/examples/argp-ex1.c (main): Format definition in GNU
7885 * manual/examples/argp-ex2.c (main): Likewise.
7886 * manual/examples/argp-ex3.c (main): Likewise.
7887 * manual/examples/argp-ex4.c (main): Likewise.
7888 * manual/examples/longopt.c (main): Use new-style prototype
7890 * manual/examples/strncat.c (main): Specify return type and use
7891 (void) for arguments.
7892 * manual/examples/subopt.c (main): Use char **argv argument.
7894 2012-02-17 Joseph Myers <joseph@codesourcery.com>
7897 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
7900 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
7903 * manual/string.texi (strchr): Change when strchrnul is
7906 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
7909 * manual/locale.texi (setlocale): Document LOCPATH.
7911 2012-02-17 Joseph Myers <joseph@codesourcery.com>
7914 * manual/process.texi (execle): Move @dots{} before last argument.
7916 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
7919 * manual/charset.texi (Generic Charset Conversion): Fix typo
7920 (LC_TYPE -> LC_CTYPE).
7922 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
7925 * manual/arith.texi (scalbn): Use @var{} on parameter names.
7926 (scalbnf): Likewise.
7927 (scalbnl): Likewise.
7928 (scalbln): Likewise.
7929 (scalblnf): Likewise.
7930 (scalblnl): Likewise.
7931 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
7935 * manual/filesys.texi (telldir): Use braces around return type.
7936 * manual/llio.texi (mmap): Add space after comma.
7938 * manual/math.texi (jn): Use @var{} on parameter names.
7944 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
7946 * manual/resource.texi (ulimit): Use @dots{} instead of literal
7948 (sched_get_priority_min): Remove semicolon on @deftypefun line.
7949 (sched_get_priority_max): Likewise.
7950 * manual/signal.texi (sigvec): Add space after comma.
7951 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
7953 (if_indextoname): Likewise.
7954 (if_freenameindex): Likewise.
7955 (sendto): Use ',' instead of '.' in prototype.
7956 * manual/startup.texi (syscall): Use @dots{} instead of literal
7958 * manual/stdio.texi (__fpending): Separate initial words of
7959 paragraph from @deftypefun line.
7960 * manual/syslog.texi (syslog): Use @dots{} instead of literal
7962 (vsyslog): Use @var{} on parameter names.
7963 * manual/terminal.texi (stty): Use @var{} on parameter names.
7964 * manual/users.texi (getutmp): Use @var{} on parameter names.
7965 (getutmpx): Likewise.
7967 2012-02-17 Joseph Myers <joseph@codesourcery.com>
7970 * manual/stdio.texi (fopen): Fix typos in description of
7973 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
7976 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
7977 get clock_id definition.
7979 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
7982 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
7983 (madvise): Cast every argument to void on its own.
7985 2012-02-17 Joseph Myers <joseph@codesourcery.com>
7988 * manual/startup.texi (Exit Status): Fix typo.
7990 2012-02-17 Joseph Myers <joseph@codesourcery.com>
7993 * manual/examples/argp-ex1.c: Include <stdlib.h>.
7994 * manual/examples/argp-ex2.c: Likewise.
7995 * manual/examples/argp-ex3.c: Likewise.
7997 2012-02-16 Richard Henderson <rth@redhat.com>
7999 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
8000 * sysdeps/s390/s390-32/initfini.c: Remove.
8001 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
8002 * sysdeps/s390/s390-64/initfini.c: Remove.
8004 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8006 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
8007 compiler output for sysdeps/generic/initfini.c.
8008 * sysdeps/sh/elf/initfini.c: Remove file.
8010 2012-02-16 David S. Miller <davem@davemloft.net>
8013 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
8015 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
8016 * sysdeps/sparc/crti.S: New file.
8017 * sysdeps/sparc/crtn.S: New file.
8018 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
8019 * sysdeps/sparc/sparc64/Makefile: Likewise.
8021 2012-02-15 Mike Frysinger <vapier@gentoo.org>
8024 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
8026 2012-02-15 Roland McGrath <roland@hack.frob.com>
8029 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
8031 * mach/devstream.c (cookie_io_functions_t): Macro removed.
8032 (write, read, close): Likewise.
8033 Patch by Aurelien Jarno <aurelien@aurel32.net>.
8035 2012-02-15 Joseph Myers <joseph@codesourcery.com>
8037 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
8038 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
8039 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
8040 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
8042 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
8043 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8046 2012-02-14 Marek Polacek <polacek@redhat.com>
8048 * sysdeps/x86_64/crti.S: New file.
8049 * sysdeps/x86_64/crtn.S: New file.
8050 * sysdeps/x86_64/elf/initfini.c: Remove file.
8052 2012-02-13 Joseph Myers <joseph@codesourcery.com>
8054 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
8055 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
8056 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
8057 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
8059 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
8060 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8063 2012-02-13 Joseph Myers <joseph@codesourcery.com>
8065 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
8066 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
8067 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
8068 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
8070 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
8071 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8074 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
8076 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
8077 __feraiseexcept instead of feraiseexcept.
8079 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
8080 nanosleep invocations.
8081 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
8082 strings, and add error checking for a nanosleep invocations.
8084 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
8086 Replace FSF snail mail address with URLs, as per GNU coding standards.
8087 Most of the snail mail addresses were wrong anyway, and omitting
8088 them makes the source code easier to maintain. Almost all of the
8089 changes are to license notices and to locale LC_IDENTIFICATION
8090 addresses, except for this one:
8091 * manual/libc.texinfo: In "Published by", give the FSF's URL,
8092 not its snail mail address.
8094 2012-02-09 Richard Henderson <rth@twiddle.net>
8096 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
8097 of kernel-features.h.
8099 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
8101 2012-02-08 Marek Polacek <polacek@redhat.com>
8103 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
8104 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
8105 * sysdeps/gnu/_G_config.h: Likewise.
8106 * sysdeps/generic/_G_config.h: Likewise.
8108 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
8110 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
8112 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8114 * sysdeps/powerpc/powerpc32/crti.S: New file.
8115 * sysdeps/powerpc/powerpc32/crtn.S: New file.
8116 * sysdeps/powerpc/powerpc64/crti.S: New file.
8117 * sysdeps/powerpc/powerpc64/crtn.S: New file.
8119 * Makeconfig (have-initfini): Don't set.
8120 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
8121 * configure.in (nopic_initfini): Don't substitute.
8122 * config.h.in (HAVE_INITFINI): Don't #undef.
8123 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
8124 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
8126 2012-02-08 Joseph Myers <joseph@codesourcery.com>
8128 Support crti.S and crtn.S provided directly by architectures.
8129 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
8130 [crti.S in sysdirs] (omit-deps): Likewise.
8131 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
8132 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
8133 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
8134 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
8135 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
8136 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
8137 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
8138 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
8139 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
8140 compiler output for sysdeps/generic/initfini.c.
8141 * sysdeps/i386/elf/Makefile: Remove file.
8142 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
8144 2012-02-07 Marek Polacek <polacek@redhat.com>
8146 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
8147 * sysdeps/gnu/_G_config.h: Likewise.
8148 * sysdeps/mach/hurd/_G_config.h: Likewise.
8150 2012-02-07 Marek Polacek <polacek@redhat.com>
8152 * math/Makefile (tests): Add tst-CMPLX2.
8153 * math/tst-CMPLX2.c: New file.
8155 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
8157 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8159 * math/libm-test.inc (jn_test): Add missing L suffix.
8161 2012-02-06 Marek Polacek <polacek@redhat.com>
8163 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
8164 * sysdeps/i386/fpu/e_powf.S: Likewise.
8165 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8166 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8167 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8168 * sysdeps/i386/fpu/e_pow.S: Likewise.
8169 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
8170 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8171 * sysdeps/i386/fpu/s_expm1.S: Likewise.
8172 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8173 * sysdeps/i386/fpu/e_log2.S: Likewise.
8174 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8175 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8176 * sysdeps/i386/fpu/e_powl.S: Likewise.
8177 * sysdeps/i386/fpu/s_log1p.S: Likewise.
8178 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8179 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
8180 * sysdeps/i386/fpu/e_logl.S: Likewise.
8181 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
8182 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
8183 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8184 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
8185 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8186 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8187 * sysdeps/i386/fpu/e_log.S: Likewise.
8188 * sysdeps/i386/fpu/s_cexp.S: Likewise.
8189 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8190 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
8191 * sysdeps/i386/fpu/e_logf.S: Likewise.
8192 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8193 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8194 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
8195 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
8196 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8197 * sysdeps/i386/fpu/e_log10.S: Likewise.
8198 * sysdeps/i386/fpu/s_frexp.S: Likewise.
8199 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8200 * sysdeps/i386/fpu/s_asinh.S: Likewise.
8201 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
8202 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8203 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
8204 * sysdeps/i386/asm-syntax.h: Likewise.
8205 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8206 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8207 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8208 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
8209 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
8210 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8211 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
8212 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
8213 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8214 * sysdeps/powerpc/sysdep.h: Likewise.
8215 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
8216 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8218 2012-02-06 Joseph Myers <joseph@codesourcery.com>
8221 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
8223 2012-02-06 Joseph Myers <joseph@codesourcery.com>
8225 * sysdeps/i386/sysdep.h: Include <features.h>.
8226 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
8229 2012-02-05 Joseph Myers <joseph@codesourcery.com>
8231 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
8233 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
8236 2012-02-03 Joseph Myers <joseph@codesourcery.com>
8238 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
8239 (SETUP_PIC_REG): Use GET_PC_THUNK.
8240 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
8243 2012-02-03 Joseph Myers <joseph@codesourcery.com>
8245 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
8246 for non-PIC compilation.
8247 (SETUP_PIC_REG): Add .p2align directive.
8248 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
8249 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
8250 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8251 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8252 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8253 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8254 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
8255 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8256 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8257 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8258 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8259 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8260 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8261 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8262 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8263 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8264 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8265 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8266 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8267 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8268 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8269 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8270 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8271 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8272 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8273 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8274 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8275 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8276 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8277 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8278 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8279 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8280 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8281 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8282 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8283 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8284 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8285 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8286 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8287 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8288 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8290 2012-02-03 Joseph Myers <joseph@codesourcery.com>
8292 * math/tst-CMPLX.c: Include <stdio.h>.
8294 2012-01-31 Joseph Myers <joseph@codesourcery.com>
8296 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
8298 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8299 * sysdeps/sparc/bits/mathdef.h: Likewise.
8301 2012-01-31 Marek Polacek <polacek@redhat.com>
8303 * libio/libio.h: Don't define _PARAMS.
8304 * locale/programs/config.h: Don't define PARAMS.
8305 * stdlib/strtol_l.c: Likewise.
8306 (__strtol_l): Remove PARAMS from the prototype.
8308 2012-01-31 Ulrich Drepper <drepper@gmail.com>
8310 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
8311 names. Just use the correct names. Remove unnecessary wrapper
8313 * malloc/arena.c: Likewise.
8314 * malloc/hooks.c: Likewise.
8316 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
8317 ARENA_TEST says not to. Simplify test for creation of a new arena.
8318 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
8320 2012-01-30 Ulrich Drepper <drepper@gmail.com>
8322 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
8324 (update_get_addr): New function.
8325 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
8326 GET_ADDR_MODULE parameter.
8328 2012-01-30 Joseph Myers <joseph@codesourcery.com>
8330 * crypt/cert.c: Remove __STDC__ conditionals.
8331 * crypt/crypt-entry.c: Likewise.
8332 * crypt/crypt_util.c: Likewise.
8333 * libio/filedoalloc.c: Likewise.
8334 * libio/fileops.c: Likewise.
8335 * libio/genops.c: Likewise.
8336 * libio/iofclose.c: Likewise.
8337 * libio/iofdopen.c: Likewise.
8338 * libio/iofopen.c: Likewise.
8339 * libio/iofopen64.c: Likewise.
8340 * libio/iogetdelim.c: Likewise.
8341 * libio/iopopen.c: Likewise.
8342 * libio/obprintf.c: Likewise.
8343 * libio/oldfileops.c: Likewise.
8344 * libio/oldiofclose.c: Likewise.
8345 * libio/oldiofdopen.c: Likewise.
8346 * libio/oldiofopen.c: Likewise.
8347 * libio/oldiopopen.c: Likewise.
8348 * libio/wfiledoalloc.c: Likewise.
8349 * libio/wgenops.c: Likewise.
8350 * locale/programs/xmalloc.c: Likewise.
8351 * misc/syslog.c: Likewise.
8352 * stdio-common/xbug.c: Likewise.
8353 * string/memchr.c: Likewise.
8354 * string/memcmp.c: Likewise.
8355 * string/memrchr.c: Likewise.
8356 * string/rawmemchr.c: Likewise.
8357 * sysdeps/posix/getcwd.c: Likewise.
8358 * time/strftime_l.c: Likewise.
8360 2012-01-30 Joseph Myers <joseph@codesourcery.com>
8362 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
8363 * config.make.in (config-cflags-sse2avx): Define.
8364 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
8367 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
8369 * scripts/config.guess: Update from upstream config git repository.
8370 * scripts/config.sub: Likewise.
8372 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
8374 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
8376 (R_TILEPRO_*, R_TILEGX_*): New macros.
8378 * scripts/firstversions.awk: Fix bug in version range handling.
8380 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
8382 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
8384 * include/sys/epoll.h: New file.
8385 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
8388 2012-01-28 Ulrich Drepper <drepper@gmail.com>
8390 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
8391 Avoid unnecessary __WORDSIZE == 64 test.
8392 (fmaxf): Use VEX format if possible.
8397 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
8398 * math/math_private.h: Remove libc_fegetround* and
8400 * sysdeps/i386/configure.in: Check for -msse2avx.
8401 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
8402 also if SSE2AVX is defined.
8403 Remove libc_fegetround* and libc_fesetround*.
8404 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
8405 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
8406 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
8408 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8409 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8410 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8411 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8412 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8414 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
8416 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8418 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
8420 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
8422 2012-01-27 Ulrich Drepper <drepper@gmail.com>
8425 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
8427 * Makeconfig (libm): Define.
8428 * elf/Makefile: Add rules to build and run tst-relsort1.
8429 * elf/tst-relsort1.c: New file.
8430 * elf/tst-relsort1mod1.c: New file.
8431 * elf/tst-relsort1mod2.c: New file.
8433 2012-01-27 Joseph Myers <joseph@codesourcery.com>
8435 * math/s_ldexp.c: Remove __STDC__ conditionals.
8436 * math/s_ldexpf.c: Likewise.
8437 * math/s_ldexpl.c: Likewise.
8438 * math/s_nextafter.c: Likewise.
8439 * math/s_nexttowardf.c: Likewise.
8440 * math/s_significand.c: Likewise.
8441 * math/s_significandf.c: Likewise.
8442 * math/s_significandl.c: Likewise.
8443 * math/w_jnl.c: Likewise.
8444 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8445 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8446 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8447 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8448 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8449 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8450 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
8451 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8452 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8453 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8454 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8455 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8456 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8457 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8458 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8459 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8460 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8461 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8462 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8463 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8464 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8465 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8466 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8467 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8468 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8469 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8470 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8471 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8472 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
8473 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8474 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8475 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
8476 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8477 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
8478 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
8479 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8480 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8481 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
8482 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
8483 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8484 * sysdeps/ieee754/k_standard.c: Likewise.
8485 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8486 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8487 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8488 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8489 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8490 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8491 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8492 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8493 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8494 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8495 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8496 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
8497 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8498 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8499 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8500 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8501 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8502 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8503 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8504 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8505 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8506 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8507 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8508 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8509 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8510 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8511 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8512 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8513 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8514 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
8515 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
8516 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
8517 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8518 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
8519 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
8520 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
8521 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
8522 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8523 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
8524 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
8525 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
8526 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
8527 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8528 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
8529 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8530 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
8531 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
8532 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8533 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
8534 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8535 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
8536 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8537 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8538 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
8539 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
8540 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
8541 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
8542 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8543 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8544 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8545 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8546 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8547 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
8548 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8549 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8550 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8551 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8552 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
8553 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
8554 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8555 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8556 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8557 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8558 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
8559 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
8560 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8561 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
8562 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
8563 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
8564 * sysdeps/ieee754/s_matherr.c: Likewise.
8565 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
8566 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8567 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8568 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8570 2012-01-26 Joseph Myers <joseph@codesourcery.com>
8572 * crypt/md5.h: Remove __STDC__ conditionals.
8573 * libio/libioP.h: Likewise.
8574 * locale/programs/config.h: Likewise.
8575 * sysdeps/generic/sysdep.h: Likewise.
8576 * sysdeps/i386/asm-syntax.h: Likewise.
8577 * sysdeps/s390/asm-syntax.h: Likewise.
8578 * sysdeps/unix/sysdep.h: Likewise.
8579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8582 2012-01-26 Joseph Myers <joseph@codesourcery.com>
8584 * libio/libio.h: Remove __STDC__ conditionals.
8585 * malloc/obstack.h: Likewise.
8586 * math/complex.h: Likewise.
8587 * math/math.h: Likewise.
8588 * sysdeps/generic/_G_config.h: Likewise.
8589 * sysdeps/gnu/_G_config.h: Likewise.
8590 * sysdeps/mach/hurd/_G_config.h: Likewise.
8591 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8592 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8593 * sysdeps/sparc/bits/mathdef.h: Likewise.
8595 2012-01-26 Ulrich Drepper <drepper@gmail.com>
8598 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
8599 Clean up HAS_* macros.
8600 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
8601 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
8603 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
8605 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8606 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8607 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8608 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8609 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8611 2012-01-25 Joseph Myers <joseph@codesourcery.com>
8613 * elf/tst-unique3.cc (gets): Remove declaration.
8614 * elf/tst-unique3lib.cc (gets): Likewise.
8615 * elf/tst-unique3lib2.cc (gets): Likewise.
8616 * elf/tst-unique4.cc (gets): Likewise.
8618 2012-01-24 Ulrich Drepper <drepper@gmail.com>
8620 * include/stdio.h: Add C++ protection. Add gets declarations and
8622 * debug/tst-chk1.c: Don't declare gets here.
8623 * stdio-common/tst-gets.c: Likewise.
8625 2012-01-24 Joseph Myers <joseph@codesourcery.com>
8627 * posix/glob: Remove directory.
8629 2012-01-24 Joseph Myers <joseph@codesourcery.com>
8631 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
8633 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
8635 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
8636 of the non-standard EPFNOSUPPORT.
8638 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
8640 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
8641 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
8642 ANYWHERE set to 1 only on KERN_NO_SPACE error.
8644 2012-01-21 Ulrich Drepper <drepper@gmail.com>
8646 * wcsmbs/uchar.h: Test __STDC_VERSION__.
8648 2012-01-20 Ulrich Drepper <drepper@gmail.com>
8650 * nscd/aicache.c (addhstaiX): Do not cache negative results of
8652 * nscd/grpcache.c (cache_addgr): Likewise.
8653 * nscd/hstcache.c (cache_addhst): Likewise.
8654 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8655 * nscd/pwdcache.c (cache_addpw): Likewise.
8656 * nscd/servicescache.c (cache_addserv): Likewise.
8658 2012-01-16 Ulrich Drepper <drepper@gmail.com>
8660 * malloc/malloc.c: Various cleanups.
8661 * malloc/hooks.c: Likewise.
8663 * stdlib/Makefile (tests): Add bug-fmtmsg1.
8664 * stdlib/bug-fmtmsg1.c: New file.
8666 * stdlib/fmtmsg.c (init): Add missing unlock.
8667 Patch by Peng Haitao <penght@cn.fujitsu.com>.
8669 2012-01-12 Marek Polacek <polacek@redhat.com>
8671 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
8674 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
8676 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
8677 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
8678 macro to ensure uniqueness of label name.
8679 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
8680 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
8682 2012-01-11 Ulrich Drepper <drepper@gmail.com>
8684 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
8686 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
8687 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
8688 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8689 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
8691 2012-01-10 Ulrich Drepper <drepper@gmail.com>
8693 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
8695 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
8696 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
8697 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
8699 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
8701 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
8702 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
8703 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
8704 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
8706 * math/bits/math-finite.h: Add ldexp support.
8708 2012-01-10 Marek Polacek <polacek@redhat.com>
8710 * locale/programs/localedef.h (show_archive_content): Add noreturn
8713 2012-01-09 Ulrich Drepper <drepper@gmail.com>
8715 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
8717 2012-01-08 Ulrich Drepper <drepper@gmail.com>
8719 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
8721 * io/Makefile (headers): Add bits/poll2.h.
8723 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
8725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
8726 typo #include statement.
8728 2012-01-08 Ulrich Drepper <drepper@gmail.com>
8730 * include/sys/cdefs.h: Define __attribute_alloc_size.
8731 * catgets/gencat.c: Add alloc_size attribute and apply consistently
8732 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
8733 * elf/pldd.c: Likewise.
8734 * iconv/iconv_charmap.c: Likewise.
8735 * iconv/iconvconfig.c: Likewise.
8736 * iconv/strtab.c: Likewise.
8737 * locale/programs/locale.c: Likewise.
8738 * locale/programs/localedef.h: Likewise.
8739 * locale/programs/simple-hash.c: Likewise.
8740 * nscd/nscd.h: Likewise.
8741 * nss/makedb.c: Likewise.
8742 * sysdeps/generic/ldconfig.h: Likewise.
8743 * locale/programs/localedef.c: Remove xmalloc prototype.
8744 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
8746 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8748 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
8751 2012-01-08 Ulrich Drepper <drepper@gmail.com>
8753 * math/Makefile (tests): Add tst-CMPLX.
8754 * math/tst-CMPLX.c: New file.
8756 * math/complex.h (CMPLXL): Fix typo.
8758 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
8759 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
8761 * debug/tst-chk1.c: Add poll and ppoll tests.
8762 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
8763 * include/sys/poll.h: Add hidden proto for ppoll.
8764 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
8765 * sysdeps/mach/hurd/ppoll.c: Likewise.
8766 * io/ppoll.c: Likewise.
8767 * debug/poll_chk.c: New file.
8768 * debug/ppoll_chk.c: New file.
8769 * include/bits/poll2.h: New file.
8770 * io/bits/poll2.h: New file.
8773 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
8775 * configure.in: static is always set to yes. Remove.
8776 * config.make.in: Don't set build-static.
8777 * Makeconfig: Remove use of build-static.
8778 * dlfcn/Makefile: Likewise.
8779 * elf/Makefile: Likewise.
8780 * math/Makefile: Likewise.
8781 * misc/Makefile: Likewise.
8782 * nptl/Makefile: Likewise.
8783 * sysdeps/mach/hurd/Makefile: Likewise.
8785 * configure.in: PWD_P is not used anymore.
8786 * config.make.in: Remove PWD_P entry.
8788 * configure.in: Remove last remnants of RANLIB.
8789 No need to check for signed size_t anymore.
8790 Don't set libc_commonpagesize and libc_relro_required here for Alpha
8792 Remove __builtin_expect test because we require at least gcc 3.4.
8793 * aclocal.m4: Likewise.
8795 * wcsmbs/mbrtoc16.c: Implement using towc function.
8796 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
8797 * wcsmbs/wcsmbsload.c: Likewise.
8798 * iconv/gconv_simple.c: Likewise.
8799 * iconv/gconv_int.h: Likewise.
8800 * iconv/gconv_builtin.h: Likewise.
8801 * iconv/iconv_prog.c: Remove CHAR16 handling.
8803 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
8805 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
8807 * configure.in: Remove --with-elf and --enable-bounded options.
8808 Dont set base_machine for ia64. More non-ELF conditions removed.
8809 Remove testing and setting of leading underscore information.
8810 * config.make.in (build-bounded): Set to no.
8811 * config.h.in: Remove NO_UNDERSCORES entry.
8812 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
8814 * csu/start.c: Remove !NO_UNDERSCORE code.
8815 * locale/localeinfo.h: Likewise.
8816 * sysdeps/generic/machine-gmon.h: Likewise.
8817 * sysdeps/generic/sysdep.h: Likewise.
8818 * sysdeps/i386/sysdep.h: Likewise.
8819 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
8820 * sysdeps/mach/sysdep.h: Likewise.
8821 * sysdeps/s390/s390-32/sysdep.h: Likewise.
8822 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8823 * sysdeps/sh/sysdep.h: Likewise.
8824 * sysdeps/sparc/sparc32/alloca.S: Likewise.
8825 * sysdeps/unix/i386/sysdep.S: Likewise.
8826 * sysdeps/unix/sparc/start.c: Likewise.
8827 * sysdeps/unix/sparc/sysdep.S: Likewise.
8828 * sysdeps/unix/sparc/sysdep.h: Likewise.
8829 * sysdeps/unix/start.c: Likewise.
8830 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8831 * sysdeps/x86_64/sysdep.h: Likewise.
8833 2012-01-07 Ulrich Drepper <drepper@gmail.com>
8836 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
8838 * argp/argp-fmtstream.h: Use const instead __const.
8839 * argp/argp.h: Likewise.
8840 * assert/assert.h: Likewise.
8841 * bits/fenv.h: Likewise.
8842 * bits/sched.h: Likewise.
8843 * bits/sigset.h: Likewise.
8844 * bits/sigthread.h: Likewise.
8845 * catgets/nl_types.h: Likewise.
8846 * conform/data/pthread.h-data: Likewise.
8847 * crypt/crypt-private.h: Likewise.
8848 * crypt/crypt.h: Likewise.
8849 * crypt/crypt_util.c: Likewise.
8850 * ctype/ctype.h: Likewise.
8851 * debug/execinfo.h: Likewise.
8852 * debug/mbsnrtowcs_chk.c: Likewise.
8853 * debug/mbsrtowcs_chk.c: Likewise.
8854 * debug/wcsnrtombs_chk.c: Likewise.
8855 * debug/wcsrtombs_chk.c: Likewise.
8856 * debug/wcstombs_chk.c: Likewise.
8857 * dirent/dirent.h: Likewise.
8858 * dlfcn/dlfcn.h: Likewise.
8859 * elf/neededtest4.c: Likewise.
8860 * grp/grp.h: Likewise.
8861 * gshadow/gshadow.h: Likewise.
8862 * iconv/gconv.h: Likewise.
8863 * iconv/gconv_int.h: Likewise.
8864 * iconv/gconv_simple.c: Likewise.
8865 * iconv/iconv.h: Likewise.
8866 * iconv/loop.c: Likewise.
8867 * iconv/skeleton.c: Likewise.
8868 * include/aio.h: Likewise.
8869 * include/aliases.h: Likewise.
8870 * include/argz.h: Likewise.
8871 * include/arpa/inet.h: Likewise.
8872 * include/assert.h: Likewise.
8873 * include/dirent.h: Likewise.
8874 * include/dlfcn.h: Likewise.
8875 * include/execinfo.h: Likewise.
8876 * include/fcntl.h: Likewise.
8877 * include/fenv.h: Likewise.
8878 * include/glob.h: Likewise.
8879 * include/grp.h: Likewise.
8880 * include/libintl.h: Likewise.
8881 * include/mntent.h: Likewise.
8882 * include/netdb.h: Likewise.
8883 * include/pwd.h: Likewise.
8884 * include/rpc/netdb.h: Likewise.
8885 * include/sched.h: Likewise.
8886 * include/search.h: Likewise.
8887 * include/shadow.h: Likewise.
8888 * include/signal.h: Likewise.
8889 * include/stdio.h: Likewise.
8890 * include/stdlib.h: Likewise.
8891 * include/string.h: Likewise.
8892 * include/sys/socket.h: Likewise.
8893 * include/sys/stat.h: Likewise.
8894 * include/sys/statfs.h: Likewise.
8895 * include/sys/statvfs.h: Likewise.
8896 * include/sys/syslog.h: Likewise.
8897 * include/sys/time.h: Likewise.
8898 * include/sys/uio.h: Likewise.
8899 * include/time.h: Likewise.
8900 * include/unistd.h: Likewise.
8901 * include/utmp.h: Likewise.
8902 * include/wchar.h: Likewise.
8903 * include/wctype.h: Likewise.
8904 * inet/aliases.h: Likewise.
8905 * inet/arpa/inet.h: Likewise.
8906 * inet/netinet/ether.h: Likewise.
8907 * inet/netinet/in.h: Likewise.
8908 * intl/libintl.h: Likewise.
8909 * io/bits/fcntl2.h: Likewise.
8910 * io/fcntl.h: Likewise.
8911 * io/ftw.h: Likewise.
8912 * io/sys/poll.h: Likewise.
8913 * io/sys/stat.h: Likewise.
8914 * io/sys/statfs.h: Likewise.
8915 * io/sys/statvfs.h: Likewise.
8916 * io/utime.h: Likewise.
8917 * libio/bits/stdio.h: Likewise.
8918 * libio/bits/stdio2.h: Likewise.
8919 * libio/libio.h: Likewise.
8920 * libio/libioP.h: Likewise.
8921 * libio/stdio.h: Likewise.
8922 * locale/lc-ctype.c: Likewise.
8923 * locale/locale.h: Likewise.
8924 * login/utmp.h: Likewise.
8925 * malloc/arena.c: Likewise.
8926 * malloc/malloc.c: Likewise.
8927 * malloc/malloc.h: Likewise.
8928 * malloc/mcheck.c: Likewise.
8929 * malloc/mtrace.c: Likewise.
8930 * math/bits/mathcalls.h: Likewise.
8931 * math/fenv.h: Likewise.
8932 * math/math_private.h: Likewise.
8933 * misc/bits/error.h: Likewise.
8934 * misc/bits/syslog.h: Likewise.
8935 * misc/err.h: Likewise.
8936 * misc/error.h: Likewise.
8937 * misc/fstab.h: Likewise.
8938 * misc/mntent.h: Likewise.
8939 * misc/regexp.h: Likewise.
8940 * misc/search.h: Likewise.
8941 * misc/sgtty.h: Likewise.
8942 * misc/sys/mman.h: Likewise.
8943 * misc/sys/syslog.h: Likewise.
8944 * misc/sys/uio.h: Likewise.
8945 * misc/sys/xattr.h: Likewise.
8946 * misc/ttyent.h: Likewise.
8947 * nis/rpcsvc/ypclnt.h: Likewise.
8948 * nss/nss.h: Likewise.
8949 * posix/bits/unistd.h: Likewise.
8950 * posix/fnmatch.h: Likewise.
8951 * posix/glob.h: Likewise.
8952 * posix/sched.h: Likewise.
8953 * posix/spawn.h: Likewise.
8954 * posix/sys/wait.h: Likewise.
8955 * posix/unistd.h: Likewise.
8956 * posix/wordexp.h: Likewise.
8957 * pwd/pwd.h: Likewise.
8958 * resolv/netdb.h: Likewise.
8959 * resource/sys/resource.h: Likewise.
8960 * rt/aio.h: Likewise.
8961 * rt/bits/mqueue2.h: Likewise.
8962 * rt/mqueue.h: Likewise.
8963 * shadow/shadow.h: Likewise.
8964 * signal/signal.h: Likewise.
8965 * socket/send.c: Likewise.
8966 * socket/sendto.c: Likewise.
8967 * socket/sys/socket.h: Likewise.
8968 * stdio-common/printf.h: Likewise.
8969 * stdlib/bits/stdlib.h: Likewise.
8970 * stdlib/fmtmsg.h: Likewise.
8971 * stdlib/monetary.h: Likewise.
8972 * stdlib/stdlib.h: Likewise.
8973 * stdlib/ucontext.h: Likewise.
8974 * streams/stropts.h: Likewise.
8975 * string/argz.h: Likewise.
8976 * string/bits/string2.h: Likewise.
8977 * string/string.h: Likewise.
8978 * string/strings.h: Likewise.
8979 * sunrpc/rpc/auth.h: Likewise.
8980 * sunrpc/rpc/auth_des.h: Likewise.
8981 * sunrpc/rpc/clnt.h: Likewise.
8982 * sunrpc/rpc/netdb.h: Likewise.
8983 * sunrpc/rpc/pmap_clnt.h: Likewise.
8984 * sunrpc/rpc/xdr.h: Likewise.
8985 * sysdeps/generic/inttypes.h: Likewise.
8986 * sysdeps/generic/net/if.h: Likewise.
8987 * sysdeps/generic/sys/swap.h: Likewise.
8988 * sysdeps/gnu/net/if.h: Likewise.
8989 * sysdeps/gnu/utmpx.h: Likewise.
8990 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
8991 * sysdeps/i386/i486/bits/string.h: Likewise.
8992 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
8993 * sysdeps/s390/bits/string.h: Likewise.
8994 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
8995 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
8996 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
8997 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
8998 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
8999 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
9000 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
9001 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
9002 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
9003 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
9004 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
9005 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9006 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
9007 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9008 * sysdeps/unix/sysv/linux/readv.c: Likewise.
9009 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
9010 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9011 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9012 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9013 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9014 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9015 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
9016 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
9017 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
9018 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
9019 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
9020 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
9021 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9022 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
9023 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
9024 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
9025 * sysvipc/sys/ipc.h: Likewise.
9026 * sysvipc/sys/msg.h: Likewise.
9027 * sysvipc/sys/sem.h: Likewise.
9028 * sysvipc/sys/shm.h: Likewise.
9029 * termios/termios.h: Likewise.
9030 * time/sys/time.h: Likewise.
9031 * time/time.h: Likewise.
9032 * wcsmbs/bits/wchar2.h: Likewise.
9033 * wcsmbs/uchar.h: Likewise.
9034 * wcsmbs/wchar.h: Likewise.
9035 * wctype/wctype.h: Likewise.
9038 * Makeconfig: Remove all but ELF support including AIX support.
9039 * Makerules: Likewise.
9040 * config.h.in: Likewise.
9041 * config.make.in: Likewise.
9042 * configure: Likewise.
9043 * configure.in: Likewise.
9044 * csu/Makefile: Likewise.
9045 * csu/version.c: Likewise.
9046 * debug/Makefile: Likewise.
9047 * dlfcn/Makefile: Likewise.
9048 * elf/Makefile: Likewise.
9049 * extra-lib.mk: Likewise.
9050 * iconv/Makefile: Likewise.
9051 * include/libc-symbols.h: Likewise.
9052 * include/shlib-compat.h: Likewise.
9053 * resolv/Makefile: Likewise.
9054 * resolv/res_libc.c: Likewise.
9055 * rt/Makefile: Likewise.
9056 * sysdeps/i386/asm-syntax.h: Likewise.
9057 * sysdeps/i386/sysdep.h: Likewise.
9058 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9059 * sysdeps/mach/sysdep.h: Likewise.
9060 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
9061 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
9062 * sysdeps/s390/asm-syntax.h: Likewise.
9063 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9064 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9065 * sysdeps/sh/sysdep.h: Likewise.
9066 * sysdeps/unix/sparc/sysdep.h: Likewise.
9067 * sysdeps/wordsize-32/divdi3.c: Likewise.
9068 * sysdeps/x86_64/sysdep.h: Likewise.
9070 * argp/Versions: Remove _argp_unlock_xxx.
9073 * abilist/ld.abilist: Update. Adjust for removal of tls option.
9074 * abilist/libBrokenLocale.abilist: Likewise.
9075 * abilist/libanl.abilist: Likewise.
9076 * abilist/libc.abilist: Likewise.
9077 * abilist/libcrypt.abilist: Likewise.
9078 * abilist/libdl.abilist: Likewise.
9079 * abilist/libm.abilist: Likewise.
9080 * abilist/libnsl.abilist: Likewise.
9081 * abilist/libpthread.abilist: Likewise.
9082 * abilist/libresolv.abilist: Likewise.
9083 * abilist/librt.abilist: Likewise.
9084 * abilist/libthread_db.abilist: Likewise.
9085 * abilist/libutil.abilist: Likewise.
9086 * abilist/libnss_db.abilist: New file.
9088 * scripts/abilist.awk: Add support for indirect functions.
9090 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
9092 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
9094 * shlib-versions: Remove entries for ports architectures.
9096 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
9098 * elf/stackguard-macros.h: Remove support for IA-64.
9099 * elf/tst-auditmod1.c: Likewise.
9100 * sysdeps/generic/ldsodefs.h: Likewise.
9102 * sysdeps/unix/sysv/linux/configure.in: Ports should define
9103 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
9107 * configure.in: Remove --enable-omitfp support.
9109 * config.make.in: Likewise.
9110 * Makeconfig: Likewise.
9111 * manual/install.texi: Likewise.
9113 In case anyone cares, the IA-64 architecture could move to ports.
9114 * sysdeps/ia64/*: Removed.
9115 * sysdeps/unix/sysv/linux/ia64/*: Removed.
9116 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
9119 * configure.in: Remove entries for unsupported architectures.
9122 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
9123 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
9125 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
9126 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
9127 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
9128 fall back to using wcrtomb.
9129 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
9130 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
9132 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
9133 * wcsmbs/tst-c16c32-1.c: New file.
9135 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
9138 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
9140 * elf/tst-unique3.cc: Add explicit declaration of gets.
9141 * elf/tst-unique3lib.cc: Likewise.
9142 * elf/tst-unique3lib2.cc: Likewise.
9143 * elf/tst-unique4.cc: Likewise.
9145 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
9147 2012-01-06 Joseph Myers <joseph@codesourcery.com>
9150 * assert/assert.h (static_assert): Don't define for C++.
9151 * libio/stdio.h (gets): Do declare for C++ <= C++11.
9152 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
9154 2012-01-03 Ulrich Drepper <drepper@gmail.com>
9156 * iconv/loop.c (single loop): Fix assertion in storing of
9159 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
9161 2012-01-01 Ulrich Drepper <drepper@gmail.com>
9163 * posix/getconf.c: Update copyright year.
9164 * nss/getent.c: Likewise.
9165 * nss/makedb.c: Likewise.
9166 * iconv/iconvconfig.c: Likewise.
9167 * iconv/iconv_prog.c: Likewise.
9168 * elf/ldconfig.c: Likewise.
9169 * elf/pldd.c: Likewise.
9170 * elf/sotruss.ksh: Likewise.
9171 * catgets/gencat.c: Likewise.
9172 * csu/version.c: Likewise.
9173 * elf/ldd.bash.in: Likewise.
9174 * elf/sprof.c (print_version): Likewise.
9175 * locale/programs/locale.c: Likewise.
9176 * locale/programs/localedef.c: Likewise.
9177 * login/programs/pt_chown.c: Likewise.
9178 * nscd/nscd.c (print_version): Likewise.
9179 * debug/xtrace.sh: Likewise.
9180 * malloc/memusage.sh: Likewise.
9181 * malloc/mtrace.pl: Likewise.
9182 * debug/catchsegv.sh: Likewise.
9184 2011-12-30 Jakub Jelinek <jakub@redhat.com>
9186 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
9189 2011-12-24 Ulrich Drepper <drepper@gmail.com>
9192 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
9193 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
9195 * iconv/gconv_int.h: Likewise.
9196 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
9197 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
9198 from libc for GLIBC_2.16.
9199 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
9200 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
9201 * wcsmbs/uchar.h: Really define mbstate_t.
9202 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
9203 * wcsmbs/c16rtomb.c: New file.
9204 * wcsmbs/mbrtoc16.c: New file.
9205 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
9207 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
9208 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
9210 * wcsmbs/wchar.h: Add missing __restrict.
9212 2011-12-23 Ulrich Drepper <drepper@gmail.com>
9215 * time/Makefile (routines): Add timespec_get.
9216 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
9217 * time/time.h: Define TIME_UTC and declare timespec_get. Define
9218 timespec for ISO C11.
9219 * time/timespec_get.c: New file.
9220 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
9221 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
9224 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
9225 * stdlib/stdlib.h: Declare aligned_alloc.
9226 * Versions.def: Add GLIBC_2.16 for libc.
9227 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
9230 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
9233 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
9237 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
9240 * assert/assert.h (static_assert): Define.
9242 * version.h: Update for 2.16 development version.
9245 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
9248 * version.h (RELEASE): Bump for 2.15 release.
9249 * include/features.h (__GLIBC_MINOR__): Bump to 15.
9251 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
9252 Patch by Marek Polacek <mpolacek@redhat.com>.
9254 * bits/byteswap.h: Protect long long constants with __extension__.
9255 * sysdeps/i386/bits/byteswap.h: Likewise.
9256 * sysdeps/ia64/bits/byteswap.h: Likewise.
9257 * sysdeps/s390/bits/byteswap.h: Likewise.
9258 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9260 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9263 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
9265 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
9267 2011-12-23 Marek Polacek <polacek@redhat.com>
9269 * elf/dl-addr.c (determine_info): Add inline keyword.
9270 * elf/tst-auditmod4b.c (check_avx): Likewise.
9271 * elf/tst-auditmod6b.c (check_avx): Likewise.
9272 * elf/tst-auditmod6c.c (check_avx): Likewise.
9273 * elf/tst-auditmod7b.c (check_avx): Likewise.
9275 2011-12-23 Ulrich Drepper <drepper@gmail.com>
9277 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
9280 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9283 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
9284 processing for last bytes.
9286 2011-08-06 Bruno Haible <bruno@clisp.org>
9289 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
9290 U+0385, not to U+1FEE.
9293 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
9294 entry for U+00A5 U+0301.
9296 2011-12-22 Ulrich Drepper <drepper@gmail.com>
9299 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
9300 buffer for the output is too small.
9302 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
9306 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
9307 SSE flags if possible.
9309 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9312 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
9313 processing for last bytes.
9315 2011-12-22 Joseph Myers <joseph@codesourcery.com>
9317 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
9318 (syscall-list-default-options, syscall-list-default-condition)
9319 (syscall-list-includes): Define.
9320 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
9321 list of ABIs and options and #if conditions for each ABI. Do not
9322 handle common syscalls between ABIs specially.
9323 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
9325 (syscall-list-variants, syscall-list-32bit-options)
9326 (syscall-list-32bit-condition, syscall-list-64bit-options)
9327 (syscall-list-64bit-condition): Define.
9328 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
9329 (syscall-list-variants, syscall-list-32bit-options)
9330 (syscall-list-32bit-condition, syscall-list-64bit-options)
9331 (syscall-list-64bit-condition): Define.
9332 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
9334 (syscall-list-variants, syscall-list-32bit-options)
9335 (syscall-list-32bit-condition, syscall-list-64bit-options)
9336 (syscall-list-64bit-condition): Define.
9337 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
9339 (syscall-list-variants, syscall-list-32bit-options)
9340 (syscall-list-32bit-condition, syscall-list-64bit-options)
9341 (syscall-list-64bit-condition): Define.
9343 2011-12-22 Ulrich Drepper <drepper@gmail.com>
9345 * locale/iso-639.def: Add brx entry.
9348 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
9349 Proposed by Mariusz_Cukr <marcukr@op.pl>.
9351 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
9352 __feraiseexcept_renamed.
9354 2011-12-21 Ulrich Drepper <drepper@gmail.com>
9357 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
9358 EPOLLET with unsigned values.
9359 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9360 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9362 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
9363 to large cancellation.
9364 * math/s_cacoshf.c: Likewise.
9365 * math/s_cacoshl.c: Likewise.
9367 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
9371 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
9372 * math/s_cacoshf.c: Likewise.
9373 * math/s_cacoshl.c: Likewise.
9375 2011-12-21 Ulrich Drepper <drepper@gmail.com>
9378 * iconv/gconv.h: Define __GCONV_SWAP.
9379 * iconvdata/unicode.c: The swap bit must be stored in __flags.
9380 * iconvdata/utf-16.c: Likewise.
9381 * iconvdata/utf-32.c: Likewise.
9383 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
9386 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
9387 numerator after shifting it by one limb.
9389 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
9391 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
9392 under [__USE_EXTERN_INLINES].
9394 2011-12-17 Ulrich Drepper <drepper@gmail.com>
9397 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
9399 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9401 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
9402 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
9404 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
9405 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
9406 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
9407 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
9408 for strncasecmp/strncasecmp_l compilation.
9409 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
9410 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
9412 2011-12-08 Marek Polacek <mpolacek@redhat.com>
9415 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
9418 2011-12-17 Ulrich Drepper <drepper@gmail.com>
9421 * time/tzfile.c (__tzfile_read): Check values from file header.
9423 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
9425 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
9426 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
9427 * powerpc/powerpc32/dl-start.S: Likewise.
9428 * powerpc/powerpc32/elf/start.S: Likewise.
9429 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9430 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
9431 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
9432 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
9433 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
9434 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
9435 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
9436 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
9437 * powerpc/powerpc32/fpu/s_round.S: Likewise.
9438 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
9439 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
9440 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
9441 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
9442 * powerpc/powerpc32/memset.S: Likewise.
9443 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
9444 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9445 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9446 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9447 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9448 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9449 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9450 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9451 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
9452 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
9453 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
9454 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9455 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9457 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9459 * math/libm-test.inc: Added more nearbyint tests.
9460 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
9461 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
9462 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
9463 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
9465 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
9467 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
9470 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9472 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
9473 Add wcscpy-ssse3 wcscpy-c.
9474 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
9475 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
9476 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
9477 * sysdeps/x86_64/wcschr.S: New file.
9478 * sysdeps/x86_64/wcsrchr.S: New file.
9479 * string/test-strcmp.c: Remove checking of wcscmp function for
9481 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
9482 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
9483 wcsrchr-sse2 wcsrchr-c.
9484 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
9485 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
9486 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
9487 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
9488 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
9489 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
9490 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
9491 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
9492 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
9493 * wcsmbc/wcschr.c (WCSCHR): New macro.
9495 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9497 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
9498 * wcsmbs/test-wcsrchr.c: New file.
9499 * string/test-strrchr.c: Add wcsrchr support.
9501 * wcsmbs/test-wcscpy.c: New file.
9502 * string/test-strcpy.c: Add wcscpy support.
9505 2011-12-10 Ulrich Drepper <drepper@gmail.com>
9507 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
9510 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
9513 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
9515 2011-12-04 Ulrich Drepper <drepper@gmail.com>
9517 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
9518 Minor optimizations.
9520 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
9521 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
9522 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
9524 2011-12-03 Ulrich Drepper <drepper@gmail.com>
9526 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
9527 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
9528 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
9529 for gcc to avoid warnings.
9530 * inet/Makefile (tests): Add tst-checks.
9531 * inet/tst-checks.c: New file.
9533 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
9536 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
9539 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
9540 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
9542 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
9544 2011-12-02 Ulrich Drepper <drepper@gmail.com>
9546 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
9549 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
9551 2011-11-29 Joseph Myers <joseph@codesourcery.com>
9553 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
9554 conditional on GCC version.
9555 (__arch_compare_and_exchange_val_8_acq)
9556 (__arch_compare_and_exchange_val_16_acq)
9557 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
9558 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
9559 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
9561 2011-12-02 Joseph Myers <joseph@codesourcery.com>
9563 * sysdeps/sh/backtrace.c: New file.
9565 2011-12-02 Andreas Schwab <schwab@redhat.com>
9567 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
9570 2011-12-01 Andreas Schwab <schwab@redhat.com>
9572 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
9573 falling back to utime.
9575 2011-11-30 Andreas Schwab <schwab@redhat.com>
9577 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
9578 expectations for float.
9580 2011-11-29 Andreas Schwab <schwab@redhat.com>
9582 * locale/weight.h (findidx): Add parameter len.
9583 * locale/weightwc.h (findidx): Likewise.
9584 * posix/fnmatch_loop.c (FCT): Adjust caller.
9585 * posix/regcomp.c (build_equiv_class): Likewise.
9586 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
9587 * posix/regexec.c (check_node_accept_bytes): Likewise.
9588 * string/strcoll_l.c (STRCOLL): Likewise.
9589 * string/strxfrm_l.c (STRXFRM): Likewise.
9591 2011-11-17 Ulrich Drepper <drepper@gmail.com>
9593 * Makefile.in: Remove CVSOPT handling.
9594 * configure.in: Remove use of AC_REVISION.
9595 * iconvdata/Makefile (distribute): No need to filter out CVS.
9596 * scripts/list-sources.sh: Remove CVS, subversion and monotone
9599 2011-11-16 Andreas Schwab <schwab@redhat.com>
9601 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
9602 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
9603 [USE_AS_STRNCASECMP_L]: Likewise.
9604 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
9605 NO_TLS_DIRECT_SEG_REFS.
9606 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
9607 Fix argument offsets for non-PIC.
9608 [USE_AS_STRNCASECMP_L]: Likewise.
9609 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
9610 NO_TLS_DIRECT_SEG_REFS.
9612 2011-11-15 Ulrich Drepper <drepper@gmail.com>
9614 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
9616 * locale/loadlocale.c (_nl_load_locale): Likewise.
9618 2011-11-15 Andreas Schwab <schwab@redhat.com>
9620 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
9621 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
9622 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
9623 (SYSCALL_GETTIME): Set errno on error.
9625 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
9626 count references to noai6ai_cached.
9628 2011-11-15 Ulrich Drepper <drepper@gmail.com>
9630 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
9632 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
9633 FD_CLOEXEC for /proc/self/maps.
9635 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
9636 FD_CLOEXEC for /proc/meminfo.
9638 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
9641 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
9642 FD_CLOEXEC for given file.
9644 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
9646 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
9647 FD_CLOEXEC for /etc/hosts.
9648 (_gethtent): Likewise.
9650 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
9652 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
9653 cancellation and set FD_CLOEXEC for /etc/netgroup.
9655 * nss/nss_files/files-key.c (search): Don't allow cancellation when
9656 reading /etc/publickey.
9658 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
9659 allow cancellation when reading /etc/group.
9661 * nss/nss_files/files-alias.c (internal_setent): Don't allow
9663 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
9665 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
9666 when using data file.
9668 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
9670 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
9671 (write_nis_obj): Use "c" and "e" in fopen.
9673 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
9675 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
9677 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
9679 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
9681 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
9684 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
9686 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
9688 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
9690 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
9691 file parsing and set FD_CLOEXEC.
9693 2011-11-14 Ulrich Drepper <drepper@gmail.com>
9695 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
9697 2011-11-14 Andreas Schwab <schwab@redhat.com>
9699 * malloc/arena.c (arena_get2): Don't call reused_arena when
9700 _int_new_arena failed.
9702 2011-11-14 Ulrich Drepper <drepper@gmail.com>
9704 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
9705 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
9706 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
9707 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9708 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9709 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
9710 to compile strcasecmp and strncasecmp.
9711 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
9712 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
9714 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
9716 2011-11-13 Ulrich Drepper <drepper@gmail.com>
9718 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
9719 locale-defines.sym to gen-as-const-headers.
9720 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
9721 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
9722 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
9723 to compile strcasecmp and strncasecmp.
9724 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
9725 strcasecmp_l and strncasecmp_l.
9726 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
9727 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
9728 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
9729 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
9730 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
9731 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
9732 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
9733 * sysdeps/i386/i686/multiarch/strncase.S: New file.
9734 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
9735 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
9736 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
9738 2011-11-12 Ulrich Drepper <drepper@gmail.com>
9740 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
9741 result of SYSDEP_GETTIME_CPU to retval.
9742 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
9743 parameter list to macro. Remove trailing semicolon. Adjust users.
9745 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
9748 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
9750 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
9752 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
9753 from unused variable.
9755 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
9757 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
9760 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
9763 * sunrpc/rpc_prot.c (rejected): Fix case value.
9765 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
9766 unsigned long long int to avoid warnings in shift.
9768 * posix/regex_internal.c (re_string_reconstruct): Actually use result
9770 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
9773 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
9774 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
9775 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
9777 * nis/nis_table.c (nis_list): Use variable of correct type for
9778 result of __follow_path call.
9780 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9782 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
9783 of math functions ceil, trunc, floor, round, and sqrt, when
9784 avaliable on the platform.
9785 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
9787 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9788 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
9789 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
9791 2011-10-30 Marek Polacek <mpolacek@redhat.com>
9793 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
9794 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
9796 2011-11-11 Roland McGrath <roland@hack.frob.com>
9798 * include/unistd.h: Fix __readlink return type.
9799 Reported by Chris Metcalf <cmetcalf@tilera.com>.
9801 2011-11-11 Ulrich Drepper <drepper@gmail.com>
9803 * stdlib/ucontext.h: Undo last change for makecontext.
9805 2011-11-11 Andreas Schwab <schwab@redhat.com>
9807 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
9809 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
9810 * setjmp/setjmp.h: Mark functions as non-leaf.
9811 * setjmp/bits/setjmp2.h: Likewise.
9812 * stdlib/ucontext.h: Likewise.
9814 2011-11-10 Andreas Schwab <schwab@redhat.com>
9816 * malloc/arena.c (_int_new_arena): Don't increment narenas.
9817 (reused_arena): Don't check arena limit.
9818 (arena_get2): Atomically check arena limit.
9820 2011-11-08 Ulrich Drepper <drepper@gmail.com>
9822 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
9823 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
9825 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
9828 2011-11-07 Andreas Schwab <schwab@redhat.com>
9830 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
9831 handler when locking.
9833 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9834 Fix size of allocated buffer.
9836 2011-11-04 Andreas Schwab <schwab@redhat.com>
9839 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
9840 declarations for long double functions.
9841 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
9843 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
9845 2011-11-03 Andreas Schwab <schwab@redhat.com>
9847 * nscd/nscd.c (main): Don't start AVC thread until credentials are
9850 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
9853 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
9855 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
9857 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
9859 * include/alloca.h (stackinfo_alloca_round): Define.
9860 (extend_alloca): Use it.
9861 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
9862 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
9865 * scripts/check-local-headers.sh: Ignore libaudit.h.
9867 * nscd/Makefile (extra-objs): Make recursively expanded.
9869 2011-11-01 Ulrich Drepper <drepper@gmail.com>
9871 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
9872 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
9874 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
9875 * posix/tst-rfc3484-2.c: Likewise.
9876 * posix/tst-rfc3484-3.c: Likewise.
9878 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
9880 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
9882 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
9883 process_vm_writev from libc using GLIBC_2.15 version.
9885 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
9887 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
9889 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
9892 2011-10-31 Ulrich Drepper <drepper@gmail.com>
9895 * nss/getent.c (initgroups_keys): Show error message in case no group
9898 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
9899 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
9900 __bump_nl_timestamp.
9901 * nscd/connections (nscd_init): When host database is served open
9902 netlink socket and request notification about configuration changes.
9903 (main_loop_poll): Track netlink file descriptor and bump timestamp
9904 in case data becomes available.
9905 (main_loop_epoll): Likewise.
9906 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
9907 (database_pers_head): Add extra_data fileds.
9908 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
9909 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
9910 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
9912 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
9913 in6ai data, call __free_in6ai.
9914 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
9916 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
9917 interface information. Reuse previous data if netlink timestamp
9919 (__bump_nl_timestamp): New function.
9920 (__free_in6ai): New function.
9922 2011-10-30 Ulrich Drepper <drepper@gmail.com>
9924 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
9925 close_not_cancel_no_status here.
9926 (__check_pf): Reorganize code a bit to not call close twice if OOM.
9928 2011-10-29 Ulrich Drepper <drepper@gmail.com>
9931 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
9934 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9935 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
9936 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
9938 2011-07-03 Andreas Jaeger <aj@suse.de>
9941 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
9942 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
9943 * math/libm-test.inc (sin_test): Add test case.
9945 2011-10-29 Ulrich Drepper <drepper@gmail.com>
9948 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
9949 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
9951 * elf/chroot_canon.c (chroot_canon): Cleanups.
9953 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
9956 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
9957 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
9959 * string/test-strchr.c: Make usable for strchrnul testing.
9960 * string/test-strchrnul.c: New file.
9961 * string/Makefile (strop-tests): Add strchrnul.
9963 * po/it.po: Update from translation team.
9964 * po/es.po: Likewise.
9966 2011-10-28 Ulrich Drepper <drepper@gmail.com>
9968 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
9969 the three constants needed as parameters. Drop the others.
9970 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
9971 __m128i_strloadu_tolower.
9972 Create and initialize variable zero and use it in all the places
9973 where _mm_setzero_si128 was used.
9975 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
9976 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
9977 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
9978 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
9980 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
9981 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
9982 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
9983 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
9984 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
9985 __mpranred, __mptan.
9986 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
9987 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
9988 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
9989 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
9990 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
9991 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
9992 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
9993 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
9994 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
9996 2011-10-28 Andreas Schwab <schwab@redhat.com>
9998 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
10000 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
10002 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
10003 wide char related routines to wcsmbs subdir.
10005 2011-10-27 Andreas Schwab <schwab@redhat.com>
10008 * misc/sys/cdefs.h (__THROWNL): Define.
10009 * posix/unistd.h: Use __THREADNL instead of __THREAD
10010 for memory synchronization functions.
10012 2011-10-26 Roland McGrath <roland@hack.frob.com>
10015 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
10017 * manual/stdio.texi (Obstack Streams): Node removed.
10019 2011-10-26 Andreas Schwab <schwab@redhat.com>
10021 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
10022 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10023 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10025 * math/math_private.h (math_force_eval): Allow non-addressable
10027 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
10029 2011-10-25 Ulrich Drepper <drepper@gmail.com>
10031 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
10032 file is not needed.
10034 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
10035 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
10036 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10037 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10038 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10039 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10040 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10041 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
10043 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
10044 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
10045 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
10046 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
10047 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
10048 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
10049 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
10050 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
10051 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
10052 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
10053 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
10054 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
10055 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
10056 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
10057 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
10058 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
10059 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
10060 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
10061 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
10063 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
10064 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
10066 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
10067 place. Use VEX encoding when compiling for AVX.
10069 2011-10-25 Andreas Schwab <schwab@redhat.com>
10071 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
10072 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
10074 * string/test-strchr.c (do_test): Don't generate NUL bytes.
10076 2011-10-25 Ulrich Drepper <drepper@gmail.com>
10078 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
10079 useless if() expression.
10080 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10081 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10082 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10083 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10084 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10085 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10086 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10087 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10088 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10089 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10090 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10091 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10092 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10093 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10094 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10095 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10096 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10097 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10098 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10100 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
10102 2011-10-25 Andreas Schwab <schwab@redhat.com>
10104 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
10106 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10108 2011-10-25 Ulrich Drepper <drepper@gmail.com>
10110 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
10111 .text section. Avoid duplicate constants.
10112 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10113 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10114 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10115 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10116 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10117 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10118 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10119 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10120 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10121 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
10122 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10123 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10124 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
10125 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
10126 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10127 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
10128 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10129 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10130 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10131 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10132 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10133 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10134 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10135 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
10136 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
10137 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
10138 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
10139 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
10140 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
10141 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
10142 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
10143 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
10144 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10145 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
10146 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
10147 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
10148 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
10149 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
10150 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
10151 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
10152 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
10153 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
10154 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
10155 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
10156 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
10158 2011-10-24 Ulrich Drepper <drepper@gmail.com>
10160 * sysdeps/x86_64/dla.h: Move to ...
10161 * sysdeps/x86_64/fpu/dla.h: ...here.
10162 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
10163 situations. Use __builtin_fma only for gcc 4.6 and up.
10165 * config.make.in: Add have-mfma4 entry.
10166 * configure.in: Substitute libc_cv_cc_fma4.
10167 * math/Makefile (dbl-only-routines): Add sincostab.
10168 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
10169 Use __sincostab not sincos.
10170 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
10172 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10173 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10174 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10175 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
10177 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
10178 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
10179 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
10180 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
10182 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
10183 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
10185 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
10186 define aliases when function name is a macro.
10187 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
10188 sysdeps/ieee754/dbl-64/sincos.tbl.
10189 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
10190 fma4-enabled routines.
10191 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
10192 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
10193 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
10194 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
10195 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
10196 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
10197 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
10198 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
10199 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
10200 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
10201 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
10202 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
10203 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
10204 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
10205 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
10206 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
10207 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
10208 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
10209 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
10210 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
10211 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
10212 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
10213 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
10214 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
10215 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
10216 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
10217 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
10218 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
10219 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
10220 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
10222 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
10224 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10225 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10226 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10227 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10228 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10229 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10230 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10231 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10233 2011-10-24 Andreas Schwab <schwab@redhat.com>
10235 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
10237 2011-10-23 Ulrich Drepper <drepper@gmail.com>
10239 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
10241 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
10243 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
10245 * string/strnlen.c: Don't define STRNLEN, reverse logic.
10246 Remove unused variable magic_bits.
10247 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
10249 * string/strnlen.c: Define and use STRNLEN macro.
10250 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
10251 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
10252 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
10253 * wcsmbs/wcslen.c: Define and use WCSLEN.
10254 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
10255 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
10256 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
10257 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
10258 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
10259 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
10260 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
10262 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10264 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10265 strnlen-sse2-no-bsf.
10266 Rename strlen-no-bsf to strlen-sse2-no-bsf.
10267 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
10268 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
10269 Add strnlen support.
10270 (USE_AS_STRNLEN): New macro.
10271 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
10272 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
10273 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
10274 * sysdeps/x86_64/wcslen.S: New file.
10276 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
10278 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
10279 XMM-moves are used for copying on small sizes.
10281 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10283 * wcsmbs/Makefile (strop-tests): Add wcschr.
10284 * wcsmbs/test-wcschr.c: New file.
10285 * string/test-strchr.c: Update.
10286 Add wcschr support.
10289 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10291 * wcsmbs/Makefile (strop-tests): Add wcslen.
10292 * wcsmbs/test-wcslen.c: New file.
10293 * string/test-strlen.c: Update.
10294 Add wcslen support.
10297 2011-10-23 Ulrich Drepper <drepper@gmail.com>
10299 * po/it.po: Update from translation team.
10301 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10303 * sysdeps/x86_64/wcscmp.S: Update.
10304 Fix wrong comparison semantics.
10305 wcscmp shall use signed comparison not unsigned.
10306 Don't use substraction to avoid overflow bug.
10307 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
10308 * wcsmbc/wcscmp.c: Likewise.
10309 * string/test-strcmp.c: Likewise.
10310 Add new tests to check cases with negative values.
10312 2011-10-23 Ulrich Drepper <drepper@gmail.com>
10314 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
10315 * sysdeps/x86_64/dla.h: ...here. New file.
10316 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
10317 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10318 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10319 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10320 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10321 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10322 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10323 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10324 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10326 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
10328 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
10329 __ynl_finite aliases.
10331 2011-10-22 Ulrich Drepper <drepper@gmail.com>
10333 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10335 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
10337 [DLA_FMA] (EMULV): Use DLA_FMA.
10338 [DLA_FMA] (MUL12): Use EMULV.
10339 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
10340 that are not needed.
10341 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10342 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10343 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10344 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10345 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10346 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10347 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10349 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
10351 * math/s_nan.c: Undef __nan.
10352 * math/s_nanf.c: Undef __nanf.
10353 * math/s_nanl.c: Undef __nanl.
10354 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
10357 2011-10-22 Ulrich Drepper <drepper@gmail.com>
10359 * math/s_catan.c: Add branch predictions.
10360 * math/s_catanf.c: Likewise.
10361 * math/s_catanh.c: Likewise.
10362 * math/s_catanhf.c: Likewise.
10363 * math/s_catanhl.c: Likewise.
10364 * math/s_catanl.c: Likewise.
10365 * math/s_cexp.c: Likewise.
10366 * math/s_cexpf.c: Likewise.
10367 * math/s_cexpl.c: Likewise.
10368 * math/s_clog.c: Likewise.
10369 * math/s_clog10.c: Likewise.
10370 * math/s_clog10f.c: Likewise.
10371 * math/s_clog10l.c: Likewise.
10372 * math/s_clogf.c: Likewise.
10373 * math/s_clogl.c: Likewise.
10374 * math/s_csqrt.c: Likewise.
10375 * math/s_csqrtf.c: Likewise.
10376 * math/s_csqrtl.c: Likewise.
10377 * math/s_ctanf.c: Likewise.
10378 * math/s_ctanh.c: Likewise.
10379 * math/s_ctanhf.c: Likewise.
10380 * math/s_ctanhl.c: Likewise.
10381 * math/s_ctanl.c: Likewise.
10383 * math/math_private.h: Define __nan, __nanf, __nanl.
10384 * math/s_cacosh.c: Include <math_private.h>.
10385 * math/s_cacoshl.c: Likewise.
10386 * math/s_casinh.c: Likewise.
10387 * math/s_casinhf.c: Likewise.
10388 * math/s_casinhl.c: Likewise.
10389 * math/s_ccos.c: Rely entire on ccosh.
10390 * math/s_ccosf.c: Rely entire on ccoshf.
10391 * math/s_ccosl.c: Rely entirely on ccoshl.
10392 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
10393 Remove tests for FE_INVALID.
10394 * math/s_ccoshf.c: Likewise.
10395 * math/s_ccoshl.c: Likewise.
10396 * math/s_csin.c: Likewise.
10397 * math/s_csinf.c: Likewise.
10398 * math/s_csinh.c Likewise.
10399 * math/s_csinhf.c: Likewise.
10400 * math/s_csinhl.c: Likewise.
10401 * math/s_csinl.c: Likewise.
10402 * math/s_ctan.c: Likewise.
10403 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
10404 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
10405 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
10407 2011-10-21 Ulrich Drepper <drepper@gmail.com>
10409 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
10410 compilation problems.
10412 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
10415 2011-10-20 Ulrich Drepper <drepper@gmail.com>
10417 * sysdeps/i386/configure.in: Test for -mfma4 option.
10418 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
10419 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
10420 COMMON_CPUID_INDEX_80000001.
10421 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
10422 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
10423 use it if FMA3 is not supported.
10424 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
10426 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
10427 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10429 2011-10-20 Andreas Schwab <schwab@redhat.com>
10432 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
10433 it would create a cycle with a link time dependency.
10435 2011-10-19 Ulrich Drepper <drepper@gmail.com>
10437 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
10439 * string/Makefile (strop-tests): Add rawmemchr.
10440 * string/test-rawmemchr.c: New file.
10442 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
10443 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
10444 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
10445 when compiling str{,n}casecmp and when AVX is available. Hook up
10446 new optimized code in initializers.
10448 2011-10-19 Andreas Schwab <schwab@redhat.com>
10450 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
10451 __feraiseexcept instead of feraiseexcept.
10453 2011-10-18 Ulrich Drepper <drepper@gmail.com>
10455 * math/math_private.h: Define defaults for libc_fetestexcept and
10457 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
10458 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
10459 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
10460 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10461 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10462 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10463 libc_fetestexcept and libc_feupdateenv.
10465 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
10466 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
10467 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
10468 * sysdeps/x86_64/fpu/math_private.h: Define special version of
10469 libc_feholdexcept_setround.
10471 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
10472 Add s_nearbyint-c and s_nearbyintf-c.
10473 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
10474 nearbyintf inlines.
10475 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
10476 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
10477 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
10478 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
10480 * math/math_private.h: Define defaults for libc_fegetround,
10481 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
10482 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
10483 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
10484 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
10485 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
10486 standard functions.
10487 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10488 Remove comments and hacks for old compiler versions.
10489 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10490 libc_fegetround, libc_fesetround, libc_feholdexcept, and
10491 libc_feholdexceptl.
10493 2011-10-18 Andreas Schwab <schwab@redhat.com>
10495 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
10496 (__feraiseexcept_renamed): Add __NTH.
10497 (feraiseexcept): Add __NTH. Rename local variables to fix
10498 namespace violations.
10500 2011-10-17 Ulrich Drepper <drepper@gmail.com>
10502 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
10504 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
10506 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
10507 recently added interfaces.
10508 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
10510 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
10511 about macro parameter expansion.
10513 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
10514 __NO_MATH_INLINES is defined. Cleanups.
10516 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
10517 and __floorf is target has SSE4.1.
10518 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
10519 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
10520 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
10521 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
10523 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
10525 (floorf): Likewise.
10527 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
10529 2011-10-17 Andreas Schwab <schwab@redhat.com>
10531 * misc/sys/cdefs.h: Fix last change.
10533 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
10536 2011-10-16 Ulrich Drepper <drepper@gmail.com>
10538 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
10540 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
10541 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10542 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10543 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10544 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10545 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10546 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10547 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10548 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10549 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
10550 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
10551 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
10552 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
10553 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
10554 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
10555 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
10556 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
10557 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
10558 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
10559 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
10560 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
10561 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
10563 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
10564 ceil, ceilf, floor, floorf.
10566 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
10567 Perform IRELATIVE relocations last.
10569 * elf/do-rel.h: Add another parameter nrelative, replacing the
10570 local variable with the same name. Change name of the function
10571 to end in Rel or Rela (uppercase).
10572 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
10573 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
10574 elf_dynamic_do_##reloc function.
10576 2011-10-15 Ulrich Drepper <drepper@gmail.com>
10578 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
10579 is sufficient, at least on modern CPUs.
10581 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
10583 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
10584 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
10586 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
10588 * math/bits/math-finite.h: Add entries for exp.
10589 * math/e_expl.c: Add __*_finite alias.
10590 * sysdeps/i386/fpu/e_exp.S: Likewise.
10591 * sysdeps/i386/fpu/e_expf.S: Likewise.
10592 * sysdeps/i386/fpu/e_expl.c: Likewise.
10593 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10594 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10595 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10596 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10597 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
10598 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10599 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10601 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
10602 is sufficient, at least on modern CPUs.
10604 * ctype/ctype-info.c (__ctype_init): Define.
10605 * include/ctype.h (__ctype_init): Declare.
10606 (__ctype_b_loc): The variable is always initialized.
10607 (__ctype_toupper_loc): Likewise.
10608 (__ctype_tolower_loc): Likewise.
10609 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
10610 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
10612 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
10614 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
10616 * configure.in: Also look in $cxxmachine/include for C++ system
10619 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10621 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
10622 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
10623 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
10624 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
10625 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
10626 (USE_AS_WMEMCMP): New macro.
10628 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
10629 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
10630 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
10631 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
10632 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10633 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
10634 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
10635 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
10636 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
10637 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
10638 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
10639 (USE_AS_WMEMCMP): New macro.
10640 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
10641 * sysdeps/string/test-memcmp.c: Update.
10642 Fix simple_wmemcmp.
10644 * wcsmbs/wmemcmp.c: Update.
10645 (WMEMCMP): New macro.
10648 2011-10-12 Andreas Jaeger <aj@suse.de>
10651 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
10653 2011-10-15 Ulrich Drepper <drepper@gmail.com>
10655 * libio/iofwide.c (do_length): Avoid warning.
10657 * ctype/ctype.h (__isctype_f): Add missing __THROW.
10659 2011-10-14 Ulrich Drepper <drepper@gmail.com>
10661 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
10663 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
10664 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
10665 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
10666 * sysdeps/i386/i686/fpu/e_log.S: New file.
10667 * sysdeps/i386/i686/fpu/e_logf.S: New file.
10668 * sysdeps/i386/i686/fpu/e_logl.S: New file.
10670 * ctype/ctype.h: Add support for inlined isXXX functions when
10671 compiling C++ code.
10673 2011-10-14 Andreas Schwab <schwab@redhat.com>
10675 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10677 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
10679 2011-10-13 Roland McGrath <roland@hack.frob.com>
10682 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
10684 2011-10-13 Andreas Schwab <schwab@redhat.com>
10686 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
10687 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
10690 * sysdeps/x86_64/memrchr.S: Check for zero size.
10692 * string/stratcliff.c: Add memrchr tests.
10694 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10696 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10697 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
10698 rawmemchr-sse2 rawmemchr-sse2-bsf.
10699 * sysdeps/i386/i686/multiarch/memchr.S: New file.
10700 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
10701 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
10702 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
10703 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
10704 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
10705 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
10706 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
10707 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
10708 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
10709 * string/memrchr.c (MEMRCHR): New macro.
10711 2011-10-12 Ulrich Drepper <drepper@gmail.com>
10713 Add integration with gcc's -ffinite-math-only and optimize wrapper
10715 * Versions.def: Define GLIBC_2.15 version for libm.
10716 * math/Makefile (headers): Add bits/math-finite.h.
10717 * math/bits/math-finite.h: New file.
10718 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
10719 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
10720 * math/e_acoshl.c: Add __*_finite alias.
10721 * math/e_acosl.c: Likewise.
10722 * math/e_asinl.c: Likewise.
10723 * math/e_atan2l.c: Likewise.
10724 * math/e_atanhl.c: Likewise.
10725 * math/e_coshl.c: Likewise.
10726 * math/e_exp10.c: Likewise.
10727 * math/e_exp10f.c: Likewise.
10728 * math/e_exp10l.c: Likewise.
10729 * math/e_exp2l.c: Likewise.
10730 * math/e_fmodl.c: Likewise.
10731 * math/e_gammal_r.c: Likewise.
10732 * math/e_hypotl.c: Likewise.
10733 * math/e_j0l.c: Likewise.
10734 * math/e_j1l.c: Likewise.
10735 * math/e_jnl.c: Likewise.
10736 * math/e_lgammal_r.c: Likewise.
10737 * math/e_log10l.c: Likewise.
10738 * math/e_log2l.c: Likewise.
10739 * math/e_logl.c: Likewise.
10740 * math/e_powl.c: Likewise.
10741 * math/e_sinhl.c: Likewise.
10742 * math/e_sqrtl.c: Likewise.
10743 * math/e_scalb.c: Completely rewritten and optimized.
10744 * math/e_scalbf.c: Likewise.
10745 * math/e_scalbl.c: Likewise.
10746 * math/w_acos.c: Likewise.
10747 * math/w_acosf.c: Likewise.
10748 * math/w_acosl.c: Likewise.
10749 * math/w_acosh.c: Likewise.
10750 * math/w_acoshf.c: Likewise.
10751 * math/w_acoshl.c: Likewise.
10752 * math/w_asin.c: Likewise.
10753 * math/w_asinf.c: Likewise.
10754 * math/w_asinl.c: Likewise.
10755 * math/w_atan2.c: Likewise.
10756 * math/w_atan2f.c: Likewise.
10757 * math/w_atan2l.c: Likewise.
10758 * math/w_atanh.c: Likewise.
10759 * math/w_atanhf.c: Likewise.
10760 * math/w_atanhl.c: Likewise.
10761 * math/w_exp10.c: Likewise.
10762 * math/w_exp10f.c: Likewise.
10763 * math/w_exp10l.c: Likewise.
10764 * math/w_fmod.c: Likewise.
10765 * math/w_fmodf.c: Likewise.
10766 * math/w_fmodl.c: Likewise.
10767 * math/w_j0.c: Likewise.
10768 * math/w_j0f.c: Likewise.
10769 * math/w_j0l.c: Likewise.
10770 * math/w_j1.c: Likewise.
10771 * math/w_j1f.c: Likewise.
10772 * math/w_j1l.c: Likewise.
10773 * math/w_jn.c: Likewise.
10774 * math/w_jnf.c: Likewise.
10775 * math/w_log.c: Likewise.
10776 * math/w_logf.c: Likewise.
10777 * math/w_logl.c: Likewise.
10778 * math/w_log10.c: Likewise.
10779 * math/w_log10f.c: Likewise.
10780 * math/w_log10l.c: Likewise.
10781 * math/w_log2.c: Likewise.
10782 * math/w_log2f.c: Likewise.
10783 * math/w_log2l.c: Likewise.
10784 * math/w_pow.c: Likewise.
10785 * math/w_powf.c: Likewise.
10786 * math/w_powl.c: Likewise.
10787 * math/w_remainder.c: Likewise.
10788 * math/w_remainderf.c: Likewise.
10789 * math/w_remainderl.c: Likewise.
10790 * math/w_scalb.c: Likewise.
10791 * math/w_scalbf.c: Likewise.
10792 * math/w_scalbl.c: Likewise.
10793 * math/w_sqrt.c: Likewise.
10794 * math/w_sqrtf.c: Likewise.
10795 * math/w_sqrtl.c: Likewise.
10796 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
10797 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
10799 * math/math_private.h: Declare __kernel_standard_f.
10800 * math/w_cosh.c: Remove cruft and optimize a bit.
10801 * math/w_coshf.c: Likewise.
10802 * math/w_coshl.c: Likewise.
10803 * math/w_exp2.c: Likewise.
10804 * math/w_exp2f.c: Likewise.
10805 * math/w_exp2l.c: Likewise.
10806 * math/w_hypot.c: Likewise.
10807 * math/w_hypotf.c: Likewise.
10808 * math/w_hypotl.c: Likewise.
10809 * math/w_lgamma.c: Likewise.
10810 * math/w_lgamma_r.c: Likewise.
10811 * math/w_lgammaf.c: Likewise.
10812 * math/w_lgammaf_r.c: Likewise.
10813 * math/w_lgammal.c: Likewise.
10814 * math/w_lgammal_r.c: Likewise.
10815 * math/w_sinh.c: Likewise.
10816 * math/w_sinhf.c: Likewise.
10817 * math/w_sinhl.c: Likewise.
10818 * math/w_tgamma.c: Likewise.
10819 * math/w_tgammaf.c: Likewise.
10820 * math/w_tgammal.c: Likewise.
10821 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10822 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10823 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
10824 Minor optimizations. Pretty printing. Remove cruft.
10825 * sysdeps/i386/fpu/e_acosf.S: Likewise.
10826 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10827 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10828 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10829 * sysdeps/i386/fpu/e_acosl.c: Likewise.
10830 * sysdeps/i386/fpu/e_asin.S: Likewise.
10831 * sysdeps/i386/fpu/e_asinf.S: Likewise.
10832 * sysdeps/i386/fpu/e_atan2.S: Likewise.
10833 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
10834 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
10835 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10836 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10837 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10838 * sysdeps/i386/fpu/e_exp10.S: Likewise.
10839 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
10840 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
10841 * sysdeps/i386/fpu/e_exp2.S: Likewise.
10842 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
10843 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
10844 * sysdeps/i386/fpu/e_fmod.S: Likewise.
10845 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
10846 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
10847 * sysdeps/i386/fpu/e_hypot.S: Likewise.
10848 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
10849 * sysdeps/i386/fpu/e_log.S: Likewise.
10850 * sysdeps/i386/fpu/e_log10.S: Likewise.
10851 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10852 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10853 * sysdeps/i386/fpu/e_log2.S: Likewise.
10854 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10855 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10856 * sysdeps/i386/fpu/e_logf.S: Likewise.
10857 * sysdeps/i386/fpu/e_logl.S: Likewise.
10858 * sysdeps/i386/fpu/e_pow.S: Likewise.
10859 * sysdeps/i386/fpu/e_powf.S: Likewise.
10860 * sysdeps/i386/fpu/e_powl.S: Likewise.
10861 * sysdeps/i386/fpu/e_remainder.S: Likewise.
10862 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
10863 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
10864 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10865 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10866 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10867 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
10868 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
10869 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
10870 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10871 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10872 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10873 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10874 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10875 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10876 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10877 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10878 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10879 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10880 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10881 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
10882 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10883 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10884 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10885 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10886 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10887 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10888 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10889 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10890 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10891 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
10892 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10893 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10894 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
10895 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
10896 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
10897 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
10898 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
10899 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
10900 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10901 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10902 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10903 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
10904 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
10905 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
10906 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
10907 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
10908 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
10909 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
10910 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
10911 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
10912 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
10913 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
10914 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10915 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
10916 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10917 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
10918 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
10919 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
10920 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10921 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10922 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10923 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10924 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10925 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
10926 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
10927 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
10928 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10929 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
10930 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10931 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
10932 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10933 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10934 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
10935 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
10936 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
10937 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
10938 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
10939 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
10940 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
10941 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
10942 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
10943 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
10944 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
10945 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10946 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
10947 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
10948 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10949 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
10950 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10951 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
10952 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
10953 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10954 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10955 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
10956 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10957 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
10958 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10959 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
10960 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10961 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10962 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10963 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
10964 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10965 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
10966 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
10967 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
10968 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
10969 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
10970 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
10971 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
10972 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
10973 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
10974 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10975 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10976 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10977 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10978 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
10979 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10980 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
10981 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
10982 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
10983 (__isnanf): Likewise.
10984 (__isinf_ns): Likewise.
10985 (__isinf_nsf): Likewise.
10986 (__finite): Likewise.
10987 (__finitef): Likewise.
10988 (__ieee754_sqrt): Define as macro.
10989 (__ieee754_sqrtf): Define as macro.
10990 (__ieee754_sqrtl): Define as macro.
10991 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
10993 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
10994 __FINITE_MATH_ONLY__ consistent.
10995 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
10997 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
10999 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
11002 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
11004 2011-10-09 Ulrich Drepper <drepper@gmail.com>
11006 * po/ja.po: Update from translation team.
11008 2011-10-08 Roland McGrath <roland@hack.frob.com>
11010 * locale/programs/locarchive.c (prepare_address_space): New function.
11011 (create_archive, enlarge_archive, open_archive): Use it.
11013 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
11014 inside [SHARED], where it is used.
11016 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
11018 * nss/getent.c (netgroup_keys): Remove unused variable.
11019 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
11021 2011-10-08 Ulrich Drepper <drepper@gmail.com>
11023 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
11024 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
11025 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
11026 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
11027 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
11028 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
11029 * math/Makefile (libm-calls): Add s_isinf_ns.
11030 * math/divtc3.c: Use __isinf_nsl instead of isinf.
11031 * math/multc3.c: Likewise.
11032 * math/s_casin.c: Likewise.
11033 * math/s_casinf.c: Likewise.
11034 * math/s_casinl.c: Likewise.
11035 * math/s_ccos.c: Likewise.
11036 * math/s_ccosf.c: Likewise.
11037 * math/s_ccosl.c: Likewise.
11038 * math/s_ctan.c: Likewise.
11039 * math/s_ctanf.c: Likewise.
11040 * math/s_ctanh.c: Likewise.
11041 * math/s_ctanhf.c: Likewise.
11042 * math/s_ctanhl.c: Likewise.
11043 * math/s_ctanl.c: Likewise.
11044 * math/w_fmod.c: Likewise.
11045 * math/w_fmodf.c: Likewise.
11046 * math/w_fmodl.c: Likewise.
11047 * math/w_remainder.c: Likewise.
11048 * math/w_remainderf.c: Likewise.
11049 * math/w_remainderl.c: Likewise.
11050 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
11051 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
11052 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
11053 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
11054 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
11055 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
11056 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
11057 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
11059 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
11061 * stdio-common/printf_fphex.c: Likewise.
11062 * stdio-common/printf_size.c: Likewise.
11064 * math/e_exp10.c: Include math_private.h using <...> not "...".
11065 * math/e_exp10f.c: Likewise.
11066 * math/e_exp10l.c: Likewise.
11067 * math/e_exp2l.c: Likewise.
11068 * math/e_j0l.c: Likewise.
11069 * math/e_j1l.c: Likewise.
11070 * math/e_jnl.c: Likewise.
11071 * math/e_lgammal_r.c: Likewise.
11072 * math/e_rem_pio2l.c: Likewise.
11073 * math/e_scalb.c: Likewise.
11074 * math/e_scalbf.c: Likewise.
11075 * math/e_scalbl.c: Likewise.
11076 * math/k_cosl.c: Likewise.
11077 * math/k_sinl.c: Likewise.
11078 * math/k_tanl.c: Likewise.
11079 * math/s_cacoshf.c: Likewise.
11080 * math/s_catan.c: Likewise.
11081 * math/s_catanf.c: Likewise.
11082 * math/s_catanh.c: Likewise.
11083 * math/s_catanhf.c: Likewise.
11084 * math/s_catanhl.c: Likewise.
11085 * math/s_catanl.c: Likewise.
11086 * math/s_ccosh.c: Likewise.
11087 * math/s_ccoshf.c: Likewise.
11088 * math/s_ccoshl.c: Likewise.
11089 * math/s_cexp.c: Likewise.
11090 * math/s_cexpf.c: Likewise.
11091 * math/s_cexpl.c: Likewise.
11092 * math/s_clog.c: Likewise.
11093 * math/s_clog10.c: Likewise.
11094 * math/s_clog10f.c: Likewise.
11095 * math/s_clog10l.c: Likewise.
11096 * math/s_clogf.c: Likewise.
11097 * math/s_clogl.c: Likewise.
11098 * math/s_csin.c: Likewise.
11099 * math/s_csinf.c: Likewise.
11100 * math/s_csinh.c: Likewise.
11101 * math/s_csinhf.c: Likewise.
11102 * math/s_csinhl.c: Likewise.
11103 * math/s_csinl.c: Likewise.
11104 * math/s_csqrt.c: Likewise.
11105 * math/s_csqrtf.c: Likewise.
11106 * math/s_csqrtl.c: Likewise.
11107 * math/s_ctan.c: Likewise.
11108 * math/s_ctanf.c: Likewise.
11109 * math/s_ctanh.c: Likewise.
11110 * math/s_ctanhf.c: Likewise.
11111 * math/s_ctanhl.c: Likewise.
11112 * math/s_ctanl.c: Likewise.
11113 * math/s_ldexp.c: Likewise.
11114 * math/s_ldexpf.c: Likewise.
11115 * math/s_ldexpl.c: Likewise.
11116 * math/s_significand.c: Likewise.
11117 * math/s_significandf.c: Likewise.
11118 * math/s_significandl.c: Likewise.
11119 * math/w_acos.c: Likewise.
11120 * math/w_acosf.c: Likewise.
11121 * math/w_acosh.c: Likewise.
11122 * math/w_acoshf.c: Likewise.
11123 * math/w_acoshl.c: Likewise.
11124 * math/w_acosl.c: Likewise.
11125 * math/w_asin.c: Likewise.
11126 * math/w_asinf.c: Likewise.
11127 * math/w_asinl.c: Likewise.
11128 * math/w_atan2.c: Likewise.
11129 * math/w_atan2f.c: Likewise.
11130 * math/w_atan2l.c: Likewise.
11131 * math/w_atanh.c: Likewise.
11132 * math/w_atanhf.c: Likewise.
11133 * math/w_atanhl.c: Likewise.
11134 * math/w_cosh.c: Likewise.
11135 * math/w_coshf.c: Likewise.
11136 * math/w_coshl.c: Likewise.
11137 * math/w_dremf.c: Likewise.
11138 * math/w_exp10.c: Likewise.
11139 * math/w_exp10f.c: Likewise.
11140 * math/w_exp10l.c: Likewise.
11141 * math/w_exp2.c: Likewise.
11142 * math/w_exp2f.c: Likewise.
11143 * math/w_fmod.c: Likewise.
11144 * math/w_fmodf.c: Likewise.
11145 * math/w_fmodl.c: Likewise.
11146 * math/w_hypot.c: Likewise.
11147 * math/w_hypotf.c: Likewise.
11148 * math/w_hypotl.c: Likewise.
11149 * math/w_j0.c: Likewise.
11150 * math/w_j0f.c: Likewise.
11151 * math/w_j0l.c: Likewise.
11152 * math/w_j1.c: Likewise.
11153 * math/w_j1f.c: Likewise.
11154 * math/w_j1l.c: Likewise.
11155 * math/w_jn.c: Likewise.
11156 * math/w_jnf.c: Likewise.
11157 * math/w_jnl.c: Likewise.
11158 * math/w_lgamma.c: Likewise.
11159 * math/w_lgamma_r.c: Likewise.
11160 * math/w_lgammaf.c: Likewise.
11161 * math/w_lgammaf_r.c: Likewise.
11162 * math/w_lgammal.c: Likewise.
11163 * math/w_lgammal_r.c: Likewise.
11164 * math/w_log.c: Likewise.
11165 * math/w_log10.c: Likewise.
11166 * math/w_log10f.c: Likewise.
11167 * math/w_log10l.c: Likewise.
11168 * math/w_log2.c: Likewise.
11169 * math/w_log2f.c: Likewise.
11170 * math/w_log2l.c: Likewise.
11171 * math/w_logf.c: Likewise.
11172 * math/w_logl.c: Likewise.
11173 * math/w_pow.c: Likewise.
11174 * math/w_powf.c: Likewise.
11175 * math/w_powl.c: Likewise.
11176 * math/w_remainder.c: Likewise.
11177 * math/w_remainderf.c: Likewise.
11178 * math/w_remainderl.c: Likewise.
11179 * math/w_scalb.c: Likewise.
11180 * math/w_scalbf.c: Likewise.
11181 * math/w_scalbl.c: Likewise.
11182 * math/w_sinh.c: Likewise.
11183 * math/w_sinhf.c: Likewise.
11184 * math/w_sinhl.c: Likewise.
11185 * math/w_sqrt.c: Likewise.
11186 * math/w_sqrtf.c: Likewise.
11187 * math/w_sqrtl.c: Likewise.
11188 * math/w_tgamma.c: Likewise.
11189 * math/w_tgammaf.c: Likewise.
11190 * math/w_tgammal.c: Likewise.
11192 * po/ja.po: Update from translation team.
11194 2011-09-29 Andreas Jaeger <aj@suse.de>
11197 * sunrpc/netname.c (netname2host): Fix logic.
11201 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
11203 * math/w_remainder.c (__remainder): Likewise.
11204 * math/w_remainderf.c (__remainderf): Likewise.
11205 * math/libm-test.inc (remainder_test): Add test cases.
11207 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11209 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
11212 2011-10-07 Ulrich Drepper <drepper@gmail.com>
11214 * string/test-memcmp.c: Avoid unncessary #defines.
11215 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
11217 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11219 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
11220 Use new sse2 version for core i3 - i7 as it's faster
11221 than sse42 version.
11222 (bit_Prefer_PMINUB_for_stringop): New.
11223 * sysdeps/x86_64/rawmemchr.S: Update.
11224 Replace with faster SSE2 version.
11225 * sysdeps/x86_64/memrchr.S: New file.
11226 * sysdeps/x86_64/memchr.S: Update.
11227 Replace with faster SSE2 version.
11229 2011-09-12 Marek Polacek <mpolacek@redhat.com>
11231 * elf/dl-load.c (lose): Add cast to avoid warning.
11233 2011-10-07 Ulrich Drepper <drepper@gmail.com>
11235 * po/ca.po: Update from translation team.
11237 * inet/getnetgrent_r.c: Hook up nscd.
11238 * nscd/Makefile (routines): Add nscd_netgroup.
11239 (nscd-modules): Add netgroupcache.
11240 (CFLAGS-netgroupcache.c): Define.
11241 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
11242 (cache_search): Add const to second parameter.
11243 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
11245 (dbs): Add netgrdb entry.
11246 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
11247 (verify_persistent_db): Handle netgrdb.
11248 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
11249 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
11251 (netgroup_response_header): Define.
11252 (innetgroup_response_header): Define.
11253 (datahead): Add netgroup_response_header and innetgroup_response_header
11255 * nscd/nscd.conf: Add entries for netgroup cache.
11256 * nscd/nscd.h (dbtype): Add netgrdb.
11257 (_PATH_NSCD_NETGROUP_DB): Define.
11258 (netgroup_iov_disabled): Declare.
11259 (xmalloc, xcalloc, xrealloc): Move declarations here.
11260 (cache_search): Adjust prototype.
11261 Add netgroup-related prototypes.
11262 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
11263 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
11264 (__nscd_innetgr): Declare.
11265 * nscd/selinux.c (perms): Use access_vector_t as element type and
11266 add netgroup-related initializers.
11267 * nscd/netgroupcache.c: New file.
11268 * nscd/nscd_netgroup.c: New file.
11269 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
11270 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
11271 For four parameters use innetgr.
11272 * nss/nss_files/files-init.c: Add definition and callback for netgr.
11273 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
11274 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
11275 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
11277 * nscd/connections.c (register_traced_file): Don't register file
11278 for disabled databases.
11280 2011-10-06 Ulrich Drepper <drepper@gmail.com>
11282 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
11284 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
11285 from tree and freeing node.
11287 2011-09-25 Jiri Olsa <jolsa@redhat.com>
11289 * nss/nsswitch.c (__nss_database_lookup): Handle
11290 nss_parse_service_list out of memory case.
11292 2011-09-15 Jiri Olsa <jolsa@redhat.com>
11294 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
11295 out of memory case.
11297 2011-10-04 Andreas Schwab <schwab@redhat.com>
11299 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
11300 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
11302 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
11303 elf_machine_rela, elf_machine_lazy_rel.
11304 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
11305 (ELF_DYNAMIC_DO_REL): Likewise.
11306 (ELF_DYNAMIC_DO_RELA): Likewise.
11307 (ELF_DYNAMIC_RELOCATE): Likewise.
11308 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
11309 to ELF_DYNAMIC_DO_REL.
11310 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
11311 (dl_main): In trace mode always set __RTLD_NOIFUNC.
11312 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
11314 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
11315 skip_ifunc, don't call ifunc function if non-zero.
11316 (elf_machine_rela): Likewise.
11317 (elf_machine_lazy_rel): Likewise.
11318 (elf_machine_lazy_rela): Likewise.
11319 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
11320 (elf_machine_lazy_rel): Likewise.
11321 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
11323 (elf_machine_lazy_rel): Likewise.
11324 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11326 (elf_machine_lazy_rel): Likewise.
11327 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
11328 (elf_machine_lazy_rel): Likewise.
11329 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
11330 (elf_machine_lazy_rel): Likewise.
11331 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11332 (elf_machine_lazy_rel): Likewise.
11333 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
11334 (elf_machine_lazy_rel): Likewise.
11335 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
11336 (elf_machine_lazy_rel): Likewise.
11337 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
11338 (elf_machine_lazy_rel): Likewise.
11340 2011-09-28 Ulrich Drepper <drepper@gmail.com>
11342 * nss/nss_files/files-init.c (_nss_files_init): Use static
11343 initialization for all the *_traced_file variables.
11345 2011-09-28 Andreas Schwab <schwab@redhat.com>
11347 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11349 2011-09-27 Roland McGrath <roland@hack.frob.com>
11352 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
11354 2011-09-27 Andreas Schwab <schwab@redhat.com>
11356 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11357 Reread the line before reparsing it.
11359 2011-09-26 Andreas Schwab <schwab@redhat.com>
11361 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
11363 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
11364 Maxim Kuvyrkov <maxim@codesourcery.com>
11365 Joseph Myers <joseph@codesourcery.com>
11367 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
11368 if needed for __stack_chk_guard.
11370 2011-09-19 Roland McGrath <roland@hack.frob.com>
11372 * sysdeps/posix/spawni.c (script_execute): Always define it.
11373 It will be optimized away if unused.
11374 (maybe_script_execute): New function.
11375 (__spawni): Call it.
11377 * Makerules: Don't include tls.make.
11378 (config-tls): Always set to thread.
11379 * tls.make.c: File removed.
11381 2011-09-19 Mike Frysinger <vapier@gentoo.org>
11383 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
11384 * config.make.in (CPPFLAGS-config): New substituted variable.
11386 2011-09-15 Ulrich Drepper <drepper@gmail.com>
11388 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
11391 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
11392 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
11394 2011-09-15 Roland McGrath <roland@hack.frob.com>
11396 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
11397 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
11398 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
11399 (CALL_FAIL): Likewise.
11400 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
11401 (CALL_FAIL): Macro removed.
11402 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
11404 2011-09-15 Ulrich Drepper <drepper@gmail.com>
11406 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
11407 for __FINITE_MATH_ONLY__ == 1.
11409 2011-09-15 Andreas Schwab <schwab@redhat.com>
11411 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
11412 __ieee754_sqrt instead of sqrt.
11413 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
11414 __ieee754_sqrtf instead of sqrtf.
11415 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
11416 __floorf instead of floorf.
11417 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
11418 __floorf, __truncf instead of floorf, truncf.
11420 2011-09-14 Ulrich Drepper <drepper@gmail.com>
11422 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
11424 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
11425 __extern_always_inline.
11426 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
11429 2011-09-14 Andreas Schwab <schwab@redhat.com>
11431 * elf/rtld.c (dl_main): Also relocate in dependency order when
11432 doing symbol dependency testing.
11434 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
11436 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11437 Always define `refsym'.
11439 2011-09-13 Andreas Schwab <schwab@redhat.com>
11441 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
11442 (__FD_ELT): Renamed from __FDELT.
11443 * misc/bits/select2.h (__FD_ELT): Likewise.
11444 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
11445 __FD_MASK instead of __FDELT, __FDMASK.
11446 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11448 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11451 * elf/Makefile (gen-ldd): Fix pattern.
11453 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
11454 (init_tls): Likewise.
11456 2011-09-12 Ulrich Drepper <drepper@gmail.com>
11458 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
11460 2011-09-12 Andreas Schwab <schwab@redhat.com>
11462 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
11463 `struct cmsghdr *' instead of `void *'.
11464 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
11467 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
11469 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
11471 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
11472 ldd_rewrite_script.
11474 2011-09-11 Ulrich Drepper <drepper@gmail.com>
11476 * configure.in: Remove --with-tls option.
11477 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
11478 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
11479 out in case it is missing.
11480 * sysdeps/ia64/elf/configure.in: Likewise.
11481 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
11482 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
11483 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
11484 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
11485 * sysdeps/sh/elf/configure.in: Likewise.
11486 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
11487 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
11488 * sysdeps/x86_64/elf/configure.in: Likewise.
11489 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
11490 * sysdeps/mach/hurd/tls.h: Likewise.
11493 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
11496 * configure.in: Fix use of AC_INIT.
11498 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
11500 2011-09-10 Ulrich Drepper <drepper@gmail.com>
11502 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
11504 * malloc/hooks.c: Likewise.
11507 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
11508 variables statically.
11509 (narenas): Initialize.
11510 (list_lock): Initialize.
11511 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
11512 initializtion of main_arena and list_lock. Small cleanups.
11513 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
11514 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
11515 Add initializers to main_arena and mp_.
11516 (malloc_state): Remove pagesize member. Change all users to use
11519 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
11520 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
11521 is always initialized.
11523 * malloc/malloc.c: Removed unused configurations and dead code.
11524 * malloc/arena.c: Likewise.
11525 * malloc/hooks.c: Likewise.
11526 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
11528 * include/tls.h: Removed. USE___THREAD must always be defined.
11529 * bits/libc-tsd.h: Don't handle !USE___THREAD.
11530 * elf/dl-libc.c: Likewise.
11531 * elf/dl-tsd.c: Likewise.
11532 * include/errno.h: Likewise.
11533 * include/netdb.h: Likewise.
11534 * include/resolv.h: Likewise.
11535 * inet/herrno-loc.c: Likewise.
11536 * inet/herrno.c: Likewise.
11537 * malloc/arena.c: Likewise.
11538 * malloc/hooks.c: Likewise.
11539 * malloc/malloc.c: Likewise.
11540 * resolv/res-state.c: Likewise.
11541 * resolv/res_libc.c: Likewise.
11542 * sysdeps/i386/dl-machine.h: Likewise.
11543 * sysdeps/ia64/dl-machine.h: Likewise.
11544 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
11545 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11546 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
11547 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
11548 * sysdeps/sh/dl-machine.h: Likewise.
11549 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11550 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11551 * sysdeps/unix/i386/sysdep.S: Likewise.
11552 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11553 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
11554 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
11555 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11556 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
11557 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11558 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11559 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11560 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11561 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11562 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11563 * sysdeps/x86_64/dl-machine.h: Likewise.
11564 * tls.make.c: Likewise.
11566 * configure.in: Remove --with-__thread option. Make tests for
11567 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
11568 tls_model attribute fail if no support is available. Remove
11570 * Makeconfig: Adjust for dropped configure option. All features are
11572 * Makerules: Likewise.
11573 * Versions.def: Likewise.
11574 * argp/argp-fmtstream.c: Likewise.
11575 * argp/argp-fmtstream.h: Likewise.
11576 * argp/argp-help.c: Likewise.
11577 * assert/assert.c: Likewise.
11578 * config.h.in: Likewise.
11579 * config.make.in: Likewise.
11580 * configure: Likewise.
11581 * configure.in: Likewise.
11582 * csu/Versions: Likewise.
11583 * csu/init.c: Likewise.
11584 * elf/tst-audit2.c: Likewise.
11585 * elf/tst-tls10.c: Likewise.
11586 * elf/tst-tls10.h: Likewise.
11587 * elf/tst-tls11.c: Likewise.
11588 * elf/tst-tls12.c: Likewise.
11589 * elf/tst-tls14.c: Likewise.
11590 * elf/tst-tlsmod11.c: Likewise.
11591 * elf/tst-tlsmod12.c: Likewise.
11592 * elf/tst-tlsmod13.c: Likewise.
11593 * elf/tst-tlsmod13a.c: Likewise.
11594 * elf/tst-tlsmod14a.c: Likewise.
11595 * elf/tst-tlsmod15b.c: Likewise.
11596 * elf/tst-tlsmod16a.c: Likewise.
11597 * elf/tst-tlsmod16b.c: Likewise.
11598 * elf/tst-tlsmod7.c: Likewise.
11599 * elf/tst-tlsmod8.c: Likewise.
11600 * elf/tst-tlsmod9.c: Likewise.
11601 * gmon/gmon.c: Likewise.
11602 * grp/fgetgrent_r.c: Likewise.
11603 * grp/putgrent.c: Likewise.
11604 * hurd/fopenport.c: Likewise.
11605 * include/libc-symbols.h: Likewise.
11606 * include/tls.h: Likewise.
11607 * intl/gettextP.h: Likewise.
11608 * intl/loadinfo.h: Likewise.
11609 * locale/global-locale.c: Likewise.
11610 * locale/localeinfo.h: Likewise.
11611 * mach/devstream.c: Likewise.
11612 * malloc/arena.c: Likewise.
11613 * malloc/set-freeres.c: Likewise.
11614 * misc/err.c: Likewise.
11615 * misc/getttyent.c: Likewise.
11616 * misc/mntent_r.c: Likewise.
11617 * posix/getopt.c: Likewise.
11618 * posix/wordexp.c: Likewise.
11619 * pwd/fgetpwent_r.c: Likewise.
11620 * resolv/Versions: Likewise.
11621 * resolv/res_hconf.c: Likewise.
11622 * shadow/fgetspent_r.c: Likewise.
11623 * shadow/putspent.c: Likewise.
11624 * stdio-common/printf_fphex.c: Likewise.
11625 * stdio-common/tmpfile.c: Likewise.
11626 * stdlib/abort.c: Likewise.
11627 * stdlib/fmtmsg.c: Likewise.
11628 * sunrpc/auth_unix.c: Likewise.
11629 * sunrpc/clnt_perr.c: Likewise.
11630 * sunrpc/clnt_tcp.c: Likewise.
11631 * sunrpc/clnt_udp.c: Likewise.
11632 * sunrpc/clnt_unix.c: Likewise.
11633 * sunrpc/openchild.c: Likewise.
11634 * sunrpc/svc_simple.c: Likewise.
11635 * sunrpc/svc_tcp.c: Likewise.
11636 * sunrpc/svc_udp.c: Likewise.
11637 * sunrpc/svc_unix.c: Likewise.
11638 * sunrpc/xdr.c: Likewise.
11639 * sunrpc/xdr_array.c: Likewise.
11640 * sunrpc/xdr_rec.c: Likewise.
11641 * sunrpc/xdr_ref.c: Likewise.
11642 * sunrpc/xdr_stdio.c: Likewise.
11644 2011-09-09 Ulrich Drepper <drepper@gmail.com>
11646 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11648 2011-07-03 Andreas Jaeger <aj@suse.de>
11650 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
11651 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
11652 regenerate with gen-libm-tests.pl.
11654 2010-05-12 Petr Baudis <pasky@suse.cz>
11657 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
11658 around j0() zero points by switching to j1().
11659 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11660 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11661 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11662 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11664 2011-09-09 Ulrich Drepper <drepper@gmail.com>
11666 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
11668 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
11670 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11671 Patch in part by Pavel Roskin <proski@gnu.org>.
11674 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
11676 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
11677 Free memory block if necessary.
11680 * libio/genops.c (INTDEF): For string streams the _lock pointer can
11681 be NULL. Don't lock in this case.
11683 2011-09-09 Roland McGrath <roland@hack.frob.com>
11685 * elf/elf.h (ELFOSABI_GNU): New macro.
11686 (ELFOSABI_LINUX): Define to that.
11688 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
11690 * string/strncat.c (strncat): Undef the symbol in case it has been
11691 defined in bits/string.h.
11693 2011-09-09 Ulrich Drepper <drepper@gmail.com>
11695 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
11697 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
11700 2011-08-17 Andreas Jaeger <aj@suse.de>
11702 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
11704 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
11705 Ian Lance Taylor <iant@google.com>
11707 * math/libm-test.inc (lround_test): New testcase.
11708 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
11710 2011-09-08 Ulrich Drepper <drepper@gmail.com>
11712 * Makefile: Remove support for automatic cvs check-ins.
11713 * Makerules: Likewise.
11714 * config.make.in: Likewise.
11715 * configure.in: Likewise.
11716 * intl/Makefile: Likewise.
11717 * locale/Makefile: Likewise.
11718 * po/Makefile: Likewise.
11719 * posix/Makefile: Likewise.
11720 * sysdeps/gnu/Makefile: Likewise.
11721 * sysdeps/mach/hurd/Makefile: Likewise.
11722 * sysdeps/sparc/sparc32/Makefile: Likewise.
11725 * posix/Makefile (bug-regex32-ENV): Define.
11726 Patch by John Stanley <jpsinthemix@verizon.net>.
11728 * misc/Makefile (headers): Add bits/select2.h.
11729 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
11730 * misc/bits/select2.h: New file.
11731 * include/bits/select2.h: New file.
11732 * debug/Makefile (routines): Add fdelt_chk.
11733 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
11734 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
11736 * debug/fdelt_chk.c: New file.
11738 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
11739 * wcsmbs/test-wmemcmp.c: Likewise.
11740 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
11741 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
11743 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11745 * string/Makefile (strop-tests): Add memcmp.
11746 * string/test-wmemcmp.c: New file.
11747 * string/test-memcmp.c: Add wmemcmp support.
11749 2011-09-08 Roland McGrath <roland@hack.frob.com>
11752 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
11755 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
11756 garbage value in a __mach_port_mod_refs call in the cases of the
11757 task-self and thread-self ports.
11759 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
11761 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
11763 2011-09-08 Andreas Schwab <schwab@redhat.com>
11765 * elf/dl-load.c (lose): Check for non-null L.
11767 2011-09-07 Ulrich Drepper <drepper@gmail.com>
11769 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
11771 * elf/dl-libc.c (dlerror_run): Pass back error code from
11775 * elf/dl-load.c (lose): Free l_origin if it is valid.
11777 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
11779 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
11780 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
11781 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
11782 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
11783 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
11784 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
11786 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11788 * sysdeps/powerpc/fpu/e_hypot.c: New file.
11789 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
11790 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
11791 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
11792 * sysdeps/powerpc/fpu/k_cosf.c: New file.
11793 * sysdeps/powerpc/fpu/k_sinf.c: New file.
11794 * sysdeps/powerpc/fpu/s_cosf.c: New file.
11795 * sysdeps/powerpc/fpu/s_sinf.c: New file.
11796 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
11797 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
11799 2011-08-15 Alan Modra <amodra@gmail.com>
11802 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
11803 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
11804 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
11805 ppc_mcount to static-only-routines.
11806 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
11808 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
11809 __mcount_internal with usual JUMPTARGET. Remove useless nop.
11811 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
11813 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
11814 for finite and infinity parameters.
11816 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
11818 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
11819 and add nop instructions for throughput optimization.
11820 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11822 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
11824 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
11825 aligned copy for power7 with vector-scalar instructions.
11826 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
11828 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
11830 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
11833 2011-09-07 Andreas Schwab <schwab@redhat.com>
11836 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
11839 2011-09-07 Ulrich Drepper <drepper@gmail.com>
11841 * sysdeps/unix/sysv/linux/x86_64/init-first.c
11842 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
11843 syscall wrapper around clock_gettime in __vdso_clock_gettime.
11844 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
11847 2011-09-06 Ulrich Drepper <drepper@gmail.com>
11849 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
11850 Forgot to demangle the pointer.
11852 * sysdeps/i386/sysdep.h: Define atom_text_section.
11853 * sysdeps/x86_64/sysdep.h: Likewise.
11854 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
11855 section with atom_text_section.
11856 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
11857 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
11858 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
11859 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
11860 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
11862 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
11863 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
11864 already be defined. Change to take two parameters and don't assign
11865 result to variable. Adjust all users.
11866 Define INTERNAL_GETTIME if not already defined.
11867 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
11869 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
11870 HAVE_CLOCK_GETTIME_VSYSCALL.
11871 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
11873 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
11874 gettimeofday vsyscall, just use time.
11876 2011-09-06 Andreas Schwab <schwab@redhat.com>
11878 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
11881 2011-09-06 Ulrich Drepper <drepper@gmail.com>
11883 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
11885 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
11887 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
11888 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
11889 syscall if possible.
11891 2011-09-05 Ulrich Drepper <drepper@gmail.com>
11893 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
11894 e_ident. Don't pass to find_mapsXX.
11895 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
11897 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11899 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11900 strchr-sse2-no-bsf strrchr-sse2-no-bsf
11901 * sysdeps/x86_64/multiarch/strchr.S: Update.
11902 Check bit_slow_BSF bit.
11903 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11904 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
11905 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
11907 2011-09-05 Ulrich Drepper <drepper@gmail.com>
11910 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
11912 (tryshell): Define.
11913 (__spawni): Change last parameter to be flag. Test
11914 SPAWN_XFLAGS_USE_PATH flag to use path or not.
11915 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
11916 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
11917 * posix/spawni.c: Likewise.
11918 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
11919 * posix/spawnp.c: Likewise. Change normal version to use
11920 SPAWN_XFLAGS_USE_PATH.
11921 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
11922 SPAWN_XFLAGS_TRY_SHELL.
11925 * posix/glob.h: Remove gcc 1.x support.
11928 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
11930 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11932 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11933 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
11935 * sysdeps/i386/i686/multiarch/strchr.S: New file.
11936 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
11937 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
11938 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
11939 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
11940 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
11942 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11944 * sysdeps/x86_64/wcscmp.S: New file.
11946 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
11947 wcscmp-c wcscmp-sse2
11948 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
11949 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
11950 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
11951 * wcsmbs/wcscmp.c: Allow renaming.
11953 2011-09-05 David S. Miller <davem@davemloft.net>
11955 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
11956 stack slot, rather than the struct return pointer slot.
11957 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
11958 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
11959 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
11960 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
11962 2011-09-05 Ulrich Drepper <drepper@gmail.com>
11964 * po/ja.po: Update from translation team.
11967 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
11968 kernel in 64-bit binaries.
11970 2011-09-01 David S. Miller <davem@davemloft.net>
11972 * elf/elf.h (HWCAP_SPARC_*): Move to..
11973 * sysdeps/sparc/sysdep.h: this new file and add new values.
11974 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
11975 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
11976 _DL_HWCAP_COUNT to 24.
11977 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
11979 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
11980 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
11981 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
11982 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
11983 instead of magic constants.
11984 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11986 2011-08-31 David S. Miller <davem@davemloft.net>
11988 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
11989 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
11990 Reimplement to do errno handling inline.
11991 (SYSCALL_ERROR_HANDLER): New macro.
11992 (__SYSCALL_STRING): Do not do errno handling in asm.
11993 (__CLONE_SYSCALL_STRING): Delete.
11994 (__INTERNAL_SYSCALL_STRING): Delete.
11995 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
11996 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
11997 (PSEUDO): Reimplement to do errno handling inline.
11998 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
11999 (SYSCALL_ERROR_HANDLER): New macro.
12000 (__SYSCALL_STRING): Do not do errno handling in asm.
12001 (__CLONE_SYSCALL_STRING): Delete.
12002 (__INTERNAL_SYSCALL_STRING): Delete.
12003 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
12004 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
12006 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
12007 (inline_syscall*): Add 'err' argument.
12008 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
12009 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
12010 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
12011 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
12013 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
12014 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
12016 2011-08-30 Andreas Schwab <schwab@redhat.com>
12018 * elf/rtld.c (dl_main): Relocate objects in dependency order.
12020 2011-08-29 Jiri Olsa <jolsa@redhat.com>
12022 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
12025 2011-08-24 David S. Miller <davem@davemloft.net>
12027 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
12029 2011-08-24 Andreas Schwab <schwab@redhat.com>
12031 * elf/Makefile: Add rules to build and run unload8 test.
12032 * elf/unload8.c: New file.
12033 * elf/unload8mod1.c: New file.
12034 * elf/unload8mod1x.c: New file.
12035 * elf/unload8mod2.c: New file.
12036 * elf/unload8mod3.c: New file.
12038 * elf/dl-close.c (_dl_close_worker): Reset private search list if
12041 2011-08-23 David S. Miller <davem@davemloft.net>
12043 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
12044 subtract stack bias.
12045 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
12046 %sp not %fp in calculations.
12047 (_JMPBUF_UNWINDS_ADJ): Likewise.
12049 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
12050 (aio_suspend): Call it to force an exception region around the
12051 AIO_MISC_WAIT() invocation.
12053 2011-08-23 Andreas Schwab <schwab@redhat.com>
12055 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
12058 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
12060 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
12062 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
12063 and <dl-machine.h>.
12064 (Elf64_FuncDesc): Remove.
12066 2011-08-22 David S. Miller <davem@davemloft.net>
12068 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
12069 sigaltstack check, add missing cfi directives.
12070 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
12071 missing cfi directives, and sigaltstack handling.
12073 2011-08-16 Andreas Schwab <schwab@redhat.com>
12076 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
12077 object is seen twice.
12078 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12080 * elf/Makefile (distribute): Add tst-initorder2.c.
12081 (tests): Add tst-initorder2.
12082 (modules-names): Add tst-initorder2a tst-initorder2b
12083 tst-initorder2c tst-initorder2d. Add rules to build them.
12084 ($(objpfx)tst-initorder2.out): New rule.
12085 * elf/tst-initorder2.c: New file.
12086 * elf/tst-initorder2.exp: New file.
12088 2011-08-22 Andreas Schwab <schwab@redhat.com>
12090 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
12092 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
12093 dependencies back to end of function.
12095 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
12096 $(elfobjdir)/ld.so.
12098 2011-08-21 Ulrich Drepper <drepper@gmail.com>
12100 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
12101 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
12102 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
12103 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
12104 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
12105 of __vdso_gettimeofday.
12106 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
12107 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
12109 (_libc_vdso_platform_setup): Remove initialization of
12110 __vdso_gettimeofday and __vdso_time.
12112 2011-08-20 Ulrich Drepper <drepper@gmail.com>
12114 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
12115 and fgetc_unlocked.
12116 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
12119 * elf/dl-open.c (add_to_global): Report additions to the global scope
12120 for LD_DEBUG=scopes.
12121 (dl_open_worker): Also print scope of newly loaded dependencies.
12122 (_dl_show_scope): Indicate if there is no scope.
12125 * stdio-common/Makefile (tests): Add bug24.
12126 * stdio-common/bug24.c: New file.
12128 2011-08-19 Andreas Jaeger <aj@suse.de>
12131 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
12132 non-existant file when using close-on-exec mode.
12134 2011-08-20 Ulrich Drepper <drepper@gmail.com>
12136 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
12137 the very first instruction.
12139 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
12140 the CFI state in the end.
12141 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
12142 inclusion of dl-trampoline.h.
12143 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
12145 2011-08-19 Andreas Schwab <schwab@redhat.com>
12147 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
12148 expectations for long double.
12150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
12151 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
12153 2011-08-14 David S. Miller <davem@davemloft.net>
12155 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
12156 artificual limit depends upon the system page size.
12158 2011-08-17 Ulrich Drepper <drepper@gmail.com>
12160 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
12161 * resolv/Makefile: Define CFLAGS-libresolv.
12163 2011-08-17 Andreas Schwab <schwab@redhat.com>
12165 * nss/makedb.c (compute_tables): Make variables used in nested
12168 2011-08-17 Ulrich Drepper <drepper@gmail.com>
12170 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
12171 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
12172 if buffer was too small.
12174 * elf/pldd.c (main): Attach to all threads in the process.
12175 Rewrite /proc handling to use *at functions.
12177 2011-08-16 Ulrich Drepper <drepper@gmail.com>
12179 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
12180 specifies first scope to show.
12181 (dl_open_worker): Update callers. Move printing scope of new
12182 object to before the relocation.
12183 * elf/rtld.c (dl_main): Update _dl_show_scope call.
12184 * sysdeps/generic/ldsodefs.h: Update declaration.
12186 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
12187 string for the scope number.
12189 2011-08-14 Ulrich Drepper <drepper@gmail.com>
12191 * nscd/servicescache.c (cache_addserv): Make sure written is always
12194 2011-08-14 Roland McGrath <roland@hack.frob.com>
12196 * sysdeps/i386/i486/bits/atomic.h
12197 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
12198 statement expression, so as to suppress "set but not used" warning.
12199 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
12201 * string/strncat.c (STRNCAT): Use prototype definition.
12203 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
12204 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
12206 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
12207 (localedef-modules): Add localedef.
12208 (locale-modules): Add locale.
12210 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
12211 * elf/rtld.c (dl_main): Invert order of assignment in last change,
12212 to avoid a warning.
12214 2011-08-14 David S. Miller <davem@davemloft.net>
12216 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
12217 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
12219 2011-08-13 Ulrich Drepper <drepper@gmail.com>
12221 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
12222 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
12223 * elf/rtld.c (dl_main): Set l_name of vDSO.
12224 Call _dl_show_scope when DL_DEBUG_SCOPES.
12225 (process_dl_debug): Recognize scopes flag and also set it for all.
12226 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
12227 Declare _dl_show_scope.
12229 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
12230 (do_dlopen): Pass caller_dlopen to dl_open.
12231 (__libc_dlopen_mode): Initialize caller_dlopen.
12233 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
12234 of libc. Make tolower call locale-independent. Optimize a bit by
12235 using isdigit instead of isalnum.
12236 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
12238 2011-08-12 Ulrich Drepper <drepper@gmail.com>
12240 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
12241 was a dependency or dynamically loaded.
12243 2011-08-11 Ulrich Drepper <drepper@gmail.com>
12245 * intl/l10nflist.c: Allow architecture-specific pop function.
12246 * sysdeps/x86_64/l10nflist.c: New file.
12248 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
12251 2011-08-10 Andreas Schwab <schwab@redhat.com>
12253 * include/dirent.h: Add libc_hidden_proto for scandirat and
12254 scandirat64. Don't declare __scandirat64.
12255 * dirent/scandirat.c: Add libc_hidden_def.
12256 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
12257 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
12259 2011-08-10 David S. Miller <davem@davemloft.net>
12261 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
12263 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12264 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12265 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12267 2011-08-09 Ulrich Drepper <drepper@gmail.com>
12269 * Versions.def [libc]: Add GLIBC_2.15.
12270 * dirent/Makefile (routines): Add scandirat and scandirat64.
12271 * dirent/Versions [libc]: Export scandirat and scandirat64 for
12273 * dirent/dirent.h: Declare scandirat and scandirat64.
12274 * dirent/scandirat.c: New file.
12275 * dirent/scandirat64.c: New file.
12276 * sysdeps/wordsize-64/scandirat.c: New file.
12277 * sysdeps/wordsize-64/scandirat64.c: New file.
12278 * dirent/opendir.c: Define opendirat.
12279 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
12281 * dirent/scandir64.c: Adjust for scandir.c change.
12282 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
12283 __scandirat64, and __scandir_cancel_handler.
12284 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
12285 additional parameter and use openat instead of open (outside of ld.so).
12286 Add new __opendir as wrapper around __opendirat.
12287 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
12288 here without requiring old scandirat implementation.
12290 2011-08-08 Ulrich Drepper <drepper@gmail.com>
12292 * dirent/scandir.c (cancel_handler): Renamed to
12293 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
12294 defined. Adjust users.
12295 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
12296 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
12298 2011-08-04 Ulrich Drepper <drepper@gmail.com>
12300 * string/test-string.h (IMPL): Use __STRING to expand name and then
12303 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
12306 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12308 * string/Makefile: Update.
12309 (strop-tests): Append strncat.
12310 * string/test-wcscmp.c: New file.
12311 New comprehensive test for wcscmp.
12312 * string/test-strcmp.c: Update.
12313 (WIDE): New define.
12315 2011-07-22 Andreas Schwab <schwab@redhat.com>
12317 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
12320 2011-07-26 Andreas Schwab <schwab@redhat.com>
12322 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12323 encoding to ACE if AI_IDN.
12325 2011-08-01 Jakub Jelinek <jakub@redhat.com>
12327 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
12328 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
12330 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12332 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
12333 Fix overflow bug in strncat.
12334 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
12336 * string/test-strncat.c: Update.
12337 Add new tests for checking overflow bugs.
12339 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12341 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12342 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
12343 * sysdeps/i386/i686/multiarch/strcat.S: New file.
12344 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
12345 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
12346 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
12347 * sysdeps/i386/i686/multiarch/strncat.S: New file.
12348 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
12349 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
12351 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
12352 (USE_AS_STRCAT): Define.
12353 Add strcat and strncat support.
12354 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12356 2011-07-25 Andreas Schwab <schwab@redhat.com>
12358 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
12359 __n bigger than INT_MAX+1.
12360 (__strncmp_g): Likewise.
12362 2011-07-23 Ulrich Drepper <drepper@gmail.com>
12364 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
12365 * libio/stido.h: Likewise.
12367 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
12369 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
12372 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
12373 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12374 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12375 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
12376 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12379 * scripts/test-installation.pl: Don't expect libnss_test1 to be
12382 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
12384 (_dl_x86_64_save_sse): Likewise.
12386 2011-07-22 Ulrich Drepper <drepper@gmail.com>
12388 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
12390 (_dl_x86_64_save_sse): Likewise.
12392 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
12394 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
12396 2011-07-21 Andreas Schwab <schwab@redhat.com>
12398 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
12400 (_dl_x86_64_save_sse): Use correct AVX check.
12402 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12404 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
12405 bug in strncpy/strncat.
12406 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
12408 2011-07-21 Ulrich Drepper <drepper@gmail.com>
12410 * string/tester.c (test_strcat): Add tests for different alignments
12411 of source and destination.
12412 (test_strncat): Likewise.
12414 2011-07-20 Ulrich Drepper <drepper@gmail.com>
12417 * posix/glob.c (glob): Check passed in values before using them in
12418 expressions to avoid some overflows.
12419 (glob_in_dir): Likewise.
12422 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
12423 check for AVX enablement so that we don't crash with old kernels and
12425 * elf/tst-audit4.c: Add same checks here.
12426 * elf/tst-audit6.c: Likewise.
12428 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
12430 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
12432 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
12434 2011-07-20 Ulrich Drepper <drepper@gmail.com>
12436 * po/cs.po: Update from translation team.
12437 * po/bg.po: Likewise.
12439 2011-07-12 Marek Polacek <mpolacek@redhat.com>
12441 * misc/sys/cdefs.h: Add support for const attribute.
12442 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
12443 to gnu_dev_{major,minor,makedev} functions.
12445 2011-07-20 Marek Polacek <mpolacek@redhat.com>
12447 * intl/dcigettext.c (get_output_charset): Add missing bracket.
12449 2011-07-20 Andreas Schwab <schwab@redhat.com>
12451 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
12454 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12456 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
12457 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
12458 register in order to avoid conflicts with the soft frame pointer
12459 being held in r11 when necessary.
12460 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
12461 (INTERNAL_VSYSCALL_NCS): Likewise.
12463 2011-07-14 Marek Polacek <mpolacek@redhat.com>
12465 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
12466 * elf/dl-fini.c (_dl_fini): Adjust caller.
12467 * elf/dl-close.c (_dl_close_worker): Likewise.
12468 * sysdeps/generic/ldsodefs.h: Adjust declaration.
12470 2011-07-15 Marek Polacek <mpolacek@redhat.com>
12472 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
12473 "aux_cache->nlibs < 0".
12475 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
12476 in the reload-count case.
12478 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12480 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12481 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
12482 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
12483 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
12484 * sysdeps/x86_64/multiarch/strcat.S: New file.
12485 * sysdeps/x86_64/multiarch/strncat.S: New file.
12486 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
12487 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
12488 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
12489 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
12490 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
12491 (USE_AS_STRCAT): Define.
12492 Add strcat and strncat support.
12493 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12494 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12495 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
12496 * string/strncat.c: Update.
12497 (USE_AS_STRNCAT): Define.
12498 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12499 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
12501 * sysdeps/x86_64/multiarch/init-arch.h
12502 (bit_Prefer_PMINUB_for_stringop): New.
12503 (index_Prefer_PMINUB_for_stringop): Likewise.
12504 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
12505 bit_Prefer_PMINUB_for_stringop.
12507 2011-07-19 Ulrich Drepper <drepper@gmail.com>
12509 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
12511 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
12512 of casting of buffer.
12513 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
12514 buffer32 and buffer64.
12515 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
12516 writes instead of casting of buffer.
12517 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
12519 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
12522 2011-07-19 Andreas Schwab <schwab@redhat.com>
12524 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
12526 2011-07-19 Ulrich Drepper <drepper@gmail.com>
12528 * nscd/nscd.c (termination_handler): Don't do anything for a database
12529 if it has not yet been initialized.
12531 2011-07-18 Ulrich Drepper <drepper@gmail.com>
12533 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
12535 2011-07-15 Marek Polacek <mpolacek@redhat.com>
12537 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
12539 2011-07-18 Ulrich Drepper <drepper@gmail.com>
12541 * po/nl.po: Update from translation team.
12542 * po/sv.po: Likewise.
12544 2011-07-16 Roland McGrath <roland@hack.frob.com>
12546 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
12547 now disallowed by GCC.
12549 * configure.in (use-default-link): Default to yes if a test -shared
12550 link meets our qualifications.
12551 * configure: Regenerated.
12553 * config.make.in (output-format): New variable.
12554 * configure.in: Check for ld --print-output-format support.
12555 * configure: Regenerated.
12556 * Makerules ($(common-objpfx)format.lds)
12557 [$(output-format) != unknown]: Just use $(output-format),
12558 instead of the linker-script munging.
12560 2011-07-14 Roland McGrath <roland@hack.frob.com>
12562 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
12563 of $(common-objpfx)shlib.lds.
12564 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
12566 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
12567 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
12569 * configure.in (-z relro check): Adjust test code to add a large
12570 writable data section after it.
12571 * configure: Regenerated.
12573 2011-07-11 Roland McGrath <roland@hack.frob.com>
12575 * configure.in (-z relro check): Fix test code to make the variable
12577 * configure: Regenerated.
12579 2011-07-11 Ulrich Drepper <drepper@gmail.com>
12581 * nscd/nscd.h (struct traced_file): Define.
12582 (struct database_dyn): Remove inotify_descr, reset_res, and filename
12583 elements. Add traced_files.
12584 (inotify_fd): Declare.
12585 (register_traced_file): Declare.
12586 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
12587 (inotify_fd): Export.
12588 (resolv_conf_descr): Remove.
12589 (nscd_init): Move inotify descriptor creation to main.
12590 Don't register files for notification here.
12591 (register_traced_file): New function.
12592 (invalidate_cache): Don't use reset_res to determine whether to call
12593 res_init, go through the list of registered files.
12594 (main_loop_poll): The inotify descriptors are now stored in the
12595 structures for the traced files.
12596 (main_loop_epoll): Likewise
12597 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
12598 to __nss_disable_nscd.
12599 * nscd/cache.c (prune_cache): There is no single inotify descriptor
12600 for a database anymore. Check the records for all the registered
12602 * nss/Makefile (libnss_files-routines): Add files-init.
12603 (libnss_db-routines): Add db-init.
12604 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
12605 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
12606 * nss/nss_db/db-init.c: New file.
12607 * nss/nss_files/files-init.c: New file.
12608 * nss/nsswitch.c (nss_load_library): New function. Broken out of
12609 __nss_lookup_function.
12610 (__nss_lookup_function): Call nss_load_library.
12611 (nss_load_all_libraries): New function.
12612 (__nss_disable_nscd): Take parameter with callback function for files
12613 to register. Set is_nscd. Load all the DSOs for the NSS modules
12614 used for the cached services.
12615 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
12616 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
12617 options for features to all the files in nscd.
12619 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
12621 2011-07-10 Roland McGrath <roland@hack.frob.com>
12623 * csu/elf-init.c (__libc_csu_init): Comment typo.
12625 2011-07-09 Ulrich Drepper <drepper@gmail.com>
12627 * po/pl.po: Update from translation team.
12628 * po/ja.po: Likewise.
12629 * po/ru.po: Likewise.
12630 * po/ko.po: Likewise.
12631 * po/fr.po: Likewise.
12633 2011-07-09 Roland McGrath <roland@hack.frob.com>
12635 * configure.in (.ctors/.dtors header and trailer check):
12636 Use an empirical test on a built program.
12637 * configure: Regenerated.
12639 * configure.in (-z relro check): Use an empirical test on a built DSO.
12640 Detect, but do not require, on ia64.
12641 * configure: Regenerated.
12643 * configure.in (READELF): Find it with AC_CHECK_TOOL.
12644 Update tests that use readelf to use $READELF instead.
12645 * configure: Regenerated.
12647 2011-07-08 Ulrich Drepper <drepper@gmail.com>
12649 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
12650 if the result is not used.
12652 2011-07-05 Andreas Jaeger <aj@suse.de>
12655 * stdlib/tst-strtod.c: Add testcase.
12657 2011-07-07 Ulrich Drepper <drepper@gmail.com>
12659 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
12660 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
12661 The latter has a higher limit. Take additional parameter to pass to
12663 (__pathconf): Pass file to __statfs_link_max.
12664 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
12666 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
12670 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
12671 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12673 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
12674 (__statfs_filesize_max): Likewise.
12675 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
12677 2011-07-05 Andreas Jaeger <aj@suse.de>
12679 * resolv/res_comp.c (dn_skipname): Remove unused variable.
12681 2011-07-06 Marek Polacek <mpolacek@redhat.com>
12683 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
12685 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
12688 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
12690 * Makefile (strop-tests): Add strncat.
12691 * string/test-strncat.c: New file.
12693 2011-06-30 Marek Polacek <mpolacek@redhat.com>
12695 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
12697 2011-06-21 Andreas Jaeger <aj@suse.de>
12699 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
12700 Copy rule from iconvdata/Makefile.
12702 2011-07-06 Ulrich Drepper <drepper@gmail.com>
12705 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
12706 but no long options are defined, just return 'W'.
12708 2011-06-22 Marek Polacek <mpolacek@redhat.com>
12711 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
12713 2011-07-06 Ulrich Drepper <drepper@gmail.com>
12715 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
12717 (innetgr): Likewise.
12719 2011-07-05 Roland McGrath <roland@hack.frob.com>
12721 * config.make.in (install_root): Default to $(DESTDIR).
12723 2011-07-05 Ulrich Drepper <drepper@gmail.com>
12725 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
12727 2011-07-02 Roland McGrath <roland@hack.frob.com>
12729 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
12731 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
12732 containing directory rather than embedding absolute directory names.
12734 * scripts/check-local-headers.sh: Rewritten using awk.
12735 Match by word, not by line. Print error messages for matches.
12736 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
12738 * Makerules [shlib-lds-flags empty]:
12739 ($(common-objpfx)libc_pic.opts): New target.
12740 ($(common-objpfx)libc_pic.os.clean): New target.
12741 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
12743 * config.make.in (OBJCOPY): New variable.
12744 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
12745 * configure: Regenerated.
12747 * config.make.in (use-default-link): New variable.
12748 * configure.in (use_default_link): Grok --with-default-link to set it.
12749 * configure: Regenerated.
12750 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
12751 (shlib-lds, shlib-lds-flags): Define to empty.
12753 * Makerules (shlib-lds): New variable.
12754 (shlib-lds-flags): New variable.
12755 (build-shlib, build-moduile, build-module-asneeded): Use it.
12756 ($(common-objpfx)libc.so): Use $(shlib-lds).
12757 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
12758 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
12760 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
12761 DT_FLAGS/DT_FLAGS_1 with zero flags.
12763 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
12764 linker script munging.
12766 2011-07-02 Ulrich Drepper <drepper@gmail.com>
12768 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
12770 * crypt/sha512.c (sha512_process_block): Perform total addition using
12771 128-bit if possible.
12772 (__sha512_finish_ctx): Likewise.
12773 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
12775 * crypt/sha256.c (SWAP64): Define.
12776 (sha256_process_block): Perform total addition using 64-bit if
12778 (__sha256_finish_ctx): Likewise.
12780 2011-07-01 Ulrich Drepper <drepper@gmail.com>
12782 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
12783 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12784 * nscd/hstcache.c (cache_addhst): Likewise.
12785 * nscd/grpcache.c (cache_addgr): Likewise.
12786 * nscd/aicache.c (addhstaiX): Likewise
12787 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
12789 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
12791 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
12792 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12793 * nscd/hstcache.c (cache_addhst): Likewise.
12794 * nscd/grpcache.c (cache_addgr): Likewise.
12795 * nscd/aicache.c (addhstaiX): Likewise
12797 2011-07-01 Andreas Schwab <schwab@redhat.com>
12799 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
12800 domain only when needed.
12802 2011-06-30 Andreas Schwab <schwab@redhat.com>
12804 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
12805 is always restored.
12807 2011-06-29 Ulrich Drepper <drepper@gmail.com>
12809 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
12810 are re-adding the entry.
12811 * nscd/servicescache.c (cache_addserv): Likewise.
12813 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
12815 * sysdeps/generic/dl-irel.h: fix protection against multiple
12817 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
12819 2011-06-28 Ulrich Drepper <drepper@gmail.com>
12822 * malloc/memusage.sh: Fix quoting in message.
12823 * debug/xtrace.sh: Likewise.
12825 * configure.in: Remove support for --experimental-malloc option, make
12827 * config.make.in: Likewise.
12828 * malloc/Makefile: Likewise.
12830 2011-06-27 Andreas Schwab <schwab@redhat.com>
12832 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
12833 two-byte characters.
12835 2011-06-27 Roland McGrath <roland@hack.frob.com>
12837 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
12838 AC_CACHE_CHECK invocation.
12839 * configure: Regenerated.
12841 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
12843 2011-06-27 Ulrich Drepper <drepper@gmail.com>
12846 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
12847 bit from old_res_options.
12849 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
12851 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
12852 value type for setfct.
12854 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
12856 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
12857 __gettimeofday instead of gettimeofday.
12859 2011-06-26 Ulrich Drepper <drepper@gmail.com>
12861 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
12863 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
12865 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
12867 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
12870 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
12872 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12873 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
12874 strcpy-sse2-unaligned strncpy-sse2-unaligned
12875 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
12876 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
12877 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
12878 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
12879 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
12880 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
12881 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
12882 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
12883 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
12884 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
12885 (STRCPY): Support SSE2 and SSSE3 versions.
12887 2011-06-24 Ulrich Drepper <drepper@gmail.com>
12890 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
12891 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
12892 kernels which artificially limit size of requests.
12894 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
12896 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12897 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
12898 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
12899 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
12900 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
12901 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
12902 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
12903 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
12904 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
12905 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
12906 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
12907 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
12908 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
12909 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
12910 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
12911 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12912 Enable unaligned load optimization for Intel Core i3, i5 and i7
12914 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
12916 (index_Fast_Unaligned_Load): Define.
12917 (HAS_FAST_UNALIGNED_LOAD): Define.
12919 2011-06-23 Marek Polacek <mpolacek@redhat.com>
12921 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
12923 2011-06-22 Ulrich Drepper <drepper@gmail.com>
12926 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
12927 until it is clear that the information is realy needed.
12928 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
12930 2011-06-22 Andreas Schwab <schwab@redhat.com>
12932 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
12934 2011-06-22 Ulrich Drepper <drepper@gmail.com>
12936 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
12937 /sys/devices/system/cpu/online if it is usable.
12939 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
12940 reading the information from the /proc filesystem to once a second.
12942 2011-06-21 Andreas Jaeger <aj@suse.de>
12944 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
12945 NULL after inclusion of kernel headers.
12947 2011-06-21 Ulrich Drepper <drepper@gmail.com>
12949 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
12950 calls to internal_setent.
12953 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
12954 addresses using gethostbyname4_r ignore IPv4 addresses.
12956 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
12957 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
12959 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
12961 2011-06-20 David S. Miller <davem@davemloft.net>
12963 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
12965 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
12967 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
12968 (elf_irel): Use it.
12969 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
12970 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
12971 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
12972 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
12973 * sysdeps/x86_64/dl-irel.h: Likewise.
12975 * elf/dl-runtime.c: Use elf_ifunc_invoke.
12976 * elf/dl-sym.c: Likewise.
12978 2011-06-15 Ulrich Drepper <drepper@gmail.com>
12980 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
12981 need to dereference resplen2.
12983 2011-06-14 Andreas Schwab <schwab@redhat.com>
12985 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
12987 2011-06-15 Ulrich Drepper <drepper@gmail.com>
12989 * Makeconfig: Define vardbdir and inst_vardbdir.
12990 * nss/Makefile: Add rules to install db-Makefile.
12992 * nss/nss_db/db-XXX.c: Cleanup.
12994 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
12995 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
12997 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
12998 * nss/makedb.c: Implement -g option to specify that value strings
12999 are generated and should not be added to table iterated over for
13001 * nss/nss_db/db-initgroups.c: New file.
13003 * nss/getent.c: Add support for initgroups lookups through getgrouplist
13006 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
13007 (internal_getgrouplist): Adjust to name change.
13008 Update use_initgroups_entry if this is not the first call.
13009 * nss/databases.def: Add initgroups entry.
13011 * nss/makedb.c (compute_tables): Check result of multiple hash table
13012 sizes to minimize maximum chain length.
13014 2011-06-14 Ulrich Drepper <drepper@gmail.com>
13016 * Versions.def: Add entry for libnss_db.
13017 * shlib-versions: Likewise.
13018 * nss/Makefile: Add rules to build libnss_db.
13019 * nss/Versions: Add libnss_db information. Organize libnss_files
13021 * nss/db-Makefile: Add gshadow support. Change rules for the new
13022 makedb progra. Some minor improvements to generate smaller files.
13023 * nss/nss_db/nss_db.h: Move NSS database header data structures to
13025 * nss/makedb.c: ...here.
13026 Improve database format to be smaller and require less memory at
13028 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
13030 * nss/nss_db/db-netgrp.c: Likewise.
13031 * nss/nss_db/db-open.c: Likewise.
13032 * nss/nss_files/flies-XXX.x: Adjust comments.
13033 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
13034 * nss/nss_files/files-grp.c: Likewise.
13035 * nss/nss_files/files-hosts.c: Likewise.
13036 * nss/nss_files/files-network.c: Likewise.
13037 * nss/nss_files/files-proto.c: Likewise.
13038 * nss/nss_files/files-pwd.c: Likewise.
13039 * nss/nss_files/files-rpc.c: Likewise.
13040 * nss/nss_files/files-service.c: Likewise.
13041 * nss/nss_files/files-sgrp.c: Likewise.
13042 * nss/nss_files/files-spwd.c: Likewise.
13043 * nss/nss_db/db-alias.c: Removed.
13044 * nss/nss_db/dummy-db.h: Removed.
13046 2011-06-02 Ulrich Drepper <drepper@gmail.com>
13048 * nss/makedb.c: Rewritten to not use database library.
13049 * nss/Makefile: Update to build new makedb program.
13051 2011-06-14 Andreas Jaeger <aj@suse.de>
13053 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
13054 memset declaration.
13056 2011-06-10 Andreas Schwab <schwab@redhat.com>
13058 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
13061 2011-06-10 Roland McGrath <roland@hack.frob.com>
13063 * Makerules (shlib.lds): Fail if the linker script comes out empty.
13064 * elf/Makefile ($(objpfx)ld.so): Likewise.
13066 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
13067 Don't list ld.so twice in dependencies.
13069 * posix/bug-regex31.c: Include <stdlib.h>.
13071 * nscd/hstcache.c (cache_addhst): Remove unused variable.
13073 * nis/nss_compat/compat-spwd.c
13074 (getspent_next_nss_netgr): Remove unused variable.
13075 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
13077 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
13078 nonmembers" output to use the right array.
13080 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
13082 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
13084 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
13085 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
13086 * catgets/gencat.c (read_input_file): Likewise.
13087 * locale/programs/locarchive.c (enlarge_archive): Likewise.
13089 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
13090 variable definition inside #if's controlling its use.
13092 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
13094 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
13096 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
13098 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
13101 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
13103 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
13104 * configure: Regenerated.
13106 * Makerules: Revert last change.
13107 * elf/Makefile: Likewise.
13109 2011-06-09 Roland McGrath <roland@hack.frob.com>
13111 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
13112 * elf/Makefile ($(objpfx)librtld.os): Likewise.
13113 (reloc-link): Likewise.
13115 2011-06-09 Ulrich Drepper <drepper@gmail.com>
13117 * elf/Makefile: Add rules to build pldd.
13118 * elf/pldd.c: New file.
13119 * elf/pldd-xx.c: New file.
13121 2011-06-07 Ulrich Drepper <drepper@gmail.com>
13123 * version.h: Update for 2.15 development version.
13125 2011-06-07 David S. Miller <davem@davemloft.net>
13127 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
13129 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
13130 elf_machine_lazy_rel): Likewise.
13131 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
13132 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
13133 elf_machine_lazy_rel): Likewise.
13134 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
13135 dl_hwcap via passed in argument.
13136 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
13139 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13141 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
13143 2011-06-06 Roland McGrath <roland@hack.frob.com>
13146 * manual/fdl-1.1.texi: New file, verbatim from:
13147 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
13148 * manual/lgpl-2.1.texi: New file, verbatim from:
13149 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
13150 * manual/Makefile (licenses): New variable, list those new file names.
13152 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
13154 * manual/fdl.texi: File removed.
13155 * manual/lesser.texi: File removed.
13156 * manual/libc.texinfo (Copying, Documentation License):
13157 Use new @include file names, put @appendix directive before @include.
13159 2011-06-04 Jakub Jelinek <jakub@redhat.com>
13162 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
13163 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
13164 (mq_open): Add __NTH.
13166 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
13168 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13169 Assume Intel Core i3/i5/i7 processor if AVX is available.
13171 2011-05-31 Ulrich Drepper <drepper@gmail.com>
13173 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13176 2011-05-31 Andreas Schwab <schwab@redhat.com>
13178 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
13179 memory. Use alloca_account. Fix memory leak when retrying.
13181 2011-05-31 Ulrich Drepper <drepper@gmail.com>
13183 * version.h (RELEASE): Bump for 2.14 release.
13184 * include/features.h (__GLIBC_MINOR__): Bump to 14.
13186 * config.make.in (RANLIB): Remove entry.
13188 2011-05-30 Ulrich Drepper <drepper@gmail.com>
13190 * po/Makefile (po-sed-cmd): Add ksh to extensions.
13191 (libc.pot): Work around missing support for .ksh extension in xgettext.
13194 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
13195 if both request failed.
13196 (send_dg): In case of server errors clear resplen or *resplen2.
13199 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
13200 when there are multiple maps.
13201 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
13202 (_dl_fini): Remove test here.
13204 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
13206 2011-05-29 Ulrich Drepper <drepper@gmail.com>
13209 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
13210 bit from old_res_options.
13211 (gaih_inet): Likewise.
13214 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
13217 * resolv/res_init.c (res_setoptions): Make the code more compact.
13220 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
13224 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
13226 * malloc/malloc.h: Mark malloc hook variables as deprecated.
13229 * malloc/malloc.h: Declare malloc hook variables as volatile.
13231 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
13235 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
13236 raise in the comment.
13237 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
13238 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13239 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
13241 2011-05-28 Ulrich Drepper <drepper@gmail.com>
13244 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
13245 grow the buffers more if it already has to be sufficient.
13246 (build_wcs_upper_buffer): Likewise.
13247 * posix/regexec.c (check_matching): Likewise.
13248 (clean_state_log_if_needed): Likewise.
13249 (extend_buffers): Don't enlarge buffers beyond size of the input
13251 Patches mostly by Emil Wojak <emil@wojak.eu>.
13252 * posix/bug-regex32.c: New file.
13253 * posix/Makefile (tests): Add bug-regex32.
13255 * locale/findlocale.c (_nl_find_locale): Return right away if
13256 _nl_explode_name failed.
13257 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
13259 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
13261 * debug/xtrace.sh: Unify messages.
13262 * malloc/memusage.sh: Likewise.
13265 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
13266 time symbol from vDSO. Substitute with vsyscall if not available.
13267 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
13270 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
13271 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
13272 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
13273 Add sendmmsg and internal_sendmmsg.
13274 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
13275 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
13276 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
13278 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
13279 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
13280 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
13282 2011-05-27 Ulrich Drepper <drepper@gmail.com>
13285 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
13286 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
13288 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
13292 * iconvdata/Makefile (tests): Add bug-iconv9.
13293 * iconvdata/bug-iconv9.c: New file.
13295 2011-05-27 Andreas Schwab <schwab@redhat.com>
13298 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
13300 2011-05-25 Jakub Jelinek <jakub@redhat.com>
13302 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13303 (struct user_regs_struct): Change intcs field back to cs.
13305 2011-05-25 Ulrich Drepper <drepper@gmail.com>
13307 * po/ja.po: Update from translation team.
13309 2011-05-23 Ulrich Drepper <drepper@gmail.com>
13312 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
13313 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
13315 2011-05-20 Andreas Schwab <schwab@redhat.com>
13317 * stdlib/longlong.h: Update from GCC.
13319 2011-05-23 Andreas Schwab <schwab@redhat.com>
13321 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
13323 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
13324 Add parameter name.
13325 (__sysconf): Pass it down.
13327 2011-05-22 Ulrich Drepper <drepper@gmail.com>
13330 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
13332 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
13333 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
13334 add in in __libc_use_alloca calls. Adjust callers.
13335 (glob): Use malloc in some situations.
13337 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
13338 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
13341 2011-05-21 Ulrich Drepper <drepper@gmail.com>
13343 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
13344 and CLOCK_BOOTTIME_ALARM.
13347 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
13350 * string/_strerror.c (__strerror_r): Print negative errors as signed
13354 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
13355 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
13356 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
13358 * configure.in: Fix typo in redirection and correct removal of test
13359 files in two cases.
13362 * locale/setlocale.c (new_composite_name): Fix test to check for
13363 identical name of all categories.
13366 * libio/filedoalloc.c (local_isatty): New function.
13367 (_IO_file_doallocate): Use local_isatty.
13368 * stdio-common/perror.c (perror): In case a new stream is used
13369 forward the stream error.
13370 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
13373 2011-05-20 Ulrich Drepper <drepper@gmail.com>
13376 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
13378 * include/alloca.h (extend_alloca_account): Define.
13381 * posix/regex.h: Fix comments with documentation of user-accessible
13382 fields after compilation and describe correct free'ing of pattern
13383 after re_compile_pattern.
13384 Patch by Reuben Thomas <rrt@sc3d.org>.
13386 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
13388 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
13389 and -mno-altivec to prevent the compiler from using Altivec and/or
13390 VSX instructions when the corresponding registers are not available.
13392 2011-05-19 Andreas Schwab <schwab@redhat.com>
13394 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
13396 2011-05-19 Ulrich Drepper <drepper@gmail.com>
13398 * libio/freopen.c (freopen): Use __dup2, not dup2.
13399 * libio/freopen64.c (freopen64): Likewise.
13401 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
13404 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
13405 * math/Makefile (tests): Add test-powl.
13406 (CFLAGS-test-powl.c): Define.
13407 * math/test-powl.c: New file.
13409 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
13411 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
13413 2011-05-17 Ulrich Drepper <drepper@gmail.com>
13416 * iconvdata/gb18030.c: Update to GB18020-2005.
13418 2011-05-16 Ulrich Drepper <drepper@gmail.com>
13420 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
13421 RE_SYNTAX_POSIX_AWK): Update to match recent development.
13422 Patch by Aharon Robbins <arnold@skeeve.com>.
13425 * stdlib/putenv.c (putenv): Don't always create copy of the variable
13429 * misc/pselect.c (__pselect): Handle timeout value errors hidden
13430 through underflows.
13433 * misc/error.c (error_at_line): Ensure file_name and old_file_name
13434 point to strings before performing equality test for error_one_per_line
13438 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
13441 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13442 (struct user_fpregs_struct): Avoid __uint*_t types.
13445 * malloc/mtrace.c (tr_where): Add additional parameter to point to
13446 symbol info. Use it instead of calling _dl_addr locally.
13447 (lock_and_info): New function.
13448 (tr_freehook): Call lock_and_info and pass symbol info as additional
13449 parameter to tr_where.
13450 (tr_mallochook): Likewise.
13451 (tr_reallochook): Likewise.
13452 (tr_memalignhook): Likewise.
13454 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
13455 used and couldn't be at all thread-safe.
13457 2011-05-15 Ulrich Drepper <drepper@gmail.com>
13459 * libio/freopen.c (freopen): Don't close old file descriptor
13460 before the new one is opened. Instead dup the new file descriptor
13461 to the old one after the new stream is created.
13462 * libio/freopen64.c (freopen64): Likewise.
13463 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
13464 * libio/fileops.c (_IO_new_file_close_it): Handle new
13465 _IO_FLAGS2_NOCLOSE flag.
13466 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
13467 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
13468 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
13469 _IO_FLAGS2_NOCLOSE flag.
13470 * include/unistd.h: Add hidden_proto for dup3.
13471 Define __have_dup3.
13472 * io/dup3.c: Define hidden symbol.
13473 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
13476 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
13477 when an incomplete long option is used.
13478 * posix/tst-getopt_long1.c: New file.
13479 * posix/Makefile (tests): Add tst-getopt_long1.
13482 * scripts/config.guess: Update from autoconf-2.68.
13483 * scripts/config.sub: Likewise.
13486 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
13488 (has_cpuclock): ...this. New function.
13489 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
13490 macro here based on has_cpuclock code.
13493 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13494 First byte (not low byte) is now always NUL.
13495 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
13497 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13498 Use non-cancelable interfaces.
13501 * locale/iso-639.def: Add entry for Sorani.
13504 * include/stdlib.h: Move include protection to the right place.
13505 Define abort_msg_s. Declare __abort_msg with it.
13506 * stdlib/abort.c (__abort_msg): Adjust type.
13507 * assert/assert.c (__assert_fail_base): New function. Majority
13508 of code from __assert_fail. Allocate memory for __abort_msg with
13510 (__assert_fail): Now call __assert_fail_base.
13511 * assert/assert-perr.c: Remove bulk of implementation. Use
13512 __assert_fail_base.
13513 * include/assert.hL Declare __assert_fail_base.
13514 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
13516 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
13518 2011-05-14 Ulrich Drepper <drepper@gmail.com>
13522 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
13523 until all modules are registered in the DTV.
13524 * elf/Makefile: Add rules to build and run tst-tls19.
13525 * elf/tst-tls19.c: New file.
13526 * elf/tst-tls19mod1.c: New file.
13527 * elf/tst-tls19mod2.c: New file.
13528 * elf/tst-tls19mod3.c: New file.
13529 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
13532 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
13536 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
13537 two-byte sequence errors.
13538 * iconvdata/Makefile (tests): Add bug-iconv8.
13539 * iconvdata/bug-iconv8.c: New file.
13542 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
13545 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
13548 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
13549 (dummy_getcfa): New function.
13550 (init): Get _Unwind_GetCFA address, use dummy if not found.
13551 (backtrace_helper): In recursion check, also check whether CFA changes.
13552 (__backtrace): Completely initialize arg.
13554 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
13555 storing incomplete byte sequence in state object. Avoid testing for
13556 guaranteed too small input if we know there is enough data available.
13558 2011-05-11 Andreas Schwab <schwab@redhat.com>
13560 * Makeconfig (+link-pie): Indent.
13561 * Rules (binaries-pie): Define if $(have-fpie) and
13563 (binaries-shared): Also filter out $(binaries-pie).
13564 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
13565 * nscd/Makefile (others-pie): Add nscd.
13566 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
13567 ($(objpfx)nscd): Remove command override.
13568 * login/Makefile (others-pie): Add pt_chown.
13569 ($(objpfx)pt_chown): Remove command override.
13570 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
13571 remove command overrides.
13573 2011-05-13 Ulrich Drepper <drepper@gmail.com>
13575 * libio/tst_putwc.c: Fix error messages.
13578 * libio/fileops.c (_IO_new_file_close_it): Always flush when
13579 currently writing and seek to current position when not.
13580 * libio/Makefile (tests): Add bug-fclose1.
13581 * libio/bug-fclose1.c: New file.
13583 2011-05-12 Ulrich Drepper <drepper@gmail.com>
13586 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
13587 don't set DF_1_NODELETE here.
13588 (do_lookup_x): When entering new entry test for copy relocation
13589 and if necessary set DF_1_NODELETE flag.
13590 * elf/tst-unique4.cc: New file.
13591 * elf/tst-unique4.h: New file.
13592 * elf/tst-unique4lib.cc: New file.
13593 * elf/Makefile: Add rules to build and run tst-unique4.
13594 Patch by Piotr Bury <pbury@goahead.com>.
13596 2011-05-11 Ulrich Drepper <drepper@gmail.com>
13599 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
13602 * misc/mntent_r.c (addmntent): Flush the stream after the output
13605 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
13606 (is_trusted_path_normalize): Skip initial colon. Append slash
13607 to empty buffer. Duplicate is_trusted_path code but allow
13608 constructed patch to be prefix.
13609 (is_dst): Allow $ORIGIN followed by /.
13610 (_dl_dst_substitute): Correct clearing of check_for_trusted.
13611 Correct testing of result of is_trusted_path_normalize
13612 (decompose_rpath): Fix warning.
13614 2011-05-10 Ulrich Drepper <drepper@gmail.com>
13617 * grp/initgroups.c (internal_getgrouplist): When we found the service
13618 list through the initgroups entry in nsswitch.conf do not always
13619 continue on a successful lookup. Don't always use the
13620 __nss_group_database value if it is set.
13621 * nss/nsswitch.conf (initgroups): Change action for successful db
13622 lookup to continue for compatibility.
13624 2011-05-09 Ulrich Drepper <drepper@gmail.com>
13627 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
13629 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
13631 * iconvdata/tst-tables.sh: Likewise.
13632 * iconvdata/cp770.c: New file.
13633 * iconvdata/cp771.c: New file.
13634 * iconvdata/cp772.c: New file.
13635 * iconvdata/cp773.c: New file.
13636 * iconvdata/cp774.c: New file.
13637 * iconvdata/testdata/CP770: New file.
13638 * iconvdata/testdata/CP770..UTF8: New file.
13639 * iconvdata/testdata/CP771: New file.
13640 * iconvdata/testdata/CP771..UTF8: New file.
13641 * iconvdata/testdata/CP772: New file.
13642 * iconvdata/testdata/CP772..UTF8: New file.
13643 * iconvdata/testdata/CP773: New file.
13644 * iconvdata/testdata/CP773..UTF8: New file.
13645 * iconvdata/testdata/CP774: New file.
13646 * iconvdata/testdata/CP774..UTF8: New file.
13648 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
13650 * iconvdata/gen-8bit-gap.sh: Likewise.
13651 * iconvdata/gen-8bit.sh: Likewise.
13653 * locale/iso-639.def: Add ary entry.
13656 * locale/C-translit.h.in: Add U20A1 transliteration.
13659 * locale/iso-639.def: Add wae entry.
13660 Patch by Kevin Bortis <bortis@translate-wae.ch>.
13663 * locale/programs/localedef.c (construct_output_path): Use ssize_t
13667 * locale/C-translit.h.in: Add entry for U20B9.
13668 Patch by pravin.d.s@gmail.com.
13670 2011-05-08 Ulrich Drepper <drepper@gmail.com>
13673 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
13674 ENAMETOOLONG use generic getcwd.
13675 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
13676 in rtld. Use *stat64.
13677 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
13678 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
13679 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
13680 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
13681 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
13682 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
13683 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
13684 __fstatat64 macros.
13685 * include/dirent.h: Add libc_hidden_proto for rewinddir.
13686 * dirent/rewinddir.c: Add libc_hidden_def.
13687 * sysdeps/mach/hurd/rewinddir.c: Likewise.
13688 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
13690 * include/dirent.h (__alloc_dir): Add flags parameter.
13691 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
13692 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
13694 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
13695 from fdopendir if O_CLOEXEC is already set.
13697 2011-03-15 Alan Modra <amodra@gmail.com>
13699 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
13700 l_tls_firstbyte_offset non-zero. Save padding offset in
13701 l_tls_firstbyte_offset for later use.
13702 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
13703 freeing static tls block.
13705 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
13707 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
13708 where #ifdef was intended. The intent is to prevent ARG_MAX from
13709 being defined by the kernel headers.
13711 2011-05-07 Ulrich Drepper <drepper@gmail.com>
13714 * resolv/resolv.h: Define RES_NOTLDQUERY.
13715 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
13716 no-tld-query and set RES_NOTLDQUERY.
13717 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
13718 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
13719 modern BIND to search name as TLD unless forbidden.
13721 2011-05-07 Petr Baudis <pasky@suse.cz>
13722 Ulrich Drepper <drepper@gmail.com>
13725 * elf/dl-load.c (fillin_rpath): Move trusted path check...
13726 (is_trusted_path): ...to here.
13727 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
13728 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
13729 using is_trusted_path_normalize() in setuid scripts.
13731 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
13733 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
13734 __BEGIN/__END_DECLS.
13736 2011-05-06 Ulrich Drepper <drepper@gmail.com>
13738 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
13739 NSS_STATUS_NOTFOUND if no record was found.
13741 2011-05-05 Andreas Schwab <schwab@redhat.com>
13743 * sunrpc/Makefile (headers): Add rpc/netdb.h.
13744 (headers-not-in-tirpc): Remove rpc/netdb.h
13745 * resolv/netdb.h: Revert last change.
13747 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13749 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
13750 circular dependency between libgcc.a and libc.a.
13752 2011-05-05 Andreas Schwab <schwab@redhat.com>
13754 * resolv/netdb.h: Don't include <rpc/netdb.h>.
13755 * nis/Makefile: Don't install rpcsvc/*.
13756 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
13757 instead of <rpc/types.h>.
13758 (MAXHOSTNAMELEN): Define.
13760 2011-05-03 Andreas Schwab <schwab@redhat.com>
13762 * elf/ldconfig.c (add_dir): Don't crash on empty path.
13764 2011-04-28 Maciej Babinski <mbabinski@google.com>
13767 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
13768 gethostbyname4_r when IPv6 results are possible.
13770 2011-05-02 Ulrich Drepper <drepper@gmail.com>
13773 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
13774 _PC_PIPE_BUF handling.
13776 2011-04-30 Bruno Haible <bruno@clisp.org>
13779 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
13780 * resolv/netdb.h (getnameinfo): Change type of flags parameter
13782 * inet/getnameinfo.c (getnameinfo): Likewise.
13784 2011-04-29 Ulrich Drepper <drepper@gmail.com>
13786 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
13787 to groups setting in database lookup.
13788 * nss/nsswitch.conf: Add initgroups entry.
13790 2011-04-22 Ulrich Drepper <drepper@gmail.com>
13793 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
13795 Patch by Eric Blake <eblake@redhat.com>.
13797 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
13799 * sunrpc/Makefile (need-export-routines): Add svc_run.
13800 (routines): Remove svc_run.
13801 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
13802 * sunrpc/clnt_perr.c (clnt_perrno): Export.
13803 * sunrpc/svc_run.c (svc_run): Likewise.
13804 * sunrpc/svc_udp.c (svcudp_create): Likewise.
13806 2011-04-21 Ulrich Drepper <drepper@gmail.com>
13808 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
13809 problem in reallocation in last patch.
13811 2011-04-20 Ulrich Drepper <drepper@gmail.com>
13813 * sunrpc/Makefile: Move inclusion of Rules.
13815 2011-04-19 Ulrich Drepper <drepper@gmail.com>
13817 * nss/nss_files/files-initgroups.c: New file.
13818 * nss/Makefile (libnss_files-routines): Add files-initgroups.
13819 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
13820 _nss_files_initgroups_dyn.
13822 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
13824 * elf/elf.h (R_ARM_IRELATIVE): Define.
13826 2011-04-19 Ulrich Drepper <drepper@gmail.com>
13828 * po/ru.po: Update from translation team.
13830 2011-04-17 Ulrich Drepper <drepper@gmail.com>
13832 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
13835 2011-02-06 Mike Frysinger <vapier@gentoo.org>
13838 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
13839 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
13840 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
13841 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13842 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13844 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
13846 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
13848 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13849 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13850 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13852 2011-04-17 Ulrich Drepper <drepper@gmail.com>
13855 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
13857 * stdlib/bug-getcontext.c: New file.
13858 * stdlib/Makefile: Add rules to build and run bug-getcontext.
13860 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13862 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
13863 instructions into .machine "z9-109".
13864 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
13865 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
13867 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13869 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
13870 between environment variables and auxiliary vector.
13872 2011-04-16 Ulrich Drepper <drepper@gmail.com>
13874 * Makefile: Add rules to build linkobj/libc.so.
13875 * include/libc-symbols.h: Define libc_hidden_nolink.
13876 * include/rpc/auth.h: Mark functions which are to be hidden.
13877 * include/rpc/auth_des.h: Likewise.
13878 * include/rpc/auth_unix.h: Likewise.
13879 * include/rpc/clnt.h: Likewise.
13880 * include/rpc/des_crypt.h: Likewise.
13881 * include/rpc/key_prot.h: Likewise.
13882 * include/rpc/pmap_clnt.h: Likewise.
13883 * include/rpc/pmap_prot.h: Likewise.
13884 * include/rpc/pmap_rmt.h: Likewise.
13885 * include/rpc/rpc_msg.h: Likewise.
13886 * include/rpc/svc.h: Likewise.
13887 * include/rpc/svc_auth.h: Likewise.
13888 * include/rpc/xdr.h: Likewise.
13889 * nis/Makefile: Link all DSOs against linkobj/libc.so.
13890 * nss/Makefile: Likewise.
13891 * sunrpc/Makefile: Don't install headers. Build library with normal
13892 entry points. Don't build rpcinfo. Link RPC tests appropriately.
13893 * sunrpc/auth_des.c: Hide exported symbols by default, export some
13894 for the compat linking library. Remove use of INTDEF/INTUSE.
13895 * sunrpc/auth_none.c: Likewise.
13896 * sunrpc/auth_unix.c: Likewise.
13897 * sunrpc/authdes_prot.c: Likewise.
13898 * sunrpc/authuxprot.c: Likewise.
13899 * sunrpc/clnt_gen.c: Likewise.
13900 * sunrpc/clnt_perr.c: Likewise.
13901 * sunrpc/clnt_raw.c: Likewise.
13902 * sunrpc/clnt_simp.c: Likewise.
13903 * sunrpc/clnt_tcp.c: Likewise.
13904 * sunrpc/clnt_udp.c: Likewise.
13905 * sunrpc/clnt_unix.c: Likewise.
13906 * sunrpc/des_crypt.c: Likewise.
13907 * sunrpc/des_soft.c: Likewise.
13908 * sunrpc/get_myaddr.c: Likewise.
13909 * sunrpc/key_call.c: Likewise.
13910 * sunrpc/key_prot.c: Likewise.
13911 * sunrpc/netname.c: Likewise.
13912 * sunrpc/pm_getmaps.c: Likewise.
13913 * sunrpc/pm_getport.c: Likewise.
13914 * sunrpc/pmap_clnt.c: Likewise.
13915 * sunrpc/pmap_prot.c: Likewise.
13916 * sunrpc/pmap_prot2.c: Likewise.
13917 * sunrpc/pmap_rmt.c: Likewise.
13918 * sunrpc/publickey.c: Likewise.
13919 * sunrpc/rpc_cmsg.c: Likewise.
13920 * sunrpc/rpc_common.c: Likewise.
13921 * sunrpc/rpc_dtable.c: Likewise.
13922 * sunrpc/rpc_prot.c: Likewise.
13923 * sunrpc/rpc_thread.c: Likewise.
13924 * sunrpc/rtime.c: Likewise.
13925 * sunrpc/svc.c: Likewise.
13926 * sunrpc/svc_auth.c: Likewise.
13927 * sunrpc/svc_authux.c: Likewise.
13928 * sunrpc/svc_raw.c: Likewise.
13929 * sunrpc/svc_run.c: Likewise.
13930 * sunrpc/svc_simple.c: Likewise.
13931 * sunrpc/svc_tcp.c: Likewise.
13932 * sunrpc/svc_udp.c: Likewise.
13933 * sunrpc/svc_unix.c: Likewise.
13934 * sunrpc/svcauth_des.c: Likewise.
13935 * sunrpc/xcrypt.c: Likewise.
13936 * sunrpc/xdr.c: Likewise.
13937 * sunrpc/xdr_array.c: Likewise.
13938 * sunrpc/xdr_float.c: Likewise.
13939 * sunrpc/xdr_intXX_t.c: Likewise.
13940 * sunrpc/xdr_mem.c: Likewise.
13941 * sunrpc/xdr_rec.c: Likewise.
13942 * sunrpc/xdr_ref.c: Likewise.
13943 * sunrpc/xdr_sizeof.c: Likewise.
13944 * sunrpc/xdr_stdio.c: Likewise.
13946 2011-04-10 Ulrich Drepper <drepper@gmail.com>
13949 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
13950 * sysdeps/ia64/dl-tls.h: Likewise.
13951 * sysdeps/powerpc/dl-tls.h: Likewise.
13952 * sysdeps/s390/dl-tls.h: Likewise.
13953 * sysdeps/sh/dl-tls.h: Likewise.
13954 * sysdeps/sparc/dl-tls.h: Likewise.
13955 * sysdeps/x86_64/dl-tls.h: Likewise.
13956 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
13958 2011-03-14 Andreas Schwab <schwab@redhat.com>
13960 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
13961 rpath element also skip the following colon.
13962 (expand_dynamic_string_token): Add is_path parameter and pass
13963 down to DL_DST_REQUIRED and _dl_dst_substitute.
13964 (decompose_rpath): Call expand_dynamic_string_token with
13965 non-zero is_path. Ignore empty rpaths.
13966 (_dl_map_object_from_fd): Call expand_dynamic_string_token
13969 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
13971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
13974 2011-04-09 Ulrich Drepper <drepper@gmail.com>
13977 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
13978 Patch by Filipe David Manana <fdmanana@apache.org>.
13980 2011-04-07 Andreas Schwab <schwab@redhat.com>
13982 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
13983 Maintain aligned stack.
13984 (CHECK_RSP): Remove unused macro.
13986 2011-04-03 Ulrich Drepper <drepper@gmail.com>
13988 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
13989 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
13991 2011-04-02 Ulrich Drepper <drepper@gmail.com>
13993 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
13995 * include/features.h: Mention __USE_XOPEN2K8 in comment.
13997 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
14000 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
14001 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
14002 * sysdeps/x86_64/memmove.c: New file.
14003 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
14004 (memcpy): Renamed to ...
14005 (__new_memcpy): This.
14006 (memcpy): Provide GLIBC_2_14 memcpy.
14007 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
14008 (memcpy): Provide GLIBC_2_2_5 memcpy.
14010 2011-04-01 Ulrich Drepper <drepper@gmail.com>
14013 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
14015 2011-03-30 Andreas Schwab <schwab@redhat.com>
14017 * misc/syncfs.c: New file.
14018 * misc/Makefile (routines): Add syncfs.
14019 * posix/unistd.h: Declare syncfs.
14020 * sysdeps/unix/syscalls.list: Add syncfs.
14022 2011-04-01 Andreas Schwab <schwab@redhat.com>
14024 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
14026 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14027 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14028 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14029 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14030 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14031 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
14032 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14034 2011-04-01 Ulrich Drepper <drepper@gmail.com>
14036 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
14037 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14038 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
14039 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14040 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14041 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14042 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14044 * io/Makefile: Compile fallocate.c, fallocate64.c, and
14045 sync_file_range.c with -fexceptions.
14046 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
14047 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
14048 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
14049 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
14050 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
14051 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
14052 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
14053 sync_file_range as cancellation point
14054 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
14055 now a wrapper around __call_sync_file_range with cancellation handling.
14056 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
14057 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
14058 function name to __call_sync_file_range.
14059 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
14060 Add call_sync_file_range.
14062 2011-04-01 Andreas Schwab <schwab@redhat.com>
14064 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14067 2011-04-01 Ulrich Drepper <drepper@gmail.com>
14069 * iconv/iconv.h: Fix typo in comment.
14070 * io/fcntl.h: Likewise.
14071 * libio/stdio.h: Likewise.
14072 * posix/spawn.h: Likewise.
14073 * posix/unistd.h: Likewise.
14074 * stdlib/stdlib.h: Likewise.
14075 * time/time.h: Likewise.
14076 * wcsmbs/wchar.h: Likewise.
14078 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
14079 open_by_handle): Add.
14080 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
14081 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
14082 Augment a few comments.
14083 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14084 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14085 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14086 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14087 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14088 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
14091 * io/fcntl.h (AT_EMPTY_PATH): Define.
14093 2011-03-30 Ulrich Drepper <drepper@gmail.com>
14095 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
14096 * sysdeps/unix/sysv/linux/bits/time.h: New file.
14097 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
14099 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
14100 * Versions.def: Add GLIBC_2.14.
14101 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
14104 2011-03-22 Ulrich Drepper <drepper@gmail.com>
14106 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
14108 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14110 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
14113 * string/test-strncmp.c (do_page_test): New function.
14114 (check2): Likewise.
14115 (test_main): Call check2.
14116 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
14118 2011-03-20 Ulrich Drepper <drepper@gmail.com>
14121 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
14122 Handle cache information in CPU leaf 4.
14123 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14125 2011-03-18 Ulrich Drepper <drepper@gmail.com>
14128 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
14129 character representation.
14130 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
14132 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
14134 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
14135 END(__isnan) to END(__isnanf) to match function entry point/label
14136 EALIGN(__isnanf,...).
14138 2011-03-10 Jakub Jelinek <jakub@redhat.com>
14140 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
14142 2011-03-10 Ulrich Drepper <drepper@gmail.com>
14145 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
14146 copy from the symbol referenced in the relocation to initialize the
14148 Patch by Piotr Bury <pbury@goahead.com>.
14149 * elf/Makefile: Add rules to build and tst-unique3.
14150 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
14151 * elf/tst-unique3.cc: New file.
14152 * elf/tst-unique3.h: New file.
14153 * elf/tst-unique3lib.cc: New file.
14154 * elf/tst-unique3lib2.cc: New file.
14156 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
14158 2011-03-10 Mike Frysinger <vapier@gentoo.org>
14160 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
14161 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
14164 2011-03-06 Ulrich Drepper <drepper@gmail.com>
14166 * elf/dl-load.c (_dl_map_object): If we are looking for the first
14167 to-be-loaded object along a path to loader is ld.so.
14169 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14170 Ulrich Drepper <drepper@gmail.com>
14172 * sysdeps/x86_64/memset.S: After aligning destination, code
14173 branches to different locations depending on the value of
14174 misalignment, when multiarch is enabled. Fix this.
14176 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14178 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
14179 Set _x86_64_preferred_memory_instruction for AMD processsors.
14180 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14181 Set bit_Prefer_SSE_for_memop for AMD processors.
14183 2011-03-04 Ulrich Drepper <drepper@gmail.com>
14185 * libio/fmemopen.c (fmemopen): Optimize a bit.
14187 2011-03-03 Andreas Schwab <schwab@redhat.com>
14189 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
14191 2011-03-03 Roland McGrath <roland@redhat.com>
14193 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
14195 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
14197 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
14198 __bzero_ultra1 instead of __memset_ultra1.
14200 2011-02-23 Andreas Schwab <schwab@redhat.com>
14201 Ulrich Drepper <drepper@gmail.com>
14204 * include/link.h (struct link_map): Add l_orig_initfini.
14205 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
14206 returning unsuccessfully.
14207 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
14208 close of a file loaded at startup, restore the original l_initfini
14210 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
14211 list, store the pointer.
14212 * elf/Makefile ($(objpfx)noload-mem): New rule.
14213 (noload-ENV): Define.
14214 (tests): Add $(objpfx)noload-mem.
14215 * elf/noload.c: Include <memcheck.h>.
14216 (main): Call mtrace. Close all opened handles.
14218 2011-02-17 Andreas Schwab <schwab@redhat.com>
14221 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
14222 dependencies are missing.
14224 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
14226 Fix __if_freereq crash: Unlike the generic version which uses free,
14228 * sysdeps/mach/hurd/ifreq.h: New file.
14230 2011-01-27 Petr Baudis <pasky@suse.cz>
14231 Ulrich Drepper <drepper@gmail.com>
14234 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
14235 to extend_alloca().
14236 * stdio-common/bug23.c: New file.
14237 * stdio-common/Makefile (tests): Add bug23.
14239 2010-09-28 Andreas Schwab <schwab@redhat.com>
14240 Ulrich Drepper <drepper@gmail.com>
14243 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
14244 before performing relro protection. At old place add assertion
14245 to make sure nothing changed.
14247 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
14248 Glauber de Oliveira Costa <glommer@gmail.com>
14250 * elf/elf.h: Add new ARM TLS relocs.
14252 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
14254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14255 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
14257 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
14259 * sysdeps/wordsize-64/tst-writev.c: New file.
14261 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
14263 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
14264 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
14265 insns in _dl_start to prevent a TOC reference before relocs are
14268 2011-02-15 Ulrich Drepper <drepper@gmail.com>
14271 * Makeconfig: Remove RANLIB definition.
14272 * Makerules: Don't use RANLIB.
14273 * aclocal.m4: Remove ranlib test.
14274 * configure.in: No need to check for ranlib.
14275 * elf/rtld-Rules: Don't use RANLIB.
14277 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14279 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
14281 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
14282 inclusion protection macro.
14284 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
14285 SIGRTMIN and SIGRTMAX and print information in that case only when
14286 SIGRTMIN is defined.
14288 2011-02-11 Jakub Jelinek <jakub@redhat.com>
14290 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
14291 arginfo fn returning -1.
14293 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
14294 and thousands string is zero terminated.
14296 2011-02-03 Andreas Schwab <schwab@redhat.com>
14298 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
14299 sysdeps/unix/sysv/linux/bits/socket.h.
14301 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
14303 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
14304 (__CPU_COUNT): Remove old macros.
14305 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
14306 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
14307 (__CPU_ALLOC, __CPU_FREE): Add macros.
14308 (__sched_cpualloc, __sched_cpufree): Add declarations.
14310 2011-02-05 Ulrich Drepper <drepper@gmail.com>
14312 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
14313 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
14314 * nscd/aicache.c (addhstaiX): Return timeout of added value.
14315 (readdhstai): Return value of addhstaiX call.
14316 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
14317 (addgrbyX): Return value returned by cache_addgr.
14318 (readdgrbyname): Return value returned by addgrbyX.
14319 (readdgrbygid): Likewise.
14320 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
14321 (addpwbyX): Return value returned by cache_addpw.
14322 (readdpwbyname): Return value returned by addhstbyX.
14323 (readdpwbyuid): Likewise.
14324 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
14325 (addservbyX): Return value returned by cache_addserv.
14326 (readdservbyname): Return value returned by addservbyX:
14327 (readdservbyport): Likewise.
14328 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
14329 (addhstbyX): Return value returned by cache_addhst.
14330 (readdhstbyname): Return value returned by addhstbyX.
14331 (readdhstbyaddr): Likewise.
14332 (readdhstbynamev6): Likewise.
14333 (readdhstbyaddrv6): Likewise.
14334 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
14335 (readdinitgroups): Return value returned by addinitgroupsX.
14336 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
14337 (prune_cache): Keep track of timeout value of re-added entries.
14338 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
14339 * nscd/nscd.h: Adjust prototypes of readd* functions.
14341 2011-02-04 Roland McGrath <roland@redhat.com>
14343 * nis/nis_server.c (nis_servstate): Use the right name for 0.
14344 (nis_stats): Likewise.
14345 * nis/nis_modify.c (nis_modify): Likewise.
14346 * nis/nis_remove.c (nis_remove): Likewise.
14347 * nis/nis_add.c (nis_add): Likewise.
14349 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
14351 * posix/fnmatch_loop.c: Add some consts.
14353 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
14355 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
14358 * config.make.in (config-cflags-novzeroupper): Define.
14359 * configure.in: Substitute libc_cv_cc_novzeroupper.
14360 * elf/Makefile (AVX-CFLAGS): Define.
14361 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
14362 (CFLAGS-tst-auditmod4a.c): Likewise.
14363 (CFLAGS-tst-auditmod4b.c): Likewise.
14364 (CFLAGS-tst-auditmod6b.c): Likewise.
14365 (CFLAGS-tst-auditmod6c.c): Likewise.
14366 (CFLAGS-tst-auditmod7b.c): Likewise.
14367 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
14369 2011-02-02 Ulrich Drepper <drepper@gmail.com>
14371 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
14372 function to the callback.
14373 Patch partly by Jiri Olsa <jolsa@redhat.com>.
14375 2011-02-02 Andreas Schwab <schwab@redhat.com>
14377 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
14380 2011-01-19 Ulrich Drepper <drepper@gmail.com>
14383 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
14385 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
14387 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
14390 * elf/Makefile: Add rules to build and run new test.
14391 * elf/tst-initorder.c: New file.
14392 * elf/tst-initorder.exp: New file.
14393 * elf/tst-initordera1.c: New file.
14394 * elf/tst-initordera2.c: New file.
14395 * elf/tst-initordera3.c: New file.
14396 * elf/tst-initordera4.c: New file.
14397 * elf/tst-initorderb1.c: New file.
14398 * elf/tst-initorderb2.c: New file.
14399 * elf/tst-order-a1.c: New file.
14400 * elf/tst-order-a2.c: New file.
14401 * elf/tst-order-a3.c: New file.
14402 * elf/tst-order-a4.c: New file.
14403 * elf/tst-order-b1.c: New file.
14404 * elf/tst-order-b2.c: New file.
14405 * elf/tst-order-main.c: New file.
14406 New test case by George Gensure <werkt0@gmail.com>.
14408 2010-10-01 Andreas Schwab <schwab@redhat.com>
14410 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14411 decoding ACE if AI_CANONIDN.
14413 2011-01-18 Ulrich Drepper <drepper@gmail.com>
14415 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
14417 2011-01-17 Ulrich Drepper <drepper@gmail.com>
14419 * version.h (RELEASE): Bump for 2.13 release.
14420 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
14422 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
14424 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
14426 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
14427 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
14428 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
14429 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
14430 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
14431 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
14433 * posix/getconf.c: Update copyright year.
14434 * catgets/gencat.c: Likewise.
14435 * csu/version.c: Likewise.
14436 * debug/catchsegv.sh: Likewise.
14437 * debug/xtrace.sh: Likewise.
14438 * elf/ldconfig.c: Likewise.
14439 * elf/ldd.bash.in: Likewise.
14440 * elf/sprof.c (print_version): Likewise.
14441 * iconv/iconv_prog.c: Likewise.
14442 * iconv/iconvconfig.c: Likewise.
14443 * locale/programs/locale.c: Likewise.
14444 * locale/programs/localedef.c: Likewise.
14445 * malloc/memusage.sh: Likewise.
14446 * malloc/mtrace.pl: Likewise.
14447 * nscd/nscd.c (print_version): Likewise.
14448 * nss/getent.c: Likewise.
14450 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
14451 PF_CAIF, and PF_ALG.
14452 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14454 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
14456 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
14457 (modules-names): Use them.
14458 (ifunc-test-modules, ifunc-pie-tests): Define.
14459 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
14460 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
14461 (test-extras): Likewise.
14462 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
14463 $(compile-command.c).
14464 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
14465 (all-built-dso): Define.
14466 (check-textrel.out, check-execstack.out): Depend on it.
14468 * configure.in: Don't override --enable-multi-arch.
14470 2011-01-15 Ulrich Drepper <drepper@gmail.com>
14473 * nscd/hstcache.c (tryagain): Define.
14474 (cache_addhst): Return tryagain not notfound for temporary errors.
14475 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
14478 2011-01-14 Ulrich Drepper <drepper@gmail.com>
14481 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
14482 to make the syscall.
14483 * sysdeps/unix/sysv/linux/setgroups.c: New file.
14486 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
14487 and fall back to matching as normal character if the string ends before
14488 the matching ']' is found. This is what POSIX requires.
14489 * posix/testfnm.c: Adjust test result.
14490 * posix/globtest.sh: Adjust test result. Add new test.
14491 * posix/tst-fnmatch.input: Likewise.
14492 * posix/tst-fnmatch2.c: Add new test.
14494 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
14496 * elf/Makefile (check-execstack): Revert last change. Depend on
14498 (check-execstack.h): New target.
14499 (generated): Add check-execstack.h.
14500 * elf/check-execstack.c: Include "check-execstack.h".
14501 (main): Revert last change.
14502 (handle_file): Return zero if GNU_STACK is absent and
14503 DEFAULT_STACK_PERMS doesn't include PF_X.
14505 2011-01-13 Ulrich Drepper <drepper@gmail.com>
14507 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
14508 in child fails because the descriptor is already closed.
14509 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
14510 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
14511 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
14514 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
14518 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
14519 temporary buffer used to handle multi lookups locally.
14520 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
14522 2011-01-12 Ulrich Drepper <drepper@gmail.com>
14524 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
14527 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
14529 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
14530 alignment for SSE2.
14532 2011-01-12 Ulrich Drepper <drepper@gmail.com>
14535 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
14536 characters. When rounding increased number of integer digits recompute
14538 * stdio-common/tst-grouping.c: New file.
14539 * stdio-common/Makefile: Add rules to build and run tst-grouping.
14541 2011-01-09 Ulrich Drepper <drepper@gmail.com>
14543 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
14544 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
14546 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
14548 * bits/select.h: Likewise.
14550 2011-01-08 Ulrich Drepper <drepper@gmail.com>
14552 * po/ja.po: Update from translation team.
14554 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
14557 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
14558 implementation just like for lxstat, fxstatat, et al.
14560 2010-12-27 Jim Meyering <meyering@redhat.com>
14563 * posix/regexec.c (build_trtable): Return failure indication upon
14564 calloc failure. Otherwise, re_search_internal could infloop on OOM.
14566 2010-12-25 Ulrich Drepper <drepper@gmail.com>
14569 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
14570 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
14571 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
14572 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
14575 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
14578 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
14579 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
14581 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
14583 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
14584 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
14585 script has SORT_BY_INIT_PRIORITY.
14586 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
14587 NO_CTORS_DTORS_SECTIONS is defined.
14588 * elf/soinit.c: Likewise.
14589 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
14590 NO_CTORS_DTORS_SECTIONS is defined.
14591 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
14592 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
14593 * sysdeps/sh/init-first.c: Likewise.
14594 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
14596 2010-12-24 Ulrich Drepper <drepper@gmail.com>
14598 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
14599 always use the slow path.
14601 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
14603 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
14604 similar rule which adds the sysdep directories to the header search in
14605 order to pick up the correct platform stackinfo.h.
14606 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
14607 perform test if it is, otherwise return successfully without testing.
14608 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
14609 DEFAULT_STACK_PERMS define in stackinfo.h.
14610 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
14611 defined in stackinfo.h.
14612 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
14613 DEFAULT_STACK_PERMS defined in stackinfo.h.
14614 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
14615 * sysdeps/ia64/stackinfo.h: Likewise.
14616 * sysdeps/s390/stackinfo.h: Likewise.
14617 * sysdeps/sh/stackinfo.h: Likewise.
14618 * sysdeps/sparc/stackinfo.h: Likewise.
14619 * sysdeps/x86_64/stackinfo.h: Likewise.
14620 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
14621 PF_X for powerpc64. Retain PF_X for powerpc32.
14623 2010-12-19 Ulrich Drepper <drepper@gmail.com>
14625 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
14627 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
14628 GETDENTS_64BIT_ALIGNED.
14630 2010-12-14 Ulrich Drepper <dreper@gmail.com>
14632 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
14634 2010-12-10 Andreas Schwab <schwab@redhat.com>
14636 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
14639 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
14640 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
14642 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
14643 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
14645 2010-12-09 Ulrich Drepper <drepper@gmail.com>
14648 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
14651 2010-12-09 Jakub Jelinek <jakub@redhat.com>
14653 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
14655 2010-12-03 Ulrich Drepper <drepper@gmail.com>
14657 * po/it.po: Update from translation team.
14659 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
14661 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
14664 2010-11-30 Ulrich Drepper <drepper@gmail.com>
14666 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
14668 2010-11-24 Andreas Schwab <schwab@redhat.com>
14670 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
14672 (gaih_getanswer_slice): Likewise.
14674 2010-10-20 Jakub Jelinek <jakub@redhat.com>
14676 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
14678 2010-05-31 Petr Baudis <pasky@suse.cz>
14681 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
14682 silently even in the chroot mode.
14684 2010-11-22 Ulrich Drepper <drepper@gmail.com>
14686 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
14687 last patch a bit. Pretty printing
14689 2010-05-31 Petr Baudis <pasky@suse.cz>
14692 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
14693 initialization of skip_initgroups_dyn.
14695 2010-11-19 Ulrich Drepper <drepper@gmail.com>
14697 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
14698 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
14700 2010-11-16 Ulrich Drepper <drepper@gmail.com>
14702 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
14704 2010-11-11 Andreas Schwab <schwab@redhat.com>
14706 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
14707 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
14708 (tst-fnmatch-ENV): Set MALLOC_TRACE.
14709 ($(objpfx)tst-fnmatch-mem): New rule.
14710 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
14711 * posix/tst-fnmatch.c (main): Call mtrace.
14713 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
14715 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14716 Support Intel processor model 6 and model 0x2c.
14718 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
14720 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
14723 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
14726 * string/test-strncasecmp.c (check_result): New function.
14727 (do_one_test): Use it.
14728 (check1): New function.
14729 (test_main): Use it.
14730 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
14731 Support strcasecmp and strncasecmp.
14733 2010-11-08 Ulrich Drepper <drepper@gmail.com>
14736 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
14737 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14739 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
14741 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
14743 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14745 * sysdeps/x86_64/multiarch/bzero.S: New file.
14746 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
14747 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
14748 * sysdeps/x86_64/multiarch/memset.S: New file.
14749 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
14750 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14751 Set bit_Prefer_SSE_for_memop for Intel processors.
14752 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
14754 (index_Prefer_SSE_for_memop): Define.
14755 (HAS_PREFER_SSE_FOR_MEMOP): Define.
14757 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
14759 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
14760 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
14762 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
14765 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
14766 (__x86_64_raw_data_cache_size_half): Likewise.
14767 (__x86_64_raw_shared_cache_size): Likewise.
14768 (__x86_64_raw_shared_cache_size_half): Likewise.
14770 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
14771 (__x86_64_raw_data_cache_size_half): Likewise.
14772 (__x86_64_raw_shared_cache_size): Likewise.
14773 (__x86_64_raw_shared_cache_size_half): Likewise.
14774 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
14775 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
14776 and __x86_64_raw_shared_cache_size_half. Round
14777 __x86_64_data_cache_size_half, __x86_64_data_cache_size
14778 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
14779 to multiple of 256 bytes.
14781 2010-11-03 Ulrich Drepper <drepper@gmail.com>
14784 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
14785 of inacessible symlinks. Verify result of symlink before returning it.
14786 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
14787 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
14789 2010-10-28 Erich Ritz <erichritz@gmail.com>
14791 * math/math.h (isinf): Fix typo in comment.
14793 2010-11-01 Ulrich Drepper <drepper@gmail.com>
14795 * po/da.po: Update from translation team.
14797 2010-10-26 Ulrich Drepper <drepper@gmail.com>
14799 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
14800 is added to the list.
14802 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14803 Ulrich Drepper <drepper@gmail.com>
14805 * elf/dl-object.c (_dl_new_object): Don't append the new object to
14806 the global list here. Move code to...
14807 (_dl_add_to_namespace_list): ...here. New function.
14808 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
14809 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
14810 * elf/dl-load.c (lose): Don't remove the element from the list.
14811 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
14812 (_dl_map_object): Likewise.
14814 2010-10-25 Ulrich Drepper <drepper@gmail.com>
14817 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
14818 into all bytes of SSE register.
14819 Patch by Richard Li <richardpku@gmail.com>.
14821 2010-10-24 Ulrich Drepper <drepper@gmail.com>
14824 * malloc/malloc.c (_int_free): Fill correct number of bytes when
14827 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
14829 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
14830 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
14831 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
14832 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
14833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
14835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
14837 2010-10-22 Andreas Schwab <schwab@redhat.com>
14839 * include/dlfcn.h (__RTLD_SECURE): Define.
14840 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
14841 mode & __RTLD_SECURE instead.
14842 (open_path): Rename preloaded parameter to secure.
14843 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
14844 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
14845 * elf/dl-deps.c (openaux): Likewise.
14846 * elf/rtld.c (struct map_args): Remove is_preloaded.
14847 (map_doit): Don't use it.
14848 (dl_main): Likewise.
14849 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
14850 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
14852 2010-09-09 Andreas Schwab <schwab@redhat.com>
14854 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
14855 (sysd-rules-targets): Remove duplicates.
14856 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
14857 rtld-%.$o dependency.
14859 2010-10-18 Andreas Schwab <schwab@redhat.com>
14861 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
14862 _dl_map_object do it.
14864 2010-10-19 Ulrich Drepper <drepper@gmail.com>
14866 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
14867 fast fma builtins, define the macros in the C99 standard.
14868 (FP_FAST_FMAF): Likewise.
14869 (FP_FAST_FMAL): Likewise.
14870 * sysdeps/x86_64/bits/mathdef.h: Likewise.
14872 * bits/mathdef.h: Update copyright year.
14873 * sysdeps/powerpc/bits/mathdef.h: Likewise.
14875 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
14877 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
14878 builtins, define the macros in the C99 standard.
14879 (FP_FAST_FMAF): Likewise.
14880 (FP_FAST_FMAL): Likewise.
14881 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
14883 (FP_FAST_FMAF): Likewise.
14885 2010-10-15 Jakub Jelinek <jakub@redhat.com>
14888 * math/libm-test.inc (fma_test): Some new testcases.
14889 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
14890 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
14891 y and infinite z. Do multiplication by C already in long double.
14892 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
14893 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
14894 y and infinite z. Do bitwise or of inexact bit into u.d.
14895 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
14896 * sysdeps/i386/fpu/s_fmaf.S: Removed.
14897 * sysdeps/i386/fpu/s_fma.S: Removed.
14898 * sysdeps/i386/fpu/s_fmal.S: Removed.
14900 2010-10-16 Jakub Jelinek <jakub@redhat.com>
14903 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
14904 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
14905 computation is not scheduled after fetestexcept. Fix value
14906 of minimum denormal long double.
14908 2010-10-14 Jakub Jelinek <jakub@redhat.com>
14911 * math/libm-test.inc (fma_test): Add some more tests.
14912 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
14915 2010-10-15 Andreas Schwab <schwab@redhat.com>
14917 * scripts/data/localplt-s390-linux-gnu.data: New file.
14918 * scripts/data/localplt-s390x-linux-gnu.data: New file.
14920 2010-10-13 Jakub Jelinek <jakub@redhat.com>
14923 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
14924 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
14926 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
14928 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
14929 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
14930 if one of x and y is very large and the other is subnormal.
14931 * sysdeps/s390/fpu/s_fmaf.c: New file.
14932 * sysdeps/s390/fpu/s_fma.c: New file.
14933 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
14934 * sysdeps/powerpc/fpu/s_fma.S: New file.
14935 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
14936 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
14937 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
14939 2010-10-12 Jakub Jelinek <jakub@redhat.com>
14942 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
14944 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
14945 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
14946 * sysdeps/i386/i686/multiarch/s_fma.c: Include
14947 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
14948 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
14949 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
14950 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
14952 2010-10-12 Ulrich Drepper <drepper@redhat.com>
14955 * posix/regcomp.c (parse_branch): One more memory leak plugged.
14956 * posix/bug-regex31.input: Add test case.
14958 2010-10-11 Ulrich Drepper <drepper@gmail.com>
14960 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
14961 * posix/bug-regex31.input: New file.
14964 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
14965 (parse_sub_exp): Fix last change, use postorder.
14967 * posix/bug-regex31.c: New file.
14968 * posix/Makefile: Add rules to build and run bug-regex31.
14970 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
14973 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
14976 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
14977 to have entries in sys_siglist.
14980 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
14983 2010-10-07 Jakub Jelinek <jakub@redhat.com>
14986 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
14987 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
14988 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
14989 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
14990 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
14991 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
14992 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
14993 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
14994 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
14995 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
14996 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
14997 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
14998 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
14999 * math/ftestexcept.c (fetestexcept): Likewise.
15000 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
15001 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
15002 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
15003 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
15004 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
15005 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
15006 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15008 2010-10-11 Ulrich Drepper <drepper@gmail.com>
15011 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
15014 2010-10-06 Ulrich Drepper <drepper@gmail.com>
15016 * string/bug-strstr1.c: New file.
15017 * string/Makefile: Add rules to build and run bug-strstr1.
15019 2010-10-05 Eric Blake <eblake@redhat.com>
15022 * string/str-two-way.h (two_way_long_needle): Always clear memory
15023 when skipping input due to the shift table.
15025 2010-10-03 Ulrich Drepper <drepper@gmail.com>
15028 * malloc/mcheck.c: Handle large requests.
15031 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
15032 for strncmp and strncasecmp.
15033 * string/stratcliff.c: Add tests for strcmp and strncmp.
15034 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
15036 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15038 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
15041 2010-09-30 Andreas Jaeger <aj@suse.de>
15043 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
15044 (CGROUP_SUPER_MAGIC): Define.
15045 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15046 Handle btrfs and cgroup file systems.
15047 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
15050 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
15052 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
15053 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
15055 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15058 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
15059 trying to locate the ELF header.
15061 2010-09-27 Andreas Schwab <schwab@redhat.com>
15064 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
15065 Mask out sign-bit copies when constructing f_fsid.
15067 2010-09-24 Petr Baudis <pasky@suse.cz>
15069 * debug/stack_chk_fail_local.c: Add missing licence exception.
15070 * debug/warning-nop.c: Likewise.
15072 2010-09-15 Joseph Myers <joseph@codesourcery.com>
15074 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
15075 implementing getdents64 using getdents syscall, set d_type if
15076 __ASSUME_GETDENTS32_D_TYPE.
15078 2010-09-16 Andreas Schwab <schwab@redhat.com>
15080 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
15081 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
15083 2010-09-21 Ulrich Drepper <drepper@redhat.com>
15086 * posix/unistd.h: Undo change of feature selection for ftruncate from
15089 2010-09-20 Ulrich Drepper <drepper@redhat.com>
15091 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
15094 2010-09-20 Andreas Schwab <schwab@redhat.com>
15096 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
15098 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15100 2010-09-14 Andreas Schwab <schwab@redhat.com>
15102 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
15103 variables after CHECK_SP call.
15104 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
15106 2010-09-13 Andreas Schwab <schwab@redhat.com>
15107 Ulrich Drepper <drepper@redhat.com>
15109 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
15110 re-relocationg ld.so.
15111 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
15112 _dl_init_paths call.
15113 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
15116 2010-09-14 Ulrich Drepper <drepper@redhat.com>
15118 * resolv/res_init.c (__res_vinit): Count the default server we added.
15120 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
15121 Ulrich Drepper <drepper@redhat.com>
15124 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15125 (____longjmp_chk): Use %ebx for saving value across system call.
15128 2010-09-06 Andreas Schwab <schwab@redhat.com>
15130 * manual/Makefile: Don't mix pattern rules with normal rules.
15132 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
15134 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
15136 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
15137 * libio/iofopncook.c (_IO_cookie_init): Likewise.
15138 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
15139 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
15140 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15143 2010-09-04 Ulrich Drepper <drepper@redhat.com>
15146 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
15147 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
15149 2010-09-02 Ulrich Drepper <drepper@redhat.com>
15151 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
15152 * sysdeps/x86_64/addmul_1.S: Likewise.
15153 * sysdeps/x86_64/lshift.S: Likewise.
15154 * sysdeps/x86_64/mul_1.S: Likewise.
15155 * sysdeps/x86_64/rshift.S: Likewise.
15156 * sysdeps/x86_64/sub_n.S: Likewise.
15157 * sysdeps/x86_64/submul_1.S: Likewise.
15159 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
15161 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
15162 Define __sched_param instead of SCHED_* and sched_param when
15163 <bits/sched.h> is included with __need_schedparam defined.
15164 * bits/sched.h [__need_schedparam]
15165 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
15166 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
15167 (__defined_schedparam): Define to 1.
15168 (__sched_param): New structure, identical to sched_param.
15169 (__need_schedparam): Undefine.
15171 2010-08-31 Mike Frysinger <vapier@gentoo.org>
15173 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
15174 (epoll_create1): Declare.
15176 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
15178 2010-08-31 Andreas Schwab <schwab@redhat.com>
15181 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
15182 shifting retval into place.
15184 2010-09-01 Ulrich Drepper <drepper@redhat.com>
15186 * nis/rpcsvc/nis.h: Update copyright notice.
15187 * nis/rpcsvc/nis.x: Likewise.
15188 * nis/rpcsvc/nis_callback.h: Likewise.
15189 * nis/rpcsvc/nis_callback.x: Likewise.
15190 * nis/rpcsvc/nis_object.x: Likewise.
15191 * nis/rpcsvc/nis_tags.h: Likewise.
15192 * nis/rpcsvc/yp.h: Likewise.
15193 * nis/rpcsvc/yp.x: Likewise.
15194 * nis/rpcsvc/ypupd.h: Likewise.
15195 * nis/yp_xdr.c: Likewise.
15196 * nis/ypupdate_xdr.c: Likewise.
15198 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
15199 mainly the body of pmap_getport. Add parameters to specify timeouts.
15200 (pmap_getport): Use __libc_rpc_getport.
15201 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
15202 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
15203 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
15205 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
15207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
15210 2010-08-27 Roland McGrath <roland@redhat.com>
15212 * sysdeps/i386/i686/multiarch/Makefile
15213 (CFLAGS-varshift.c): New variable.
15215 2010-08-27 Ulrich Drepper <drepper@redhat.com>
15217 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
15218 * sysdeps/i386/i686/multiarch/varshift.c: New file.
15220 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
15222 * sysdeps/x86_64/strlen.S: Minimal code improvement.
15224 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
15226 * sysdeps/x86_64/strlen.S: Unroll the loop.
15227 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15228 strlen-sse2 strlen-sse2-bsf.
15229 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
15230 __strlen_no_bsf if bit_Slow_BSF is set.
15231 (__strlen_sse42): Removed.
15232 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
15233 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
15235 2010-08-25 Roland McGrath <roland@redhat.com>
15237 * sysdeps/x86_64/multiarch/varshift.S: File removed.
15238 * sysdeps/x86_64/multiarch/varshift.c: New file.
15239 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
15240 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
15241 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
15242 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15244 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
15246 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15247 strlen-sse2 strlen-sse2-bsf.
15248 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
15249 __strlen_sse2_bsf if bit_Slow_BSF is unset.
15250 (__strlen_sse2): Removed.
15251 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
15252 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
15253 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
15254 bit_Slow_BSF for Atom.
15255 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
15256 (index_Slow_BSF): Define.
15257 (HAS_SLOW_BSF): Define.
15259 2010-08-25 Ulrich Drepper <drepper@redhat.com>
15262 * resolv/res_init.c (__res_vinit): When no server address at all
15263 is given default to loopback.
15265 2010-08-24 Roland McGrath <roland@redhat.com>
15267 * configure.in: Remove config-name.h generation.
15268 * configure: Regenerated.
15269 * config-name.in: File removed.
15270 * scripts/config-uname.sh: New file.
15271 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
15272 ($(objdir)config-name.h): New target.
15274 * sunrpc/rpc_parse.h: Avoid nested comment.
15276 2010-08-24 Richard Henderson <rth@redhat.com>
15277 Ulrich Drepper <drepper@redhat.com>
15278 H.J. Lu <hongjiu.lu@intel.com>
15280 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
15281 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
15282 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
15283 Replace _mm_srli_si128 with __m128i_shift_right. Replace
15284 _mm_alignr_epi8 with _mm_loadu_si128.
15285 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
15286 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
15287 (__m128i_shift_right): Removed.
15288 * sysdeps/i386/i686/multiarch/varshift.h: New file.
15289 * sysdeps/i386/i686/multiarch/varshift.S: New file.
15290 * sysdeps/x86_64/multiarch/varshift.h: New file.
15291 * sysdeps/x86_64/multiarch/varshift.S: New file.
15293 2010-08-21 Mike Frysinger <vapier@gentoo.org>
15295 * configure.in: Move assembler checks to before sysdep dir checking.
15297 2010-08-20 Petr Baudis <pasky@suse.cz>
15299 * LICENSES: Sync the sunrpc license.
15301 2010-08-19 Ulrich Drepper <drepper@redhat.com>
15303 * sunrpc/auth_des.c: Update copyright notice once again.
15304 * sunrpc/auth_none.c: Likewise.
15305 * sunrpc/auth_unix.c: Likewise.
15306 * sunrpc/authdes_prot.c: Likewise.
15307 * sunrpc/authuxprot.c: Likewise.
15308 * sunrpc/bindrsvprt.c: Likewise.
15309 * sunrpc/clnt_gen.c: Likewise.
15310 * sunrpc/clnt_perr.c: Likewise.
15311 * sunrpc/clnt_raw.c: Likewise.
15312 * sunrpc/clnt_simp.c: Likewise.
15313 * sunrpc/clnt_tcp.c: Likewise.
15314 * sunrpc/clnt_udp.c: Likewise.
15315 * sunrpc/clnt_unix.c: Likewise.
15316 * sunrpc/des_crypt.c: Likewise.
15317 * sunrpc/des_soft.c: Likewise.
15318 * sunrpc/get_myaddr.c: Likewise.
15319 * sunrpc/getrpcport.c: Likewise.
15320 * sunrpc/key_call.c: Likewise.
15321 * sunrpc/key_prot.c: Likewise.
15322 * sunrpc/openchild.c: Likewise.
15323 * sunrpc/pm_getmaps.c: Likewise.
15324 * sunrpc/pm_getport.c: Likewise.
15325 * sunrpc/pmap_clnt.c: Likewise.
15326 * sunrpc/pmap_prot.c: Likewise.
15327 * sunrpc/pmap_prot2.c: Likewise.
15328 * sunrpc/pmap_rmt.c: Likewise.
15329 * sunrpc/rpc/auth.h: Likewise.
15330 * sunrpc/rpc/auth_unix.h: Likewise.
15331 * sunrpc/rpc/clnt.h: Likewise.
15332 * sunrpc/rpc/des_crypt.h: Likewise.
15333 * sunrpc/rpc/key_prot.h: Likewise.
15334 * sunrpc/rpc/netdb.h: Likewise.
15335 * sunrpc/rpc/pmap_clnt.h: Likewise.
15336 * sunrpc/rpc/pmap_prot.h: Likewise.
15337 * sunrpc/rpc/pmap_rmt.h: Likewise.
15338 * sunrpc/rpc/rpc.h: Likewise.
15339 * sunrpc/rpc/rpc_des.h: Likewise.
15340 * sunrpc/rpc/rpc_msg.h: Likewise.
15341 * sunrpc/rpc/svc.h: Likewise.
15342 * sunrpc/rpc/svc_auth.h: Likewise.
15343 * sunrpc/rpc/types.h: Likewise.
15344 * sunrpc/rpc/xdr.h: Likewise.
15345 * sunrpc/rpc_clntout.c: Likewise.
15346 * sunrpc/rpc_cmsg.c: Likewise.
15347 * sunrpc/rpc_common.c: Likewise.
15348 * sunrpc/rpc_cout.c: Likewise.
15349 * sunrpc/rpc_dtable.c: Likewise.
15350 * sunrpc/rpc_hout.c: Likewise.
15351 * sunrpc/rpc_main.c: Likewise.
15352 * sunrpc/rpc_parse.c: Likewise.
15353 * sunrpc/rpc_parse.h: Likewise.
15354 * sunrpc/rpc_prot.c: Likewise.
15355 * sunrpc/rpc_sample.c: Likewise.
15356 * sunrpc/rpc_scan.c: Likewise.
15357 * sunrpc/rpc_scan.h: Likewise.
15358 * sunrpc/rpc_svcout.c: Likewise.
15359 * sunrpc/rpc_tblout.c: Likewise.
15360 * sunrpc/rpc_util.c: Likewise.
15361 * sunrpc/rpc_util.h: Likewise.
15362 * sunrpc/rpcinfo.c: Likewise.
15363 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
15364 * sunrpc/rpcsvc/key_prot.x: Likewise.
15365 * sunrpc/rpcsvc/klm_prot.x: Likewise.
15366 * sunrpc/rpcsvc/mount.x: Likewise.
15367 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
15368 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
15369 * sunrpc/rpcsvc/rex.x: Likewise.
15370 * sunrpc/rpcsvc/rstat.x: Likewise.
15371 * sunrpc/rpcsvc/rusers.x: Likewise.
15372 * sunrpc/rpcsvc/sm_inter.x: Likewise.
15373 * sunrpc/rpcsvc/spray.x: Likewise.
15374 * sunrpc/rpcsvc/yppasswd.x: Likewise.
15375 * sunrpc/rtime.c: Likewise.
15376 * sunrpc/svc.c: Likewise.
15377 * sunrpc/svc_auth.c: Likewise.
15378 * sunrpc/svc_authux.c: Likewise.
15379 * sunrpc/svc_raw.c: Likewise.
15380 * sunrpc/svc_run.c: Likewise.
15381 * sunrpc/svc_simple.c: Likewise.
15382 * sunrpc/svc_tcp.c: Likewise.
15383 * sunrpc/svc_udp.c: Likewise.
15384 * sunrpc/svc_unix.c: Likewise.
15385 * sunrpc/svcauth_des.c: Likewise.
15386 * sunrpc/xcrypt.c: Likewise.
15387 * sunrpc/xdr.c: Likewise.
15388 * sunrpc/xdr_array.c: Likewise.
15389 * sunrpc/xdr_float.c: Likewise.
15390 * sunrpc/xdr_mem.c: Likewise.
15391 * sunrpc/xdr_rec.c: Likewise.
15392 * sunrpc/xdr_ref.c: Likewise.
15393 * sunrpc/xdr_sizeof.c: Likewise.
15394 * sunrpc/xdr_stdio.c: Likewise.
15396 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
15399 2010-08-19 Andreas Schwab <schwab@redhat.com>
15401 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
15403 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
15405 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
15406 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
15407 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
15408 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
15409 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
15410 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
15411 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
15412 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
15413 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
15414 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
15415 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
15416 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
15417 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
15418 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
15420 2010-07-26 Anton Blanchard <anton@samba.org>
15422 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
15423 * malloc/arena.c (heap_trim): Likewise.
15425 2010-08-16 Ulrich Drepper <drepper@redhat.com>
15427 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
15429 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
15430 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
15432 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
15434 * sysdeps/i386/elf/Makefile: New file.
15436 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
15438 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
15439 from fanotify_init.
15440 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
15441 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15443 2010-08-15 Ulrich Drepper <drepper@redhat.com>
15445 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
15447 * sysdeps/multiarch/strcmp.S: Likewise.
15449 2010-08-14 Ulrich Drepper <drepper@redhat.com>
15451 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
15452 strncase_l-nonascii.
15453 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
15454 Add strncase_l-ssse3.
15455 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
15456 * sysdeps/x86_64/strcmp.S: Likewise.
15457 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
15458 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
15459 * sysdeps/x86_64/strncase.S: New file.
15460 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
15461 * sysdeps/x86_64/strncase_l.S: New file.
15462 * string/Makefile (strop-tests): Add strncasecmp.
15463 * string/test-strncasecmp.c: New file.
15465 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
15468 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
15469 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
15471 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
15473 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
15475 2010-08-12 Ulrich Drepper <drepper@redhat.com>
15477 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
15478 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
15479 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
15481 2010-05-01 Alan Modra <amodra@gmail.com>
15483 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
15484 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
15485 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
15486 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
15487 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
15488 tidying. Don't tail-call __sigjmp_save for static lib.
15489 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
15491 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
15492 (CALL_MCOUNT): Add eh info, and nop after bl.
15493 (TAIL_CALL_SYSCALL_ERROR): New macro.
15494 (PSEUDO_RET): Use it.
15495 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
15496 Correct save location of integer regs and cr.
15497 (_dl_profile_resolve): Correct cr save location. Delete nops
15498 after bl when SHARED. Reduce cfi size a little by better
15499 placement of cfi directives.
15500 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
15501 make a stack frame. Instead use parm save area as a temp.
15502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
15503 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
15504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
15505 Don't make a stack frame for parent, use parm save area.
15506 Increase child stack frame to 112 bytes. Don't save unused reg,
15507 and adjust reg usage. Set up cfi on error recovery and
15508 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
15509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15510 (__makecontext): Add dummy nop after jump to exit.
15511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
15512 Use correct parm save area and cr save, reduce stack frame.
15513 Correct cfi for possible PSEUDO_RET frame setup.
15514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
15515 Branch to local label emitted by PSEUDO_RET rather than
15518 2010-08-12 Andreas Schwab <schwab@redhat.com>
15521 * locale/programs/locale.c (print_assignment): New function.
15522 (show_locale_vars): Use it.
15524 2010-08-11 Ulrich Drepper <drepper@redhat.com>
15526 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
15528 (struct statfs64): Likewise.
15529 (_STATFS_F_FLAGS): Define.
15530 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
15531 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15532 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
15533 (ST_VALID): Define locally.
15534 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
15535 __statvfs_getflags, use the provided value.
15536 * sysdeps/unix/sysv/linux/kernel-features.h: Define
15537 __ASSUME_STATFS_F_FLAGS.
15539 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
15541 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
15542 Add sys/fanotify.h.
15543 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
15544 fanotify_mask for GLIBC_2.13.
15545 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
15546 fanotify_init and fanotify_mark.
15547 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15548 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
15550 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
15552 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
15553 prlimit64 for GLIBC_2.13.
15554 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
15556 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
15558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
15559 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15560 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
15561 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
15562 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
15564 * sysdeps/unix/sysv/linux/prlimit.c: New file.
15567 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
15568 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
15570 * nss/Makefile: Add rules to build and run tst-nss-test1.
15571 * shlib-versions: Add entry for libnss_test1.
15572 * nss/nss_test1.c: New file.
15573 * nss/tst-nss-test1.c: New file.
15575 * nss/nsswitch.c (__nss_database_custom): Define new variable.
15576 (__nss_configure_lookup): Set appropriate entry in
15577 __nss_configure_lookup to true.
15578 * nss/nsswitch.h: Define enum with indeces of databases in
15579 databases and __nss_database_custom arrays. Declare
15580 __nss_database_custom.
15581 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
15582 to avoid using nscd when custom rules are installed.
15583 * nss/getXXbyYY_r.c: Likewise.
15584 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15586 * nss/nss_files/files-parse.c: Whitespace fixes.
15588 2010-08-09 Ulrich Drepper <drepper@redhat.com>
15591 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
15592 * posix/fnmatch_loop.c: Likewise.
15594 2010-07-17 Andi Kleen <ak@linux.intel.com>
15596 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
15597 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
15598 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
15599 * Versions.def [GLIBC_2.13]: Add.
15601 2010-08-06 Ulrich Drepper <drepper@redhat.com>
15603 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15604 Also fail if tpwd after pwuid call is NULL.
15606 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
15608 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
15609 when converting to ms.
15611 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15613 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
15614 EOPNOTSUPP errors with ENOTTY.
15615 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
15616 EOPNOTSUPP errors with ENOTTY.
15618 2010-07-31 Ulrich Drepper <drepper@redhat.com>
15620 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
15621 Add strcasecmp_l-ssse3.
15622 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
15624 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
15625 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
15626 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
15628 2010-07-30 Ulrich Drepper <drepper@redhat.com>
15630 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
15632 * string/Makefile (strop-tests): Add strcasecmp.
15633 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
15634 strcasecmp_l-nonascii.
15635 (gen-as-const-headers): Add locale-defines.sym.
15636 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
15637 * sysdeps/x86_64/strcasecmp.S: New file.
15638 * sysdeps/x86_64/strcasecmp_l.S: New file.
15639 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
15640 * sysdeps/x86_64/locale-defines.sym: New file.
15641 * string/test-strcasecmp.c: New file.
15643 * string/test-strcasestr.c: Test both ends of the range of characters.
15644 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
15646 2010-07-29 Roland McGrath <roland@redhat.com>
15649 * manual/locale.texi (Yes-or-No Questions): Fix example code.
15651 2010-07-27 Ulrich Drepper <drepper@redhat.com>
15653 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
15656 2010-07-27 Andreas Schwab <schwab@redhat.com>
15658 * manual/memory.texi (Malloc Tunable Parameters): Document
15661 2010-07-26 Roland McGrath <roland@redhat.com>
15664 * configure.in (-fgnu89-inline check): Set and substitute
15665 gnu89_inline, not libc_cv_gnu89_inline.
15666 * configure: Regenerated.
15667 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
15669 2010-07-26 Ulrich Drepper <drepper@redhat.com>
15671 * string/test-strnlen.c: New file.
15672 * string/Makefile (strop-tests): Add strnlen.
15673 * string/tester.c (test_strnlen): Add a few more test cases.
15674 * string/tst-strlen.c: Better error reporting.
15676 * sysdeps/x86_64/strnlen.S: New file.
15678 2010-07-24 Ulrich Drepper <drepper@redhat.com>
15680 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
15681 lower-latency instructions.
15683 2010-07-23 Ulrich Drepper <drepper@redhat.com>
15685 * string/test-strcasestr.c: New file.
15686 * string/test-strstr.c: New file.
15687 * string/Makefile (strop-tests): Add strstr and strcasestr.
15688 * string/str-two-way.h: Don't undefine MAX.
15689 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
15691 2010-07-21 Andreas Schwab <schwab@redhat.com>
15693 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15694 strcasestr-nonascii.
15695 (CFLAGS-strcasestr-nonascii.c): Define.
15696 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
15697 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
15698 Remove unused attribute.
15700 2010-07-20 Roland McGrath <roland@redhat.com>
15702 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
15703 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
15704 ld.so.cache was broken. With it, there is no way to disable dsocaps
15705 like LD_HWCAP_MASK can disable hwcaps.
15707 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
15709 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
15711 2010-07-16 Ulrich Drepper <drepper@redhat.com>
15713 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
15714 call in strcasestr.
15715 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
15716 __strcasestr_sse42_nonascii.
15717 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
15718 strcasestr-nonascii.c.
15719 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
15721 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
15723 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
15724 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
15725 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
15726 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
15728 2010-07-09 Ulrich Drepper <drepper@redhat.com>
15730 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
15733 2010-07-06 Andreas Schwab <schwab@redhat.com>
15736 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
15739 2010-07-06 Ulrich Drepper <drepper@redhat.com>
15741 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
15742 _PC_PIPE_BUF using F_GETPIPE_SZ.
15744 2010-07-05 Roland McGrath <roland@redhat.com>
15746 * manual/arith.texi (Rounding Functions): Fix rint description
15747 implicit in round description.
15749 2010-07-02 Ulrich Drepper <drepper@redhat.com>
15751 * elf/Makefile: Fix linking for a few tests to make recent linker
15754 2010-06-30 Andreas Schwab <schwab@redhat.com>
15756 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
15757 $(common-objpfx)libc_nonshared.a.
15759 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
15761 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
15762 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
15763 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
15764 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
15765 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
15766 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
15767 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
15768 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
15769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
15770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
15771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
15772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
15773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
15774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
15775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
15776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
15777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
15778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
15779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
15780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
15781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
15782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
15783 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
15784 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
15785 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
15786 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
15787 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
15788 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
15789 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
15790 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
15791 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
15792 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
15793 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
15794 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
15795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
15796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
15797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
15798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
15799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
15800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
15801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
15802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
15803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
15804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
15805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
15806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
15807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
15808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
15810 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
15812 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
15813 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
15814 * string/memmove.c (memmove): Renamed to ...
15815 (MEMMOVE): ...this. Default to memmove.
15816 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
15817 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
15819 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15820 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
15821 mempcpy-ssse3-back memmove-ssse3-back.
15822 * sysdeps/x86_64/multiarch/bcopy.S: New file .
15823 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
15824 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
15825 * sysdeps/x86_64/multiarch/memcpy.S: New file.
15826 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
15827 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
15828 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
15829 * sysdeps/x86_64/multiarch/memmove.c: New file.
15830 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
15831 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
15832 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
15833 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
15834 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
15835 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
15837 (index_Fast_Copy_Backward): Define.
15838 (HAS_ARCH_FEATURE): Define.
15839 (HAS_FAST_REP_STRING): Define.
15840 (HAS_FAST_COPY_BACKWARD): Define.
15842 2010-06-21 Andreas Schwab <schwab@redhat.com>
15844 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15845 Restore proper fallback handling.
15847 2010-06-19 Ulrich Drepper <drepper@redhat.com>
15850 * posix/group_member.c (__group_member): Correct checking loop.
15852 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
15853 OOM in getpwuid_r correctly. Return error number when the caller
15854 should return, otherwise -1.
15855 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
15856 call returning > 0 value.
15857 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
15859 2010-06-07 Andreas Schwab <schwab@redhat.com>
15861 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
15862 libc_nonshared.a from targets in modules-names.
15864 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
15866 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
15869 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
15871 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
15872 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
15873 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
15874 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
15876 2010-06-02 Andreas Schwab <schwab@redhat.com>
15878 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
15880 2010-06-14 Ulrich Drepper <drepper@redhat.com>
15882 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
15884 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
15885 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15886 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15887 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15888 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15889 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
15891 2010-06-14 Roland McGrath <roland@redhat.com>
15893 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
15895 2010-06-07 Jakub Jelinek <jakub@redhat.com>
15897 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
15898 __REDIRECT followed by __THROW.
15899 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
15900 * posix/getopt.h (getopt): Likewise.
15902 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
15904 * hurd/lookup-at.c (__file_name_lookup_at): Accept
15905 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
15906 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
15908 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
15909 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
15911 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
15913 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
15915 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
15918 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15919 Properly check family and model.
15921 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
15923 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
15925 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
15927 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
15929 2010-05-21 Ulrich Drepper <drepper@redhat.com>
15931 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
15934 2010-05-19 Andreas Schwab <schwab@redhat.com>
15936 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
15939 2010-05-21 Andreas Schwab <schwab@redhat.com>
15941 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
15942 and internal_recvmmsg.
15943 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
15944 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
15945 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
15946 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
15948 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
15949 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
15950 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
15952 2010-05-20 Andreas Schwab <schwab@redhat.com>
15954 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
15956 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
15958 POWER7 optimizations.
15959 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
15960 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
15962 2010-05-19 Ulrich Drepper <drepper@redhat.com>
15964 * version.h: Update for 2.13 development version.
15966 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
15968 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
15969 exceptions. Return 0.
15971 2010-05-07 Roland McGrath <roland@redhat.com>
15973 * elf/ldconfig.c (main): Add a const.
15975 2010-05-06 Ulrich Drepper <drepper@redhat.com>
15977 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
15978 (args_options): Add no-idn option.
15979 (ahosts_keys_int): Add idn_flags to ai_flags.
15980 (parse_option): Handle 'i' option to clear idn_flags.
15982 * malloc/malloc.c (_int_free): Possible race in the most recently
15983 added check. Only act on the data if no current modification
15986 See ChangeLog.17 for earlier changes.