1 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4 * sysdeps/i386/bits/setjmp.h: Removed.
5 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
6 * sysdeps/x86/bits/setjmp.h: This.
8 * sysdeps/i386/bits/mathdef.h: Removed.
9 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
10 * sysdeps/x86/bits/mathdef.h: This.
12 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
15 * include/sys/socket.h (__connect_internal)
16 (__libc_sa_len_internal): Remove declaration.
17 (__connect, __libc_sa_len): Declare hidden_proto.
18 (SA_LEN): Remove use of INTUSE.
19 * socket/connect.c: Add libc_hidden_def.
20 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
21 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
22 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
24 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
25 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
26 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
27 of adding _internal alias.
29 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32 * sysdeps/i386/bits/link.h: Removed.
33 * sysdeps/i386/bits/linkmap.h: Likewise.
34 * sysdeps/x86_64/bits/link.h: Renamed to ...
35 * sysdeps/x86/bits/link.h: This.
36 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
37 * sysdeps/x86/bits/linkmap.h: This.
39 * sysdeps/i386/bits/endian.h: Removed.
40 * sysdeps/x86_64/bits/endian.h: Renamed to ...
41 * sysdeps/x86/bits/endian.h: This.
43 * sysdeps/i386/bits/byteswap.h: Removed.
44 * sysdeps/i386/bits/byteswap-16.h: Likewise.
45 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
46 * sysdeps/x86/bits/byteswap.h: This.
47 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
48 * sysdeps/x86/bits/byteswap-16.h: This.
49 * sysdeps/i386/Implies: Add x86.
50 * sysdeps/x86_64/Implies: Likewise.
52 2012-05-30 David S. Miller <davem@davemloft.net>
54 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
55 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
56 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
57 (FP_TRAPPING_EXCEPTIONS): Define.
58 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
59 (FP_TRAPPING_EXCEPTIONS): Define.
60 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
61 subnormals only when inexact has been signalled or underflow
62 exceptions are enabled.
63 (_FP_PACK_CANONICAL): Likewise.
65 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
68 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
69 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
71 2012-05-30 Richard Henderson <rth@twiddle.net>
73 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
74 with #ifndef NOT_IN_libc.
76 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
77 marked to avoid plt entry.
79 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
82 * Makeconfig (default-abi): New macro.
83 (abi-includes): Likewise.
84 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
85 $(abi-$(default-abi)-lib-soname) for soname if defined.
86 ($(common-objpfx)gnu/lib-names.stmp): Generate from
88 * Makefile (installed-stubs): Likewise.
89 * include/stubs-biarch.h: Removed.
90 * scripts/lib-names.awk: Only handle one library at a time.
91 * scripts/soversions.awk: Remove WORDSIZE support.
92 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
94 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
96 (syscall-list-default-condition): Likewise.
97 (syscall-list-default-condition): Likewise.
98 (syscall-list-includes): Likewise.
99 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
100 syscall-list-* with abi-*. Handle undefined abi-variants.
101 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
102 * sysdeps/unix/sysv/linux/i386/Implies: New file.
103 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
104 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
105 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
106 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
108 (syscall-list-32-options): Likewise.
109 (syscall-list-32-condition): Likewise.
110 (syscall-list-64-options): Likewise.
111 (syscall-list-64-condition): Likewise.
112 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
114 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
117 (abi-64-ld-soname): New macro.
118 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
119 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
122 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
123 * sysdeps/x86_64/x32/shlib-versions: Likewise.
125 2012-05-30 Joseph Myers <joseph@codesourcery.com>
127 * sysdeps/unix/sysv/linux/kernel-features.h
128 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
129 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
130 include <kernel-features.h>.
131 [!__NR_ftruncate64]: Remove conditional code.
132 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
133 [__NR_ftruncate64]: Make code unconditional.
134 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
135 * sysdeps/unix/sysv/linux/truncate64.c: Do not
136 include <kernel-features.h>.
137 [!__NR_ftruncate64]: Remove conditional code.
138 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
139 [__NR_ftruncate64]: Make code unconditional.
140 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
142 include <kernel-features.h>.
143 [!__NR_ftruncate64]: Remove conditional code.
144 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
145 [__NR_ftruncate64]: Make code unconditional.
146 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
148 include <kernel-features.h>.
149 [!__NR_ftruncate64]: Remove conditional code.
150 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
151 [__NR_ftruncate64]: Make code unconditional.
152 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
154 * configure.in (libc_cv_fpie): Weaken to a compile test using
156 * configure: Regenerated.
158 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
160 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
161 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
162 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
163 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
165 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
166 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
167 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
168 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
169 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
170 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
173 2012-05-27 David S. Miller <davem@davemloft.net>
175 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
177 (__Q_simulate_exceptions): Return void. Change to simulate
178 exceptions by writing into the %fsr.
179 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
180 (__Qp_handle_exceptions): Likewise.
182 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
183 __Qp_handle_exceptions.
184 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
185 __Qp_handle_exceptions.
186 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
187 as unused and give dummy FP_RND_NEAREST initializer.
188 (FP_INHIBIT_RESULTS): Define.
189 (___Q_simulate_exceptions): Update declaration.
190 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
192 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
193 as unused and give dummy FP_RND_NEAREST initializer.
194 (__Qp_handle_exceptions): Update declaration.
195 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
198 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
200 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
201 the temporary FPU control word.
202 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
203 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
204 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
205 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
206 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
207 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
208 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
209 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
210 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
211 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
212 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
214 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
216 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
219 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
221 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
222 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
223 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
224 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
226 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
227 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
230 2012-05-27 Ulrich Drepper <drepper@gmail.com>
232 * po/h.po: Update from translation team.
234 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
236 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
238 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
239 handling of denormals.
240 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
241 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
242 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
243 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
244 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
245 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
246 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
249 2012-05-26 Marek Polacek <polacek@redhat.com>
252 * math/libm-test.inc (fma_test): Don't always expect underflow
255 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
258 * elf/tst-execstack.c: Include stackinfo.h.
259 (do_test): Adjust test case to ensure that pthread_getattr_np
260 behaviour remains the same after marking stack executable.
262 2012-05-25 Joseph Myers <joseph@codesourcery.com>
264 * sysdeps/unix/sysv/linux/kernel-features.h
265 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
266 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
268 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
269 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
270 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
272 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
273 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
275 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
277 * configure.in: Define the default includes to being none.
278 * configure: Regenerated.
280 2012-05-25 Roland McGrath <roland@hack.frob.com>
282 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
283 * sysdeps/x86_64/setjmp.S: Likewise.
284 * sysdeps/i386/bsd-setjmp.S: Likewise.
285 * sysdeps/i386/bsd-_setjmp.S: Likewise.
286 * sysdeps/i386/setjmp.S: Likewise.
287 * sysdeps/i386/__longjmp.S: Likewise.
288 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
289 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
291 * include/stap-probe.h: New file.
292 * configure.in: Handle --enable-systemtap.
293 * configure: Regenerated.
294 * config.h.in (USE_STAP_PROBE): New #undef.
295 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
296 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
297 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
299 2012-05-25 Joseph Myers <joseph@codesourcery.com>
302 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
303 to 2.4.0 where earlier.
304 * sysdeps/unix/sysv/linux/configure: Regenerated.
305 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
307 [__ASSUME_32BITUIDS]: Make code unconditional.
308 [!__ASSUME_32BITUIDS]: Remove conditional code.
309 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
311 [__ASSUME_32BITUIDS]: Make code unconditional.
312 [!__ASSUME_32BITUIDS]: Remove conditional code.
313 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
314 [__ASSUME_32BITUIDS]: Make code unconditional.
315 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
316 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
318 [__ASSUME_32BITUIDS]: Make code unconditional.
319 [!__ASSUME_32BITUIDS]: Remove conditional code.
320 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
322 [__ASSUME_32BITUIDS]: Make code unconditional.
323 [!__ASSUME_32BITUIDS]: Remove conditional code.
324 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
326 [__ASSUME_32BITUIDS]: Make code unconditional.
327 [!__ASSUME_32BITUIDS]: Remove conditional code.
328 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
330 [__ASSUME_32BITUIDS]: Make code unconditional.
331 [!__ASSUME_32BITUIDS]: Remove conditional code.
332 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
334 [__ASSUME_32BITUIDS]: Make code unconditional.
335 [!__ASSUME_32BITUIDS]: Remove conditional code.
336 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
338 [__ASSUME_32BITUIDS]: Make code unconditional.
339 [!__ASSUME_32BITUIDS]: Remove conditional code.
340 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
342 [__ASSUME_32BITUIDS]: Make code unconditional.
343 [!__ASSUME_32BITUIDS]: Remove conditional code.
344 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
346 [__ASSUME_32BITUIDS]: Make code unconditional.
347 [!__ASSUME_32BITUIDS]: Remove conditional code.
348 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
350 [__ASSUME_32BITUIDS]: Make code unconditional.
351 [!__ASSUME_32BITUIDS]: Remove conditional code.
352 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
354 [__ASSUME_32BITUIDS]: Make code unconditional.
355 [!__ASSUME_32BITUIDS]: Remove conditional code.
356 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
358 [__NR_setresgid] (__setresgid): Do not declare.
359 [__ASSUME_32BITUIDS]: Make code unconditional.
360 [!__ASSUME_32BITUIDS]: Remove conditional code.
361 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
363 [__NR_setresuid] (__setresuid): Do not declare.
364 [__ASSUME_32BITUIDS]: Make code unconditional.
365 [!__ASSUME_32BITUIDS]: Remove conditional code.
366 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
368 [__ASSUME_32BITUIDS]: Make code unconditional.
369 [!__ASSUME_32BITUIDS]: Remove conditional code.
370 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
372 [__ASSUME_32BITUIDS]: Make code unconditional.
373 [!__ASSUME_32BITUIDS]: Remove conditional code.
374 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
376 [__ASSUME_32BITUIDS]: Make code unconditional.
377 [!__ASSUME_32BITUIDS]: Remove conditional code.
378 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
380 [__ASSUME_32BITUIDS]: Make code unconditional.
381 [!__ASSUME_32BITUIDS]: Remove conditional code.
382 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
384 [__ASSUME_32BITUIDS]: Make code unconditional.
385 [!__ASSUME_32BITUIDS]: Remove conditional code.
386 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
388 [__ASSUME_32BITUIDS]: Make code unconditional.
389 [!__ASSUME_32BITUIDS]: Remove conditional code.
390 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
392 [__ASSUME_32BITUIDS]: Make code unconditional.
393 [!__ASSUME_32BITUIDS]: Remove conditional code.
394 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
396 [__ASSUME_32BITUIDS]: Make code unconditional.
397 [!__ASSUME_32BITUIDS]: Remove conditional code.
398 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
400 [__ASSUME_32BITUIDS]: Make code unconditional.
401 [!__ASSUME_32BITUIDS]: Remove conditional code.
402 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
404 [__ASSUME_32BITUIDS]: Make code unconditional.
405 [!__ASSUME_32BITUIDS]: Remove conditional code.
406 * sysdeps/unix/sysv/linux/kernel-features.h
407 (__ASSUME_SETRESUID_SYSCALL): Remove.
408 (__ASSUME_SETRESGID_SYSCALL): Likewise.
409 (__ASSUME_32BITUIDS): Likewise.
410 (__ASSUME_LDT_WORKS): Likewise.
411 (__ASSUME_O_DIRECTORY): Likewise.
412 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
413 architecture but not kernel version.
414 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
415 (__ASSUME_MMAP2_SYSCALL): Likewise.
416 (__ASSUME_STAT64_SYSCALL): Likewise.
417 (__ASSUME_IPC64): Likewise.
418 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
420 [__ASSUME_32BITUIDS]: Make code unconditional.
421 [!__ASSUME_32BITUIDS]: Remove conditional code.
422 * sysdeps/unix/sysv/linux/opendir.c: Do not include
424 [__ASSUME_O_DIRECTORY]: Make code unconditional.
425 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
426 132096]: Remove conditional code.
427 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
428 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
430 [__ASSUME_32BITUIDS]: Make code unconditional.
431 [!__ASSUME_32BITUIDS]: Remove conditional code.
432 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
434 [__ASSUME_32BITUIDS]: Make code unconditional.
435 [!__ASSUME_32BITUIDS]: Remove conditional code.
436 * sysdeps/unix/sysv/linux/setegid.c: Do not include
438 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
440 (__setresgid): Do not declare.
441 [__ASSUME_32BITUIDS]: Make code unconditional.
442 [!__ASSUME_32BITUIDS]: Remove conditional code.
443 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
445 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
447 (__setresuid): Do not declare.
448 [__ASSUME_32BITUIDS]: Make code unconditional.
449 [!__ASSUME_32BITUIDS]: Remove conditional code.
450 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
452 [__ASSUME_32BITUIDS]: Make code unconditional.
453 [!__ASSUME_32BITUIDS]: Remove conditional code.
454 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
456 [__ASSUME_32BITUIDS]: Make code unconditional.
457 [!__ASSUME_32BITUIDS]: Remove conditional code.
459 2012-05-25 Richard Henderson <rth@twiddle.net>
461 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
462 dl_hwcap to ifunc resolver.
463 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
465 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
466 dl_hwcap to ifunc resolver.
467 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
469 2012-05-24 Joseph Myers <joseph@codesourcery.com>
472 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
473 for |x| <= 2**-26, not 2**-57.
474 * math/libm-test.inc (acos_test): Do not allow spurious underflow
477 2012-05-24 Jeff Law <law@redhat.com>
479 * stdio-common/Makefile (tests): Add bug25.
480 * stdio-common/bug25.c: New test.
482 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
485 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
486 multiple of MALLOC_ALIGNMENT in size.
487 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
489 2012-05-24 Joseph Myers <joseph@codesourcery.com>
491 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
493 (FILENAME_MAX): Use macro-int-constant.
494 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
495 (_IOFBF): Use macro-int-constant.
498 (SEEK_CUR): Likewise.
499 (SEEK_END): Likewise.
500 (SEEK_SET): Likewise.
502 (EOF): Use macro-int-constant. Require < 0.
503 (NULL): Use macro-constant. Require == 0.
504 (stdin): Require type to be FILE *.
507 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
509 (EXIT_SUCCESS): Likewise.
510 (NULL): Use macro-constant. Require == 0.
511 (RAND_MAX): Use macro-int-constant.
512 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
513 [C99-based standards] (strtof): Require function.
514 [C99-based standards] (strtold): Likewise.
515 [C99-based standards] (strtoll): Likewise.
516 [C99-based standards] (strtoull): Likewise.
517 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
518 [ISO || ISO99 || ISO11] (limits.h): Likewise.
519 [ISO || ISO99 || ISO11] (math.h): Likewise.
520 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
521 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
522 [ISO || ISO99 || ISO11] (*_t): Do not allow.
524 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
527 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
528 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
529 * intl/dgettext.c (DCGETTEXT): Likewise.
530 * intl/gettext.c (DCGETTEXT): Likewise.
531 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
532 * posix/regex_internal.h (gettext): Likewise.
533 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
535 * include/argz.h (__argz_count_internal)
536 (__argz_stringify_internal): Remove declaration.
537 (__argz_count, __argz_stringify): Declare hidden proto.
538 * intl/dcgettext.c: Remove use of INTDEF.
539 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
540 * string/argz-stringify.c: Likewise.
541 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
542 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
543 Declare hidden proto.
544 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
545 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
546 Declare hidden proto.
547 * include/stdio.h (__asprintf_internal): Don't declare.
548 (__asprintf): Don't define as macro. Declare hidden proto.
549 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
550 (__fsetlocking): Declare hidden proto.
551 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
552 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
554 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
555 (_IO_setlinebuf): Remove use of INTUSE.
556 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
557 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
558 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
560 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
561 (_IO_do_flush): Remove use of INTUSE.
562 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
563 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
564 (_IO_adjust_column, _IO_least_wmarker)
565 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
566 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
567 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
568 (_IO_default_doallocate, _IO_wdefault_doallocate)
569 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
570 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
571 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
572 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
573 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
574 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
575 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
576 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
577 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
578 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
579 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
580 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
581 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
583 (_IO_flush_all_internal, _IO_adjust_column_internal)
584 (_IO_default_uflow_internal, _IO_default_finish_internal)
585 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
586 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
587 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
588 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
589 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
590 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
591 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
592 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
593 (_IO_file_close_internal, _IO_file_close_it_internal)
594 (_IO_file_underflow_internal, _IO_file_overflow_internal)
595 (_IO_file_init_internal, _IO_file_attach_internal)
596 (_IO_file_fopen_internal, _IO_file_read_internal)
597 (_IO_file_sync_internal, _IO_file_seek_internal)
598 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
599 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
600 (_IO_str_underflow_internal, _IO_str_overflow_internal)
601 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
602 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
603 (_IO_list_all_internal, _IO_link_in_internal)
604 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
605 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
606 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
607 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
608 (_IO_do_write_internal, _IO_padn_internal)
609 (_IO_getline_info_internal, _IO_getline_internal)
610 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
611 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
612 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
613 (_IO_vfscanf_internal, _IO_vfprintf_internal)
614 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
615 (_IO_init_internal, _IO_un_link_internal): Don't declare.
616 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
617 with libc_hidden_ver, remove use of INTUSE.
618 * libio/genops.c: Likewise.
619 * libio/freopen.c: Likewise.
620 * libio/freopen64.c: Likewise.
621 * libio/iofclose.c: Likewise.
622 * libio/iofdopen.c: Likewise.
623 * libio/iofflush.c: Likewise.
624 * libio/iofflush_u.c: Likewise.
625 * libio/iofgets.c: Likewise.
626 * libio/iofgets_u.c: Likewise.
627 * libio/iofopen.c: Likewise.
628 * libio/iofopncook.c: Likewise.
629 * libio/iofread.c: Likewise.
630 * libio/iofread_u.c: Likewise.
631 * libio/ioftell.c: Likewise.
632 * libio/iofwrite.c: Likewise.
633 * libio/iogetline.c: Likewise.
634 * libio/iogets.c: Likewise.
635 * libio/iogetwline.c: Likewise.
636 * libio/iopadn.c: Likewise.
637 * libio/iopopen.c: Likewise.
638 * libio/ioseekoff.c: Likewise.
639 * libio/ioseekpos.c: Likewise.
640 * libio/iosetbuffer.c: Likewise.
641 * libio/iosetvbuf.c: Likewise.
642 * libio/ioungetc.c: Likewise.
643 * libio/ioungetwc.c: Likewise.
644 * libio/iovdprintf.c: Likewise.
645 * libio/iovsprintf.c: Likewise.
646 * libio/iovsscanf.c: Likewise.
647 * libio/memstream.c: Likewise.
648 * libio/obprintf.c: Likewise.
649 * libio/oldfileops.c: Likewise.
650 * libio/oldiofclose.c: Likewise.
651 * libio/oldiofdopen.c: Likewise.
652 * libio/oldiofopen.c: Likewise.
653 * libio/oldiopopen.c: Likewise.
654 * libio/oldstdfiles.c: Likewise.
655 * libio/putc.c: Likewise.
656 * libio/setbuf.c: Likewise.
657 * libio/setlinebuf.c: Likewise.
658 * libio/stdfiles.c: Likewise.
659 * libio/strops.c: Likewise.
660 * libio/vasprintf.c: Likewise.
661 * libio/vscanf.c: Likewise.
662 * libio/vsnprintf.c: Likewise.
663 * libio/vswprintf.c: Likewise.
664 * libio/wfiledoalloc.c: Likewise.
665 * libio/wfileops.c: Likewise.
666 * libio/wgenops.c: Likewise.
667 * libio/wmemstream.c: Likewise.
668 * libio/wstrops.c: Likewise.
669 * libio/__fpurge.c: Likewise.
670 * libio/__fsetlocking.c: Likewise.
671 * assert/assert.c: Likewise.
672 * debug/fgets_chk.c: Likewise.
673 * debug/fgets_u_chk.c: Likewise.
674 * debug/fread_chk.c: Likewise.
675 * debug/fread_u_chk.c: Likewise.
676 * debug/gets_chk.c: Likewise.
677 * debug/obprintf_chk.c: Likewise.
678 * debug/vasprintf_chk.c: Likewise.
679 * debug/vdprintf_chk.c: Likewise.
680 * debug/vsnprintf_chk.c: Likewise.
681 * debug/vsprintf_chk.c: Likewise.
682 * malloc/mtrace.c: Likewise.
683 * misc/error.c: Likewise.
684 * misc/syslog.c: Likewise.
685 * stdio-common/asprintf.c: Likewise.
686 * stdio-common/fxprintf.c: Likewise.
687 * stdio-common/getw.c: Likewise.
688 * stdio-common/isoc99_fscanf.c: Likewise.
689 * stdio-common/isoc99_scanf.c: Likewise.
690 * stdio-common/isoc99_vfscanf.c: Likewise.
691 * stdio-common/isoc99_vscanf.c: Likewise.
692 * stdio-common/isoc99_vsscanf.c: Likewise.
693 * stdio-common/printf-prs.c: Likewise.
694 * stdio-common/printf_fp.c: Likewise.
695 * stdio-common/printf_fphex.c: Likewise.
696 * stdio-common/printf_size.c: Likewise.
697 * stdio-common/putw.c: Likewise.
698 * stdio-common/scanf.c: Likewise.
699 * stdio-common/sprintf.c: Likewise.
700 * stdio-common/tmpfile.c: Likewise.
701 * stdio-common/vfprintf.c: Likewise.
702 * stdio-common/vfscanf.c: Likewise.
703 * stdlib/strfmon_l.c: Likewise.
704 * sunrpc/openchild.c: Likewise.
705 * sunrpc/xdr_stdio.c: Likewise.
706 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
707 * sysdeps/mach/hurd/tmpfile.c: Likewise.
709 2012-05-24 Roland McGrath <roland@hack.frob.com>
711 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
713 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
714 in the third column, to generate for the shared library an IFUNC
715 that uses _dl_vdso_vsym.
716 * Makerules (COMPILE.c, compile-stdin.c): New variables.
717 * Makeconfig (object-suffixes-noshared): New variable.
719 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
720 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
721 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
722 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
725 * include/sys/time.h (__gettimeofday): Remove macro.
726 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
727 * time/gettimeofday.c (__gettimeofday): Remove #undef.
729 (__gettimeofday): Add libc_hidden_def.
730 (gettimeofday): Add libc_hidden_weak.
731 * sysdeps/mach/gettimeofday.c: Likewise.
732 * sysdeps/posix/gettimeofday.c: Likewise.
733 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
734 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
735 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
736 (__gettimeofday_internal): Remove strong_alias.
737 (__gettimeofday): Add libc_hidden_def.
738 (gettimeofday): Add libc_hidden_weak.
739 * sysdeps/unix/syscalls.list (gettimeofday):
740 Remove __gettimeofday_internal alias.
742 2012-05-24 Daniel Jacobowitz <drow@false.org>
743 H.J. Lu <hongjiu.lu@intel.com>
746 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
747 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
748 (largebin_index_32_big): New.
749 (largebin_index): Use it for 16-byte alignment.
750 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
751 correction with front_misalign.
753 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
755 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
756 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
758 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
760 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
762 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
764 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
766 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
768 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
770 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
772 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
774 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
776 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
778 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
781 * scripts/data/c++-types-x32-linux-gnu.data: New file.
782 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
784 2012-05-24 Joseph Myers <joseph@codesourcery.com>
788 * math/libm-test.inc (exp_test): Add test from bug 14036.
789 (pow_test): Add test from bug 10846.
791 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
793 (special_function): Do not include flags in test name.
794 (parse_args): Likewise.
795 * sysdeps/i386/fpu/libm-test-ulps: Update.
796 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
797 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
798 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
799 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
801 * math/gen-libm-test.pl (%beautify): Add entries for underflow
803 * math/libm-test.inc ("Philosophy"): Update comment about
805 (UNDERFLOW_EXCEPTION): New macro.
806 (UNDERFLOW_EXCEPTION_OK): Likewise.
807 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
808 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
809 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
810 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
811 (INVALID_EXCEPTION_OK): Update value.
812 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
813 (OVERFLOW_EXCEPTION_OK): Likewise.
814 (IGNORE_ZERO_INF_SIGN): Likewise.
815 (test_exceptions): Handle underflow exceptions.
816 (acos_test): Update for underflow exception expectations.
817 (cexp_test): Likewise.
818 (clog_test): Likewise.
819 (clog10_test): Likewise.
820 (csqrt_test): Likewise.
821 (ctan_test): Likewise.
822 (ctanh_test): Likewise.
823 (exp_test): Likewise.
824 (exp10_test): Likewise.
825 (exp2_test): Likewise.
826 (expm1_test): Likewise.
827 (fma_test): Likewise.
830 (nexttoward_test): Likewise.
831 (pow_test): Likewise.
832 (scalbn_test): Likewise.
833 (scalbln_test): Likewise.
834 (tan_test): Likewise.
836 * sysdeps/i386/fpu/libm-test-ulps: Update.
837 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
839 2012-05-23 David S. Miller <davem@davemloft.net>
841 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
842 (__libc_sigaction): Remove unused local variables.
844 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
846 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
848 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
850 mktime: avoid signed integer overflow
851 * time/mktime.c (__mktime_internal): Do not mishandle the case
852 where diff == INT_MIN.
854 mktime: simplify computation of average
855 * time/mktime.c (ranged_convert): Use new time_t_avg function
856 instead of rolling our own (probably-slower) code.
858 mktime: do not assume signed right shift propagates sign bit
859 * time/mktime.c (isdst_differ): New static function.
860 (__mktime_internal): No need to normalize tm_isdst now.
861 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
864 mktime: merge another wrapv change from gnulib
865 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
868 mktime: remove incorrect attempt at unusual arithmetics
869 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
870 The code didn't really work on such machines anyway.
871 (TYPE_MINIMUM): Assume two's complement.
872 (twos_complement_arithmetic): Verify that long_int and time_t
873 are two's complement (or unsigned, in the latter case).
875 mktime: check signed shifts on long_int and time_t, too
876 * time/mktime.c (SHR): Check that shifts work as desired
877 on the types long_int and time_t too, as SHR is used on
880 mktime: do not assume 'long' is wide enough
881 * time/mktime.c (verify): Move decl up.
882 (long_int): New type.
883 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
884 to remove assumption in the code that 'long' is wide enough to
885 store year values. This assumption is not true on x32 and on
886 some non-glibc platforms.
888 mktime: merge wrapv change from gnulib
889 * time/mktime.c (WRAPV): New macro.
890 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
891 (guess_time_tm, __mktime_internal): Do not assume that signed
892 integer overflow wraps around; modern compilers generate code
893 where this assumption is no longer valid.
895 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
897 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
898 Replace "jmp L(pseudo_end)" with "ret".
899 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
902 2012-05-23 Andreas Jaeger <aj@suse.de>
904 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
905 * sysdeps/unix/sysv/linux/poll.c: Remove file.
907 2012-05-23 Andreas Jaeger <aj@suse.de>
908 Maximilian Attems <max@stro.at>
910 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
913 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
915 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
916 code so that pseudo_end is just ret and the stack pointer is
917 correct also for static library in error case.
919 2012-05-23 Joseph Myers <joseph@codesourcery.com>
921 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
922 move to syscalls.list.
923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
928 * manual/install.texi (Running make install): Do not mention Linux
929 kernel version for which pt_chown is not needed.
930 (Linux): Do not mention problems with nscd with 2.0 kernels.
931 * INSTALL: Regenerated.
933 2012-05-23 Andreas Jaeger <aj@suse.de>
935 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
936 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
938 * sysdeps/unix/sysv/linux/s390/bits/mman.h
939 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
940 * sysdeps/unix/sysv/linux/sh/bits/mman.h
941 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
942 * sysdeps/unix/sysv/linux/i386/bits/mman.h
943 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
944 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
945 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
946 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
947 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
948 * sysdeps/unix/sysv/linux/bits/in.h
949 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
951 2012-05-22 Roland McGrath <roland@hack.frob.com>
953 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
954 (PREPARE_VERSION): Just use assert instead, it will be elided
955 under [NDEBUG] anyway.
957 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
959 * sysdeps/unix/sysv/linux/Makefile: Include
960 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
961 (sysdep_routines): Remove sysctl.
962 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
963 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
964 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
965 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
966 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
968 2012-05-22 Andreas Jaeger <aj@suse.de>
970 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
971 that pseudo_end is just ret and the stack pointer is correct also
972 for static library in error case.
974 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
977 * nss/nsswitch.c (defconfig_entries): New variable.
978 (__nss_database_lookup): Don't leak defconfig entries.
979 (nss_parse_service_list): Don't leak on error paths.
980 (free_database_entries): New function.
981 (free_defconfig): New function.
982 (free_mem): Move common code to free_database_entries.
984 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
986 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
988 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
990 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
991 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
992 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
994 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
995 (INTERNAL_SYSCALL_TYPES): Likewise.
996 (LOAD_ARGS_TYPES_[1-6]): Likewise.
997 (LOAD_REGS_TYPES_[1-6]): Likewise.
998 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
999 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
1001 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1003 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
1004 copysignl for GLIBC_2_0.
1005 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
1006 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
1007 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
1008 logbl for GLIBC_2_0.
1009 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1010 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1012 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1014 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
1015 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1017 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1020 * time/mktime.c: Update copyright years.
1022 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
1024 mktime: merge comment-quoting-style change from gnulib
1025 * time/mktime.c: Quote 'like this' in comments.
1026 The GNU coding standards suggest that we no longer quote `like this',
1027 as "`" and "'" are typically rendered asymmetrically nowadays.
1028 The typical gnulib style is to quote 'like this' when quoting
1029 code, and "like this" when quoting English.
1031 * time/mktime.c (compile-command): Add "-I.".
1033 mktime: merge mktime-internal.h change from gnulib
1034 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
1036 mktime: merge time_r change from gnulib
1037 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
1039 mktime: merge DEBUG change from gnulib
1040 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
1041 case system <time.h> has a #define.
1043 mktime: merge <sys/types.h> change from gnulib
1044 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
1045 since <time.t> is now guaranteed to define time_t.
1047 mktime: merge HAVE_CONFIG_H change from gnulib
1048 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
1050 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1052 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1055 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
1057 (struct rusage): Use anonymous union to pad each field to
1060 2012-05-21 David S. Miller <davem@davemloft.net>
1062 * Makefules (o-iterator): Remove .s cases.
1063 (compile-command.s): Delete.
1064 (COMPILE.s): Delete.
1065 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
1067 2012-05-21 Joseph Myers <joseph@codesourcery.com>
1069 * configure.in (libc_cv_predef_stack_protector): Only consider
1070 "foobar" and "__stack_chk_fail" lines in libc_undefs.
1071 * configure: Regenerated.
1073 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1075 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1076 New macro. Use R*LP on int and pointer.
1077 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
1078 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
1079 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
1080 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
1082 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
1083 [__WORDSIZE_TIME64_COMPAT32] instead of
1084 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
1085 (struct utmp): Likewise.
1086 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
1087 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
1089 (__WORDSIZE_TIME64_COMPAT32): This.
1090 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
1091 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
1092 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
1093 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
1094 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
1095 (__WORDSIZE_TIME64_COMPAT32): New macro.
1097 2012-05-21 Andreas Jaeger <aj@suse.de>
1099 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
1100 only if [SHARED]. Add prototype for __wcschr_ia32.
1102 2012-05-21 Roland McGrath <roland@hack.frob.com>
1104 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
1105 of %rbp unmolested in the jmp_buf while mangling the low bits.
1106 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
1107 unmolested high bits of %rbp while demangling the low bits.
1108 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
1110 2012-05-21 Andreas Jaeger <aj@suse.de>
1112 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
1113 * sunrpc/svc_simple.c: Use it for registerrpc.
1114 * sunrpc/xcrypt.c: Use it for passwd2des.
1116 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
1118 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1120 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
1121 Don't define if [__SYSCALL_WORDSIZE != 32].
1122 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
1125 2012-05-21 Bruno Haible <bruno@clisp.org>
1126 Andreas Jaeger <aj@suse.de>
1128 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
1129 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
1130 inptr and inend for must_buffer_ch.
1131 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
1132 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
1133 * stdio-common/Makefile (tests): Remove bug15.
1134 (bug15-ENV): Remove macro.
1135 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
1138 2012-05-19 Andreas Jaeger <aj@suse.de>
1139 Roland McGrath <roland@hack.frob.com>
1141 * manual/contrib.texi: Completely rewritten. It contains now an
1142 alphabetical list of contributors and their contributions.
1144 2012-05-21 Richard Henderson <rth@twiddle.net>
1146 * misc/getauxval.c (__getauxval): Use unsigned long int.
1147 * misc/sys/auxv.h: Include <sys/cdefs.h>.
1148 (getauxval): Use unsigned long int.
1150 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1152 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1154 2012-05-21 Roland McGrath <roland@hack.frob.com>
1156 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
1157 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
1158 __alignof__ (long double).
1160 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1162 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1164 2012-05-20 Richard Henderson <rth@twiddle.net>
1166 * misc/getauxval.c: New file.
1167 * misc/sys/auxv.h: New file.
1168 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
1169 (routines): Add getauxval.
1170 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
1171 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
1172 * elf/dl-sysdep.c (_dl_auxv): Remove.
1173 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
1174 * elf/dl-support.c (_dl_auxv): New variable.
1175 (_dl_aux_init): Initialize it.
1176 * manual/startup.texi (Auxiliary Vector): New node.
1177 * sysdeps/generic/bits/hwcap.h: New file.
1178 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
1179 * sysdeps/powerpc/sysdep.h: ... here. Include it.
1180 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
1181 * sysdeps/sparc/sysdep.h: ... here. Include it.
1182 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
1183 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
1184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
1187 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
1188 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
1189 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
1190 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1191 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1192 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
1193 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
1195 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1197 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1199 2012-05-19 David S. Miller <davem@davemloft.net>
1201 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1203 2012-05-19 Joseph Myers <joseph@codesourcery.com>
1206 * math/s_ccosh.c: Include <float.h>
1207 (__ccosh): Avoid internal overflow calculating sinh and cosh
1208 values before multiplying by sin and cos values.
1209 * math/s_ccoshf.c: Likewise.
1210 * math/s_ccoshl.c: Likewise.
1211 * math/s_csin.c: Likewise.
1212 * math/s_csinf.c: Likewise.
1213 * math/s_csinl.c: Likewise.
1214 * math/s_csinh.c: Likewise.
1215 * math/s_csinhf.c: Likewise.
1216 * math/s_csinhl.c: Likewise.
1217 * math/libm-test.inc (ccos_test): Add more tests.
1218 (ccosh_test): Likewise.
1219 (csin_test): Likewise.
1220 (csinh_test): Likewise.
1221 * sysdeps/i386/fpu/libm-test-ulps: Update.
1222 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1224 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
1226 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
1227 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
1229 * sysdeps/x86_64/x32/_itoa.h: Add comment.
1231 2012-05-19 Joseph Myers <joseph@codesourcery.com>
1233 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
1234 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
1235 * sysdeps/powerpc/soft-fp/Versions: Likewise.
1236 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
1237 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
1238 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
1239 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
1240 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
1241 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
1242 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
1243 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
1244 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
1245 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
1246 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
1247 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
1248 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
1249 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
1250 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
1251 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
1252 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
1253 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
1254 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
1255 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
1256 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
1257 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
1258 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
1259 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
1260 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
1261 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
1262 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
1263 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
1265 2012-05-18 Andreas Jaeger <aj@suse.de>
1267 * csu/.gitignore: Delete.
1269 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1271 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
1272 (timex): Use __syscall_slong_t.
1274 2012-05-18 Andreas Jaeger <aj@suse.de>
1275 Carlos O'Donell <carlos_odonell@mentor.com>
1277 * manual/install.texi (Configuring and compiling): Update
1278 description about files modified in the source directory.
1279 * INSTALL: Regenerated.
1281 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1283 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
1284 value. Use "or" to set return value to -1.
1285 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
1286 negate return value.
1288 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1290 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
1291 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
1292 failure if the compiler has Graphite support disabled.
1293 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
1295 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
1296 CFLAGS-memmove.c): Likewise.
1297 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
1300 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1302 * sysdeps/x86_64/x32/_itoa.h: New file.
1304 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
1305 getdents system call only if kernel and user dirents have the
1306 same d_ino and d_off.
1308 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1309 LLONG_MAX != LONG_MAX.
1310 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1311 (_fitoa_word): Likewise.
1313 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
1315 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
1316 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
1317 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
1319 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
1320 include <bits/wordsize.h>. Check __x86_64__ instead of
1322 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
1323 if __x86_64__ is defined. Use anonymous union on fpstate.
1325 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
1328 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
1330 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
1331 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
1332 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
1333 Refer to _rtld_local_ro instead of _rtld_global_ro.
1334 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
1336 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
1338 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
1340 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
1341 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
1342 of _rtld_global, and rtld_progname instead of _dl_argv[0].
1344 * sysdeps/powerpc/powerpc32/dl-machine.c
1345 (__elf_machine_runtime_setup) [PROF]: Don't reference
1348 2012-05-18 Andreas Jaeger <aj@suse.de>
1350 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
1351 function only available for GCCs before 3.4 since GCC 3.4
1352 introduced a builtin.
1354 (llrintf): Likewise.
1362 (nearbyint): Likewise.
1363 (nearbyintf): Likewise.
1369 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1371 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
1372 on both fields and cast pointer to __syscall_ulong_t.
1374 * bits/types.h (__fsword_t): New type.
1375 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
1376 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
1377 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1378 (__FSWORD_T_TYPE): Likewise.
1379 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1380 (__FSWORD_T_TYPE): Likewise.
1381 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1382 (__FSWORD_T_TYPE): Likewise.
1383 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
1384 (__FSWORD_T_TYPE): Likewise.
1385 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
1386 __SWORD_TYPE with __fsword_t.
1387 (statfs64): Likewise.
1389 2012-05-17 David S. Miller <davem@davemloft.net>
1391 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
1393 2012-05-17 Andreas Jaeger <aj@suse.de>
1395 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
1398 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1400 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
1402 2012-05-17 Andreas Jaeger <aj@suse.de>
1404 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
1407 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1409 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
1411 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1413 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
1414 * sysdeps/x86_64/tst-mallocalign1.c: New file.
1416 2012-05-17 Andreas Jaeger <aj@suse.de>
1417 Carlos O'Donell <carlos_odonell@mentor.com>
1420 * sysdeps/x86_64/multiarch/init-arch.h
1421 (bit_YMM_Usable): Rename to...
1422 (bit_AVX_Usable): ... this.
1423 (bit_FMA4_Usable): New macro.
1424 (bit_XMM_state): New macro.
1425 (bit_YMM_state): New macro.
1426 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
1427 [__ASSEMBLER__] (index_AVX_Usable): ... this.
1428 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
1429 (CPUID_OSXSAVE): New macro.
1430 (CPUID_AVX): New macro.
1431 (CPUID_FMA4): New macro.
1432 (index_YMM_Usable): Rename to...
1433 (index_AVX_Usable): ... this.
1434 (HAS_AVX): Use HAS_ARCH_FEATURE.
1435 (HAS_FMA4): Likewise.
1436 (HAS_YMM_USABLE): Remove.
1437 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1438 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
1440 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
1441 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
1442 * sysdeps/x86_64/multiarch/Makefile: Likewise.
1443 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
1444 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
1446 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1448 * math/libm-test.c: Support platforms without multiple rounding modes.
1449 * math/bug-nextafter.c: Support platforms without FP exceptions.
1450 * math/bug-nexttoward.c: Likewise.
1451 * math/test-fenv.c: Likewise.
1452 * math/test-misc.c: Likewise.
1453 * stdlib/bug-getcontext.c: Likewise.
1455 2012-05-17 Andreas Jaeger <aj@suse.de>
1457 * manual/examples/search.c (critter_cmp): Change signature to
1459 * manual/string.texi (Collation Functions): Likewise.
1461 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1463 * bits/types.h: Fold copyright years.
1464 * bits/typesizes.h: Likewise.
1465 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
1466 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
1467 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
1468 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
1469 * time/time.h: Likewise.
1471 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
1474 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
1475 in instead of returning them. Return void.
1476 (__libc_mallinfo): Accumulate over all arenas.
1477 (__malloc_stats): Adjust for change in int_mallinfo interface.
1479 2012-05-16 Roland McGrath <roland@hack.frob.com>
1482 * configure.in (NM): Add AC_CHECK_TOOL for it.
1483 (libc_extra_cflags): New substituted variable.
1484 Check for -fstack-protector being used implicitly.
1485 * configure: Regenerated.
1486 * config.make.in (config-extra-cflags): New variable,
1487 gets @libc_extra_cflags@.
1488 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
1491 * configure.in: Check for _FORTIFY_SOURCE being predefined.
1492 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
1493 * configure: Regenerated.
1494 * config.make.in (CPPUNDEFS): New substituted variable.
1495 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
1496 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
1497 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
1499 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1501 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
1502 (mq_attr): Use __syscall_slong_t.
1504 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1506 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
1507 Check __x86_64__ instead of __WORDSIZE.
1508 (_STAT_VER_LINUX): Likewise.
1509 (stat): Check __x86_64__ instead of __WORDSIZE. Use
1510 __syscall_ulong_t and __syscall_slong_t.
1513 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1515 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
1517 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1519 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
1521 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1523 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
1526 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
1527 include <bits/wordsize.h>. Check __x86_64__ instead of
1529 (greg_t): Use "__extension__ long long int" if __x86_64__ is
1531 (mcontext_t): Replace "unsigned long" with "unsigned long long".
1533 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
1534 include <bits/wordsize.h>. Check __x86_64__ instead of
1536 (user_regs_struct): Use "__extension__ unsigned long long"
1537 instead of "unsigned long" if __x86_64__ is defined.
1538 (user): Likewise. Pad after pointer field if __ILP32__ is
1541 2012-05-16 Joseph Myers <joseph@codesourcery.com>
1543 * configure.in (makeinfo): Require version 4.5 or later. Allow
1545 * configure: Regenerated.
1546 * manual/install.texi (texinfo): Increase version requirement to
1548 * INSTALL: Regenerated.
1550 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
1552 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1554 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
1556 * sysdeps/x86_64/x32/ffs.c: New file.
1558 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
1560 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
1561 defined. Use __syscall_ulong_t.
1562 (shminfo): Use __syscall_ulong_t.
1563 (shm_info): Likewise.
1565 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
1568 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
1570 (msgqnum_t): Use __syscall_ulong_t.
1571 (msglen_t): Likewise.
1572 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
1575 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
1576 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1578 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
1580 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
1581 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
1583 * sysvipc/sys/msg.h (msgbuf): Replace long int with
1586 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
1587 include <bits/wordsize.h>. Check __x86_64__ instead of
1590 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
1591 "unsigned long long int" if __x86_64__ is defined.
1592 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
1594 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
1595 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1596 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
1598 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
1600 (GET_PC): Cast to uintptr_t first.
1601 (GET_FRAME): Likewise.
1602 (GET_STACK): Likewise.
1604 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
1605 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
1606 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
1607 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
1608 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
1609 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
1610 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
1611 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
1612 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
1613 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
1614 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
1615 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
1616 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1617 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
1618 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
1619 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
1620 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
1621 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
1622 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
1623 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
1624 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
1625 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
1626 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
1627 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
1628 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
1629 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
1630 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
1631 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
1632 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
1634 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
1636 * Makerules (+depfiles): Also collect depfiles from .oS in
1638 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
1639 .oS, $(libnldbl-routines)).
1641 * Makerules (native-compile-mkdep-flags): Define.
1642 * sunrpc/Makefile (extra-objs): Add $(addprefix
1643 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
1644 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
1645 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
1646 calling $(make-target-directory).
1648 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1650 * bits/types.h (__snseconds_t): Removed.
1651 * time/time.h (struct timespec): Replace __snseconds_t with
1653 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
1654 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
1656 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1657 (__SNSECONDS_T_TYPE): Likewise.
1658 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1659 (__SNSECONDS_T_TYPE): Likewise.
1660 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1661 (__SNSECONDS_T_TYPE): Likewise.
1663 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1665 * sysdeps/mach/hurd/bits/typesizes.h
1666 (__SYSCALL_SLONG_TYPE): New macro.
1667 (__SYSCALL_ULONG_TYPE): Likewise.
1669 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1671 * bits/types.h (__syscall_slong_t): New type.
1672 (__syscall_ulong_t): Likewise.
1674 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
1675 (__SYSCALL_ULONG_TYPE): Likewise.
1676 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1677 (__SYSCALL_SLONG_TYPE): Likewise.
1678 (__SYSCALL_ULONG_TYPE): Likewise.
1679 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1680 (__SYSCALL_SLONG_TYPE): Likewise.
1681 (__SYSCALL_ULONG_TYPE): Likewise.
1682 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1683 (__SYSCALL_SLONG_TYPE): Likewise.
1684 (__SYSCALL_ULONG_TYPE): Likewise.
1686 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1688 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
1689 Add sigaltstack-offsets.sym.
1690 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
1691 <sigaltstack-offsets.h>.
1692 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
1693 longjmp_msg pointer.
1694 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
1695 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
1697 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
1699 2012-05-15 Joseph Myers <joseph@codesourcery.com>
1701 * elf/stackguard-macros.h: Remove file.
1702 * sysdeps/generic/stackguard-macros.h: New file.
1703 * sysdeps/i386/stackguard-macros.h: Likewise.
1704 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
1705 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
1706 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
1707 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
1708 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
1709 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
1710 * sysdeps/x86_64/stackguard-macros.h: Likewise.
1711 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
1712 <elf/stackguard-macros.h>.
1715 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
1716 __aligned__ in attribute.
1717 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
1718 (gregset_t): Likewise.
1720 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1722 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
1723 * sysdeps/x86_64/64/Implies-after: Here. New file.
1724 * sysdeps/x86_64/x32/Implies-after: New file.
1726 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1728 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
1729 and access return value for _dl_profile_fixup. Use R10_LP to
1732 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1734 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
1736 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1738 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
1739 * sysdeps/x86_64/x32/sysdep.h: New file.
1741 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1743 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
1744 * sysdeps/x86_64/setjmp.S: Likewise.
1746 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1748 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
1749 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
1750 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
1751 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
1752 remove unused global constant.
1754 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
1756 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
1757 include of <not-cancel.h>.
1759 2012-05-15 Roland McGrath <roland@hack.frob.com>
1761 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
1763 2012-05-15 Jeff Law <law@redhat.com>
1764 Andreas Jaeger <aj@suse.de>
1767 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
1769 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
1770 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
1771 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
1772 code changing __hst_map_handle.map.
1774 2012-05-15 Roland McGrath <roland@hack.frob.com>
1776 * configure.in (sysnames): Look for Implies-before and Implies-after
1778 * configure: Regenerated.
1780 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1782 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
1783 8-byte data alignment with LP_SIZE alignment.
1785 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1787 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
1790 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1792 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
1794 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1796 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
1797 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
1798 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
1800 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1802 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1804 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
1805 (stackinfo_sub_sp): Likewise.
1807 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1809 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
1812 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1814 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
1817 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1819 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
1822 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1824 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
1826 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1828 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
1829 into R11_LP and load __x86_64_shared_cache_size_half into
1832 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1834 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
1837 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1839 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
1841 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
1843 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
1845 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
1846 powerpc32/power7/fpu/s_logb.c via #include.
1847 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
1848 powerpc32/power7/fpu/s_logbf.c via #include.
1849 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
1850 powerpc32/power7/fpu/s_logbl.c via #include.
1852 2012-05-15 Joseph Myers <joseph@codesourcery.com>
1854 * README.libm: Remove file.
1856 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1858 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
1859 count for x32. Use R*_LP and omit operand-size suffix.
1861 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1863 * shlib-versions: Move x86_64-.*-linux.* entries to ...
1864 * sysdeps/x86_64/64/shlib-versions: Here. New file.
1865 * sysdeps/x86_64/x32/shlib-versions: New file.
1867 2012-05-14 Roland McGrath <roland@hack.frob.com>
1869 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
1870 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
1871 Use _dl_fatal_printf instead.
1873 2012-05-14 Joseph Myers <joseph@codesourcery.com>
1875 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
1876 set if not set by the user. Do not allow for being unset.
1877 * sysdeps/unix/sysv/linux/configure: Regenerated.
1879 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1881 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
1882 the `q' suffix from lea and replace .quad with ASM_ADDR.
1884 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1886 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
1887 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
1889 (PTR_DEMANGLE): Likewise.
1891 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1893 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
1895 (ASM_ADDR): Likewise.
1913 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1915 * sysdeps/x86_64/x32/dl-machine.h: New file.
1917 2012-05-14 Andreas Jaeger <aj@suse.de>
1919 * manual/Makefile (subdir): Remove export of subdir.
1920 (all): Remove target.
1921 (.PHONY): Remove all from list.
1922 (mkinstalldirs): Remove.
1923 (.PHONY): Remove installdirs from list.
1924 ($(inst_infodir)/libc.info): Use make-target-directory.
1925 (installdirs): Remove.
1927 (glibc-targets): Remove.
1930 ($(objpfx)stubs ../po/manual.pot): Remove.
1931 ($(objpfx)stamp%): Remove.
1932 (make-target-directory): Remove.
1933 (subdir_install): Remove.
1941 * manual/.gitignore: Remove, it's not needed anymore.
1942 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
1944 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
1946 (texis): Renamed to $(objpfx)texis.
1947 (texis-path): New, contains path to generated files.
1948 (chapters.%): Use texis-path for complete path, add extra argument
1950 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
1951 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
1952 (summary,texi, stamp-summary): Use complete path of
1953 files. Generate files in build dir.
1954 (dir-add.texi): Build in build dir.
1955 (libm-err.texi,stamp-libm-err): Likewise.
1956 (version.texi, stamp-version): Likewise.
1957 (.%c.texi): Likewise.
1958 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
1959 (mostlyclean): Remove target.
1960 (realclean): Remove target.
1961 (generated): Add new variable with contents from mostlyclean and
1962 realclean, remove entries duplicated in common-mostlyclean, add
1963 stamp-libm-err and stamp-version.
1964 (generated-dirs): Add libc directory.
1965 ($(inst_infodir)/libc.info): Install files from build dir.
1967 * manual/install.texi (Configuring and compiling): Adjust since
1968 the info files are not part of the tar ball anymore.
1970 2012-05-14 Andreas Jaeger <aj@suse.de>
1972 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
1975 2012-05-14 Joseph Myers <joseph@codesourcery.com>
1978 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
1979 to 2.2.0 where earlier.
1980 * sysdeps/unix/sysv/linux/configure: Regenerated.
1981 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
1982 Remove conditional code.
1983 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
1984 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
1985 Remove conditional code.
1986 [!__NR_lchown]: Likewise.
1987 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
1988 [__NR_lchown]: Likewise.
1989 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
1990 comment referencing __ASSUME_LCHOWN_SYSCALL.
1991 * sysdeps/unix/sysv/linux/i386/sigaction.c
1992 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1993 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1994 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
1995 Remove conditional code.
1996 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
1997 (__protocol_available): Remove #if 0 code.
1998 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
2000 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
2001 * sysdeps/unix/sysv/linux/kernel-features.h
2002 (__ASSUME_GETCWD_SYSCALL): Don't define.
2003 (__ASSUME_REALTIME_SIGNALS): Likewise.
2004 (__ASSUME_PREAD_SYSCALL): Likewise.
2005 (__ASSUME_PWRITE_SYSCALL): Likewise.
2006 (__ASSUME_POLL_SYSCALL): Likewise.
2007 (__ASSUME_LCHOWN_SYSCALL): Likewise.
2008 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
2010 (__ASSUME_SIOCGIFNAME): Don't define.
2011 (__ASSUME_MSG_NOSIGNAL): Likewise.
2012 (__ASSUME_SENDFILE): Define unconditionally.
2013 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
2014 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
2016 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
2017 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
2018 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2019 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2020 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
2021 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2022 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
2024 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2025 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2027 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2028 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
2030 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2031 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2033 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2034 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
2036 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2037 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
2039 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2040 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
2042 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2043 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
2045 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2046 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2047 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
2048 Remove conditional code.
2049 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2050 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2051 Remove conditional code.
2052 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2053 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
2054 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
2055 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2056 Remove conditional code.
2057 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2058 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
2059 Remove conditional code.
2060 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2061 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
2062 Remove conditional code.
2063 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2064 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2065 Remove conditional code.
2066 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2067 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2068 Remove conditional code.
2069 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2070 * sysdeps/unix/sysv/linux/sh/pwrite64.c
2071 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2072 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2073 * sysdeps/unix/sysv/linux/sigaction.c
2074 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2075 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2076 * sysdeps/unix/sysv/linux/sigpending.c
2077 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2078 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2079 * sysdeps/unix/sysv/linux/sigprocmask.c
2080 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2081 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2082 * sysdeps/unix/sysv/linux/sigsuspend.c
2083 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2084 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2085 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2086 (__libc_missing_rt_sigs): Remove.
2087 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
2088 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
2089 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
2090 Remove conditional code.
2091 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
2092 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
2094 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
2095 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
2096 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
2097 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
2099 2012-05-14 Andreas Jaeger <aj@suse.de>
2101 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
2102 it's not used in glibc.
2103 (__coshm1): Likewise.
2104 (__acosh1p): Likewise.
2107 * manual/string.texi (Copying and Concatenation): Add missing
2108 variable in concat example.
2109 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2111 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2114 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
2115 __builtin_clzl with __builtin_clzll.
2117 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2120 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
2123 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2125 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
2126 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
2127 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
2128 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
2130 2012-05-14 Mike Frysinger <vapier@gentoo.org>
2132 * NEWS: Update ia64 info.
2134 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
2136 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
2139 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
2141 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
2142 * sysdeps/unix/syscalls.list (dup3): Likewise.
2143 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
2144 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
2146 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2148 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
2149 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
2151 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2153 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
2155 (TLS_IE): Use mov/add instead of movq/addq to load thread
2157 (TLS_GD_PREFIX): New.
2160 2012-05-11 David S. Miller <davem@davemloft.net>
2162 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
2163 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
2164 (_FPU_SETCW): Likewise.
2166 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2168 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
2171 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
2174 * iconvdata/gb18030.c: Update tables.
2175 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
2176 characters specially.
2177 (BODY for TO_LOOP): Add encoding of missing ranges.
2179 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
2182 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
2183 * sysdeps/mach/hurd/dup3.c: Likewise.
2184 * sysdeps/mach/hurd/readlinkat.c: Likewise.
2185 * sysdeps/powerpc/memmove.c:: Likewise.
2187 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2189 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
2190 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
2192 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2194 * elf/elf.h (R_X86_64_RELATIVE64): New.
2195 (R_X86_64_NUM): Updated.
2196 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
2197 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
2198 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
2199 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
2200 tst-quad1pie tst-quad2pie
2201 (modules-names): Add tst-quadmod1 tst-quadmod2.
2202 ($(objpfx)tst-quad1): New dependency.
2203 ($(objpfx)tst-quad2): Likewise.
2204 ($(objpfx)tst-quad1pie): Likewise.
2205 ($(objpfx)tst-quad2pie): Likewise.
2206 * sysdeps/x86_64/tst-quad1.c: New file.
2207 * sysdeps/x86_64/tst-quad1pie.c: New file.
2208 * sysdeps/x86_64/tst-quad2.c: Likewise.
2209 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
2210 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
2211 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
2212 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
2213 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
2215 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2217 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
2218 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
2219 * streams/stropts.h (t_scalar_t): Define type.
2221 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
2222 (_PATH_PRESERVE): Set to "/var/lib".
2223 (_PATH_RWHODIR): Set to "/var/spool/rwho".
2225 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
2228 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
2229 if __dir_mkfile succeeded.
2231 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
2232 checking for _hurd_dtablesize. Unlock it right after having
2233 finished _hurd_dtable allocation.
2235 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2237 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
2238 * sysdeps/mach/hurd/configure: Regenerated.
2239 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
2240 special-casing to...
2241 * sysdeps/gnu/configure.in: ... this new file.
2242 * sysdeps/unix/sysv/linux/configure: Regenerated.
2243 * sysdeps/gnu/configure: New generated file.
2245 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
2246 for Linux: use nsec instead of usec, as well as:
2247 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
2248 members of type struct timespec.
2249 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
2251 (struct stat64): Likewise.
2252 (_STATBUF_ST_NSEC): New macro.
2253 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
2255 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
2256 __strtoul_internal rather than strtoul.
2258 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2260 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
2263 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2265 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
2266 which preserves existing values.
2267 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
2269 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2271 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
2272 TIMEOUT values. Return EINVAL for NFDS values either negative or
2273 greater than FD_SETSIZE.
2275 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2277 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
2278 allocated, call __vm_protect to finish enabling the existing space, and
2279 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
2280 allocate the remainder.
2282 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2284 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
2285 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
2287 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2289 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
2290 sysdeps/mach/hurd/readlink.c.
2292 * posix/tst-sysconf.c (posix_options): Only use
2293 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
2294 _POSIX_SYNCHRONIZED_IO when they are defined
2295 * sysdeps/mach/hurd/bits/posix_opt.h:
2296 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
2297 (_XOPEN_REALTIME): Undefine macro.
2298 (_XOPEN_REALTIME_THREADS): Undefine macro.
2299 (_XOPEN_SHM): Undefine macro.
2300 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
2302 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
2304 (_POSIX_ASYNC_IO): Undefine macro.
2305 (_POSIX_PRIORITIZED_IO): Undefine macro.
2306 (_POSIX_SPIN_LOCKS): Define macro to -1.
2308 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
2309 SA_NODEFER, SA_RESETHAND.
2310 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
2311 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
2314 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2316 * elf/Makefile (pldd-modules): Define unconditionally.
2318 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2320 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
2322 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2324 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
2325 Return ENOENT when name is empty.
2326 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
2328 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2330 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
2332 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
2334 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2336 Fix mlock in all cases except non-readable pages.
2337 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
2338 instead of VM_PROT_ALL as parameter to __vm_wire function.
2340 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
2341 (__mkdir): When path is `/', just fail with EEXIST.
2342 * sysdeps/mach/hurd/mkdirat.c: Likewise.
2344 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2346 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
2347 <sys/uio.h> (for writev).
2348 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
2349 and <sys/param.h> (for MIN).
2351 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2353 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
2354 REQUESTED_TIME. Properly set the remaining time and return EINTR
2357 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2359 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
2360 Depend on against $(link-rpcuserlibs).
2362 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2364 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
2365 (__libc_stack_end): Do not use attribute_relro.
2366 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
2367 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
2368 to libthread-provided value.
2369 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
2372 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2375 * bits/libc-lock.h (__libc_once_get): New macro.
2376 * sysdeps/mach/bits/libc-lock.h: Likewise.
2377 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
2378 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
2379 instead of using implementation details.
2381 * libio/fileops.c: Unconditionally include <kernel-features.h>.
2382 * libio/freopen.c: Likewise.
2383 * libio/freopen64.c: Likewise.
2384 * misc/syslog.c: Likewise.
2385 * nscd/connections.c: Likewise.
2386 * nscd/netgroupcache.c: Likewise.
2387 * sysdeps/posix/getcwd.c: Likewise.
2389 2012-05-10 Roland McGrath <roland@hack.frob.com>
2391 * math/w_ilogbf.c: Add #include <limits.h>.
2393 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2395 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
2396 path instead of returning without unlocking.
2398 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
2399 immediate-write ioctls.
2400 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
2402 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2404 * sysdeps/mach/hurd/i386/init-first.c (init): Use
2405 __builtin_frame_address instead of making assumptions about the
2406 location of the return address relative to DATA. Force early load of
2408 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
2409 __builtin_frame_address.
2412 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
2413 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
2414 implement dup3 and do some further code clean-ups.
2415 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
2416 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
2418 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2420 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
2422 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
2423 HURD_CRITICAL_END around holding _hurd_dtable_lock.
2424 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
2425 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
2426 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
2429 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
2430 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
2431 when handler == SIG_ERR, not when handler != SIG_ERR.
2433 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2435 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
2436 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
2439 accept4 for GNU Hurd.
2440 * include/sys/socket.h (__libc_accept4): New prototype.
2441 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
2442 to implement __libc_accept4.
2443 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
2445 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
2447 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
2448 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
2449 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
2452 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2454 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
2456 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2458 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
2459 assertion on O_CLOEXEC flag.
2460 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
2461 * hurd/intern-fd.c: Likewise.
2462 * hurd/port2fd.c: Likewise.
2464 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2467 * bits/in.h (IPV6_PKTINFO): Define new macro.
2468 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
2470 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2475 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
2476 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2477 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
2478 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
2479 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2480 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
2481 * math/libm-test.inc (logb_test) : Additional logb tests.
2483 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
2484 Andreas Jaeger <aj@suse.de>
2486 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
2487 * configure: Regenerated.
2488 * config.h.in (LINK_OBSOLETE_RPC): New macro.
2489 * config.make.in (link-obsolete-rpc): New substituted variable.
2490 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
2491 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
2492 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2493 (shared-only-routines): Don't set it under [link-obsolete-rpc],
2494 so that libc.a contains the symbols.
2495 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2496 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
2497 * sunrpc/auth_none.c: Likewise.
2498 * sunrpc/auth_unix.c: Likewise.
2499 * sunrpc/authdes_prot.c: Likewise.
2500 * sunrpc/authuxprot.c: Likewise.
2501 * sunrpc/clnt_gen.c: Likewise.
2502 * sunrpc/clnt_perr.c: Likewise.
2503 * sunrpc/clnt_raw.c: Likewise.
2504 * sunrpc/clnt_simp.c: Likewise.
2505 * sunrpc/clnt_tcp.c: Likewise.
2506 * sunrpc/clnt_udp.c: Likewise.
2507 * sunrpc/clnt_unix.c: Likewise.
2508 * sunrpc/des_crypt.c: Likewise.
2509 * sunrpc/des_soft.c: Likewise.
2510 * sunrpc/get_myaddr.c: Likewise.
2511 * sunrpc/key_call.c: Likewise.
2512 * sunrpc/key_prot.c: Likewise.
2513 * sunrpc/netname.c: Likewise.
2514 * sunrpc/pm_getmaps.c: Likewise.
2515 * sunrpc/pm_getport.c: Likewise.
2516 * sunrpc/pmap_clnt.c: Likewise.
2517 * sunrpc/pmap_prot.c: Likewise.
2518 * sunrpc/pmap_prot2.c: Likewise.
2519 * sunrpc/pmap_rmt.c: Likewise.
2520 * sunrpc/publickey.c: Likewise.
2521 * sunrpc/rpc_cmsg.c: Likewise.
2522 * sunrpc/rpc_common.c: Likewise.
2523 * sunrpc/rpc_dtable.c: Likewise.
2524 * sunrpc/rpc_prot.c: Likewise.
2525 * sunrpc/rpc_thread.c: Likewise.
2526 * sunrpc/rtime.c: Likewise.
2527 * sunrpc/svc.c: Likewise.
2528 * sunrpc/svc_auth.c: Likewise.
2529 * sunrpc/svc_raw.c: Likewise.
2530 * sunrpc/svc_run.c: Likewise.
2531 * sunrpc/svc_tcp.c: Likewise.
2532 * sunrpc/svc_udp.c: Likewise.
2533 * sunrpc/svc_unix.c: Likewise.
2534 * sunrpc/svcauth_des.c: Likewise.
2535 * sunrpc/xcrypt.c: Likewise.
2536 * sunrpc/xdr.c: Likewise.
2537 * sunrpc/xdr_array.c: Likewise.
2538 * sunrpc/xdr_float.c: Likewise.
2539 * sunrpc/xdr_intXX_t.c: Likewise.
2540 * sunrpc/xdr_mem.c: Likewise.
2541 * sunrpc/xdr_rec.c: Likewise.
2542 * sunrpc/xdr_ref.c: Likewise.
2543 * sunrpc/xdr_sizeof.c: Likewise.
2544 * sunrpc/xdr_stdio.c: Likewise.
2546 2012-05-10 Roland McGrath <roland@hack.frob.com>
2548 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
2549 change. Update copyright years.
2551 2012-05-10 Joseph Myers <joseph@codesourcery.com>
2553 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
2555 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
2556 Joseph Myers <joseph@codesourcery.com>
2557 Paul Pluzhnikov <ppluzhnikov@google.com>
2560 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
2562 [cross-compiling] (extra-libs): Likewise.
2563 [cross-compiling] (extra-libs-others): Likewise.
2564 [cross-compiling] (librpcsvc-routines): Likewise.
2565 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
2566 [cross-compiling] (omit-deps): Likewise.
2567 (sunrpc-CPPFLAGS): New variable.
2568 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
2569 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
2570 (cross-rpcgen-objs): New variable.
2571 (extra-objs): Append $(cross-rpcgen-objs).
2572 ($(cross-rpcgen-objs)): New rule.
2573 ($(objpfx)cross-rpcgen): Likewise.
2574 (rpcgen-cmd): Define to use $(built-program-file). Expand
2576 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
2577 ($(objpfx)x%.stmp): Likewise.
2578 * sunrpc/proto.h [IS_IN_build] (_): Define.
2579 [IS_IN_build] (_libc_intl_domainname): Likewise.
2581 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2583 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
2584 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
2585 and R_X86_64_TPOFF64.
2587 2012-05-10 Joseph Myers <joseph@codesourcery.com>
2589 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
2590 sysdeps/unix/sysv/syscalls.list.
2593 * sysdeps/unix/sysv/syscalls.list: Remove file.
2595 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
2598 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
2599 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
2600 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
2601 (__LC_IDENTIFICATION): Make these macros useful in #if
2602 expressions, as required by C99.
2604 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
2606 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
2607 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
2610 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
2612 * stdlib/longlong.h: Updated from GCC.
2614 2012-05-09 Andreas Jaeger <aj@suse.de>
2616 * nscd/nscd.c (run_modes): Make named enum, reorder so that
2617 default is first entry.
2618 (run_mode): Set type.
2619 (main): Remove informal message about syslog.
2620 (options): Fix typo.
2623 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
2626 (llrintf): Likewise.
2630 (nearbyint): Likewise.
2631 (nearbyintf): Likewise.
2633 2012-05-09 Andreas Jaeger <aj@suse.de>
2634 Pedro Alves <palves@redhat.com>
2636 * nscd/nscd.c (run_mode): Use enum.
2637 (main): Cleanup coding style issue.
2639 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
2640 Andreas Jaeger <aj@suse.de>
2642 * nscd/nscd.c (go_background): Replaced with...
2643 (run_mode): ... this.
2644 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
2645 (options): Add -F --foreground.
2646 (main): Implement it.
2647 (parse_opt): Parse it.
2649 2012-05-09 Andreas Jaeger <aj@suse.de>
2652 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
2653 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
2654 -Wconversion warning.
2655 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
2658 2012-05-09 Joseph Myers <joseph@codesourcery.com>
2660 * conform/data/locale.h-data (NULL): Use macro-constant. Require
2662 (LC_ALL): Use macro-int-constant.
2663 (LC_COLLATE): Likewise.
2664 (LC_CTYPE): Likewise.
2665 (LC_MESSAGES): Likewise.
2666 (LC_MONETARY): Likewise.
2667 (LC_NUMERIC): Likewise.
2668 (LC_TIME): Likewise.
2669 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
2670 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
2671 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2672 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
2674 [C99-based standards] (float_t): Expect type.
2675 [C99-based standards] (double_t): Expect type.
2676 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
2678 [C99-based standards] (HUGE_VALL): Likewise.
2679 [C99-based standards] (INFINITY): Likewise.
2680 [C99-based standards] (NAN): Likewise.
2681 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
2682 [C99-based standards] (FP_NAN): Likewise.
2683 [C99-based standards] (FP_NORMAL): Likewise.
2684 [C99-based standards] (FP_SUBNORMAL): Likewise.
2685 [C99-based standards] (FP_ZERO): Likewise.
2686 [C99-based standards] (FP_FAST_FMA): Use
2687 optional-macro-int-constant. Specify type. Require == 1.
2688 [C99-based standards] (FP_FAST_FMAF): Likewise.
2689 [C99-based standards] (FP_FAST_FMAL): Likewise.
2690 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
2691 [C99-based standards] (FP_ILOGBNAN): Likewise.
2692 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
2694 [C99-based standards] (MATH_ERREXCEPT): Likewise.
2695 [C99-based standards] (math_errhandling): Specify type.
2696 [ISO99 || ISO11] (signgam): Do not allow.
2697 [non-C99-based standards] (copysignf): Do not allow.
2698 [non-C99-based standards] (exp2f): Likewise.
2699 [non-C99-based standards] (log2f): Likewise.
2700 [non-C99-based standards] (modff): Allow.
2701 [non-C99-based standards] (erff): Do not allow.
2702 [non-C99-based standards] (erfcf): Likewise.
2703 [non-C99-based standards] (gammaf): Likewise.
2704 [non-C99-based standards] (hypotf): Likewise.
2705 [non-C99-based standards] (j0f): Likewise.
2706 [non-C99-based standards] (j1f): Likewise.
2707 [non-C99-based standards] (jnf): Likewise.
2708 [non-C99-based standards] (lgammaf): Likewise.
2709 [non-C99-based standards] (tgammaf): Likewise.
2710 [non-C99-based standards] (y0f): Likewise.
2711 [non-C99-based standards] (y1f): Likewise.
2712 [non-C99-based standards] (ynf): Likewise.
2713 [non-C99-based standards] (isnanf): Likewise.
2714 [non-C99-based standards] (acoshf): Likewise.
2715 [non-C99-based standards] (asinhf): Likewise.
2716 [non-C99-based standards] (atanhf): Likewise.
2717 [non-C99-based standards] (cbrtf): Likewise.
2718 [non-C99-based standards] (expm1f): Likewise.
2719 [non-C99-based standards] (ilogbf): Likewise.
2720 [non-C99-based standards] (log1pf): Likewise.
2721 [non-C99-based standards] (logbf): Likewise.
2722 [non-C99-based standards] (nextafterf): Likewise.
2723 [non-C99-based standards] (remainderf): Likewise.
2724 [non-C99-based standards] (rintf): Likewise.
2725 [non-C99-based standards] (scalbf): Likewise.
2726 [non-C99-based standards] (copysignl): Likewise.
2727 [non-C99-based standards] (exp2l): Likewise.
2728 [non-C99-based standards] (log2l): Likewise.
2729 [non-C99-based standards] (modfl): Allow.
2730 [non-C99-based standards] (erfl): Do not allow.
2731 [non-C99-based standards] (erfcl): Likewise.
2732 [non-C99-based standards] (gammal): Likewise.
2733 [non-C99-based standards] (hypotl): Likewise.
2734 [non-C99-based standards] (j0l): Likewise.
2735 [non-C99-based standards] (j1l): Likewise.
2736 [non-C99-based standards] (jnl): Likewise.
2737 [non-C99-based standards] (lgammal): Likewise.
2738 [non-C99-based standards] (tgammal): Likewise.
2739 [non-C99-based standards] (y0l): Likewise.
2740 [non-C99-based standards] (y1l): Likewise.
2741 [non-C99-based standards] (ynl): Likewise.
2742 [non-C99-based standards] (isnanl): Likewise.
2743 [non-C99-based standards] (acoshl): Likewise.
2744 [non-C99-based standards] (asinhl): Likewise.
2745 [non-C99-based standards] (atanhl): Likewise.
2746 [non-C99-based standards] (cbrtl): Likewise.
2747 [non-C99-based standards] (expm1l): Likewise.
2748 [non-C99-based standards] (ilogbl): Likewise.
2749 [non-C99-based standards] (log1pl): Likewise.
2750 [non-C99-based standards] (logbl): Likewise.
2751 [non-C99-based standards] (nextafterl): Likewise.
2752 [non-C99-based standards] (remainderl): Likewise.
2753 [non-C99-based standards] (rintl): Likewise.
2754 [non-C99-based standards] (scalbl): Likewise.
2755 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2756 [non-C99-based standards] (FP_*): Do not allow.
2757 [C99-based standards] (FP_*): Change to
2758 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
2759 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2761 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
2762 (SIG_ERR): Likewise.
2763 [X/Open-based standards] (SIG_HOLD): Likewise.
2764 (SIG_IGN): Likewise.
2765 (SIGABRT): Use macro-int-constant. Specify type. Require
2770 (SIGSEGV): Likewise.
2772 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
2773 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
2774 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
2775 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
2776 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
2777 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
2778 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
2779 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
2780 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
2781 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
2782 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
2783 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
2784 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
2785 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
2786 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
2787 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
2788 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
2789 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
2790 [X/Open-based standards] (SIGTRAP): Likewise.
2791 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
2792 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
2793 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
2794 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
2795 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2798 2012-05-08 Ian Wienand <ianw@vmware.com>
2801 * time/tzset.c (__tzset_parse_tz): Update default rules for
2802 daylight time changes in the Energy Policy Act of 2005.
2804 2012-05-09 Andreas Jaeger <aj@suse.de>
2807 * elf/ldconfig.c (parse_conf): Change string to make clear that
2808 ldconfig only issued a warning if ld.so.conf does not exist.
2810 2012-05-08 David S. Miller <davem@davemloft.net>
2812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
2813 movxtod instead of popping the value on the stack.
2815 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2817 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
2819 * config.h.in: Add HAVE_ARM_PCS_VFP.
2821 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
2824 * include/features.h: Warn if user requests __FORTIFY_SOURCE
2825 checking but the checks are disabled for any reason.
2827 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
2829 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
2830 and ELF64_R_TYPE with ELFW(R_TYPE).
2832 2012-05-08 Joseph Myers <joseph@codesourcery.com>
2834 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
2837 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
2838 (settimeofday): Likewise.
2840 2012-05-08 Mike Frysinger <vapier@gentoo.org>
2842 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
2843 a struct th_u2 inside the union, and move tu_block/tu_code into
2844 a new th_u3 union of tu_block/tu_code inside of that. Move
2845 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
2846 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
2847 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
2848 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
2849 (th_stuff): Change to th_u1.tu_stuff.
2851 (th_msg): Change to th_u1.th_u2.tu_data.
2853 2012-05-07 David S. Miller <davem@davemloft.net>
2855 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2858 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
2859 (SETUP_PIC_REG): Use it.
2860 (SETUP_PIC_REG_LEAF): Use it.
2862 2012-05-07 Joseph Myers <joseph@codesourcery.com>
2866 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2868 (EXPL_FINITE): Likewise.
2870 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
2871 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
2873 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2875 (EXPL_FINITE): Likewise.
2877 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
2878 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
2880 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
2881 test of -max_value argument for long double.
2882 * sysdeps/i386/fpu/libm-test-ulps: Update.
2883 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2885 2012-05-06 David S. Miller <davem@davemloft.net>
2887 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
2888 quad soft-float symbols whose references which are compiler
2890 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
2892 2012-05-06 Joseph Myers <joseph@codesourcery.com>
2896 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2898 (EXPL_FINITE): Likewise.
2902 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
2903 Adjust comments for base varying.
2904 (__expl_finite): Change alias to EXPL_FINITE.
2905 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
2907 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
2908 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
2909 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
2910 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
2911 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2913 (EXPL_FINITE): Likewise.
2917 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
2918 Adjust comments for base varying.
2919 (__expl_finite): Change alias to EXPL_FINITE.
2920 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
2922 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2925 * math/libm-test.inc (check_float_internal): Correct ulp
2926 calculation for subnormal expected results.
2928 2012-05-06 Andreas Jaeger <aj@suse.de>
2930 * Makeconfig (+math-flags): New, set to -frounding-math.
2931 (+cflags): Add +math-flags so that all of glibc gets compiled with
2934 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
2936 2012-05-05 Joseph Myers <joseph@codesourcery.com>
2938 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
2944 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
2945 (__ieee754_expl): Allow for and saturate large arguments.
2946 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
2947 (u_threshold): Likewise.
2948 (__exp): Call __ieee754_exp before checking for overflow and
2950 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
2951 (u_threshold): Likewise.
2952 (__expf): Call __ieee754_expf before checking for overflow and
2954 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
2955 (u_threshold): Likewise.
2956 (__expl): Call __ieee754_expl before checking for overflow and
2958 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
2959 (__ieee754_expl): Allow for and saturate large arguments.
2960 * math/libm-test.inc (exp_test): Add another test. Do not allow
2961 missing overflow exception on overflow.
2962 (expm1_test): Do not allow missing overflow exception on overflow.
2964 * sysdeps/i386/fpu/e_expl.c: Move to ...
2965 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
2966 rather than using inline asm.
2967 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
2968 * sysdeps/x86_64/fpu/e_expl.S: Copy from
2969 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
2971 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
2978 2012-05-04 Joseph Myers <joseph@codesourcery.com>
2980 * sysdeps/unix/syscalls.list (adjtime): Add entry from
2981 sysdeps/unix/common/syscalls.list.
2984 (ftruncate): Likewise.
2985 (getrusage): Likewise.
2986 (gettimeofday): Likewise.
2987 (setpgid): Likewise.
2988 (setregid): Likewise.
2989 (setreuid): Likewise.
2990 (sigaction): Likewise.
2991 (truncate): Likewise.
2992 (vhangup): Likewise.
2993 * sysdeps/unix/common/syscalls.list: Remove file.
2994 * sysdeps/unix/bsd/Implies: Don't include unix/common.
2995 * sysdeps/unix/sysv/linux/Implies: Likewise.
2997 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
2999 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
3000 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
3001 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
3003 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3005 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
3007 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
3008 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
3010 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
3011 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
3013 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
3014 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
3016 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
3017 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
3019 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
3020 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
3022 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
3023 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
3025 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3027 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
3029 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
3031 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
3033 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
3034 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
3036 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
3038 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
3040 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
3042 2012-05-04 Joseph Myers <joseph@codesourcery.com>
3044 * sysdeps/unix/common/bits/dirent.h: Remove file.
3045 * sysdeps/unix/common/bits/fcntl.h: Likewise.
3047 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
3048 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
3049 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
3050 * sysdeps/unix/bsd/isatty.c: Likewise.
3051 * sysdeps/unix/bsd/tcdrain.c: Likewise.
3052 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
3053 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
3055 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3058 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
3059 long double comparison inaccuracies.
3060 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
3061 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3063 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
3065 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
3066 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
3068 2012-05-04 Joseph Myers <joseph@codesourcery.com>
3071 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
3072 nonzero digits before rounding a hex value.
3073 * stdlib/tst-strtod.c (tests): Add another test.
3075 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3077 * sysdeps/s390/fpu/libm-test-ulps: Update.
3079 2012-05-03 Andreas Jaeger <aj@suse.de>
3081 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
3082 does not get optimized out.
3083 (malloc_opt_barrier): New.
3085 2012-05-03 Andreas Jaeger <aj@suse.de>
3086 Roland McGrath <roland@hack.frob.com>
3088 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
3089 intermediate file deletion.
3090 (generated): Add .symlist files.
3092 2012-05-03 Joseph Myers <joseph@codesourcery.com>
3095 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
3096 Redirect under this condition.
3097 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3098 [__USE_GNU] (__dprintf_chk): Not under this condition.
3099 [__USE_GNU] (__vdprintf_chk): Likewise.
3100 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
3101 under this condition.
3102 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3103 [__USE_XOPEN2K8] (dprintf): Define under this condition.
3104 [__USE_XOPEN2K8] (vdprintf): Likewise.
3105 [__USE_GNU] (__dprintf_chk): Not under this condition.
3106 [__USE_GNU] (__vdprintf_chk): Likewise.
3107 [__USE_GNU] (dprintf): Likewise.
3108 [__USE_GNU] (vdprintf): Likewise.
3110 2012-05-03 Roland McGrath <roland@hack.frob.com>
3112 * elf/Makefile (common-generated): Set this instead of generated for
3113 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
3114 $(all-built-dso)-derived lists.
3116 2012-05-03 Andreas Jaeger <aj@suse.de>
3118 * sysdeps/i386/fpu/libm-test-ulps: Update.
3122 * scripts/gen-FAQ.pl: Likewise.
3123 * manual/install.texi (Installation): Point to online location of
3125 * Makefile (files-for-dist): Remove FAQ.
3128 2012-05-02 Allan McRae <allan@archlinux.org>
3130 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
3131 (LDFLAGS-reldepmod5.so): Likewise.
3132 (LDFLAGS-reldep6mod1.so): Likewise.
3133 (LDFLAGS-reldep6mod4.so): Likewise.
3134 (LDFLAGS-reldep8mod3.so): Likewise.
3135 (LDFLAGS-unload4mod1.so): Likewise.
3136 (LDFLAGS-unload4mod2.so): Likewise.
3137 (LDFLAGS-tst-initorder): Likewise.
3138 (LDFLAGS-tst-initordera2.so): Likewise.
3139 (LDFLAGS-tst-initordera3.so): Likewise.
3140 (LDFLAGS-tst-initordera4.so): Likewise.
3141 (LDFLAGS-tst-initorderb2.so): Likewise.
3142 (LDFLAGS-noload): Likewise.
3143 (LDFLAGS-next): Likewise.
3144 (LDFLAGS-order2mod1.so): Likewise.
3145 (LDFLAGS-order2mod2.so): Likewise.
3146 (LDFLAGS-tst-initorder2): Likewise.
3147 (LDFLAGS-tst-initorder2a.so): Likewise.
3148 (LDFLAGS-tst-initorder2b.so): Likewise.
3149 (LDFLAGS-tst-initorder2c.so): Likewise.
3150 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
3152 2012-05-02 David S. Miller <davem@davemloft.net>
3154 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3156 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
3159 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
3161 2012-05-02 Andreas Jaeger <aj@suse.de>
3163 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
3164 since we manipulate rounding mode.
3165 (CPPFLAGS-test-idouble.c): Likewise.
3166 (CPPFLAGS-test-ifloat.c): Likewise.
3167 (CFLAGS-test-ldouble.c): Likewise.
3168 (CFLAGS-test-double.c): Likewise.
3169 (CFLAGS-test-float.c): Likewise.
3170 (CFLAGS-test-misc.c): Likewise.
3171 (CFLAGS-test-test-fenv.c): Likewise.
3173 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3177 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
3178 comparisons to determine direction to adjust input.
3180 2012-05-01 Roland McGrath <roland@hack.frob.com>
3182 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
3183 output to the target.
3185 * scripts/localplt.awk: New file.
3186 * elf/Makefile ($(objpfx)check-localplt): Target removed.
3187 (check-localplt-CFLAGS): Variable removed.
3188 ($(all-built-dso:=.jmprel)): New static pattern rule.
3189 (generated): Add those targets.
3190 (localplt-built-dso): New variable.
3191 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
3193 * elf/check-localplt.c: File removed.
3195 * scripts/check-execstack.awk: New file.
3196 * elf/Makefile ($(objpfx)check-execstack): Target removed.
3197 (check-execstack-CFLAGS): Variable removed.
3198 ($(objpfx)check-execstack.h): Target removed.
3199 ($(objpfx)execstack-default): New target.
3200 (generated): Add that instead of check-execstack.h.
3201 ($(all-built-dso:=.phdr)): New static pattern rule.
3202 (generated): Add those targets.
3203 * elf/check-execstack.c: File removed.
3205 * scripts/check-textrel.awk: New file.
3206 * elf/Makefile ($(objpfx)check-textrel): Target removed.
3207 (check-textrel-CFLAGS): Variable removed.
3208 (all-built-dso): Use := to define.o
3209 ($(all-built-dso:=.dyn)): New static pattern rule.
3210 (generated): Add those targets.
3211 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
3212 * config.make.in (READELF): New substituted variable.
3213 * elf/check-textrel.c: File removed.
3215 2012-05-01 Joseph Myers <joseph@codesourcery.com>
3217 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3219 * conform/data/ctype.h-data [C99-based standards] (isblank):
3221 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
3222 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
3223 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3224 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
3225 Specify type. Require positive value.
3228 [ISO || POSIX] (EILSEQ): Do not expect.
3229 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
3230 Specify type. Require positive value.
3231 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
3232 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
3233 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
3234 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
3235 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
3236 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
3237 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
3238 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
3239 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
3240 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
3241 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
3242 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
3243 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
3244 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
3245 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
3246 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
3247 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
3248 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
3249 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
3250 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
3251 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
3252 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
3253 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
3254 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
3255 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
3256 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
3257 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
3258 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
3259 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
3260 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
3261 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
3262 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
3263 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
3264 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
3265 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
3266 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
3267 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
3268 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
3269 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
3270 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
3271 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
3272 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
3273 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
3274 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
3275 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
3276 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
3277 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
3278 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
3279 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
3280 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
3281 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
3282 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
3283 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
3284 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
3285 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
3286 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
3287 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
3288 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
3289 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
3290 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
3291 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
3292 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
3293 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
3294 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
3295 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
3296 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
3297 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
3298 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
3299 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
3300 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
3301 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
3302 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
3303 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
3304 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
3305 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
3306 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
3307 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
3309 (FLT_ROUNDS): Expect as macro, not constant.
3310 (FLT_MANT_DIG): Use macro-int-constant.
3311 (DBL_MANT_DIG): Likewise.
3312 (LDBL_MANT_DIG): Likewise.
3313 (FLT_DIG): Likewise.
3314 (DBL_DIG): Likewise.
3315 (LDBL_DIG): Likewise.
3316 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
3317 (DBL_MIN_EXP): Likewise.
3318 (LDBL_MIN_EXP): Likewise.
3319 (FLT_MAX_EXP): Use macro-int-constant.
3320 (DBL_MAX_EXP): Likewise.
3321 (LDBL_MAX_EXP): Likewise.
3322 (FLT_MAX_10_EXP): Likewise.
3323 (DBL_MAX_10_EXP): Likewise.
3324 (LDBL_MAX_10_EXP): Likewise.
3325 (FLT_MAX): Use macro-constant.
3326 (DBL_MAX): Likewise.
3327 (LDBL_MAX): Likewise.
3328 (FLT_EPSILON): Use macro-constant. Give upper bound.
3329 (DBL_EPSILON): Likewise.
3330 (LDBL_EPSILON): Likewise.
3331 (FLT_MIN): Likewise.
3332 (DBL_MIN): Likewise.
3333 (LDBL_MIN): Likewise.
3334 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
3335 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
3336 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
3337 [ISO11] (FLT_HAS_SUBNORM): Likewise.
3338 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
3339 [ISO11] (DBL_DECIMAL_DIG): Likewise.
3340 [ISO11] (FLT_DECIMAL_DIG): Likewise.
3341 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
3342 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
3343 [ISO11] (FLT_TRUE_MIN): Likewise.
3344 [ISO11] (LDBL_TRUE_MIN): Likewise.
3345 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3346 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
3347 (SCHAR_MIN): Use macro-int-constant. Specify type.
3348 (SCHAR_MAX): Likewise.
3349 (UCHAR_MAX): Likewise.
3350 (CHAR_MIN): Likewise.
3351 (CHAR_MAX): Likewise.
3352 (MB_LEN_MAX): Use macro-int-constant.
3353 (SHRT_MIN): Use macro-int-constant. Specify type.
3354 (SHRT_MAX): Likewise.
3355 (USHRT_MAX): Likewise.
3356 (INT_MAX): Likewise.
3357 (INT_MIN): Use macro-int-constant. Specify type. Make upper
3359 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
3361 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3363 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
3364 bound negative. Suffix upper bound with "L".
3365 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3367 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
3369 [C99-based standards] (LLONG_MAX): Likewise.
3370 [C99-based standards] (ULLONG_MAX): Likewise.
3371 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
3373 [ISO11] (max_align_t): Require type.
3374 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3376 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
3377 from $CFLAGS, without defining away __attribute__ calls.
3378 (checknamespace): Use $CFLAGS_namespace.
3380 * conform/conformtest.pl (@keywords): Only include C99 keywords
3381 for standards based on C99 or C11.
3383 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
3385 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
3388 * conform/conformtest.pl: Handle "macro-int-constant" and test for
3389 usability of symbols in #if.
3391 * conform/conformtest.pl: If macro or constant types start
3392 "promoted:", expect the symbol to be of the following type
3393 promoted by the integer promotions.
3395 * conform/conformtest.pl: Parse all "constant" and "macro" lines
3396 in one place. Also handle "macro-constant".
3398 * conform/conformtest.pl: Only accept expected macro values with
3399 "==". Parse all "macro" lines in one place.
3400 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
3402 * conform/conformtest.pl: Handle braced types on "constant" lines
3403 instead of handling "typed-constant".
3404 * conform/data/signal.h-data: Use "constant" instead of
3407 * conform/conformtest.pl: Handle "optional-" at start of lines in
3408 one place rather than duplicating several cases. Handle each
3409 format of "macro" line with initial "optional-".
3411 * conform/conformtest.pl: Only accept expected constant or
3412 optional-constant values with "==". Parse all "constant" lines in
3413 one place. Parse all "optional-constant" lines in one place.
3414 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
3415 * conform/data/fmtmsg.h-data: Likewise.
3416 * conform/data/netinet/in.h-data: Likewise.
3417 * conform/data/tar.h-data: Likewise.
3418 * conform/data/limits.h-data: Use "==" form on "constant" and
3419 "optional-constant" lines.
3421 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
3422 Use -std=c99 for XOPEN2K.
3423 (@knownproblems): Remove.
3424 (newtoken): Don't check %isknown.
3426 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
3427 Do not expect macro.
3428 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
3429 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
3430 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
3431 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
3432 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
3433 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
3434 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
3435 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
3436 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
3437 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
3438 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
3439 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
3440 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
3441 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
3442 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
3443 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
3444 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
3445 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
3446 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
3447 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
3448 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
3449 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
3450 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
3451 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
3452 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
3453 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
3454 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
3455 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
3456 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
3457 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
3458 [XPG3] (acosh): Likewise.
3459 [XPG3] (asinh): Likewise.
3460 [XPG3] (atanh): Likewise.
3461 [XPG3] (cbrt): Likewise.
3462 [XPG3] (expm1): Likewise.
3463 [XPG3] (ilogb): Likewise.
3464 [XPG3] (log1p): Likewise.
3465 [XPG3] (logb): Likewise.
3466 [XPG3] (nextafter): Likewise.
3467 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
3468 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
3469 [XPG3] (remainder): Likewise.
3470 [XPG3] (rint): Likewise.
3471 [XPG3 || XPG4 || UNIX98] (round): Likewise.
3472 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
3473 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
3474 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
3475 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
3476 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
3477 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
3478 [UNIX98 || XOPEN2K] (scalb): Expect.
3479 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
3480 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
3481 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
3482 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
3483 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
3484 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
3485 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
3486 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
3487 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
3488 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
3489 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
3490 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
3491 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
3492 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
3493 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
3494 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
3495 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
3496 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
3497 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
3498 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
3499 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
3500 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
3501 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
3502 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
3503 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
3504 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
3505 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
3506 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
3507 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
3508 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
3509 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
3510 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
3511 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
3512 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
3513 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
3514 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
3515 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
3516 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
3517 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
3518 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
3519 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
3520 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
3521 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
3522 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
3523 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
3524 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
3525 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
3526 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
3527 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
3528 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
3529 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
3530 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
3531 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
3532 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
3533 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
3534 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
3535 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
3536 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
3537 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
3538 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
3539 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
3540 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
3541 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
3542 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
3543 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
3544 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
3545 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
3546 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
3547 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
3548 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
3549 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
3550 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
3551 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
3552 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
3553 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
3554 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
3555 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
3556 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
3557 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
3558 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
3559 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
3560 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
3561 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
3562 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
3563 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
3564 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
3565 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
3566 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
3567 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
3568 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
3569 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
3570 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
3571 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
3572 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
3573 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
3574 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
3575 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
3576 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
3577 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
3578 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
3579 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
3580 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
3581 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
3582 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
3583 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
3584 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
3585 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
3586 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
3587 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
3588 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
3589 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
3590 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
3591 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
3592 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
3593 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
3594 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
3595 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
3596 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
3597 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
3598 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
3599 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
3600 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
3601 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
3602 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
3603 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
3604 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
3605 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
3606 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
3607 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
3608 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
3609 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
3610 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
3611 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
3612 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
3613 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
3614 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
3615 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
3617 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
3618 _XOPEN_SOURCE_EXTENDED for XPG4.
3620 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
3622 * Makeconfig (localtime): Remove variable.
3623 (inst_localtime-file): Likewise.
3625 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
3627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
3629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
3633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
3637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
3639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
3643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3646 2012-05-01 Joseph Myers <joseph@codesourcery.com>
3650 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
3651 comparisons to determine direction to adjust input.
3652 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
3653 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
3654 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
3656 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
3658 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
3660 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
3661 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
3663 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
3665 * math/libm-test.inc (nexttoward_test): Add more tests.
3667 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
3670 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
3671 in version GLIBC_2.1, not GLIBC_2.0.
3672 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
3675 2012-04-30 Joseph Myers <joseph@codesourcery.com>
3678 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
3680 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
3681 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
3682 * math/libm-test.inc (acos_test): Add more tests.
3683 (asin_test): Likewise.
3684 * sysdeps/i386/fpu/libm-test-ulps: Update.
3685 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3688 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
3690 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
3691 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
3692 * math/libm-test.inc (acos_test_tonearest): New function.
3693 (acos_test_towardzero): Likewise.
3694 (acos_test_downward): Likewise.
3695 (acos_test_upward): Likewise.
3696 (asin_test_tonearest): Likewise.
3697 (asin_test_towardzero): Likewise.
3698 (asin_test_downward): Likewise.
3699 (asin_test_upward): Likewise.
3700 (main): Call the new functions.
3701 * sysdeps/i386/fpu/libm-test-ulps: Update.
3702 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3706 * math/e_exp10.c: Include <float.h>.
3707 (__ieee754_exp10): Handle underflow here rather than multiplying
3708 large negative argument by M_LN10.
3709 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
3711 * math/e_exp10l.c: Include <float.h>.
3712 (__ieee754_exp10l): Handle underflow here rather than multiplying
3713 large negative argument by M_LN10l.
3714 * math/libm-test.inc (exp10_test): Add another test. Do not allow
3715 spurious overflow exception on underflow.
3717 2012-04-29 Marek Polacek <polacek@redhat.com>
3719 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
3720 (__fortify_function): New macro.
3721 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
3722 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
3723 __extern_always_inline.
3724 * libio/bits/stdio2.h: Likewise.
3725 * libio/bits/stdio.h: Likewise.
3726 * string/string.h: Likewise.
3727 * string/bits/string3.h: Likewise.
3728 * include/stdio.h: Likewise.
3729 * stdlib/bits/stdlib.h: Likewise.
3730 * stdlib/stdlib.h: Likewise.
3731 * rt/bits/mqueue2.h: Likewise.
3732 * rt/mqueue.h: Likewise.
3733 * posix/bits/unistd.h: Likewise.
3734 * posix/unistd.h: Likewise.
3735 * io/bits/poll2.h: Likewise.
3736 * io/bits/fcntl2.h: Likewise.
3737 * io/fcntl.h: Likewise.
3738 * io/sys/poll.h: Likewise.
3739 * misc/bits/syslog.h: Likewise.
3740 * misc/bits/syslog-ldbl.h: Likewise.
3741 * misc/sys/syslog.h: Likewise.
3742 * socket/bits/socket2.h: Likewise.
3743 * socket/sys/socket.h: Likewise.
3744 * debug/tst-chk1.c: Likewise.
3745 * wcsmbs/bits/wchar2.h: Likewise.
3746 * wcsmbs/bits/wchar-ldbl.h: Likewise.
3747 * wcsmbs/wchar.h: Likewise.
3749 2012-04-29 Andreas Jaeger <aj@suse.de>
3751 * Makerules (tests): Remove enable-check-abi protection.
3752 (check-abi-warn): Remove.
3753 (check-abi-%): Remove check-abi-warn usage.
3755 * configure.in: Remove check-abi configure option.
3756 * configure: Regenerated.
3757 * config.make.in (enable-check-abi): Remove.
3759 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
3762 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
3763 double functions to double *_finite functions.
3766 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
3767 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
3769 * stdio-common/Makefile (tests): Add tst-sprintf3.
3770 * stdio-common/tst-sprintf3.c: New file.
3772 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
3773 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
3775 2012-04-28 Joseph Myers <joseph@codesourcery.com>
3777 * conform/conformtest.pl: Remove duplicate typed-constant
3780 2012-04-28 David S. Miller <davem@davemloft.net>
3782 * Makerules (%.abilist): Add vpath on sysdep_dirs.
3783 (check-abi-%): Remove AWK script prerequisite and explicit
3785 (check-abi): Rewrite to just diff the symlist with the abilist.
3786 (config-tls, config-abi-config): Delete, no longer used.
3787 (update-abi-%): Remove AWK script and explicit abilist directory.
3788 (update-abi): Rewrite to simply compare and conditionally copy the
3789 symlist and the sysdep abilist file. Remove update-abi-config
3791 * abilist/ld.abilist: Remove.
3792 * abilist/libBrokenLocale.abilist: Remove.
3793 * abilist/libanl.abilist: Remove.
3794 * abilist/libcrypt.abilist: Remove.
3795 * abilist/libdl.abilist: Remove.
3796 * abilist/librt.abilist: Remove.
3797 * abilist/libthread_db.abilist: Remove.
3798 * abilist/libutil.abilist: Remove.
3799 * scripts/extract-abilist.awk: Remove.
3800 * scripts/merge-abilist.awk: Remove.
3801 * sysdeps/generic/libcidn.abilist: New file.
3802 * sysdeps/generic/libnss_compat.abilist: New file.
3803 * sysdeps/generic/libnss_db.abilist: New file.
3804 * sysdeps/generic/libnss_dns.abilist: New file.
3805 * sysdeps/generic/libnss_files.abilist: New file.
3806 * sysdeps/generic/libnss_hesiod.abilist: New file.
3807 * sysdeps/generic/libnss_nis.abilist: New file.
3808 * sysdeps/generic/libnss_nisplus.abilist: New file.
3809 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
3810 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
3811 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
3813 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
3814 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
3815 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
3816 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
3817 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
3818 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
3819 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
3820 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
3821 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
3823 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
3824 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
3825 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
3826 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
3828 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
3829 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
3830 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
3831 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
3832 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
3833 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
3835 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
3836 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
3837 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
3839 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
3840 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
3842 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
3844 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
3846 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
3848 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
3850 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
3852 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
3854 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
3856 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
3858 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
3860 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
3862 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
3864 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
3866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
3868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
3870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
3872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
3874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
3876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
3878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
3880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
3882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
3886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
3888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
3890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
3892 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
3893 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
3895 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
3897 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
3899 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
3901 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
3903 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
3905 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
3907 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3909 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
3911 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
3913 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
3915 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
3917 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
3918 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
3920 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
3922 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
3924 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
3926 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
3928 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
3930 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
3932 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3934 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
3936 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
3938 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
3940 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
3942 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
3943 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
3944 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
3946 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
3947 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
3948 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
3949 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
3950 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
3951 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
3952 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
3953 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
3954 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
3955 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
3956 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
3957 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
3959 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
3961 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
3963 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
3965 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
3967 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
3969 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
3971 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3973 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
3975 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
3977 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
3979 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
3981 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
3982 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
3984 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
3986 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
3988 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
3990 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
3992 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
3994 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
3996 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3998 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
4000 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
4002 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
4004 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
4007 2012-04-28 Joseph Myers <joseph@codesourcery.com>
4009 * conform/conformtest.pl: Fix typo in handling typed-constant from
4012 2012-04-27 Joseph Myers <joseph@codesourcery.com>
4014 * README: Cut down references to pre-2.6 Linux kernels and
4015 Linuxthreads. Update lists of configurations in libc and ports
4016 and sort alphabetically. Say "or newer" with Linux kernel version
4019 * config.h.in [IS_IN_build]: Allow compiling without optimization.
4021 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4024 * math/libm-test.inc (logb_test_downward): New test to expose
4025 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
4028 2012-04-27 Joseph Myers <joseph@codesourcery.com>
4031 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
4033 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
4034 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
4036 2012-04-26 Joseph Myers <joseph@codesourcery.com>
4038 * sysdeps/unix/i386/brk.S: Remove file.
4039 * sysdeps/unix/i386/dl-brk.S: Likewise.
4040 * sysdeps/unix/i386/pipe.S: Likewise.
4041 * sysdeps/unix/i386/sigreturn.S: Likewise.
4042 * sysdeps/unix/i386/syscall.S: Likewise.
4043 * sysdeps/unix/i386/vfork.S: Likewise.
4044 * sysdeps/unix/i386/wait.S: Likewise.
4046 * sysdeps/unix/common/tcsendbrk.c: Move to ...
4047 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
4049 * configure.in (arm*-none*): Do not allow without
4050 --enable-hacker-mode.
4051 (netbsd*): Remove case setting base_os.
4052 (386bsd*): Likewise.
4053 (freebsd*): Likewise.
4057 (ultrix*): Likewise.
4058 (newsos*): Likewise.
4068 (solaris[2-9]*): Likewise.
4070 * configure: Regenerated.
4072 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4075 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
4076 overflow or cancellation in calculating denominator.
4077 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
4078 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
4079 down expression to avoid unexpected rounding in newer GCCs.
4080 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
4082 2012-04-26 David S. Miller <davem@davemloft.net>
4084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
4085 long-double compat symbols.
4086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
4090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4091 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
4092 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
4093 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
4094 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
4095 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
4096 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
4097 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
4098 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4100 2012-04-25 David S. Miller <davem@davemloft.net>
4102 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
4103 HWCAP_* values only after the memory barriers have been defined.
4104 (atomic_full_barrier): Define.
4105 (atomic_read_barrier): Define.
4106 (atomic_write_barrier): Define.
4108 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4110 * shlib-versions: Add libgcc_s version information.
4111 * sysdeps/generic/libgcc_s.h: Remove.
4112 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
4114 * sysdeps/gnu/unwind-resume.c: Likewise.
4115 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
4117 2012-04-25 David S. Miller <davem@davemloft.net>
4119 * sysdeps/unix/sparc/brk.S: Delete.
4120 * sysdeps/unix/sparc/dl-brk.S: Delete.
4121 * sysdeps/unix/sparc/pipe.S: Delete.
4122 * sysdeps/unix/sparc/sysdep.S: Delete.
4123 * sysdeps/unix/sparc/sysdep.h: Delete.
4124 * sysdeps/unix/sparc/vfork.S: Delete.
4125 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
4126 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
4127 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
4128 ret_ERRVAL, r0, r1, MOVE): Define.
4129 (JUMPTARGET): Remove.
4130 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
4131 sysdeps/unix/sparc/sysdep.h
4132 (ENTRY, END): Remove.
4133 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4135 2012-04-25 Joseph Myers <joseph@codesourcery.com>
4137 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
4138 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
4141 * timezone/README: Update upstream location and email address for
4143 * timezone/zdump.c: Update from tzcode 2012b.
4144 * timezone/zic.c: Likewise.
4146 * configure.in (libc_cv_as_needed): Remove test.
4147 * configure: Regenerated.
4148 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
4149 conditional definition.
4150 [$(have-as-needed) != yes] (no-as-needed): Likewise.
4151 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
4152 * config.make.in (have-as-needed): Remove variable.
4154 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4155 Paul Pluzhnikov <ppluzhnikov@google.com>
4157 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
4160 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
4162 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
4163 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
4164 * sysdeps/sh/strlen.S: Likewise.
4166 2012-04-24 Joseph Myers <joseph@codesourcery.com>
4168 * sysdeps/unix/fork.S: Remove file.
4169 * sysdeps/unix/i386/fork.S: Likewise.
4170 * sysdeps/unix/sparc/fork.S: Likewise.
4172 * sysdeps/unix/system.c: Remove file.
4173 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
4175 * sysdeps/unix/getegid.S: Remove file.
4176 * sysdeps/unix/geteuid.S: Likewise.
4178 2012-04-24 Roland McGrath <roland@hack.frob.com>
4180 * scripts/check-localplt.awk: New file.
4181 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
4183 * scripts/data/localplt-generic.data: Add a comment.
4185 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
4186 NODE when __dir_mkfile failed.
4187 * sysdeps/mach/hurd/symlinkat.c: Likewise.
4188 Reported by Ludovic Courtès <ludo@gnu.org>.
4190 2012-04-24 Andreas Jaeger <aj@suse.de>
4192 * Makerules (common-clean): Also remove gen-as-const-headers
4195 2012-04-24 Joseph Myers <joseph@codesourcery.com>
4197 * Makerules (native-compile): Do not change working directory for
4198 build. Use $(OUTPUT_OPTION) in command.
4199 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
4201 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4204 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
4205 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
4206 * math/libm-test.inc (floor_test): Add more tests.
4207 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
4209 2012-04-24 Joseph Myers <joseph@codesourcery.com>
4211 * sysdeps/unix/getdents.c: Remove file.
4212 * sysdeps/unix/sysv/getdents.c: Likewise.
4213 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
4215 * sysdeps/unix/syscalls.list (madvise): Add syscall from
4216 sysdeps/unix/mman/syscalls.list.
4218 (mprotect): Likewise.
4221 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
4222 * sysdeps/unix/mman/syscalls.list: Remove.
4223 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
4225 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
4226 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
4227 * configure: Regenerated.
4228 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
4230 * config.make.in (libgcc_s_suffix): Remove variable.
4232 2012-04-23 Joseph Myers <joseph@codesourcery.com>
4234 * sysdeps/unix/sysv/gethostname.c: Move to ...
4235 * sysdeps/posix/gethostname.c: ... here.
4237 * sysdeps/unix/execve.S: Remove file.
4239 * sysdeps/unix/_exit.S: Remove file.
4241 2012-04-23 Andreas Jaeger <aj@suse.de>
4244 * manual/Makefile: Remove make dist support, there's no
4245 need for a stand-alone documentation tar ball.
4246 (TEXI2DVI): Define always, it's not in Makeconfig.
4250 (glibc-doc-$(edition).tar): Removed
4254 (ETAGS): Remove, it's in Makeconfig.
4255 (move-if-change): Remove, it's in Makeconfig.
4257 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
4260 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
4261 (strtod, strtof, strtold, strtol, strtoul, strtoq)
4262 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
4263 (strtod_l, strtof_l, strtold_l): Remove __wur.
4264 It is not necessarily an error to ignore strtol's return value.
4265 One can reliably look at the stored endptr to decide whether
4266 the number had valid syntax.
4268 2012-04-21 Andreas Jaeger <aj@suse.de>
4271 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
4273 2012-04-21 Joseph Myers <joseph@codesourcery.com>
4275 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
4276 * sysdeps/unix/sysv/Versions: Remove file.
4278 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
4281 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4283 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
4286 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
4287 version from __vm86.
4289 2012-04-20 Joseph Myers <joseph@codesourcery.com>
4291 * sysdeps/unix/common/lxstat.c: Remove file.
4292 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
4294 * sysdeps/unix/sysv/Makefile: Remove file.
4296 * sysdeps/unix/sysv/direct.h: Remove file.
4298 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
4299 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
4300 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
4301 * sysdeps/unix/sysv/bits/signum.h: Likewise.
4302 * sysdeps/unix/sysv/bits/stat.h: Likewise.
4303 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
4304 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
4306 * sysdeps/unix/sysv/setrlimit.c: Remove file.
4308 * sysdeps/unix/xmknod.c: Remove file.
4309 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
4311 * sysdeps/unix/sysv/settimeofday.c: Remove file.
4313 * sysdeps/unix/sysv/i386/time.S: Remove file.
4315 * sysdeps/unix/fxstat.c: Remove file.
4316 * sysdeps/unix/xstat.c: Likewise.
4317 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
4319 * sysdeps/unix/sysv/sigaction.c: Remove file.
4321 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
4322 (sysdep_headers): Remove variable.
4323 [termio.h not in sysdep_headers] (generated): Likewise.
4324 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
4325 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
4326 * sysdeps/unix/sysv/tcdrain.c: Likewise.
4327 * sysdeps/unix/sysv/tcflow.c: Likewise.
4328 * sysdeps/unix/sysv/tcflush.c: Likewise.
4329 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
4330 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
4331 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
4332 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
4333 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
4335 * sysdeps/unix/siglist.c: Remove file.
4337 * sysdeps/unix/getppid.S: Remove file.
4339 * sysdeps/unix/mkdir.c: Remove file.
4340 * sysdeps/unix/rmdir.c: Likewise.
4342 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
4344 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
4346 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
4347 errlist-compat value.
4349 2012-04-18 David S. Miller <davem@davemloft.net>
4351 * sysdeps/generic/memcopy.h (reg_char): Delete.
4352 * debug/strcat_chk.c: Use char, not reg_char.
4353 * debug/strcpy_chk.c: Likewise.
4354 * debug/strncat_chk.c: Likewise.
4355 * debug/strncpy_chk.c: Likewise.
4356 * string/memchr.c: Likewise.
4357 * string/memrchr.c: Likewise.
4358 * string/rawmemchr.c: Likewise.
4359 * string/strcat.c: Likewise.
4360 * string/strchr.c: Likewise.
4361 * string/strchrnul.c: Likewise.
4362 * string/strcmp.c: Likewise.
4363 * string/strcpy.c: Likewise.
4364 * string/strncat.c: Likewise.
4365 * string/strncmp.c: Likewise.
4366 * string/strncpy.c: Likewise.
4368 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4370 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
4371 __builtin_memcopy is called when src and dest ranges are known to not
4374 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4376 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
4377 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
4378 fwd_align_merge macro call.
4379 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
4380 bwd_align_merge macro call.
4381 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4383 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4385 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
4386 bwd_align_merge macros.
4387 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
4388 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
4389 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4391 2012-04-18 David S. Miller <davem@davemloft.net>
4393 * sysdeps/sparc/sparc64/memcopy.h: Delete.
4395 2012-04-18 Andreas Jaeger <aj@suse.de>
4398 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
4399 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
4400 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4402 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
4403 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
4404 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4406 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
4407 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
4408 Adjust for changed ldbl-128 files.
4410 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
4411 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
4412 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4414 2012-04-17 David S. Miller <davem@davemloft.net>
4416 * sysdeps/sparc/sparc32/memcopy.h: Delete.
4418 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
4420 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
4421 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
4422 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
4423 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
4424 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4425 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
4427 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4430 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
4431 * math/libm-test.inc: Add ilogb errno and exception tests.
4432 * math/w_ilogb.c: New file: ilogb wrapper.
4433 * math/w_ilogbf.c: New file: ilogbf wrapper.
4434 * math/w_ilogbl.c: New file: ilogbl wrapper.
4435 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
4436 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
4437 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
4438 exception being thrown with 0.0 as argument.
4439 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
4440 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
4441 exception being thrown with 0.0 as argument.
4442 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
4443 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4444 exception being thrown with 0.0 as argument.
4445 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
4446 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4447 exception being thrown with 0.0 as argument.
4448 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
4449 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
4450 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
4451 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
4452 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
4453 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
4454 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
4455 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
4456 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
4458 2012-04-17 Petr Baudis <pasky@ucw.cz>
4460 * include/sys/uio.h: Change __vector to __iovec to avoid clash
4463 2012-04-16 Marek Polacek <polacek@redhat.com>
4465 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
4467 2012-04-16 Marek Polacek <polacek@redhat.com>
4469 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
4470 operands of fdivp instruction.
4472 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4474 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
4475 * elf/tst-auditmod3b.c: Likewise.
4476 * elf/tst-auditmod4b.c: Likewise.
4477 * elf/tst-auditmod5b.c: Likewise.
4478 * elf/tst-auditmod6b.c: Likewise.
4479 * elf/tst-auditmod6c.c: Likewise.
4480 * elf/tst-auditmod7b.c: Likewise.
4481 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
4482 * sysdeps/x86_64/preconfigure.in: Likewise.
4483 * sysdeps/x86_64/preconfigure: Regenerated.
4485 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4487 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
4490 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
4492 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4493 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
4495 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
4498 * locale/iso-639.def: Fix gl language name. Spotted by
4501 2012-04-12 Roland McGrath <roland@hack.frob.com>
4504 * libio/libio.h (__io_write_fn): Update comment.
4506 2012-04-12 Petr Baudis <pasky@ucw.cz>
4509 * stdio.texi (Hook Functions): The user provided writer function
4510 is not allowed to return -1.
4512 2012-04-11 David S. Miller <davem@davemloft.net>
4514 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4516 2012-04-11 Mike Frysinger <vapier@gentoo.org>
4518 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
4519 Add a leading slash to rtkaio.
4521 2012-04-11 Jim Meyering <meyering@redhat.com>
4524 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
4525 It is not necessarily an error to ignore fwrite's return
4526 value. One can reliably use ferror to test for errors after
4529 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
4531 * bits/types.h (__snseconds_t): New type.
4532 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
4534 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
4535 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4536 (__SNSECONDS_T_TYPE): Likewise.
4537 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4538 (__SNSECONDS_T_TYPE): Likewise.
4539 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4540 (__SNSECONDS_T_TYPE): Likewise.
4542 2012-04-10 Andreas Jaeger <aj@suse.de>
4545 * manual/time.texi (Processor Time): Return type of times is
4546 elapsed real time since an arbitrary point in the past.
4547 (CPU Time): Move CLK_TCK from here...
4548 (Processor Time): ...to here. Correct description.
4549 * manual/conf.texi (Constants for Sysconf): Correct description of
4552 2012-04-10 David S. Miller <davem@davemloft.net>
4555 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
4556 where the is a gap between DT_REL(A) and DT_JMPREL.
4558 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
4560 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
4561 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
4562 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
4564 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4566 * elf/dl-support.c (_dl_inhibit_cache): New variable.
4567 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
4568 (dl_main): Handle --inhibit-cache.
4569 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
4571 * elf/dl-load.c (_dl_map_object): Use it.
4572 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
4574 2012-04-09 Joseph Myers <joseph@codesourcery.com>
4577 * sysdeps/i386/fpu/e_powl.S (p78): New object.
4578 (__ieee754_powl): Saturate large exponents rather than testing for
4579 overflow of y*log2(x).
4580 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4581 * math/libm-test.inc (pow_test): Do not permit spurious overflow
4585 * math/s_ctan.c: Include <float.h>.
4586 (__ctan): Avoid internal overflow or cancellation in calculating
4588 * math/s_ctanf.c: Likewise.
4589 * math/s_ctanl.c: Likewise.
4590 * math/s_ctanh.c: Likewise.
4591 * math/s_ctanhf.c: Likewise.
4592 * math/s_ctanhl.c: Likewise.
4593 * math/libm-test.inc (ctan_test): Add more tests.
4594 (ctanh_test): Likewise.
4595 * sysdeps/i386/fpu/libm-test-ulps: Update.
4596 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4598 2012-04-09 Andreas Jaeger <aj@suse.de>
4601 * manual/filesys.texi (Directory Entries): Mention that d_namlen
4602 is an optional BSD extension.
4605 * manual/stdio.texi (Opening Streams): Document additional fopen
4608 2012-04-09 Roland McGrath <roland@hack.frob.com>
4610 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
4611 %eax without telling the compiler.
4613 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
4616 * manual/install.texi: Use sourceware.org.
4618 2012-04-09 Joseph Myers <joseph@codesourcery.com>
4621 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
4622 (__ieee754_pow): Generate overflow and underflow using huge*huge
4623 and tiny*tiny rather than just returning constant infinity or zero
4624 for large exponents.
4625 * math/libm-test.inc (pow_test): Require overflow exceptions for
4626 applicable cases of large exponents.
4629 * sysdeps/i386/fpu/e_pow.S (p10): New object.
4630 (__ieee754_pow): Use iterative multiplication algorithm only for
4631 integer exponents with absolute value below 1024. Check for odd
4632 integer exponents when using algorithm for real exponents.
4633 * math/libm-test.inc (pow_test): Add more tests.
4634 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4636 2012-04-08 Joseph Myers <joseph@codesourcery.com>
4639 * math/libm-test.inc (exp_test): Do not allow overflow exception
4642 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
4645 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
4646 instead of __kernel_standard_f.
4648 2012-04-08 Mike Frysinger <vapier@gentoo.org>
4650 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
4651 * sysdeps/x86_64/memset_chk.S: Likewise.
4653 2012-04-08 Andreas Jaeger <aj@suse.de>
4656 * manual/startup.texi (Environment Access): Describe return value
4657 for putenv and setenv.
4660 * manual/filesys.texi (Directory Entries): Add description for
4664 * manual/filesys.texi (Directory Entries): Clarify that it's file
4665 system not operating system in the description of DT_UNKNOWN.
4668 * manual/syslog.texi (closelog): Fix reference, it's openlog.
4670 2012-04-08 Stephen Compall <s11@member.fsf.org>
4673 * manual/llio.texi (Opening and Closing Files): Add cross
4674 reference to explain mode argument.
4676 2012-04-07 Mike Frysinger <vapier@gentoo.org>
4678 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
4679 * sysdeps/x86_64/memset_chk.S: Likewise.
4681 2012-04-07 David S. Miller <davem@davemloft.net>
4683 * elf/elf.h (R_SPARC_WDISP10): Define.
4684 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
4686 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
4687 R_SPARC_SIZE64 and R_SPARC_H34.
4689 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
4691 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
4692 conditions and remove no longer applicable assertion.
4694 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
4696 * bits/byteswap.h: Include <features.h>.
4697 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
4698 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
4700 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
4702 * bits/byteswap.h (__bswap_16): Removed.
4703 Include <bits/byteswap-16.h> to get __bswap_16.
4704 * sysdeps/i386/bits/byteswap.h: Likewise.
4705 * sysdeps/s390/bits/byteswap.h: Likewise.
4706 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4707 * bits/byteswap-16.h: New file.
4708 * sysdeps/i386/bits/byteswap-16.h: Likewise.
4709 * sysdeps/s390/bits/byteswap-16.h: Likewise.
4710 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
4711 * string/Makefile (headers): Add bits/byteswap-16.h.
4713 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
4716 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
4718 * nss/Makefile (tests-static, tests): Add tst-nss-static.
4719 * nss/tst-nss-static.c: New.
4721 2012-04-06 Robert Millan <rmh@gnu.org>
4724 * manual/llio.texi (File Position Primitive): lseek
4725 refers to WHENCE when it really means OFFSET.
4727 2012-04-06 Andreas Jaeger <aj@suse.de>
4729 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
4730 strncmp declarations.
4732 * abilist/libc.abilist: Add __poll and __ppoll.
4734 2012-04-05 David S. Miller <davem@davemloft.net>
4736 * scripts/check-local-headers.sh: Accept a host triplet in the
4737 path matched by the exclude regexp.
4739 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
4741 * sysdeps/powerpc/powerpc32/dl-machine.h
4742 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
4743 * sysdeps/s390/s390-32/dl-machine.h
4744 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4745 * sysdeps/sparc/sparc32/dl-machine.h
4746 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4747 * sysdeps/sparc/sparc64/dl-machine.h
4748 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4750 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
4752 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
4753 undefined symbol errors.
4755 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
4758 2012-04-05 Michael Matz <matz@suse.de>
4761 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
4763 2012-04-05 Andreas Jaeger <aj@suse.de>
4766 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
4769 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4771 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
4772 which ROUND is no valid rounding mode.
4774 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4776 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
4778 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
4780 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4782 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
4783 an exception using FPU order intentionally.
4785 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4787 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
4788 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
4789 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
4790 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
4792 2012-04-05 Simon Josefsson <simon@josefsson.org>
4795 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
4796 EINVAL when BUFLEN is too smal.
4798 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
4801 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
4802 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
4804 2012-04-03 Andreas Jaeger <aj@suse.de>
4807 * manual/setjmp.texi (System V contexts): Fix sentence.
4810 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
4811 New macro for this case.
4812 [!__GNUC__] (__bswap_64): New inline function for this case.
4813 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4814 * bits/byteswap.h: Likewise.
4815 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
4816 ull, guard with __GLIBC_HAVE_LONG_LONG.
4818 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
4819 __GLIBC_HAVE_LONG_LONG.
4821 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
4822 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
4824 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4827 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
4828 inptr and inend, rather than using last_ch.
4830 2012-04-02 David S. Miller <davem@davemloft.net>
4832 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
4833 * stdio-common/printf-parse.h (read_int): Change return type to
4834 'int', return -1 on INT_MAX overflow.
4835 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
4836 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
4837 overflows INT_MAX. Check for overflow of in-format-string precision
4838 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
4839 SIZE_MAX not INT_MAX for integer overflow test.
4840 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
4841 skip the construct in the format string but do not record anything.
4842 * stdio-common/bug22.c: Adjust to test both width/prevision
4843 INT_MAX overflow as well as total length INT_MAX overflow. Check
4844 explicitly for proper errno values.
4846 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
4848 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
4850 * string/test-strcmp.c [! WIDE]: Likewise.
4851 * time/tst-mktime2.c: Likewise for INT_MAX.
4852 * string/test-string.h: #include <sys/param.h> for MIN.
4854 * csu/init-first.c (__libc_init_first): Call __ctype_init.
4855 * sysdeps/i386/init-first.c (init): Likewise.
4856 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
4857 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
4858 * sysdeps/sh/init-first.c (init): Likewise.
4860 2012-04-01 Ulrich Drepper <drepper@gmail.com>
4862 * po/ru.po: Update from translation team.
4863 * po/vi.po: Likewise.
4865 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4867 * resolv/nss_dns/dns-host.c: Merge copyright years.
4869 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4871 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
4872 Optimize memcpy with prefetch if
4873 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
4874 src, dst pointers have unequal 16 byte alignments.
4876 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4879 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
4880 from a CNAME entry and return the minimum ttl for the query.
4881 (gaih_getanswer_slice): Likewise.
4883 2012-03-30 Jeff Law <law@redhat.com>
4885 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
4887 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
4888 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
4890 * resolv/nss_dns/dns-host.c: Update copyright year.
4892 2012-03-30 Ulrich Drepper <drepper@gmail.com>
4894 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
4895 requests to save a system call. Fix check that all bytes are sent.
4897 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
4898 comments for sendmmsg.
4900 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4903 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
4904 with only 1 character between 0x0041 and 0x01b0.
4905 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
4906 * wcsmbs/tst-mbsnrtowcs.c: New file.
4908 2012-03-29 David S. Miller <davem@davemloft.net>
4910 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
4911 small copies by hand.
4913 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4916 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
4917 _nss_compat_initgroups_dyn): Fall back to malloc/free
4918 for large group memberships.
4920 2012-03-28 David S. Miller <davem@davemloft.net>
4922 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
4923 that branches into memcpy.
4924 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
4925 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
4926 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4927 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
4928 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
4930 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
4932 * sysdeps/sparc/mempcpy.S: New file.
4934 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
4935 the IFUNC routine in the libc case.
4936 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
4938 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
4939 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
4940 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
4941 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
4942 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
4943 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
4944 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
4945 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
4947 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
4948 loop to 256 bytes instead of 64 bytes and fix test signedness.
4950 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
4951 * sysdeps/sparc/sparc32/Makefile: rather than here...
4952 * sysdeps/sparc/sparc64/Makefile: and here.
4954 2012-03-28 Ulrich Drepper <drepper@gmail.com>
4956 * malloc/mallocbug.c: Avoid warnings about unused variables.
4958 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4961 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
4962 in the right place. Discard and retry query if response is
4963 larger than input buffer size.
4965 2012-03-28 Joseph Myers <joseph@codesourcery.com>
4970 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
4971 x for large integer exponent.
4972 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
4973 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
4974 sign of result as needed afterwards.
4975 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
4976 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
4977 result for underflowing pow the same as for overflow.
4978 (__kernel_standard_l): Handle powl overflow and underflow here
4979 rather than calling __kernel_standard.
4980 * math/libm-test.inc (pow_test): Add more tests.
4995 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
4996 * sysdeps/ieee754/k_standard.c: Include <float.h>.
4997 (__kernel_standard_l): New function.
4998 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
5000 * math/w_acosl.c (__acosl): Likewise.
5001 * math/w_asinl.c (__asinl): Likewise.
5002 * math/w_atan2l.c (__atan2l): Likewise.
5003 * math/w_atanhl.c (__atanhl): Likewise.
5004 * math/w_coshl.c (__coshl): Likewise.
5005 * math/w_exp10l.c (__exp10l): Likewise.
5006 * math/w_exp2l.c (__exp2l): Likewise.
5007 * math/w_fmodl.c (__fmodl): Likewise.
5008 * math/w_hypotl.c (__hypotl): Likewise.
5009 * math/w_j0l.c (__j0l, __y0l): Likewise.
5010 * math/w_j1l.c (__j1l, __y1l): Likewise.
5011 * math/w_jnl.c (__jnl, __ynl): Likewise.
5012 * math/w_lgammal.c (__lgammal): Likewise.
5013 * math/w_log10l.c (__log10l): Likewise.
5014 * math/w_log2l.c (__log2l): Likewise.
5015 * math/w_logl.c (__logl): Likewise.
5016 * math/w_powl.c (__powl): Likewise.
5017 * math/w_remainderl.c (__remainderl): Likewise.
5018 * math/w_scalbl.c (sysv_scalbl): Likewise.
5019 * math/w_sinhl.c (__sinhl): Likewise.
5020 * math/w_sqrtl.c (__sqrtl): Likewise.
5021 * math/w_tgammal.c (__tgammal): Likewise.
5022 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
5023 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
5024 * math/libm-test.inc (acos_test): Add more tests.
5025 (acosh_test): Likewise.
5026 (asin_test): Likewise.
5027 (atanh_test): Likewise.
5028 (exp_test): Likewise.
5029 (exp10_test): Likewise.
5030 (exp2_test): Likewise.
5031 (expm1_test): Likewise.
5032 (lgamma_test): Likewise.
5033 (log_test): Likewise.
5034 (log10_test): Likewise.
5035 (log1p_test): Likewise.
5036 (log2_test): Likewise.
5037 (pow_test): Do not allow some spurious overflow exceptions.
5038 (sqrt_test): Add more tests.
5039 (tgamma_test): Likewise.
5040 (y0_test): Likewise.
5041 (y1_test): Likewise.
5042 (yn_test): Likewise.
5044 2012-03-27 Anton Blanchard <anton@samba.org>
5046 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
5048 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5049 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
5050 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5052 2012-03-27 David S. Miller <davem@davemloft.net>
5054 * conform/Makefile: Run run-conformtest.sh using $(BASH).
5056 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
5059 2012-03-27 Andreas Jaeger <aj@suse.de>
5061 * sysdeps/x86_64/elf/configure.in: Moved to ...
5062 * sysdeps/x86_64/configure.in: ... here.
5063 * sysdeps/x86_64/elf/start.S: Moved to ...
5064 * sysdeps/x86_64/start.S: ... here.
5065 * sysdeps/x86_64/elf/configure: Delete.
5067 * sysdeps/x86_64/configure.in: Merge contents from
5068 sysdeps/i386/configure.in (without i686 check).
5070 * sysdeps/i386/elf/Versions: Merge into ...
5071 * sysdeps/i386/Versions: ... this.
5072 * sysdeps/i386/elf/Versions: Delete file.
5073 * sysdeps/i386/elf/start.S: Moved to ...
5074 * sysdeps/i386/start.S: ...here.
5075 * sysdeps/i386/elf/configure.in: Merge into...
5076 * sysdeps/i386/configure.in: ...here.
5077 * sysdeps/i386/elf/configure.in: Delete file.
5078 * sysdeps/i386/elf/configure: Delete file.
5080 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
5081 * debug/backtracesyms.c: ... here.
5082 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
5083 * debug/backtracesymsfd.c: ... here.
5084 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
5085 * sysdeps/generic/ifunc-sel.h: ... here.
5087 * sysdeps/unix/i386/start.c: Delete file.
5088 * sysdeps/unix/sparc/start.c: Delete file.
5089 * sysdeps/unix/start.c: Delete file.
5091 * sysdeps/sh/elf/configure.in: Moved to ...
5092 * sysdeps/sh/configure.in: ... here.
5093 * sysdeps/sh/elf/start.S: Moved to ...
5094 * sysdeps/sh/start.S: ... here.
5095 * sysdeps/sh/elf/configure: Delete file.
5097 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
5098 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
5099 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
5100 * sysdeps/powerpc/powerpc64/entry.h: ... here.
5101 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
5102 * sysdeps/powerpc/powerpc64/start.S: here.
5103 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
5104 * sysdeps/powerpc/powerpc64/Makefile: ... this.
5105 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
5106 * sysdeps/powerpc/powerpc64/configure.in: ... this.
5107 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
5109 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
5110 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
5111 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
5112 * sysdeps/powerpc/powerpc32/start.S: ... here.
5113 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
5114 * sysdeps/powerpc/powerpc32/configure.in: ... this.
5115 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
5117 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
5118 * sysdeps/powerpc/ifunc-sel.h: ... here.
5119 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
5120 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
5122 * sysdeps/sparc/elf/configure.in: Moved to ...
5123 * sysdeps/sparc/configure.in: ... here.
5124 * sysdeps/sparc/elf/configure: Delete file.
5125 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
5126 * sysdeps/sparc/sparc32/start.S: ... here.
5127 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
5128 * sysdeps/sparc/sparc64/start.S: ... here.
5129 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
5130 * sysdeps/sparc/sparc32/Makefile: ... this.
5131 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
5132 * sysdeps/sparc/sparc64/Makefile: ... this.
5134 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
5135 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
5136 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
5137 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
5138 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
5139 * sysdeps/s390/s390-32/setjmp.S: ... here.
5140 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
5141 * sysdeps/s390/s390-32/configure.in: ... here.
5142 * sysdeps/s390/s390-32/elf/configure: Delete file.
5143 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
5144 * sysdeps/s390/s390-32/start.S: ... here.
5146 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
5147 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
5148 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
5149 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
5150 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
5151 * sysdeps/s390/s390-64/setjmp.S: ... here.
5152 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
5153 * sysdeps/s390/s390-64/configure.in: ... here
5154 * sysdeps/s390/s390-64/elf/configure: Delete file.
5155 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
5156 * sysdeps/s390/s390-64/start.S: ... here.
5157 * sysdeps/s390/s390-64/elf/configure: Delete.
5159 * configure.in: Remove support for elf directories in sysdeps.
5161 * configure: Regenerated.
5162 * sysdeps/i386/configure: Regenerated.
5163 * sysdeps/powerpc/powerpc32/configure: Regenerated.
5164 * sysdeps/powerpc/powerpc64/configure: Regenerated.
5165 * sysdeps/s390/s390-32/configure: Regenerated.
5166 * sysdeps/s390/s390-64/configure: Regenerated.
5167 * sysdeps/sh/configure: Regenerated.
5168 * sysdeps/sparc/configure: Regenerated.
5169 * sysdeps/x86_64/configure: Regenerated.
5171 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
5173 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5175 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
5176 denormal result into account.
5178 2012-03-25 Roland McGrath <roland@hack.frob.com>
5180 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
5181 Reported by Allan McRae <allan@archlinux.org>.
5183 2012-03-23 Jeff Law <law@redhat.com>
5185 * nss/getnssent.c (__nss_getent): Fix typo.
5187 2012-03-23 David S. Miller <davem@davemloft.net>
5189 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5191 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
5193 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
5194 to pad to uint64_t for each field.
5195 (dl_tls_index): Replace unsigned long with uint64_t.
5197 2012-03-23 Daniel Jacobowitz <dmj@google.com>
5198 Paul Pluzhnikov <ppluzhnikov@google.com>
5201 * grp/Makefile (otherlibs): Don't set it.
5202 * inet/Makefile (otherlibs): Likewise.
5203 * login/Makefile (otherlibs): Likewise.
5204 * nscd/Makefile (otherlibs): Likewise.
5205 * posix/Makefile (otherlibs): Likewise.
5206 * pwd/Makefile (otherlibs): Likewise.
5207 * rt/Makefile (otherlibs): Likewise.
5208 * sunrpc/Makefile (otherlibs): Likewise.
5209 * nss/Makefile (otherlibs): Likewise.
5210 Add libnss_files to routines and static-only-routines.
5211 ($(objpfx)getent): Remove rule.
5212 * resolv/Makefile: Add libnss_dns and libresolv to routines and
5213 static-only-routines.
5215 2012-03-22 Joseph Myers <joseph@codesourcery.com>
5218 * math/s_cexp.c: Include <float.h>.
5219 (__cexp): Handle exp result overflowing not necessarily
5220 overflowing both real and imaginary parts of result.
5221 * math/s_cexpf.c: Likewise.
5222 * math/s_cexpl.c: Likewise.
5223 * math/libm-test.inc (cexp_test): Add more tests.
5224 * sysdeps/i386/fpu/libm-test-ulps: Update.
5225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5227 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5229 * include/link.h (ELFW): New macro.
5230 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
5231 Replace ELF64_R_TYPE with ELFW(R_TYPE).
5233 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5235 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
5238 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5240 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
5242 (struct La_x32_retval): Likewise.
5244 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5246 * sysdeps/x86_64/preconfigure.in: New file.
5247 * sysdeps/x86_64/preconfigure: New generated file.
5249 2012-03-22 Joseph Myers <joseph@codesourcery.com>
5252 * math/e_exp2l.c: Include <float.h>.
5253 (__ieee754_exp2l): Handle overflow and underflow cases
5254 separately. Only pass fractional part of argument to
5256 * math/libm-test.inc (exp2_test): Add more tests.
5258 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
5259 negating x to take absolute value.
5260 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
5262 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5263 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
5265 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
5266 computing low part if x was negated.
5267 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5269 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5271 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
5273 (pltexit): Cast int_retval to ptrdiff_t.
5274 * elf/tst-auditmod3b.c: Likewise.
5275 * elf/tst-auditmod4b.c: Likewise.
5276 * elf/tst-auditmod5b.c: Likewise.
5277 * elf/tst-auditmod6b.c: Likewise.
5278 * elf/tst-auditmod6c.c: Likewise.
5279 * elf/tst-auditmod7b.c: Likewise.
5281 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
5282 and x32_gnu_pltexit.
5284 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
5286 (La_x32_regs): New macro.
5287 (La_x32_retval): Likewise.
5288 (la_x32_gnu_pltenter): New function prototype.
5289 (la_x32_gnu_pltexit): Likewise.
5291 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
5293 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
5296 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5298 * configure.in (libc_cv_cc_nofma): Check for option to disable
5299 generation of FMA instructions.
5300 * configure: Regenerate.
5301 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
5302 * sysdeps/ieee754/dbl-64/Makefile: New file.
5303 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
5304 Remove brandred-fma4.
5305 (CFLAGS-brandred-fma4.c): Remove.
5306 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
5307 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
5309 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
5312 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5314 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
5315 LLONG_MAX != LONG_MAX.
5316 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5317 (_fitoa_word): Likewise.
5318 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
5319 LLONG_MAX != LONG_MAX.
5320 * stdio-common/_itowa.h: Include <_itoa.h>.
5321 (_itowa_word): Use _ITOA_WORD_TYPE on value.
5322 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
5323 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
5324 only if not defined.
5325 (_ITOA_WORD_TYPE): Likewise.
5326 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5327 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
5329 2012-03-21 David S. Miller <davem@davemloft.net>
5331 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5333 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5335 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
5336 of x86_64 when setting libc_cv_slibdir, libdir and
5338 * sysdeps/unix/sysv/linux/configure: Regenerated.
5340 2012-03-21 Joseph Myers <joseph@codesourcery.com>
5342 * manual/lang.texi (Old Varargs): Remove section.
5343 (How Variadic): Update menu.
5344 (va_start): Do not mention varargs.h.
5346 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5347 Joseph Myers <joseph@codesourcery.com>
5349 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
5351 * configure: Regenerated.
5353 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5355 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
5356 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
5359 2012-03-21 Joseph Myers <joseph@codesourcery.com>
5362 * Makefile (files-for-dist): Remove NOTES.
5363 (NOTES): Remove rule.
5364 * README: Don't refer to NOTES.
5365 * manual/creature.texi: Don't include macros.texi.
5366 * manual/intro.texi (creature.texi): Remove comment referring to
5369 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
5370 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
5371 * configure: Regenerated.
5372 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
5374 (libc_cv_as_i686): Likewise.
5375 (libc_cv_cc_avx): Likewise.
5376 (libc_cv_cc_sse2avx): Likewise.
5377 (libc_cv_cc_fma4): Likewise.
5378 (libc_cv_cc_novzeroupper): Likewise.
5379 * sysdeps/i386/configure: Regenerated.
5382 * sysdeps/i386/fpu/s_cexp.S: Remove.
5383 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5384 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5385 * math/libm-test.inc (cexp_test): Add more tests.
5386 * sysdeps/i386/fpu/libm-test-ulps: Update.
5387 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5389 2012-03-21 Allan McRae <allan@archlinux.org>
5391 * timezone/Makefile: Do not install iso3166.tab and zone.tab
5393 2012-03-21 Joseph Myers <joseph@codesourcery.com>
5396 * math/w_exp2.c: Do not include <float.h>.
5397 (o_threshold, u_threshold): Remove.
5398 (__exp2): Calculate result before checking finiteness and calling
5400 * math/w_exp2f.c: Likewise.
5401 * math/w_exp2l.c: Likewise.
5402 * math/libm-test.inc (exp2_test): Require overflow exception for
5406 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
5407 range of signed 64-bit integers before using fistpll. Remove
5408 checks for whether integers fit in mantissa bits.
5409 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
5410 the range of signed 32-bit integers before using fistpl. Remove
5411 checks for whether integers fit in mantissa bits.
5412 * sysdeps/i386/fpu/e_powl.S (p64): New object.
5413 (__ieee754_powl): Test for y outside the range of signed 64-bit
5414 integers before using fistpll. Reduce 64-bit values to 63-bit
5416 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
5417 divide-by-zero is raised for zero to large negative powers.
5418 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
5419 (__ieee754_powl): Test for y outside the range of signed 64-bit
5420 integers before using fistpll. Reduce 64-bit values to 63-bit
5422 * math/libm-test.inc (pow_test): Add more tests.
5424 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5426 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
5427 <stdio-common/_itoa.h>.
5428 * debug/segfault.c: Likewise.
5429 * elf/dl-cache.c: Likewise.
5430 * elf/dl-minimal.c: Likewise.
5431 * elf/dl-misc.c: Likewise.
5432 * elf/dl-sysdep.c: Likewise.
5433 * elf/dl-version.c: Likewise.
5434 * elf/rtld.c: Likewise.
5435 * hurd/hurdsock.c: Likewise.
5436 * hurd/lookup-retry.c: Likewise.
5437 * malloc/malloc.c: Likewise.
5438 * malloc/mtrace.c: Likewise.
5439 * nscd/nscd_getgr_r.c: Likewise.
5440 * nscd/nscd_getpw_r.c: Likewise.
5441 * nscd/nscd_getserv_r.c: Likewise.
5442 * posix/getopt_init.c: Likewise.
5443 * posix/wordexp.c: Likewise.
5444 * stdio-common/_itoa.c: Likewise.
5445 * stdio-common/printf_fphex.c: Likewise.
5446 * stdio-common/vfprintf.c: Likewise.
5447 * string/_strerror.c: Likewise.
5448 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
5449 * sysdeps/i386/i686/hp-timing.h: Likewise.
5450 * sysdeps/mach/_strerror.c: Likewise.
5451 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
5452 * sysdeps/mach/hurd/sethostid.c: Likewise.
5453 * sysdeps/mach/hurd/xmknodat.c: Likewise.
5454 * sysdeps/mach/xpg-strerror.c: Likewise.
5455 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5456 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5457 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
5458 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
5459 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5460 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
5461 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
5462 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
5463 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
5464 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
5465 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
5466 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5467 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
5468 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
5469 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
5470 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
5471 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
5472 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
5473 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5474 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5475 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
5477 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
5479 * stdio-common/_itoa.h: Moved to ...
5480 * sysdeps/generic/_itoa.h: Here.
5482 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
5484 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
5485 instead of "_itoa.h" and "_itowa.h".
5486 * stdio-common/vfprintf.: Likewise.
5488 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5490 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
5492 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
5493 (__signbit): Likwise.
5497 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5499 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
5502 2012-03-20 Joseph Myers <joseph@codesourcery.com>
5504 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
5505 OVERFLOW_EXCEPTION_OK.
5506 * math/libm-test.inc ("Philosophy"): Update comment about
5508 (OVERFLOW_EXCEPTION): Define.
5509 (OVERFLOW_EXCEPTION_OK): Likewise.
5510 (INVALID_EXCEPTION_OK): Renumber.
5511 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5512 (IGNORE_ZERO_INF_SIGN): Likewise.
5513 (test_exceptions): Handle FE_OVERFLOW.
5514 (exp10_test): Expect overflow exceptions.
5515 (exp2_test): Likewise.
5516 (expm1_test): Likewise.
5517 (nextafter_test): Likewise.
5518 (pow_test): Likewise.
5519 (scalbn_test): Likewise.
5520 (scalbln_test): Likewise.
5522 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5524 * sysdeps/x86_64/bits/atomic.h
5525 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
5527 (atomic_exchange_acq): Likewise.
5528 (__arch_exchange_and_add_body): Likewise.
5529 (__arch_add_body): Likewise.
5530 (atomic_add_negative): Likewise.
5531 (atomic_add_zero): Likewise.
5533 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5535 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
5536 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
5538 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5540 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
5541 Check __x86_64__ instead of __WORDSIZE.
5543 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5545 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
5547 2012-03-19 David S. Miller <davem@davemloft.net>
5549 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5551 * sysdeps/sparc/fpu/fenv_private.h: New file.
5552 * sysdeps/sparc/fpu/math_private.h: Use it.
5553 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
5555 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
5556 (libc_feholdexcept_setroundl): Remove.
5557 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
5559 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
5560 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
5562 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5564 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
5565 int64_t instead of long int.
5566 (INSERT_WORDS64): Likwise.
5568 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5570 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
5571 _Unwind_GetCFA return to _Unwind_Ptr first.
5573 2012-03-19 Joseph Myers <joseph@codesourcery.com>
5576 * math/s_clog.c: Include <float.h>.
5577 (__clog): Scale large or subnormal inputs.
5578 * math/s_clogf.c: Likewise.
5579 * math/s_clogl.c: Likewise.
5580 * math/s_clog10.c: Include <float.h>.
5581 (M_LOG10_2): Define.
5582 (__clog10): Scale large or subnormal inputs.
5583 * math/s_clog10f.c: Likewise.
5584 * math/s_clog10l.c: Likewise.
5585 * math/libm-test.inc (clog_test): Add more tests.
5586 (clog10_test): Likewise.
5587 * sysdeps/i386/fpu/libm-test-ulps: Update.
5588 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5591 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
5593 * math/libm-test.inc (atan2_test): Add another test.
5595 * Makerules (common-objdir-compile): Remove.
5596 * sysdeps/unix/Makefile (config-generated): Do not add
5597 $(unix-generated) to variable.
5598 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
5599 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
5601 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
5603 [generic bits/local_lim.h] (before-compile): Do not append to
5605 [generic bits/local_lim.h] (common-generated): Likewise.
5606 [generic sys/param.h] (before-compile): Do not append to variable.
5607 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
5608 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
5609 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
5610 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
5612 [generic sys/param.h] (sys/param.h-includes): Remove variable.
5613 [generic sys/param.h] (sys/param.h-includes): Remove rule.
5614 [generic sys/param.h] ($(addprefix
5615 $(common-objpfx),$(sys/param.h-includes))): Likewise.
5616 [generic sys/param.h] (common-generated): Do not append to
5618 [generic sys/param.h] (sysdep_headers): Likewise.
5619 [generic bits/errno.h] (before-compile): Do not append to
5621 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
5623 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
5624 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
5625 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
5626 [generic bits/errno.h] (common-generated): Do not append to
5628 [generic bits/ioctls.h] (before-compile): Do not append to
5630 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
5632 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
5633 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
5634 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
5636 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
5637 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
5638 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
5639 [generic bits/ioctls.h] (common-generated): Do not append to
5641 [generic sys/syscall.h] (syscall.h): Remove variable.
5642 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
5644 [generic sys/syscall.h] (before-compile): Do not append to
5646 [generic sys/syscall.h] (common-generated): Likewise.
5647 * sysdeps/unix/errnos-tmpl.c: Remove file.
5648 * sysdeps/unix/errnos.awk: Likewise.
5649 * sysdeps/unix/ioctls-tmpl.c: Likewise.
5650 * sysdeps/unix/ioctls.awk: Likewise.
5651 * sysdeps/unix/mk-local_lim.c: Likewise.
5652 * sysdeps/unix/snarf-ioctls: Likewise.
5654 2012-03-19 Richard Henderson <rth@twiddle.net>
5656 * sysdeps/i386/fpu/fenv_private.h: New file.
5657 * sysdeps/i386/fpu/math_private.h: Use it.
5658 (math_opt_barrier, math_force_eval): Remove.
5659 (libc_feholdexcept_setround_53bit): Remove.
5660 (libc_feupdateenv_53bit): Remove.
5661 * sysdeps/x86_64/fpu/math_private.h: Likewise.
5662 (math_opt_barrier, math_force_eval): Remove.
5663 (libc_feholdexcept): Remove.
5664 (libc_feholdexcept_setround): Remove.
5665 (libc_fetestexcept, libc_fesetenv): Remove.
5666 (libc_feupdateenv_test): Remove.
5667 (libc_feupdateenv, libc_feholdsetround): Remove.
5668 (libc_feresetround): Remove.
5670 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
5671 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5673 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
5674 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
5675 (libc_feupdateenv_testl): New.
5676 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
5677 (libc_feupdateenv_testf): New.
5678 (libc_feupdateenv): Use libc_feupdateenv_test.
5679 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
5680 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
5682 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
5683 (libc_feholdsetroundf, libc_feholdsetroundl): New.
5684 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
5685 (libc_feresetround_noex): New.
5686 (libc_feresetround_noexf): New.
5687 (libc_feresetround_noexl): New.
5688 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
5689 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
5690 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
5691 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
5693 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
5694 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
5696 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
5697 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
5698 SET_RESTORE_ROUND_NOEX.
5699 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
5700 SET_RESTORE_ROUND_NOEXF.
5701 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
5702 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
5703 (libc_feholdsetroundf): New.
5704 (libc_feresetround, libc_feresetroundf): New.
5706 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
5707 (libc_feholdexcept_setround_53bit): Convert from macro to function.
5708 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
5710 * sysdeps/generic/math_private.h: Include <fenv.h>.
5711 (default_libc_feholdexcept): New.
5712 (default_libc_feholdexcept_setround): New.
5713 (default_libc_fesetenv, default_libc_feupdateenv): New.
5714 (libc_feholdexcept): Only define if undefined.
5715 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
5716 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
5717 (libc_feholdexcept_setroundl): Likewise.
5718 (libc_feholdexcept_setround_53bit): Likewise.
5719 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
5720 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
5721 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
5722 (libc_feupdateenv_53bit): Likewise.
5723 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
5724 (libc_feholdexcept): Convert from macro to inline function.
5725 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
5726 (libc_fesetenv, libc_feupdateenv): Likewise.
5728 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
5729 not previously defined.
5730 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
5731 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
5732 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
5733 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
5734 * sysdeps/ieee754/flt-32/math_private.h: New file.
5735 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
5736 math_private.h below SET_FLOAT_WORD.
5737 (__isnan, __isinf_ns, __finite): Remove.
5738 (__isnanf, __isinf_nsf, __finitef): Remove.
5740 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
5742 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5744 2012-03-17 David S. Miller <davem@davemloft.net>
5747 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
5750 2012-03-16 David S. Miller <davem@davemloft.net>
5752 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
5756 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
5758 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
5759 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
5760 sysdep_routines when subdir is sysvipc.
5761 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
5764 * sysdeps/sparc/fpu/libm-test/ulps: Update.
5766 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5768 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
5771 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5773 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
5774 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
5775 (__lround): Renamed to ...
5776 (__llround): This. Replace long int with long long int.
5777 Define lround functions as aliases of llround functions.
5778 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
5780 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5782 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
5783 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
5784 adresses to uintptr_t. Replace "long int" and "unsigned long
5785 int" with "greg_t" on va_arg.
5787 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5789 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
5790 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
5792 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
5793 Move e_machine check before EI_CLASS check. Handle x32
5794 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
5795 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
5796 SKIP_EM_IA_64 and include
5797 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
5799 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
5800 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
5801 (add_system_dir): New macro.
5803 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
5804 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
5806 2012-03-16 Joseph Myers <joseph@codesourcery.com>
5817 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
5819 * math/w_j0f.c (j0f): Likewise.
5821 * math/w_j0l.c (__j0l): Likewise.
5823 * math/w_j1.c (j1): Likewise.
5825 * math/w_j1f.c (j1f): Likewise.
5827 * math/w_j1l.c (__j1l): Likewise.
5829 * math/w_jn.c (jn): Likewise.
5831 * math/w_jnf.c (jnf): Likewise.
5833 * math/w_jnl.c (__jnl): Likewise.
5835 * math/libm-test.inc (j0_test): Add more tests.
5836 (j1_test): Likewise.
5837 (jn_test): Likewise. Add trailing semicolon to existing test.
5838 (y0_test): Likewise.
5839 (y1_test): Likewise.
5840 * sysdeps/i386/fpu/libm-test-ulps: Update.
5841 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5845 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
5846 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
5847 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
5848 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
5849 (__tanl): Set errno for infinite argument.
5850 * sysdeps/i386/fpu/mptan.c: Remove.
5851 * sysdeps/i386/fpu/s_tan.S: Likewise.
5852 * sysdeps/i386/fpu/s_tanl.S: Likewise.
5853 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
5854 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
5855 * math/libm-test.inc (tan_test): Add more tests and enable more
5856 tests for double and long double.
5857 * sysdeps/i386/fpu/libm-test-ulps: Update.
5858 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5860 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5862 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
5863 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
5865 2012-03-16 Roland McGrath <roland@hack.frob.com>
5867 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
5868 * configure.in: Use it for both main tree and add-ons.
5869 * configure: Regenerated.
5871 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5873 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
5875 2012-03-16 Joseph Myers <joseph@codesourcery.com>
5877 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
5881 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
5882 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
5883 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
5884 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
5885 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
5887 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
5888 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
5890 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
5891 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
5892 * sysdeps/i386/fpu/s_cosl.S: Likewise.
5893 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
5894 * sysdeps/i386/fpu/s_sinl.S: Likewise.
5895 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
5896 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
5897 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
5898 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
5899 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
5900 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
5901 * math/libm-test.inc (cos_test): Add more tests and enable more
5902 tests for long double.
5903 (sin_test): Likewise.
5904 (sincos_test): Likewise.
5905 * sysdeps/i386/fpu/libm-test-ulps: Update.
5906 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5908 2012-03-16 David S. Miller <davem@davemloft.net>
5910 * sysdeps/sparc/fpu/math_private.h: New file.
5912 2012-03-15 David S. Miller <davem@davemloft.net>
5914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
5916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
5917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
5919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
5920 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
5921 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
5922 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
5923 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
5924 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
5926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
5928 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
5929 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
5931 * sysdeps/sparc/sparc-ifunc.h: New file.
5932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
5934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
5935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
5937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
5939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
5940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
5941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
5942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
5944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
5945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
5946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
5947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
5948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
5950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
5952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
5953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
5954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
5955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
5956 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
5957 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
5958 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
5959 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
5960 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
5961 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
5962 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
5963 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
5964 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
5965 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
5966 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
5967 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
5968 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
5969 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
5970 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
5971 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
5972 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
5973 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
5974 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
5975 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
5977 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
5979 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
5981 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5983 2012-03-15 Andreas Jaeger <aj@suse.de>
5986 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
5987 ieee754/flt-32 implementation for sin, cos and sincos.
5988 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
5989 * sysdeps/i386/fpu/s_cosf.S: Likewise.
5990 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
5991 * sysdeps/i386/fpu/s_sinf.S: Likewise.
5992 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
5993 ieee754/flt-32 implementation for tan.
5995 * math/libm-test.inc (cos_test): Enable some large input tests for
5997 (sin_test): Likewise.
5998 (sincos_test): Likewise.
5999 (tan_test): Add tests for large input.
6001 * sysdeps/i386/fpu/libm-test-ulps: Update.
6003 2012-03-15 Andreas Jaeger <aj@suse.de>
6006 * math/libm-test.inc (cos_test): Add more test cases.
6007 (sin_test): Likewise.
6008 (sincos_test): Likewise.
6010 2012-03-15 Andreas Jaeger <aj@suse.de>
6013 * math/libm-test.inc (cos_test): Add a test case for large input
6015 (sin_test): Likewise.
6016 (sincos_test): Likewise.
6018 2012-03-15 Andreas Jaeger <aj@suse.de>,
6019 Joseph Myers <joseph@codesourcery.com>
6022 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
6023 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
6024 * sysdeps/i386/fpu/branred.c: Likewise.
6025 * sysdeps/i386/fpu/dosincos.c: Likewise.
6026 * sysdeps/i386/fpu/mpa.c: Likewise.
6027 * sysdeps/i386/fpu/s_cos.S: Likewise.
6028 * sysdeps/i386/fpu/s_sin.S: Likewise.
6029 * sysdeps/i386/fpu/s_sincos.S: Likewise.
6030 * sysdeps/i386/fpu/sincos32.c: Likewise.
6032 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
6034 (libc_feupdateenv_53bit): Define.
6035 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
6037 (libc_feupdateenv_53bit): Define.
6039 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
6040 53 bit (without extend i386 double precision).
6042 * math/libm-test.inc (sincos_test): Add tests for large input.
6046 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6048 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6050 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6052 2012-03-15 David S. Miller <davem@davemloft.net>
6054 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
6055 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
6056 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
6057 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
6058 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
6059 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
6060 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
6061 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
6062 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
6063 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
6064 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
6065 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
6066 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
6067 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
6068 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
6069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
6071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
6072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
6074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
6075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
6077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
6078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
6080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
6081 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
6082 fmin/fmax sysdep routines.
6083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6085 2012-03-14 David S. Miller <davem@davemloft.net>
6087 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
6088 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
6089 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
6090 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
6091 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
6092 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
6093 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
6094 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
6095 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
6096 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
6097 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
6098 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
6099 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
6100 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
6101 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
6102 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
6103 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
6104 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
6105 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
6106 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
6107 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
6108 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
6109 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
6110 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
6111 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
6112 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
6113 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
6114 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
6115 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
6117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
6119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
6120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
6122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
6123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
6125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
6126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
6128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
6129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
6131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
6132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
6134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
6136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
6138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
6140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
6142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
6144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
6146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
6147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
6149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
6150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
6152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
6153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
6155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
6156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
6159 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
6162 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6164 * sysdeps/sparc/configure.in: New file.
6165 * sysdeps/sparc/configure: Generate.
6166 * configure.in (libc_cv_sparc_as_vis3): Substitute.
6167 * configure: Regenerate.
6168 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
6169 * config.make.in (have-as-vis3): New.
6170 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
6171 available use -Av9d instead of -Av9a.
6172 * sysdeps/sparc/sparc64/Makefile: Likewise.
6173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
6174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
6176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
6178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
6180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
6182 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
6183 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
6184 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
6185 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
6186 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
6188 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
6189 fzeros/fnegs to load 0x80000000 into a float register instead of
6191 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
6193 2012-03-14 Joseph Myers <joseph@codesourcery.com>
6195 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6197 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
6198 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
6199 ($(inst_includedir)/bits/syscall.h): Remove rule.
6200 ($(objpfx)bits/syscall.d): Include instead of
6201 $(objpfx)syscall-list.d.
6202 (generated): Change syscall-list.h and syscall-list.d to
6203 bits/syscall.h and bits/syscall.d.
6205 2012-03-14 Roland McGrath <roland@hack.frob.com>
6208 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
6210 2012-03-14 Joseph Myers <joseph@codesourcery.com>
6213 * math/s_csqrt.c: Include <float.h>.
6214 (__csqrt): Scale large or subnormal inputs.
6215 * math/s_csqrtf.c: Likewise.
6216 * math/s_csqrtl.c: Likewise.
6217 * math/libm-test.inc (csqrt_test): Add more tests.
6218 * sysdeps/i386/fpu/libm-test-ulps: Update.
6219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6222 * math/libm-test.inc (hypot_test): Add more tests.
6224 2012-03-13 David S. Miller <davem@davemloft.net>
6227 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
6228 double-precision for the calculation instead of scaling.
6230 2012-03-13 Joseph Myers <joseph@codesourcery.com>
6232 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
6233 manipulate bits before adding and subtracting TWO52[sx].
6234 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
6235 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
6237 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
6239 2012-03-13 David S. Miller <davem@davemloft.net>
6241 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
6242 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
6243 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
6244 rtld-global-offsets.h
6245 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6247 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
6250 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
6252 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
6253 'err' in the ifdef scope in which it is actually used.
6255 * nss/nss_db/db-init.c: Include string.h
6257 2012-03-12 David S. Miller <davem@davemloft.net>
6259 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
6260 masking out of the most significant byte of random value used.
6261 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6262 Fix coding style in previous change.
6264 * sysdeps/unix/sysv/linux/kernel-features.h
6265 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
6266 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
6268 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
6271 2012-03-11 David S. Miller <davem@davemloft.net>
6273 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6274 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
6275 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
6276 for 'resultvar' otherwise things get truncated on 64-bit.
6278 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6279 Fix masking out of the most significant byte of random value used.
6281 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6283 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
6285 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6287 2012-03-09 David S. Miller <davem@davemloft.net>
6289 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
6290 variables with appropriate CPP guards.
6291 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
6292 frame pointer, not the stack pointer. Correct layout comments. Fix test
6293 on resulting framesize and the management of the outregs buffer for pltexit.
6294 Preserve floating point return values across _dl_call_pltexit call.
6295 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
6296 framesize and the management of the outregs buffer for pltexit.
6297 Preserve floating point return values across _dl_call_pltexit
6299 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
6300 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
6301 (print_exit): Fix format string for return register value.
6303 2012-03-10 Joseph Myers <joseph@codesourcery.com>
6305 * sunrpc/Makefile (others): Add rpcgen.
6306 ($(objpfx)rpcgen): Remove special build rule and dependency on
6308 * sunrpc/rpcgen.c: New file.
6310 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
6313 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
6314 * stdio-common/bug-vfprintf-nargs.c: Likewise.
6315 * sysdeps/i386/crti.S: Likewise.
6316 * sysdeps/i386/crtn.S: Likewise.
6317 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
6318 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
6319 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
6320 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
6321 * sysdeps/sh/crti.S: Likewise.
6322 * sysdeps/sh/crtn.S: Likewise.
6323 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
6326 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
6328 * locale/programs/locfile-kw.gperf: Likewise.
6329 * locale/programs/charmap-kw.h: Regenerated.
6330 * locale/programs/locfile-kw.h: Likewise.
6333 * intl/plural.y: Replace FSF snail mail address with URL.
6334 * intl/plural.c: Regenerated.
6336 2012-03-09 Richard Henderson <rth@twiddle.net>
6338 * include/math_private.h: Remove file.
6339 * math/math_private.h: Move file ...
6340 * sysdeps/generic/math_private.h: ... here.
6342 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
6343 * sysdeps/powerpc/fpu/math_private.h: Likewise.
6344 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6346 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
6347 and <math_private.h>.
6348 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6349 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6350 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6351 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6352 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6353 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
6354 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6355 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6356 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6357 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6358 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6359 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6360 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6361 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6362 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6363 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6364 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6365 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6366 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6367 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6368 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6369 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6370 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6371 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6372 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
6373 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6374 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6375 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6376 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6377 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6378 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6379 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6380 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
6381 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6382 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6383 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6384 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6385 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6386 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6387 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6388 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
6389 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6390 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6391 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
6392 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
6393 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6394 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
6395 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6396 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6397 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6398 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6399 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
6400 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
6401 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6402 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
6403 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6404 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6405 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
6406 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
6407 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
6408 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6409 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
6410 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6411 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6412 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
6413 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6414 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6415 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6416 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
6417 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
6418 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
6419 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6420 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6421 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6422 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
6423 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
6424 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
6425 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6426 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
6427 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
6428 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
6429 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
6430 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
6431 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6432 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6433 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
6434 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
6435 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
6436 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6437 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6438 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6439 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6440 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6441 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6442 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6443 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6444 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6445 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6446 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6447 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6448 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6449 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6450 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6451 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6452 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6453 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6454 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6455 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6456 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6457 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6458 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6459 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6460 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6461 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6462 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
6463 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6464 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6465 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6466 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6467 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
6468 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6469 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6470 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6471 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
6472 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6473 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6474 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6475 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
6476 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6477 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
6478 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
6479 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
6480 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6481 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
6482 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
6483 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6484 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6485 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6486 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
6487 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6488 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6489 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6490 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6491 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
6492 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
6493 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6494 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6495 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6496 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
6497 * sysdeps/ieee754/k_standard.c: Likewise.
6498 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6499 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6500 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6501 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6502 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6503 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6504 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6505 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6506 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6507 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6508 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6509 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6510 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6511 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6512 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6513 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6514 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6515 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6516 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6517 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
6518 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
6519 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
6520 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6521 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6522 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6523 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
6524 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6525 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6526 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6527 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6528 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6529 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6530 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6531 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6532 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6533 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6534 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6535 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
6536 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
6537 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6538 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6539 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6540 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6541 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6542 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6543 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6544 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6545 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6546 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6547 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6548 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6549 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6550 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6551 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
6552 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6553 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6554 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
6555 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
6556 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6557 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6558 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6559 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6560 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6561 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6562 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6563 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6564 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6565 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6566 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6567 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6568 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6569 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6570 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6571 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6572 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6573 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6574 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
6575 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6576 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6577 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
6578 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
6579 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
6580 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6581 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6582 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
6583 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6584 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6585 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
6586 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6587 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6588 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
6589 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6590 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
6591 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
6592 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6593 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6594 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
6595 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
6596 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
6597 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
6598 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6599 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6600 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6601 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6602 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
6603 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6604 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6605 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
6606 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
6607 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6608 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6609 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6610 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6611 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6612 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6613 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6614 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6615 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6616 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6617 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6618 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6619 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6620 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6621 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6622 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6623 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
6624 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6625 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6626 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6627 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6628 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6629 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6630 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6631 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
6632 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6633 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6634 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
6635 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
6636 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6637 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
6638 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
6639 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6640 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
6641 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
6642 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6643 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6644 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6645 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6646 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6647 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
6648 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6649 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
6650 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6651 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
6652 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
6653 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
6654 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6655 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6656 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6657 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
6658 * sysdeps/ieee754/s_lib_version.c: Likewise.
6659 * sysdeps/ieee754/s_matherr.c: Likewise.
6660 * sysdeps/ieee754/s_signgam.c: Likewise.
6661 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6662 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6663 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
6664 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
6665 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
6666 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
6667 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
6668 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
6669 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
6670 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
6671 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6672 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
6673 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6674 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6675 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
6676 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
6677 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
6678 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
6679 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
6680 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6681 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6683 2012-03-09 Joseph Myers <joseph@codesourcery.com>
6685 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
6686 * sunrpc/rpc_main.c: Likewise.
6687 * sunrpc/rpc_svcout.c: Likewise.
6689 2012-03-09 David S. Miller <davem@davemloft.net>
6691 * include/math_private.h: New file.
6693 2012-03-09 Joseph Myers <joseph@codesourcery.com>
6695 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
6696 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
6697 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
6698 from <bits/socket_type.h>.
6699 (enum __socket_type): Don't define here.
6700 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
6701 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6705 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
6708 * Makerules ($(inst_includedir)/%.h): New rule.
6709 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
6710 (install-others): Remove variable setting.
6711 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
6713 2012-03-08 Richard Henderson <rth@twiddle.net>
6715 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
6716 from macro to inline function; merge with the
6717 !__LIBC_INTERNAL_MATH_INLINES version.
6718 (__ieee754_sqrtf): Likewise.
6720 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
6722 (__rintf, __floor, __floorf): Likewise.
6724 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
6725 macro to inline function.
6726 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
6728 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
6729 not <math/math_private.h>.
6731 2012-03-08 David S. Miller <davem@davemloft.net>
6733 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
6735 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
6737 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
6739 * resolv/gai_misc.c (handle_requests): Fix struct timespec
6741 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
6742 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
6744 2012-03-08 Ulrich Drepper <drepper@gmail.com>
6746 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
6747 be defined individually, they must be defined as a block. Define
6748 S for printing a string instead of hidint the different by using a
6749 macro for adding the 'l'.
6750 * stdio-common/tst-fphex-wide.c: Adjust.
6752 2012-03-07 Marek Polacek <polacek@redhat.com>
6754 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
6756 2012-03-08 Marek Polacek <polacek@redhat.com>
6759 * stdio-common/Makefile (tests): Add tst-fphex-wide.
6760 * stdio-common/tst-fphex.c: Define a few macros to make the
6761 test reusable. Use them.
6762 * stdio-common/tst-fphex-wide.c: New file.
6764 2012-03-08 Joseph Myers <joseph@codesourcery.com>
6767 * manual/macros.texi (gnusystems): New macro.
6768 (nongnusystems): Likewise.
6769 (gnulinuxhurdsystems): Likewise.
6770 (gnuhurdsystems): Likewise..
6771 (gnulinuxsystems): Likewise.
6772 * manual/charset.texi: Use new macros or @theglibc{} to refer to
6773 variants of the GNU system, not "GNU system".
6774 * manual/conf.texi: Likewise.
6775 * manual/errno.texi: Likewise. Update example of errno macro
6777 * manual/filesys.texi: Likewise.
6778 (getumask): Document as specific to GNU/Hurd.
6779 * manual/install.texi: Likewise. Reword some references to
6781 * manual/intro.texi: Likewise.
6782 * manual/io.texi: Likewise.
6783 (File Name Portability): Detail which constraints are inapplicable
6784 to all GNU systems and which are only inapplicable to GNU/Hurd.
6785 * manual/job.texi: Likewise.
6786 * manual/llio.texi: Likewise.
6787 (O_NOCTTY): Document as present on GNU/Linux.
6788 * manual/maint.texi: Likewise.
6789 * manual/memory.texi: Likewise.
6790 * manual/pattern.texi: Likewise.
6791 * manual/pipe.texi: Likewise.
6792 * manual/process.texi: Likewise.
6793 * manual/resource.texi: Likewise.
6794 (RUSAGE_CHILDREN): Remove statement about specifying a particular
6796 * manual/setjmp.texi: Likewise.
6797 * manual/signal.texi: Likewise.
6798 * manual/startup.texi: Likewise.
6799 * manual/stdio.texi: Likewise.
6800 * manual/terminal.texi: Likewise.
6801 (ONLCR): Document as POSIX.
6802 (OXTABS): Document availability on GNU/Linux as XTABS.
6803 (ONOEOT): Document availability separately from other bits.
6804 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
6805 * manual/time.texi: Likewise.
6806 * manual/users.texi: Likewise.
6807 * INSTALL: Regenerated.
6808 * sysdeps/gnu/errlist.c: Regenerated.
6810 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
6811 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
6812 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
6814 * configure: Regenerated.
6816 2012-03-07 Joseph Myers <joseph@codesourcery.com>
6818 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
6819 default includes instead of AC_HEADER_CHECK.
6820 * sysdeps/i386/configure: Regenerated.
6823 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
6824 * math/s_cacoshf.c (__cacoshf): Likewise.
6825 * math/s_cacoshl.c (__cacoshl): Likewise.
6826 * math/s_casinh.c (__casinh): Set signs of result from argument.
6827 * math/s_casinhf.c (__casinhf): Likewise.
6828 * math/s_casinhl.c (__casinhl): Likewise.
6829 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
6830 (casinh_test): Add more tests.
6831 * sysdeps/i386/fpu/libm-test-ulps: Update.
6832 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6834 2012-03-07 Ulrich Drepper <drepper@gmail.com>
6836 * po/zh_TW.po: Update from translation team.
6838 * login/Makefile (distribute): Remove variable.
6839 * catgets/Makefile: Likewise.
6840 * mach/Makefile: Likewise.
6841 * malloc/Makefile: Likewise.
6842 * misc/Makefile: Likewise.
6843 * iconv/Makefile: Likewise.
6844 * nscd/Makefile: Likewise.
6845 * hurd/Makefile: Likewise.
6846 * manual/Makefile: Likewise.
6847 * locale/Makefile: Likewise.
6848 * intl/Makefile: Likewise.
6849 * conform/Makefile: Likewise.
6850 * nss/Makefile: Likewise.
6851 * time/Makefile: Likewise.
6852 * soft-fp/Makefile: Likewise.
6853 * dirent/Makefile: Likewise.
6854 * gmon/Makefile: Likewise.
6855 * po/Makefile: Likewise.
6856 * rt/Makefile: Likewise.
6857 * socket/Makefile: Likewise.
6858 * math/Makefile: Likewise.
6859 * signal/Makefile: Likewise.
6860 * debug/Makefile: Likewise.
6861 * elf/Makefile: Likewise.
6862 * timezone/Makefile: Likewise.
6863 * stdlib/Makefile: Likewise.
6864 * iconvdata/Makefile: Likewise.
6865 * sunrpc/Makefile: Likewise.
6866 * io/Makefile: Likewise.
6867 * argp/Makefile: Likewise.
6868 * inet/Makefile: Likewise.
6869 * hesiod/Makefile: Likewise.
6870 * grp/Makefile: Likewise.
6871 * csu/Makefile: Likewise.
6872 * wctype/Makefile: Likewise.
6873 * crypt/Makefile: Likewise.
6874 * libio/Makefile: Likewise.
6875 * string/Makefile: Likewise.
6876 * nis/Makefile: Likewise.
6877 * resolv/Makefile: Likewise.
6878 * stdio-common/Makefile: Likewise.
6879 * wcsmbs/Makefile: Likewise.
6880 * dlfcn/Makefile: Likewise.
6881 * posix/Makefile: Likewise.
6884 * timezone/Makefile: Don't install timezone files, just the programs
6887 2012-03-06 Ulrich Drepper <drepper@gmail.com>
6889 * nss/databases.def: Add missing gshadow entry.
6891 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
6893 2012-03-06 Marek Polacek <polacek@redhat.com>
6896 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
6897 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
6898 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
6899 * stdio-common/tst-long-dbl-fphex.c: New file.
6901 2012-03-06 David S. Miller <davem@davemloft.net>
6903 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6904 (set_obp_int): New function.
6905 (get_obp_int): New function.
6906 (__get_clockfreq_via_dev_openprom): Likewise.
6907 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
6908 Avoid unused variable warnings on 'val' and use builtin_expect.
6909 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
6911 (INLINE_CLONE_SYSCALL): Likewise.
6913 2012-03-05 David S. Miller <davem@davemloft.net>
6915 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6917 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
6919 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6921 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
6923 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6925 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
6927 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
6928 Replace gettimeofday with __vdso_gettimeofday.
6930 * sysdeps/unix/sysv/linux/x86_64/init-first.c
6931 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
6932 __vdso_clock_gettime and __vdso_getcpu.
6934 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
6935 time with __vdso_time.
6937 2012-03-05 Joseph Myers <joseph@codesourcery.com>
6939 * manual/lang.texi (size_t): Note types to which size_t may be
6940 equivalent with the GNU C Library, but do not describe when
6941 differences between them are significant.
6943 2012-03-05 Andreas Jaeger <aj@suse.de>
6945 * sysdeps/i386/fpu/libm-test-ulps: Update.
6947 2012-03-05 Joseph Myers <joseph@codesourcery.com>
6950 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
6951 (__ieee754_pow): Save and restore rounding mode and use
6952 round-to-nearest for main computations.
6953 * math/libm-test.inc (pow_test_tonearest): New function.
6954 (pow_test_towardzero): Likewise.
6955 (pow_test_downward): Likewise.
6956 (pow_test_upward): Likewise.
6957 (main): Call the new functions.
6958 * sysdeps/i386/fpu/libm-test-ulps: Update.
6959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6962 * math/libm-test.inc (cosh_test_tonearest): New function.
6963 (cosh_test_towardzero): Likewise.
6964 (cosh_test_downward): Likewise.
6965 (cosh_test_upward): Likewise.
6966 (sinh_test_tonearest): Likewise.
6967 (sinh_test_towardzero): Likewise.
6968 (sinh_test_downward): Likewise.
6969 (sinh_test_upward): Likewise.
6970 (main): Call the new functions.
6971 * sysdeps/i386/fpu/libm-test-ulps: Update.
6972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6974 2012-03-05 Tom de Vries <tom@codesourcery.com>
6976 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
6977 default stack guard is set in last bytes.
6978 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
6980 2012-03-05 Kees Cook <keescook@chromium.org>
6982 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
6985 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
6986 possibly allocate from heap instead of stack.
6987 * stdio-common/bug-vfprintf-nargs.c: New file.
6988 * stdio-common/Makefile (tests): Add nargs overflow test.
6990 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
6992 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6994 2012-03-03 Marek Polacek <polacek@redhat.com>
6996 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
6997 * math/math_private.h: Likewise.
6998 * stdlib/tst-strtod.c: Likewise.
6999 * sysdeps/i386/i486/bits/atomic.h: Likewise.
7000 * sysdeps/x86_64/bits/atomic.h: Likewise.
7002 2012-03-02 David S. Miller <davem@davemloft.net>
7004 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
7005 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
7006 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
7007 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
7008 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
7009 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
7010 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
7011 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
7013 2012-03-02 Roland McGrath <roland@hack.frob.com>
7016 * manual/examples/README: New file, says the example source files
7017 can be used under GPL>=2.
7018 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
7019 line containing just "*/".
7020 * manual/examples/add.c: Add copyright header (GPL>=2).
7021 * manual/examples/argp-ex1.c: Likewise.
7022 * manual/examples/argp-ex2.c: Likewise.
7023 * manual/examples/argp-ex3.c: Likewise.
7024 * manual/examples/argp-ex4.c: Likewise.
7025 * manual/examples/atexit.c: Likewise.
7026 * manual/examples/db.c: Likewise.
7027 * manual/examples/dir.c: Likewise.
7028 * manual/examples/dir2.c: Likewise.
7029 * manual/examples/execinfo.c: Likewise.
7030 * manual/examples/filecli.c: Likewise.
7031 * manual/examples/filesrv.c: Likewise.
7032 * manual/examples/fmtmsgexpl.c: Likewise.
7033 * manual/examples/genpass.c: Likewise.
7034 * manual/examples/inetcli.c: Likewise.
7035 * manual/examples/inetsrv.c: Likewise.
7036 * manual/examples/isockad.c: Likewise.
7037 * manual/examples/longopt.c: Likewise.
7038 * manual/examples/memopen.c: Likewise.
7039 * manual/examples/memstrm.c: Likewise.
7040 * manual/examples/mkfsock.c: Likewise.
7041 * manual/examples/mkisock.c: Likewise.
7042 * manual/examples/mygetpass.c: Likewise.
7043 * manual/examples/pipe.c: Likewise.
7044 * manual/examples/popen.c: Likewise.
7045 * manual/examples/rprintf.c: Likewise.
7046 * manual/examples/search.c: Likewise.
7047 * manual/examples/select.c: Likewise.
7048 * manual/examples/setjmp.c: Likewise.
7049 * manual/examples/sigh1.c: Likewise.
7050 * manual/examples/sigusr.c: Likewise.
7051 * manual/examples/stpcpy.c: Likewise.
7052 * manual/examples/strdupa.c: Likewise.
7053 * manual/examples/strftim.c: Likewise.
7054 * manual/examples/strncat.c: Likewise.
7055 * manual/examples/subopt.c: Likewise.
7056 * manual/examples/swapcontext.c: Likewise.
7057 * manual/examples/termios.c: Likewise.
7058 * manual/examples/testopt.c: Likewise.
7059 * manual/examples/testpass.c: Likewise.
7060 * manual/examples/timeval_subtract.c: Likewise.
7063 * manual/time.texi (Elapsed Time): Move timeval_subtract example
7065 * manual/timeval_subtract.c.texi: ... here, new file.
7067 2012-03-02 David S. Miller <davem@davemloft.net>
7069 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
7071 2012-03-02 Joseph Myers <joseph@codesourcery.com>
7074 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
7075 (__sin): Save and restore rounding mode and use round-to-nearest
7076 for all computations.
7077 (__cos): Save and restore rounding mode and use round-to-nearest
7078 for all computations.
7079 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
7081 (tan): Save and restore rounding mode and use round-to-nearest for
7083 * math/libm-test.inc (cos_test_tonearest): New function.
7084 (cos_test_towardzero): Likewise.
7085 (cos_test_downward): Likewise.
7086 (cos_test_upward): Likewise.
7087 (sin_test_tonearest): Likewise.
7088 (sin_test_towardzero): Likewise.
7089 (sin_test_downward): Likewise.
7090 (sin_test_upward): Likewise.
7091 (tan_test_tonearest): Likewise.
7092 (tan_test_towardzero): Likewise.
7093 (tan_test_downward): Likewise.
7094 (tan_test_upward): Likewise.
7095 (main): Call the new functions.
7096 * sysdeps/i386/fpu/libm-test-ulps: Update.
7097 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7100 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
7101 small n, then large n, before computing and testing k+n.
7102 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7103 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
7105 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
7107 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
7108 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
7109 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
7110 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
7111 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
7112 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
7113 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
7114 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
7115 * math/libm-test.inc (scalbn_test): Add more tests.
7116 (scalbln_test): Likewise.
7118 * manual/filesys.texi (mode_t): Describe constraints on size and
7119 signedness, not exact equivalence to a particular type.
7121 (ino64_t): Likewise.
7123 (nlink_t): Likewise.
7124 (blkcnt_t): Likewise.
7125 (blkcnt64_t): Likewise.
7126 * manual/llio.texi (off_t): Likewise.
7129 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
7130 (__ieee754_exp): Save and restore rounding mode and use
7131 round-to-nearest for all computations.
7132 * math/libm-test.inc (exp_test_tonearest): New function.
7133 (exp_test_towardzero): Likewise.
7134 (exp_test_downward): Likewise.
7135 (exp_test_upward): Likewise.
7136 (main): Call the new functions.
7137 * sysdeps/i386/fpu/libm-test-ulps: Update.
7138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7140 2012-03-01 Chris Demetriou <cgd@google.com>
7142 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
7143 have predictable order.
7145 2012-03-01 David S. Miller <davem@davemloft.net>
7147 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
7149 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
7150 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
7151 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
7152 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
7154 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
7155 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
7156 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
7157 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
7158 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
7159 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
7160 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
7161 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
7162 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
7164 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7166 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
7167 * sysdeps/sparc/fpu/libm-test-ulps: to here.
7168 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
7170 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
7171 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7172 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
7173 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
7174 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
7175 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
7176 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
7177 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7178 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
7179 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
7180 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
7181 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7182 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7183 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
7184 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7185 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7186 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
7187 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
7188 * sysdeps/sparc/elf/configure: Regenerated.
7190 2012-03-01 Joseph Myers <joseph@codesourcery.com>
7192 * configure.in (AS, LD): Require binutils 2.20 or later.
7193 * configure: Regenerated.
7194 * manual/install.texi (Tools for Compilation): Give binutils 2.20
7195 as required minimum version.
7196 * INSTALL: Regenerated.
7200 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
7201 before squaring exponent.
7202 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
7203 bottom long double and 27 bits of top long double before squaring
7205 * math/libm-test.inc (erfc_test): Add more tests.
7206 * sysdeps/i386/fpu/libm-test-ulps: Update.
7207 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7208 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7210 2012-03-01 Kai Tietz <ktietz@redhat.com>
7212 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
7213 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
7214 containing bit-fields.
7215 * soft-fp/extended.h (_FP_UNION_E): Likewise.
7216 * soft-fp/single.h (_FP_UNION_S): Likewise.
7217 * soft-fp/double.h (_FP_UNION_D): Likewise.
7219 2012-02-29 Joseph Myers <joseph@codesourcery.com>
7222 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
7223 not include ../strcmp.S.
7224 [USE_AS_STRNCASECMP_L]: Likewise.
7225 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
7226 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
7227 * sysdeps/i386/i686/multiarch/strncase_l-c.c
7228 (__strncasecmp_l_ia32): Define as alias to
7229 __strncasecmp_l_nonascii.
7232 * math/libm-test.inc (expm1_test): Add test for bug 5794.
7233 * sysdeps/i386/fpu/libm-test-ulps: Update.
7234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7236 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
7237 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7239 2012-02-29 Jeff Law <law@redhat.com>
7241 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
7244 2012-02-29 Marek Polacek <polacek@redhat.com>
7247 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
7248 * elf/Makefile: Add rules to run tst-unused-dep.out.
7250 2012-02-28 David S. Miller <davem@davemloft.net>
7252 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
7253 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
7254 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
7255 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
7256 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
7257 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
7259 2012-02-29 Joseph Myers <joseph@codesourcery.com>
7261 * math/libm-test.inc (llround_test): Move one test from
7262 lround_test. Use TEST_f_L in moved test.
7263 (lround_test): Move misplaced test to llround_test. Add testcase
7266 2012-02-28 Ulrich Drepper <drepper@gmail.com>
7268 * sysdeps/x86_64/fpu/e_expf.S: New file.
7269 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
7271 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
7274 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
7275 of remain_len that may cause incomplete multi-byte character and
7277 * posix/bug-regex33.c: New file.
7278 * posix/Makefile (tests): Add bug-regex33.
7280 2012-02-28 Joseph Myers <joseph@codesourcery.com>
7282 * manual/macros.texi: New file.
7283 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
7284 * manual/libc.texinfo: Include macros.texi.
7285 * manual/creatute.texi: Likewise.
7286 * manual/install.texi: Likewise.
7287 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
7288 @glibcadj{} in references to the GNU C Library.
7289 * manual/charset.texi: Likewise.
7290 * manual/conf.texi: Likewise.
7291 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
7292 when not using those macros.
7293 * manual/creature.texi: Likewise.
7294 * manual/crypt.texi: Likewise.
7295 * manual/errno.texi: Likewise.
7296 * manual/filesys.texi: Likewise.
7297 * manual/header.texi: Likewise.
7298 * manual/install.texi: Likewise.
7299 * manual/intro.texi: Likewise.
7300 * manual/io.texi: Likewise.
7301 * manual/job.texi: Likewise.
7302 * manual/lang.texi: Likewise.
7303 * manual/libc.texiinfo: Likewise.
7304 * manual/llio.texi: Likewise.
7305 * manual/locale.texi: Likewise.
7306 * manual/maint.texi: Likewise.
7307 * manual/math.texi: Likewise.
7308 * manual/memory.texi: Likewise.
7309 * manual/message.texi: Likewise.
7310 * manual/nss.texi: Likewise.
7311 * manual/pattern.texi: Likewise.
7312 * manual/process.texi: Likewise.
7313 * manual/resource.texi: Likewise.
7314 * manual/search.texi: Likewise.
7315 * manual/setjmp.texi: Likewise.
7316 * manual/signal.texi: Likewise.
7317 * manual/socket.texi: Likewise.
7318 * manual/startup.texi: Likewise.
7319 * manual/stdio.texi: Likewise.
7320 * manual/string.texi: Likewise.
7321 * manual/sysinfo.texi: Likewise.
7322 * manual/syslog.texi: Likewise.
7323 * manual/terminal.texi: Likewise.
7324 * manual/time.texi: Likewise.
7325 * manual/users.texi: Likewise.
7326 * INSTALL: Regenerated.
7327 * NOTES: Regenerated.
7328 * sysdeps/gnu/errlist.c: Regenerated.
7330 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
7332 * include/dirent.h: Include <dirstream.h> before
7335 2012-02-28 David S. Miller <davem@davemloft.net>
7337 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
7338 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
7339 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
7340 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
7342 2012-02-27 David S. Miller <davem@davemloft.net>
7344 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
7345 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
7346 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
7347 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
7349 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
7350 frame pointer instead of stack pointer relative arg slot.
7351 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7352 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7353 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7355 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
7358 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
7360 2012-02-27 David S. Miller <davem@davemloft.net>
7362 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
7363 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7364 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7365 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
7366 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7367 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7368 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
7369 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
7371 2012-02-27 Joseph Myers <joseph@codesourcery.com>
7373 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
7374 later. Allow versions 5-9.
7375 * configure: Regenerated.
7376 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
7377 required minimum version and 4.6 as recommended version. Do not
7378 mention bugs in GCC 2.7 and 2.8.
7379 * INSTALL: Regenerated.
7381 2012-02-27 David S. Miller <davem@davemloft.net>
7383 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
7384 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
7385 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
7386 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
7387 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
7388 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
7389 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
7390 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
7392 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
7393 manipulate bits before adding and subtracting TWO112[sx].
7394 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
7396 2012-02-27 Roland McGrath <roland@hack.frob.com>
7399 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
7400 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
7401 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
7402 being in POSIX, because they are in 1003.1-2008.
7404 * rt/tst-aio.c: Include <fcntl.h>.
7405 * rt/tst-aio7.c: Likewise.
7406 * rt/tst-aio64.c: Likewise.
7408 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
7410 2012-02-27 Joseph Myers <joseph@codesourcery.com>
7412 * manual/install.texi (--with-headers): Describe headers as
7413 interface headers, not private headers.
7414 (Specific advice for GNU/Linux systems): Describe use of headers
7415 from "make headers_install", not private headers from older
7417 * INSTALL: Regenerated.
7418 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
7420 * sysdeps/unix/sysv/linux/configure: Regenerated.
7422 * manual/llio.texi (fclean): Remove documentation.
7424 * manual/Makefile (libc-texi-generated): New variable. Include
7426 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
7427 $(libc-texi-generated), not duplicated list of files.
7428 (version.texi, stamp-version): New rules.
7429 (realclean): Remove $(libc-texi-generated), not individual files
7430 from that list. Do not remove dir-add.texinfo.
7431 * manual/libc.texinfo: Comment out uses of edition numbers and
7432 references to printed manual. Remove last-updated dates.
7433 (EDITION): Comment out.
7435 (VERSION, UPDATED): Remove.
7436 (version.texi): Include.
7438 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
7440 * sysdeps/posix/spawni.c: Include <signal.h>.
7441 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
7442 * sysdeps/pthread/aio_fsync.c: Likewise.
7444 2012-02-26 Ulrich Drepper <drepper@gmail.com>
7446 * conform/Makefile (tests): Run only when not cross-compiling and
7447 when fast-check is not defined.
7449 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
7450 * conform/data/limits.h-data: Fixes for POSIX2008.
7451 * conform/run-conformtest.sh: Run all tests.
7452 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
7454 * include/bits/dlfcn.h: Likewise.
7455 * include/langinfo.h: Likewise.
7456 * include/monetary.h: Likewise.
7457 * include/sys/poll.h: Likewise.
7459 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
7461 * posix/spawn.h: Define __need_sigset_t.
7462 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
7463 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
7464 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
7465 to get sigevent_t only.
7466 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
7468 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7469 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7470 process_vm_writev only for __USE_GNU.
7471 * termios/termios.h: Declare tcgetsid also for POSIX2008.
7473 * conform/Makefile: For now ignore errors from run-conformtest.
7474 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
7475 POSIX to avoid namespace pollution. Don't prepend headers.
7476 * conform/data/aio.h-data: Fixes for POSIX testing.
7477 * conform/data/fcntl.h-data: Likewise.
7478 * conform/data/glob.h-data: Likewise.
7479 * conform/data/grp.h-data: Likewise.
7480 * conform/data/pthread.h-data: Likewise.
7481 * conform/data/pwd.h-data: Likewise.
7482 * conform/data/signal.h-data: Likewise.
7483 * conform/data/spawn.h-data: Likewise.
7484 * conform/data/stdio.h-data: Likewise.
7485 * conform/data/stdlib.h-data: Likewise.
7486 * conform/data/stropts.h-data: Likewise.
7487 * conform/data/sys/mman.h-data: Likewise.
7488 * conform/data/sys/stat.h-data: Likewise.
7489 * conform/data/sys/types.h-data: Likewise.
7490 * conform/data/sys/wait.h-data: Likewise.
7491 * conform/data/time.h-data: Likewise.
7492 * conform/data/unistd.h-data: Likewise.
7493 * conform/data/utime.h-data: Likewise.
7495 * io/sys/stat.h: fchmod was always in POSIX.
7496 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
7497 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
7498 * rt/aio.h: Define __need_timespec before including <time.h>.
7499 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
7500 struct. Add forward declaration of pthread_attr_t and use it in
7502 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
7503 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7504 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
7505 always remove CLK_TCK definition.
7507 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
7509 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
7511 2012-02-25 Ulrich Drepper <drepper@gmail.com>
7513 * conform/run-conformtest.sh: New file.
7514 * conform/Makefile: Run run-conformtest for tests.
7515 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
7518 * conform/data/uchar.h-data: New file.
7519 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
7520 * conform/data/arpa/inet.h-data: Likewise.
7521 * conform/data/assert.h-data: Likewise.
7522 * conform/data/complex.h-data: Likewise.
7523 * conform/data/cpio.h-data: Likewise.
7524 * conform/data/ctype.h-data: Likewise.
7525 * conform/data/dirent.h-data: Likewise.
7526 * conform/data/dlfcn.h-data: Likewise.
7527 * conform/data/errno.h-data: Likewise.
7528 * conform/data/fcntl.h-data: Likewise.
7529 * conform/data/float.h-data: Likewise.
7530 * conform/data/fmtmsg.h-data: Likewise.
7531 * conform/data/fnmatch.h-data: Likewise.
7532 * conform/data/ftw.h-data: Likewise.
7533 * conform/data/glob.h-data: Likewise.
7534 * conform/data/grp.h-data: Likewise.
7535 * conform/data/iconv.h-data: Likewise.
7536 * conform/data/inttypes.h-data: Likewise.
7537 * conform/data/langinfo.h-data: Likewise.
7538 * conform/data/libgen.h-data: Likewise.
7539 * conform/data/limits.h-data: Likewise.
7540 * conform/data/locale.h-data: Likewise.
7541 * conform/data/math.h-data: Likewise.
7542 * conform/data/monetary.h-data: Likewise.
7543 * conform/data/mqueue.h-data: Likewise.
7544 * conform/data/ndbm.h-data: Likewise.
7545 * conform/data/net/if.h-data: Likewise.
7546 * conform/data/netdb.h-data: Likewise.
7547 * conform/data/netinet/in.h-data: Likewise.
7548 * conform/data/nl_types.h-data: Likewise.
7549 * conform/data/poll.h-data: Likewise.
7550 * conform/data/pthread.h-data: Likewise.
7551 * conform/data/pwd.h-data: Likewise.
7552 * conform/data/regex.h-data: Likewise.
7553 * conform/data/sched.h-data: Likewise.
7554 * conform/data/search.h-data: Likewise.
7555 * conform/data/semaphore.h-data: Likewise.
7556 * conform/data/setjmp.h-data: Likewise.
7557 * conform/data/signal.h-data: Likewise.
7558 * conform/data/spawn.h-data: Likewise.
7559 * conform/data/stdarg.h-data: Likewise.
7560 * conform/data/stdio.h-data: Likewise.
7561 * conform/data/stdlib.h-data: Likewise.
7562 * conform/data/string.h-data: Likewise.
7563 * conform/data/strings.h-data: Likewise.
7564 * conform/data/stropts.h-data: Likewise.
7565 * conform/data/sys/ipc.h-data: Likewise.
7566 * conform/data/sys/mman.h-data: Likewise.
7567 * conform/data/sys/msg.h-data: Likewise.
7568 * conform/data/sys/resource.h-data: Likewise.
7569 * conform/data/sys/select.h-data: Likewise.
7570 * conform/data/sys/sem.h-data: Likewise.
7571 * conform/data/sys/shm.h-data: Likewise.
7572 * conform/data/sys/socket.h-data: Likewise.
7573 * conform/data/sys/stat.h-data: Likewise.
7574 * conform/data/sys/statvfs.h-data: Likewise.
7575 * conform/data/sys/time.h-data: Likewise.
7576 * conform/data/sys/timeb.h-data: Likewise.
7577 * conform/data/sys/times.h-data: Likewise.
7578 * conform/data/sys/types.h-data: Likewise.
7579 * conform/data/sys/uio.h-data: Likewise.
7580 * conform/data/sys/un.h-data: Likewise.
7581 * conform/data/sys/utsname.h-data: Likewise.
7582 * conform/data/sys/wait.h-data: Likewise.
7583 * conform/data/syslog.h-data: Likewise.
7584 * conform/data/tar.h-data: Likewise.
7585 * conform/data/termios.h-data: Likewise.
7586 * conform/data/utime.h-data: Likewise.
7587 * conform/data/utmpx.h-data: Likewise.
7588 * conform/data/varargs.h-data: Likewise.
7589 * conform/data/wchar.h-data: Likewise.
7590 * conform/data/wctype.h-data: Likewise.
7591 * conform/data/wordexp.h-data: Likewise.
7593 * include/stropts.h: New file.
7594 * include/uchar.h: New file.
7595 * include/aio.h: Changes to allow conformtest.pl to use the headers.
7596 * include/assert.h: Likewise.
7597 * include/ctype.h: Likewise.
7598 * include/dirent.h: Likewise.
7599 * include/dlfcn.h: Likewise.
7600 * include/fcntl.h: Likewise.
7601 * include/fnmatch.h: Likewise.
7602 * include/glob.h: Likewise.
7603 * include/grp.h: Likewise.
7604 * include/libio.h: Likewise.
7605 * include/locale.h: Likewise.
7606 * include/math.h: Likewise.
7607 * include/net/if.h: Likewise.
7608 * include/netdb.h: Likewise.
7609 * include/netinet/in.h: Likewise.
7610 * include/pthread.h: Likewise.
7611 * include/pwd.h: Likewise.
7612 * include/regex.h: Likewise.
7613 * include/sched.h: Likewise.
7614 * include/search.h: Likewise.
7615 * include/setjmp.h: Likewise.
7616 * include/signal.h: Likewise.
7617 * include/stdio.h: Likewise.
7618 * include/stdlib.h: Likewise.
7619 * include/string.h: Likewise.
7620 * include/sys/cdefs.h: Likewise.
7621 * include/sys/mman.h: Likewise.
7622 * include/sys/msg.h: Likewise.
7623 * include/sys/resource.h: Likewise.
7624 * include/sys/select.h: Likewise.
7625 * include/sys/socket.h: Likewise.
7626 * include/sys/stat.h: Likewise.
7627 * include/sys/statvfs.h: Likewise.
7628 * include/sys/time.h: Likewise.
7629 * include/sys/times.h: Likewise.
7630 * include/sys/uio.h: Likewise.
7631 * include/sys/utsname.h: Likewise.
7632 * include/sys/wait.h: Likewise.
7633 * include/termios.h: Likewise.
7634 * include/time.h: Likewise.
7635 * include/ulimit.h: Likewise.
7636 * include/unistd.h: Likewise.
7637 * include/utime.h: Likewise.
7638 * include/wchar.h: Likewise.
7639 * include/wctype.h: Likewise.
7640 * include/wordexp.h: Likewise.
7642 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
7644 * time/time.h: TIME_UTC must be a macro.
7645 Make timespec_get available for ISO C11 only as well.
7647 2012-02-24 Ulrich Drepper <drepper@gmail.com>
7649 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
7650 Reported by Peng Haitao <penght@cn.fujitsu.com>.
7652 2012-02-24 Joseph Myers <joseph@codesourcery.com>
7654 * configure.in: Use -o not -a in test for unsupported multi-arch.
7656 2012-02-24 Joseph Myers <joseph@codesourcery.com>
7658 * manual/texinfo.tex: Update to version 2012-01-19.16.
7660 2012-02-24 Joseph Myers <joseph@codesourcery.com>
7662 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
7664 2012-02-24 Roland McGrath <roland@hack.frob.com>
7667 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
7668 * manual/fdl-1.3.texi: New file.
7669 * manual/fdl-1.1.texi: File removed.
7672 * manual/libc.texinfo (FDL_VERSION): New @set.
7673 Use it for mention of FDL in cover text.
7674 (Documentation License): Use it in @include file name.
7676 2012-02-22 Joseph Myers <joseph@codesourcery.com>
7677 Roland McGrath <roland@hack.frob.com>
7680 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
7681 not LONG_LONG_MAX and LONG_LONG_MIN.
7682 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
7683 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
7685 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
7687 2012-02-22 Joseph Myers <joseph@codesourcery.com>
7691 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
7692 manipulate bits before adding and subtracting TWO23[sx].
7693 * math/libm-test.inc (nearbyint_test): Add more tests.
7695 2012-02-22 Joseph Myers <joseph@codesourcery.com>
7698 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
7699 bits before adding and subtracting TWO23[sx].
7700 * math/libm-test.inc (rint_test): Add more tests.
7701 (rint_test_tonearest): Likewise.
7702 (rint_test_towardzero): Likewise.
7703 (rint_test_downward): Likewise.
7704 (rint_test_upward: Likewise.
7706 2012-02-22 Joseph Myers <joseph@codesourcery.com>
7709 * include/stdc-predef.h: New file. Extracted from features.h.
7710 * include/features.h: Include stdc-predef.h.
7711 * Makefile (headers): Add stdc-predef.h.
7712 * CONFORMANCE (Compiler limitations): Update.
7714 2012-02-22 Joseph Myers <joseph@codesourcery.com>
7716 * manual/libc.texinfo (VERSION, UPDATED): Revert.
7718 2012-02-21 David S. Miller <davem@davemloft.net>
7720 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
7721 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
7723 2012-02-20 David S. Miller <davem@davemloft.net>
7725 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
7726 using a normal save/restore sequence, rather than allocating a
7727 dummy stack frame just to store a frame pointer and restore.
7728 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7730 2012-02-21 Joseph Myers <joseph@codesourcery.com>
7732 * manual/install.texi: Fix stray word in line-wrapped comment.
7734 2012-02-20 David S. Miller <davem@davemloft.net>
7736 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
7737 both binutils and gcc support GOTDATA.
7739 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
7740 "rd %pc" in the PIC register setup sequences.
7742 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
7743 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
7744 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
7745 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
7746 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
7747 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7748 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7749 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7750 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
7751 (SYSCALL_ERROR_HANDLER): Likewise.
7752 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
7753 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7754 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
7755 (SYSCALL_ERROR_HANDLER): Likewise.
7757 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
7758 (HAVE_GCC_GOTDATA): New.
7759 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
7760 relocation support in both binutils and gcc.
7761 * sysdeps/sparc/elf/configure: Regenerate.
7763 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
7764 * sysdeps/sparc/sparc32/elf/configure: Delete.
7765 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
7766 * sysdeps/sparc/sparc64/elf/configure: Delete.
7767 * sysdeps/sparc/elf/configure.in: New file.
7768 * sysdeps/sparc/elf/configure: Generate.
7770 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
7771 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
7772 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
7773 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
7774 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
7776 2012-02-21 Joseph Myers <joseph@codesourcery.com>
7778 * manual/install.texi: Do not mention specific glibc version
7780 * manual/libc.texinfo (VERSION, UPDATED): Update.
7781 (@copying): Use @copyright{} and range of years.
7783 2012-02-21 Joseph Myers <joseph@codesourcery.com>
7786 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
7787 [crti.S not in sysdirs] (generated): Do not append.
7788 [crti.S not in sysdirs] (omit-deps): Likewise.
7789 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
7790 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
7791 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
7792 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
7793 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
7795 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
7796 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
7797 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
7798 * csu/defs.awk: Remove file.
7799 * sysdeps/generic/initfini.c: Likewise.
7800 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
7802 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
7805 2012-02-20 Joseph Myers <joseph@codesourcery.com>
7807 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
7808 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
7809 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
7810 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
7811 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7812 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
7814 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
7815 (__EPOLL_PACKED): Define to empty if not defined by
7817 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
7818 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7821 2012-02-20 Joseph Myers <joseph@codesourcery.com>
7823 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
7824 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
7825 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
7826 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
7828 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
7829 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7832 2012-02-20 Joseph Myers <joseph@codesourcery.com>
7834 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
7836 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7837 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7838 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
7839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7841 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
7843 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7844 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
7846 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
7848 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
7849 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
7851 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
7853 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
7856 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
7858 * math/w_acos.c: Use non-signaling floating-point comparisons.
7859 * math/w_acosf.c: Likewise.
7860 * math/w_acosh.c: Likewise.
7861 * math/w_acoshf.c: Likewise.
7862 * math/w_acoshl.c: Likewise.
7863 * math/w_acosl.c: Likewise.
7864 * math/w_asin.c: Likewise.
7865 * math/w_asinf.c: Likewise.
7866 * math/w_asinl.c: Likewise.
7867 * math/w_atanh.c: Likewise.
7868 * math/w_atanhf.c: Likewise.
7869 * math/w_atanhl.c: Likewise.
7870 * math/w_exp2.c: Likewise.
7871 * math/w_exp2f.c: Likewise.
7872 * math/w_exp2l.c: Likewise.
7873 * math/w_j0.c: Likewise.
7874 * math/w_j0f.c: Likewise.
7875 * math/w_j0l.c: Likewise.
7876 * math/w_j1.c: Likewise.
7877 * math/w_j1f.c: Likewise.
7878 * math/w_j1l.c: Likewise.
7879 * math/w_jn.c: Likewise.
7880 * math/w_jnf.c: Likewise.
7881 * math/w_log.c: Likewise.
7882 * math/w_log10.c: Likewise.
7883 * math/w_log10f.c: Likewise.
7884 * math/w_log10l.c: Likewise.
7885 * math/w_log2.c: Likewise.
7886 * math/w_log2f.c: Likewise.
7887 * math/w_log2l.c: Likewise.
7888 * math/w_logf.c: Likewise.
7889 * math/w_logl.c: Likewise.
7890 * math/w_sqrt.c: Likewise.
7891 * math/w_sqrtf.c: Likewise.
7892 * math/w_sqrtl.c: Likewise.
7893 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7894 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
7895 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7896 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
7897 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
7899 2012-02-19 Joseph Myers <joseph@codesourcery.com>
7902 * manual/string.texi (strnlen): Use correct parameter name in
7903 equivalent expression.
7905 2012-02-19 Joseph Myers <joseph@codesourcery.com>
7908 * manual/users.texi (seteuid): Consistently use neweuid for
7911 2012-02-19 Joseph Myers <joseph@codesourcery.com>
7914 * manual/nss.texi (Services in the NSS configuration): Correct
7915 list of services in example configuration file.
7917 2012-02-19 Nick Bowler <nbowler@draconx.ca>
7920 * manual/arith.texi: Remove statements about negative zero
7921 behaving identically to zero.
7923 2012-02-18 Joseph Myers <joseph@codesourcery.com>
7926 * manual/install.texi: Do not document upgrading from libc5.
7928 2012-02-18 Joseph Myers <joseph@codesourcery.com>
7931 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
7933 2012-02-18 David S. Miller <davem@davemloft.net>
7935 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
7936 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
7937 %o7 across the call.
7938 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
7940 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
7942 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7943 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
7944 * sysdeps/sparc/crtn.S: Likewise.
7946 2012-02-17 Ulrich Drepper <drepper@gmail.com>
7948 * aout/Makefile: Remove.
7950 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
7953 * manual/examples/argp-ex1.c (main): Format definition in GNU
7955 * manual/examples/argp-ex2.c (main): Likewise.
7956 * manual/examples/argp-ex3.c (main): Likewise.
7957 * manual/examples/argp-ex4.c (main): Likewise.
7958 * manual/examples/longopt.c (main): Use new-style prototype
7960 * manual/examples/strncat.c (main): Specify return type and use
7961 (void) for arguments.
7962 * manual/examples/subopt.c (main): Use char **argv argument.
7964 2012-02-17 Joseph Myers <joseph@codesourcery.com>
7967 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
7970 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
7973 * manual/string.texi (strchr): Change when strchrnul is
7976 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
7979 * manual/locale.texi (setlocale): Document LOCPATH.
7981 2012-02-17 Joseph Myers <joseph@codesourcery.com>
7984 * manual/process.texi (execle): Move @dots{} before last argument.
7986 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
7989 * manual/charset.texi (Generic Charset Conversion): Fix typo
7990 (LC_TYPE -> LC_CTYPE).
7992 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
7995 * manual/arith.texi (scalbn): Use @var{} on parameter names.
7996 (scalbnf): Likewise.
7997 (scalbnl): Likewise.
7998 (scalbln): Likewise.
7999 (scalblnf): Likewise.
8000 (scalblnl): Likewise.
8001 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
8005 * manual/filesys.texi (telldir): Use braces around return type.
8006 * manual/llio.texi (mmap): Add space after comma.
8008 * manual/math.texi (jn): Use @var{} on parameter names.
8014 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
8016 * manual/resource.texi (ulimit): Use @dots{} instead of literal
8018 (sched_get_priority_min): Remove semicolon on @deftypefun line.
8019 (sched_get_priority_max): Likewise.
8020 * manual/signal.texi (sigvec): Add space after comma.
8021 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
8023 (if_indextoname): Likewise.
8024 (if_freenameindex): Likewise.
8025 (sendto): Use ',' instead of '.' in prototype.
8026 * manual/startup.texi (syscall): Use @dots{} instead of literal
8028 * manual/stdio.texi (__fpending): Separate initial words of
8029 paragraph from @deftypefun line.
8030 * manual/syslog.texi (syslog): Use @dots{} instead of literal
8032 (vsyslog): Use @var{} on parameter names.
8033 * manual/terminal.texi (stty): Use @var{} on parameter names.
8034 * manual/users.texi (getutmp): Use @var{} on parameter names.
8035 (getutmpx): Likewise.
8037 2012-02-17 Joseph Myers <joseph@codesourcery.com>
8040 * manual/stdio.texi (fopen): Fix typos in description of
8043 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
8046 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
8047 get clock_id definition.
8049 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
8052 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
8053 (madvise): Cast every argument to void on its own.
8055 2012-02-17 Joseph Myers <joseph@codesourcery.com>
8058 * manual/startup.texi (Exit Status): Fix typo.
8060 2012-02-17 Joseph Myers <joseph@codesourcery.com>
8063 * manual/examples/argp-ex1.c: Include <stdlib.h>.
8064 * manual/examples/argp-ex2.c: Likewise.
8065 * manual/examples/argp-ex3.c: Likewise.
8067 2012-02-16 Richard Henderson <rth@redhat.com>
8069 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
8070 * sysdeps/s390/s390-32/initfini.c: Remove.
8071 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
8072 * sysdeps/s390/s390-64/initfini.c: Remove.
8074 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8076 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
8077 compiler output for sysdeps/generic/initfini.c.
8078 * sysdeps/sh/elf/initfini.c: Remove file.
8080 2012-02-16 David S. Miller <davem@davemloft.net>
8083 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
8085 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
8086 * sysdeps/sparc/crti.S: New file.
8087 * sysdeps/sparc/crtn.S: New file.
8088 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
8089 * sysdeps/sparc/sparc64/Makefile: Likewise.
8091 2012-02-15 Mike Frysinger <vapier@gentoo.org>
8094 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
8096 2012-02-15 Roland McGrath <roland@hack.frob.com>
8099 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
8101 * mach/devstream.c (cookie_io_functions_t): Macro removed.
8102 (write, read, close): Likewise.
8103 Patch by Aurelien Jarno <aurelien@aurel32.net>.
8105 2012-02-15 Joseph Myers <joseph@codesourcery.com>
8107 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
8108 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
8109 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
8110 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
8112 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
8113 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8116 2012-02-14 Marek Polacek <polacek@redhat.com>
8118 * sysdeps/x86_64/crti.S: New file.
8119 * sysdeps/x86_64/crtn.S: New file.
8120 * sysdeps/x86_64/elf/initfini.c: Remove file.
8122 2012-02-13 Joseph Myers <joseph@codesourcery.com>
8124 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
8125 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
8126 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
8127 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
8129 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
8130 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8133 2012-02-13 Joseph Myers <joseph@codesourcery.com>
8135 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
8136 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
8137 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
8138 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
8140 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
8141 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8144 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
8146 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
8147 __feraiseexcept instead of feraiseexcept.
8149 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
8150 nanosleep invocations.
8151 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
8152 strings, and add error checking for a nanosleep invocations.
8154 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
8156 Replace FSF snail mail address with URLs, as per GNU coding standards.
8157 Most of the snail mail addresses were wrong anyway, and omitting
8158 them makes the source code easier to maintain. Almost all of the
8159 changes are to license notices and to locale LC_IDENTIFICATION
8160 addresses, except for this one:
8161 * manual/libc.texinfo: In "Published by", give the FSF's URL,
8162 not its snail mail address.
8164 2012-02-09 Richard Henderson <rth@twiddle.net>
8166 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
8167 of kernel-features.h.
8169 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
8171 2012-02-08 Marek Polacek <polacek@redhat.com>
8173 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
8174 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
8175 * sysdeps/gnu/_G_config.h: Likewise.
8176 * sysdeps/generic/_G_config.h: Likewise.
8178 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
8180 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
8182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8184 * sysdeps/powerpc/powerpc32/crti.S: New file.
8185 * sysdeps/powerpc/powerpc32/crtn.S: New file.
8186 * sysdeps/powerpc/powerpc64/crti.S: New file.
8187 * sysdeps/powerpc/powerpc64/crtn.S: New file.
8189 * Makeconfig (have-initfini): Don't set.
8190 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
8191 * configure.in (nopic_initfini): Don't substitute.
8192 * config.h.in (HAVE_INITFINI): Don't #undef.
8193 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
8194 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
8196 2012-02-08 Joseph Myers <joseph@codesourcery.com>
8198 Support crti.S and crtn.S provided directly by architectures.
8199 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
8200 [crti.S in sysdirs] (omit-deps): Likewise.
8201 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
8202 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
8203 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
8204 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
8205 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
8206 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
8207 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
8208 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
8209 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
8210 compiler output for sysdeps/generic/initfini.c.
8211 * sysdeps/i386/elf/Makefile: Remove file.
8212 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
8214 2012-02-07 Marek Polacek <polacek@redhat.com>
8216 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
8217 * sysdeps/gnu/_G_config.h: Likewise.
8218 * sysdeps/mach/hurd/_G_config.h: Likewise.
8220 2012-02-07 Marek Polacek <polacek@redhat.com>
8222 * math/Makefile (tests): Add tst-CMPLX2.
8223 * math/tst-CMPLX2.c: New file.
8225 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
8227 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8229 * math/libm-test.inc (jn_test): Add missing L suffix.
8231 2012-02-06 Marek Polacek <polacek@redhat.com>
8233 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
8234 * sysdeps/i386/fpu/e_powf.S: Likewise.
8235 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8236 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8237 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8238 * sysdeps/i386/fpu/e_pow.S: Likewise.
8239 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
8240 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8241 * sysdeps/i386/fpu/s_expm1.S: Likewise.
8242 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8243 * sysdeps/i386/fpu/e_log2.S: Likewise.
8244 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8245 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8246 * sysdeps/i386/fpu/e_powl.S: Likewise.
8247 * sysdeps/i386/fpu/s_log1p.S: Likewise.
8248 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8249 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
8250 * sysdeps/i386/fpu/e_logl.S: Likewise.
8251 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
8252 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
8253 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8254 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
8255 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8256 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8257 * sysdeps/i386/fpu/e_log.S: Likewise.
8258 * sysdeps/i386/fpu/s_cexp.S: Likewise.
8259 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8260 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
8261 * sysdeps/i386/fpu/e_logf.S: Likewise.
8262 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8263 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8264 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
8265 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
8266 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8267 * sysdeps/i386/fpu/e_log10.S: Likewise.
8268 * sysdeps/i386/fpu/s_frexp.S: Likewise.
8269 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8270 * sysdeps/i386/fpu/s_asinh.S: Likewise.
8271 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
8272 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8273 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
8274 * sysdeps/i386/asm-syntax.h: Likewise.
8275 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8276 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8277 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8278 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
8279 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
8280 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8281 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
8282 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
8283 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8284 * sysdeps/powerpc/sysdep.h: Likewise.
8285 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
8286 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8288 2012-02-06 Joseph Myers <joseph@codesourcery.com>
8291 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
8293 2012-02-06 Joseph Myers <joseph@codesourcery.com>
8295 * sysdeps/i386/sysdep.h: Include <features.h>.
8296 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
8299 2012-02-05 Joseph Myers <joseph@codesourcery.com>
8301 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
8303 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
8306 2012-02-03 Joseph Myers <joseph@codesourcery.com>
8308 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
8309 (SETUP_PIC_REG): Use GET_PC_THUNK.
8310 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
8313 2012-02-03 Joseph Myers <joseph@codesourcery.com>
8315 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
8316 for non-PIC compilation.
8317 (SETUP_PIC_REG): Add .p2align directive.
8318 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
8319 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
8320 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8321 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8322 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8323 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8324 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
8325 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8326 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8327 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8328 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8329 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8330 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8331 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8332 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8333 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8334 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8335 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8336 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8337 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8338 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8339 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8340 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8341 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8342 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8343 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8344 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8345 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8346 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8347 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8348 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8349 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8350 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8351 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8352 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8353 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8354 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8355 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8356 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8357 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8358 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8360 2012-02-03 Joseph Myers <joseph@codesourcery.com>
8362 * math/tst-CMPLX.c: Include <stdio.h>.
8364 2012-01-31 Joseph Myers <joseph@codesourcery.com>
8366 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
8368 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8369 * sysdeps/sparc/bits/mathdef.h: Likewise.
8371 2012-01-31 Marek Polacek <polacek@redhat.com>
8373 * libio/libio.h: Don't define _PARAMS.
8374 * locale/programs/config.h: Don't define PARAMS.
8375 * stdlib/strtol_l.c: Likewise.
8376 (__strtol_l): Remove PARAMS from the prototype.
8378 2012-01-31 Ulrich Drepper <drepper@gmail.com>
8380 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
8381 names. Just use the correct names. Remove unnecessary wrapper
8383 * malloc/arena.c: Likewise.
8384 * malloc/hooks.c: Likewise.
8386 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
8387 ARENA_TEST says not to. Simplify test for creation of a new arena.
8388 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
8390 2012-01-30 Ulrich Drepper <drepper@gmail.com>
8392 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
8394 (update_get_addr): New function.
8395 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
8396 GET_ADDR_MODULE parameter.
8398 2012-01-30 Joseph Myers <joseph@codesourcery.com>
8400 * crypt/cert.c: Remove __STDC__ conditionals.
8401 * crypt/crypt-entry.c: Likewise.
8402 * crypt/crypt_util.c: Likewise.
8403 * libio/filedoalloc.c: Likewise.
8404 * libio/fileops.c: Likewise.
8405 * libio/genops.c: Likewise.
8406 * libio/iofclose.c: Likewise.
8407 * libio/iofdopen.c: Likewise.
8408 * libio/iofopen.c: Likewise.
8409 * libio/iofopen64.c: Likewise.
8410 * libio/iogetdelim.c: Likewise.
8411 * libio/iopopen.c: Likewise.
8412 * libio/obprintf.c: Likewise.
8413 * libio/oldfileops.c: Likewise.
8414 * libio/oldiofclose.c: Likewise.
8415 * libio/oldiofdopen.c: Likewise.
8416 * libio/oldiofopen.c: Likewise.
8417 * libio/oldiopopen.c: Likewise.
8418 * libio/wfiledoalloc.c: Likewise.
8419 * libio/wgenops.c: Likewise.
8420 * locale/programs/xmalloc.c: Likewise.
8421 * misc/syslog.c: Likewise.
8422 * stdio-common/xbug.c: Likewise.
8423 * string/memchr.c: Likewise.
8424 * string/memcmp.c: Likewise.
8425 * string/memrchr.c: Likewise.
8426 * string/rawmemchr.c: Likewise.
8427 * sysdeps/posix/getcwd.c: Likewise.
8428 * time/strftime_l.c: Likewise.
8430 2012-01-30 Joseph Myers <joseph@codesourcery.com>
8432 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
8433 * config.make.in (config-cflags-sse2avx): Define.
8434 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
8437 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
8439 * scripts/config.guess: Update from upstream config git repository.
8440 * scripts/config.sub: Likewise.
8442 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
8444 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
8446 (R_TILEPRO_*, R_TILEGX_*): New macros.
8448 * scripts/firstversions.awk: Fix bug in version range handling.
8450 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
8452 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
8454 * include/sys/epoll.h: New file.
8455 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
8458 2012-01-28 Ulrich Drepper <drepper@gmail.com>
8460 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
8461 Avoid unnecessary __WORDSIZE == 64 test.
8462 (fmaxf): Use VEX format if possible.
8467 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
8468 * math/math_private.h: Remove libc_fegetround* and
8470 * sysdeps/i386/configure.in: Check for -msse2avx.
8471 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
8472 also if SSE2AVX is defined.
8473 Remove libc_fegetround* and libc_fesetround*.
8474 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
8475 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
8476 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
8478 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8479 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8480 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8481 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8482 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8484 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
8486 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8488 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
8490 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
8492 2012-01-27 Ulrich Drepper <drepper@gmail.com>
8495 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
8497 * Makeconfig (libm): Define.
8498 * elf/Makefile: Add rules to build and run tst-relsort1.
8499 * elf/tst-relsort1.c: New file.
8500 * elf/tst-relsort1mod1.c: New file.
8501 * elf/tst-relsort1mod2.c: New file.
8503 2012-01-27 Joseph Myers <joseph@codesourcery.com>
8505 * math/s_ldexp.c: Remove __STDC__ conditionals.
8506 * math/s_ldexpf.c: Likewise.
8507 * math/s_ldexpl.c: Likewise.
8508 * math/s_nextafter.c: Likewise.
8509 * math/s_nexttowardf.c: Likewise.
8510 * math/s_significand.c: Likewise.
8511 * math/s_significandf.c: Likewise.
8512 * math/s_significandl.c: Likewise.
8513 * math/w_jnl.c: Likewise.
8514 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8515 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8516 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8517 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8518 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8519 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8520 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
8521 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8522 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8523 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8524 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8525 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8526 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8527 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8528 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8529 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8530 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8531 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8532 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8533 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8534 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8535 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8536 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8537 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8538 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8539 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8540 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8541 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8542 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
8543 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8544 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8545 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
8546 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8547 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
8548 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
8549 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8550 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8551 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
8552 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
8553 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8554 * sysdeps/ieee754/k_standard.c: Likewise.
8555 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8556 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8557 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8558 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8559 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8560 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8561 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8562 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8563 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8564 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8565 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8566 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
8567 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8568 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8569 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8570 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8571 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8572 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8573 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8574 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8575 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8576 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8577 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8578 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8579 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8580 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8581 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8582 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8583 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8584 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
8585 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
8586 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
8587 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8588 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
8589 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
8590 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
8591 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
8592 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8593 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
8594 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
8595 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
8596 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
8597 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8598 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
8599 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8600 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
8601 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
8602 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8603 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
8604 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8605 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
8606 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8607 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8608 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
8609 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
8610 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
8611 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
8612 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8613 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8614 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8615 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8616 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8617 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
8618 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8619 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8620 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8621 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8622 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
8623 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
8624 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8625 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8626 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8627 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8628 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
8629 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
8630 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8631 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
8632 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
8633 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
8634 * sysdeps/ieee754/s_matherr.c: Likewise.
8635 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
8636 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8637 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8638 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8640 2012-01-26 Joseph Myers <joseph@codesourcery.com>
8642 * crypt/md5.h: Remove __STDC__ conditionals.
8643 * libio/libioP.h: Likewise.
8644 * locale/programs/config.h: Likewise.
8645 * sysdeps/generic/sysdep.h: Likewise.
8646 * sysdeps/i386/asm-syntax.h: Likewise.
8647 * sysdeps/s390/asm-syntax.h: Likewise.
8648 * sysdeps/unix/sysdep.h: Likewise.
8649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8652 2012-01-26 Joseph Myers <joseph@codesourcery.com>
8654 * libio/libio.h: Remove __STDC__ conditionals.
8655 * malloc/obstack.h: Likewise.
8656 * math/complex.h: Likewise.
8657 * math/math.h: Likewise.
8658 * sysdeps/generic/_G_config.h: Likewise.
8659 * sysdeps/gnu/_G_config.h: Likewise.
8660 * sysdeps/mach/hurd/_G_config.h: Likewise.
8661 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8662 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8663 * sysdeps/sparc/bits/mathdef.h: Likewise.
8665 2012-01-26 Ulrich Drepper <drepper@gmail.com>
8668 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
8669 Clean up HAS_* macros.
8670 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
8671 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
8673 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
8675 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8676 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8677 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8678 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8679 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8681 2012-01-25 Joseph Myers <joseph@codesourcery.com>
8683 * elf/tst-unique3.cc (gets): Remove declaration.
8684 * elf/tst-unique3lib.cc (gets): Likewise.
8685 * elf/tst-unique3lib2.cc (gets): Likewise.
8686 * elf/tst-unique4.cc (gets): Likewise.
8688 2012-01-24 Ulrich Drepper <drepper@gmail.com>
8690 * include/stdio.h: Add C++ protection. Add gets declarations and
8692 * debug/tst-chk1.c: Don't declare gets here.
8693 * stdio-common/tst-gets.c: Likewise.
8695 2012-01-24 Joseph Myers <joseph@codesourcery.com>
8697 * posix/glob: Remove directory.
8699 2012-01-24 Joseph Myers <joseph@codesourcery.com>
8701 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
8703 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
8705 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
8706 of the non-standard EPFNOSUPPORT.
8708 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
8710 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
8711 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
8712 ANYWHERE set to 1 only on KERN_NO_SPACE error.
8714 2012-01-21 Ulrich Drepper <drepper@gmail.com>
8716 * wcsmbs/uchar.h: Test __STDC_VERSION__.
8718 2012-01-20 Ulrich Drepper <drepper@gmail.com>
8720 * nscd/aicache.c (addhstaiX): Do not cache negative results of
8722 * nscd/grpcache.c (cache_addgr): Likewise.
8723 * nscd/hstcache.c (cache_addhst): Likewise.
8724 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8725 * nscd/pwdcache.c (cache_addpw): Likewise.
8726 * nscd/servicescache.c (cache_addserv): Likewise.
8728 2012-01-16 Ulrich Drepper <drepper@gmail.com>
8730 * malloc/malloc.c: Various cleanups.
8731 * malloc/hooks.c: Likewise.
8733 * stdlib/Makefile (tests): Add bug-fmtmsg1.
8734 * stdlib/bug-fmtmsg1.c: New file.
8736 * stdlib/fmtmsg.c (init): Add missing unlock.
8737 Patch by Peng Haitao <penght@cn.fujitsu.com>.
8739 2012-01-12 Marek Polacek <polacek@redhat.com>
8741 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
8744 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
8746 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
8747 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
8748 macro to ensure uniqueness of label name.
8749 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
8750 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
8752 2012-01-11 Ulrich Drepper <drepper@gmail.com>
8754 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
8756 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
8757 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
8758 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8759 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
8761 2012-01-10 Ulrich Drepper <drepper@gmail.com>
8763 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
8765 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
8766 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
8767 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
8769 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
8771 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
8772 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
8773 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
8774 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
8776 * math/bits/math-finite.h: Add ldexp support.
8778 2012-01-10 Marek Polacek <polacek@redhat.com>
8780 * locale/programs/localedef.h (show_archive_content): Add noreturn
8783 2012-01-09 Ulrich Drepper <drepper@gmail.com>
8785 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
8787 2012-01-08 Ulrich Drepper <drepper@gmail.com>
8789 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
8791 * io/Makefile (headers): Add bits/poll2.h.
8793 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
8795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
8796 typo #include statement.
8798 2012-01-08 Ulrich Drepper <drepper@gmail.com>
8800 * include/sys/cdefs.h: Define __attribute_alloc_size.
8801 * catgets/gencat.c: Add alloc_size attribute and apply consistently
8802 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
8803 * elf/pldd.c: Likewise.
8804 * iconv/iconv_charmap.c: Likewise.
8805 * iconv/iconvconfig.c: Likewise.
8806 * iconv/strtab.c: Likewise.
8807 * locale/programs/locale.c: Likewise.
8808 * locale/programs/localedef.h: Likewise.
8809 * locale/programs/simple-hash.c: Likewise.
8810 * nscd/nscd.h: Likewise.
8811 * nss/makedb.c: Likewise.
8812 * sysdeps/generic/ldconfig.h: Likewise.
8813 * locale/programs/localedef.c: Remove xmalloc prototype.
8814 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
8816 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8818 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
8821 2012-01-08 Ulrich Drepper <drepper@gmail.com>
8823 * math/Makefile (tests): Add tst-CMPLX.
8824 * math/tst-CMPLX.c: New file.
8826 * math/complex.h (CMPLXL): Fix typo.
8828 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
8829 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
8831 * debug/tst-chk1.c: Add poll and ppoll tests.
8832 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
8833 * include/sys/poll.h: Add hidden proto for ppoll.
8834 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
8835 * sysdeps/mach/hurd/ppoll.c: Likewise.
8836 * io/ppoll.c: Likewise.
8837 * debug/poll_chk.c: New file.
8838 * debug/ppoll_chk.c: New file.
8839 * include/bits/poll2.h: New file.
8840 * io/bits/poll2.h: New file.
8843 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
8845 * configure.in: static is always set to yes. Remove.
8846 * config.make.in: Don't set build-static.
8847 * Makeconfig: Remove use of build-static.
8848 * dlfcn/Makefile: Likewise.
8849 * elf/Makefile: Likewise.
8850 * math/Makefile: Likewise.
8851 * misc/Makefile: Likewise.
8852 * nptl/Makefile: Likewise.
8853 * sysdeps/mach/hurd/Makefile: Likewise.
8855 * configure.in: PWD_P is not used anymore.
8856 * config.make.in: Remove PWD_P entry.
8858 * configure.in: Remove last remnants of RANLIB.
8859 No need to check for signed size_t anymore.
8860 Don't set libc_commonpagesize and libc_relro_required here for Alpha
8862 Remove __builtin_expect test because we require at least gcc 3.4.
8863 * aclocal.m4: Likewise.
8865 * wcsmbs/mbrtoc16.c: Implement using towc function.
8866 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
8867 * wcsmbs/wcsmbsload.c: Likewise.
8868 * iconv/gconv_simple.c: Likewise.
8869 * iconv/gconv_int.h: Likewise.
8870 * iconv/gconv_builtin.h: Likewise.
8871 * iconv/iconv_prog.c: Remove CHAR16 handling.
8873 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
8875 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
8877 * configure.in: Remove --with-elf and --enable-bounded options.
8878 Dont set base_machine for ia64. More non-ELF conditions removed.
8879 Remove testing and setting of leading underscore information.
8880 * config.make.in (build-bounded): Set to no.
8881 * config.h.in: Remove NO_UNDERSCORES entry.
8882 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
8884 * csu/start.c: Remove !NO_UNDERSCORE code.
8885 * locale/localeinfo.h: Likewise.
8886 * sysdeps/generic/machine-gmon.h: Likewise.
8887 * sysdeps/generic/sysdep.h: Likewise.
8888 * sysdeps/i386/sysdep.h: Likewise.
8889 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
8890 * sysdeps/mach/sysdep.h: Likewise.
8891 * sysdeps/s390/s390-32/sysdep.h: Likewise.
8892 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8893 * sysdeps/sh/sysdep.h: Likewise.
8894 * sysdeps/sparc/sparc32/alloca.S: Likewise.
8895 * sysdeps/unix/i386/sysdep.S: Likewise.
8896 * sysdeps/unix/sparc/start.c: Likewise.
8897 * sysdeps/unix/sparc/sysdep.S: Likewise.
8898 * sysdeps/unix/sparc/sysdep.h: Likewise.
8899 * sysdeps/unix/start.c: Likewise.
8900 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8901 * sysdeps/x86_64/sysdep.h: Likewise.
8903 2012-01-07 Ulrich Drepper <drepper@gmail.com>
8906 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
8908 * argp/argp-fmtstream.h: Use const instead __const.
8909 * argp/argp.h: Likewise.
8910 * assert/assert.h: Likewise.
8911 * bits/fenv.h: Likewise.
8912 * bits/sched.h: Likewise.
8913 * bits/sigset.h: Likewise.
8914 * bits/sigthread.h: Likewise.
8915 * catgets/nl_types.h: Likewise.
8916 * conform/data/pthread.h-data: Likewise.
8917 * crypt/crypt-private.h: Likewise.
8918 * crypt/crypt.h: Likewise.
8919 * crypt/crypt_util.c: Likewise.
8920 * ctype/ctype.h: Likewise.
8921 * debug/execinfo.h: Likewise.
8922 * debug/mbsnrtowcs_chk.c: Likewise.
8923 * debug/mbsrtowcs_chk.c: Likewise.
8924 * debug/wcsnrtombs_chk.c: Likewise.
8925 * debug/wcsrtombs_chk.c: Likewise.
8926 * debug/wcstombs_chk.c: Likewise.
8927 * dirent/dirent.h: Likewise.
8928 * dlfcn/dlfcn.h: Likewise.
8929 * elf/neededtest4.c: Likewise.
8930 * grp/grp.h: Likewise.
8931 * gshadow/gshadow.h: Likewise.
8932 * iconv/gconv.h: Likewise.
8933 * iconv/gconv_int.h: Likewise.
8934 * iconv/gconv_simple.c: Likewise.
8935 * iconv/iconv.h: Likewise.
8936 * iconv/loop.c: Likewise.
8937 * iconv/skeleton.c: Likewise.
8938 * include/aio.h: Likewise.
8939 * include/aliases.h: Likewise.
8940 * include/argz.h: Likewise.
8941 * include/arpa/inet.h: Likewise.
8942 * include/assert.h: Likewise.
8943 * include/dirent.h: Likewise.
8944 * include/dlfcn.h: Likewise.
8945 * include/execinfo.h: Likewise.
8946 * include/fcntl.h: Likewise.
8947 * include/fenv.h: Likewise.
8948 * include/glob.h: Likewise.
8949 * include/grp.h: Likewise.
8950 * include/libintl.h: Likewise.
8951 * include/mntent.h: Likewise.
8952 * include/netdb.h: Likewise.
8953 * include/pwd.h: Likewise.
8954 * include/rpc/netdb.h: Likewise.
8955 * include/sched.h: Likewise.
8956 * include/search.h: Likewise.
8957 * include/shadow.h: Likewise.
8958 * include/signal.h: Likewise.
8959 * include/stdio.h: Likewise.
8960 * include/stdlib.h: Likewise.
8961 * include/string.h: Likewise.
8962 * include/sys/socket.h: Likewise.
8963 * include/sys/stat.h: Likewise.
8964 * include/sys/statfs.h: Likewise.
8965 * include/sys/statvfs.h: Likewise.
8966 * include/sys/syslog.h: Likewise.
8967 * include/sys/time.h: Likewise.
8968 * include/sys/uio.h: Likewise.
8969 * include/time.h: Likewise.
8970 * include/unistd.h: Likewise.
8971 * include/utmp.h: Likewise.
8972 * include/wchar.h: Likewise.
8973 * include/wctype.h: Likewise.
8974 * inet/aliases.h: Likewise.
8975 * inet/arpa/inet.h: Likewise.
8976 * inet/netinet/ether.h: Likewise.
8977 * inet/netinet/in.h: Likewise.
8978 * intl/libintl.h: Likewise.
8979 * io/bits/fcntl2.h: Likewise.
8980 * io/fcntl.h: Likewise.
8981 * io/ftw.h: Likewise.
8982 * io/sys/poll.h: Likewise.
8983 * io/sys/stat.h: Likewise.
8984 * io/sys/statfs.h: Likewise.
8985 * io/sys/statvfs.h: Likewise.
8986 * io/utime.h: Likewise.
8987 * libio/bits/stdio.h: Likewise.
8988 * libio/bits/stdio2.h: Likewise.
8989 * libio/libio.h: Likewise.
8990 * libio/libioP.h: Likewise.
8991 * libio/stdio.h: Likewise.
8992 * locale/lc-ctype.c: Likewise.
8993 * locale/locale.h: Likewise.
8994 * login/utmp.h: Likewise.
8995 * malloc/arena.c: Likewise.
8996 * malloc/malloc.c: Likewise.
8997 * malloc/malloc.h: Likewise.
8998 * malloc/mcheck.c: Likewise.
8999 * malloc/mtrace.c: Likewise.
9000 * math/bits/mathcalls.h: Likewise.
9001 * math/fenv.h: Likewise.
9002 * math/math_private.h: Likewise.
9003 * misc/bits/error.h: Likewise.
9004 * misc/bits/syslog.h: Likewise.
9005 * misc/err.h: Likewise.
9006 * misc/error.h: Likewise.
9007 * misc/fstab.h: Likewise.
9008 * misc/mntent.h: Likewise.
9009 * misc/regexp.h: Likewise.
9010 * misc/search.h: Likewise.
9011 * misc/sgtty.h: Likewise.
9012 * misc/sys/mman.h: Likewise.
9013 * misc/sys/syslog.h: Likewise.
9014 * misc/sys/uio.h: Likewise.
9015 * misc/sys/xattr.h: Likewise.
9016 * misc/ttyent.h: Likewise.
9017 * nis/rpcsvc/ypclnt.h: Likewise.
9018 * nss/nss.h: Likewise.
9019 * posix/bits/unistd.h: Likewise.
9020 * posix/fnmatch.h: Likewise.
9021 * posix/glob.h: Likewise.
9022 * posix/sched.h: Likewise.
9023 * posix/spawn.h: Likewise.
9024 * posix/sys/wait.h: Likewise.
9025 * posix/unistd.h: Likewise.
9026 * posix/wordexp.h: Likewise.
9027 * pwd/pwd.h: Likewise.
9028 * resolv/netdb.h: Likewise.
9029 * resource/sys/resource.h: Likewise.
9030 * rt/aio.h: Likewise.
9031 * rt/bits/mqueue2.h: Likewise.
9032 * rt/mqueue.h: Likewise.
9033 * shadow/shadow.h: Likewise.
9034 * signal/signal.h: Likewise.
9035 * socket/send.c: Likewise.
9036 * socket/sendto.c: Likewise.
9037 * socket/sys/socket.h: Likewise.
9038 * stdio-common/printf.h: Likewise.
9039 * stdlib/bits/stdlib.h: Likewise.
9040 * stdlib/fmtmsg.h: Likewise.
9041 * stdlib/monetary.h: Likewise.
9042 * stdlib/stdlib.h: Likewise.
9043 * stdlib/ucontext.h: Likewise.
9044 * streams/stropts.h: Likewise.
9045 * string/argz.h: Likewise.
9046 * string/bits/string2.h: Likewise.
9047 * string/string.h: Likewise.
9048 * string/strings.h: Likewise.
9049 * sunrpc/rpc/auth.h: Likewise.
9050 * sunrpc/rpc/auth_des.h: Likewise.
9051 * sunrpc/rpc/clnt.h: Likewise.
9052 * sunrpc/rpc/netdb.h: Likewise.
9053 * sunrpc/rpc/pmap_clnt.h: Likewise.
9054 * sunrpc/rpc/xdr.h: Likewise.
9055 * sysdeps/generic/inttypes.h: Likewise.
9056 * sysdeps/generic/net/if.h: Likewise.
9057 * sysdeps/generic/sys/swap.h: Likewise.
9058 * sysdeps/gnu/net/if.h: Likewise.
9059 * sysdeps/gnu/utmpx.h: Likewise.
9060 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
9061 * sysdeps/i386/i486/bits/string.h: Likewise.
9062 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
9063 * sysdeps/s390/bits/string.h: Likewise.
9064 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
9065 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
9066 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
9067 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
9068 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
9069 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
9070 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
9071 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
9072 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
9073 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
9074 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
9075 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9076 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
9077 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9078 * sysdeps/unix/sysv/linux/readv.c: Likewise.
9079 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
9080 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9081 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9082 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9083 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9084 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9085 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
9086 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
9087 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
9088 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
9089 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
9090 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
9091 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9092 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
9093 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
9094 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
9095 * sysvipc/sys/ipc.h: Likewise.
9096 * sysvipc/sys/msg.h: Likewise.
9097 * sysvipc/sys/sem.h: Likewise.
9098 * sysvipc/sys/shm.h: Likewise.
9099 * termios/termios.h: Likewise.
9100 * time/sys/time.h: Likewise.
9101 * time/time.h: Likewise.
9102 * wcsmbs/bits/wchar2.h: Likewise.
9103 * wcsmbs/uchar.h: Likewise.
9104 * wcsmbs/wchar.h: Likewise.
9105 * wctype/wctype.h: Likewise.
9108 * Makeconfig: Remove all but ELF support including AIX support.
9109 * Makerules: Likewise.
9110 * config.h.in: Likewise.
9111 * config.make.in: Likewise.
9112 * configure: Likewise.
9113 * configure.in: Likewise.
9114 * csu/Makefile: Likewise.
9115 * csu/version.c: Likewise.
9116 * debug/Makefile: Likewise.
9117 * dlfcn/Makefile: Likewise.
9118 * elf/Makefile: Likewise.
9119 * extra-lib.mk: Likewise.
9120 * iconv/Makefile: Likewise.
9121 * include/libc-symbols.h: Likewise.
9122 * include/shlib-compat.h: Likewise.
9123 * resolv/Makefile: Likewise.
9124 * resolv/res_libc.c: Likewise.
9125 * rt/Makefile: Likewise.
9126 * sysdeps/i386/asm-syntax.h: Likewise.
9127 * sysdeps/i386/sysdep.h: Likewise.
9128 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9129 * sysdeps/mach/sysdep.h: Likewise.
9130 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
9131 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
9132 * sysdeps/s390/asm-syntax.h: Likewise.
9133 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9134 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9135 * sysdeps/sh/sysdep.h: Likewise.
9136 * sysdeps/unix/sparc/sysdep.h: Likewise.
9137 * sysdeps/wordsize-32/divdi3.c: Likewise.
9138 * sysdeps/x86_64/sysdep.h: Likewise.
9140 * argp/Versions: Remove _argp_unlock_xxx.
9143 * abilist/ld.abilist: Update. Adjust for removal of tls option.
9144 * abilist/libBrokenLocale.abilist: Likewise.
9145 * abilist/libanl.abilist: Likewise.
9146 * abilist/libc.abilist: Likewise.
9147 * abilist/libcrypt.abilist: Likewise.
9148 * abilist/libdl.abilist: Likewise.
9149 * abilist/libm.abilist: Likewise.
9150 * abilist/libnsl.abilist: Likewise.
9151 * abilist/libpthread.abilist: Likewise.
9152 * abilist/libresolv.abilist: Likewise.
9153 * abilist/librt.abilist: Likewise.
9154 * abilist/libthread_db.abilist: Likewise.
9155 * abilist/libutil.abilist: Likewise.
9156 * abilist/libnss_db.abilist: New file.
9158 * scripts/abilist.awk: Add support for indirect functions.
9160 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
9162 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
9164 * shlib-versions: Remove entries for ports architectures.
9166 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
9168 * elf/stackguard-macros.h: Remove support for IA-64.
9169 * elf/tst-auditmod1.c: Likewise.
9170 * sysdeps/generic/ldsodefs.h: Likewise.
9172 * sysdeps/unix/sysv/linux/configure.in: Ports should define
9173 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
9177 * configure.in: Remove --enable-omitfp support.
9179 * config.make.in: Likewise.
9180 * Makeconfig: Likewise.
9181 * manual/install.texi: Likewise.
9183 In case anyone cares, the IA-64 architecture could move to ports.
9184 * sysdeps/ia64/*: Removed.
9185 * sysdeps/unix/sysv/linux/ia64/*: Removed.
9186 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
9189 * configure.in: Remove entries for unsupported architectures.
9192 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
9193 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
9195 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
9196 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
9197 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
9198 fall back to using wcrtomb.
9199 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
9200 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
9202 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
9203 * wcsmbs/tst-c16c32-1.c: New file.
9205 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
9208 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
9210 * elf/tst-unique3.cc: Add explicit declaration of gets.
9211 * elf/tst-unique3lib.cc: Likewise.
9212 * elf/tst-unique3lib2.cc: Likewise.
9213 * elf/tst-unique4.cc: Likewise.
9215 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
9217 2012-01-06 Joseph Myers <joseph@codesourcery.com>
9220 * assert/assert.h (static_assert): Don't define for C++.
9221 * libio/stdio.h (gets): Do declare for C++ <= C++11.
9222 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
9224 2012-01-03 Ulrich Drepper <drepper@gmail.com>
9226 * iconv/loop.c (single loop): Fix assertion in storing of
9229 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
9231 2012-01-01 Ulrich Drepper <drepper@gmail.com>
9233 * posix/getconf.c: Update copyright year.
9234 * nss/getent.c: Likewise.
9235 * nss/makedb.c: Likewise.
9236 * iconv/iconvconfig.c: Likewise.
9237 * iconv/iconv_prog.c: Likewise.
9238 * elf/ldconfig.c: Likewise.
9239 * elf/pldd.c: Likewise.
9240 * elf/sotruss.ksh: Likewise.
9241 * catgets/gencat.c: Likewise.
9242 * csu/version.c: Likewise.
9243 * elf/ldd.bash.in: Likewise.
9244 * elf/sprof.c (print_version): Likewise.
9245 * locale/programs/locale.c: Likewise.
9246 * locale/programs/localedef.c: Likewise.
9247 * login/programs/pt_chown.c: Likewise.
9248 * nscd/nscd.c (print_version): Likewise.
9249 * debug/xtrace.sh: Likewise.
9250 * malloc/memusage.sh: Likewise.
9251 * malloc/mtrace.pl: Likewise.
9252 * debug/catchsegv.sh: Likewise.
9254 2011-12-30 Jakub Jelinek <jakub@redhat.com>
9256 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
9259 2011-12-24 Ulrich Drepper <drepper@gmail.com>
9262 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
9263 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
9265 * iconv/gconv_int.h: Likewise.
9266 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
9267 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
9268 from libc for GLIBC_2.16.
9269 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
9270 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
9271 * wcsmbs/uchar.h: Really define mbstate_t.
9272 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
9273 * wcsmbs/c16rtomb.c: New file.
9274 * wcsmbs/mbrtoc16.c: New file.
9275 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
9277 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
9278 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
9280 * wcsmbs/wchar.h: Add missing __restrict.
9282 2011-12-23 Ulrich Drepper <drepper@gmail.com>
9285 * time/Makefile (routines): Add timespec_get.
9286 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
9287 * time/time.h: Define TIME_UTC and declare timespec_get. Define
9288 timespec for ISO C11.
9289 * time/timespec_get.c: New file.
9290 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
9291 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
9294 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
9295 * stdlib/stdlib.h: Declare aligned_alloc.
9296 * Versions.def: Add GLIBC_2.16 for libc.
9297 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
9300 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
9303 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
9307 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
9310 * assert/assert.h (static_assert): Define.
9312 * version.h: Update for 2.16 development version.
9315 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
9318 * version.h (RELEASE): Bump for 2.15 release.
9319 * include/features.h (__GLIBC_MINOR__): Bump to 15.
9321 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
9322 Patch by Marek Polacek <mpolacek@redhat.com>.
9324 * bits/byteswap.h: Protect long long constants with __extension__.
9325 * sysdeps/i386/bits/byteswap.h: Likewise.
9326 * sysdeps/ia64/bits/byteswap.h: Likewise.
9327 * sysdeps/s390/bits/byteswap.h: Likewise.
9328 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9330 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9333 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
9335 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
9337 2011-12-23 Marek Polacek <polacek@redhat.com>
9339 * elf/dl-addr.c (determine_info): Add inline keyword.
9340 * elf/tst-auditmod4b.c (check_avx): Likewise.
9341 * elf/tst-auditmod6b.c (check_avx): Likewise.
9342 * elf/tst-auditmod6c.c (check_avx): Likewise.
9343 * elf/tst-auditmod7b.c (check_avx): Likewise.
9345 2011-12-23 Ulrich Drepper <drepper@gmail.com>
9347 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
9350 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9353 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
9354 processing for last bytes.
9356 2011-08-06 Bruno Haible <bruno@clisp.org>
9359 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
9360 U+0385, not to U+1FEE.
9363 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
9364 entry for U+00A5 U+0301.
9366 2011-12-22 Ulrich Drepper <drepper@gmail.com>
9369 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
9370 buffer for the output is too small.
9372 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
9376 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
9377 SSE flags if possible.
9379 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9382 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
9383 processing for last bytes.
9385 2011-12-22 Joseph Myers <joseph@codesourcery.com>
9387 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
9388 (syscall-list-default-options, syscall-list-default-condition)
9389 (syscall-list-includes): Define.
9390 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
9391 list of ABIs and options and #if conditions for each ABI. Do not
9392 handle common syscalls between ABIs specially.
9393 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
9395 (syscall-list-variants, syscall-list-32bit-options)
9396 (syscall-list-32bit-condition, syscall-list-64bit-options)
9397 (syscall-list-64bit-condition): Define.
9398 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
9399 (syscall-list-variants, syscall-list-32bit-options)
9400 (syscall-list-32bit-condition, syscall-list-64bit-options)
9401 (syscall-list-64bit-condition): Define.
9402 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
9404 (syscall-list-variants, syscall-list-32bit-options)
9405 (syscall-list-32bit-condition, syscall-list-64bit-options)
9406 (syscall-list-64bit-condition): Define.
9407 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
9409 (syscall-list-variants, syscall-list-32bit-options)
9410 (syscall-list-32bit-condition, syscall-list-64bit-options)
9411 (syscall-list-64bit-condition): Define.
9413 2011-12-22 Ulrich Drepper <drepper@gmail.com>
9415 * locale/iso-639.def: Add brx entry.
9418 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
9419 Proposed by Mariusz_Cukr <marcukr@op.pl>.
9421 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
9422 __feraiseexcept_renamed.
9424 2011-12-21 Ulrich Drepper <drepper@gmail.com>
9427 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
9428 EPOLLET with unsigned values.
9429 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9430 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9432 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
9433 to large cancellation.
9434 * math/s_cacoshf.c: Likewise.
9435 * math/s_cacoshl.c: Likewise.
9437 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
9441 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
9442 * math/s_cacoshf.c: Likewise.
9443 * math/s_cacoshl.c: Likewise.
9445 2011-12-21 Ulrich Drepper <drepper@gmail.com>
9448 * iconv/gconv.h: Define __GCONV_SWAP.
9449 * iconvdata/unicode.c: The swap bit must be stored in __flags.
9450 * iconvdata/utf-16.c: Likewise.
9451 * iconvdata/utf-32.c: Likewise.
9453 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
9456 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
9457 numerator after shifting it by one limb.
9459 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
9461 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
9462 under [__USE_EXTERN_INLINES].
9464 2011-12-17 Ulrich Drepper <drepper@gmail.com>
9467 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
9469 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9471 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
9472 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
9474 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
9475 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
9476 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
9477 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
9478 for strncasecmp/strncasecmp_l compilation.
9479 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
9480 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
9482 2011-12-08 Marek Polacek <mpolacek@redhat.com>
9485 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
9488 2011-12-17 Ulrich Drepper <drepper@gmail.com>
9491 * time/tzfile.c (__tzfile_read): Check values from file header.
9493 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
9495 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
9496 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
9497 * powerpc/powerpc32/dl-start.S: Likewise.
9498 * powerpc/powerpc32/elf/start.S: Likewise.
9499 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9500 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
9501 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
9502 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
9503 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
9504 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
9505 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
9506 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
9507 * powerpc/powerpc32/fpu/s_round.S: Likewise.
9508 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
9509 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
9510 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
9511 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
9512 * powerpc/powerpc32/memset.S: Likewise.
9513 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
9514 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9515 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9516 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9517 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9518 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9519 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9520 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9521 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
9522 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
9523 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
9524 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9525 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9527 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9529 * math/libm-test.inc: Added more nearbyint tests.
9530 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
9531 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
9532 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
9533 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
9535 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
9537 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
9540 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9542 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
9543 Add wcscpy-ssse3 wcscpy-c.
9544 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
9545 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
9546 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
9547 * sysdeps/x86_64/wcschr.S: New file.
9548 * sysdeps/x86_64/wcsrchr.S: New file.
9549 * string/test-strcmp.c: Remove checking of wcscmp function for
9551 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
9552 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
9553 wcsrchr-sse2 wcsrchr-c.
9554 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
9555 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
9556 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
9557 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
9558 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
9559 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
9560 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
9561 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
9562 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
9563 * wcsmbc/wcschr.c (WCSCHR): New macro.
9565 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9567 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
9568 * wcsmbs/test-wcsrchr.c: New file.
9569 * string/test-strrchr.c: Add wcsrchr support.
9571 * wcsmbs/test-wcscpy.c: New file.
9572 * string/test-strcpy.c: Add wcscpy support.
9575 2011-12-10 Ulrich Drepper <drepper@gmail.com>
9577 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
9580 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
9583 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
9585 2011-12-04 Ulrich Drepper <drepper@gmail.com>
9587 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
9588 Minor optimizations.
9590 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
9591 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
9592 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
9594 2011-12-03 Ulrich Drepper <drepper@gmail.com>
9596 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
9597 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
9598 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
9599 for gcc to avoid warnings.
9600 * inet/Makefile (tests): Add tst-checks.
9601 * inet/tst-checks.c: New file.
9603 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
9606 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
9609 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
9610 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
9612 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
9614 2011-12-02 Ulrich Drepper <drepper@gmail.com>
9616 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
9619 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
9621 2011-11-29 Joseph Myers <joseph@codesourcery.com>
9623 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
9624 conditional on GCC version.
9625 (__arch_compare_and_exchange_val_8_acq)
9626 (__arch_compare_and_exchange_val_16_acq)
9627 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
9628 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
9629 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
9631 2011-12-02 Joseph Myers <joseph@codesourcery.com>
9633 * sysdeps/sh/backtrace.c: New file.
9635 2011-12-02 Andreas Schwab <schwab@redhat.com>
9637 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
9640 2011-12-01 Andreas Schwab <schwab@redhat.com>
9642 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
9643 falling back to utime.
9645 2011-11-30 Andreas Schwab <schwab@redhat.com>
9647 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
9648 expectations for float.
9650 2011-11-29 Andreas Schwab <schwab@redhat.com>
9652 * locale/weight.h (findidx): Add parameter len.
9653 * locale/weightwc.h (findidx): Likewise.
9654 * posix/fnmatch_loop.c (FCT): Adjust caller.
9655 * posix/regcomp.c (build_equiv_class): Likewise.
9656 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
9657 * posix/regexec.c (check_node_accept_bytes): Likewise.
9658 * string/strcoll_l.c (STRCOLL): Likewise.
9659 * string/strxfrm_l.c (STRXFRM): Likewise.
9661 2011-11-17 Ulrich Drepper <drepper@gmail.com>
9663 * Makefile.in: Remove CVSOPT handling.
9664 * configure.in: Remove use of AC_REVISION.
9665 * iconvdata/Makefile (distribute): No need to filter out CVS.
9666 * scripts/list-sources.sh: Remove CVS, subversion and monotone
9669 2011-11-16 Andreas Schwab <schwab@redhat.com>
9671 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
9672 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
9673 [USE_AS_STRNCASECMP_L]: Likewise.
9674 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
9675 NO_TLS_DIRECT_SEG_REFS.
9676 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
9677 Fix argument offsets for non-PIC.
9678 [USE_AS_STRNCASECMP_L]: Likewise.
9679 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
9680 NO_TLS_DIRECT_SEG_REFS.
9682 2011-11-15 Ulrich Drepper <drepper@gmail.com>
9684 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
9686 * locale/loadlocale.c (_nl_load_locale): Likewise.
9688 2011-11-15 Andreas Schwab <schwab@redhat.com>
9690 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
9691 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
9692 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
9693 (SYSCALL_GETTIME): Set errno on error.
9695 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
9696 count references to noai6ai_cached.
9698 2011-11-15 Ulrich Drepper <drepper@gmail.com>
9700 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
9702 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
9703 FD_CLOEXEC for /proc/self/maps.
9705 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
9706 FD_CLOEXEC for /proc/meminfo.
9708 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
9711 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
9712 FD_CLOEXEC for given file.
9714 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
9716 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
9717 FD_CLOEXEC for /etc/hosts.
9718 (_gethtent): Likewise.
9720 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
9722 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
9723 cancellation and set FD_CLOEXEC for /etc/netgroup.
9725 * nss/nss_files/files-key.c (search): Don't allow cancellation when
9726 reading /etc/publickey.
9728 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
9729 allow cancellation when reading /etc/group.
9731 * nss/nss_files/files-alias.c (internal_setent): Don't allow
9733 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
9735 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
9736 when using data file.
9738 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
9740 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
9741 (write_nis_obj): Use "c" and "e" in fopen.
9743 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
9745 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
9747 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
9749 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
9751 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
9754 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
9756 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
9758 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
9760 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
9761 file parsing and set FD_CLOEXEC.
9763 2011-11-14 Ulrich Drepper <drepper@gmail.com>
9765 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
9767 2011-11-14 Andreas Schwab <schwab@redhat.com>
9769 * malloc/arena.c (arena_get2): Don't call reused_arena when
9770 _int_new_arena failed.
9772 2011-11-14 Ulrich Drepper <drepper@gmail.com>
9774 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
9775 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
9776 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
9777 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9778 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9779 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
9780 to compile strcasecmp and strncasecmp.
9781 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
9782 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
9784 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
9786 2011-11-13 Ulrich Drepper <drepper@gmail.com>
9788 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
9789 locale-defines.sym to gen-as-const-headers.
9790 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
9791 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
9792 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
9793 to compile strcasecmp and strncasecmp.
9794 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
9795 strcasecmp_l and strncasecmp_l.
9796 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
9797 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
9798 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
9799 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
9800 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
9801 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
9802 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
9803 * sysdeps/i386/i686/multiarch/strncase.S: New file.
9804 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
9805 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
9806 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
9808 2011-11-12 Ulrich Drepper <drepper@gmail.com>
9810 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
9811 result of SYSDEP_GETTIME_CPU to retval.
9812 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
9813 parameter list to macro. Remove trailing semicolon. Adjust users.
9815 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
9818 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
9820 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
9822 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
9823 from unused variable.
9825 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
9827 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
9830 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
9833 * sunrpc/rpc_prot.c (rejected): Fix case value.
9835 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
9836 unsigned long long int to avoid warnings in shift.
9838 * posix/regex_internal.c (re_string_reconstruct): Actually use result
9840 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
9843 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
9844 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
9845 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
9847 * nis/nis_table.c (nis_list): Use variable of correct type for
9848 result of __follow_path call.
9850 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9852 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
9853 of math functions ceil, trunc, floor, round, and sqrt, when
9854 avaliable on the platform.
9855 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
9857 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9858 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
9859 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
9861 2011-10-30 Marek Polacek <mpolacek@redhat.com>
9863 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
9864 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
9866 2011-11-11 Roland McGrath <roland@hack.frob.com>
9868 * include/unistd.h: Fix __readlink return type.
9869 Reported by Chris Metcalf <cmetcalf@tilera.com>.
9871 2011-11-11 Ulrich Drepper <drepper@gmail.com>
9873 * stdlib/ucontext.h: Undo last change for makecontext.
9875 2011-11-11 Andreas Schwab <schwab@redhat.com>
9877 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
9879 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
9880 * setjmp/setjmp.h: Mark functions as non-leaf.
9881 * setjmp/bits/setjmp2.h: Likewise.
9882 * stdlib/ucontext.h: Likewise.
9884 2011-11-10 Andreas Schwab <schwab@redhat.com>
9886 * malloc/arena.c (_int_new_arena): Don't increment narenas.
9887 (reused_arena): Don't check arena limit.
9888 (arena_get2): Atomically check arena limit.
9890 2011-11-08 Ulrich Drepper <drepper@gmail.com>
9892 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
9893 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
9895 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
9898 2011-11-07 Andreas Schwab <schwab@redhat.com>
9900 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
9901 handler when locking.
9903 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9904 Fix size of allocated buffer.
9906 2011-11-04 Andreas Schwab <schwab@redhat.com>
9909 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
9910 declarations for long double functions.
9911 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
9913 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
9915 2011-11-03 Andreas Schwab <schwab@redhat.com>
9917 * nscd/nscd.c (main): Don't start AVC thread until credentials are
9920 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
9923 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
9925 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
9927 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
9929 * include/alloca.h (stackinfo_alloca_round): Define.
9930 (extend_alloca): Use it.
9931 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
9932 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
9935 * scripts/check-local-headers.sh: Ignore libaudit.h.
9937 * nscd/Makefile (extra-objs): Make recursively expanded.
9939 2011-11-01 Ulrich Drepper <drepper@gmail.com>
9941 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
9942 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
9944 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
9945 * posix/tst-rfc3484-2.c: Likewise.
9946 * posix/tst-rfc3484-3.c: Likewise.
9948 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
9950 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
9952 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
9953 process_vm_writev from libc using GLIBC_2.15 version.
9955 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
9957 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
9959 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
9962 2011-10-31 Ulrich Drepper <drepper@gmail.com>
9965 * nss/getent.c (initgroups_keys): Show error message in case no group
9968 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
9969 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
9970 __bump_nl_timestamp.
9971 * nscd/connections (nscd_init): When host database is served open
9972 netlink socket and request notification about configuration changes.
9973 (main_loop_poll): Track netlink file descriptor and bump timestamp
9974 in case data becomes available.
9975 (main_loop_epoll): Likewise.
9976 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
9977 (database_pers_head): Add extra_data fileds.
9978 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
9979 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
9980 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
9982 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
9983 in6ai data, call __free_in6ai.
9984 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
9986 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
9987 interface information. Reuse previous data if netlink timestamp
9989 (__bump_nl_timestamp): New function.
9990 (__free_in6ai): New function.
9992 2011-10-30 Ulrich Drepper <drepper@gmail.com>
9994 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
9995 close_not_cancel_no_status here.
9996 (__check_pf): Reorganize code a bit to not call close twice if OOM.
9998 2011-10-29 Ulrich Drepper <drepper@gmail.com>
10001 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
10004 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
10005 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
10006 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
10008 2011-07-03 Andreas Jaeger <aj@suse.de>
10011 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
10012 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
10013 * math/libm-test.inc (sin_test): Add test case.
10015 2011-10-29 Ulrich Drepper <drepper@gmail.com>
10018 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
10019 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10021 * elf/chroot_canon.c (chroot_canon): Cleanups.
10023 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
10026 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
10027 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10029 * string/test-strchr.c: Make usable for strchrnul testing.
10030 * string/test-strchrnul.c: New file.
10031 * string/Makefile (strop-tests): Add strchrnul.
10033 * po/it.po: Update from translation team.
10034 * po/es.po: Likewise.
10036 2011-10-28 Ulrich Drepper <drepper@gmail.com>
10038 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
10039 the three constants needed as parameters. Drop the others.
10040 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
10041 __m128i_strloadu_tolower.
10042 Create and initialize variable zero and use it in all the places
10043 where _mm_setzero_si128 was used.
10045 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
10046 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
10047 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
10048 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
10050 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
10051 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
10052 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
10053 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
10054 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
10055 __mpranred, __mptan.
10056 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
10057 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
10058 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
10059 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
10060 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
10061 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
10062 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
10063 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
10064 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
10066 2011-10-28 Andreas Schwab <schwab@redhat.com>
10068 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
10069 redefine if SHARED.
10070 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
10072 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
10073 wide char related routines to wcsmbs subdir.
10075 2011-10-27 Andreas Schwab <schwab@redhat.com>
10078 * misc/sys/cdefs.h (__THROWNL): Define.
10079 * posix/unistd.h: Use __THREADNL instead of __THREAD
10080 for memory synchronization functions.
10082 2011-10-26 Roland McGrath <roland@hack.frob.com>
10085 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
10087 * manual/stdio.texi (Obstack Streams): Node removed.
10089 2011-10-26 Andreas Schwab <schwab@redhat.com>
10091 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
10092 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10093 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10095 * math/math_private.h (math_force_eval): Allow non-addressable
10097 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
10099 2011-10-25 Ulrich Drepper <drepper@gmail.com>
10101 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
10102 file is not needed.
10104 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
10105 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
10106 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10107 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10108 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10109 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10110 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10111 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
10113 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
10114 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
10115 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
10116 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
10117 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
10118 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
10119 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
10120 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
10121 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
10122 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
10123 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
10124 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
10125 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
10126 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
10127 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
10128 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
10129 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
10130 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
10131 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
10133 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
10134 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
10136 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
10137 place. Use VEX encoding when compiling for AVX.
10139 2011-10-25 Andreas Schwab <schwab@redhat.com>
10141 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
10142 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
10144 * string/test-strchr.c (do_test): Don't generate NUL bytes.
10146 2011-10-25 Ulrich Drepper <drepper@gmail.com>
10148 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
10149 useless if() expression.
10150 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10151 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10152 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10153 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10154 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10155 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10156 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10157 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10158 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10159 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10160 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10161 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10162 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10163 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10164 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10165 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10166 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10167 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10168 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10170 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
10172 2011-10-25 Andreas Schwab <schwab@redhat.com>
10174 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
10176 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10178 2011-10-25 Ulrich Drepper <drepper@gmail.com>
10180 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
10181 .text section. Avoid duplicate constants.
10182 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10183 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10184 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10185 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10186 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10187 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10188 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10189 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10190 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10191 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
10192 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10193 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10194 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
10195 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
10196 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10197 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
10198 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10199 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10200 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10201 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10202 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10203 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10204 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10205 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
10206 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
10207 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
10208 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
10209 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
10210 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
10211 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
10212 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
10213 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
10214 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10215 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
10216 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
10217 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
10218 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
10219 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
10220 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
10221 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
10222 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
10223 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
10224 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
10225 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
10226 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
10228 2011-10-24 Ulrich Drepper <drepper@gmail.com>
10230 * sysdeps/x86_64/dla.h: Move to ...
10231 * sysdeps/x86_64/fpu/dla.h: ...here.
10232 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
10233 situations. Use __builtin_fma only for gcc 4.6 and up.
10235 * config.make.in: Add have-mfma4 entry.
10236 * configure.in: Substitute libc_cv_cc_fma4.
10237 * math/Makefile (dbl-only-routines): Add sincostab.
10238 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
10239 Use __sincostab not sincos.
10240 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
10242 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10243 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10244 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10245 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
10247 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
10248 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
10249 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
10250 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
10252 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
10253 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
10255 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
10256 define aliases when function name is a macro.
10257 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
10258 sysdeps/ieee754/dbl-64/sincos.tbl.
10259 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
10260 fma4-enabled routines.
10261 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
10262 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
10263 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
10264 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
10265 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
10266 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
10267 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
10268 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
10269 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
10270 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
10271 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
10272 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
10273 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
10274 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
10275 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
10276 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
10277 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
10278 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
10279 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
10280 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
10281 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
10282 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
10283 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
10284 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
10285 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
10286 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
10287 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
10288 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
10289 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
10290 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
10292 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
10294 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10295 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10296 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10297 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10298 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10299 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10300 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10301 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10303 2011-10-24 Andreas Schwab <schwab@redhat.com>
10305 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
10307 2011-10-23 Ulrich Drepper <drepper@gmail.com>
10309 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
10311 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
10313 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
10315 * string/strnlen.c: Don't define STRNLEN, reverse logic.
10316 Remove unused variable magic_bits.
10317 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
10319 * string/strnlen.c: Define and use STRNLEN macro.
10320 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
10321 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
10322 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
10323 * wcsmbs/wcslen.c: Define and use WCSLEN.
10324 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
10325 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
10326 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
10327 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
10328 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
10329 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
10330 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
10332 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10334 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10335 strnlen-sse2-no-bsf.
10336 Rename strlen-no-bsf to strlen-sse2-no-bsf.
10337 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
10338 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
10339 Add strnlen support.
10340 (USE_AS_STRNLEN): New macro.
10341 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
10342 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
10343 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
10344 * sysdeps/x86_64/wcslen.S: New file.
10346 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
10348 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
10349 XMM-moves are used for copying on small sizes.
10351 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10353 * wcsmbs/Makefile (strop-tests): Add wcschr.
10354 * wcsmbs/test-wcschr.c: New file.
10355 * string/test-strchr.c: Update.
10356 Add wcschr support.
10359 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10361 * wcsmbs/Makefile (strop-tests): Add wcslen.
10362 * wcsmbs/test-wcslen.c: New file.
10363 * string/test-strlen.c: Update.
10364 Add wcslen support.
10367 2011-10-23 Ulrich Drepper <drepper@gmail.com>
10369 * po/it.po: Update from translation team.
10371 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10373 * sysdeps/x86_64/wcscmp.S: Update.
10374 Fix wrong comparison semantics.
10375 wcscmp shall use signed comparison not unsigned.
10376 Don't use substraction to avoid overflow bug.
10377 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
10378 * wcsmbc/wcscmp.c: Likewise.
10379 * string/test-strcmp.c: Likewise.
10380 Add new tests to check cases with negative values.
10382 2011-10-23 Ulrich Drepper <drepper@gmail.com>
10384 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
10385 * sysdeps/x86_64/dla.h: ...here. New file.
10386 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
10387 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10388 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10389 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10390 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10391 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10392 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10393 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10394 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10396 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
10398 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
10399 __ynl_finite aliases.
10401 2011-10-22 Ulrich Drepper <drepper@gmail.com>
10403 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10405 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
10407 [DLA_FMA] (EMULV): Use DLA_FMA.
10408 [DLA_FMA] (MUL12): Use EMULV.
10409 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
10410 that are not needed.
10411 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10412 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10413 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10414 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10415 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10416 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10417 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10419 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
10421 * math/s_nan.c: Undef __nan.
10422 * math/s_nanf.c: Undef __nanf.
10423 * math/s_nanl.c: Undef __nanl.
10424 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
10427 2011-10-22 Ulrich Drepper <drepper@gmail.com>
10429 * math/s_catan.c: Add branch predictions.
10430 * math/s_catanf.c: Likewise.
10431 * math/s_catanh.c: Likewise.
10432 * math/s_catanhf.c: Likewise.
10433 * math/s_catanhl.c: Likewise.
10434 * math/s_catanl.c: Likewise.
10435 * math/s_cexp.c: Likewise.
10436 * math/s_cexpf.c: Likewise.
10437 * math/s_cexpl.c: Likewise.
10438 * math/s_clog.c: Likewise.
10439 * math/s_clog10.c: Likewise.
10440 * math/s_clog10f.c: Likewise.
10441 * math/s_clog10l.c: Likewise.
10442 * math/s_clogf.c: Likewise.
10443 * math/s_clogl.c: Likewise.
10444 * math/s_csqrt.c: Likewise.
10445 * math/s_csqrtf.c: Likewise.
10446 * math/s_csqrtl.c: Likewise.
10447 * math/s_ctanf.c: Likewise.
10448 * math/s_ctanh.c: Likewise.
10449 * math/s_ctanhf.c: Likewise.
10450 * math/s_ctanhl.c: Likewise.
10451 * math/s_ctanl.c: Likewise.
10453 * math/math_private.h: Define __nan, __nanf, __nanl.
10454 * math/s_cacosh.c: Include <math_private.h>.
10455 * math/s_cacoshl.c: Likewise.
10456 * math/s_casinh.c: Likewise.
10457 * math/s_casinhf.c: Likewise.
10458 * math/s_casinhl.c: Likewise.
10459 * math/s_ccos.c: Rely entire on ccosh.
10460 * math/s_ccosf.c: Rely entire on ccoshf.
10461 * math/s_ccosl.c: Rely entirely on ccoshl.
10462 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
10463 Remove tests for FE_INVALID.
10464 * math/s_ccoshf.c: Likewise.
10465 * math/s_ccoshl.c: Likewise.
10466 * math/s_csin.c: Likewise.
10467 * math/s_csinf.c: Likewise.
10468 * math/s_csinh.c Likewise.
10469 * math/s_csinhf.c: Likewise.
10470 * math/s_csinhl.c: Likewise.
10471 * math/s_csinl.c: Likewise.
10472 * math/s_ctan.c: Likewise.
10473 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
10474 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
10475 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
10477 2011-10-21 Ulrich Drepper <drepper@gmail.com>
10479 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
10480 compilation problems.
10482 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
10485 2011-10-20 Ulrich Drepper <drepper@gmail.com>
10487 * sysdeps/i386/configure.in: Test for -mfma4 option.
10488 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
10489 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
10490 COMMON_CPUID_INDEX_80000001.
10491 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
10492 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
10493 use it if FMA3 is not supported.
10494 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
10496 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
10497 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10499 2011-10-20 Andreas Schwab <schwab@redhat.com>
10502 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
10503 it would create a cycle with a link time dependency.
10505 2011-10-19 Ulrich Drepper <drepper@gmail.com>
10507 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
10509 * string/Makefile (strop-tests): Add rawmemchr.
10510 * string/test-rawmemchr.c: New file.
10512 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
10513 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
10514 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
10515 when compiling str{,n}casecmp and when AVX is available. Hook up
10516 new optimized code in initializers.
10518 2011-10-19 Andreas Schwab <schwab@redhat.com>
10520 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
10521 __feraiseexcept instead of feraiseexcept.
10523 2011-10-18 Ulrich Drepper <drepper@gmail.com>
10525 * math/math_private.h: Define defaults for libc_fetestexcept and
10527 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
10528 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
10529 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
10530 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10531 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10532 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10533 libc_fetestexcept and libc_feupdateenv.
10535 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
10536 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
10537 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
10538 * sysdeps/x86_64/fpu/math_private.h: Define special version of
10539 libc_feholdexcept_setround.
10541 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
10542 Add s_nearbyint-c and s_nearbyintf-c.
10543 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
10544 nearbyintf inlines.
10545 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
10546 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
10547 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
10548 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
10550 * math/math_private.h: Define defaults for libc_fegetround,
10551 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
10552 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
10553 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
10554 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
10555 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
10556 standard functions.
10557 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10558 Remove comments and hacks for old compiler versions.
10559 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10560 libc_fegetround, libc_fesetround, libc_feholdexcept, and
10561 libc_feholdexceptl.
10563 2011-10-18 Andreas Schwab <schwab@redhat.com>
10565 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
10566 (__feraiseexcept_renamed): Add __NTH.
10567 (feraiseexcept): Add __NTH. Rename local variables to fix
10568 namespace violations.
10570 2011-10-17 Ulrich Drepper <drepper@gmail.com>
10572 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
10574 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
10576 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
10577 recently added interfaces.
10578 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
10580 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
10581 about macro parameter expansion.
10583 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
10584 __NO_MATH_INLINES is defined. Cleanups.
10586 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
10587 and __floorf is target has SSE4.1.
10588 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
10589 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
10590 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
10591 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
10593 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
10595 (floorf): Likewise.
10597 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
10599 2011-10-17 Andreas Schwab <schwab@redhat.com>
10601 * misc/sys/cdefs.h: Fix last change.
10603 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
10606 2011-10-16 Ulrich Drepper <drepper@gmail.com>
10608 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
10610 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
10611 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10612 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10613 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10614 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10615 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10616 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10617 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10618 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10619 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
10620 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
10621 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
10622 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
10623 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
10624 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
10625 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
10626 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
10627 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
10628 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
10629 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
10630 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
10631 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
10633 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
10634 ceil, ceilf, floor, floorf.
10636 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
10637 Perform IRELATIVE relocations last.
10639 * elf/do-rel.h: Add another parameter nrelative, replacing the
10640 local variable with the same name. Change name of the function
10641 to end in Rel or Rela (uppercase).
10642 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
10643 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
10644 elf_dynamic_do_##reloc function.
10646 2011-10-15 Ulrich Drepper <drepper@gmail.com>
10648 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
10649 is sufficient, at least on modern CPUs.
10651 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
10653 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
10654 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
10656 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
10658 * math/bits/math-finite.h: Add entries for exp.
10659 * math/e_expl.c: Add __*_finite alias.
10660 * sysdeps/i386/fpu/e_exp.S: Likewise.
10661 * sysdeps/i386/fpu/e_expf.S: Likewise.
10662 * sysdeps/i386/fpu/e_expl.c: Likewise.
10663 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10664 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10665 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10666 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10667 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
10668 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10669 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10671 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
10672 is sufficient, at least on modern CPUs.
10674 * ctype/ctype-info.c (__ctype_init): Define.
10675 * include/ctype.h (__ctype_init): Declare.
10676 (__ctype_b_loc): The variable is always initialized.
10677 (__ctype_toupper_loc): Likewise.
10678 (__ctype_tolower_loc): Likewise.
10679 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
10680 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
10682 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
10684 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
10686 * configure.in: Also look in $cxxmachine/include for C++ system
10689 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10691 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
10692 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
10693 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
10694 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
10695 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
10696 (USE_AS_WMEMCMP): New macro.
10698 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
10699 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
10700 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
10701 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
10702 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10703 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
10704 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
10705 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
10706 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
10707 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
10708 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
10709 (USE_AS_WMEMCMP): New macro.
10710 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
10711 * sysdeps/string/test-memcmp.c: Update.
10712 Fix simple_wmemcmp.
10714 * wcsmbs/wmemcmp.c: Update.
10715 (WMEMCMP): New macro.
10718 2011-10-12 Andreas Jaeger <aj@suse.de>
10721 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
10723 2011-10-15 Ulrich Drepper <drepper@gmail.com>
10725 * libio/iofwide.c (do_length): Avoid warning.
10727 * ctype/ctype.h (__isctype_f): Add missing __THROW.
10729 2011-10-14 Ulrich Drepper <drepper@gmail.com>
10731 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
10733 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
10734 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
10735 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
10736 * sysdeps/i386/i686/fpu/e_log.S: New file.
10737 * sysdeps/i386/i686/fpu/e_logf.S: New file.
10738 * sysdeps/i386/i686/fpu/e_logl.S: New file.
10740 * ctype/ctype.h: Add support for inlined isXXX functions when
10741 compiling C++ code.
10743 2011-10-14 Andreas Schwab <schwab@redhat.com>
10745 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10747 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
10749 2011-10-13 Roland McGrath <roland@hack.frob.com>
10752 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
10754 2011-10-13 Andreas Schwab <schwab@redhat.com>
10756 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
10757 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
10760 * sysdeps/x86_64/memrchr.S: Check for zero size.
10762 * string/stratcliff.c: Add memrchr tests.
10764 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10766 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10767 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
10768 rawmemchr-sse2 rawmemchr-sse2-bsf.
10769 * sysdeps/i386/i686/multiarch/memchr.S: New file.
10770 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
10771 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
10772 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
10773 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
10774 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
10775 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
10776 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
10777 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
10778 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
10779 * string/memrchr.c (MEMRCHR): New macro.
10781 2011-10-12 Ulrich Drepper <drepper@gmail.com>
10783 Add integration with gcc's -ffinite-math-only and optimize wrapper
10785 * Versions.def: Define GLIBC_2.15 version for libm.
10786 * math/Makefile (headers): Add bits/math-finite.h.
10787 * math/bits/math-finite.h: New file.
10788 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
10789 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
10790 * math/e_acoshl.c: Add __*_finite alias.
10791 * math/e_acosl.c: Likewise.
10792 * math/e_asinl.c: Likewise.
10793 * math/e_atan2l.c: Likewise.
10794 * math/e_atanhl.c: Likewise.
10795 * math/e_coshl.c: Likewise.
10796 * math/e_exp10.c: Likewise.
10797 * math/e_exp10f.c: Likewise.
10798 * math/e_exp10l.c: Likewise.
10799 * math/e_exp2l.c: Likewise.
10800 * math/e_fmodl.c: Likewise.
10801 * math/e_gammal_r.c: Likewise.
10802 * math/e_hypotl.c: Likewise.
10803 * math/e_j0l.c: Likewise.
10804 * math/e_j1l.c: Likewise.
10805 * math/e_jnl.c: Likewise.
10806 * math/e_lgammal_r.c: Likewise.
10807 * math/e_log10l.c: Likewise.
10808 * math/e_log2l.c: Likewise.
10809 * math/e_logl.c: Likewise.
10810 * math/e_powl.c: Likewise.
10811 * math/e_sinhl.c: Likewise.
10812 * math/e_sqrtl.c: Likewise.
10813 * math/e_scalb.c: Completely rewritten and optimized.
10814 * math/e_scalbf.c: Likewise.
10815 * math/e_scalbl.c: Likewise.
10816 * math/w_acos.c: Likewise.
10817 * math/w_acosf.c: Likewise.
10818 * math/w_acosl.c: Likewise.
10819 * math/w_acosh.c: Likewise.
10820 * math/w_acoshf.c: Likewise.
10821 * math/w_acoshl.c: Likewise.
10822 * math/w_asin.c: Likewise.
10823 * math/w_asinf.c: Likewise.
10824 * math/w_asinl.c: Likewise.
10825 * math/w_atan2.c: Likewise.
10826 * math/w_atan2f.c: Likewise.
10827 * math/w_atan2l.c: Likewise.
10828 * math/w_atanh.c: Likewise.
10829 * math/w_atanhf.c: Likewise.
10830 * math/w_atanhl.c: Likewise.
10831 * math/w_exp10.c: Likewise.
10832 * math/w_exp10f.c: Likewise.
10833 * math/w_exp10l.c: Likewise.
10834 * math/w_fmod.c: Likewise.
10835 * math/w_fmodf.c: Likewise.
10836 * math/w_fmodl.c: Likewise.
10837 * math/w_j0.c: Likewise.
10838 * math/w_j0f.c: Likewise.
10839 * math/w_j0l.c: Likewise.
10840 * math/w_j1.c: Likewise.
10841 * math/w_j1f.c: Likewise.
10842 * math/w_j1l.c: Likewise.
10843 * math/w_jn.c: Likewise.
10844 * math/w_jnf.c: Likewise.
10845 * math/w_log.c: Likewise.
10846 * math/w_logf.c: Likewise.
10847 * math/w_logl.c: Likewise.
10848 * math/w_log10.c: Likewise.
10849 * math/w_log10f.c: Likewise.
10850 * math/w_log10l.c: Likewise.
10851 * math/w_log2.c: Likewise.
10852 * math/w_log2f.c: Likewise.
10853 * math/w_log2l.c: Likewise.
10854 * math/w_pow.c: Likewise.
10855 * math/w_powf.c: Likewise.
10856 * math/w_powl.c: Likewise.
10857 * math/w_remainder.c: Likewise.
10858 * math/w_remainderf.c: Likewise.
10859 * math/w_remainderl.c: Likewise.
10860 * math/w_scalb.c: Likewise.
10861 * math/w_scalbf.c: Likewise.
10862 * math/w_scalbl.c: Likewise.
10863 * math/w_sqrt.c: Likewise.
10864 * math/w_sqrtf.c: Likewise.
10865 * math/w_sqrtl.c: Likewise.
10866 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
10867 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
10869 * math/math_private.h: Declare __kernel_standard_f.
10870 * math/w_cosh.c: Remove cruft and optimize a bit.
10871 * math/w_coshf.c: Likewise.
10872 * math/w_coshl.c: Likewise.
10873 * math/w_exp2.c: Likewise.
10874 * math/w_exp2f.c: Likewise.
10875 * math/w_exp2l.c: Likewise.
10876 * math/w_hypot.c: Likewise.
10877 * math/w_hypotf.c: Likewise.
10878 * math/w_hypotl.c: Likewise.
10879 * math/w_lgamma.c: Likewise.
10880 * math/w_lgamma_r.c: Likewise.
10881 * math/w_lgammaf.c: Likewise.
10882 * math/w_lgammaf_r.c: Likewise.
10883 * math/w_lgammal.c: Likewise.
10884 * math/w_lgammal_r.c: Likewise.
10885 * math/w_sinh.c: Likewise.
10886 * math/w_sinhf.c: Likewise.
10887 * math/w_sinhl.c: Likewise.
10888 * math/w_tgamma.c: Likewise.
10889 * math/w_tgammaf.c: Likewise.
10890 * math/w_tgammal.c: Likewise.
10891 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10892 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10893 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
10894 Minor optimizations. Pretty printing. Remove cruft.
10895 * sysdeps/i386/fpu/e_acosf.S: Likewise.
10896 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10897 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10898 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10899 * sysdeps/i386/fpu/e_acosl.c: Likewise.
10900 * sysdeps/i386/fpu/e_asin.S: Likewise.
10901 * sysdeps/i386/fpu/e_asinf.S: Likewise.
10902 * sysdeps/i386/fpu/e_atan2.S: Likewise.
10903 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
10904 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
10905 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10906 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10907 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10908 * sysdeps/i386/fpu/e_exp10.S: Likewise.
10909 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
10910 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
10911 * sysdeps/i386/fpu/e_exp2.S: Likewise.
10912 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
10913 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
10914 * sysdeps/i386/fpu/e_fmod.S: Likewise.
10915 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
10916 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
10917 * sysdeps/i386/fpu/e_hypot.S: Likewise.
10918 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
10919 * sysdeps/i386/fpu/e_log.S: Likewise.
10920 * sysdeps/i386/fpu/e_log10.S: Likewise.
10921 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10922 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10923 * sysdeps/i386/fpu/e_log2.S: Likewise.
10924 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10925 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10926 * sysdeps/i386/fpu/e_logf.S: Likewise.
10927 * sysdeps/i386/fpu/e_logl.S: Likewise.
10928 * sysdeps/i386/fpu/e_pow.S: Likewise.
10929 * sysdeps/i386/fpu/e_powf.S: Likewise.
10930 * sysdeps/i386/fpu/e_powl.S: Likewise.
10931 * sysdeps/i386/fpu/e_remainder.S: Likewise.
10932 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
10933 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
10934 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10935 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10936 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10937 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
10938 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
10939 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
10940 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10941 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10942 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10943 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10944 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10945 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10946 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10947 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10948 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10949 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10950 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10951 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
10952 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10953 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10954 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10955 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10956 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10957 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10958 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10959 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10960 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10961 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
10962 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10963 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10964 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
10965 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
10966 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
10967 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
10968 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
10969 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
10970 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10971 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10972 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10973 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
10974 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
10975 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
10976 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
10977 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
10978 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
10979 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
10980 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
10981 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
10982 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
10983 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
10984 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10985 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
10986 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10987 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
10988 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
10989 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
10990 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10991 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10992 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10993 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10994 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10995 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
10996 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
10997 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
10998 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10999 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11000 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11001 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
11002 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11003 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11004 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
11005 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11006 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
11007 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
11008 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
11009 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11010 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11011 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11012 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11013 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11014 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11015 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11016 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11017 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11018 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11019 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11020 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11021 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11022 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
11023 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11024 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11025 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11026 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11027 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11028 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11029 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11030 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11031 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11032 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11033 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11034 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11035 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
11036 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
11037 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
11038 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
11039 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
11040 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
11041 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
11042 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
11043 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
11044 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11045 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11046 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11047 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11048 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
11049 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11050 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
11051 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
11052 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
11053 (__isnanf): Likewise.
11054 (__isinf_ns): Likewise.
11055 (__isinf_nsf): Likewise.
11056 (__finite): Likewise.
11057 (__finitef): Likewise.
11058 (__ieee754_sqrt): Define as macro.
11059 (__ieee754_sqrtf): Define as macro.
11060 (__ieee754_sqrtl): Define as macro.
11061 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
11063 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
11064 __FINITE_MATH_ONLY__ consistent.
11065 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
11067 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
11069 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
11072 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
11074 2011-10-09 Ulrich Drepper <drepper@gmail.com>
11076 * po/ja.po: Update from translation team.
11078 2011-10-08 Roland McGrath <roland@hack.frob.com>
11080 * locale/programs/locarchive.c (prepare_address_space): New function.
11081 (create_archive, enlarge_archive, open_archive): Use it.
11083 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
11084 inside [SHARED], where it is used.
11086 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
11088 * nss/getent.c (netgroup_keys): Remove unused variable.
11089 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
11091 2011-10-08 Ulrich Drepper <drepper@gmail.com>
11093 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
11094 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
11095 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
11096 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
11097 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
11098 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
11099 * math/Makefile (libm-calls): Add s_isinf_ns.
11100 * math/divtc3.c: Use __isinf_nsl instead of isinf.
11101 * math/multc3.c: Likewise.
11102 * math/s_casin.c: Likewise.
11103 * math/s_casinf.c: Likewise.
11104 * math/s_casinl.c: Likewise.
11105 * math/s_ccos.c: Likewise.
11106 * math/s_ccosf.c: Likewise.
11107 * math/s_ccosl.c: Likewise.
11108 * math/s_ctan.c: Likewise.
11109 * math/s_ctanf.c: Likewise.
11110 * math/s_ctanh.c: Likewise.
11111 * math/s_ctanhf.c: Likewise.
11112 * math/s_ctanhl.c: Likewise.
11113 * math/s_ctanl.c: Likewise.
11114 * math/w_fmod.c: Likewise.
11115 * math/w_fmodf.c: Likewise.
11116 * math/w_fmodl.c: Likewise.
11117 * math/w_remainder.c: Likewise.
11118 * math/w_remainderf.c: Likewise.
11119 * math/w_remainderl.c: Likewise.
11120 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
11121 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
11122 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
11123 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
11124 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
11125 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
11126 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
11127 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
11129 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
11131 * stdio-common/printf_fphex.c: Likewise.
11132 * stdio-common/printf_size.c: Likewise.
11134 * math/e_exp10.c: Include math_private.h using <...> not "...".
11135 * math/e_exp10f.c: Likewise.
11136 * math/e_exp10l.c: Likewise.
11137 * math/e_exp2l.c: Likewise.
11138 * math/e_j0l.c: Likewise.
11139 * math/e_j1l.c: Likewise.
11140 * math/e_jnl.c: Likewise.
11141 * math/e_lgammal_r.c: Likewise.
11142 * math/e_rem_pio2l.c: Likewise.
11143 * math/e_scalb.c: Likewise.
11144 * math/e_scalbf.c: Likewise.
11145 * math/e_scalbl.c: Likewise.
11146 * math/k_cosl.c: Likewise.
11147 * math/k_sinl.c: Likewise.
11148 * math/k_tanl.c: Likewise.
11149 * math/s_cacoshf.c: Likewise.
11150 * math/s_catan.c: Likewise.
11151 * math/s_catanf.c: Likewise.
11152 * math/s_catanh.c: Likewise.
11153 * math/s_catanhf.c: Likewise.
11154 * math/s_catanhl.c: Likewise.
11155 * math/s_catanl.c: Likewise.
11156 * math/s_ccosh.c: Likewise.
11157 * math/s_ccoshf.c: Likewise.
11158 * math/s_ccoshl.c: Likewise.
11159 * math/s_cexp.c: Likewise.
11160 * math/s_cexpf.c: Likewise.
11161 * math/s_cexpl.c: Likewise.
11162 * math/s_clog.c: Likewise.
11163 * math/s_clog10.c: Likewise.
11164 * math/s_clog10f.c: Likewise.
11165 * math/s_clog10l.c: Likewise.
11166 * math/s_clogf.c: Likewise.
11167 * math/s_clogl.c: Likewise.
11168 * math/s_csin.c: Likewise.
11169 * math/s_csinf.c: Likewise.
11170 * math/s_csinh.c: Likewise.
11171 * math/s_csinhf.c: Likewise.
11172 * math/s_csinhl.c: Likewise.
11173 * math/s_csinl.c: Likewise.
11174 * math/s_csqrt.c: Likewise.
11175 * math/s_csqrtf.c: Likewise.
11176 * math/s_csqrtl.c: Likewise.
11177 * math/s_ctan.c: Likewise.
11178 * math/s_ctanf.c: Likewise.
11179 * math/s_ctanh.c: Likewise.
11180 * math/s_ctanhf.c: Likewise.
11181 * math/s_ctanhl.c: Likewise.
11182 * math/s_ctanl.c: Likewise.
11183 * math/s_ldexp.c: Likewise.
11184 * math/s_ldexpf.c: Likewise.
11185 * math/s_ldexpl.c: Likewise.
11186 * math/s_significand.c: Likewise.
11187 * math/s_significandf.c: Likewise.
11188 * math/s_significandl.c: Likewise.
11189 * math/w_acos.c: Likewise.
11190 * math/w_acosf.c: Likewise.
11191 * math/w_acosh.c: Likewise.
11192 * math/w_acoshf.c: Likewise.
11193 * math/w_acoshl.c: Likewise.
11194 * math/w_acosl.c: Likewise.
11195 * math/w_asin.c: Likewise.
11196 * math/w_asinf.c: Likewise.
11197 * math/w_asinl.c: Likewise.
11198 * math/w_atan2.c: Likewise.
11199 * math/w_atan2f.c: Likewise.
11200 * math/w_atan2l.c: Likewise.
11201 * math/w_atanh.c: Likewise.
11202 * math/w_atanhf.c: Likewise.
11203 * math/w_atanhl.c: Likewise.
11204 * math/w_cosh.c: Likewise.
11205 * math/w_coshf.c: Likewise.
11206 * math/w_coshl.c: Likewise.
11207 * math/w_dremf.c: Likewise.
11208 * math/w_exp10.c: Likewise.
11209 * math/w_exp10f.c: Likewise.
11210 * math/w_exp10l.c: Likewise.
11211 * math/w_exp2.c: Likewise.
11212 * math/w_exp2f.c: Likewise.
11213 * math/w_fmod.c: Likewise.
11214 * math/w_fmodf.c: Likewise.
11215 * math/w_fmodl.c: Likewise.
11216 * math/w_hypot.c: Likewise.
11217 * math/w_hypotf.c: Likewise.
11218 * math/w_hypotl.c: Likewise.
11219 * math/w_j0.c: Likewise.
11220 * math/w_j0f.c: Likewise.
11221 * math/w_j0l.c: Likewise.
11222 * math/w_j1.c: Likewise.
11223 * math/w_j1f.c: Likewise.
11224 * math/w_j1l.c: Likewise.
11225 * math/w_jn.c: Likewise.
11226 * math/w_jnf.c: Likewise.
11227 * math/w_jnl.c: Likewise.
11228 * math/w_lgamma.c: Likewise.
11229 * math/w_lgamma_r.c: Likewise.
11230 * math/w_lgammaf.c: Likewise.
11231 * math/w_lgammaf_r.c: Likewise.
11232 * math/w_lgammal.c: Likewise.
11233 * math/w_lgammal_r.c: Likewise.
11234 * math/w_log.c: Likewise.
11235 * math/w_log10.c: Likewise.
11236 * math/w_log10f.c: Likewise.
11237 * math/w_log10l.c: Likewise.
11238 * math/w_log2.c: Likewise.
11239 * math/w_log2f.c: Likewise.
11240 * math/w_log2l.c: Likewise.
11241 * math/w_logf.c: Likewise.
11242 * math/w_logl.c: Likewise.
11243 * math/w_pow.c: Likewise.
11244 * math/w_powf.c: Likewise.
11245 * math/w_powl.c: Likewise.
11246 * math/w_remainder.c: Likewise.
11247 * math/w_remainderf.c: Likewise.
11248 * math/w_remainderl.c: Likewise.
11249 * math/w_scalb.c: Likewise.
11250 * math/w_scalbf.c: Likewise.
11251 * math/w_scalbl.c: Likewise.
11252 * math/w_sinh.c: Likewise.
11253 * math/w_sinhf.c: Likewise.
11254 * math/w_sinhl.c: Likewise.
11255 * math/w_sqrt.c: Likewise.
11256 * math/w_sqrtf.c: Likewise.
11257 * math/w_sqrtl.c: Likewise.
11258 * math/w_tgamma.c: Likewise.
11259 * math/w_tgammaf.c: Likewise.
11260 * math/w_tgammal.c: Likewise.
11262 * po/ja.po: Update from translation team.
11264 2011-09-29 Andreas Jaeger <aj@suse.de>
11267 * sunrpc/netname.c (netname2host): Fix logic.
11271 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
11273 * math/w_remainder.c (__remainder): Likewise.
11274 * math/w_remainderf.c (__remainderf): Likewise.
11275 * math/libm-test.inc (remainder_test): Add test cases.
11277 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11279 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
11282 2011-10-07 Ulrich Drepper <drepper@gmail.com>
11284 * string/test-memcmp.c: Avoid unncessary #defines.
11285 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
11287 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11289 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
11290 Use new sse2 version for core i3 - i7 as it's faster
11291 than sse42 version.
11292 (bit_Prefer_PMINUB_for_stringop): New.
11293 * sysdeps/x86_64/rawmemchr.S: Update.
11294 Replace with faster SSE2 version.
11295 * sysdeps/x86_64/memrchr.S: New file.
11296 * sysdeps/x86_64/memchr.S: Update.
11297 Replace with faster SSE2 version.
11299 2011-09-12 Marek Polacek <mpolacek@redhat.com>
11301 * elf/dl-load.c (lose): Add cast to avoid warning.
11303 2011-10-07 Ulrich Drepper <drepper@gmail.com>
11305 * po/ca.po: Update from translation team.
11307 * inet/getnetgrent_r.c: Hook up nscd.
11308 * nscd/Makefile (routines): Add nscd_netgroup.
11309 (nscd-modules): Add netgroupcache.
11310 (CFLAGS-netgroupcache.c): Define.
11311 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
11312 (cache_search): Add const to second parameter.
11313 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
11315 (dbs): Add netgrdb entry.
11316 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
11317 (verify_persistent_db): Handle netgrdb.
11318 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
11319 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
11321 (netgroup_response_header): Define.
11322 (innetgroup_response_header): Define.
11323 (datahead): Add netgroup_response_header and innetgroup_response_header
11325 * nscd/nscd.conf: Add entries for netgroup cache.
11326 * nscd/nscd.h (dbtype): Add netgrdb.
11327 (_PATH_NSCD_NETGROUP_DB): Define.
11328 (netgroup_iov_disabled): Declare.
11329 (xmalloc, xcalloc, xrealloc): Move declarations here.
11330 (cache_search): Adjust prototype.
11331 Add netgroup-related prototypes.
11332 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
11333 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
11334 (__nscd_innetgr): Declare.
11335 * nscd/selinux.c (perms): Use access_vector_t as element type and
11336 add netgroup-related initializers.
11337 * nscd/netgroupcache.c: New file.
11338 * nscd/nscd_netgroup.c: New file.
11339 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
11340 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
11341 For four parameters use innetgr.
11342 * nss/nss_files/files-init.c: Add definition and callback for netgr.
11343 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
11344 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
11345 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
11347 * nscd/connections.c (register_traced_file): Don't register file
11348 for disabled databases.
11350 2011-10-06 Ulrich Drepper <drepper@gmail.com>
11352 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
11354 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
11355 from tree and freeing node.
11357 2011-09-25 Jiri Olsa <jolsa@redhat.com>
11359 * nss/nsswitch.c (__nss_database_lookup): Handle
11360 nss_parse_service_list out of memory case.
11362 2011-09-15 Jiri Olsa <jolsa@redhat.com>
11364 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
11365 out of memory case.
11367 2011-10-04 Andreas Schwab <schwab@redhat.com>
11369 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
11370 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
11372 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
11373 elf_machine_rela, elf_machine_lazy_rel.
11374 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
11375 (ELF_DYNAMIC_DO_REL): Likewise.
11376 (ELF_DYNAMIC_DO_RELA): Likewise.
11377 (ELF_DYNAMIC_RELOCATE): Likewise.
11378 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
11379 to ELF_DYNAMIC_DO_REL.
11380 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
11381 (dl_main): In trace mode always set __RTLD_NOIFUNC.
11382 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
11384 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
11385 skip_ifunc, don't call ifunc function if non-zero.
11386 (elf_machine_rela): Likewise.
11387 (elf_machine_lazy_rel): Likewise.
11388 (elf_machine_lazy_rela): Likewise.
11389 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
11390 (elf_machine_lazy_rel): Likewise.
11391 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
11393 (elf_machine_lazy_rel): Likewise.
11394 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11396 (elf_machine_lazy_rel): Likewise.
11397 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
11398 (elf_machine_lazy_rel): Likewise.
11399 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
11400 (elf_machine_lazy_rel): Likewise.
11401 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11402 (elf_machine_lazy_rel): Likewise.
11403 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
11404 (elf_machine_lazy_rel): Likewise.
11405 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
11406 (elf_machine_lazy_rel): Likewise.
11407 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
11408 (elf_machine_lazy_rel): Likewise.
11410 2011-09-28 Ulrich Drepper <drepper@gmail.com>
11412 * nss/nss_files/files-init.c (_nss_files_init): Use static
11413 initialization for all the *_traced_file variables.
11415 2011-09-28 Andreas Schwab <schwab@redhat.com>
11417 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11419 2011-09-27 Roland McGrath <roland@hack.frob.com>
11422 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
11424 2011-09-27 Andreas Schwab <schwab@redhat.com>
11426 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11427 Reread the line before reparsing it.
11429 2011-09-26 Andreas Schwab <schwab@redhat.com>
11431 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
11433 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
11434 Maxim Kuvyrkov <maxim@codesourcery.com>
11435 Joseph Myers <joseph@codesourcery.com>
11437 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
11438 if needed for __stack_chk_guard.
11440 2011-09-19 Roland McGrath <roland@hack.frob.com>
11442 * sysdeps/posix/spawni.c (script_execute): Always define it.
11443 It will be optimized away if unused.
11444 (maybe_script_execute): New function.
11445 (__spawni): Call it.
11447 * Makerules: Don't include tls.make.
11448 (config-tls): Always set to thread.
11449 * tls.make.c: File removed.
11451 2011-09-19 Mike Frysinger <vapier@gentoo.org>
11453 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
11454 * config.make.in (CPPFLAGS-config): New substituted variable.
11456 2011-09-15 Ulrich Drepper <drepper@gmail.com>
11458 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
11461 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
11462 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
11464 2011-09-15 Roland McGrath <roland@hack.frob.com>
11466 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
11467 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
11468 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
11469 (CALL_FAIL): Likewise.
11470 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
11471 (CALL_FAIL): Macro removed.
11472 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
11474 2011-09-15 Ulrich Drepper <drepper@gmail.com>
11476 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
11477 for __FINITE_MATH_ONLY__ == 1.
11479 2011-09-15 Andreas Schwab <schwab@redhat.com>
11481 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
11482 __ieee754_sqrt instead of sqrt.
11483 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
11484 __ieee754_sqrtf instead of sqrtf.
11485 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
11486 __floorf instead of floorf.
11487 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
11488 __floorf, __truncf instead of floorf, truncf.
11490 2011-09-14 Ulrich Drepper <drepper@gmail.com>
11492 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
11494 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
11495 __extern_always_inline.
11496 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
11499 2011-09-14 Andreas Schwab <schwab@redhat.com>
11501 * elf/rtld.c (dl_main): Also relocate in dependency order when
11502 doing symbol dependency testing.
11504 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
11506 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11507 Always define `refsym'.
11509 2011-09-13 Andreas Schwab <schwab@redhat.com>
11511 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
11512 (__FD_ELT): Renamed from __FDELT.
11513 * misc/bits/select2.h (__FD_ELT): Likewise.
11514 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
11515 __FD_MASK instead of __FDELT, __FDMASK.
11516 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11518 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11521 * elf/Makefile (gen-ldd): Fix pattern.
11523 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
11524 (init_tls): Likewise.
11526 2011-09-12 Ulrich Drepper <drepper@gmail.com>
11528 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
11530 2011-09-12 Andreas Schwab <schwab@redhat.com>
11532 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
11533 `struct cmsghdr *' instead of `void *'.
11534 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
11537 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
11539 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
11541 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
11542 ldd_rewrite_script.
11544 2011-09-11 Ulrich Drepper <drepper@gmail.com>
11546 * configure.in: Remove --with-tls option.
11547 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
11548 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
11549 out in case it is missing.
11550 * sysdeps/ia64/elf/configure.in: Likewise.
11551 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
11552 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
11553 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
11554 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
11555 * sysdeps/sh/elf/configure.in: Likewise.
11556 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
11557 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
11558 * sysdeps/x86_64/elf/configure.in: Likewise.
11559 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
11560 * sysdeps/mach/hurd/tls.h: Likewise.
11563 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
11566 * configure.in: Fix use of AC_INIT.
11568 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
11570 2011-09-10 Ulrich Drepper <drepper@gmail.com>
11572 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
11574 * malloc/hooks.c: Likewise.
11577 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
11578 variables statically.
11579 (narenas): Initialize.
11580 (list_lock): Initialize.
11581 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
11582 initializtion of main_arena and list_lock. Small cleanups.
11583 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
11584 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
11585 Add initializers to main_arena and mp_.
11586 (malloc_state): Remove pagesize member. Change all users to use
11589 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
11590 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
11591 is always initialized.
11593 * malloc/malloc.c: Removed unused configurations and dead code.
11594 * malloc/arena.c: Likewise.
11595 * malloc/hooks.c: Likewise.
11596 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
11598 * include/tls.h: Removed. USE___THREAD must always be defined.
11599 * bits/libc-tsd.h: Don't handle !USE___THREAD.
11600 * elf/dl-libc.c: Likewise.
11601 * elf/dl-tsd.c: Likewise.
11602 * include/errno.h: Likewise.
11603 * include/netdb.h: Likewise.
11604 * include/resolv.h: Likewise.
11605 * inet/herrno-loc.c: Likewise.
11606 * inet/herrno.c: Likewise.
11607 * malloc/arena.c: Likewise.
11608 * malloc/hooks.c: Likewise.
11609 * malloc/malloc.c: Likewise.
11610 * resolv/res-state.c: Likewise.
11611 * resolv/res_libc.c: Likewise.
11612 * sysdeps/i386/dl-machine.h: Likewise.
11613 * sysdeps/ia64/dl-machine.h: Likewise.
11614 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
11615 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11616 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
11617 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
11618 * sysdeps/sh/dl-machine.h: Likewise.
11619 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11620 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11621 * sysdeps/unix/i386/sysdep.S: Likewise.
11622 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11623 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
11624 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
11625 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11626 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
11627 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11628 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11629 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11630 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11631 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11632 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11633 * sysdeps/x86_64/dl-machine.h: Likewise.
11634 * tls.make.c: Likewise.
11636 * configure.in: Remove --with-__thread option. Make tests for
11637 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
11638 tls_model attribute fail if no support is available. Remove
11640 * Makeconfig: Adjust for dropped configure option. All features are
11642 * Makerules: Likewise.
11643 * Versions.def: Likewise.
11644 * argp/argp-fmtstream.c: Likewise.
11645 * argp/argp-fmtstream.h: Likewise.
11646 * argp/argp-help.c: Likewise.
11647 * assert/assert.c: Likewise.
11648 * config.h.in: Likewise.
11649 * config.make.in: Likewise.
11650 * configure: Likewise.
11651 * configure.in: Likewise.
11652 * csu/Versions: Likewise.
11653 * csu/init.c: Likewise.
11654 * elf/tst-audit2.c: Likewise.
11655 * elf/tst-tls10.c: Likewise.
11656 * elf/tst-tls10.h: Likewise.
11657 * elf/tst-tls11.c: Likewise.
11658 * elf/tst-tls12.c: Likewise.
11659 * elf/tst-tls14.c: Likewise.
11660 * elf/tst-tlsmod11.c: Likewise.
11661 * elf/tst-tlsmod12.c: Likewise.
11662 * elf/tst-tlsmod13.c: Likewise.
11663 * elf/tst-tlsmod13a.c: Likewise.
11664 * elf/tst-tlsmod14a.c: Likewise.
11665 * elf/tst-tlsmod15b.c: Likewise.
11666 * elf/tst-tlsmod16a.c: Likewise.
11667 * elf/tst-tlsmod16b.c: Likewise.
11668 * elf/tst-tlsmod7.c: Likewise.
11669 * elf/tst-tlsmod8.c: Likewise.
11670 * elf/tst-tlsmod9.c: Likewise.
11671 * gmon/gmon.c: Likewise.
11672 * grp/fgetgrent_r.c: Likewise.
11673 * grp/putgrent.c: Likewise.
11674 * hurd/fopenport.c: Likewise.
11675 * include/libc-symbols.h: Likewise.
11676 * include/tls.h: Likewise.
11677 * intl/gettextP.h: Likewise.
11678 * intl/loadinfo.h: Likewise.
11679 * locale/global-locale.c: Likewise.
11680 * locale/localeinfo.h: Likewise.
11681 * mach/devstream.c: Likewise.
11682 * malloc/arena.c: Likewise.
11683 * malloc/set-freeres.c: Likewise.
11684 * misc/err.c: Likewise.
11685 * misc/getttyent.c: Likewise.
11686 * misc/mntent_r.c: Likewise.
11687 * posix/getopt.c: Likewise.
11688 * posix/wordexp.c: Likewise.
11689 * pwd/fgetpwent_r.c: Likewise.
11690 * resolv/Versions: Likewise.
11691 * resolv/res_hconf.c: Likewise.
11692 * shadow/fgetspent_r.c: Likewise.
11693 * shadow/putspent.c: Likewise.
11694 * stdio-common/printf_fphex.c: Likewise.
11695 * stdio-common/tmpfile.c: Likewise.
11696 * stdlib/abort.c: Likewise.
11697 * stdlib/fmtmsg.c: Likewise.
11698 * sunrpc/auth_unix.c: Likewise.
11699 * sunrpc/clnt_perr.c: Likewise.
11700 * sunrpc/clnt_tcp.c: Likewise.
11701 * sunrpc/clnt_udp.c: Likewise.
11702 * sunrpc/clnt_unix.c: Likewise.
11703 * sunrpc/openchild.c: Likewise.
11704 * sunrpc/svc_simple.c: Likewise.
11705 * sunrpc/svc_tcp.c: Likewise.
11706 * sunrpc/svc_udp.c: Likewise.
11707 * sunrpc/svc_unix.c: Likewise.
11708 * sunrpc/xdr.c: Likewise.
11709 * sunrpc/xdr_array.c: Likewise.
11710 * sunrpc/xdr_rec.c: Likewise.
11711 * sunrpc/xdr_ref.c: Likewise.
11712 * sunrpc/xdr_stdio.c: Likewise.
11714 2011-09-09 Ulrich Drepper <drepper@gmail.com>
11716 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11718 2011-07-03 Andreas Jaeger <aj@suse.de>
11720 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
11721 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
11722 regenerate with gen-libm-tests.pl.
11724 2010-05-12 Petr Baudis <pasky@suse.cz>
11727 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
11728 around j0() zero points by switching to j1().
11729 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11730 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11731 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11732 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11734 2011-09-09 Ulrich Drepper <drepper@gmail.com>
11736 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
11738 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
11740 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11741 Patch in part by Pavel Roskin <proski@gnu.org>.
11744 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
11746 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
11747 Free memory block if necessary.
11750 * libio/genops.c (INTDEF): For string streams the _lock pointer can
11751 be NULL. Don't lock in this case.
11753 2011-09-09 Roland McGrath <roland@hack.frob.com>
11755 * elf/elf.h (ELFOSABI_GNU): New macro.
11756 (ELFOSABI_LINUX): Define to that.
11758 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
11760 * string/strncat.c (strncat): Undef the symbol in case it has been
11761 defined in bits/string.h.
11763 2011-09-09 Ulrich Drepper <drepper@gmail.com>
11765 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
11767 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
11770 2011-08-17 Andreas Jaeger <aj@suse.de>
11772 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
11774 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
11775 Ian Lance Taylor <iant@google.com>
11777 * math/libm-test.inc (lround_test): New testcase.
11778 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
11780 2011-09-08 Ulrich Drepper <drepper@gmail.com>
11782 * Makefile: Remove support for automatic cvs check-ins.
11783 * Makerules: Likewise.
11784 * config.make.in: Likewise.
11785 * configure.in: Likewise.
11786 * intl/Makefile: Likewise.
11787 * locale/Makefile: Likewise.
11788 * po/Makefile: Likewise.
11789 * posix/Makefile: Likewise.
11790 * sysdeps/gnu/Makefile: Likewise.
11791 * sysdeps/mach/hurd/Makefile: Likewise.
11792 * sysdeps/sparc/sparc32/Makefile: Likewise.
11795 * posix/Makefile (bug-regex32-ENV): Define.
11796 Patch by John Stanley <jpsinthemix@verizon.net>.
11798 * misc/Makefile (headers): Add bits/select2.h.
11799 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
11800 * misc/bits/select2.h: New file.
11801 * include/bits/select2.h: New file.
11802 * debug/Makefile (routines): Add fdelt_chk.
11803 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
11804 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
11806 * debug/fdelt_chk.c: New file.
11808 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
11809 * wcsmbs/test-wmemcmp.c: Likewise.
11810 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
11811 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
11813 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11815 * string/Makefile (strop-tests): Add memcmp.
11816 * string/test-wmemcmp.c: New file.
11817 * string/test-memcmp.c: Add wmemcmp support.
11819 2011-09-08 Roland McGrath <roland@hack.frob.com>
11822 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
11825 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
11826 garbage value in a __mach_port_mod_refs call in the cases of the
11827 task-self and thread-self ports.
11829 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
11831 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
11833 2011-09-08 Andreas Schwab <schwab@redhat.com>
11835 * elf/dl-load.c (lose): Check for non-null L.
11837 2011-09-07 Ulrich Drepper <drepper@gmail.com>
11839 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
11841 * elf/dl-libc.c (dlerror_run): Pass back error code from
11845 * elf/dl-load.c (lose): Free l_origin if it is valid.
11847 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
11849 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
11850 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
11851 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
11852 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
11853 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
11854 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
11856 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11858 * sysdeps/powerpc/fpu/e_hypot.c: New file.
11859 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
11860 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
11861 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
11862 * sysdeps/powerpc/fpu/k_cosf.c: New file.
11863 * sysdeps/powerpc/fpu/k_sinf.c: New file.
11864 * sysdeps/powerpc/fpu/s_cosf.c: New file.
11865 * sysdeps/powerpc/fpu/s_sinf.c: New file.
11866 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
11867 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
11869 2011-08-15 Alan Modra <amodra@gmail.com>
11872 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
11873 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
11874 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
11875 ppc_mcount to static-only-routines.
11876 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
11878 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
11879 __mcount_internal with usual JUMPTARGET. Remove useless nop.
11881 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
11883 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
11884 for finite and infinity parameters.
11886 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
11888 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
11889 and add nop instructions for throughput optimization.
11890 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11892 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
11894 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
11895 aligned copy for power7 with vector-scalar instructions.
11896 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
11898 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
11900 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
11903 2011-09-07 Andreas Schwab <schwab@redhat.com>
11906 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
11909 2011-09-07 Ulrich Drepper <drepper@gmail.com>
11911 * sysdeps/unix/sysv/linux/x86_64/init-first.c
11912 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
11913 syscall wrapper around clock_gettime in __vdso_clock_gettime.
11914 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
11917 2011-09-06 Ulrich Drepper <drepper@gmail.com>
11919 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
11920 Forgot to demangle the pointer.
11922 * sysdeps/i386/sysdep.h: Define atom_text_section.
11923 * sysdeps/x86_64/sysdep.h: Likewise.
11924 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
11925 section with atom_text_section.
11926 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
11927 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
11928 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
11929 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
11930 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
11932 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
11933 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
11934 already be defined. Change to take two parameters and don't assign
11935 result to variable. Adjust all users.
11936 Define INTERNAL_GETTIME if not already defined.
11937 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
11939 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
11940 HAVE_CLOCK_GETTIME_VSYSCALL.
11941 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
11943 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
11944 gettimeofday vsyscall, just use time.
11946 2011-09-06 Andreas Schwab <schwab@redhat.com>
11948 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
11951 2011-09-06 Ulrich Drepper <drepper@gmail.com>
11953 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
11955 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
11957 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
11958 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
11959 syscall if possible.
11961 2011-09-05 Ulrich Drepper <drepper@gmail.com>
11963 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
11964 e_ident. Don't pass to find_mapsXX.
11965 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
11967 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11969 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11970 strchr-sse2-no-bsf strrchr-sse2-no-bsf
11971 * sysdeps/x86_64/multiarch/strchr.S: Update.
11972 Check bit_slow_BSF bit.
11973 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11974 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
11975 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
11977 2011-09-05 Ulrich Drepper <drepper@gmail.com>
11980 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
11982 (tryshell): Define.
11983 (__spawni): Change last parameter to be flag. Test
11984 SPAWN_XFLAGS_USE_PATH flag to use path or not.
11985 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
11986 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
11987 * posix/spawni.c: Likewise.
11988 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
11989 * posix/spawnp.c: Likewise. Change normal version to use
11990 SPAWN_XFLAGS_USE_PATH.
11991 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
11992 SPAWN_XFLAGS_TRY_SHELL.
11995 * posix/glob.h: Remove gcc 1.x support.
11998 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
12000 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12002 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12003 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
12005 * sysdeps/i386/i686/multiarch/strchr.S: New file.
12006 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
12007 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
12008 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
12009 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
12010 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
12012 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12014 * sysdeps/x86_64/wcscmp.S: New file.
12016 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
12017 wcscmp-c wcscmp-sse2
12018 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
12019 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
12020 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
12021 * wcsmbs/wcscmp.c: Allow renaming.
12023 2011-09-05 David S. Miller <davem@davemloft.net>
12025 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
12026 stack slot, rather than the struct return pointer slot.
12027 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
12028 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
12029 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
12030 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
12032 2011-09-05 Ulrich Drepper <drepper@gmail.com>
12034 * po/ja.po: Update from translation team.
12037 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
12038 kernel in 64-bit binaries.
12040 2011-09-01 David S. Miller <davem@davemloft.net>
12042 * elf/elf.h (HWCAP_SPARC_*): Move to..
12043 * sysdeps/sparc/sysdep.h: this new file and add new values.
12044 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
12045 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
12046 _DL_HWCAP_COUNT to 24.
12047 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12049 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
12050 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
12051 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
12052 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
12053 instead of magic constants.
12054 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12056 2011-08-31 David S. Miller <davem@davemloft.net>
12058 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
12059 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
12060 Reimplement to do errno handling inline.
12061 (SYSCALL_ERROR_HANDLER): New macro.
12062 (__SYSCALL_STRING): Do not do errno handling in asm.
12063 (__CLONE_SYSCALL_STRING): Delete.
12064 (__INTERNAL_SYSCALL_STRING): Delete.
12065 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
12066 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
12067 (PSEUDO): Reimplement to do errno handling inline.
12068 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
12069 (SYSCALL_ERROR_HANDLER): New macro.
12070 (__SYSCALL_STRING): Do not do errno handling in asm.
12071 (__CLONE_SYSCALL_STRING): Delete.
12072 (__INTERNAL_SYSCALL_STRING): Delete.
12073 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
12074 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
12076 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
12077 (inline_syscall*): Add 'err' argument.
12078 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
12079 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
12080 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
12081 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
12083 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
12084 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
12086 2011-08-30 Andreas Schwab <schwab@redhat.com>
12088 * elf/rtld.c (dl_main): Relocate objects in dependency order.
12090 2011-08-29 Jiri Olsa <jolsa@redhat.com>
12092 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
12095 2011-08-24 David S. Miller <davem@davemloft.net>
12097 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
12099 2011-08-24 Andreas Schwab <schwab@redhat.com>
12101 * elf/Makefile: Add rules to build and run unload8 test.
12102 * elf/unload8.c: New file.
12103 * elf/unload8mod1.c: New file.
12104 * elf/unload8mod1x.c: New file.
12105 * elf/unload8mod2.c: New file.
12106 * elf/unload8mod3.c: New file.
12108 * elf/dl-close.c (_dl_close_worker): Reset private search list if
12111 2011-08-23 David S. Miller <davem@davemloft.net>
12113 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
12114 subtract stack bias.
12115 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
12116 %sp not %fp in calculations.
12117 (_JMPBUF_UNWINDS_ADJ): Likewise.
12119 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
12120 (aio_suspend): Call it to force an exception region around the
12121 AIO_MISC_WAIT() invocation.
12123 2011-08-23 Andreas Schwab <schwab@redhat.com>
12125 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
12128 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
12130 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
12132 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
12133 and <dl-machine.h>.
12134 (Elf64_FuncDesc): Remove.
12136 2011-08-22 David S. Miller <davem@davemloft.net>
12138 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
12139 sigaltstack check, add missing cfi directives.
12140 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
12141 missing cfi directives, and sigaltstack handling.
12143 2011-08-16 Andreas Schwab <schwab@redhat.com>
12146 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
12147 object is seen twice.
12148 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12150 * elf/Makefile (distribute): Add tst-initorder2.c.
12151 (tests): Add tst-initorder2.
12152 (modules-names): Add tst-initorder2a tst-initorder2b
12153 tst-initorder2c tst-initorder2d. Add rules to build them.
12154 ($(objpfx)tst-initorder2.out): New rule.
12155 * elf/tst-initorder2.c: New file.
12156 * elf/tst-initorder2.exp: New file.
12158 2011-08-22 Andreas Schwab <schwab@redhat.com>
12160 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
12162 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
12163 dependencies back to end of function.
12165 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
12166 $(elfobjdir)/ld.so.
12168 2011-08-21 Ulrich Drepper <drepper@gmail.com>
12170 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
12171 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
12172 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
12173 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
12174 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
12175 of __vdso_gettimeofday.
12176 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
12177 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
12179 (_libc_vdso_platform_setup): Remove initialization of
12180 __vdso_gettimeofday and __vdso_time.
12182 2011-08-20 Ulrich Drepper <drepper@gmail.com>
12184 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
12185 and fgetc_unlocked.
12186 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
12189 * elf/dl-open.c (add_to_global): Report additions to the global scope
12190 for LD_DEBUG=scopes.
12191 (dl_open_worker): Also print scope of newly loaded dependencies.
12192 (_dl_show_scope): Indicate if there is no scope.
12195 * stdio-common/Makefile (tests): Add bug24.
12196 * stdio-common/bug24.c: New file.
12198 2011-08-19 Andreas Jaeger <aj@suse.de>
12201 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
12202 non-existant file when using close-on-exec mode.
12204 2011-08-20 Ulrich Drepper <drepper@gmail.com>
12206 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
12207 the very first instruction.
12209 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
12210 the CFI state in the end.
12211 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
12212 inclusion of dl-trampoline.h.
12213 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
12215 2011-08-19 Andreas Schwab <schwab@redhat.com>
12217 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
12218 expectations for long double.
12220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
12221 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
12223 2011-08-14 David S. Miller <davem@davemloft.net>
12225 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
12226 artificual limit depends upon the system page size.
12228 2011-08-17 Ulrich Drepper <drepper@gmail.com>
12230 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
12231 * resolv/Makefile: Define CFLAGS-libresolv.
12233 2011-08-17 Andreas Schwab <schwab@redhat.com>
12235 * nss/makedb.c (compute_tables): Make variables used in nested
12238 2011-08-17 Ulrich Drepper <drepper@gmail.com>
12240 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
12241 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
12242 if buffer was too small.
12244 * elf/pldd.c (main): Attach to all threads in the process.
12245 Rewrite /proc handling to use *at functions.
12247 2011-08-16 Ulrich Drepper <drepper@gmail.com>
12249 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
12250 specifies first scope to show.
12251 (dl_open_worker): Update callers. Move printing scope of new
12252 object to before the relocation.
12253 * elf/rtld.c (dl_main): Update _dl_show_scope call.
12254 * sysdeps/generic/ldsodefs.h: Update declaration.
12256 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
12257 string for the scope number.
12259 2011-08-14 Ulrich Drepper <drepper@gmail.com>
12261 * nscd/servicescache.c (cache_addserv): Make sure written is always
12264 2011-08-14 Roland McGrath <roland@hack.frob.com>
12266 * sysdeps/i386/i486/bits/atomic.h
12267 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
12268 statement expression, so as to suppress "set but not used" warning.
12269 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
12271 * string/strncat.c (STRNCAT): Use prototype definition.
12273 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
12274 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
12276 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
12277 (localedef-modules): Add localedef.
12278 (locale-modules): Add locale.
12280 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
12281 * elf/rtld.c (dl_main): Invert order of assignment in last change,
12282 to avoid a warning.
12284 2011-08-14 David S. Miller <davem@davemloft.net>
12286 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
12287 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
12289 2011-08-13 Ulrich Drepper <drepper@gmail.com>
12291 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
12292 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
12293 * elf/rtld.c (dl_main): Set l_name of vDSO.
12294 Call _dl_show_scope when DL_DEBUG_SCOPES.
12295 (process_dl_debug): Recognize scopes flag and also set it for all.
12296 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
12297 Declare _dl_show_scope.
12299 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
12300 (do_dlopen): Pass caller_dlopen to dl_open.
12301 (__libc_dlopen_mode): Initialize caller_dlopen.
12303 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
12304 of libc. Make tolower call locale-independent. Optimize a bit by
12305 using isdigit instead of isalnum.
12306 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
12308 2011-08-12 Ulrich Drepper <drepper@gmail.com>
12310 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
12311 was a dependency or dynamically loaded.
12313 2011-08-11 Ulrich Drepper <drepper@gmail.com>
12315 * intl/l10nflist.c: Allow architecture-specific pop function.
12316 * sysdeps/x86_64/l10nflist.c: New file.
12318 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
12321 2011-08-10 Andreas Schwab <schwab@redhat.com>
12323 * include/dirent.h: Add libc_hidden_proto for scandirat and
12324 scandirat64. Don't declare __scandirat64.
12325 * dirent/scandirat.c: Add libc_hidden_def.
12326 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
12327 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
12329 2011-08-10 David S. Miller <davem@davemloft.net>
12331 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
12333 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12334 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12335 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12337 2011-08-09 Ulrich Drepper <drepper@gmail.com>
12339 * Versions.def [libc]: Add GLIBC_2.15.
12340 * dirent/Makefile (routines): Add scandirat and scandirat64.
12341 * dirent/Versions [libc]: Export scandirat and scandirat64 for
12343 * dirent/dirent.h: Declare scandirat and scandirat64.
12344 * dirent/scandirat.c: New file.
12345 * dirent/scandirat64.c: New file.
12346 * sysdeps/wordsize-64/scandirat.c: New file.
12347 * sysdeps/wordsize-64/scandirat64.c: New file.
12348 * dirent/opendir.c: Define opendirat.
12349 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
12351 * dirent/scandir64.c: Adjust for scandir.c change.
12352 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
12353 __scandirat64, and __scandir_cancel_handler.
12354 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
12355 additional parameter and use openat instead of open (outside of ld.so).
12356 Add new __opendir as wrapper around __opendirat.
12357 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
12358 here without requiring old scandirat implementation.
12360 2011-08-08 Ulrich Drepper <drepper@gmail.com>
12362 * dirent/scandir.c (cancel_handler): Renamed to
12363 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
12364 defined. Adjust users.
12365 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
12366 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
12368 2011-08-04 Ulrich Drepper <drepper@gmail.com>
12370 * string/test-string.h (IMPL): Use __STRING to expand name and then
12373 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
12376 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12378 * string/Makefile: Update.
12379 (strop-tests): Append strncat.
12380 * string/test-wcscmp.c: New file.
12381 New comprehensive test for wcscmp.
12382 * string/test-strcmp.c: Update.
12383 (WIDE): New define.
12385 2011-07-22 Andreas Schwab <schwab@redhat.com>
12387 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
12390 2011-07-26 Andreas Schwab <schwab@redhat.com>
12392 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12393 encoding to ACE if AI_IDN.
12395 2011-08-01 Jakub Jelinek <jakub@redhat.com>
12397 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
12398 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
12400 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12402 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
12403 Fix overflow bug in strncat.
12404 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
12406 * string/test-strncat.c: Update.
12407 Add new tests for checking overflow bugs.
12409 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12411 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12412 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
12413 * sysdeps/i386/i686/multiarch/strcat.S: New file.
12414 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
12415 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
12416 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
12417 * sysdeps/i386/i686/multiarch/strncat.S: New file.
12418 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
12419 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
12421 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
12422 (USE_AS_STRCAT): Define.
12423 Add strcat and strncat support.
12424 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12426 2011-07-25 Andreas Schwab <schwab@redhat.com>
12428 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
12429 __n bigger than INT_MAX+1.
12430 (__strncmp_g): Likewise.
12432 2011-07-23 Ulrich Drepper <drepper@gmail.com>
12434 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
12435 * libio/stido.h: Likewise.
12437 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
12439 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
12442 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
12443 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12444 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12445 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
12446 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12449 * scripts/test-installation.pl: Don't expect libnss_test1 to be
12452 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
12454 (_dl_x86_64_save_sse): Likewise.
12456 2011-07-22 Ulrich Drepper <drepper@gmail.com>
12458 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
12460 (_dl_x86_64_save_sse): Likewise.
12462 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
12464 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
12466 2011-07-21 Andreas Schwab <schwab@redhat.com>
12468 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
12470 (_dl_x86_64_save_sse): Use correct AVX check.
12472 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12474 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
12475 bug in strncpy/strncat.
12476 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
12478 2011-07-21 Ulrich Drepper <drepper@gmail.com>
12480 * string/tester.c (test_strcat): Add tests for different alignments
12481 of source and destination.
12482 (test_strncat): Likewise.
12484 2011-07-20 Ulrich Drepper <drepper@gmail.com>
12487 * posix/glob.c (glob): Check passed in values before using them in
12488 expressions to avoid some overflows.
12489 (glob_in_dir): Likewise.
12492 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
12493 check for AVX enablement so that we don't crash with old kernels and
12495 * elf/tst-audit4.c: Add same checks here.
12496 * elf/tst-audit6.c: Likewise.
12498 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
12500 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
12502 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
12504 2011-07-20 Ulrich Drepper <drepper@gmail.com>
12506 * po/cs.po: Update from translation team.
12507 * po/bg.po: Likewise.
12509 2011-07-12 Marek Polacek <mpolacek@redhat.com>
12511 * misc/sys/cdefs.h: Add support for const attribute.
12512 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
12513 to gnu_dev_{major,minor,makedev} functions.
12515 2011-07-20 Marek Polacek <mpolacek@redhat.com>
12517 * intl/dcigettext.c (get_output_charset): Add missing bracket.
12519 2011-07-20 Andreas Schwab <schwab@redhat.com>
12521 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
12524 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12526 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
12527 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
12528 register in order to avoid conflicts with the soft frame pointer
12529 being held in r11 when necessary.
12530 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
12531 (INTERNAL_VSYSCALL_NCS): Likewise.
12533 2011-07-14 Marek Polacek <mpolacek@redhat.com>
12535 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
12536 * elf/dl-fini.c (_dl_fini): Adjust caller.
12537 * elf/dl-close.c (_dl_close_worker): Likewise.
12538 * sysdeps/generic/ldsodefs.h: Adjust declaration.
12540 2011-07-15 Marek Polacek <mpolacek@redhat.com>
12542 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
12543 "aux_cache->nlibs < 0".
12545 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
12546 in the reload-count case.
12548 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12550 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12551 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
12552 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
12553 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
12554 * sysdeps/x86_64/multiarch/strcat.S: New file.
12555 * sysdeps/x86_64/multiarch/strncat.S: New file.
12556 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
12557 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
12558 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
12559 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
12560 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
12561 (USE_AS_STRCAT): Define.
12562 Add strcat and strncat support.
12563 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12564 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12565 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
12566 * string/strncat.c: Update.
12567 (USE_AS_STRNCAT): Define.
12568 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12569 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
12571 * sysdeps/x86_64/multiarch/init-arch.h
12572 (bit_Prefer_PMINUB_for_stringop): New.
12573 (index_Prefer_PMINUB_for_stringop): Likewise.
12574 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
12575 bit_Prefer_PMINUB_for_stringop.
12577 2011-07-19 Ulrich Drepper <drepper@gmail.com>
12579 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
12581 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
12582 of casting of buffer.
12583 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
12584 buffer32 and buffer64.
12585 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
12586 writes instead of casting of buffer.
12587 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
12589 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
12592 2011-07-19 Andreas Schwab <schwab@redhat.com>
12594 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
12596 2011-07-19 Ulrich Drepper <drepper@gmail.com>
12598 * nscd/nscd.c (termination_handler): Don't do anything for a database
12599 if it has not yet been initialized.
12601 2011-07-18 Ulrich Drepper <drepper@gmail.com>
12603 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
12605 2011-07-15 Marek Polacek <mpolacek@redhat.com>
12607 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
12609 2011-07-18 Ulrich Drepper <drepper@gmail.com>
12611 * po/nl.po: Update from translation team.
12612 * po/sv.po: Likewise.
12614 2011-07-16 Roland McGrath <roland@hack.frob.com>
12616 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
12617 now disallowed by GCC.
12619 * configure.in (use-default-link): Default to yes if a test -shared
12620 link meets our qualifications.
12621 * configure: Regenerated.
12623 * config.make.in (output-format): New variable.
12624 * configure.in: Check for ld --print-output-format support.
12625 * configure: Regenerated.
12626 * Makerules ($(common-objpfx)format.lds)
12627 [$(output-format) != unknown]: Just use $(output-format),
12628 instead of the linker-script munging.
12630 2011-07-14 Roland McGrath <roland@hack.frob.com>
12632 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
12633 of $(common-objpfx)shlib.lds.
12634 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
12636 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
12637 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
12639 * configure.in (-z relro check): Adjust test code to add a large
12640 writable data section after it.
12641 * configure: Regenerated.
12643 2011-07-11 Roland McGrath <roland@hack.frob.com>
12645 * configure.in (-z relro check): Fix test code to make the variable
12647 * configure: Regenerated.
12649 2011-07-11 Ulrich Drepper <drepper@gmail.com>
12651 * nscd/nscd.h (struct traced_file): Define.
12652 (struct database_dyn): Remove inotify_descr, reset_res, and filename
12653 elements. Add traced_files.
12654 (inotify_fd): Declare.
12655 (register_traced_file): Declare.
12656 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
12657 (inotify_fd): Export.
12658 (resolv_conf_descr): Remove.
12659 (nscd_init): Move inotify descriptor creation to main.
12660 Don't register files for notification here.
12661 (register_traced_file): New function.
12662 (invalidate_cache): Don't use reset_res to determine whether to call
12663 res_init, go through the list of registered files.
12664 (main_loop_poll): The inotify descriptors are now stored in the
12665 structures for the traced files.
12666 (main_loop_epoll): Likewise
12667 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
12668 to __nss_disable_nscd.
12669 * nscd/cache.c (prune_cache): There is no single inotify descriptor
12670 for a database anymore. Check the records for all the registered
12672 * nss/Makefile (libnss_files-routines): Add files-init.
12673 (libnss_db-routines): Add db-init.
12674 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
12675 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
12676 * nss/nss_db/db-init.c: New file.
12677 * nss/nss_files/files-init.c: New file.
12678 * nss/nsswitch.c (nss_load_library): New function. Broken out of
12679 __nss_lookup_function.
12680 (__nss_lookup_function): Call nss_load_library.
12681 (nss_load_all_libraries): New function.
12682 (__nss_disable_nscd): Take parameter with callback function for files
12683 to register. Set is_nscd. Load all the DSOs for the NSS modules
12684 used for the cached services.
12685 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
12686 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
12687 options for features to all the files in nscd.
12689 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
12691 2011-07-10 Roland McGrath <roland@hack.frob.com>
12693 * csu/elf-init.c (__libc_csu_init): Comment typo.
12695 2011-07-09 Ulrich Drepper <drepper@gmail.com>
12697 * po/pl.po: Update from translation team.
12698 * po/ja.po: Likewise.
12699 * po/ru.po: Likewise.
12700 * po/ko.po: Likewise.
12701 * po/fr.po: Likewise.
12703 2011-07-09 Roland McGrath <roland@hack.frob.com>
12705 * configure.in (.ctors/.dtors header and trailer check):
12706 Use an empirical test on a built program.
12707 * configure: Regenerated.
12709 * configure.in (-z relro check): Use an empirical test on a built DSO.
12710 Detect, but do not require, on ia64.
12711 * configure: Regenerated.
12713 * configure.in (READELF): Find it with AC_CHECK_TOOL.
12714 Update tests that use readelf to use $READELF instead.
12715 * configure: Regenerated.
12717 2011-07-08 Ulrich Drepper <drepper@gmail.com>
12719 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
12720 if the result is not used.
12722 2011-07-05 Andreas Jaeger <aj@suse.de>
12725 * stdlib/tst-strtod.c: Add testcase.
12727 2011-07-07 Ulrich Drepper <drepper@gmail.com>
12729 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
12730 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
12731 The latter has a higher limit. Take additional parameter to pass to
12733 (__pathconf): Pass file to __statfs_link_max.
12734 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
12736 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
12740 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
12741 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12743 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
12744 (__statfs_filesize_max): Likewise.
12745 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
12747 2011-07-05 Andreas Jaeger <aj@suse.de>
12749 * resolv/res_comp.c (dn_skipname): Remove unused variable.
12751 2011-07-06 Marek Polacek <mpolacek@redhat.com>
12753 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
12755 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
12758 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
12760 * Makefile (strop-tests): Add strncat.
12761 * string/test-strncat.c: New file.
12763 2011-06-30 Marek Polacek <mpolacek@redhat.com>
12765 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
12767 2011-06-21 Andreas Jaeger <aj@suse.de>
12769 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
12770 Copy rule from iconvdata/Makefile.
12772 2011-07-06 Ulrich Drepper <drepper@gmail.com>
12775 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
12776 but no long options are defined, just return 'W'.
12778 2011-06-22 Marek Polacek <mpolacek@redhat.com>
12781 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
12783 2011-07-06 Ulrich Drepper <drepper@gmail.com>
12785 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
12787 (innetgr): Likewise.
12789 2011-07-05 Roland McGrath <roland@hack.frob.com>
12791 * config.make.in (install_root): Default to $(DESTDIR).
12793 2011-07-05 Ulrich Drepper <drepper@gmail.com>
12795 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
12797 2011-07-02 Roland McGrath <roland@hack.frob.com>
12799 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
12801 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
12802 containing directory rather than embedding absolute directory names.
12804 * scripts/check-local-headers.sh: Rewritten using awk.
12805 Match by word, not by line. Print error messages for matches.
12806 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
12808 * Makerules [shlib-lds-flags empty]:
12809 ($(common-objpfx)libc_pic.opts): New target.
12810 ($(common-objpfx)libc_pic.os.clean): New target.
12811 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
12813 * config.make.in (OBJCOPY): New variable.
12814 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
12815 * configure: Regenerated.
12817 * config.make.in (use-default-link): New variable.
12818 * configure.in (use_default_link): Grok --with-default-link to set it.
12819 * configure: Regenerated.
12820 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
12821 (shlib-lds, shlib-lds-flags): Define to empty.
12823 * Makerules (shlib-lds): New variable.
12824 (shlib-lds-flags): New variable.
12825 (build-shlib, build-moduile, build-module-asneeded): Use it.
12826 ($(common-objpfx)libc.so): Use $(shlib-lds).
12827 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
12828 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
12830 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
12831 DT_FLAGS/DT_FLAGS_1 with zero flags.
12833 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
12834 linker script munging.
12836 2011-07-02 Ulrich Drepper <drepper@gmail.com>
12838 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
12840 * crypt/sha512.c (sha512_process_block): Perform total addition using
12841 128-bit if possible.
12842 (__sha512_finish_ctx): Likewise.
12843 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
12845 * crypt/sha256.c (SWAP64): Define.
12846 (sha256_process_block): Perform total addition using 64-bit if
12848 (__sha256_finish_ctx): Likewise.
12850 2011-07-01 Ulrich Drepper <drepper@gmail.com>
12852 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
12853 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12854 * nscd/hstcache.c (cache_addhst): Likewise.
12855 * nscd/grpcache.c (cache_addgr): Likewise.
12856 * nscd/aicache.c (addhstaiX): Likewise
12857 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
12859 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
12861 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
12862 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12863 * nscd/hstcache.c (cache_addhst): Likewise.
12864 * nscd/grpcache.c (cache_addgr): Likewise.
12865 * nscd/aicache.c (addhstaiX): Likewise
12867 2011-07-01 Andreas Schwab <schwab@redhat.com>
12869 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
12870 domain only when needed.
12872 2011-06-30 Andreas Schwab <schwab@redhat.com>
12874 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
12875 is always restored.
12877 2011-06-29 Ulrich Drepper <drepper@gmail.com>
12879 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
12880 are re-adding the entry.
12881 * nscd/servicescache.c (cache_addserv): Likewise.
12883 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
12885 * sysdeps/generic/dl-irel.h: fix protection against multiple
12887 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
12889 2011-06-28 Ulrich Drepper <drepper@gmail.com>
12892 * malloc/memusage.sh: Fix quoting in message.
12893 * debug/xtrace.sh: Likewise.
12895 * configure.in: Remove support for --experimental-malloc option, make
12897 * config.make.in: Likewise.
12898 * malloc/Makefile: Likewise.
12900 2011-06-27 Andreas Schwab <schwab@redhat.com>
12902 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
12903 two-byte characters.
12905 2011-06-27 Roland McGrath <roland@hack.frob.com>
12907 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
12908 AC_CACHE_CHECK invocation.
12909 * configure: Regenerated.
12911 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
12913 2011-06-27 Ulrich Drepper <drepper@gmail.com>
12916 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
12917 bit from old_res_options.
12919 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
12921 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
12922 value type for setfct.
12924 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
12926 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
12927 __gettimeofday instead of gettimeofday.
12929 2011-06-26 Ulrich Drepper <drepper@gmail.com>
12931 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
12933 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
12935 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
12937 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
12940 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
12942 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12943 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
12944 strcpy-sse2-unaligned strncpy-sse2-unaligned
12945 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
12946 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
12947 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
12948 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
12949 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
12950 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
12951 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
12952 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
12953 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
12954 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
12955 (STRCPY): Support SSE2 and SSSE3 versions.
12957 2011-06-24 Ulrich Drepper <drepper@gmail.com>
12960 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
12961 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
12962 kernels which artificially limit size of requests.
12964 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
12966 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12967 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
12968 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
12969 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
12970 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
12971 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
12972 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
12973 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
12974 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
12975 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
12976 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
12977 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
12978 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
12979 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
12980 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
12981 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12982 Enable unaligned load optimization for Intel Core i3, i5 and i7
12984 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
12986 (index_Fast_Unaligned_Load): Define.
12987 (HAS_FAST_UNALIGNED_LOAD): Define.
12989 2011-06-23 Marek Polacek <mpolacek@redhat.com>
12991 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
12993 2011-06-22 Ulrich Drepper <drepper@gmail.com>
12996 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
12997 until it is clear that the information is realy needed.
12998 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
13000 2011-06-22 Andreas Schwab <schwab@redhat.com>
13002 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
13004 2011-06-22 Ulrich Drepper <drepper@gmail.com>
13006 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13007 /sys/devices/system/cpu/online if it is usable.
13009 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
13010 reading the information from the /proc filesystem to once a second.
13012 2011-06-21 Andreas Jaeger <aj@suse.de>
13014 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
13015 NULL after inclusion of kernel headers.
13017 2011-06-21 Ulrich Drepper <drepper@gmail.com>
13019 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
13020 calls to internal_setent.
13023 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
13024 addresses using gethostbyname4_r ignore IPv4 addresses.
13026 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
13027 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
13029 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
13031 2011-06-20 David S. Miller <davem@davemloft.net>
13033 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
13035 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
13037 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
13038 (elf_irel): Use it.
13039 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
13040 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
13041 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
13042 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
13043 * sysdeps/x86_64/dl-irel.h: Likewise.
13045 * elf/dl-runtime.c: Use elf_ifunc_invoke.
13046 * elf/dl-sym.c: Likewise.
13048 2011-06-15 Ulrich Drepper <drepper@gmail.com>
13050 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
13051 need to dereference resplen2.
13053 2011-06-14 Andreas Schwab <schwab@redhat.com>
13055 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
13057 2011-06-15 Ulrich Drepper <drepper@gmail.com>
13059 * Makeconfig: Define vardbdir and inst_vardbdir.
13060 * nss/Makefile: Add rules to install db-Makefile.
13062 * nss/nss_db/db-XXX.c: Cleanup.
13064 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
13065 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
13067 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
13068 * nss/makedb.c: Implement -g option to specify that value strings
13069 are generated and should not be added to table iterated over for
13071 * nss/nss_db/db-initgroups.c: New file.
13073 * nss/getent.c: Add support for initgroups lookups through getgrouplist
13076 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
13077 (internal_getgrouplist): Adjust to name change.
13078 Update use_initgroups_entry if this is not the first call.
13079 * nss/databases.def: Add initgroups entry.
13081 * nss/makedb.c (compute_tables): Check result of multiple hash table
13082 sizes to minimize maximum chain length.
13084 2011-06-14 Ulrich Drepper <drepper@gmail.com>
13086 * Versions.def: Add entry for libnss_db.
13087 * shlib-versions: Likewise.
13088 * nss/Makefile: Add rules to build libnss_db.
13089 * nss/Versions: Add libnss_db information. Organize libnss_files
13091 * nss/db-Makefile: Add gshadow support. Change rules for the new
13092 makedb progra. Some minor improvements to generate smaller files.
13093 * nss/nss_db/nss_db.h: Move NSS database header data structures to
13095 * nss/makedb.c: ...here.
13096 Improve database format to be smaller and require less memory at
13098 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
13100 * nss/nss_db/db-netgrp.c: Likewise.
13101 * nss/nss_db/db-open.c: Likewise.
13102 * nss/nss_files/flies-XXX.x: Adjust comments.
13103 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
13104 * nss/nss_files/files-grp.c: Likewise.
13105 * nss/nss_files/files-hosts.c: Likewise.
13106 * nss/nss_files/files-network.c: Likewise.
13107 * nss/nss_files/files-proto.c: Likewise.
13108 * nss/nss_files/files-pwd.c: Likewise.
13109 * nss/nss_files/files-rpc.c: Likewise.
13110 * nss/nss_files/files-service.c: Likewise.
13111 * nss/nss_files/files-sgrp.c: Likewise.
13112 * nss/nss_files/files-spwd.c: Likewise.
13113 * nss/nss_db/db-alias.c: Removed.
13114 * nss/nss_db/dummy-db.h: Removed.
13116 2011-06-02 Ulrich Drepper <drepper@gmail.com>
13118 * nss/makedb.c: Rewritten to not use database library.
13119 * nss/Makefile: Update to build new makedb program.
13121 2011-06-14 Andreas Jaeger <aj@suse.de>
13123 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
13124 memset declaration.
13126 2011-06-10 Andreas Schwab <schwab@redhat.com>
13128 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
13131 2011-06-10 Roland McGrath <roland@hack.frob.com>
13133 * Makerules (shlib.lds): Fail if the linker script comes out empty.
13134 * elf/Makefile ($(objpfx)ld.so): Likewise.
13136 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
13137 Don't list ld.so twice in dependencies.
13139 * posix/bug-regex31.c: Include <stdlib.h>.
13141 * nscd/hstcache.c (cache_addhst): Remove unused variable.
13143 * nis/nss_compat/compat-spwd.c
13144 (getspent_next_nss_netgr): Remove unused variable.
13145 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
13147 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
13148 nonmembers" output to use the right array.
13150 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
13152 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
13154 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
13155 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
13156 * catgets/gencat.c (read_input_file): Likewise.
13157 * locale/programs/locarchive.c (enlarge_archive): Likewise.
13159 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
13160 variable definition inside #if's controlling its use.
13162 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
13164 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
13166 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
13168 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
13171 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
13173 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
13174 * configure: Regenerated.
13176 * Makerules: Revert last change.
13177 * elf/Makefile: Likewise.
13179 2011-06-09 Roland McGrath <roland@hack.frob.com>
13181 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
13182 * elf/Makefile ($(objpfx)librtld.os): Likewise.
13183 (reloc-link): Likewise.
13185 2011-06-09 Ulrich Drepper <drepper@gmail.com>
13187 * elf/Makefile: Add rules to build pldd.
13188 * elf/pldd.c: New file.
13189 * elf/pldd-xx.c: New file.
13191 2011-06-07 Ulrich Drepper <drepper@gmail.com>
13193 * version.h: Update for 2.15 development version.
13195 2011-06-07 David S. Miller <davem@davemloft.net>
13197 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
13199 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
13200 elf_machine_lazy_rel): Likewise.
13201 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
13202 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
13203 elf_machine_lazy_rel): Likewise.
13204 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
13205 dl_hwcap via passed in argument.
13206 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
13209 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13211 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
13213 2011-06-06 Roland McGrath <roland@hack.frob.com>
13216 * manual/fdl-1.1.texi: New file, verbatim from:
13217 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
13218 * manual/lgpl-2.1.texi: New file, verbatim from:
13219 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
13220 * manual/Makefile (licenses): New variable, list those new file names.
13222 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
13224 * manual/fdl.texi: File removed.
13225 * manual/lesser.texi: File removed.
13226 * manual/libc.texinfo (Copying, Documentation License):
13227 Use new @include file names, put @appendix directive before @include.
13229 2011-06-04 Jakub Jelinek <jakub@redhat.com>
13232 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
13233 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
13234 (mq_open): Add __NTH.
13236 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
13238 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13239 Assume Intel Core i3/i5/i7 processor if AVX is available.
13241 2011-05-31 Ulrich Drepper <drepper@gmail.com>
13243 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13246 2011-05-31 Andreas Schwab <schwab@redhat.com>
13248 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
13249 memory. Use alloca_account. Fix memory leak when retrying.
13251 2011-05-31 Ulrich Drepper <drepper@gmail.com>
13253 * version.h (RELEASE): Bump for 2.14 release.
13254 * include/features.h (__GLIBC_MINOR__): Bump to 14.
13256 * config.make.in (RANLIB): Remove entry.
13258 2011-05-30 Ulrich Drepper <drepper@gmail.com>
13260 * po/Makefile (po-sed-cmd): Add ksh to extensions.
13261 (libc.pot): Work around missing support for .ksh extension in xgettext.
13264 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
13265 if both request failed.
13266 (send_dg): In case of server errors clear resplen or *resplen2.
13269 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
13270 when there are multiple maps.
13271 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
13272 (_dl_fini): Remove test here.
13274 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
13276 2011-05-29 Ulrich Drepper <drepper@gmail.com>
13279 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
13280 bit from old_res_options.
13281 (gaih_inet): Likewise.
13284 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
13287 * resolv/res_init.c (res_setoptions): Make the code more compact.
13290 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
13294 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
13296 * malloc/malloc.h: Mark malloc hook variables as deprecated.
13299 * malloc/malloc.h: Declare malloc hook variables as volatile.
13301 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
13305 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
13306 raise in the comment.
13307 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
13308 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13309 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
13311 2011-05-28 Ulrich Drepper <drepper@gmail.com>
13314 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
13315 grow the buffers more if it already has to be sufficient.
13316 (build_wcs_upper_buffer): Likewise.
13317 * posix/regexec.c (check_matching): Likewise.
13318 (clean_state_log_if_needed): Likewise.
13319 (extend_buffers): Don't enlarge buffers beyond size of the input
13321 Patches mostly by Emil Wojak <emil@wojak.eu>.
13322 * posix/bug-regex32.c: New file.
13323 * posix/Makefile (tests): Add bug-regex32.
13325 * locale/findlocale.c (_nl_find_locale): Return right away if
13326 _nl_explode_name failed.
13327 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
13329 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
13331 * debug/xtrace.sh: Unify messages.
13332 * malloc/memusage.sh: Likewise.
13335 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
13336 time symbol from vDSO. Substitute with vsyscall if not available.
13337 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
13340 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
13341 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
13342 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
13343 Add sendmmsg and internal_sendmmsg.
13344 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
13345 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
13346 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
13348 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
13349 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
13350 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
13352 2011-05-27 Ulrich Drepper <drepper@gmail.com>
13355 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
13356 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
13358 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
13362 * iconvdata/Makefile (tests): Add bug-iconv9.
13363 * iconvdata/bug-iconv9.c: New file.
13365 2011-05-27 Andreas Schwab <schwab@redhat.com>
13368 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
13370 2011-05-25 Jakub Jelinek <jakub@redhat.com>
13372 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13373 (struct user_regs_struct): Change intcs field back to cs.
13375 2011-05-25 Ulrich Drepper <drepper@gmail.com>
13377 * po/ja.po: Update from translation team.
13379 2011-05-23 Ulrich Drepper <drepper@gmail.com>
13382 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
13383 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
13385 2011-05-20 Andreas Schwab <schwab@redhat.com>
13387 * stdlib/longlong.h: Update from GCC.
13389 2011-05-23 Andreas Schwab <schwab@redhat.com>
13391 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
13393 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
13394 Add parameter name.
13395 (__sysconf): Pass it down.
13397 2011-05-22 Ulrich Drepper <drepper@gmail.com>
13400 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
13402 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
13403 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
13404 add in in __libc_use_alloca calls. Adjust callers.
13405 (glob): Use malloc in some situations.
13407 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
13408 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
13411 2011-05-21 Ulrich Drepper <drepper@gmail.com>
13413 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
13414 and CLOCK_BOOTTIME_ALARM.
13417 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
13420 * string/_strerror.c (__strerror_r): Print negative errors as signed
13424 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
13425 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
13426 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
13428 * configure.in: Fix typo in redirection and correct removal of test
13429 files in two cases.
13432 * locale/setlocale.c (new_composite_name): Fix test to check for
13433 identical name of all categories.
13436 * libio/filedoalloc.c (local_isatty): New function.
13437 (_IO_file_doallocate): Use local_isatty.
13438 * stdio-common/perror.c (perror): In case a new stream is used
13439 forward the stream error.
13440 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
13443 2011-05-20 Ulrich Drepper <drepper@gmail.com>
13446 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
13448 * include/alloca.h (extend_alloca_account): Define.
13451 * posix/regex.h: Fix comments with documentation of user-accessible
13452 fields after compilation and describe correct free'ing of pattern
13453 after re_compile_pattern.
13454 Patch by Reuben Thomas <rrt@sc3d.org>.
13456 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
13458 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
13459 and -mno-altivec to prevent the compiler from using Altivec and/or
13460 VSX instructions when the corresponding registers are not available.
13462 2011-05-19 Andreas Schwab <schwab@redhat.com>
13464 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
13466 2011-05-19 Ulrich Drepper <drepper@gmail.com>
13468 * libio/freopen.c (freopen): Use __dup2, not dup2.
13469 * libio/freopen64.c (freopen64): Likewise.
13471 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
13474 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
13475 * math/Makefile (tests): Add test-powl.
13476 (CFLAGS-test-powl.c): Define.
13477 * math/test-powl.c: New file.
13479 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
13481 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
13483 2011-05-17 Ulrich Drepper <drepper@gmail.com>
13486 * iconvdata/gb18030.c: Update to GB18020-2005.
13488 2011-05-16 Ulrich Drepper <drepper@gmail.com>
13490 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
13491 RE_SYNTAX_POSIX_AWK): Update to match recent development.
13492 Patch by Aharon Robbins <arnold@skeeve.com>.
13495 * stdlib/putenv.c (putenv): Don't always create copy of the variable
13499 * misc/pselect.c (__pselect): Handle timeout value errors hidden
13500 through underflows.
13503 * misc/error.c (error_at_line): Ensure file_name and old_file_name
13504 point to strings before performing equality test for error_one_per_line
13508 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
13511 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13512 (struct user_fpregs_struct): Avoid __uint*_t types.
13515 * malloc/mtrace.c (tr_where): Add additional parameter to point to
13516 symbol info. Use it instead of calling _dl_addr locally.
13517 (lock_and_info): New function.
13518 (tr_freehook): Call lock_and_info and pass symbol info as additional
13519 parameter to tr_where.
13520 (tr_mallochook): Likewise.
13521 (tr_reallochook): Likewise.
13522 (tr_memalignhook): Likewise.
13524 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
13525 used and couldn't be at all thread-safe.
13527 2011-05-15 Ulrich Drepper <drepper@gmail.com>
13529 * libio/freopen.c (freopen): Don't close old file descriptor
13530 before the new one is opened. Instead dup the new file descriptor
13531 to the old one after the new stream is created.
13532 * libio/freopen64.c (freopen64): Likewise.
13533 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
13534 * libio/fileops.c (_IO_new_file_close_it): Handle new
13535 _IO_FLAGS2_NOCLOSE flag.
13536 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
13537 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
13538 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
13539 _IO_FLAGS2_NOCLOSE flag.
13540 * include/unistd.h: Add hidden_proto for dup3.
13541 Define __have_dup3.
13542 * io/dup3.c: Define hidden symbol.
13543 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
13546 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
13547 when an incomplete long option is used.
13548 * posix/tst-getopt_long1.c: New file.
13549 * posix/Makefile (tests): Add tst-getopt_long1.
13552 * scripts/config.guess: Update from autoconf-2.68.
13553 * scripts/config.sub: Likewise.
13556 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
13558 (has_cpuclock): ...this. New function.
13559 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
13560 macro here based on has_cpuclock code.
13563 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13564 First byte (not low byte) is now always NUL.
13565 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
13567 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13568 Use non-cancelable interfaces.
13571 * locale/iso-639.def: Add entry for Sorani.
13574 * include/stdlib.h: Move include protection to the right place.
13575 Define abort_msg_s. Declare __abort_msg with it.
13576 * stdlib/abort.c (__abort_msg): Adjust type.
13577 * assert/assert.c (__assert_fail_base): New function. Majority
13578 of code from __assert_fail. Allocate memory for __abort_msg with
13580 (__assert_fail): Now call __assert_fail_base.
13581 * assert/assert-perr.c: Remove bulk of implementation. Use
13582 __assert_fail_base.
13583 * include/assert.hL Declare __assert_fail_base.
13584 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
13586 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
13588 2011-05-14 Ulrich Drepper <drepper@gmail.com>
13592 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
13593 until all modules are registered in the DTV.
13594 * elf/Makefile: Add rules to build and run tst-tls19.
13595 * elf/tst-tls19.c: New file.
13596 * elf/tst-tls19mod1.c: New file.
13597 * elf/tst-tls19mod2.c: New file.
13598 * elf/tst-tls19mod3.c: New file.
13599 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
13602 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
13606 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
13607 two-byte sequence errors.
13608 * iconvdata/Makefile (tests): Add bug-iconv8.
13609 * iconvdata/bug-iconv8.c: New file.
13612 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
13615 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
13618 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
13619 (dummy_getcfa): New function.
13620 (init): Get _Unwind_GetCFA address, use dummy if not found.
13621 (backtrace_helper): In recursion check, also check whether CFA changes.
13622 (__backtrace): Completely initialize arg.
13624 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
13625 storing incomplete byte sequence in state object. Avoid testing for
13626 guaranteed too small input if we know there is enough data available.
13628 2011-05-11 Andreas Schwab <schwab@redhat.com>
13630 * Makeconfig (+link-pie): Indent.
13631 * Rules (binaries-pie): Define if $(have-fpie) and
13633 (binaries-shared): Also filter out $(binaries-pie).
13634 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
13635 * nscd/Makefile (others-pie): Add nscd.
13636 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
13637 ($(objpfx)nscd): Remove command override.
13638 * login/Makefile (others-pie): Add pt_chown.
13639 ($(objpfx)pt_chown): Remove command override.
13640 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
13641 remove command overrides.
13643 2011-05-13 Ulrich Drepper <drepper@gmail.com>
13645 * libio/tst_putwc.c: Fix error messages.
13648 * libio/fileops.c (_IO_new_file_close_it): Always flush when
13649 currently writing and seek to current position when not.
13650 * libio/Makefile (tests): Add bug-fclose1.
13651 * libio/bug-fclose1.c: New file.
13653 2011-05-12 Ulrich Drepper <drepper@gmail.com>
13656 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
13657 don't set DF_1_NODELETE here.
13658 (do_lookup_x): When entering new entry test for copy relocation
13659 and if necessary set DF_1_NODELETE flag.
13660 * elf/tst-unique4.cc: New file.
13661 * elf/tst-unique4.h: New file.
13662 * elf/tst-unique4lib.cc: New file.
13663 * elf/Makefile: Add rules to build and run tst-unique4.
13664 Patch by Piotr Bury <pbury@goahead.com>.
13666 2011-05-11 Ulrich Drepper <drepper@gmail.com>
13669 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
13672 * misc/mntent_r.c (addmntent): Flush the stream after the output
13675 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
13676 (is_trusted_path_normalize): Skip initial colon. Append slash
13677 to empty buffer. Duplicate is_trusted_path code but allow
13678 constructed patch to be prefix.
13679 (is_dst): Allow $ORIGIN followed by /.
13680 (_dl_dst_substitute): Correct clearing of check_for_trusted.
13681 Correct testing of result of is_trusted_path_normalize
13682 (decompose_rpath): Fix warning.
13684 2011-05-10 Ulrich Drepper <drepper@gmail.com>
13687 * grp/initgroups.c (internal_getgrouplist): When we found the service
13688 list through the initgroups entry in nsswitch.conf do not always
13689 continue on a successful lookup. Don't always use the
13690 __nss_group_database value if it is set.
13691 * nss/nsswitch.conf (initgroups): Change action for successful db
13692 lookup to continue for compatibility.
13694 2011-05-09 Ulrich Drepper <drepper@gmail.com>
13697 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
13699 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
13701 * iconvdata/tst-tables.sh: Likewise.
13702 * iconvdata/cp770.c: New file.
13703 * iconvdata/cp771.c: New file.
13704 * iconvdata/cp772.c: New file.
13705 * iconvdata/cp773.c: New file.
13706 * iconvdata/cp774.c: New file.
13707 * iconvdata/testdata/CP770: New file.
13708 * iconvdata/testdata/CP770..UTF8: New file.
13709 * iconvdata/testdata/CP771: New file.
13710 * iconvdata/testdata/CP771..UTF8: New file.
13711 * iconvdata/testdata/CP772: New file.
13712 * iconvdata/testdata/CP772..UTF8: New file.
13713 * iconvdata/testdata/CP773: New file.
13714 * iconvdata/testdata/CP773..UTF8: New file.
13715 * iconvdata/testdata/CP774: New file.
13716 * iconvdata/testdata/CP774..UTF8: New file.
13718 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
13720 * iconvdata/gen-8bit-gap.sh: Likewise.
13721 * iconvdata/gen-8bit.sh: Likewise.
13723 * locale/iso-639.def: Add ary entry.
13726 * locale/C-translit.h.in: Add U20A1 transliteration.
13729 * locale/iso-639.def: Add wae entry.
13730 Patch by Kevin Bortis <bortis@translate-wae.ch>.
13733 * locale/programs/localedef.c (construct_output_path): Use ssize_t
13737 * locale/C-translit.h.in: Add entry for U20B9.
13738 Patch by pravin.d.s@gmail.com.
13740 2011-05-08 Ulrich Drepper <drepper@gmail.com>
13743 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
13744 ENAMETOOLONG use generic getcwd.
13745 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
13746 in rtld. Use *stat64.
13747 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
13748 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
13749 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
13750 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
13751 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
13752 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
13753 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
13754 __fstatat64 macros.
13755 * include/dirent.h: Add libc_hidden_proto for rewinddir.
13756 * dirent/rewinddir.c: Add libc_hidden_def.
13757 * sysdeps/mach/hurd/rewinddir.c: Likewise.
13758 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
13760 * include/dirent.h (__alloc_dir): Add flags parameter.
13761 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
13762 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
13764 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
13765 from fdopendir if O_CLOEXEC is already set.
13767 2011-03-15 Alan Modra <amodra@gmail.com>
13769 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
13770 l_tls_firstbyte_offset non-zero. Save padding offset in
13771 l_tls_firstbyte_offset for later use.
13772 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
13773 freeing static tls block.
13775 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
13777 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
13778 where #ifdef was intended. The intent is to prevent ARG_MAX from
13779 being defined by the kernel headers.
13781 2011-05-07 Ulrich Drepper <drepper@gmail.com>
13784 * resolv/resolv.h: Define RES_NOTLDQUERY.
13785 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
13786 no-tld-query and set RES_NOTLDQUERY.
13787 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
13788 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
13789 modern BIND to search name as TLD unless forbidden.
13791 2011-05-07 Petr Baudis <pasky@suse.cz>
13792 Ulrich Drepper <drepper@gmail.com>
13795 * elf/dl-load.c (fillin_rpath): Move trusted path check...
13796 (is_trusted_path): ...to here.
13797 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
13798 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
13799 using is_trusted_path_normalize() in setuid scripts.
13801 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
13803 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
13804 __BEGIN/__END_DECLS.
13806 2011-05-06 Ulrich Drepper <drepper@gmail.com>
13808 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
13809 NSS_STATUS_NOTFOUND if no record was found.
13811 2011-05-05 Andreas Schwab <schwab@redhat.com>
13813 * sunrpc/Makefile (headers): Add rpc/netdb.h.
13814 (headers-not-in-tirpc): Remove rpc/netdb.h
13815 * resolv/netdb.h: Revert last change.
13817 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13819 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
13820 circular dependency between libgcc.a and libc.a.
13822 2011-05-05 Andreas Schwab <schwab@redhat.com>
13824 * resolv/netdb.h: Don't include <rpc/netdb.h>.
13825 * nis/Makefile: Don't install rpcsvc/*.
13826 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
13827 instead of <rpc/types.h>.
13828 (MAXHOSTNAMELEN): Define.
13830 2011-05-03 Andreas Schwab <schwab@redhat.com>
13832 * elf/ldconfig.c (add_dir): Don't crash on empty path.
13834 2011-04-28 Maciej Babinski <mbabinski@google.com>
13837 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
13838 gethostbyname4_r when IPv6 results are possible.
13840 2011-05-02 Ulrich Drepper <drepper@gmail.com>
13843 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
13844 _PC_PIPE_BUF handling.
13846 2011-04-30 Bruno Haible <bruno@clisp.org>
13849 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
13850 * resolv/netdb.h (getnameinfo): Change type of flags parameter
13852 * inet/getnameinfo.c (getnameinfo): Likewise.
13854 2011-04-29 Ulrich Drepper <drepper@gmail.com>
13856 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
13857 to groups setting in database lookup.
13858 * nss/nsswitch.conf: Add initgroups entry.
13860 2011-04-22 Ulrich Drepper <drepper@gmail.com>
13863 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
13865 Patch by Eric Blake <eblake@redhat.com>.
13867 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
13869 * sunrpc/Makefile (need-export-routines): Add svc_run.
13870 (routines): Remove svc_run.
13871 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
13872 * sunrpc/clnt_perr.c (clnt_perrno): Export.
13873 * sunrpc/svc_run.c (svc_run): Likewise.
13874 * sunrpc/svc_udp.c (svcudp_create): Likewise.
13876 2011-04-21 Ulrich Drepper <drepper@gmail.com>
13878 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
13879 problem in reallocation in last patch.
13881 2011-04-20 Ulrich Drepper <drepper@gmail.com>
13883 * sunrpc/Makefile: Move inclusion of Rules.
13885 2011-04-19 Ulrich Drepper <drepper@gmail.com>
13887 * nss/nss_files/files-initgroups.c: New file.
13888 * nss/Makefile (libnss_files-routines): Add files-initgroups.
13889 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
13890 _nss_files_initgroups_dyn.
13892 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
13894 * elf/elf.h (R_ARM_IRELATIVE): Define.
13896 2011-04-19 Ulrich Drepper <drepper@gmail.com>
13898 * po/ru.po: Update from translation team.
13900 2011-04-17 Ulrich Drepper <drepper@gmail.com>
13902 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
13905 2011-02-06 Mike Frysinger <vapier@gentoo.org>
13908 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
13909 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
13910 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
13911 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13912 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13914 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
13916 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
13918 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13919 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13920 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13922 2011-04-17 Ulrich Drepper <drepper@gmail.com>
13925 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
13927 * stdlib/bug-getcontext.c: New file.
13928 * stdlib/Makefile: Add rules to build and run bug-getcontext.
13930 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13932 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
13933 instructions into .machine "z9-109".
13934 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
13935 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
13937 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13939 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
13940 between environment variables and auxiliary vector.
13942 2011-04-16 Ulrich Drepper <drepper@gmail.com>
13944 * Makefile: Add rules to build linkobj/libc.so.
13945 * include/libc-symbols.h: Define libc_hidden_nolink.
13946 * include/rpc/auth.h: Mark functions which are to be hidden.
13947 * include/rpc/auth_des.h: Likewise.
13948 * include/rpc/auth_unix.h: Likewise.
13949 * include/rpc/clnt.h: Likewise.
13950 * include/rpc/des_crypt.h: Likewise.
13951 * include/rpc/key_prot.h: Likewise.
13952 * include/rpc/pmap_clnt.h: Likewise.
13953 * include/rpc/pmap_prot.h: Likewise.
13954 * include/rpc/pmap_rmt.h: Likewise.
13955 * include/rpc/rpc_msg.h: Likewise.
13956 * include/rpc/svc.h: Likewise.
13957 * include/rpc/svc_auth.h: Likewise.
13958 * include/rpc/xdr.h: Likewise.
13959 * nis/Makefile: Link all DSOs against linkobj/libc.so.
13960 * nss/Makefile: Likewise.
13961 * sunrpc/Makefile: Don't install headers. Build library with normal
13962 entry points. Don't build rpcinfo. Link RPC tests appropriately.
13963 * sunrpc/auth_des.c: Hide exported symbols by default, export some
13964 for the compat linking library. Remove use of INTDEF/INTUSE.
13965 * sunrpc/auth_none.c: Likewise.
13966 * sunrpc/auth_unix.c: Likewise.
13967 * sunrpc/authdes_prot.c: Likewise.
13968 * sunrpc/authuxprot.c: Likewise.
13969 * sunrpc/clnt_gen.c: Likewise.
13970 * sunrpc/clnt_perr.c: Likewise.
13971 * sunrpc/clnt_raw.c: Likewise.
13972 * sunrpc/clnt_simp.c: Likewise.
13973 * sunrpc/clnt_tcp.c: Likewise.
13974 * sunrpc/clnt_udp.c: Likewise.
13975 * sunrpc/clnt_unix.c: Likewise.
13976 * sunrpc/des_crypt.c: Likewise.
13977 * sunrpc/des_soft.c: Likewise.
13978 * sunrpc/get_myaddr.c: Likewise.
13979 * sunrpc/key_call.c: Likewise.
13980 * sunrpc/key_prot.c: Likewise.
13981 * sunrpc/netname.c: Likewise.
13982 * sunrpc/pm_getmaps.c: Likewise.
13983 * sunrpc/pm_getport.c: Likewise.
13984 * sunrpc/pmap_clnt.c: Likewise.
13985 * sunrpc/pmap_prot.c: Likewise.
13986 * sunrpc/pmap_prot2.c: Likewise.
13987 * sunrpc/pmap_rmt.c: Likewise.
13988 * sunrpc/publickey.c: Likewise.
13989 * sunrpc/rpc_cmsg.c: Likewise.
13990 * sunrpc/rpc_common.c: Likewise.
13991 * sunrpc/rpc_dtable.c: Likewise.
13992 * sunrpc/rpc_prot.c: Likewise.
13993 * sunrpc/rpc_thread.c: Likewise.
13994 * sunrpc/rtime.c: Likewise.
13995 * sunrpc/svc.c: Likewise.
13996 * sunrpc/svc_auth.c: Likewise.
13997 * sunrpc/svc_authux.c: Likewise.
13998 * sunrpc/svc_raw.c: Likewise.
13999 * sunrpc/svc_run.c: Likewise.
14000 * sunrpc/svc_simple.c: Likewise.
14001 * sunrpc/svc_tcp.c: Likewise.
14002 * sunrpc/svc_udp.c: Likewise.
14003 * sunrpc/svc_unix.c: Likewise.
14004 * sunrpc/svcauth_des.c: Likewise.
14005 * sunrpc/xcrypt.c: Likewise.
14006 * sunrpc/xdr.c: Likewise.
14007 * sunrpc/xdr_array.c: Likewise.
14008 * sunrpc/xdr_float.c: Likewise.
14009 * sunrpc/xdr_intXX_t.c: Likewise.
14010 * sunrpc/xdr_mem.c: Likewise.
14011 * sunrpc/xdr_rec.c: Likewise.
14012 * sunrpc/xdr_ref.c: Likewise.
14013 * sunrpc/xdr_sizeof.c: Likewise.
14014 * sunrpc/xdr_stdio.c: Likewise.
14016 2011-04-10 Ulrich Drepper <drepper@gmail.com>
14019 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
14020 * sysdeps/ia64/dl-tls.h: Likewise.
14021 * sysdeps/powerpc/dl-tls.h: Likewise.
14022 * sysdeps/s390/dl-tls.h: Likewise.
14023 * sysdeps/sh/dl-tls.h: Likewise.
14024 * sysdeps/sparc/dl-tls.h: Likewise.
14025 * sysdeps/x86_64/dl-tls.h: Likewise.
14026 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
14028 2011-03-14 Andreas Schwab <schwab@redhat.com>
14030 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
14031 rpath element also skip the following colon.
14032 (expand_dynamic_string_token): Add is_path parameter and pass
14033 down to DL_DST_REQUIRED and _dl_dst_substitute.
14034 (decompose_rpath): Call expand_dynamic_string_token with
14035 non-zero is_path. Ignore empty rpaths.
14036 (_dl_map_object_from_fd): Call expand_dynamic_string_token
14039 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
14041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
14044 2011-04-09 Ulrich Drepper <drepper@gmail.com>
14047 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
14048 Patch by Filipe David Manana <fdmanana@apache.org>.
14050 2011-04-07 Andreas Schwab <schwab@redhat.com>
14052 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
14053 Maintain aligned stack.
14054 (CHECK_RSP): Remove unused macro.
14056 2011-04-03 Ulrich Drepper <drepper@gmail.com>
14058 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
14059 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
14061 2011-04-02 Ulrich Drepper <drepper@gmail.com>
14063 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
14065 * include/features.h: Mention __USE_XOPEN2K8 in comment.
14067 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
14070 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
14071 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
14072 * sysdeps/x86_64/memmove.c: New file.
14073 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
14074 (memcpy): Renamed to ...
14075 (__new_memcpy): This.
14076 (memcpy): Provide GLIBC_2_14 memcpy.
14077 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
14078 (memcpy): Provide GLIBC_2_2_5 memcpy.
14080 2011-04-01 Ulrich Drepper <drepper@gmail.com>
14083 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
14085 2011-03-30 Andreas Schwab <schwab@redhat.com>
14087 * misc/syncfs.c: New file.
14088 * misc/Makefile (routines): Add syncfs.
14089 * posix/unistd.h: Declare syncfs.
14090 * sysdeps/unix/syscalls.list: Add syncfs.
14092 2011-04-01 Andreas Schwab <schwab@redhat.com>
14094 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
14096 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14097 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14098 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14099 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14100 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14101 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
14102 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14104 2011-04-01 Ulrich Drepper <drepper@gmail.com>
14106 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
14107 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14108 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
14109 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14110 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14111 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14112 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14114 * io/Makefile: Compile fallocate.c, fallocate64.c, and
14115 sync_file_range.c with -fexceptions.
14116 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
14117 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
14118 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
14119 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
14120 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
14121 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
14122 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
14123 sync_file_range as cancellation point
14124 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
14125 now a wrapper around __call_sync_file_range with cancellation handling.
14126 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
14127 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
14128 function name to __call_sync_file_range.
14129 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
14130 Add call_sync_file_range.
14132 2011-04-01 Andreas Schwab <schwab@redhat.com>
14134 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14137 2011-04-01 Ulrich Drepper <drepper@gmail.com>
14139 * iconv/iconv.h: Fix typo in comment.
14140 * io/fcntl.h: Likewise.
14141 * libio/stdio.h: Likewise.
14142 * posix/spawn.h: Likewise.
14143 * posix/unistd.h: Likewise.
14144 * stdlib/stdlib.h: Likewise.
14145 * time/time.h: Likewise.
14146 * wcsmbs/wchar.h: Likewise.
14148 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
14149 open_by_handle): Add.
14150 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
14151 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
14152 Augment a few comments.
14153 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14154 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14155 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14156 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14157 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14158 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
14161 * io/fcntl.h (AT_EMPTY_PATH): Define.
14163 2011-03-30 Ulrich Drepper <drepper@gmail.com>
14165 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
14166 * sysdeps/unix/sysv/linux/bits/time.h: New file.
14167 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
14169 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
14170 * Versions.def: Add GLIBC_2.14.
14171 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
14174 2011-03-22 Ulrich Drepper <drepper@gmail.com>
14176 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
14178 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14180 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
14183 * string/test-strncmp.c (do_page_test): New function.
14184 (check2): Likewise.
14185 (test_main): Call check2.
14186 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
14188 2011-03-20 Ulrich Drepper <drepper@gmail.com>
14191 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
14192 Handle cache information in CPU leaf 4.
14193 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14195 2011-03-18 Ulrich Drepper <drepper@gmail.com>
14198 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
14199 character representation.
14200 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
14202 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
14204 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
14205 END(__isnan) to END(__isnanf) to match function entry point/label
14206 EALIGN(__isnanf,...).
14208 2011-03-10 Jakub Jelinek <jakub@redhat.com>
14210 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
14212 2011-03-10 Ulrich Drepper <drepper@gmail.com>
14215 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
14216 copy from the symbol referenced in the relocation to initialize the
14218 Patch by Piotr Bury <pbury@goahead.com>.
14219 * elf/Makefile: Add rules to build and tst-unique3.
14220 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
14221 * elf/tst-unique3.cc: New file.
14222 * elf/tst-unique3.h: New file.
14223 * elf/tst-unique3lib.cc: New file.
14224 * elf/tst-unique3lib2.cc: New file.
14226 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
14228 2011-03-10 Mike Frysinger <vapier@gentoo.org>
14230 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
14231 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
14234 2011-03-06 Ulrich Drepper <drepper@gmail.com>
14236 * elf/dl-load.c (_dl_map_object): If we are looking for the first
14237 to-be-loaded object along a path to loader is ld.so.
14239 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14240 Ulrich Drepper <drepper@gmail.com>
14242 * sysdeps/x86_64/memset.S: After aligning destination, code
14243 branches to different locations depending on the value of
14244 misalignment, when multiarch is enabled. Fix this.
14246 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14248 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
14249 Set _x86_64_preferred_memory_instruction for AMD processsors.
14250 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14251 Set bit_Prefer_SSE_for_memop for AMD processors.
14253 2011-03-04 Ulrich Drepper <drepper@gmail.com>
14255 * libio/fmemopen.c (fmemopen): Optimize a bit.
14257 2011-03-03 Andreas Schwab <schwab@redhat.com>
14259 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
14261 2011-03-03 Roland McGrath <roland@redhat.com>
14263 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
14265 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
14267 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
14268 __bzero_ultra1 instead of __memset_ultra1.
14270 2011-02-23 Andreas Schwab <schwab@redhat.com>
14271 Ulrich Drepper <drepper@gmail.com>
14274 * include/link.h (struct link_map): Add l_orig_initfini.
14275 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
14276 returning unsuccessfully.
14277 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
14278 close of a file loaded at startup, restore the original l_initfini
14280 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
14281 list, store the pointer.
14282 * elf/Makefile ($(objpfx)noload-mem): New rule.
14283 (noload-ENV): Define.
14284 (tests): Add $(objpfx)noload-mem.
14285 * elf/noload.c: Include <memcheck.h>.
14286 (main): Call mtrace. Close all opened handles.
14288 2011-02-17 Andreas Schwab <schwab@redhat.com>
14291 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
14292 dependencies are missing.
14294 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
14296 Fix __if_freereq crash: Unlike the generic version which uses free,
14298 * sysdeps/mach/hurd/ifreq.h: New file.
14300 2011-01-27 Petr Baudis <pasky@suse.cz>
14301 Ulrich Drepper <drepper@gmail.com>
14304 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
14305 to extend_alloca().
14306 * stdio-common/bug23.c: New file.
14307 * stdio-common/Makefile (tests): Add bug23.
14309 2010-09-28 Andreas Schwab <schwab@redhat.com>
14310 Ulrich Drepper <drepper@gmail.com>
14313 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
14314 before performing relro protection. At old place add assertion
14315 to make sure nothing changed.
14317 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
14318 Glauber de Oliveira Costa <glommer@gmail.com>
14320 * elf/elf.h: Add new ARM TLS relocs.
14322 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
14324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14325 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
14327 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
14329 * sysdeps/wordsize-64/tst-writev.c: New file.
14331 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
14333 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
14334 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
14335 insns in _dl_start to prevent a TOC reference before relocs are
14338 2011-02-15 Ulrich Drepper <drepper@gmail.com>
14341 * Makeconfig: Remove RANLIB definition.
14342 * Makerules: Don't use RANLIB.
14343 * aclocal.m4: Remove ranlib test.
14344 * configure.in: No need to check for ranlib.
14345 * elf/rtld-Rules: Don't use RANLIB.
14347 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14349 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
14351 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
14352 inclusion protection macro.
14354 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
14355 SIGRTMIN and SIGRTMAX and print information in that case only when
14356 SIGRTMIN is defined.
14358 2011-02-11 Jakub Jelinek <jakub@redhat.com>
14360 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
14361 arginfo fn returning -1.
14363 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
14364 and thousands string is zero terminated.
14366 2011-02-03 Andreas Schwab <schwab@redhat.com>
14368 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
14369 sysdeps/unix/sysv/linux/bits/socket.h.
14371 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
14373 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
14374 (__CPU_COUNT): Remove old macros.
14375 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
14376 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
14377 (__CPU_ALLOC, __CPU_FREE): Add macros.
14378 (__sched_cpualloc, __sched_cpufree): Add declarations.
14380 2011-02-05 Ulrich Drepper <drepper@gmail.com>
14382 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
14383 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
14384 * nscd/aicache.c (addhstaiX): Return timeout of added value.
14385 (readdhstai): Return value of addhstaiX call.
14386 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
14387 (addgrbyX): Return value returned by cache_addgr.
14388 (readdgrbyname): Return value returned by addgrbyX.
14389 (readdgrbygid): Likewise.
14390 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
14391 (addpwbyX): Return value returned by cache_addpw.
14392 (readdpwbyname): Return value returned by addhstbyX.
14393 (readdpwbyuid): Likewise.
14394 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
14395 (addservbyX): Return value returned by cache_addserv.
14396 (readdservbyname): Return value returned by addservbyX:
14397 (readdservbyport): Likewise.
14398 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
14399 (addhstbyX): Return value returned by cache_addhst.
14400 (readdhstbyname): Return value returned by addhstbyX.
14401 (readdhstbyaddr): Likewise.
14402 (readdhstbynamev6): Likewise.
14403 (readdhstbyaddrv6): Likewise.
14404 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
14405 (readdinitgroups): Return value returned by addinitgroupsX.
14406 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
14407 (prune_cache): Keep track of timeout value of re-added entries.
14408 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
14409 * nscd/nscd.h: Adjust prototypes of readd* functions.
14411 2011-02-04 Roland McGrath <roland@redhat.com>
14413 * nis/nis_server.c (nis_servstate): Use the right name for 0.
14414 (nis_stats): Likewise.
14415 * nis/nis_modify.c (nis_modify): Likewise.
14416 * nis/nis_remove.c (nis_remove): Likewise.
14417 * nis/nis_add.c (nis_add): Likewise.
14419 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
14421 * posix/fnmatch_loop.c: Add some consts.
14423 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
14425 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
14428 * config.make.in (config-cflags-novzeroupper): Define.
14429 * configure.in: Substitute libc_cv_cc_novzeroupper.
14430 * elf/Makefile (AVX-CFLAGS): Define.
14431 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
14432 (CFLAGS-tst-auditmod4a.c): Likewise.
14433 (CFLAGS-tst-auditmod4b.c): Likewise.
14434 (CFLAGS-tst-auditmod6b.c): Likewise.
14435 (CFLAGS-tst-auditmod6c.c): Likewise.
14436 (CFLAGS-tst-auditmod7b.c): Likewise.
14437 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
14439 2011-02-02 Ulrich Drepper <drepper@gmail.com>
14441 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
14442 function to the callback.
14443 Patch partly by Jiri Olsa <jolsa@redhat.com>.
14445 2011-02-02 Andreas Schwab <schwab@redhat.com>
14447 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
14450 2011-01-19 Ulrich Drepper <drepper@gmail.com>
14453 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
14455 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
14457 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
14460 * elf/Makefile: Add rules to build and run new test.
14461 * elf/tst-initorder.c: New file.
14462 * elf/tst-initorder.exp: New file.
14463 * elf/tst-initordera1.c: New file.
14464 * elf/tst-initordera2.c: New file.
14465 * elf/tst-initordera3.c: New file.
14466 * elf/tst-initordera4.c: New file.
14467 * elf/tst-initorderb1.c: New file.
14468 * elf/tst-initorderb2.c: New file.
14469 * elf/tst-order-a1.c: New file.
14470 * elf/tst-order-a2.c: New file.
14471 * elf/tst-order-a3.c: New file.
14472 * elf/tst-order-a4.c: New file.
14473 * elf/tst-order-b1.c: New file.
14474 * elf/tst-order-b2.c: New file.
14475 * elf/tst-order-main.c: New file.
14476 New test case by George Gensure <werkt0@gmail.com>.
14478 2010-10-01 Andreas Schwab <schwab@redhat.com>
14480 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14481 decoding ACE if AI_CANONIDN.
14483 2011-01-18 Ulrich Drepper <drepper@gmail.com>
14485 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
14487 2011-01-17 Ulrich Drepper <drepper@gmail.com>
14489 * version.h (RELEASE): Bump for 2.13 release.
14490 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
14492 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
14494 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
14496 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
14497 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
14498 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
14499 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
14500 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
14501 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
14503 * posix/getconf.c: Update copyright year.
14504 * catgets/gencat.c: Likewise.
14505 * csu/version.c: Likewise.
14506 * debug/catchsegv.sh: Likewise.
14507 * debug/xtrace.sh: Likewise.
14508 * elf/ldconfig.c: Likewise.
14509 * elf/ldd.bash.in: Likewise.
14510 * elf/sprof.c (print_version): Likewise.
14511 * iconv/iconv_prog.c: Likewise.
14512 * iconv/iconvconfig.c: Likewise.
14513 * locale/programs/locale.c: Likewise.
14514 * locale/programs/localedef.c: Likewise.
14515 * malloc/memusage.sh: Likewise.
14516 * malloc/mtrace.pl: Likewise.
14517 * nscd/nscd.c (print_version): Likewise.
14518 * nss/getent.c: Likewise.
14520 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
14521 PF_CAIF, and PF_ALG.
14522 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14524 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
14526 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
14527 (modules-names): Use them.
14528 (ifunc-test-modules, ifunc-pie-tests): Define.
14529 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
14530 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
14531 (test-extras): Likewise.
14532 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
14533 $(compile-command.c).
14534 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
14535 (all-built-dso): Define.
14536 (check-textrel.out, check-execstack.out): Depend on it.
14538 * configure.in: Don't override --enable-multi-arch.
14540 2011-01-15 Ulrich Drepper <drepper@gmail.com>
14543 * nscd/hstcache.c (tryagain): Define.
14544 (cache_addhst): Return tryagain not notfound for temporary errors.
14545 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
14548 2011-01-14 Ulrich Drepper <drepper@gmail.com>
14551 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
14552 to make the syscall.
14553 * sysdeps/unix/sysv/linux/setgroups.c: New file.
14556 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
14557 and fall back to matching as normal character if the string ends before
14558 the matching ']' is found. This is what POSIX requires.
14559 * posix/testfnm.c: Adjust test result.
14560 * posix/globtest.sh: Adjust test result. Add new test.
14561 * posix/tst-fnmatch.input: Likewise.
14562 * posix/tst-fnmatch2.c: Add new test.
14564 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
14566 * elf/Makefile (check-execstack): Revert last change. Depend on
14568 (check-execstack.h): New target.
14569 (generated): Add check-execstack.h.
14570 * elf/check-execstack.c: Include "check-execstack.h".
14571 (main): Revert last change.
14572 (handle_file): Return zero if GNU_STACK is absent and
14573 DEFAULT_STACK_PERMS doesn't include PF_X.
14575 2011-01-13 Ulrich Drepper <drepper@gmail.com>
14577 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
14578 in child fails because the descriptor is already closed.
14579 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
14580 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
14581 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
14584 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
14588 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
14589 temporary buffer used to handle multi lookups locally.
14590 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
14592 2011-01-12 Ulrich Drepper <drepper@gmail.com>
14594 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
14597 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
14599 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
14600 alignment for SSE2.
14602 2011-01-12 Ulrich Drepper <drepper@gmail.com>
14605 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
14606 characters. When rounding increased number of integer digits recompute
14608 * stdio-common/tst-grouping.c: New file.
14609 * stdio-common/Makefile: Add rules to build and run tst-grouping.
14611 2011-01-09 Ulrich Drepper <drepper@gmail.com>
14613 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
14614 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
14616 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
14618 * bits/select.h: Likewise.
14620 2011-01-08 Ulrich Drepper <drepper@gmail.com>
14622 * po/ja.po: Update from translation team.
14624 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
14627 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
14628 implementation just like for lxstat, fxstatat, et al.
14630 2010-12-27 Jim Meyering <meyering@redhat.com>
14633 * posix/regexec.c (build_trtable): Return failure indication upon
14634 calloc failure. Otherwise, re_search_internal could infloop on OOM.
14636 2010-12-25 Ulrich Drepper <drepper@gmail.com>
14639 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
14640 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
14641 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
14642 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
14645 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
14648 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
14649 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
14651 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
14653 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
14654 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
14655 script has SORT_BY_INIT_PRIORITY.
14656 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
14657 NO_CTORS_DTORS_SECTIONS is defined.
14658 * elf/soinit.c: Likewise.
14659 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
14660 NO_CTORS_DTORS_SECTIONS is defined.
14661 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
14662 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
14663 * sysdeps/sh/init-first.c: Likewise.
14664 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
14666 2010-12-24 Ulrich Drepper <drepper@gmail.com>
14668 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
14669 always use the slow path.
14671 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
14673 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
14674 similar rule which adds the sysdep directories to the header search in
14675 order to pick up the correct platform stackinfo.h.
14676 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
14677 perform test if it is, otherwise return successfully without testing.
14678 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
14679 DEFAULT_STACK_PERMS define in stackinfo.h.
14680 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
14681 defined in stackinfo.h.
14682 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
14683 DEFAULT_STACK_PERMS defined in stackinfo.h.
14684 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
14685 * sysdeps/ia64/stackinfo.h: Likewise.
14686 * sysdeps/s390/stackinfo.h: Likewise.
14687 * sysdeps/sh/stackinfo.h: Likewise.
14688 * sysdeps/sparc/stackinfo.h: Likewise.
14689 * sysdeps/x86_64/stackinfo.h: Likewise.
14690 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
14691 PF_X for powerpc64. Retain PF_X for powerpc32.
14693 2010-12-19 Ulrich Drepper <drepper@gmail.com>
14695 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
14697 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
14698 GETDENTS_64BIT_ALIGNED.
14700 2010-12-14 Ulrich Drepper <dreper@gmail.com>
14702 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
14704 2010-12-10 Andreas Schwab <schwab@redhat.com>
14706 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
14709 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
14710 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
14712 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
14713 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
14715 2010-12-09 Ulrich Drepper <drepper@gmail.com>
14718 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
14721 2010-12-09 Jakub Jelinek <jakub@redhat.com>
14723 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
14725 2010-12-03 Ulrich Drepper <drepper@gmail.com>
14727 * po/it.po: Update from translation team.
14729 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
14731 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
14734 2010-11-30 Ulrich Drepper <drepper@gmail.com>
14736 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
14738 2010-11-24 Andreas Schwab <schwab@redhat.com>
14740 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
14742 (gaih_getanswer_slice): Likewise.
14744 2010-10-20 Jakub Jelinek <jakub@redhat.com>
14746 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
14748 2010-05-31 Petr Baudis <pasky@suse.cz>
14751 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
14752 silently even in the chroot mode.
14754 2010-11-22 Ulrich Drepper <drepper@gmail.com>
14756 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
14757 last patch a bit. Pretty printing
14759 2010-05-31 Petr Baudis <pasky@suse.cz>
14762 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
14763 initialization of skip_initgroups_dyn.
14765 2010-11-19 Ulrich Drepper <drepper@gmail.com>
14767 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
14768 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
14770 2010-11-16 Ulrich Drepper <drepper@gmail.com>
14772 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
14774 2010-11-11 Andreas Schwab <schwab@redhat.com>
14776 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
14777 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
14778 (tst-fnmatch-ENV): Set MALLOC_TRACE.
14779 ($(objpfx)tst-fnmatch-mem): New rule.
14780 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
14781 * posix/tst-fnmatch.c (main): Call mtrace.
14783 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
14785 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14786 Support Intel processor model 6 and model 0x2c.
14788 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
14790 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
14793 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
14796 * string/test-strncasecmp.c (check_result): New function.
14797 (do_one_test): Use it.
14798 (check1): New function.
14799 (test_main): Use it.
14800 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
14801 Support strcasecmp and strncasecmp.
14803 2010-11-08 Ulrich Drepper <drepper@gmail.com>
14806 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
14807 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14809 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
14811 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
14813 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14815 * sysdeps/x86_64/multiarch/bzero.S: New file.
14816 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
14817 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
14818 * sysdeps/x86_64/multiarch/memset.S: New file.
14819 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
14820 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14821 Set bit_Prefer_SSE_for_memop for Intel processors.
14822 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
14824 (index_Prefer_SSE_for_memop): Define.
14825 (HAS_PREFER_SSE_FOR_MEMOP): Define.
14827 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
14829 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
14830 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
14832 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
14835 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
14836 (__x86_64_raw_data_cache_size_half): Likewise.
14837 (__x86_64_raw_shared_cache_size): Likewise.
14838 (__x86_64_raw_shared_cache_size_half): Likewise.
14840 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
14841 (__x86_64_raw_data_cache_size_half): Likewise.
14842 (__x86_64_raw_shared_cache_size): Likewise.
14843 (__x86_64_raw_shared_cache_size_half): Likewise.
14844 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
14845 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
14846 and __x86_64_raw_shared_cache_size_half. Round
14847 __x86_64_data_cache_size_half, __x86_64_data_cache_size
14848 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
14849 to multiple of 256 bytes.
14851 2010-11-03 Ulrich Drepper <drepper@gmail.com>
14854 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
14855 of inacessible symlinks. Verify result of symlink before returning it.
14856 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
14857 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
14859 2010-10-28 Erich Ritz <erichritz@gmail.com>
14861 * math/math.h (isinf): Fix typo in comment.
14863 2010-11-01 Ulrich Drepper <drepper@gmail.com>
14865 * po/da.po: Update from translation team.
14867 2010-10-26 Ulrich Drepper <drepper@gmail.com>
14869 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
14870 is added to the list.
14872 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14873 Ulrich Drepper <drepper@gmail.com>
14875 * elf/dl-object.c (_dl_new_object): Don't append the new object to
14876 the global list here. Move code to...
14877 (_dl_add_to_namespace_list): ...here. New function.
14878 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
14879 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
14880 * elf/dl-load.c (lose): Don't remove the element from the list.
14881 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
14882 (_dl_map_object): Likewise.
14884 2010-10-25 Ulrich Drepper <drepper@gmail.com>
14887 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
14888 into all bytes of SSE register.
14889 Patch by Richard Li <richardpku@gmail.com>.
14891 2010-10-24 Ulrich Drepper <drepper@gmail.com>
14894 * malloc/malloc.c (_int_free): Fill correct number of bytes when
14897 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
14899 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
14900 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
14901 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
14902 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
14903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
14905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
14907 2010-10-22 Andreas Schwab <schwab@redhat.com>
14909 * include/dlfcn.h (__RTLD_SECURE): Define.
14910 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
14911 mode & __RTLD_SECURE instead.
14912 (open_path): Rename preloaded parameter to secure.
14913 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
14914 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
14915 * elf/dl-deps.c (openaux): Likewise.
14916 * elf/rtld.c (struct map_args): Remove is_preloaded.
14917 (map_doit): Don't use it.
14918 (dl_main): Likewise.
14919 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
14920 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
14922 2010-09-09 Andreas Schwab <schwab@redhat.com>
14924 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
14925 (sysd-rules-targets): Remove duplicates.
14926 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
14927 rtld-%.$o dependency.
14929 2010-10-18 Andreas Schwab <schwab@redhat.com>
14931 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
14932 _dl_map_object do it.
14934 2010-10-19 Ulrich Drepper <drepper@gmail.com>
14936 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
14937 fast fma builtins, define the macros in the C99 standard.
14938 (FP_FAST_FMAF): Likewise.
14939 (FP_FAST_FMAL): Likewise.
14940 * sysdeps/x86_64/bits/mathdef.h: Likewise.
14942 * bits/mathdef.h: Update copyright year.
14943 * sysdeps/powerpc/bits/mathdef.h: Likewise.
14945 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
14947 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
14948 builtins, define the macros in the C99 standard.
14949 (FP_FAST_FMAF): Likewise.
14950 (FP_FAST_FMAL): Likewise.
14951 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
14953 (FP_FAST_FMAF): Likewise.
14955 2010-10-15 Jakub Jelinek <jakub@redhat.com>
14958 * math/libm-test.inc (fma_test): Some new testcases.
14959 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
14960 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
14961 y and infinite z. Do multiplication by C already in long double.
14962 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
14963 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
14964 y and infinite z. Do bitwise or of inexact bit into u.d.
14965 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
14966 * sysdeps/i386/fpu/s_fmaf.S: Removed.
14967 * sysdeps/i386/fpu/s_fma.S: Removed.
14968 * sysdeps/i386/fpu/s_fmal.S: Removed.
14970 2010-10-16 Jakub Jelinek <jakub@redhat.com>
14973 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
14974 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
14975 computation is not scheduled after fetestexcept. Fix value
14976 of minimum denormal long double.
14978 2010-10-14 Jakub Jelinek <jakub@redhat.com>
14981 * math/libm-test.inc (fma_test): Add some more tests.
14982 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
14985 2010-10-15 Andreas Schwab <schwab@redhat.com>
14987 * scripts/data/localplt-s390-linux-gnu.data: New file.
14988 * scripts/data/localplt-s390x-linux-gnu.data: New file.
14990 2010-10-13 Jakub Jelinek <jakub@redhat.com>
14993 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
14994 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
14996 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
14998 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
14999 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
15000 if one of x and y is very large and the other is subnormal.
15001 * sysdeps/s390/fpu/s_fmaf.c: New file.
15002 * sysdeps/s390/fpu/s_fma.c: New file.
15003 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
15004 * sysdeps/powerpc/fpu/s_fma.S: New file.
15005 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
15006 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
15007 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
15009 2010-10-12 Jakub Jelinek <jakub@redhat.com>
15012 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
15014 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
15015 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
15016 * sysdeps/i386/i686/multiarch/s_fma.c: Include
15017 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
15018 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
15019 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
15020 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
15022 2010-10-12 Ulrich Drepper <drepper@redhat.com>
15025 * posix/regcomp.c (parse_branch): One more memory leak plugged.
15026 * posix/bug-regex31.input: Add test case.
15028 2010-10-11 Ulrich Drepper <drepper@gmail.com>
15030 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
15031 * posix/bug-regex31.input: New file.
15034 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
15035 (parse_sub_exp): Fix last change, use postorder.
15037 * posix/bug-regex31.c: New file.
15038 * posix/Makefile: Add rules to build and run bug-regex31.
15040 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
15043 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
15046 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
15047 to have entries in sys_siglist.
15050 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
15053 2010-10-07 Jakub Jelinek <jakub@redhat.com>
15056 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
15057 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
15058 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
15059 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
15060 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
15061 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
15062 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
15063 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
15064 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
15065 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
15066 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
15067 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
15068 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
15069 * math/ftestexcept.c (fetestexcept): Likewise.
15070 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
15071 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
15072 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
15073 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
15074 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
15075 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
15076 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15078 2010-10-11 Ulrich Drepper <drepper@gmail.com>
15081 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
15084 2010-10-06 Ulrich Drepper <drepper@gmail.com>
15086 * string/bug-strstr1.c: New file.
15087 * string/Makefile: Add rules to build and run bug-strstr1.
15089 2010-10-05 Eric Blake <eblake@redhat.com>
15092 * string/str-two-way.h (two_way_long_needle): Always clear memory
15093 when skipping input due to the shift table.
15095 2010-10-03 Ulrich Drepper <drepper@gmail.com>
15098 * malloc/mcheck.c: Handle large requests.
15101 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
15102 for strncmp and strncasecmp.
15103 * string/stratcliff.c: Add tests for strcmp and strncmp.
15104 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
15106 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15108 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
15111 2010-09-30 Andreas Jaeger <aj@suse.de>
15113 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
15114 (CGROUP_SUPER_MAGIC): Define.
15115 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15116 Handle btrfs and cgroup file systems.
15117 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
15120 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
15122 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
15123 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
15125 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15128 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
15129 trying to locate the ELF header.
15131 2010-09-27 Andreas Schwab <schwab@redhat.com>
15134 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
15135 Mask out sign-bit copies when constructing f_fsid.
15137 2010-09-24 Petr Baudis <pasky@suse.cz>
15139 * debug/stack_chk_fail_local.c: Add missing licence exception.
15140 * debug/warning-nop.c: Likewise.
15142 2010-09-15 Joseph Myers <joseph@codesourcery.com>
15144 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
15145 implementing getdents64 using getdents syscall, set d_type if
15146 __ASSUME_GETDENTS32_D_TYPE.
15148 2010-09-16 Andreas Schwab <schwab@redhat.com>
15150 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
15151 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
15153 2010-09-21 Ulrich Drepper <drepper@redhat.com>
15156 * posix/unistd.h: Undo change of feature selection for ftruncate from
15159 2010-09-20 Ulrich Drepper <drepper@redhat.com>
15161 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
15164 2010-09-20 Andreas Schwab <schwab@redhat.com>
15166 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
15168 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15170 2010-09-14 Andreas Schwab <schwab@redhat.com>
15172 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
15173 variables after CHECK_SP call.
15174 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
15176 2010-09-13 Andreas Schwab <schwab@redhat.com>
15177 Ulrich Drepper <drepper@redhat.com>
15179 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
15180 re-relocationg ld.so.
15181 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
15182 _dl_init_paths call.
15183 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
15186 2010-09-14 Ulrich Drepper <drepper@redhat.com>
15188 * resolv/res_init.c (__res_vinit): Count the default server we added.
15190 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
15191 Ulrich Drepper <drepper@redhat.com>
15194 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15195 (____longjmp_chk): Use %ebx for saving value across system call.
15198 2010-09-06 Andreas Schwab <schwab@redhat.com>
15200 * manual/Makefile: Don't mix pattern rules with normal rules.
15202 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
15204 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
15206 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
15207 * libio/iofopncook.c (_IO_cookie_init): Likewise.
15208 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
15209 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
15210 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15213 2010-09-04 Ulrich Drepper <drepper@redhat.com>
15216 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
15217 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
15219 2010-09-02 Ulrich Drepper <drepper@redhat.com>
15221 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
15222 * sysdeps/x86_64/addmul_1.S: Likewise.
15223 * sysdeps/x86_64/lshift.S: Likewise.
15224 * sysdeps/x86_64/mul_1.S: Likewise.
15225 * sysdeps/x86_64/rshift.S: Likewise.
15226 * sysdeps/x86_64/sub_n.S: Likewise.
15227 * sysdeps/x86_64/submul_1.S: Likewise.
15229 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
15231 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
15232 Define __sched_param instead of SCHED_* and sched_param when
15233 <bits/sched.h> is included with __need_schedparam defined.
15234 * bits/sched.h [__need_schedparam]
15235 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
15236 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
15237 (__defined_schedparam): Define to 1.
15238 (__sched_param): New structure, identical to sched_param.
15239 (__need_schedparam): Undefine.
15241 2010-08-31 Mike Frysinger <vapier@gentoo.org>
15243 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
15244 (epoll_create1): Declare.
15246 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
15248 2010-08-31 Andreas Schwab <schwab@redhat.com>
15251 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
15252 shifting retval into place.
15254 2010-09-01 Ulrich Drepper <drepper@redhat.com>
15256 * nis/rpcsvc/nis.h: Update copyright notice.
15257 * nis/rpcsvc/nis.x: Likewise.
15258 * nis/rpcsvc/nis_callback.h: Likewise.
15259 * nis/rpcsvc/nis_callback.x: Likewise.
15260 * nis/rpcsvc/nis_object.x: Likewise.
15261 * nis/rpcsvc/nis_tags.h: Likewise.
15262 * nis/rpcsvc/yp.h: Likewise.
15263 * nis/rpcsvc/yp.x: Likewise.
15264 * nis/rpcsvc/ypupd.h: Likewise.
15265 * nis/yp_xdr.c: Likewise.
15266 * nis/ypupdate_xdr.c: Likewise.
15268 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
15269 mainly the body of pmap_getport. Add parameters to specify timeouts.
15270 (pmap_getport): Use __libc_rpc_getport.
15271 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
15272 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
15273 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
15275 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
15277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
15280 2010-08-27 Roland McGrath <roland@redhat.com>
15282 * sysdeps/i386/i686/multiarch/Makefile
15283 (CFLAGS-varshift.c): New variable.
15285 2010-08-27 Ulrich Drepper <drepper@redhat.com>
15287 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
15288 * sysdeps/i386/i686/multiarch/varshift.c: New file.
15290 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
15292 * sysdeps/x86_64/strlen.S: Minimal code improvement.
15294 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
15296 * sysdeps/x86_64/strlen.S: Unroll the loop.
15297 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15298 strlen-sse2 strlen-sse2-bsf.
15299 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
15300 __strlen_no_bsf if bit_Slow_BSF is set.
15301 (__strlen_sse42): Removed.
15302 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
15303 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
15305 2010-08-25 Roland McGrath <roland@redhat.com>
15307 * sysdeps/x86_64/multiarch/varshift.S: File removed.
15308 * sysdeps/x86_64/multiarch/varshift.c: New file.
15309 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
15310 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
15311 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
15312 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15314 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
15316 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15317 strlen-sse2 strlen-sse2-bsf.
15318 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
15319 __strlen_sse2_bsf if bit_Slow_BSF is unset.
15320 (__strlen_sse2): Removed.
15321 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
15322 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
15323 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
15324 bit_Slow_BSF for Atom.
15325 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
15326 (index_Slow_BSF): Define.
15327 (HAS_SLOW_BSF): Define.
15329 2010-08-25 Ulrich Drepper <drepper@redhat.com>
15332 * resolv/res_init.c (__res_vinit): When no server address at all
15333 is given default to loopback.
15335 2010-08-24 Roland McGrath <roland@redhat.com>
15337 * configure.in: Remove config-name.h generation.
15338 * configure: Regenerated.
15339 * config-name.in: File removed.
15340 * scripts/config-uname.sh: New file.
15341 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
15342 ($(objdir)config-name.h): New target.
15344 * sunrpc/rpc_parse.h: Avoid nested comment.
15346 2010-08-24 Richard Henderson <rth@redhat.com>
15347 Ulrich Drepper <drepper@redhat.com>
15348 H.J. Lu <hongjiu.lu@intel.com>
15350 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
15351 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
15352 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
15353 Replace _mm_srli_si128 with __m128i_shift_right. Replace
15354 _mm_alignr_epi8 with _mm_loadu_si128.
15355 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
15356 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
15357 (__m128i_shift_right): Removed.
15358 * sysdeps/i386/i686/multiarch/varshift.h: New file.
15359 * sysdeps/i386/i686/multiarch/varshift.S: New file.
15360 * sysdeps/x86_64/multiarch/varshift.h: New file.
15361 * sysdeps/x86_64/multiarch/varshift.S: New file.
15363 2010-08-21 Mike Frysinger <vapier@gentoo.org>
15365 * configure.in: Move assembler checks to before sysdep dir checking.
15367 2010-08-20 Petr Baudis <pasky@suse.cz>
15369 * LICENSES: Sync the sunrpc license.
15371 2010-08-19 Ulrich Drepper <drepper@redhat.com>
15373 * sunrpc/auth_des.c: Update copyright notice once again.
15374 * sunrpc/auth_none.c: Likewise.
15375 * sunrpc/auth_unix.c: Likewise.
15376 * sunrpc/authdes_prot.c: Likewise.
15377 * sunrpc/authuxprot.c: Likewise.
15378 * sunrpc/bindrsvprt.c: Likewise.
15379 * sunrpc/clnt_gen.c: Likewise.
15380 * sunrpc/clnt_perr.c: Likewise.
15381 * sunrpc/clnt_raw.c: Likewise.
15382 * sunrpc/clnt_simp.c: Likewise.
15383 * sunrpc/clnt_tcp.c: Likewise.
15384 * sunrpc/clnt_udp.c: Likewise.
15385 * sunrpc/clnt_unix.c: Likewise.
15386 * sunrpc/des_crypt.c: Likewise.
15387 * sunrpc/des_soft.c: Likewise.
15388 * sunrpc/get_myaddr.c: Likewise.
15389 * sunrpc/getrpcport.c: Likewise.
15390 * sunrpc/key_call.c: Likewise.
15391 * sunrpc/key_prot.c: Likewise.
15392 * sunrpc/openchild.c: Likewise.
15393 * sunrpc/pm_getmaps.c: Likewise.
15394 * sunrpc/pm_getport.c: Likewise.
15395 * sunrpc/pmap_clnt.c: Likewise.
15396 * sunrpc/pmap_prot.c: Likewise.
15397 * sunrpc/pmap_prot2.c: Likewise.
15398 * sunrpc/pmap_rmt.c: Likewise.
15399 * sunrpc/rpc/auth.h: Likewise.
15400 * sunrpc/rpc/auth_unix.h: Likewise.
15401 * sunrpc/rpc/clnt.h: Likewise.
15402 * sunrpc/rpc/des_crypt.h: Likewise.
15403 * sunrpc/rpc/key_prot.h: Likewise.
15404 * sunrpc/rpc/netdb.h: Likewise.
15405 * sunrpc/rpc/pmap_clnt.h: Likewise.
15406 * sunrpc/rpc/pmap_prot.h: Likewise.
15407 * sunrpc/rpc/pmap_rmt.h: Likewise.
15408 * sunrpc/rpc/rpc.h: Likewise.
15409 * sunrpc/rpc/rpc_des.h: Likewise.
15410 * sunrpc/rpc/rpc_msg.h: Likewise.
15411 * sunrpc/rpc/svc.h: Likewise.
15412 * sunrpc/rpc/svc_auth.h: Likewise.
15413 * sunrpc/rpc/types.h: Likewise.
15414 * sunrpc/rpc/xdr.h: Likewise.
15415 * sunrpc/rpc_clntout.c: Likewise.
15416 * sunrpc/rpc_cmsg.c: Likewise.
15417 * sunrpc/rpc_common.c: Likewise.
15418 * sunrpc/rpc_cout.c: Likewise.
15419 * sunrpc/rpc_dtable.c: Likewise.
15420 * sunrpc/rpc_hout.c: Likewise.
15421 * sunrpc/rpc_main.c: Likewise.
15422 * sunrpc/rpc_parse.c: Likewise.
15423 * sunrpc/rpc_parse.h: Likewise.
15424 * sunrpc/rpc_prot.c: Likewise.
15425 * sunrpc/rpc_sample.c: Likewise.
15426 * sunrpc/rpc_scan.c: Likewise.
15427 * sunrpc/rpc_scan.h: Likewise.
15428 * sunrpc/rpc_svcout.c: Likewise.
15429 * sunrpc/rpc_tblout.c: Likewise.
15430 * sunrpc/rpc_util.c: Likewise.
15431 * sunrpc/rpc_util.h: Likewise.
15432 * sunrpc/rpcinfo.c: Likewise.
15433 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
15434 * sunrpc/rpcsvc/key_prot.x: Likewise.
15435 * sunrpc/rpcsvc/klm_prot.x: Likewise.
15436 * sunrpc/rpcsvc/mount.x: Likewise.
15437 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
15438 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
15439 * sunrpc/rpcsvc/rex.x: Likewise.
15440 * sunrpc/rpcsvc/rstat.x: Likewise.
15441 * sunrpc/rpcsvc/rusers.x: Likewise.
15442 * sunrpc/rpcsvc/sm_inter.x: Likewise.
15443 * sunrpc/rpcsvc/spray.x: Likewise.
15444 * sunrpc/rpcsvc/yppasswd.x: Likewise.
15445 * sunrpc/rtime.c: Likewise.
15446 * sunrpc/svc.c: Likewise.
15447 * sunrpc/svc_auth.c: Likewise.
15448 * sunrpc/svc_authux.c: Likewise.
15449 * sunrpc/svc_raw.c: Likewise.
15450 * sunrpc/svc_run.c: Likewise.
15451 * sunrpc/svc_simple.c: Likewise.
15452 * sunrpc/svc_tcp.c: Likewise.
15453 * sunrpc/svc_udp.c: Likewise.
15454 * sunrpc/svc_unix.c: Likewise.
15455 * sunrpc/svcauth_des.c: Likewise.
15456 * sunrpc/xcrypt.c: Likewise.
15457 * sunrpc/xdr.c: Likewise.
15458 * sunrpc/xdr_array.c: Likewise.
15459 * sunrpc/xdr_float.c: Likewise.
15460 * sunrpc/xdr_mem.c: Likewise.
15461 * sunrpc/xdr_rec.c: Likewise.
15462 * sunrpc/xdr_ref.c: Likewise.
15463 * sunrpc/xdr_sizeof.c: Likewise.
15464 * sunrpc/xdr_stdio.c: Likewise.
15466 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
15469 2010-08-19 Andreas Schwab <schwab@redhat.com>
15471 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
15473 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
15475 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
15476 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
15477 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
15478 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
15479 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
15480 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
15481 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
15482 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
15483 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
15484 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
15485 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
15486 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
15487 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
15488 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
15490 2010-07-26 Anton Blanchard <anton@samba.org>
15492 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
15493 * malloc/arena.c (heap_trim): Likewise.
15495 2010-08-16 Ulrich Drepper <drepper@redhat.com>
15497 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
15499 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
15500 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
15502 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
15504 * sysdeps/i386/elf/Makefile: New file.
15506 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
15508 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
15509 from fanotify_init.
15510 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
15511 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15513 2010-08-15 Ulrich Drepper <drepper@redhat.com>
15515 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
15517 * sysdeps/multiarch/strcmp.S: Likewise.
15519 2010-08-14 Ulrich Drepper <drepper@redhat.com>
15521 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
15522 strncase_l-nonascii.
15523 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
15524 Add strncase_l-ssse3.
15525 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
15526 * sysdeps/x86_64/strcmp.S: Likewise.
15527 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
15528 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
15529 * sysdeps/x86_64/strncase.S: New file.
15530 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
15531 * sysdeps/x86_64/strncase_l.S: New file.
15532 * string/Makefile (strop-tests): Add strncasecmp.
15533 * string/test-strncasecmp.c: New file.
15535 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
15538 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
15539 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
15541 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
15543 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
15545 2010-08-12 Ulrich Drepper <drepper@redhat.com>
15547 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
15548 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
15549 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
15551 2010-05-01 Alan Modra <amodra@gmail.com>
15553 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
15554 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
15555 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
15556 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
15557 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
15558 tidying. Don't tail-call __sigjmp_save for static lib.
15559 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
15561 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
15562 (CALL_MCOUNT): Add eh info, and nop after bl.
15563 (TAIL_CALL_SYSCALL_ERROR): New macro.
15564 (PSEUDO_RET): Use it.
15565 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
15566 Correct save location of integer regs and cr.
15567 (_dl_profile_resolve): Correct cr save location. Delete nops
15568 after bl when SHARED. Reduce cfi size a little by better
15569 placement of cfi directives.
15570 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
15571 make a stack frame. Instead use parm save area as a temp.
15572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
15573 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
15574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
15575 Don't make a stack frame for parent, use parm save area.
15576 Increase child stack frame to 112 bytes. Don't save unused reg,
15577 and adjust reg usage. Set up cfi on error recovery and
15578 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
15579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15580 (__makecontext): Add dummy nop after jump to exit.
15581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
15582 Use correct parm save area and cr save, reduce stack frame.
15583 Correct cfi for possible PSEUDO_RET frame setup.
15584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
15585 Branch to local label emitted by PSEUDO_RET rather than
15588 2010-08-12 Andreas Schwab <schwab@redhat.com>
15591 * locale/programs/locale.c (print_assignment): New function.
15592 (show_locale_vars): Use it.
15594 2010-08-11 Ulrich Drepper <drepper@redhat.com>
15596 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
15598 (struct statfs64): Likewise.
15599 (_STATFS_F_FLAGS): Define.
15600 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
15601 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15602 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
15603 (ST_VALID): Define locally.
15604 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
15605 __statvfs_getflags, use the provided value.
15606 * sysdeps/unix/sysv/linux/kernel-features.h: Define
15607 __ASSUME_STATFS_F_FLAGS.
15609 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
15611 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
15612 Add sys/fanotify.h.
15613 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
15614 fanotify_mask for GLIBC_2.13.
15615 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
15616 fanotify_init and fanotify_mark.
15617 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15618 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
15620 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
15622 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
15623 prlimit64 for GLIBC_2.13.
15624 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
15626 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
15628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
15629 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15630 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
15631 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
15632 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
15634 * sysdeps/unix/sysv/linux/prlimit.c: New file.
15637 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
15638 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
15640 * nss/Makefile: Add rules to build and run tst-nss-test1.
15641 * shlib-versions: Add entry for libnss_test1.
15642 * nss/nss_test1.c: New file.
15643 * nss/tst-nss-test1.c: New file.
15645 * nss/nsswitch.c (__nss_database_custom): Define new variable.
15646 (__nss_configure_lookup): Set appropriate entry in
15647 __nss_configure_lookup to true.
15648 * nss/nsswitch.h: Define enum with indeces of databases in
15649 databases and __nss_database_custom arrays. Declare
15650 __nss_database_custom.
15651 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
15652 to avoid using nscd when custom rules are installed.
15653 * nss/getXXbyYY_r.c: Likewise.
15654 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15656 * nss/nss_files/files-parse.c: Whitespace fixes.
15658 2010-08-09 Ulrich Drepper <drepper@redhat.com>
15661 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
15662 * posix/fnmatch_loop.c: Likewise.
15664 2010-07-17 Andi Kleen <ak@linux.intel.com>
15666 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
15667 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
15668 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
15669 * Versions.def [GLIBC_2.13]: Add.
15671 2010-08-06 Ulrich Drepper <drepper@redhat.com>
15673 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15674 Also fail if tpwd after pwuid call is NULL.
15676 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
15678 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
15679 when converting to ms.
15681 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15683 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
15684 EOPNOTSUPP errors with ENOTTY.
15685 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
15686 EOPNOTSUPP errors with ENOTTY.
15688 2010-07-31 Ulrich Drepper <drepper@redhat.com>
15690 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
15691 Add strcasecmp_l-ssse3.
15692 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
15694 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
15695 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
15696 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
15698 2010-07-30 Ulrich Drepper <drepper@redhat.com>
15700 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
15702 * string/Makefile (strop-tests): Add strcasecmp.
15703 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
15704 strcasecmp_l-nonascii.
15705 (gen-as-const-headers): Add locale-defines.sym.
15706 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
15707 * sysdeps/x86_64/strcasecmp.S: New file.
15708 * sysdeps/x86_64/strcasecmp_l.S: New file.
15709 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
15710 * sysdeps/x86_64/locale-defines.sym: New file.
15711 * string/test-strcasecmp.c: New file.
15713 * string/test-strcasestr.c: Test both ends of the range of characters.
15714 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
15716 2010-07-29 Roland McGrath <roland@redhat.com>
15719 * manual/locale.texi (Yes-or-No Questions): Fix example code.
15721 2010-07-27 Ulrich Drepper <drepper@redhat.com>
15723 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
15726 2010-07-27 Andreas Schwab <schwab@redhat.com>
15728 * manual/memory.texi (Malloc Tunable Parameters): Document
15731 2010-07-26 Roland McGrath <roland@redhat.com>
15734 * configure.in (-fgnu89-inline check): Set and substitute
15735 gnu89_inline, not libc_cv_gnu89_inline.
15736 * configure: Regenerated.
15737 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
15739 2010-07-26 Ulrich Drepper <drepper@redhat.com>
15741 * string/test-strnlen.c: New file.
15742 * string/Makefile (strop-tests): Add strnlen.
15743 * string/tester.c (test_strnlen): Add a few more test cases.
15744 * string/tst-strlen.c: Better error reporting.
15746 * sysdeps/x86_64/strnlen.S: New file.
15748 2010-07-24 Ulrich Drepper <drepper@redhat.com>
15750 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
15751 lower-latency instructions.
15753 2010-07-23 Ulrich Drepper <drepper@redhat.com>
15755 * string/test-strcasestr.c: New file.
15756 * string/test-strstr.c: New file.
15757 * string/Makefile (strop-tests): Add strstr and strcasestr.
15758 * string/str-two-way.h: Don't undefine MAX.
15759 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
15761 2010-07-21 Andreas Schwab <schwab@redhat.com>
15763 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15764 strcasestr-nonascii.
15765 (CFLAGS-strcasestr-nonascii.c): Define.
15766 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
15767 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
15768 Remove unused attribute.
15770 2010-07-20 Roland McGrath <roland@redhat.com>
15772 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
15773 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
15774 ld.so.cache was broken. With it, there is no way to disable dsocaps
15775 like LD_HWCAP_MASK can disable hwcaps.
15777 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
15779 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
15781 2010-07-16 Ulrich Drepper <drepper@redhat.com>
15783 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
15784 call in strcasestr.
15785 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
15786 __strcasestr_sse42_nonascii.
15787 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
15788 strcasestr-nonascii.c.
15789 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
15791 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
15793 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
15794 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
15795 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
15796 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
15798 2010-07-09 Ulrich Drepper <drepper@redhat.com>
15800 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
15803 2010-07-06 Andreas Schwab <schwab@redhat.com>
15806 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
15809 2010-07-06 Ulrich Drepper <drepper@redhat.com>
15811 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
15812 _PC_PIPE_BUF using F_GETPIPE_SZ.
15814 2010-07-05 Roland McGrath <roland@redhat.com>
15816 * manual/arith.texi (Rounding Functions): Fix rint description
15817 implicit in round description.
15819 2010-07-02 Ulrich Drepper <drepper@redhat.com>
15821 * elf/Makefile: Fix linking for a few tests to make recent linker
15824 2010-06-30 Andreas Schwab <schwab@redhat.com>
15826 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
15827 $(common-objpfx)libc_nonshared.a.
15829 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
15831 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
15832 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
15833 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
15834 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
15835 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
15836 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
15837 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
15838 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
15839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
15840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
15841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
15842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
15843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
15844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
15845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
15846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
15847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
15848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
15849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
15850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
15851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
15852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
15853 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
15854 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
15855 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
15856 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
15857 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
15858 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
15859 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
15860 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
15861 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
15862 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
15863 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
15864 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
15865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
15866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
15867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
15868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
15869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
15870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
15871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
15872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
15873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
15874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
15875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
15876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
15877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
15878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
15880 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
15882 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
15883 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
15884 * string/memmove.c (memmove): Renamed to ...
15885 (MEMMOVE): ...this. Default to memmove.
15886 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
15887 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
15889 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15890 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
15891 mempcpy-ssse3-back memmove-ssse3-back.
15892 * sysdeps/x86_64/multiarch/bcopy.S: New file .
15893 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
15894 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
15895 * sysdeps/x86_64/multiarch/memcpy.S: New file.
15896 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
15897 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
15898 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
15899 * sysdeps/x86_64/multiarch/memmove.c: New file.
15900 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
15901 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
15902 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
15903 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
15904 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
15905 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
15907 (index_Fast_Copy_Backward): Define.
15908 (HAS_ARCH_FEATURE): Define.
15909 (HAS_FAST_REP_STRING): Define.
15910 (HAS_FAST_COPY_BACKWARD): Define.
15912 2010-06-21 Andreas Schwab <schwab@redhat.com>
15914 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15915 Restore proper fallback handling.
15917 2010-06-19 Ulrich Drepper <drepper@redhat.com>
15920 * posix/group_member.c (__group_member): Correct checking loop.
15922 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
15923 OOM in getpwuid_r correctly. Return error number when the caller
15924 should return, otherwise -1.
15925 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
15926 call returning > 0 value.
15927 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
15929 2010-06-07 Andreas Schwab <schwab@redhat.com>
15931 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
15932 libc_nonshared.a from targets in modules-names.
15934 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
15936 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
15939 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
15941 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
15942 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
15943 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
15944 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
15946 2010-06-02 Andreas Schwab <schwab@redhat.com>
15948 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
15950 2010-06-14 Ulrich Drepper <drepper@redhat.com>
15952 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
15954 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
15955 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15956 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15957 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15958 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15959 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
15961 2010-06-14 Roland McGrath <roland@redhat.com>
15963 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
15965 2010-06-07 Jakub Jelinek <jakub@redhat.com>
15967 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
15968 __REDIRECT followed by __THROW.
15969 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
15970 * posix/getopt.h (getopt): Likewise.
15972 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
15974 * hurd/lookup-at.c (__file_name_lookup_at): Accept
15975 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
15976 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
15978 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
15979 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
15981 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
15983 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
15985 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
15988 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15989 Properly check family and model.
15991 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
15993 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
15995 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
15997 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
15999 2010-05-21 Ulrich Drepper <drepper@redhat.com>
16001 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
16004 2010-05-19 Andreas Schwab <schwab@redhat.com>
16006 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
16009 2010-05-21 Andreas Schwab <schwab@redhat.com>
16011 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
16012 and internal_recvmmsg.
16013 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
16014 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
16015 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
16016 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
16018 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
16019 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16020 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16022 2010-05-20 Andreas Schwab <schwab@redhat.com>
16024 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
16026 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
16028 POWER7 optimizations.
16029 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
16030 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
16032 2010-05-19 Ulrich Drepper <drepper@redhat.com>
16034 * version.h: Update for 2.13 development version.
16036 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
16038 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
16039 exceptions. Return 0.
16041 2010-05-07 Roland McGrath <roland@redhat.com>
16043 * elf/ldconfig.c (main): Add a const.
16045 2010-05-06 Ulrich Drepper <drepper@redhat.com>
16047 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
16048 (args_options): Add no-idn option.
16049 (ahosts_keys_int): Add idn_flags to ai_flags.
16050 (parse_option): Handle 'i' option to clear idn_flags.
16052 * malloc/malloc.c (_int_free): Possible race in the most recently
16053 added check. Only act on the data if no current modification
16056 See ChangeLog.17 for earlier changes.