1 2012-06-01 Joseph Myers <joseph@codesourcery.com>
3 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
4 (default-abi): New variable.
5 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
6 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
8 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
10 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
12 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
15 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
16 definition. Document in comment.
18 2012-06-01 David S. Miller <davem@davemloft.net>
20 * stdlib/longlong.h: Updated from GCC.
22 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
25 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
26 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
27 sys/debugreg.h sys/io.h here.
28 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
29 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
31 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
32 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
33 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
34 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
35 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
36 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
38 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
39 Define only if __x86_64__ is defined.
41 2012-06-01 Joseph Myers <joseph@codesourcery.com>
44 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
45 Use int64_t for variable i.
46 * math/libm-test.inc (fmod_test): Add more tests.
48 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
49 z computation is not scheduled after fetestexcept.
50 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
51 Use math_force_eval instead of asm to ensure calculation scheduled
52 before exception test.
53 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
54 Ensure a1 + u.d computation is not scheduled after fetestexcept.
56 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
58 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
59 computation is not scheduled after fetestexcept.
61 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
64 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
65 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
67 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
70 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
72 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
75 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
77 (__WCHAR_MIN): Support __WORDSIZE == 64.
78 (__WCHAR_MAX): Likewise.
80 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
81 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
84 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
85 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
88 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
89 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
91 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
92 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
94 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
95 Defined to 1 if __x86_64__ isn't defined.
96 (_STAT_VER_LINUX_OLD): New.
97 (st_atime): Remove duplicate.
101 2012-05-31 David S. Miller <davem@davemloft.net>
103 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
106 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
108 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
112 * elf/dl-reloc.c: Include <_itoa.h>.
113 (_dl_reloc_bad_type): Remove use of INTUSE.
114 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
115 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
116 * stdio-common/psiginfo.c (psiginfo): Likewise.
117 * stdio-common/psignal.c (psignal): Likewise.
118 * string/strsignal.c (strsignal): Likewise.
119 * include/signal.h (_sys_siglist): Declare hidden proto.
120 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
121 INTVARDEF with libc_hidden_data_def.
122 * stdio-common/itoa-udigits.c: Likewise.
123 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
124 (_itoa_lower_digits_internal): Remove declaration.
125 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
126 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
127 (_sys_sigabbrev_internal): Remove aliases.
128 (_sys_siglist): Define hidden alias.
130 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
132 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
135 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
138 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
139 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
141 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
142 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
143 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
144 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
145 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
146 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
148 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
149 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
150 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
152 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
160 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
161 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
162 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
164 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
165 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
166 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
167 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
168 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
169 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
171 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
172 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
174 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
175 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
177 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
178 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
179 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
181 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
182 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
184 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
186 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
187 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
188 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
190 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
192 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
194 2012-05-31 Joseph Myers <joseph@codesourcery.com>
196 * math/math.h (M_El): Use two more decimal places.
197 (M_LOG2El): Likewise.
198 (M_LOG10El): Likewise.
206 (M_2_SQRTPIl): Likewise.
207 (M_SQRT2l): Likewise.
208 (M_SQRT1_2l): Likewise.
210 2012-05-31 David S. Miller <davem@davemloft.net>
212 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
213 values between float registers.
214 * sysdeps/sparc/sparc64/memset.S: Likewise.
215 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
217 2012-05-31 Mike Frysinger <vapier@gentoo.org>
219 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
221 (CPPFLAGS-tst-longjmp_chk.c): Define.
222 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
223 (CPPFLAGS-tst-longjmp_chk2.c): Define.
224 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
225 CFLAGS-tst-wchar-h.c.
227 2012-05-31 Marek Polacek <polacek@redhat.com>
230 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
231 __endmntent_internal): Remove declaration.
232 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
233 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
234 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
236 2012-05-30 David S. Miller <davem@davemloft.net>
238 * sysdeps/sparc/sparc32/soft-fp/q_util.c
239 (___Q_simulate_exceptions): Use real FP ops rather than writing
241 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
244 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
247 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
248 * sysdeps/x86/bits/xtitypes.h: This.
250 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
251 * sysdeps/x86/bits/wordsize.h: This.
253 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
254 * sysdeps/x86/bits/huge_vall.h: This.
256 * sysdeps/i386/bits/select.h: Removed.
257 * sysdeps/x86_64/bits/select.h: Renamed to ...
258 * sysdeps/x86/bits/select.h: This.
260 * sysdeps/i386/bits/setjmp.h: Removed.
261 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
262 * sysdeps/x86/bits/setjmp.h: This.
264 * sysdeps/i386/bits/mathdef.h: Removed.
265 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
266 * sysdeps/x86/bits/mathdef.h: This.
268 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
271 * include/sys/socket.h (__connect_internal)
272 (__libc_sa_len_internal): Remove declaration.
273 (__connect, __libc_sa_len): Declare hidden_proto.
274 (SA_LEN): Remove use of INTUSE.
275 * socket/connect.c: Add libc_hidden_def.
276 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
277 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
278 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
280 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
281 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
282 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
283 of adding _internal alias.
285 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
288 * sysdeps/i386/bits/link.h: Removed.
289 * sysdeps/i386/bits/linkmap.h: Likewise.
290 * sysdeps/x86_64/bits/link.h: Renamed to ...
291 * sysdeps/x86/bits/link.h: This.
292 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
293 * sysdeps/x86/bits/linkmap.h: This.
295 * sysdeps/i386/bits/endian.h: Removed.
296 * sysdeps/x86_64/bits/endian.h: Renamed to ...
297 * sysdeps/x86/bits/endian.h: This.
299 * sysdeps/i386/bits/byteswap.h: Removed.
300 * sysdeps/i386/bits/byteswap-16.h: Likewise.
301 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
302 * sysdeps/x86/bits/byteswap.h: This.
303 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
304 * sysdeps/x86/bits/byteswap-16.h: This.
305 * sysdeps/i386/Implies: Add x86.
306 * sysdeps/x86_64/Implies: Likewise.
308 2012-05-30 David S. Miller <davem@davemloft.net>
310 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
311 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
312 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
313 (FP_TRAPPING_EXCEPTIONS): Define.
314 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
315 (FP_TRAPPING_EXCEPTIONS): Define.
316 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
317 subnormals only when inexact has been signalled or underflow
318 exceptions are enabled.
319 (_FP_PACK_CANONICAL): Likewise.
321 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
324 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
325 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
327 2012-05-30 Richard Henderson <rth@twiddle.net>
329 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
330 with #ifndef NOT_IN_libc.
332 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
333 marked to avoid plt entry.
335 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
338 * Makeconfig (default-abi): New macro.
339 (abi-includes): Likewise.
340 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
341 $(abi-$(default-abi)-lib-soname) for soname if defined.
342 ($(common-objpfx)gnu/lib-names.stmp): Generate from
344 * Makefile (installed-stubs): Likewise.
345 * include/stubs-biarch.h: Removed.
346 * scripts/lib-names.awk: Only handle one library at a time.
347 * scripts/soversions.awk: Remove WORDSIZE support.
348 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
350 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
352 (syscall-list-default-condition): Likewise.
353 (syscall-list-default-condition): Likewise.
354 (syscall-list-includes): Likewise.
355 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
356 syscall-list-* with abi-*. Handle undefined abi-variants.
357 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
358 * sysdeps/unix/sysv/linux/i386/Implies: New file.
359 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
360 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
361 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
362 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
364 (syscall-list-32-options): Likewise.
365 (syscall-list-32-condition): Likewise.
366 (syscall-list-64-options): Likewise.
367 (syscall-list-64-condition): Likewise.
368 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
370 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
373 (abi-64-ld-soname): New macro.
374 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
375 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
378 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
379 * sysdeps/x86_64/x32/shlib-versions: Likewise.
381 2012-05-30 Joseph Myers <joseph@codesourcery.com>
383 * sysdeps/unix/sysv/linux/kernel-features.h
384 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
385 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
386 include <kernel-features.h>.
387 [!__NR_ftruncate64]: Remove conditional code.
388 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
389 [__NR_ftruncate64]: Make code unconditional.
390 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
391 * sysdeps/unix/sysv/linux/truncate64.c: Do not
392 include <kernel-features.h>.
393 [!__NR_ftruncate64]: Remove conditional code.
394 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
395 [__NR_ftruncate64]: Make code unconditional.
396 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
398 include <kernel-features.h>.
399 [!__NR_ftruncate64]: Remove conditional code.
400 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
401 [__NR_ftruncate64]: Make code unconditional.
402 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
404 include <kernel-features.h>.
405 [!__NR_ftruncate64]: Remove conditional code.
406 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
407 [__NR_ftruncate64]: Make code unconditional.
408 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
410 * configure.in (libc_cv_fpie): Weaken to a compile test using
412 * configure: Regenerated.
414 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
416 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
417 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
418 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
419 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
421 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
422 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
423 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
424 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
425 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
426 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
429 2012-05-27 David S. Miller <davem@davemloft.net>
431 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
433 (__Q_simulate_exceptions): Return void. Change to simulate
434 exceptions by writing into the %fsr.
435 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
436 (__Qp_handle_exceptions): Likewise.
438 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
439 __Qp_handle_exceptions.
440 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
441 __Qp_handle_exceptions.
442 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
443 as unused and give dummy FP_RND_NEAREST initializer.
444 (FP_INHIBIT_RESULTS): Define.
445 (___Q_simulate_exceptions): Update declaration.
446 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
448 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
449 as unused and give dummy FP_RND_NEAREST initializer.
450 (__Qp_handle_exceptions): Update declaration.
451 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
454 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
456 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
457 the temporary FPU control word.
458 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
459 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
460 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
461 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
462 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
463 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
464 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
465 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
466 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
467 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
468 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
470 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
472 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
475 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
477 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
478 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
479 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
480 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
482 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
483 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
486 2012-05-27 Ulrich Drepper <drepper@gmail.com>
488 * po/h.po: Update from translation team.
490 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
492 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
494 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
495 handling of denormals.
496 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
497 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
498 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
499 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
500 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
501 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
502 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
505 2012-05-26 Marek Polacek <polacek@redhat.com>
508 * math/libm-test.inc (fma_test): Don't always expect underflow
511 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
514 * elf/tst-execstack.c: Include stackinfo.h.
515 (do_test): Adjust test case to ensure that pthread_getattr_np
516 behaviour remains the same after marking stack executable.
518 2012-05-25 Joseph Myers <joseph@codesourcery.com>
520 * sysdeps/unix/sysv/linux/kernel-features.h
521 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
522 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
524 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
525 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
526 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
528 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
529 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
531 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
533 * configure.in: Define the default includes to being none.
534 * configure: Regenerated.
536 2012-05-25 Roland McGrath <roland@hack.frob.com>
538 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
539 * sysdeps/x86_64/setjmp.S: Likewise.
540 * sysdeps/i386/bsd-setjmp.S: Likewise.
541 * sysdeps/i386/bsd-_setjmp.S: Likewise.
542 * sysdeps/i386/setjmp.S: Likewise.
543 * sysdeps/i386/__longjmp.S: Likewise.
544 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
545 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
547 * include/stap-probe.h: New file.
548 * configure.in: Handle --enable-systemtap.
549 * configure: Regenerated.
550 * config.h.in (USE_STAP_PROBE): New #undef.
551 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
552 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
553 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
555 2012-05-25 Joseph Myers <joseph@codesourcery.com>
558 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
559 to 2.4.0 where earlier.
560 * sysdeps/unix/sysv/linux/configure: Regenerated.
561 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
563 [__ASSUME_32BITUIDS]: Make code unconditional.
564 [!__ASSUME_32BITUIDS]: Remove conditional code.
565 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
567 [__ASSUME_32BITUIDS]: Make code unconditional.
568 [!__ASSUME_32BITUIDS]: Remove conditional code.
569 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
570 [__ASSUME_32BITUIDS]: Make code unconditional.
571 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
572 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
574 [__ASSUME_32BITUIDS]: Make code unconditional.
575 [!__ASSUME_32BITUIDS]: Remove conditional code.
576 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
578 [__ASSUME_32BITUIDS]: Make code unconditional.
579 [!__ASSUME_32BITUIDS]: Remove conditional code.
580 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
582 [__ASSUME_32BITUIDS]: Make code unconditional.
583 [!__ASSUME_32BITUIDS]: Remove conditional code.
584 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
586 [__ASSUME_32BITUIDS]: Make code unconditional.
587 [!__ASSUME_32BITUIDS]: Remove conditional code.
588 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
590 [__ASSUME_32BITUIDS]: Make code unconditional.
591 [!__ASSUME_32BITUIDS]: Remove conditional code.
592 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
594 [__ASSUME_32BITUIDS]: Make code unconditional.
595 [!__ASSUME_32BITUIDS]: Remove conditional code.
596 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
598 [__ASSUME_32BITUIDS]: Make code unconditional.
599 [!__ASSUME_32BITUIDS]: Remove conditional code.
600 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
602 [__ASSUME_32BITUIDS]: Make code unconditional.
603 [!__ASSUME_32BITUIDS]: Remove conditional code.
604 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
606 [__ASSUME_32BITUIDS]: Make code unconditional.
607 [!__ASSUME_32BITUIDS]: Remove conditional code.
608 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
610 [__ASSUME_32BITUIDS]: Make code unconditional.
611 [!__ASSUME_32BITUIDS]: Remove conditional code.
612 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
614 [__NR_setresgid] (__setresgid): Do not declare.
615 [__ASSUME_32BITUIDS]: Make code unconditional.
616 [!__ASSUME_32BITUIDS]: Remove conditional code.
617 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
619 [__NR_setresuid] (__setresuid): Do not declare.
620 [__ASSUME_32BITUIDS]: Make code unconditional.
621 [!__ASSUME_32BITUIDS]: Remove conditional code.
622 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
624 [__ASSUME_32BITUIDS]: Make code unconditional.
625 [!__ASSUME_32BITUIDS]: Remove conditional code.
626 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
628 [__ASSUME_32BITUIDS]: Make code unconditional.
629 [!__ASSUME_32BITUIDS]: Remove conditional code.
630 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
632 [__ASSUME_32BITUIDS]: Make code unconditional.
633 [!__ASSUME_32BITUIDS]: Remove conditional code.
634 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
636 [__ASSUME_32BITUIDS]: Make code unconditional.
637 [!__ASSUME_32BITUIDS]: Remove conditional code.
638 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
640 [__ASSUME_32BITUIDS]: Make code unconditional.
641 [!__ASSUME_32BITUIDS]: Remove conditional code.
642 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
644 [__ASSUME_32BITUIDS]: Make code unconditional.
645 [!__ASSUME_32BITUIDS]: Remove conditional code.
646 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
648 [__ASSUME_32BITUIDS]: Make code unconditional.
649 [!__ASSUME_32BITUIDS]: Remove conditional code.
650 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
652 [__ASSUME_32BITUIDS]: Make code unconditional.
653 [!__ASSUME_32BITUIDS]: Remove conditional code.
654 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
656 [__ASSUME_32BITUIDS]: Make code unconditional.
657 [!__ASSUME_32BITUIDS]: Remove conditional code.
658 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
660 [__ASSUME_32BITUIDS]: Make code unconditional.
661 [!__ASSUME_32BITUIDS]: Remove conditional code.
662 * sysdeps/unix/sysv/linux/kernel-features.h
663 (__ASSUME_SETRESUID_SYSCALL): Remove.
664 (__ASSUME_SETRESGID_SYSCALL): Likewise.
665 (__ASSUME_32BITUIDS): Likewise.
666 (__ASSUME_LDT_WORKS): Likewise.
667 (__ASSUME_O_DIRECTORY): Likewise.
668 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
669 architecture but not kernel version.
670 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
671 (__ASSUME_MMAP2_SYSCALL): Likewise.
672 (__ASSUME_STAT64_SYSCALL): Likewise.
673 (__ASSUME_IPC64): Likewise.
674 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
676 [__ASSUME_32BITUIDS]: Make code unconditional.
677 [!__ASSUME_32BITUIDS]: Remove conditional code.
678 * sysdeps/unix/sysv/linux/opendir.c: Do not include
680 [__ASSUME_O_DIRECTORY]: Make code unconditional.
681 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
682 132096]: Remove conditional code.
683 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
684 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
686 [__ASSUME_32BITUIDS]: Make code unconditional.
687 [!__ASSUME_32BITUIDS]: Remove conditional code.
688 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
690 [__ASSUME_32BITUIDS]: Make code unconditional.
691 [!__ASSUME_32BITUIDS]: Remove conditional code.
692 * sysdeps/unix/sysv/linux/setegid.c: Do not include
694 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
696 (__setresgid): Do not declare.
697 [__ASSUME_32BITUIDS]: Make code unconditional.
698 [!__ASSUME_32BITUIDS]: Remove conditional code.
699 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
701 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
703 (__setresuid): Do not declare.
704 [__ASSUME_32BITUIDS]: Make code unconditional.
705 [!__ASSUME_32BITUIDS]: Remove conditional code.
706 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
708 [__ASSUME_32BITUIDS]: Make code unconditional.
709 [!__ASSUME_32BITUIDS]: Remove conditional code.
710 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
712 [__ASSUME_32BITUIDS]: Make code unconditional.
713 [!__ASSUME_32BITUIDS]: Remove conditional code.
715 2012-05-25 Richard Henderson <rth@twiddle.net>
717 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
718 dl_hwcap to ifunc resolver.
719 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
721 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
722 dl_hwcap to ifunc resolver.
723 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
725 2012-05-24 Joseph Myers <joseph@codesourcery.com>
728 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
729 for |x| <= 2**-26, not 2**-57.
730 * math/libm-test.inc (acos_test): Do not allow spurious underflow
733 2012-05-24 Jeff Law <law@redhat.com>
735 * stdio-common/Makefile (tests): Add bug25.
736 * stdio-common/bug25.c: New test.
738 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
741 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
742 multiple of MALLOC_ALIGNMENT in size.
743 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
745 2012-05-24 Joseph Myers <joseph@codesourcery.com>
747 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
749 (FILENAME_MAX): Use macro-int-constant.
750 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
751 (_IOFBF): Use macro-int-constant.
754 (SEEK_CUR): Likewise.
755 (SEEK_END): Likewise.
756 (SEEK_SET): Likewise.
758 (EOF): Use macro-int-constant. Require < 0.
759 (NULL): Use macro-constant. Require == 0.
760 (stdin): Require type to be FILE *.
763 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
765 (EXIT_SUCCESS): Likewise.
766 (NULL): Use macro-constant. Require == 0.
767 (RAND_MAX): Use macro-int-constant.
768 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
769 [C99-based standards] (strtof): Require function.
770 [C99-based standards] (strtold): Likewise.
771 [C99-based standards] (strtoll): Likewise.
772 [C99-based standards] (strtoull): Likewise.
773 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
774 [ISO || ISO99 || ISO11] (limits.h): Likewise.
775 [ISO || ISO99 || ISO11] (math.h): Likewise.
776 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
777 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
778 [ISO || ISO99 || ISO11] (*_t): Do not allow.
780 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
783 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
784 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
785 * intl/dgettext.c (DCGETTEXT): Likewise.
786 * intl/gettext.c (DCGETTEXT): Likewise.
787 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
788 * posix/regex_internal.h (gettext): Likewise.
789 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
791 * include/argz.h (__argz_count_internal)
792 (__argz_stringify_internal): Remove declaration.
793 (__argz_count, __argz_stringify): Declare hidden proto.
794 * intl/dcgettext.c: Remove use of INTDEF.
795 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
796 * string/argz-stringify.c: Likewise.
797 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
798 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
799 Declare hidden proto.
800 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
801 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
802 Declare hidden proto.
803 * include/stdio.h (__asprintf_internal): Don't declare.
804 (__asprintf): Don't define as macro. Declare hidden proto.
805 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
806 (__fsetlocking): Declare hidden proto.
807 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
808 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
810 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
811 (_IO_setlinebuf): Remove use of INTUSE.
812 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
813 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
814 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
816 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
817 (_IO_do_flush): Remove use of INTUSE.
818 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
819 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
820 (_IO_adjust_column, _IO_least_wmarker)
821 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
822 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
823 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
824 (_IO_default_doallocate, _IO_wdefault_doallocate)
825 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
826 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
827 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
828 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
829 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
830 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
831 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
832 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
833 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
834 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
835 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
836 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
837 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
839 (_IO_flush_all_internal, _IO_adjust_column_internal)
840 (_IO_default_uflow_internal, _IO_default_finish_internal)
841 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
842 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
843 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
844 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
845 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
846 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
847 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
848 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
849 (_IO_file_close_internal, _IO_file_close_it_internal)
850 (_IO_file_underflow_internal, _IO_file_overflow_internal)
851 (_IO_file_init_internal, _IO_file_attach_internal)
852 (_IO_file_fopen_internal, _IO_file_read_internal)
853 (_IO_file_sync_internal, _IO_file_seek_internal)
854 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
855 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
856 (_IO_str_underflow_internal, _IO_str_overflow_internal)
857 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
858 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
859 (_IO_list_all_internal, _IO_link_in_internal)
860 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
861 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
862 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
863 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
864 (_IO_do_write_internal, _IO_padn_internal)
865 (_IO_getline_info_internal, _IO_getline_internal)
866 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
867 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
868 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
869 (_IO_vfscanf_internal, _IO_vfprintf_internal)
870 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
871 (_IO_init_internal, _IO_un_link_internal): Don't declare.
872 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
873 with libc_hidden_ver, remove use of INTUSE.
874 * libio/genops.c: Likewise.
875 * libio/freopen.c: Likewise.
876 * libio/freopen64.c: Likewise.
877 * libio/iofclose.c: Likewise.
878 * libio/iofdopen.c: Likewise.
879 * libio/iofflush.c: Likewise.
880 * libio/iofflush_u.c: Likewise.
881 * libio/iofgets.c: Likewise.
882 * libio/iofgets_u.c: Likewise.
883 * libio/iofopen.c: Likewise.
884 * libio/iofopncook.c: Likewise.
885 * libio/iofread.c: Likewise.
886 * libio/iofread_u.c: Likewise.
887 * libio/ioftell.c: Likewise.
888 * libio/iofwrite.c: Likewise.
889 * libio/iogetline.c: Likewise.
890 * libio/iogets.c: Likewise.
891 * libio/iogetwline.c: Likewise.
892 * libio/iopadn.c: Likewise.
893 * libio/iopopen.c: Likewise.
894 * libio/ioseekoff.c: Likewise.
895 * libio/ioseekpos.c: Likewise.
896 * libio/iosetbuffer.c: Likewise.
897 * libio/iosetvbuf.c: Likewise.
898 * libio/ioungetc.c: Likewise.
899 * libio/ioungetwc.c: Likewise.
900 * libio/iovdprintf.c: Likewise.
901 * libio/iovsprintf.c: Likewise.
902 * libio/iovsscanf.c: Likewise.
903 * libio/memstream.c: Likewise.
904 * libio/obprintf.c: Likewise.
905 * libio/oldfileops.c: Likewise.
906 * libio/oldiofclose.c: Likewise.
907 * libio/oldiofdopen.c: Likewise.
908 * libio/oldiofopen.c: Likewise.
909 * libio/oldiopopen.c: Likewise.
910 * libio/oldstdfiles.c: Likewise.
911 * libio/putc.c: Likewise.
912 * libio/setbuf.c: Likewise.
913 * libio/setlinebuf.c: Likewise.
914 * libio/stdfiles.c: Likewise.
915 * libio/strops.c: Likewise.
916 * libio/vasprintf.c: Likewise.
917 * libio/vscanf.c: Likewise.
918 * libio/vsnprintf.c: Likewise.
919 * libio/vswprintf.c: Likewise.
920 * libio/wfiledoalloc.c: Likewise.
921 * libio/wfileops.c: Likewise.
922 * libio/wgenops.c: Likewise.
923 * libio/wmemstream.c: Likewise.
924 * libio/wstrops.c: Likewise.
925 * libio/__fpurge.c: Likewise.
926 * libio/__fsetlocking.c: Likewise.
927 * assert/assert.c: Likewise.
928 * debug/fgets_chk.c: Likewise.
929 * debug/fgets_u_chk.c: Likewise.
930 * debug/fread_chk.c: Likewise.
931 * debug/fread_u_chk.c: Likewise.
932 * debug/gets_chk.c: Likewise.
933 * debug/obprintf_chk.c: Likewise.
934 * debug/vasprintf_chk.c: Likewise.
935 * debug/vdprintf_chk.c: Likewise.
936 * debug/vsnprintf_chk.c: Likewise.
937 * debug/vsprintf_chk.c: Likewise.
938 * malloc/mtrace.c: Likewise.
939 * misc/error.c: Likewise.
940 * misc/syslog.c: Likewise.
941 * stdio-common/asprintf.c: Likewise.
942 * stdio-common/fxprintf.c: Likewise.
943 * stdio-common/getw.c: Likewise.
944 * stdio-common/isoc99_fscanf.c: Likewise.
945 * stdio-common/isoc99_scanf.c: Likewise.
946 * stdio-common/isoc99_vfscanf.c: Likewise.
947 * stdio-common/isoc99_vscanf.c: Likewise.
948 * stdio-common/isoc99_vsscanf.c: Likewise.
949 * stdio-common/printf-prs.c: Likewise.
950 * stdio-common/printf_fp.c: Likewise.
951 * stdio-common/printf_fphex.c: Likewise.
952 * stdio-common/printf_size.c: Likewise.
953 * stdio-common/putw.c: Likewise.
954 * stdio-common/scanf.c: Likewise.
955 * stdio-common/sprintf.c: Likewise.
956 * stdio-common/tmpfile.c: Likewise.
957 * stdio-common/vfprintf.c: Likewise.
958 * stdio-common/vfscanf.c: Likewise.
959 * stdlib/strfmon_l.c: Likewise.
960 * sunrpc/openchild.c: Likewise.
961 * sunrpc/xdr_stdio.c: Likewise.
962 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
963 * sysdeps/mach/hurd/tmpfile.c: Likewise.
965 2012-05-24 Roland McGrath <roland@hack.frob.com>
967 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
969 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
970 in the third column, to generate for the shared library an IFUNC
971 that uses _dl_vdso_vsym.
972 * Makerules (COMPILE.c, compile-stdin.c): New variables.
973 * Makeconfig (object-suffixes-noshared): New variable.
975 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
976 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
977 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
978 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
981 * include/sys/time.h (__gettimeofday): Remove macro.
982 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
983 * time/gettimeofday.c (__gettimeofday): Remove #undef.
985 (__gettimeofday): Add libc_hidden_def.
986 (gettimeofday): Add libc_hidden_weak.
987 * sysdeps/mach/gettimeofday.c: Likewise.
988 * sysdeps/posix/gettimeofday.c: Likewise.
989 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
990 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
991 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
992 (__gettimeofday_internal): Remove strong_alias.
993 (__gettimeofday): Add libc_hidden_def.
994 (gettimeofday): Add libc_hidden_weak.
995 * sysdeps/unix/syscalls.list (gettimeofday):
996 Remove __gettimeofday_internal alias.
998 2012-05-24 Daniel Jacobowitz <drow@false.org>
999 H.J. Lu <hongjiu.lu@intel.com>
1002 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
1003 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
1004 (largebin_index_32_big): New.
1005 (largebin_index): Use it for 16-byte alignment.
1006 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
1007 correction with front_misalign.
1009 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
1011 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
1012 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
1014 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
1016 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
1018 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
1020 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
1022 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
1024 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
1026 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1028 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
1030 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
1032 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
1034 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
1037 * scripts/data/c++-types-x32-linux-gnu.data: New file.
1038 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
1040 2012-05-24 Joseph Myers <joseph@codesourcery.com>
1044 * math/libm-test.inc (exp_test): Add test from bug 14036.
1045 (pow_test): Add test from bug 10846.
1047 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
1049 (special_function): Do not include flags in test name.
1050 (parse_args): Likewise.
1051 * sysdeps/i386/fpu/libm-test-ulps: Update.
1052 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1053 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1054 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1055 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1057 * math/gen-libm-test.pl (%beautify): Add entries for underflow
1059 * math/libm-test.inc ("Philosophy"): Update comment about
1061 (UNDERFLOW_EXCEPTION): New macro.
1062 (UNDERFLOW_EXCEPTION_OK): Likewise.
1063 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
1064 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
1065 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
1066 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
1067 (INVALID_EXCEPTION_OK): Update value.
1068 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1069 (OVERFLOW_EXCEPTION_OK): Likewise.
1070 (IGNORE_ZERO_INF_SIGN): Likewise.
1071 (test_exceptions): Handle underflow exceptions.
1072 (acos_test): Update for underflow exception expectations.
1073 (cexp_test): Likewise.
1074 (clog_test): Likewise.
1075 (clog10_test): Likewise.
1076 (csqrt_test): Likewise.
1077 (ctan_test): Likewise.
1078 (ctanh_test): Likewise.
1079 (exp_test): Likewise.
1080 (exp10_test): Likewise.
1081 (exp2_test): Likewise.
1082 (expm1_test): Likewise.
1083 (fma_test): Likewise.
1084 (j0_test): Likewise.
1085 (jn_test): Likewise.
1086 (nexttoward_test): Likewise.
1087 (pow_test): Likewise.
1088 (scalbn_test): Likewise.
1089 (scalbln_test): Likewise.
1090 (tan_test): Likewise.
1091 (y1_test): Likewise.
1092 * sysdeps/i386/fpu/libm-test-ulps: Update.
1093 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1095 2012-05-23 David S. Miller <davem@davemloft.net>
1097 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1098 (__libc_sigaction): Remove unused local variables.
1100 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1102 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
1104 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
1106 mktime: avoid signed integer overflow
1107 * time/mktime.c (__mktime_internal): Do not mishandle the case
1108 where diff == INT_MIN.
1110 mktime: simplify computation of average
1111 * time/mktime.c (ranged_convert): Use new time_t_avg function
1112 instead of rolling our own (probably-slower) code.
1114 mktime: do not assume signed right shift propagates sign bit
1115 * time/mktime.c (isdst_differ): New static function.
1116 (__mktime_internal): No need to normalize tm_isdst now.
1117 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
1120 mktime: merge another wrapv change from gnulib
1121 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
1122 from some compilers.
1124 mktime: remove incorrect attempt at unusual arithmetics
1125 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
1126 The code didn't really work on such machines anyway.
1127 (TYPE_MINIMUM): Assume two's complement.
1128 (twos_complement_arithmetic): Verify that long_int and time_t
1129 are two's complement (or unsigned, in the latter case).
1131 mktime: check signed shifts on long_int and time_t, too
1132 * time/mktime.c (SHR): Check that shifts work as desired
1133 on the types long_int and time_t too, as SHR is used on
1136 mktime: do not assume 'long' is wide enough
1137 * time/mktime.c (verify): Move decl up.
1138 (long_int): New type.
1139 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
1140 to remove assumption in the code that 'long' is wide enough to
1141 store year values. This assumption is not true on x32 and on
1142 some non-glibc platforms.
1144 mktime: merge wrapv change from gnulib
1145 * time/mktime.c (WRAPV): New macro.
1146 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
1147 (guess_time_tm, __mktime_internal): Do not assume that signed
1148 integer overflow wraps around; modern compilers generate code
1149 where this assumption is no longer valid.
1151 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1153 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1154 Replace "jmp L(pseudo_end)" with "ret".
1155 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
1158 2012-05-23 Andreas Jaeger <aj@suse.de>
1160 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
1161 * sysdeps/unix/sysv/linux/poll.c: Remove file.
1163 2012-05-23 Andreas Jaeger <aj@suse.de>
1164 Maximilian Attems <max@stro.at>
1166 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
1169 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1171 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
1172 code so that pseudo_end is just ret and the stack pointer is
1173 correct also for static library in error case.
1175 2012-05-23 Joseph Myers <joseph@codesourcery.com>
1177 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
1178 move to syscalls.list.
1179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1184 * manual/install.texi (Running make install): Do not mention Linux
1185 kernel version for which pt_chown is not needed.
1186 (Linux): Do not mention problems with nscd with 2.0 kernels.
1187 * INSTALL: Regenerated.
1189 2012-05-23 Andreas Jaeger <aj@suse.de>
1191 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
1192 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
1194 * sysdeps/unix/sysv/linux/s390/bits/mman.h
1195 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1196 * sysdeps/unix/sysv/linux/sh/bits/mman.h
1197 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1198 * sysdeps/unix/sysv/linux/i386/bits/mman.h
1199 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1200 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
1201 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1202 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
1203 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1204 * sysdeps/unix/sysv/linux/bits/in.h
1205 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
1207 2012-05-22 Roland McGrath <roland@hack.frob.com>
1209 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
1210 (PREPARE_VERSION): Just use assert instead, it will be elided
1211 under [NDEBUG] anyway.
1213 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1215 * sysdeps/unix/sysv/linux/Makefile: Include
1216 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
1217 (sysdep_routines): Remove sysctl.
1218 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
1219 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
1220 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
1221 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
1222 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
1224 2012-05-22 Andreas Jaeger <aj@suse.de>
1226 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
1227 that pseudo_end is just ret and the stack pointer is correct also
1228 for static library in error case.
1230 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
1233 * nss/nsswitch.c (defconfig_entries): New variable.
1234 (__nss_database_lookup): Don't leak defconfig entries.
1235 (nss_parse_service_list): Don't leak on error paths.
1236 (free_database_entries): New function.
1237 (free_defconfig): New function.
1238 (free_mem): Move common code to free_database_entries.
1240 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1242 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
1244 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
1246 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1247 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
1248 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
1250 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
1251 (INTERNAL_SYSCALL_TYPES): Likewise.
1252 (LOAD_ARGS_TYPES_[1-6]): Likewise.
1253 (LOAD_REGS_TYPES_[1-6]): Likewise.
1254 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
1255 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
1257 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1259 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
1260 copysignl for GLIBC_2_0.
1261 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
1262 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
1263 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
1264 logbl for GLIBC_2_0.
1265 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1266 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1268 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1270 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
1271 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1273 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1276 * time/mktime.c: Update copyright years.
1278 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
1280 mktime: merge comment-quoting-style change from gnulib
1281 * time/mktime.c: Quote 'like this' in comments.
1282 The GNU coding standards suggest that we no longer quote `like this',
1283 as "`" and "'" are typically rendered asymmetrically nowadays.
1284 The typical gnulib style is to quote 'like this' when quoting
1285 code, and "like this" when quoting English.
1287 * time/mktime.c (compile-command): Add "-I.".
1289 mktime: merge mktime-internal.h change from gnulib
1290 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
1292 mktime: merge time_r change from gnulib
1293 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
1295 mktime: merge DEBUG change from gnulib
1296 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
1297 case system <time.h> has a #define.
1299 mktime: merge <sys/types.h> change from gnulib
1300 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
1301 since <time.t> is now guaranteed to define time_t.
1303 mktime: merge HAVE_CONFIG_H change from gnulib
1304 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
1306 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1308 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1311 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
1313 (struct rusage): Use anonymous union to pad each field to
1316 2012-05-21 David S. Miller <davem@davemloft.net>
1318 * Makefules (o-iterator): Remove .s cases.
1319 (compile-command.s): Delete.
1320 (COMPILE.s): Delete.
1321 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
1323 2012-05-21 Joseph Myers <joseph@codesourcery.com>
1325 * configure.in (libc_cv_predef_stack_protector): Only consider
1326 "foobar" and "__stack_chk_fail" lines in libc_undefs.
1327 * configure: Regenerated.
1329 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1331 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1332 New macro. Use R*LP on int and pointer.
1333 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
1334 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
1335 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
1336 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
1338 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
1339 [__WORDSIZE_TIME64_COMPAT32] instead of
1340 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
1341 (struct utmp): Likewise.
1342 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
1343 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
1345 (__WORDSIZE_TIME64_COMPAT32): This.
1346 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
1347 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
1348 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
1349 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
1350 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
1351 (__WORDSIZE_TIME64_COMPAT32): New macro.
1353 2012-05-21 Andreas Jaeger <aj@suse.de>
1355 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
1356 only if [SHARED]. Add prototype for __wcschr_ia32.
1358 2012-05-21 Roland McGrath <roland@hack.frob.com>
1360 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
1361 of %rbp unmolested in the jmp_buf while mangling the low bits.
1362 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
1363 unmolested high bits of %rbp while demangling the low bits.
1364 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
1366 2012-05-21 Andreas Jaeger <aj@suse.de>
1368 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
1369 * sunrpc/svc_simple.c: Use it for registerrpc.
1370 * sunrpc/xcrypt.c: Use it for passwd2des.
1372 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
1374 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1376 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
1377 Don't define if [__SYSCALL_WORDSIZE != 32].
1378 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
1381 2012-05-21 Bruno Haible <bruno@clisp.org>
1382 Andreas Jaeger <aj@suse.de>
1384 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
1385 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
1386 inptr and inend for must_buffer_ch.
1387 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
1388 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
1389 * stdio-common/Makefile (tests): Remove bug15.
1390 (bug15-ENV): Remove macro.
1391 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
1394 2012-05-19 Andreas Jaeger <aj@suse.de>
1395 Roland McGrath <roland@hack.frob.com>
1397 * manual/contrib.texi: Completely rewritten. It contains now an
1398 alphabetical list of contributors and their contributions.
1400 2012-05-21 Richard Henderson <rth@twiddle.net>
1402 * misc/getauxval.c (__getauxval): Use unsigned long int.
1403 * misc/sys/auxv.h: Include <sys/cdefs.h>.
1404 (getauxval): Use unsigned long int.
1406 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1408 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1410 2012-05-21 Roland McGrath <roland@hack.frob.com>
1412 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
1413 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
1414 __alignof__ (long double).
1416 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1418 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1420 2012-05-20 Richard Henderson <rth@twiddle.net>
1422 * misc/getauxval.c: New file.
1423 * misc/sys/auxv.h: New file.
1424 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
1425 (routines): Add getauxval.
1426 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
1427 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
1428 * elf/dl-sysdep.c (_dl_auxv): Remove.
1429 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
1430 * elf/dl-support.c (_dl_auxv): New variable.
1431 (_dl_aux_init): Initialize it.
1432 * manual/startup.texi (Auxiliary Vector): New node.
1433 * sysdeps/generic/bits/hwcap.h: New file.
1434 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
1435 * sysdeps/powerpc/sysdep.h: ... here. Include it.
1436 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
1437 * sysdeps/sparc/sysdep.h: ... here. Include it.
1438 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
1439 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
1440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
1443 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
1444 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
1445 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
1446 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1447 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1448 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
1449 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
1451 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1453 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1455 2012-05-19 David S. Miller <davem@davemloft.net>
1457 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1459 2012-05-19 Joseph Myers <joseph@codesourcery.com>
1462 * math/s_ccosh.c: Include <float.h>
1463 (__ccosh): Avoid internal overflow calculating sinh and cosh
1464 values before multiplying by sin and cos values.
1465 * math/s_ccoshf.c: Likewise.
1466 * math/s_ccoshl.c: Likewise.
1467 * math/s_csin.c: Likewise.
1468 * math/s_csinf.c: Likewise.
1469 * math/s_csinl.c: Likewise.
1470 * math/s_csinh.c: Likewise.
1471 * math/s_csinhf.c: Likewise.
1472 * math/s_csinhl.c: Likewise.
1473 * math/libm-test.inc (ccos_test): Add more tests.
1474 (ccosh_test): Likewise.
1475 (csin_test): Likewise.
1476 (csinh_test): Likewise.
1477 * sysdeps/i386/fpu/libm-test-ulps: Update.
1478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1480 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
1482 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
1483 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
1485 * sysdeps/x86_64/x32/_itoa.h: Add comment.
1487 2012-05-19 Joseph Myers <joseph@codesourcery.com>
1489 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
1490 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
1491 * sysdeps/powerpc/soft-fp/Versions: Likewise.
1492 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
1493 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
1494 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
1495 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
1496 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
1497 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
1498 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
1499 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
1500 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
1501 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
1502 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
1503 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
1504 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
1505 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
1506 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
1507 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
1508 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
1509 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
1510 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
1511 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
1512 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
1513 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
1514 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
1515 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
1516 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
1517 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
1518 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
1519 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
1521 2012-05-18 Andreas Jaeger <aj@suse.de>
1523 * csu/.gitignore: Delete.
1525 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1527 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
1528 (timex): Use __syscall_slong_t.
1530 2012-05-18 Andreas Jaeger <aj@suse.de>
1531 Carlos O'Donell <carlos_odonell@mentor.com>
1533 * manual/install.texi (Configuring and compiling): Update
1534 description about files modified in the source directory.
1535 * INSTALL: Regenerated.
1537 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1539 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
1540 value. Use "or" to set return value to -1.
1541 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
1542 negate return value.
1544 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1546 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
1547 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
1548 failure if the compiler has Graphite support disabled.
1549 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
1551 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
1552 CFLAGS-memmove.c): Likewise.
1553 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
1556 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1558 * sysdeps/x86_64/x32/_itoa.h: New file.
1560 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
1561 getdents system call only if kernel and user dirents have the
1562 same d_ino and d_off.
1564 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1565 LLONG_MAX != LONG_MAX.
1566 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1567 (_fitoa_word): Likewise.
1569 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
1571 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
1572 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
1573 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
1575 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
1576 include <bits/wordsize.h>. Check __x86_64__ instead of
1578 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
1579 if __x86_64__ is defined. Use anonymous union on fpstate.
1581 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
1584 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
1586 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
1587 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
1588 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
1589 Refer to _rtld_local_ro instead of _rtld_global_ro.
1590 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
1592 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
1594 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
1596 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
1597 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
1598 of _rtld_global, and rtld_progname instead of _dl_argv[0].
1600 * sysdeps/powerpc/powerpc32/dl-machine.c
1601 (__elf_machine_runtime_setup) [PROF]: Don't reference
1604 2012-05-18 Andreas Jaeger <aj@suse.de>
1606 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
1607 function only available for GCCs before 3.4 since GCC 3.4
1608 introduced a builtin.
1610 (llrintf): Likewise.
1618 (nearbyint): Likewise.
1619 (nearbyintf): Likewise.
1625 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1627 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
1628 on both fields and cast pointer to __syscall_ulong_t.
1630 * bits/types.h (__fsword_t): New type.
1631 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
1632 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
1633 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1634 (__FSWORD_T_TYPE): Likewise.
1635 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1636 (__FSWORD_T_TYPE): Likewise.
1637 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1638 (__FSWORD_T_TYPE): Likewise.
1639 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
1640 (__FSWORD_T_TYPE): Likewise.
1641 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
1642 __SWORD_TYPE with __fsword_t.
1643 (statfs64): Likewise.
1645 2012-05-17 David S. Miller <davem@davemloft.net>
1647 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
1649 2012-05-17 Andreas Jaeger <aj@suse.de>
1651 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
1654 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1656 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
1658 2012-05-17 Andreas Jaeger <aj@suse.de>
1660 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
1663 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1665 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
1667 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1669 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
1670 * sysdeps/x86_64/tst-mallocalign1.c: New file.
1672 2012-05-17 Andreas Jaeger <aj@suse.de>
1673 Carlos O'Donell <carlos_odonell@mentor.com>
1676 * sysdeps/x86_64/multiarch/init-arch.h
1677 (bit_YMM_Usable): Rename to...
1678 (bit_AVX_Usable): ... this.
1679 (bit_FMA4_Usable): New macro.
1680 (bit_XMM_state): New macro.
1681 (bit_YMM_state): New macro.
1682 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
1683 [__ASSEMBLER__] (index_AVX_Usable): ... this.
1684 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
1685 (CPUID_OSXSAVE): New macro.
1686 (CPUID_AVX): New macro.
1687 (CPUID_FMA4): New macro.
1688 (index_YMM_Usable): Rename to...
1689 (index_AVX_Usable): ... this.
1690 (HAS_AVX): Use HAS_ARCH_FEATURE.
1691 (HAS_FMA4): Likewise.
1692 (HAS_YMM_USABLE): Remove.
1693 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1694 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
1696 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
1697 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
1698 * sysdeps/x86_64/multiarch/Makefile: Likewise.
1699 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
1700 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
1702 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1704 * math/libm-test.c: Support platforms without multiple rounding modes.
1705 * math/bug-nextafter.c: Support platforms without FP exceptions.
1706 * math/bug-nexttoward.c: Likewise.
1707 * math/test-fenv.c: Likewise.
1708 * math/test-misc.c: Likewise.
1709 * stdlib/bug-getcontext.c: Likewise.
1711 2012-05-17 Andreas Jaeger <aj@suse.de>
1713 * manual/examples/search.c (critter_cmp): Change signature to
1715 * manual/string.texi (Collation Functions): Likewise.
1717 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1719 * bits/types.h: Fold copyright years.
1720 * bits/typesizes.h: Likewise.
1721 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
1722 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
1723 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
1724 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
1725 * time/time.h: Likewise.
1727 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
1730 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
1731 in instead of returning them. Return void.
1732 (__libc_mallinfo): Accumulate over all arenas.
1733 (__malloc_stats): Adjust for change in int_mallinfo interface.
1735 2012-05-16 Roland McGrath <roland@hack.frob.com>
1738 * configure.in (NM): Add AC_CHECK_TOOL for it.
1739 (libc_extra_cflags): New substituted variable.
1740 Check for -fstack-protector being used implicitly.
1741 * configure: Regenerated.
1742 * config.make.in (config-extra-cflags): New variable,
1743 gets @libc_extra_cflags@.
1744 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
1747 * configure.in: Check for _FORTIFY_SOURCE being predefined.
1748 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
1749 * configure: Regenerated.
1750 * config.make.in (CPPUNDEFS): New substituted variable.
1751 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
1752 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
1753 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
1755 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1757 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
1758 (mq_attr): Use __syscall_slong_t.
1760 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1762 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
1763 Check __x86_64__ instead of __WORDSIZE.
1764 (_STAT_VER_LINUX): Likewise.
1765 (stat): Check __x86_64__ instead of __WORDSIZE. Use
1766 __syscall_ulong_t and __syscall_slong_t.
1769 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1771 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
1773 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1775 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
1777 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1779 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
1782 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
1783 include <bits/wordsize.h>. Check __x86_64__ instead of
1785 (greg_t): Use "__extension__ long long int" if __x86_64__ is
1787 (mcontext_t): Replace "unsigned long" with "unsigned long long".
1789 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
1790 include <bits/wordsize.h>. Check __x86_64__ instead of
1792 (user_regs_struct): Use "__extension__ unsigned long long"
1793 instead of "unsigned long" if __x86_64__ is defined.
1794 (user): Likewise. Pad after pointer field if __ILP32__ is
1797 2012-05-16 Joseph Myers <joseph@codesourcery.com>
1799 * configure.in (makeinfo): Require version 4.5 or later. Allow
1801 * configure: Regenerated.
1802 * manual/install.texi (texinfo): Increase version requirement to
1804 * INSTALL: Regenerated.
1806 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
1808 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1810 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
1812 * sysdeps/x86_64/x32/ffs.c: New file.
1814 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
1816 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
1817 defined. Use __syscall_ulong_t.
1818 (shminfo): Use __syscall_ulong_t.
1819 (shm_info): Likewise.
1821 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
1824 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
1826 (msgqnum_t): Use __syscall_ulong_t.
1827 (msglen_t): Likewise.
1828 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
1831 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
1832 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1834 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
1836 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
1837 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
1839 * sysvipc/sys/msg.h (msgbuf): Replace long int with
1842 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
1843 include <bits/wordsize.h>. Check __x86_64__ instead of
1846 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
1847 "unsigned long long int" if __x86_64__ is defined.
1848 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
1850 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
1851 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1852 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
1854 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
1856 (GET_PC): Cast to uintptr_t first.
1857 (GET_FRAME): Likewise.
1858 (GET_STACK): Likewise.
1860 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
1861 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
1862 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
1863 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
1864 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
1865 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
1866 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
1867 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
1868 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
1869 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
1870 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
1871 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
1872 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1873 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
1874 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
1875 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
1876 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
1877 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
1878 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
1879 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
1880 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
1881 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
1882 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
1883 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
1884 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
1885 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
1886 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
1887 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
1888 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
1890 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
1892 * Makerules (+depfiles): Also collect depfiles from .oS in
1894 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
1895 .oS, $(libnldbl-routines)).
1897 * Makerules (native-compile-mkdep-flags): Define.
1898 * sunrpc/Makefile (extra-objs): Add $(addprefix
1899 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
1900 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
1901 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
1902 calling $(make-target-directory).
1904 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1906 * bits/types.h (__snseconds_t): Removed.
1907 * time/time.h (struct timespec): Replace __snseconds_t with
1909 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
1910 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
1912 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1913 (__SNSECONDS_T_TYPE): Likewise.
1914 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1915 (__SNSECONDS_T_TYPE): Likewise.
1916 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1917 (__SNSECONDS_T_TYPE): Likewise.
1919 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1921 * sysdeps/mach/hurd/bits/typesizes.h
1922 (__SYSCALL_SLONG_TYPE): New macro.
1923 (__SYSCALL_ULONG_TYPE): Likewise.
1925 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1927 * bits/types.h (__syscall_slong_t): New type.
1928 (__syscall_ulong_t): Likewise.
1930 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
1931 (__SYSCALL_ULONG_TYPE): Likewise.
1932 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1933 (__SYSCALL_SLONG_TYPE): Likewise.
1934 (__SYSCALL_ULONG_TYPE): Likewise.
1935 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1936 (__SYSCALL_SLONG_TYPE): Likewise.
1937 (__SYSCALL_ULONG_TYPE): Likewise.
1938 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1939 (__SYSCALL_SLONG_TYPE): Likewise.
1940 (__SYSCALL_ULONG_TYPE): Likewise.
1942 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1944 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
1945 Add sigaltstack-offsets.sym.
1946 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
1947 <sigaltstack-offsets.h>.
1948 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
1949 longjmp_msg pointer.
1950 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
1951 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
1953 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
1955 2012-05-15 Joseph Myers <joseph@codesourcery.com>
1957 * elf/stackguard-macros.h: Remove file.
1958 * sysdeps/generic/stackguard-macros.h: New file.
1959 * sysdeps/i386/stackguard-macros.h: Likewise.
1960 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
1961 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
1962 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
1963 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
1964 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
1965 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
1966 * sysdeps/x86_64/stackguard-macros.h: Likewise.
1967 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
1968 <elf/stackguard-macros.h>.
1971 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
1972 __aligned__ in attribute.
1973 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
1974 (gregset_t): Likewise.
1976 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1978 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
1979 * sysdeps/x86_64/64/Implies-after: Here. New file.
1980 * sysdeps/x86_64/x32/Implies-after: New file.
1982 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1984 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
1985 and access return value for _dl_profile_fixup. Use R10_LP to
1988 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1990 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
1992 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1994 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
1995 * sysdeps/x86_64/x32/sysdep.h: New file.
1997 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1999 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
2000 * sysdeps/x86_64/setjmp.S: Likewise.
2002 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2004 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
2005 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
2006 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
2007 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
2008 remove unused global constant.
2010 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
2012 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
2013 include of <not-cancel.h>.
2015 2012-05-15 Roland McGrath <roland@hack.frob.com>
2017 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
2019 2012-05-15 Jeff Law <law@redhat.com>
2020 Andreas Jaeger <aj@suse.de>
2023 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
2025 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
2026 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
2027 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
2028 code changing __hst_map_handle.map.
2030 2012-05-15 Roland McGrath <roland@hack.frob.com>
2032 * configure.in (sysnames): Look for Implies-before and Implies-after
2034 * configure: Regenerated.
2036 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2038 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
2039 8-byte data alignment with LP_SIZE alignment.
2041 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2043 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
2046 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2048 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
2050 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2052 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
2053 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
2054 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
2056 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2058 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2060 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
2061 (stackinfo_sub_sp): Likewise.
2063 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2065 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
2068 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2070 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
2073 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2075 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
2078 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2080 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
2082 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2084 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
2085 into R11_LP and load __x86_64_shared_cache_size_half into
2088 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2090 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
2093 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2095 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
2097 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
2099 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
2101 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
2102 powerpc32/power7/fpu/s_logb.c via #include.
2103 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
2104 powerpc32/power7/fpu/s_logbf.c via #include.
2105 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
2106 powerpc32/power7/fpu/s_logbl.c via #include.
2108 2012-05-15 Joseph Myers <joseph@codesourcery.com>
2110 * README.libm: Remove file.
2112 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2114 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
2115 count for x32. Use R*_LP and omit operand-size suffix.
2117 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2119 * shlib-versions: Move x86_64-.*-linux.* entries to ...
2120 * sysdeps/x86_64/64/shlib-versions: Here. New file.
2121 * sysdeps/x86_64/x32/shlib-versions: New file.
2123 2012-05-14 Roland McGrath <roland@hack.frob.com>
2125 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
2126 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
2127 Use _dl_fatal_printf instead.
2129 2012-05-14 Joseph Myers <joseph@codesourcery.com>
2131 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
2132 set if not set by the user. Do not allow for being unset.
2133 * sysdeps/unix/sysv/linux/configure: Regenerated.
2135 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2137 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
2138 the `q' suffix from lea and replace .quad with ASM_ADDR.
2140 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2142 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
2143 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
2145 (PTR_DEMANGLE): Likewise.
2147 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2149 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
2151 (ASM_ADDR): Likewise.
2169 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2171 * sysdeps/x86_64/x32/dl-machine.h: New file.
2173 2012-05-14 Andreas Jaeger <aj@suse.de>
2175 * manual/Makefile (subdir): Remove export of subdir.
2176 (all): Remove target.
2177 (.PHONY): Remove all from list.
2178 (mkinstalldirs): Remove.
2179 (.PHONY): Remove installdirs from list.
2180 ($(inst_infodir)/libc.info): Use make-target-directory.
2181 (installdirs): Remove.
2183 (glibc-targets): Remove.
2186 ($(objpfx)stubs ../po/manual.pot): Remove.
2187 ($(objpfx)stamp%): Remove.
2188 (make-target-directory): Remove.
2189 (subdir_install): Remove.
2197 * manual/.gitignore: Remove, it's not needed anymore.
2198 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
2200 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
2202 (texis): Renamed to $(objpfx)texis.
2203 (texis-path): New, contains path to generated files.
2204 (chapters.%): Use texis-path for complete path, add extra argument
2206 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
2207 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
2208 (summary,texi, stamp-summary): Use complete path of
2209 files. Generate files in build dir.
2210 (dir-add.texi): Build in build dir.
2211 (libm-err.texi,stamp-libm-err): Likewise.
2212 (version.texi, stamp-version): Likewise.
2213 (.%c.texi): Likewise.
2214 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
2215 (mostlyclean): Remove target.
2216 (realclean): Remove target.
2217 (generated): Add new variable with contents from mostlyclean and
2218 realclean, remove entries duplicated in common-mostlyclean, add
2219 stamp-libm-err and stamp-version.
2220 (generated-dirs): Add libc directory.
2221 ($(inst_infodir)/libc.info): Install files from build dir.
2223 * manual/install.texi (Configuring and compiling): Adjust since
2224 the info files are not part of the tar ball anymore.
2226 2012-05-14 Andreas Jaeger <aj@suse.de>
2228 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
2231 2012-05-14 Joseph Myers <joseph@codesourcery.com>
2234 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2235 to 2.2.0 where earlier.
2236 * sysdeps/unix/sysv/linux/configure: Regenerated.
2237 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
2238 Remove conditional code.
2239 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
2240 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
2241 Remove conditional code.
2242 [!__NR_lchown]: Likewise.
2243 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2244 [__NR_lchown]: Likewise.
2245 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
2246 comment referencing __ASSUME_LCHOWN_SYSCALL.
2247 * sysdeps/unix/sysv/linux/i386/sigaction.c
2248 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2249 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2250 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
2251 Remove conditional code.
2252 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
2253 (__protocol_available): Remove #if 0 code.
2254 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
2256 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
2257 * sysdeps/unix/sysv/linux/kernel-features.h
2258 (__ASSUME_GETCWD_SYSCALL): Don't define.
2259 (__ASSUME_REALTIME_SIGNALS): Likewise.
2260 (__ASSUME_PREAD_SYSCALL): Likewise.
2261 (__ASSUME_PWRITE_SYSCALL): Likewise.
2262 (__ASSUME_POLL_SYSCALL): Likewise.
2263 (__ASSUME_LCHOWN_SYSCALL): Likewise.
2264 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
2266 (__ASSUME_SIOCGIFNAME): Don't define.
2267 (__ASSUME_MSG_NOSIGNAL): Likewise.
2268 (__ASSUME_SENDFILE): Define unconditionally.
2269 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
2270 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
2272 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
2273 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
2274 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2275 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2276 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
2277 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2278 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
2280 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2281 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2283 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2284 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
2286 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2287 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2289 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2290 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
2292 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2293 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
2295 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2296 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
2298 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2299 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
2301 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2302 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2303 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
2304 Remove conditional code.
2305 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2306 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2307 Remove conditional code.
2308 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2309 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
2310 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
2311 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2312 Remove conditional code.
2313 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2314 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
2315 Remove conditional code.
2316 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2317 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
2318 Remove conditional code.
2319 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2320 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2321 Remove conditional code.
2322 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2323 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2324 Remove conditional code.
2325 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2326 * sysdeps/unix/sysv/linux/sh/pwrite64.c
2327 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2328 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2329 * sysdeps/unix/sysv/linux/sigaction.c
2330 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2331 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2332 * sysdeps/unix/sysv/linux/sigpending.c
2333 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2334 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2335 * sysdeps/unix/sysv/linux/sigprocmask.c
2336 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2337 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2338 * sysdeps/unix/sysv/linux/sigsuspend.c
2339 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2340 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2341 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2342 (__libc_missing_rt_sigs): Remove.
2343 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
2344 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
2345 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
2346 Remove conditional code.
2347 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
2348 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
2350 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
2351 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
2352 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
2353 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
2355 2012-05-14 Andreas Jaeger <aj@suse.de>
2357 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
2358 it's not used in glibc.
2359 (__coshm1): Likewise.
2360 (__acosh1p): Likewise.
2363 * manual/string.texi (Copying and Concatenation): Add missing
2364 variable in concat example.
2365 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2367 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2370 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
2371 __builtin_clzl with __builtin_clzll.
2373 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2376 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
2379 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2381 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
2382 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
2383 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
2384 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
2386 2012-05-14 Mike Frysinger <vapier@gentoo.org>
2388 * NEWS: Update ia64 info.
2390 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
2392 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
2395 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
2397 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
2398 * sysdeps/unix/syscalls.list (dup3): Likewise.
2399 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
2400 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
2402 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2404 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
2405 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
2407 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2409 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
2411 (TLS_IE): Use mov/add instead of movq/addq to load thread
2413 (TLS_GD_PREFIX): New.
2416 2012-05-11 David S. Miller <davem@davemloft.net>
2418 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
2419 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
2420 (_FPU_SETCW): Likewise.
2422 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2424 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
2427 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
2430 * iconvdata/gb18030.c: Update tables.
2431 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
2432 characters specially.
2433 (BODY for TO_LOOP): Add encoding of missing ranges.
2435 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
2438 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
2439 * sysdeps/mach/hurd/dup3.c: Likewise.
2440 * sysdeps/mach/hurd/readlinkat.c: Likewise.
2441 * sysdeps/powerpc/memmove.c:: Likewise.
2443 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2445 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
2446 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
2448 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2450 * elf/elf.h (R_X86_64_RELATIVE64): New.
2451 (R_X86_64_NUM): Updated.
2452 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
2453 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
2454 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
2455 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
2456 tst-quad1pie tst-quad2pie
2457 (modules-names): Add tst-quadmod1 tst-quadmod2.
2458 ($(objpfx)tst-quad1): New dependency.
2459 ($(objpfx)tst-quad2): Likewise.
2460 ($(objpfx)tst-quad1pie): Likewise.
2461 ($(objpfx)tst-quad2pie): Likewise.
2462 * sysdeps/x86_64/tst-quad1.c: New file.
2463 * sysdeps/x86_64/tst-quad1pie.c: New file.
2464 * sysdeps/x86_64/tst-quad2.c: Likewise.
2465 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
2466 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
2467 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
2468 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
2469 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
2471 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2473 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
2474 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
2475 * streams/stropts.h (t_scalar_t): Define type.
2477 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
2478 (_PATH_PRESERVE): Set to "/var/lib".
2479 (_PATH_RWHODIR): Set to "/var/spool/rwho".
2481 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
2484 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
2485 if __dir_mkfile succeeded.
2487 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
2488 checking for _hurd_dtablesize. Unlock it right after having
2489 finished _hurd_dtable allocation.
2491 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2493 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
2494 * sysdeps/mach/hurd/configure: Regenerated.
2495 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
2496 special-casing to...
2497 * sysdeps/gnu/configure.in: ... this new file.
2498 * sysdeps/unix/sysv/linux/configure: Regenerated.
2499 * sysdeps/gnu/configure: New generated file.
2501 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
2502 for Linux: use nsec instead of usec, as well as:
2503 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
2504 members of type struct timespec.
2505 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
2507 (struct stat64): Likewise.
2508 (_STATBUF_ST_NSEC): New macro.
2509 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
2511 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
2512 __strtoul_internal rather than strtoul.
2514 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2516 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
2519 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2521 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
2522 which preserves existing values.
2523 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
2525 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2527 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
2528 TIMEOUT values. Return EINVAL for NFDS values either negative or
2529 greater than FD_SETSIZE.
2531 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2533 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
2534 allocated, call __vm_protect to finish enabling the existing space, and
2535 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
2536 allocate the remainder.
2538 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2540 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
2541 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
2543 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2545 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
2546 sysdeps/mach/hurd/readlink.c.
2548 * posix/tst-sysconf.c (posix_options): Only use
2549 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
2550 _POSIX_SYNCHRONIZED_IO when they are defined
2551 * sysdeps/mach/hurd/bits/posix_opt.h:
2552 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
2553 (_XOPEN_REALTIME): Undefine macro.
2554 (_XOPEN_REALTIME_THREADS): Undefine macro.
2555 (_XOPEN_SHM): Undefine macro.
2556 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
2558 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
2560 (_POSIX_ASYNC_IO): Undefine macro.
2561 (_POSIX_PRIORITIZED_IO): Undefine macro.
2562 (_POSIX_SPIN_LOCKS): Define macro to -1.
2564 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
2565 SA_NODEFER, SA_RESETHAND.
2566 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
2567 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
2570 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2572 * elf/Makefile (pldd-modules): Define unconditionally.
2574 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2576 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
2578 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2580 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
2581 Return ENOENT when name is empty.
2582 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
2584 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2586 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
2588 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
2590 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2592 Fix mlock in all cases except non-readable pages.
2593 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
2594 instead of VM_PROT_ALL as parameter to __vm_wire function.
2596 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
2597 (__mkdir): When path is `/', just fail with EEXIST.
2598 * sysdeps/mach/hurd/mkdirat.c: Likewise.
2600 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2602 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
2603 <sys/uio.h> (for writev).
2604 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
2605 and <sys/param.h> (for MIN).
2607 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2609 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
2610 REQUESTED_TIME. Properly set the remaining time and return EINTR
2613 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2615 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
2616 Depend on against $(link-rpcuserlibs).
2618 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2620 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
2621 (__libc_stack_end): Do not use attribute_relro.
2622 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
2623 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
2624 to libthread-provided value.
2625 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
2628 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2631 * bits/libc-lock.h (__libc_once_get): New macro.
2632 * sysdeps/mach/bits/libc-lock.h: Likewise.
2633 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
2634 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
2635 instead of using implementation details.
2637 * libio/fileops.c: Unconditionally include <kernel-features.h>.
2638 * libio/freopen.c: Likewise.
2639 * libio/freopen64.c: Likewise.
2640 * misc/syslog.c: Likewise.
2641 * nscd/connections.c: Likewise.
2642 * nscd/netgroupcache.c: Likewise.
2643 * sysdeps/posix/getcwd.c: Likewise.
2645 2012-05-10 Roland McGrath <roland@hack.frob.com>
2647 * math/w_ilogbf.c: Add #include <limits.h>.
2649 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2651 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
2652 path instead of returning without unlocking.
2654 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
2655 immediate-write ioctls.
2656 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
2658 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2660 * sysdeps/mach/hurd/i386/init-first.c (init): Use
2661 __builtin_frame_address instead of making assumptions about the
2662 location of the return address relative to DATA. Force early load of
2664 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
2665 __builtin_frame_address.
2668 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
2669 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
2670 implement dup3 and do some further code clean-ups.
2671 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
2672 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
2674 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2676 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
2678 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
2679 HURD_CRITICAL_END around holding _hurd_dtable_lock.
2680 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
2681 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
2682 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
2685 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
2686 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
2687 when handler == SIG_ERR, not when handler != SIG_ERR.
2689 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2691 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
2692 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
2695 accept4 for GNU Hurd.
2696 * include/sys/socket.h (__libc_accept4): New prototype.
2697 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
2698 to implement __libc_accept4.
2699 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
2701 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
2703 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
2704 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
2705 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
2708 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2710 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
2712 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2714 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
2715 assertion on O_CLOEXEC flag.
2716 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
2717 * hurd/intern-fd.c: Likewise.
2718 * hurd/port2fd.c: Likewise.
2720 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2723 * bits/in.h (IPV6_PKTINFO): Define new macro.
2724 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
2726 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2731 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
2732 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2733 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
2734 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
2735 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2736 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
2737 * math/libm-test.inc (logb_test) : Additional logb tests.
2739 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
2740 Andreas Jaeger <aj@suse.de>
2742 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
2743 * configure: Regenerated.
2744 * config.h.in (LINK_OBSOLETE_RPC): New macro.
2745 * config.make.in (link-obsolete-rpc): New substituted variable.
2746 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
2747 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
2748 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2749 (shared-only-routines): Don't set it under [link-obsolete-rpc],
2750 so that libc.a contains the symbols.
2751 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2752 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
2753 * sunrpc/auth_none.c: Likewise.
2754 * sunrpc/auth_unix.c: Likewise.
2755 * sunrpc/authdes_prot.c: Likewise.
2756 * sunrpc/authuxprot.c: Likewise.
2757 * sunrpc/clnt_gen.c: Likewise.
2758 * sunrpc/clnt_perr.c: Likewise.
2759 * sunrpc/clnt_raw.c: Likewise.
2760 * sunrpc/clnt_simp.c: Likewise.
2761 * sunrpc/clnt_tcp.c: Likewise.
2762 * sunrpc/clnt_udp.c: Likewise.
2763 * sunrpc/clnt_unix.c: Likewise.
2764 * sunrpc/des_crypt.c: Likewise.
2765 * sunrpc/des_soft.c: Likewise.
2766 * sunrpc/get_myaddr.c: Likewise.
2767 * sunrpc/key_call.c: Likewise.
2768 * sunrpc/key_prot.c: Likewise.
2769 * sunrpc/netname.c: Likewise.
2770 * sunrpc/pm_getmaps.c: Likewise.
2771 * sunrpc/pm_getport.c: Likewise.
2772 * sunrpc/pmap_clnt.c: Likewise.
2773 * sunrpc/pmap_prot.c: Likewise.
2774 * sunrpc/pmap_prot2.c: Likewise.
2775 * sunrpc/pmap_rmt.c: Likewise.
2776 * sunrpc/publickey.c: Likewise.
2777 * sunrpc/rpc_cmsg.c: Likewise.
2778 * sunrpc/rpc_common.c: Likewise.
2779 * sunrpc/rpc_dtable.c: Likewise.
2780 * sunrpc/rpc_prot.c: Likewise.
2781 * sunrpc/rpc_thread.c: Likewise.
2782 * sunrpc/rtime.c: Likewise.
2783 * sunrpc/svc.c: Likewise.
2784 * sunrpc/svc_auth.c: Likewise.
2785 * sunrpc/svc_raw.c: Likewise.
2786 * sunrpc/svc_run.c: Likewise.
2787 * sunrpc/svc_tcp.c: Likewise.
2788 * sunrpc/svc_udp.c: Likewise.
2789 * sunrpc/svc_unix.c: Likewise.
2790 * sunrpc/svcauth_des.c: Likewise.
2791 * sunrpc/xcrypt.c: Likewise.
2792 * sunrpc/xdr.c: Likewise.
2793 * sunrpc/xdr_array.c: Likewise.
2794 * sunrpc/xdr_float.c: Likewise.
2795 * sunrpc/xdr_intXX_t.c: Likewise.
2796 * sunrpc/xdr_mem.c: Likewise.
2797 * sunrpc/xdr_rec.c: Likewise.
2798 * sunrpc/xdr_ref.c: Likewise.
2799 * sunrpc/xdr_sizeof.c: Likewise.
2800 * sunrpc/xdr_stdio.c: Likewise.
2802 2012-05-10 Roland McGrath <roland@hack.frob.com>
2804 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
2805 change. Update copyright years.
2807 2012-05-10 Joseph Myers <joseph@codesourcery.com>
2809 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
2811 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
2812 Joseph Myers <joseph@codesourcery.com>
2813 Paul Pluzhnikov <ppluzhnikov@google.com>
2816 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
2818 [cross-compiling] (extra-libs): Likewise.
2819 [cross-compiling] (extra-libs-others): Likewise.
2820 [cross-compiling] (librpcsvc-routines): Likewise.
2821 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
2822 [cross-compiling] (omit-deps): Likewise.
2823 (sunrpc-CPPFLAGS): New variable.
2824 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
2825 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
2826 (cross-rpcgen-objs): New variable.
2827 (extra-objs): Append $(cross-rpcgen-objs).
2828 ($(cross-rpcgen-objs)): New rule.
2829 ($(objpfx)cross-rpcgen): Likewise.
2830 (rpcgen-cmd): Define to use $(built-program-file). Expand
2832 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
2833 ($(objpfx)x%.stmp): Likewise.
2834 * sunrpc/proto.h [IS_IN_build] (_): Define.
2835 [IS_IN_build] (_libc_intl_domainname): Likewise.
2837 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2839 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
2840 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
2841 and R_X86_64_TPOFF64.
2843 2012-05-10 Joseph Myers <joseph@codesourcery.com>
2845 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
2846 sysdeps/unix/sysv/syscalls.list.
2849 * sysdeps/unix/sysv/syscalls.list: Remove file.
2851 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
2854 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
2855 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
2856 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
2857 (__LC_IDENTIFICATION): Make these macros useful in #if
2858 expressions, as required by C99.
2860 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
2862 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
2863 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
2866 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
2868 * stdlib/longlong.h: Updated from GCC.
2870 2012-05-09 Andreas Jaeger <aj@suse.de>
2872 * nscd/nscd.c (run_modes): Make named enum, reorder so that
2873 default is first entry.
2874 (run_mode): Set type.
2875 (main): Remove informal message about syslog.
2876 (options): Fix typo.
2879 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
2882 (llrintf): Likewise.
2886 (nearbyint): Likewise.
2887 (nearbyintf): Likewise.
2889 2012-05-09 Andreas Jaeger <aj@suse.de>
2890 Pedro Alves <palves@redhat.com>
2892 * nscd/nscd.c (run_mode): Use enum.
2893 (main): Cleanup coding style issue.
2895 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
2896 Andreas Jaeger <aj@suse.de>
2898 * nscd/nscd.c (go_background): Replaced with...
2899 (run_mode): ... this.
2900 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
2901 (options): Add -F --foreground.
2902 (main): Implement it.
2903 (parse_opt): Parse it.
2905 2012-05-09 Andreas Jaeger <aj@suse.de>
2908 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
2909 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
2910 -Wconversion warning.
2911 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
2914 2012-05-09 Joseph Myers <joseph@codesourcery.com>
2916 * conform/data/locale.h-data (NULL): Use macro-constant. Require
2918 (LC_ALL): Use macro-int-constant.
2919 (LC_COLLATE): Likewise.
2920 (LC_CTYPE): Likewise.
2921 (LC_MESSAGES): Likewise.
2922 (LC_MONETARY): Likewise.
2923 (LC_NUMERIC): Likewise.
2924 (LC_TIME): Likewise.
2925 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
2926 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
2927 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2928 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
2930 [C99-based standards] (float_t): Expect type.
2931 [C99-based standards] (double_t): Expect type.
2932 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
2934 [C99-based standards] (HUGE_VALL): Likewise.
2935 [C99-based standards] (INFINITY): Likewise.
2936 [C99-based standards] (NAN): Likewise.
2937 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
2938 [C99-based standards] (FP_NAN): Likewise.
2939 [C99-based standards] (FP_NORMAL): Likewise.
2940 [C99-based standards] (FP_SUBNORMAL): Likewise.
2941 [C99-based standards] (FP_ZERO): Likewise.
2942 [C99-based standards] (FP_FAST_FMA): Use
2943 optional-macro-int-constant. Specify type. Require == 1.
2944 [C99-based standards] (FP_FAST_FMAF): Likewise.
2945 [C99-based standards] (FP_FAST_FMAL): Likewise.
2946 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
2947 [C99-based standards] (FP_ILOGBNAN): Likewise.
2948 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
2950 [C99-based standards] (MATH_ERREXCEPT): Likewise.
2951 [C99-based standards] (math_errhandling): Specify type.
2952 [ISO99 || ISO11] (signgam): Do not allow.
2953 [non-C99-based standards] (copysignf): Do not allow.
2954 [non-C99-based standards] (exp2f): Likewise.
2955 [non-C99-based standards] (log2f): Likewise.
2956 [non-C99-based standards] (modff): Allow.
2957 [non-C99-based standards] (erff): Do not allow.
2958 [non-C99-based standards] (erfcf): Likewise.
2959 [non-C99-based standards] (gammaf): Likewise.
2960 [non-C99-based standards] (hypotf): Likewise.
2961 [non-C99-based standards] (j0f): Likewise.
2962 [non-C99-based standards] (j1f): Likewise.
2963 [non-C99-based standards] (jnf): Likewise.
2964 [non-C99-based standards] (lgammaf): Likewise.
2965 [non-C99-based standards] (tgammaf): Likewise.
2966 [non-C99-based standards] (y0f): Likewise.
2967 [non-C99-based standards] (y1f): Likewise.
2968 [non-C99-based standards] (ynf): Likewise.
2969 [non-C99-based standards] (isnanf): Likewise.
2970 [non-C99-based standards] (acoshf): Likewise.
2971 [non-C99-based standards] (asinhf): Likewise.
2972 [non-C99-based standards] (atanhf): Likewise.
2973 [non-C99-based standards] (cbrtf): Likewise.
2974 [non-C99-based standards] (expm1f): Likewise.
2975 [non-C99-based standards] (ilogbf): Likewise.
2976 [non-C99-based standards] (log1pf): Likewise.
2977 [non-C99-based standards] (logbf): Likewise.
2978 [non-C99-based standards] (nextafterf): Likewise.
2979 [non-C99-based standards] (remainderf): Likewise.
2980 [non-C99-based standards] (rintf): Likewise.
2981 [non-C99-based standards] (scalbf): Likewise.
2982 [non-C99-based standards] (copysignl): Likewise.
2983 [non-C99-based standards] (exp2l): Likewise.
2984 [non-C99-based standards] (log2l): Likewise.
2985 [non-C99-based standards] (modfl): Allow.
2986 [non-C99-based standards] (erfl): Do not allow.
2987 [non-C99-based standards] (erfcl): Likewise.
2988 [non-C99-based standards] (gammal): Likewise.
2989 [non-C99-based standards] (hypotl): Likewise.
2990 [non-C99-based standards] (j0l): Likewise.
2991 [non-C99-based standards] (j1l): Likewise.
2992 [non-C99-based standards] (jnl): Likewise.
2993 [non-C99-based standards] (lgammal): Likewise.
2994 [non-C99-based standards] (tgammal): Likewise.
2995 [non-C99-based standards] (y0l): Likewise.
2996 [non-C99-based standards] (y1l): Likewise.
2997 [non-C99-based standards] (ynl): Likewise.
2998 [non-C99-based standards] (isnanl): Likewise.
2999 [non-C99-based standards] (acoshl): Likewise.
3000 [non-C99-based standards] (asinhl): Likewise.
3001 [non-C99-based standards] (atanhl): Likewise.
3002 [non-C99-based standards] (cbrtl): Likewise.
3003 [non-C99-based standards] (expm1l): Likewise.
3004 [non-C99-based standards] (ilogbl): Likewise.
3005 [non-C99-based standards] (log1pl): Likewise.
3006 [non-C99-based standards] (logbl): Likewise.
3007 [non-C99-based standards] (nextafterl): Likewise.
3008 [non-C99-based standards] (remainderl): Likewise.
3009 [non-C99-based standards] (rintl): Likewise.
3010 [non-C99-based standards] (scalbl): Likewise.
3011 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3012 [non-C99-based standards] (FP_*): Do not allow.
3013 [C99-based standards] (FP_*): Change to
3014 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3015 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3017 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
3018 (SIG_ERR): Likewise.
3019 [X/Open-based standards] (SIG_HOLD): Likewise.
3020 (SIG_IGN): Likewise.
3021 (SIGABRT): Use macro-int-constant. Specify type. Require
3026 (SIGSEGV): Likewise.
3028 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
3029 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
3030 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
3031 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
3032 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
3033 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
3034 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
3035 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
3036 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
3037 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
3038 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
3039 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
3040 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
3041 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
3042 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
3043 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
3044 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
3045 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
3046 [X/Open-based standards] (SIGTRAP): Likewise.
3047 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
3048 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
3049 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
3050 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
3051 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3054 2012-05-08 Ian Wienand <ianw@vmware.com>
3057 * time/tzset.c (__tzset_parse_tz): Update default rules for
3058 daylight time changes in the Energy Policy Act of 2005.
3060 2012-05-09 Andreas Jaeger <aj@suse.de>
3063 * elf/ldconfig.c (parse_conf): Change string to make clear that
3064 ldconfig only issued a warning if ld.so.conf does not exist.
3066 2012-05-08 David S. Miller <davem@davemloft.net>
3068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
3069 movxtod instead of popping the value on the stack.
3071 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3073 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
3075 * config.h.in: Add HAVE_ARM_PCS_VFP.
3077 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
3080 * include/features.h: Warn if user requests __FORTIFY_SOURCE
3081 checking but the checks are disabled for any reason.
3083 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
3085 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
3086 and ELF64_R_TYPE with ELFW(R_TYPE).
3088 2012-05-08 Joseph Myers <joseph@codesourcery.com>
3090 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
3093 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
3094 (settimeofday): Likewise.
3096 2012-05-08 Mike Frysinger <vapier@gentoo.org>
3098 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
3099 a struct th_u2 inside the union, and move tu_block/tu_code into
3100 a new th_u3 union of tu_block/tu_code inside of that. Move
3101 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
3102 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
3103 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
3104 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
3105 (th_stuff): Change to th_u1.tu_stuff.
3107 (th_msg): Change to th_u1.th_u2.tu_data.
3109 2012-05-07 David S. Miller <davem@davemloft.net>
3111 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3114 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
3115 (SETUP_PIC_REG): Use it.
3116 (SETUP_PIC_REG_LEAF): Use it.
3118 2012-05-07 Joseph Myers <joseph@codesourcery.com>
3122 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3124 (EXPL_FINITE): Likewise.
3126 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3127 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3129 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3131 (EXPL_FINITE): Likewise.
3133 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3134 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3136 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
3137 test of -max_value argument for long double.
3138 * sysdeps/i386/fpu/libm-test-ulps: Update.
3139 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3141 2012-05-06 David S. Miller <davem@davemloft.net>
3143 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
3144 quad soft-float symbols whose references which are compiler
3146 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
3148 2012-05-06 Joseph Myers <joseph@codesourcery.com>
3152 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3154 (EXPL_FINITE): Likewise.
3158 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3159 Adjust comments for base varying.
3160 (__expl_finite): Change alias to EXPL_FINITE.
3161 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
3163 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
3164 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
3165 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3166 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
3167 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3169 (EXPL_FINITE): Likewise.
3173 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3174 Adjust comments for base varying.
3175 (__expl_finite): Change alias to EXPL_FINITE.
3176 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
3178 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3181 * math/libm-test.inc (check_float_internal): Correct ulp
3182 calculation for subnormal expected results.
3184 2012-05-06 Andreas Jaeger <aj@suse.de>
3186 * Makeconfig (+math-flags): New, set to -frounding-math.
3187 (+cflags): Add +math-flags so that all of glibc gets compiled with
3190 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
3192 2012-05-05 Joseph Myers <joseph@codesourcery.com>
3194 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
3200 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
3201 (__ieee754_expl): Allow for and saturate large arguments.
3202 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
3203 (u_threshold): Likewise.
3204 (__exp): Call __ieee754_exp before checking for overflow and
3206 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
3207 (u_threshold): Likewise.
3208 (__expf): Call __ieee754_expf before checking for overflow and
3210 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
3211 (u_threshold): Likewise.
3212 (__expl): Call __ieee754_expl before checking for overflow and
3214 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
3215 (__ieee754_expl): Allow for and saturate large arguments.
3216 * math/libm-test.inc (exp_test): Add another test. Do not allow
3217 missing overflow exception on overflow.
3218 (expm1_test): Do not allow missing overflow exception on overflow.
3220 * sysdeps/i386/fpu/e_expl.c: Move to ...
3221 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
3222 rather than using inline asm.
3223 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
3224 * sysdeps/x86_64/fpu/e_expl.S: Copy from
3225 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
3227 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
3234 2012-05-04 Joseph Myers <joseph@codesourcery.com>
3236 * sysdeps/unix/syscalls.list (adjtime): Add entry from
3237 sysdeps/unix/common/syscalls.list.
3240 (ftruncate): Likewise.
3241 (getrusage): Likewise.
3242 (gettimeofday): Likewise.
3243 (setpgid): Likewise.
3244 (setregid): Likewise.
3245 (setreuid): Likewise.
3246 (sigaction): Likewise.
3247 (truncate): Likewise.
3248 (vhangup): Likewise.
3249 * sysdeps/unix/common/syscalls.list: Remove file.
3250 * sysdeps/unix/bsd/Implies: Don't include unix/common.
3251 * sysdeps/unix/sysv/linux/Implies: Likewise.
3253 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
3255 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
3256 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
3257 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
3259 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3261 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
3263 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
3264 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
3266 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
3267 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
3269 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
3270 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
3272 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
3273 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
3275 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
3276 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
3278 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
3279 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
3281 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3283 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
3285 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
3287 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
3289 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
3290 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
3292 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
3294 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
3296 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
3298 2012-05-04 Joseph Myers <joseph@codesourcery.com>
3300 * sysdeps/unix/common/bits/dirent.h: Remove file.
3301 * sysdeps/unix/common/bits/fcntl.h: Likewise.
3303 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
3304 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
3305 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
3306 * sysdeps/unix/bsd/isatty.c: Likewise.
3307 * sysdeps/unix/bsd/tcdrain.c: Likewise.
3308 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
3309 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
3311 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3314 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
3315 long double comparison inaccuracies.
3316 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
3317 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3319 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
3321 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
3322 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
3324 2012-05-04 Joseph Myers <joseph@codesourcery.com>
3327 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
3328 nonzero digits before rounding a hex value.
3329 * stdlib/tst-strtod.c (tests): Add another test.
3331 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3333 * sysdeps/s390/fpu/libm-test-ulps: Update.
3335 2012-05-03 Andreas Jaeger <aj@suse.de>
3337 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
3338 does not get optimized out.
3339 (malloc_opt_barrier): New.
3341 2012-05-03 Andreas Jaeger <aj@suse.de>
3342 Roland McGrath <roland@hack.frob.com>
3344 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
3345 intermediate file deletion.
3346 (generated): Add .symlist files.
3348 2012-05-03 Joseph Myers <joseph@codesourcery.com>
3351 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
3352 Redirect under this condition.
3353 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3354 [__USE_GNU] (__dprintf_chk): Not under this condition.
3355 [__USE_GNU] (__vdprintf_chk): Likewise.
3356 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
3357 under this condition.
3358 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3359 [__USE_XOPEN2K8] (dprintf): Define under this condition.
3360 [__USE_XOPEN2K8] (vdprintf): Likewise.
3361 [__USE_GNU] (__dprintf_chk): Not under this condition.
3362 [__USE_GNU] (__vdprintf_chk): Likewise.
3363 [__USE_GNU] (dprintf): Likewise.
3364 [__USE_GNU] (vdprintf): Likewise.
3366 2012-05-03 Roland McGrath <roland@hack.frob.com>
3368 * elf/Makefile (common-generated): Set this instead of generated for
3369 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
3370 $(all-built-dso)-derived lists.
3372 2012-05-03 Andreas Jaeger <aj@suse.de>
3374 * sysdeps/i386/fpu/libm-test-ulps: Update.
3378 * scripts/gen-FAQ.pl: Likewise.
3379 * manual/install.texi (Installation): Point to online location of
3381 * Makefile (files-for-dist): Remove FAQ.
3384 2012-05-02 Allan McRae <allan@archlinux.org>
3386 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
3387 (LDFLAGS-reldepmod5.so): Likewise.
3388 (LDFLAGS-reldep6mod1.so): Likewise.
3389 (LDFLAGS-reldep6mod4.so): Likewise.
3390 (LDFLAGS-reldep8mod3.so): Likewise.
3391 (LDFLAGS-unload4mod1.so): Likewise.
3392 (LDFLAGS-unload4mod2.so): Likewise.
3393 (LDFLAGS-tst-initorder): Likewise.
3394 (LDFLAGS-tst-initordera2.so): Likewise.
3395 (LDFLAGS-tst-initordera3.so): Likewise.
3396 (LDFLAGS-tst-initordera4.so): Likewise.
3397 (LDFLAGS-tst-initorderb2.so): Likewise.
3398 (LDFLAGS-noload): Likewise.
3399 (LDFLAGS-next): Likewise.
3400 (LDFLAGS-order2mod1.so): Likewise.
3401 (LDFLAGS-order2mod2.so): Likewise.
3402 (LDFLAGS-tst-initorder2): Likewise.
3403 (LDFLAGS-tst-initorder2a.so): Likewise.
3404 (LDFLAGS-tst-initorder2b.so): Likewise.
3405 (LDFLAGS-tst-initorder2c.so): Likewise.
3406 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
3408 2012-05-02 David S. Miller <davem@davemloft.net>
3410 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3412 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
3415 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
3417 2012-05-02 Andreas Jaeger <aj@suse.de>
3419 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
3420 since we manipulate rounding mode.
3421 (CPPFLAGS-test-idouble.c): Likewise.
3422 (CPPFLAGS-test-ifloat.c): Likewise.
3423 (CFLAGS-test-ldouble.c): Likewise.
3424 (CFLAGS-test-double.c): Likewise.
3425 (CFLAGS-test-float.c): Likewise.
3426 (CFLAGS-test-misc.c): Likewise.
3427 (CFLAGS-test-test-fenv.c): Likewise.
3429 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3433 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
3434 comparisons to determine direction to adjust input.
3436 2012-05-01 Roland McGrath <roland@hack.frob.com>
3438 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
3439 output to the target.
3441 * scripts/localplt.awk: New file.
3442 * elf/Makefile ($(objpfx)check-localplt): Target removed.
3443 (check-localplt-CFLAGS): Variable removed.
3444 ($(all-built-dso:=.jmprel)): New static pattern rule.
3445 (generated): Add those targets.
3446 (localplt-built-dso): New variable.
3447 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
3449 * elf/check-localplt.c: File removed.
3451 * scripts/check-execstack.awk: New file.
3452 * elf/Makefile ($(objpfx)check-execstack): Target removed.
3453 (check-execstack-CFLAGS): Variable removed.
3454 ($(objpfx)check-execstack.h): Target removed.
3455 ($(objpfx)execstack-default): New target.
3456 (generated): Add that instead of check-execstack.h.
3457 ($(all-built-dso:=.phdr)): New static pattern rule.
3458 (generated): Add those targets.
3459 * elf/check-execstack.c: File removed.
3461 * scripts/check-textrel.awk: New file.
3462 * elf/Makefile ($(objpfx)check-textrel): Target removed.
3463 (check-textrel-CFLAGS): Variable removed.
3464 (all-built-dso): Use := to define.o
3465 ($(all-built-dso:=.dyn)): New static pattern rule.
3466 (generated): Add those targets.
3467 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
3468 * config.make.in (READELF): New substituted variable.
3469 * elf/check-textrel.c: File removed.
3471 2012-05-01 Joseph Myers <joseph@codesourcery.com>
3473 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3475 * conform/data/ctype.h-data [C99-based standards] (isblank):
3477 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
3478 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
3479 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3480 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
3481 Specify type. Require positive value.
3484 [ISO || POSIX] (EILSEQ): Do not expect.
3485 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
3486 Specify type. Require positive value.
3487 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
3488 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
3489 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
3490 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
3491 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
3492 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
3493 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
3494 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
3495 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
3496 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
3497 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
3498 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
3499 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
3500 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
3501 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
3502 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
3503 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
3504 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
3505 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
3506 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
3507 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
3508 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
3509 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
3510 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
3511 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
3512 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
3513 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
3514 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
3515 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
3516 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
3517 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
3518 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
3519 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
3520 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
3521 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
3522 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
3523 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
3524 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
3525 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
3526 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
3527 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
3528 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
3529 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
3530 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
3531 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
3532 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
3533 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
3534 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
3535 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
3536 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
3537 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
3538 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
3539 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
3540 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
3541 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
3542 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
3543 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
3544 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
3545 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
3546 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
3547 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
3548 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
3549 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
3550 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
3551 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
3552 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
3553 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
3554 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
3555 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
3556 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
3557 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
3558 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
3559 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
3560 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
3561 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
3562 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
3563 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
3565 (FLT_ROUNDS): Expect as macro, not constant.
3566 (FLT_MANT_DIG): Use macro-int-constant.
3567 (DBL_MANT_DIG): Likewise.
3568 (LDBL_MANT_DIG): Likewise.
3569 (FLT_DIG): Likewise.
3570 (DBL_DIG): Likewise.
3571 (LDBL_DIG): Likewise.
3572 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
3573 (DBL_MIN_EXP): Likewise.
3574 (LDBL_MIN_EXP): Likewise.
3575 (FLT_MAX_EXP): Use macro-int-constant.
3576 (DBL_MAX_EXP): Likewise.
3577 (LDBL_MAX_EXP): Likewise.
3578 (FLT_MAX_10_EXP): Likewise.
3579 (DBL_MAX_10_EXP): Likewise.
3580 (LDBL_MAX_10_EXP): Likewise.
3581 (FLT_MAX): Use macro-constant.
3582 (DBL_MAX): Likewise.
3583 (LDBL_MAX): Likewise.
3584 (FLT_EPSILON): Use macro-constant. Give upper bound.
3585 (DBL_EPSILON): Likewise.
3586 (LDBL_EPSILON): Likewise.
3587 (FLT_MIN): Likewise.
3588 (DBL_MIN): Likewise.
3589 (LDBL_MIN): Likewise.
3590 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
3591 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
3592 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
3593 [ISO11] (FLT_HAS_SUBNORM): Likewise.
3594 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
3595 [ISO11] (DBL_DECIMAL_DIG): Likewise.
3596 [ISO11] (FLT_DECIMAL_DIG): Likewise.
3597 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
3598 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
3599 [ISO11] (FLT_TRUE_MIN): Likewise.
3600 [ISO11] (LDBL_TRUE_MIN): Likewise.
3601 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3602 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
3603 (SCHAR_MIN): Use macro-int-constant. Specify type.
3604 (SCHAR_MAX): Likewise.
3605 (UCHAR_MAX): Likewise.
3606 (CHAR_MIN): Likewise.
3607 (CHAR_MAX): Likewise.
3608 (MB_LEN_MAX): Use macro-int-constant.
3609 (SHRT_MIN): Use macro-int-constant. Specify type.
3610 (SHRT_MAX): Likewise.
3611 (USHRT_MAX): Likewise.
3612 (INT_MAX): Likewise.
3613 (INT_MIN): Use macro-int-constant. Specify type. Make upper
3615 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
3617 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3619 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
3620 bound negative. Suffix upper bound with "L".
3621 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3623 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
3625 [C99-based standards] (LLONG_MAX): Likewise.
3626 [C99-based standards] (ULLONG_MAX): Likewise.
3627 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
3629 [ISO11] (max_align_t): Require type.
3630 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3632 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
3633 from $CFLAGS, without defining away __attribute__ calls.
3634 (checknamespace): Use $CFLAGS_namespace.
3636 * conform/conformtest.pl (@keywords): Only include C99 keywords
3637 for standards based on C99 or C11.
3639 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
3641 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
3644 * conform/conformtest.pl: Handle "macro-int-constant" and test for
3645 usability of symbols in #if.
3647 * conform/conformtest.pl: If macro or constant types start
3648 "promoted:", expect the symbol to be of the following type
3649 promoted by the integer promotions.
3651 * conform/conformtest.pl: Parse all "constant" and "macro" lines
3652 in one place. Also handle "macro-constant".
3654 * conform/conformtest.pl: Only accept expected macro values with
3655 "==". Parse all "macro" lines in one place.
3656 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
3658 * conform/conformtest.pl: Handle braced types on "constant" lines
3659 instead of handling "typed-constant".
3660 * conform/data/signal.h-data: Use "constant" instead of
3663 * conform/conformtest.pl: Handle "optional-" at start of lines in
3664 one place rather than duplicating several cases. Handle each
3665 format of "macro" line with initial "optional-".
3667 * conform/conformtest.pl: Only accept expected constant or
3668 optional-constant values with "==". Parse all "constant" lines in
3669 one place. Parse all "optional-constant" lines in one place.
3670 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
3671 * conform/data/fmtmsg.h-data: Likewise.
3672 * conform/data/netinet/in.h-data: Likewise.
3673 * conform/data/tar.h-data: Likewise.
3674 * conform/data/limits.h-data: Use "==" form on "constant" and
3675 "optional-constant" lines.
3677 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
3678 Use -std=c99 for XOPEN2K.
3679 (@knownproblems): Remove.
3680 (newtoken): Don't check %isknown.
3682 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
3683 Do not expect macro.
3684 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
3685 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
3686 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
3687 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
3688 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
3689 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
3690 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
3691 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
3692 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
3693 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
3694 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
3695 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
3696 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
3697 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
3698 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
3699 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
3700 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
3701 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
3702 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
3703 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
3704 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
3705 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
3706 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
3707 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
3708 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
3709 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
3710 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
3711 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
3712 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
3713 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
3714 [XPG3] (acosh): Likewise.
3715 [XPG3] (asinh): Likewise.
3716 [XPG3] (atanh): Likewise.
3717 [XPG3] (cbrt): Likewise.
3718 [XPG3] (expm1): Likewise.
3719 [XPG3] (ilogb): Likewise.
3720 [XPG3] (log1p): Likewise.
3721 [XPG3] (logb): Likewise.
3722 [XPG3] (nextafter): Likewise.
3723 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
3724 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
3725 [XPG3] (remainder): Likewise.
3726 [XPG3] (rint): Likewise.
3727 [XPG3 || XPG4 || UNIX98] (round): Likewise.
3728 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
3729 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
3730 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
3731 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
3732 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
3733 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
3734 [UNIX98 || XOPEN2K] (scalb): Expect.
3735 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
3736 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
3737 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
3738 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
3739 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
3740 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
3741 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
3742 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
3743 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
3744 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
3745 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
3746 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
3747 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
3748 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
3749 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
3750 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
3751 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
3752 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
3753 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
3754 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
3755 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
3756 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
3757 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
3758 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
3759 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
3760 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
3761 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
3762 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
3763 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
3764 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
3765 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
3766 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
3767 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
3768 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
3769 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
3770 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
3771 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
3772 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
3773 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
3774 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
3775 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
3776 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
3777 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
3778 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
3779 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
3780 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
3781 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
3782 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
3783 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
3784 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
3785 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
3786 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
3787 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
3788 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
3789 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
3790 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
3791 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
3792 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
3793 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
3794 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
3795 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
3796 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
3797 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
3798 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
3799 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
3800 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
3801 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
3802 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
3803 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
3804 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
3805 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
3806 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
3807 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
3808 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
3809 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
3810 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
3811 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
3812 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
3813 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
3814 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
3815 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
3816 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
3817 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
3818 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
3819 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
3820 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
3821 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
3822 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
3823 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
3824 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
3825 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
3826 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
3827 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
3828 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
3829 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
3830 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
3831 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
3832 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
3833 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
3834 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
3835 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
3836 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
3837 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
3838 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
3839 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
3840 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
3841 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
3842 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
3843 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
3844 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
3845 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
3846 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
3847 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
3848 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
3849 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
3850 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
3851 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
3852 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
3853 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
3854 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
3855 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
3856 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
3857 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
3858 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
3859 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
3860 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
3861 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
3862 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
3863 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
3864 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
3865 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
3866 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
3867 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
3868 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
3869 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
3870 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
3871 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
3873 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
3874 _XOPEN_SOURCE_EXTENDED for XPG4.
3876 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
3878 * Makeconfig (localtime): Remove variable.
3879 (inst_localtime-file): Likewise.
3881 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
3883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
3885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
3889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
3893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
3895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
3899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3902 2012-05-01 Joseph Myers <joseph@codesourcery.com>
3906 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
3907 comparisons to determine direction to adjust input.
3908 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
3909 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
3910 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
3912 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
3914 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
3916 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
3917 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
3919 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
3921 * math/libm-test.inc (nexttoward_test): Add more tests.
3923 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
3926 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
3927 in version GLIBC_2.1, not GLIBC_2.0.
3928 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
3931 2012-04-30 Joseph Myers <joseph@codesourcery.com>
3934 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
3936 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
3937 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
3938 * math/libm-test.inc (acos_test): Add more tests.
3939 (asin_test): Likewise.
3940 * sysdeps/i386/fpu/libm-test-ulps: Update.
3941 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3944 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
3946 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
3947 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
3948 * math/libm-test.inc (acos_test_tonearest): New function.
3949 (acos_test_towardzero): Likewise.
3950 (acos_test_downward): Likewise.
3951 (acos_test_upward): Likewise.
3952 (asin_test_tonearest): Likewise.
3953 (asin_test_towardzero): Likewise.
3954 (asin_test_downward): Likewise.
3955 (asin_test_upward): Likewise.
3956 (main): Call the new functions.
3957 * sysdeps/i386/fpu/libm-test-ulps: Update.
3958 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3962 * math/e_exp10.c: Include <float.h>.
3963 (__ieee754_exp10): Handle underflow here rather than multiplying
3964 large negative argument by M_LN10.
3965 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
3967 * math/e_exp10l.c: Include <float.h>.
3968 (__ieee754_exp10l): Handle underflow here rather than multiplying
3969 large negative argument by M_LN10l.
3970 * math/libm-test.inc (exp10_test): Add another test. Do not allow
3971 spurious overflow exception on underflow.
3973 2012-04-29 Marek Polacek <polacek@redhat.com>
3975 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
3976 (__fortify_function): New macro.
3977 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
3978 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
3979 __extern_always_inline.
3980 * libio/bits/stdio2.h: Likewise.
3981 * libio/bits/stdio.h: Likewise.
3982 * string/string.h: Likewise.
3983 * string/bits/string3.h: Likewise.
3984 * include/stdio.h: Likewise.
3985 * stdlib/bits/stdlib.h: Likewise.
3986 * stdlib/stdlib.h: Likewise.
3987 * rt/bits/mqueue2.h: Likewise.
3988 * rt/mqueue.h: Likewise.
3989 * posix/bits/unistd.h: Likewise.
3990 * posix/unistd.h: Likewise.
3991 * io/bits/poll2.h: Likewise.
3992 * io/bits/fcntl2.h: Likewise.
3993 * io/fcntl.h: Likewise.
3994 * io/sys/poll.h: Likewise.
3995 * misc/bits/syslog.h: Likewise.
3996 * misc/bits/syslog-ldbl.h: Likewise.
3997 * misc/sys/syslog.h: Likewise.
3998 * socket/bits/socket2.h: Likewise.
3999 * socket/sys/socket.h: Likewise.
4000 * debug/tst-chk1.c: Likewise.
4001 * wcsmbs/bits/wchar2.h: Likewise.
4002 * wcsmbs/bits/wchar-ldbl.h: Likewise.
4003 * wcsmbs/wchar.h: Likewise.
4005 2012-04-29 Andreas Jaeger <aj@suse.de>
4007 * Makerules (tests): Remove enable-check-abi protection.
4008 (check-abi-warn): Remove.
4009 (check-abi-%): Remove check-abi-warn usage.
4011 * configure.in: Remove check-abi configure option.
4012 * configure: Regenerated.
4013 * config.make.in (enable-check-abi): Remove.
4015 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
4018 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
4019 double functions to double *_finite functions.
4022 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
4023 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
4025 * stdio-common/Makefile (tests): Add tst-sprintf3.
4026 * stdio-common/tst-sprintf3.c: New file.
4028 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
4029 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
4031 2012-04-28 Joseph Myers <joseph@codesourcery.com>
4033 * conform/conformtest.pl: Remove duplicate typed-constant
4036 2012-04-28 David S. Miller <davem@davemloft.net>
4038 * Makerules (%.abilist): Add vpath on sysdep_dirs.
4039 (check-abi-%): Remove AWK script prerequisite and explicit
4041 (check-abi): Rewrite to just diff the symlist with the abilist.
4042 (config-tls, config-abi-config): Delete, no longer used.
4043 (update-abi-%): Remove AWK script and explicit abilist directory.
4044 (update-abi): Rewrite to simply compare and conditionally copy the
4045 symlist and the sysdep abilist file. Remove update-abi-config
4047 * abilist/ld.abilist: Remove.
4048 * abilist/libBrokenLocale.abilist: Remove.
4049 * abilist/libanl.abilist: Remove.
4050 * abilist/libcrypt.abilist: Remove.
4051 * abilist/libdl.abilist: Remove.
4052 * abilist/librt.abilist: Remove.
4053 * abilist/libthread_db.abilist: Remove.
4054 * abilist/libutil.abilist: Remove.
4055 * scripts/extract-abilist.awk: Remove.
4056 * scripts/merge-abilist.awk: Remove.
4057 * sysdeps/generic/libcidn.abilist: New file.
4058 * sysdeps/generic/libnss_compat.abilist: New file.
4059 * sysdeps/generic/libnss_db.abilist: New file.
4060 * sysdeps/generic/libnss_dns.abilist: New file.
4061 * sysdeps/generic/libnss_files.abilist: New file.
4062 * sysdeps/generic/libnss_hesiod.abilist: New file.
4063 * sysdeps/generic/libnss_nis.abilist: New file.
4064 * sysdeps/generic/libnss_nisplus.abilist: New file.
4065 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
4066 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
4067 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
4069 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
4070 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
4071 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
4072 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
4073 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
4074 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
4075 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
4076 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
4077 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
4079 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
4080 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
4081 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
4082 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
4084 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
4085 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
4086 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
4087 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
4088 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
4089 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
4091 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
4092 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
4093 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
4095 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
4096 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
4098 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
4100 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
4102 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
4104 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
4106 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
4108 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
4110 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
4112 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
4114 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
4116 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
4118 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
4120 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
4122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
4124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
4126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
4128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
4130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
4132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
4134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
4136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
4138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
4142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
4144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
4146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
4148 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
4149 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
4151 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
4153 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
4155 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
4157 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
4159 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
4161 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
4163 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4165 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
4167 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
4169 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4171 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
4173 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
4174 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
4176 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4178 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
4180 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
4182 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
4184 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
4186 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
4188 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4190 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
4192 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
4194 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4196 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
4198 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
4199 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
4200 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
4202 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
4203 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
4204 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
4205 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
4206 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
4207 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
4208 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
4209 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
4210 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
4211 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
4212 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
4213 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
4215 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
4217 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
4219 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
4221 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
4223 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
4225 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
4227 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4229 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
4231 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
4233 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
4235 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
4237 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
4238 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
4240 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
4242 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
4244 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
4246 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
4248 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
4250 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
4252 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4254 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
4256 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
4258 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
4260 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
4263 2012-04-28 Joseph Myers <joseph@codesourcery.com>
4265 * conform/conformtest.pl: Fix typo in handling typed-constant from
4268 2012-04-27 Joseph Myers <joseph@codesourcery.com>
4270 * README: Cut down references to pre-2.6 Linux kernels and
4271 Linuxthreads. Update lists of configurations in libc and ports
4272 and sort alphabetically. Say "or newer" with Linux kernel version
4275 * config.h.in [IS_IN_build]: Allow compiling without optimization.
4277 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4280 * math/libm-test.inc (logb_test_downward): New test to expose
4281 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
4284 2012-04-27 Joseph Myers <joseph@codesourcery.com>
4287 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
4289 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
4290 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
4292 2012-04-26 Joseph Myers <joseph@codesourcery.com>
4294 * sysdeps/unix/i386/brk.S: Remove file.
4295 * sysdeps/unix/i386/dl-brk.S: Likewise.
4296 * sysdeps/unix/i386/pipe.S: Likewise.
4297 * sysdeps/unix/i386/sigreturn.S: Likewise.
4298 * sysdeps/unix/i386/syscall.S: Likewise.
4299 * sysdeps/unix/i386/vfork.S: Likewise.
4300 * sysdeps/unix/i386/wait.S: Likewise.
4302 * sysdeps/unix/common/tcsendbrk.c: Move to ...
4303 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
4305 * configure.in (arm*-none*): Do not allow without
4306 --enable-hacker-mode.
4307 (netbsd*): Remove case setting base_os.
4308 (386bsd*): Likewise.
4309 (freebsd*): Likewise.
4313 (ultrix*): Likewise.
4314 (newsos*): Likewise.
4324 (solaris[2-9]*): Likewise.
4326 * configure: Regenerated.
4328 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4331 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
4332 overflow or cancellation in calculating denominator.
4333 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
4334 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
4335 down expression to avoid unexpected rounding in newer GCCs.
4336 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
4338 2012-04-26 David S. Miller <davem@davemloft.net>
4340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
4341 long-double compat symbols.
4342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
4346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4347 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
4348 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
4349 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
4350 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
4351 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
4352 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
4353 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
4354 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4356 2012-04-25 David S. Miller <davem@davemloft.net>
4358 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
4359 HWCAP_* values only after the memory barriers have been defined.
4360 (atomic_full_barrier): Define.
4361 (atomic_read_barrier): Define.
4362 (atomic_write_barrier): Define.
4364 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4366 * shlib-versions: Add libgcc_s version information.
4367 * sysdeps/generic/libgcc_s.h: Remove.
4368 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
4370 * sysdeps/gnu/unwind-resume.c: Likewise.
4371 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
4373 2012-04-25 David S. Miller <davem@davemloft.net>
4375 * sysdeps/unix/sparc/brk.S: Delete.
4376 * sysdeps/unix/sparc/dl-brk.S: Delete.
4377 * sysdeps/unix/sparc/pipe.S: Delete.
4378 * sysdeps/unix/sparc/sysdep.S: Delete.
4379 * sysdeps/unix/sparc/sysdep.h: Delete.
4380 * sysdeps/unix/sparc/vfork.S: Delete.
4381 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
4382 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
4383 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
4384 ret_ERRVAL, r0, r1, MOVE): Define.
4385 (JUMPTARGET): Remove.
4386 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
4387 sysdeps/unix/sparc/sysdep.h
4388 (ENTRY, END): Remove.
4389 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4391 2012-04-25 Joseph Myers <joseph@codesourcery.com>
4393 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
4394 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
4397 * timezone/README: Update upstream location and email address for
4399 * timezone/zdump.c: Update from tzcode 2012b.
4400 * timezone/zic.c: Likewise.
4402 * configure.in (libc_cv_as_needed): Remove test.
4403 * configure: Regenerated.
4404 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
4405 conditional definition.
4406 [$(have-as-needed) != yes] (no-as-needed): Likewise.
4407 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
4408 * config.make.in (have-as-needed): Remove variable.
4410 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4411 Paul Pluzhnikov <ppluzhnikov@google.com>
4413 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
4416 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
4418 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
4419 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
4420 * sysdeps/sh/strlen.S: Likewise.
4422 2012-04-24 Joseph Myers <joseph@codesourcery.com>
4424 * sysdeps/unix/fork.S: Remove file.
4425 * sysdeps/unix/i386/fork.S: Likewise.
4426 * sysdeps/unix/sparc/fork.S: Likewise.
4428 * sysdeps/unix/system.c: Remove file.
4429 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
4431 * sysdeps/unix/getegid.S: Remove file.
4432 * sysdeps/unix/geteuid.S: Likewise.
4434 2012-04-24 Roland McGrath <roland@hack.frob.com>
4436 * scripts/check-localplt.awk: New file.
4437 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
4439 * scripts/data/localplt-generic.data: Add a comment.
4441 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
4442 NODE when __dir_mkfile failed.
4443 * sysdeps/mach/hurd/symlinkat.c: Likewise.
4444 Reported by Ludovic Courtès <ludo@gnu.org>.
4446 2012-04-24 Andreas Jaeger <aj@suse.de>
4448 * Makerules (common-clean): Also remove gen-as-const-headers
4451 2012-04-24 Joseph Myers <joseph@codesourcery.com>
4453 * Makerules (native-compile): Do not change working directory for
4454 build. Use $(OUTPUT_OPTION) in command.
4455 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
4457 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4460 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
4461 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
4462 * math/libm-test.inc (floor_test): Add more tests.
4463 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
4465 2012-04-24 Joseph Myers <joseph@codesourcery.com>
4467 * sysdeps/unix/getdents.c: Remove file.
4468 * sysdeps/unix/sysv/getdents.c: Likewise.
4469 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
4471 * sysdeps/unix/syscalls.list (madvise): Add syscall from
4472 sysdeps/unix/mman/syscalls.list.
4474 (mprotect): Likewise.
4477 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
4478 * sysdeps/unix/mman/syscalls.list: Remove.
4479 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
4481 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
4482 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
4483 * configure: Regenerated.
4484 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
4486 * config.make.in (libgcc_s_suffix): Remove variable.
4488 2012-04-23 Joseph Myers <joseph@codesourcery.com>
4490 * sysdeps/unix/sysv/gethostname.c: Move to ...
4491 * sysdeps/posix/gethostname.c: ... here.
4493 * sysdeps/unix/execve.S: Remove file.
4495 * sysdeps/unix/_exit.S: Remove file.
4497 2012-04-23 Andreas Jaeger <aj@suse.de>
4500 * manual/Makefile: Remove make dist support, there's no
4501 need for a stand-alone documentation tar ball.
4502 (TEXI2DVI): Define always, it's not in Makeconfig.
4506 (glibc-doc-$(edition).tar): Removed
4510 (ETAGS): Remove, it's in Makeconfig.
4511 (move-if-change): Remove, it's in Makeconfig.
4513 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
4516 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
4517 (strtod, strtof, strtold, strtol, strtoul, strtoq)
4518 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
4519 (strtod_l, strtof_l, strtold_l): Remove __wur.
4520 It is not necessarily an error to ignore strtol's return value.
4521 One can reliably look at the stored endptr to decide whether
4522 the number had valid syntax.
4524 2012-04-21 Andreas Jaeger <aj@suse.de>
4527 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
4529 2012-04-21 Joseph Myers <joseph@codesourcery.com>
4531 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
4532 * sysdeps/unix/sysv/Versions: Remove file.
4534 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
4537 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4539 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
4542 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
4543 version from __vm86.
4545 2012-04-20 Joseph Myers <joseph@codesourcery.com>
4547 * sysdeps/unix/common/lxstat.c: Remove file.
4548 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
4550 * sysdeps/unix/sysv/Makefile: Remove file.
4552 * sysdeps/unix/sysv/direct.h: Remove file.
4554 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
4555 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
4556 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
4557 * sysdeps/unix/sysv/bits/signum.h: Likewise.
4558 * sysdeps/unix/sysv/bits/stat.h: Likewise.
4559 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
4560 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
4562 * sysdeps/unix/sysv/setrlimit.c: Remove file.
4564 * sysdeps/unix/xmknod.c: Remove file.
4565 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
4567 * sysdeps/unix/sysv/settimeofday.c: Remove file.
4569 * sysdeps/unix/sysv/i386/time.S: Remove file.
4571 * sysdeps/unix/fxstat.c: Remove file.
4572 * sysdeps/unix/xstat.c: Likewise.
4573 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
4575 * sysdeps/unix/sysv/sigaction.c: Remove file.
4577 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
4578 (sysdep_headers): Remove variable.
4579 [termio.h not in sysdep_headers] (generated): Likewise.
4580 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
4581 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
4582 * sysdeps/unix/sysv/tcdrain.c: Likewise.
4583 * sysdeps/unix/sysv/tcflow.c: Likewise.
4584 * sysdeps/unix/sysv/tcflush.c: Likewise.
4585 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
4586 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
4587 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
4588 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
4589 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
4591 * sysdeps/unix/siglist.c: Remove file.
4593 * sysdeps/unix/getppid.S: Remove file.
4595 * sysdeps/unix/mkdir.c: Remove file.
4596 * sysdeps/unix/rmdir.c: Likewise.
4598 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
4600 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
4602 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
4603 errlist-compat value.
4605 2012-04-18 David S. Miller <davem@davemloft.net>
4607 * sysdeps/generic/memcopy.h (reg_char): Delete.
4608 * debug/strcat_chk.c: Use char, not reg_char.
4609 * debug/strcpy_chk.c: Likewise.
4610 * debug/strncat_chk.c: Likewise.
4611 * debug/strncpy_chk.c: Likewise.
4612 * string/memchr.c: Likewise.
4613 * string/memrchr.c: Likewise.
4614 * string/rawmemchr.c: Likewise.
4615 * string/strcat.c: Likewise.
4616 * string/strchr.c: Likewise.
4617 * string/strchrnul.c: Likewise.
4618 * string/strcmp.c: Likewise.
4619 * string/strcpy.c: Likewise.
4620 * string/strncat.c: Likewise.
4621 * string/strncmp.c: Likewise.
4622 * string/strncpy.c: Likewise.
4624 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4626 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
4627 __builtin_memcopy is called when src and dest ranges are known to not
4630 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4632 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
4633 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
4634 fwd_align_merge macro call.
4635 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
4636 bwd_align_merge macro call.
4637 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4639 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4641 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
4642 bwd_align_merge macros.
4643 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
4644 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
4645 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4647 2012-04-18 David S. Miller <davem@davemloft.net>
4649 * sysdeps/sparc/sparc64/memcopy.h: Delete.
4651 2012-04-18 Andreas Jaeger <aj@suse.de>
4654 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
4655 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
4656 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4658 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
4659 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
4660 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4662 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
4663 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
4664 Adjust for changed ldbl-128 files.
4666 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
4667 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
4668 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4670 2012-04-17 David S. Miller <davem@davemloft.net>
4672 * sysdeps/sparc/sparc32/memcopy.h: Delete.
4674 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
4676 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
4677 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
4678 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
4679 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
4680 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4681 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
4683 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4686 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
4687 * math/libm-test.inc: Add ilogb errno and exception tests.
4688 * math/w_ilogb.c: New file: ilogb wrapper.
4689 * math/w_ilogbf.c: New file: ilogbf wrapper.
4690 * math/w_ilogbl.c: New file: ilogbl wrapper.
4691 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
4692 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
4693 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
4694 exception being thrown with 0.0 as argument.
4695 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
4696 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
4697 exception being thrown with 0.0 as argument.
4698 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
4699 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4700 exception being thrown with 0.0 as argument.
4701 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
4702 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4703 exception being thrown with 0.0 as argument.
4704 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
4705 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
4706 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
4707 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
4708 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
4709 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
4710 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
4711 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
4712 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
4714 2012-04-17 Petr Baudis <pasky@ucw.cz>
4716 * include/sys/uio.h: Change __vector to __iovec to avoid clash
4719 2012-04-16 Marek Polacek <polacek@redhat.com>
4721 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
4723 2012-04-16 Marek Polacek <polacek@redhat.com>
4725 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
4726 operands of fdivp instruction.
4728 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4730 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
4731 * elf/tst-auditmod3b.c: Likewise.
4732 * elf/tst-auditmod4b.c: Likewise.
4733 * elf/tst-auditmod5b.c: Likewise.
4734 * elf/tst-auditmod6b.c: Likewise.
4735 * elf/tst-auditmod6c.c: Likewise.
4736 * elf/tst-auditmod7b.c: Likewise.
4737 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
4738 * sysdeps/x86_64/preconfigure.in: Likewise.
4739 * sysdeps/x86_64/preconfigure: Regenerated.
4741 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4743 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
4746 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
4748 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4749 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
4751 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
4754 * locale/iso-639.def: Fix gl language name. Spotted by
4757 2012-04-12 Roland McGrath <roland@hack.frob.com>
4760 * libio/libio.h (__io_write_fn): Update comment.
4762 2012-04-12 Petr Baudis <pasky@ucw.cz>
4765 * stdio.texi (Hook Functions): The user provided writer function
4766 is not allowed to return -1.
4768 2012-04-11 David S. Miller <davem@davemloft.net>
4770 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4772 2012-04-11 Mike Frysinger <vapier@gentoo.org>
4774 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
4775 Add a leading slash to rtkaio.
4777 2012-04-11 Jim Meyering <meyering@redhat.com>
4780 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
4781 It is not necessarily an error to ignore fwrite's return
4782 value. One can reliably use ferror to test for errors after
4785 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
4787 * bits/types.h (__snseconds_t): New type.
4788 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
4790 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
4791 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4792 (__SNSECONDS_T_TYPE): Likewise.
4793 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4794 (__SNSECONDS_T_TYPE): Likewise.
4795 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4796 (__SNSECONDS_T_TYPE): Likewise.
4798 2012-04-10 Andreas Jaeger <aj@suse.de>
4801 * manual/time.texi (Processor Time): Return type of times is
4802 elapsed real time since an arbitrary point in the past.
4803 (CPU Time): Move CLK_TCK from here...
4804 (Processor Time): ...to here. Correct description.
4805 * manual/conf.texi (Constants for Sysconf): Correct description of
4808 2012-04-10 David S. Miller <davem@davemloft.net>
4811 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
4812 where the is a gap between DT_REL(A) and DT_JMPREL.
4814 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
4816 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
4817 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
4818 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
4820 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4822 * elf/dl-support.c (_dl_inhibit_cache): New variable.
4823 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
4824 (dl_main): Handle --inhibit-cache.
4825 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
4827 * elf/dl-load.c (_dl_map_object): Use it.
4828 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
4830 2012-04-09 Joseph Myers <joseph@codesourcery.com>
4833 * sysdeps/i386/fpu/e_powl.S (p78): New object.
4834 (__ieee754_powl): Saturate large exponents rather than testing for
4835 overflow of y*log2(x).
4836 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4837 * math/libm-test.inc (pow_test): Do not permit spurious overflow
4841 * math/s_ctan.c: Include <float.h>.
4842 (__ctan): Avoid internal overflow or cancellation in calculating
4844 * math/s_ctanf.c: Likewise.
4845 * math/s_ctanl.c: Likewise.
4846 * math/s_ctanh.c: Likewise.
4847 * math/s_ctanhf.c: Likewise.
4848 * math/s_ctanhl.c: Likewise.
4849 * math/libm-test.inc (ctan_test): Add more tests.
4850 (ctanh_test): Likewise.
4851 * sysdeps/i386/fpu/libm-test-ulps: Update.
4852 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4854 2012-04-09 Andreas Jaeger <aj@suse.de>
4857 * manual/filesys.texi (Directory Entries): Mention that d_namlen
4858 is an optional BSD extension.
4861 * manual/stdio.texi (Opening Streams): Document additional fopen
4864 2012-04-09 Roland McGrath <roland@hack.frob.com>
4866 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
4867 %eax without telling the compiler.
4869 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
4872 * manual/install.texi: Use sourceware.org.
4874 2012-04-09 Joseph Myers <joseph@codesourcery.com>
4877 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
4878 (__ieee754_pow): Generate overflow and underflow using huge*huge
4879 and tiny*tiny rather than just returning constant infinity or zero
4880 for large exponents.
4881 * math/libm-test.inc (pow_test): Require overflow exceptions for
4882 applicable cases of large exponents.
4885 * sysdeps/i386/fpu/e_pow.S (p10): New object.
4886 (__ieee754_pow): Use iterative multiplication algorithm only for
4887 integer exponents with absolute value below 1024. Check for odd
4888 integer exponents when using algorithm for real exponents.
4889 * math/libm-test.inc (pow_test): Add more tests.
4890 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4892 2012-04-08 Joseph Myers <joseph@codesourcery.com>
4895 * math/libm-test.inc (exp_test): Do not allow overflow exception
4898 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
4901 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
4902 instead of __kernel_standard_f.
4904 2012-04-08 Mike Frysinger <vapier@gentoo.org>
4906 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
4907 * sysdeps/x86_64/memset_chk.S: Likewise.
4909 2012-04-08 Andreas Jaeger <aj@suse.de>
4912 * manual/startup.texi (Environment Access): Describe return value
4913 for putenv and setenv.
4916 * manual/filesys.texi (Directory Entries): Add description for
4920 * manual/filesys.texi (Directory Entries): Clarify that it's file
4921 system not operating system in the description of DT_UNKNOWN.
4924 * manual/syslog.texi (closelog): Fix reference, it's openlog.
4926 2012-04-08 Stephen Compall <s11@member.fsf.org>
4929 * manual/llio.texi (Opening and Closing Files): Add cross
4930 reference to explain mode argument.
4932 2012-04-07 Mike Frysinger <vapier@gentoo.org>
4934 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
4935 * sysdeps/x86_64/memset_chk.S: Likewise.
4937 2012-04-07 David S. Miller <davem@davemloft.net>
4939 * elf/elf.h (R_SPARC_WDISP10): Define.
4940 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
4942 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
4943 R_SPARC_SIZE64 and R_SPARC_H34.
4945 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
4947 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
4948 conditions and remove no longer applicable assertion.
4950 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
4952 * bits/byteswap.h: Include <features.h>.
4953 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
4954 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
4956 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
4958 * bits/byteswap.h (__bswap_16): Removed.
4959 Include <bits/byteswap-16.h> to get __bswap_16.
4960 * sysdeps/i386/bits/byteswap.h: Likewise.
4961 * sysdeps/s390/bits/byteswap.h: Likewise.
4962 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4963 * bits/byteswap-16.h: New file.
4964 * sysdeps/i386/bits/byteswap-16.h: Likewise.
4965 * sysdeps/s390/bits/byteswap-16.h: Likewise.
4966 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
4967 * string/Makefile (headers): Add bits/byteswap-16.h.
4969 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
4972 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
4974 * nss/Makefile (tests-static, tests): Add tst-nss-static.
4975 * nss/tst-nss-static.c: New.
4977 2012-04-06 Robert Millan <rmh@gnu.org>
4980 * manual/llio.texi (File Position Primitive): lseek
4981 refers to WHENCE when it really means OFFSET.
4983 2012-04-06 Andreas Jaeger <aj@suse.de>
4985 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
4986 strncmp declarations.
4988 * abilist/libc.abilist: Add __poll and __ppoll.
4990 2012-04-05 David S. Miller <davem@davemloft.net>
4992 * scripts/check-local-headers.sh: Accept a host triplet in the
4993 path matched by the exclude regexp.
4995 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
4997 * sysdeps/powerpc/powerpc32/dl-machine.h
4998 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
4999 * sysdeps/s390/s390-32/dl-machine.h
5000 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5001 * sysdeps/sparc/sparc32/dl-machine.h
5002 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5003 * sysdeps/sparc/sparc64/dl-machine.h
5004 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5006 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
5008 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
5009 undefined symbol errors.
5011 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
5014 2012-04-05 Michael Matz <matz@suse.de>
5017 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
5019 2012-04-05 Andreas Jaeger <aj@suse.de>
5022 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
5025 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5027 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
5028 which ROUND is no valid rounding mode.
5030 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5032 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
5034 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
5036 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5038 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
5039 an exception using FPU order intentionally.
5041 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5043 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
5044 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
5045 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
5046 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
5048 2012-04-05 Simon Josefsson <simon@josefsson.org>
5051 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
5052 EINVAL when BUFLEN is too smal.
5054 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
5057 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
5058 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
5060 2012-04-03 Andreas Jaeger <aj@suse.de>
5063 * manual/setjmp.texi (System V contexts): Fix sentence.
5066 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
5067 New macro for this case.
5068 [!__GNUC__] (__bswap_64): New inline function for this case.
5069 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5070 * bits/byteswap.h: Likewise.
5071 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
5072 ull, guard with __GLIBC_HAVE_LONG_LONG.
5074 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
5075 __GLIBC_HAVE_LONG_LONG.
5077 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
5078 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
5080 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5083 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
5084 inptr and inend, rather than using last_ch.
5086 2012-04-02 David S. Miller <davem@davemloft.net>
5088 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
5089 * stdio-common/printf-parse.h (read_int): Change return type to
5090 'int', return -1 on INT_MAX overflow.
5091 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
5092 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
5093 overflows INT_MAX. Check for overflow of in-format-string precision
5094 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
5095 SIZE_MAX not INT_MAX for integer overflow test.
5096 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
5097 skip the construct in the format string but do not record anything.
5098 * stdio-common/bug22.c: Adjust to test both width/prevision
5099 INT_MAX overflow as well as total length INT_MAX overflow. Check
5100 explicitly for proper errno values.
5102 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
5104 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
5106 * string/test-strcmp.c [! WIDE]: Likewise.
5107 * time/tst-mktime2.c: Likewise for INT_MAX.
5108 * string/test-string.h: #include <sys/param.h> for MIN.
5110 * csu/init-first.c (__libc_init_first): Call __ctype_init.
5111 * sysdeps/i386/init-first.c (init): Likewise.
5112 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
5113 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
5114 * sysdeps/sh/init-first.c (init): Likewise.
5116 2012-04-01 Ulrich Drepper <drepper@gmail.com>
5118 * po/ru.po: Update from translation team.
5119 * po/vi.po: Likewise.
5121 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5123 * resolv/nss_dns/dns-host.c: Merge copyright years.
5125 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5127 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5128 Optimize memcpy with prefetch if
5129 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
5130 src, dst pointers have unequal 16 byte alignments.
5132 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5135 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
5136 from a CNAME entry and return the minimum ttl for the query.
5137 (gaih_getanswer_slice): Likewise.
5139 2012-03-30 Jeff Law <law@redhat.com>
5141 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
5143 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
5144 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
5146 * resolv/nss_dns/dns-host.c: Update copyright year.
5148 2012-03-30 Ulrich Drepper <drepper@gmail.com>
5150 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
5151 requests to save a system call. Fix check that all bytes are sent.
5153 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
5154 comments for sendmmsg.
5156 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5159 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
5160 with only 1 character between 0x0041 and 0x01b0.
5161 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
5162 * wcsmbs/tst-mbsnrtowcs.c: New file.
5164 2012-03-29 David S. Miller <davem@davemloft.net>
5166 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
5167 small copies by hand.
5169 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5172 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
5173 _nss_compat_initgroups_dyn): Fall back to malloc/free
5174 for large group memberships.
5176 2012-03-28 David S. Miller <davem@davemloft.net>
5178 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
5179 that branches into memcpy.
5180 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5181 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
5182 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5183 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
5184 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
5186 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
5188 * sysdeps/sparc/mempcpy.S: New file.
5190 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
5191 the IFUNC routine in the libc case.
5192 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5194 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
5195 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
5196 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
5197 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
5198 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
5199 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
5200 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
5201 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
5203 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
5204 loop to 256 bytes instead of 64 bytes and fix test signedness.
5206 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
5207 * sysdeps/sparc/sparc32/Makefile: rather than here...
5208 * sysdeps/sparc/sparc64/Makefile: and here.
5210 2012-03-28 Ulrich Drepper <drepper@gmail.com>
5212 * malloc/mallocbug.c: Avoid warnings about unused variables.
5214 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5217 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
5218 in the right place. Discard and retry query if response is
5219 larger than input buffer size.
5221 2012-03-28 Joseph Myers <joseph@codesourcery.com>
5226 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
5227 x for large integer exponent.
5228 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5229 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
5230 sign of result as needed afterwards.
5231 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
5232 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
5233 result for underflowing pow the same as for overflow.
5234 (__kernel_standard_l): Handle powl overflow and underflow here
5235 rather than calling __kernel_standard.
5236 * math/libm-test.inc (pow_test): Add more tests.
5251 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
5252 * sysdeps/ieee754/k_standard.c: Include <float.h>.
5253 (__kernel_standard_l): New function.
5254 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
5256 * math/w_acosl.c (__acosl): Likewise.
5257 * math/w_asinl.c (__asinl): Likewise.
5258 * math/w_atan2l.c (__atan2l): Likewise.
5259 * math/w_atanhl.c (__atanhl): Likewise.
5260 * math/w_coshl.c (__coshl): Likewise.
5261 * math/w_exp10l.c (__exp10l): Likewise.
5262 * math/w_exp2l.c (__exp2l): Likewise.
5263 * math/w_fmodl.c (__fmodl): Likewise.
5264 * math/w_hypotl.c (__hypotl): Likewise.
5265 * math/w_j0l.c (__j0l, __y0l): Likewise.
5266 * math/w_j1l.c (__j1l, __y1l): Likewise.
5267 * math/w_jnl.c (__jnl, __ynl): Likewise.
5268 * math/w_lgammal.c (__lgammal): Likewise.
5269 * math/w_log10l.c (__log10l): Likewise.
5270 * math/w_log2l.c (__log2l): Likewise.
5271 * math/w_logl.c (__logl): Likewise.
5272 * math/w_powl.c (__powl): Likewise.
5273 * math/w_remainderl.c (__remainderl): Likewise.
5274 * math/w_scalbl.c (sysv_scalbl): Likewise.
5275 * math/w_sinhl.c (__sinhl): Likewise.
5276 * math/w_sqrtl.c (__sqrtl): Likewise.
5277 * math/w_tgammal.c (__tgammal): Likewise.
5278 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
5279 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
5280 * math/libm-test.inc (acos_test): Add more tests.
5281 (acosh_test): Likewise.
5282 (asin_test): Likewise.
5283 (atanh_test): Likewise.
5284 (exp_test): Likewise.
5285 (exp10_test): Likewise.
5286 (exp2_test): Likewise.
5287 (expm1_test): Likewise.
5288 (lgamma_test): Likewise.
5289 (log_test): Likewise.
5290 (log10_test): Likewise.
5291 (log1p_test): Likewise.
5292 (log2_test): Likewise.
5293 (pow_test): Do not allow some spurious overflow exceptions.
5294 (sqrt_test): Add more tests.
5295 (tgamma_test): Likewise.
5296 (y0_test): Likewise.
5297 (y1_test): Likewise.
5298 (yn_test): Likewise.
5300 2012-03-27 Anton Blanchard <anton@samba.org>
5302 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
5304 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5305 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
5306 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5308 2012-03-27 David S. Miller <davem@davemloft.net>
5310 * conform/Makefile: Run run-conformtest.sh using $(BASH).
5312 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
5315 2012-03-27 Andreas Jaeger <aj@suse.de>
5317 * sysdeps/x86_64/elf/configure.in: Moved to ...
5318 * sysdeps/x86_64/configure.in: ... here.
5319 * sysdeps/x86_64/elf/start.S: Moved to ...
5320 * sysdeps/x86_64/start.S: ... here.
5321 * sysdeps/x86_64/elf/configure: Delete.
5323 * sysdeps/x86_64/configure.in: Merge contents from
5324 sysdeps/i386/configure.in (without i686 check).
5326 * sysdeps/i386/elf/Versions: Merge into ...
5327 * sysdeps/i386/Versions: ... this.
5328 * sysdeps/i386/elf/Versions: Delete file.
5329 * sysdeps/i386/elf/start.S: Moved to ...
5330 * sysdeps/i386/start.S: ...here.
5331 * sysdeps/i386/elf/configure.in: Merge into...
5332 * sysdeps/i386/configure.in: ...here.
5333 * sysdeps/i386/elf/configure.in: Delete file.
5334 * sysdeps/i386/elf/configure: Delete file.
5336 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
5337 * debug/backtracesyms.c: ... here.
5338 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
5339 * debug/backtracesymsfd.c: ... here.
5340 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
5341 * sysdeps/generic/ifunc-sel.h: ... here.
5343 * sysdeps/unix/i386/start.c: Delete file.
5344 * sysdeps/unix/sparc/start.c: Delete file.
5345 * sysdeps/unix/start.c: Delete file.
5347 * sysdeps/sh/elf/configure.in: Moved to ...
5348 * sysdeps/sh/configure.in: ... here.
5349 * sysdeps/sh/elf/start.S: Moved to ...
5350 * sysdeps/sh/start.S: ... here.
5351 * sysdeps/sh/elf/configure: Delete file.
5353 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
5354 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
5355 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
5356 * sysdeps/powerpc/powerpc64/entry.h: ... here.
5357 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
5358 * sysdeps/powerpc/powerpc64/start.S: here.
5359 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
5360 * sysdeps/powerpc/powerpc64/Makefile: ... this.
5361 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
5362 * sysdeps/powerpc/powerpc64/configure.in: ... this.
5363 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
5365 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
5366 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
5367 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
5368 * sysdeps/powerpc/powerpc32/start.S: ... here.
5369 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
5370 * sysdeps/powerpc/powerpc32/configure.in: ... this.
5371 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
5373 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
5374 * sysdeps/powerpc/ifunc-sel.h: ... here.
5375 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
5376 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
5378 * sysdeps/sparc/elf/configure.in: Moved to ...
5379 * sysdeps/sparc/configure.in: ... here.
5380 * sysdeps/sparc/elf/configure: Delete file.
5381 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
5382 * sysdeps/sparc/sparc32/start.S: ... here.
5383 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
5384 * sysdeps/sparc/sparc64/start.S: ... here.
5385 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
5386 * sysdeps/sparc/sparc32/Makefile: ... this.
5387 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
5388 * sysdeps/sparc/sparc64/Makefile: ... this.
5390 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
5391 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
5392 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
5393 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
5394 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
5395 * sysdeps/s390/s390-32/setjmp.S: ... here.
5396 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
5397 * sysdeps/s390/s390-32/configure.in: ... here.
5398 * sysdeps/s390/s390-32/elf/configure: Delete file.
5399 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
5400 * sysdeps/s390/s390-32/start.S: ... here.
5402 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
5403 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
5404 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
5405 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
5406 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
5407 * sysdeps/s390/s390-64/setjmp.S: ... here.
5408 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
5409 * sysdeps/s390/s390-64/configure.in: ... here
5410 * sysdeps/s390/s390-64/elf/configure: Delete file.
5411 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
5412 * sysdeps/s390/s390-64/start.S: ... here.
5413 * sysdeps/s390/s390-64/elf/configure: Delete.
5415 * configure.in: Remove support for elf directories in sysdeps.
5417 * configure: Regenerated.
5418 * sysdeps/i386/configure: Regenerated.
5419 * sysdeps/powerpc/powerpc32/configure: Regenerated.
5420 * sysdeps/powerpc/powerpc64/configure: Regenerated.
5421 * sysdeps/s390/s390-32/configure: Regenerated.
5422 * sysdeps/s390/s390-64/configure: Regenerated.
5423 * sysdeps/sh/configure: Regenerated.
5424 * sysdeps/sparc/configure: Regenerated.
5425 * sysdeps/x86_64/configure: Regenerated.
5427 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
5429 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5431 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
5432 denormal result into account.
5434 2012-03-25 Roland McGrath <roland@hack.frob.com>
5436 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
5437 Reported by Allan McRae <allan@archlinux.org>.
5439 2012-03-23 Jeff Law <law@redhat.com>
5441 * nss/getnssent.c (__nss_getent): Fix typo.
5443 2012-03-23 David S. Miller <davem@davemloft.net>
5445 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5447 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
5449 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
5450 to pad to uint64_t for each field.
5451 (dl_tls_index): Replace unsigned long with uint64_t.
5453 2012-03-23 Daniel Jacobowitz <dmj@google.com>
5454 Paul Pluzhnikov <ppluzhnikov@google.com>
5457 * grp/Makefile (otherlibs): Don't set it.
5458 * inet/Makefile (otherlibs): Likewise.
5459 * login/Makefile (otherlibs): Likewise.
5460 * nscd/Makefile (otherlibs): Likewise.
5461 * posix/Makefile (otherlibs): Likewise.
5462 * pwd/Makefile (otherlibs): Likewise.
5463 * rt/Makefile (otherlibs): Likewise.
5464 * sunrpc/Makefile (otherlibs): Likewise.
5465 * nss/Makefile (otherlibs): Likewise.
5466 Add libnss_files to routines and static-only-routines.
5467 ($(objpfx)getent): Remove rule.
5468 * resolv/Makefile: Add libnss_dns and libresolv to routines and
5469 static-only-routines.
5471 2012-03-22 Joseph Myers <joseph@codesourcery.com>
5474 * math/s_cexp.c: Include <float.h>.
5475 (__cexp): Handle exp result overflowing not necessarily
5476 overflowing both real and imaginary parts of result.
5477 * math/s_cexpf.c: Likewise.
5478 * math/s_cexpl.c: Likewise.
5479 * math/libm-test.inc (cexp_test): Add more tests.
5480 * sysdeps/i386/fpu/libm-test-ulps: Update.
5481 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5483 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5485 * include/link.h (ELFW): New macro.
5486 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
5487 Replace ELF64_R_TYPE with ELFW(R_TYPE).
5489 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5491 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
5494 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5496 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
5498 (struct La_x32_retval): Likewise.
5500 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5502 * sysdeps/x86_64/preconfigure.in: New file.
5503 * sysdeps/x86_64/preconfigure: New generated file.
5505 2012-03-22 Joseph Myers <joseph@codesourcery.com>
5508 * math/e_exp2l.c: Include <float.h>.
5509 (__ieee754_exp2l): Handle overflow and underflow cases
5510 separately. Only pass fractional part of argument to
5512 * math/libm-test.inc (exp2_test): Add more tests.
5514 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
5515 negating x to take absolute value.
5516 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
5518 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5519 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
5521 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
5522 computing low part if x was negated.
5523 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5525 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5527 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
5529 (pltexit): Cast int_retval to ptrdiff_t.
5530 * elf/tst-auditmod3b.c: Likewise.
5531 * elf/tst-auditmod4b.c: Likewise.
5532 * elf/tst-auditmod5b.c: Likewise.
5533 * elf/tst-auditmod6b.c: Likewise.
5534 * elf/tst-auditmod6c.c: Likewise.
5535 * elf/tst-auditmod7b.c: Likewise.
5537 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
5538 and x32_gnu_pltexit.
5540 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
5542 (La_x32_regs): New macro.
5543 (La_x32_retval): Likewise.
5544 (la_x32_gnu_pltenter): New function prototype.
5545 (la_x32_gnu_pltexit): Likewise.
5547 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
5549 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
5552 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5554 * configure.in (libc_cv_cc_nofma): Check for option to disable
5555 generation of FMA instructions.
5556 * configure: Regenerate.
5557 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
5558 * sysdeps/ieee754/dbl-64/Makefile: New file.
5559 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
5560 Remove brandred-fma4.
5561 (CFLAGS-brandred-fma4.c): Remove.
5562 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
5563 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
5565 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
5568 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5570 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
5571 LLONG_MAX != LONG_MAX.
5572 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5573 (_fitoa_word): Likewise.
5574 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
5575 LLONG_MAX != LONG_MAX.
5576 * stdio-common/_itowa.h: Include <_itoa.h>.
5577 (_itowa_word): Use _ITOA_WORD_TYPE on value.
5578 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
5579 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
5580 only if not defined.
5581 (_ITOA_WORD_TYPE): Likewise.
5582 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5583 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
5585 2012-03-21 David S. Miller <davem@davemloft.net>
5587 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5589 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5591 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
5592 of x86_64 when setting libc_cv_slibdir, libdir and
5594 * sysdeps/unix/sysv/linux/configure: Regenerated.
5596 2012-03-21 Joseph Myers <joseph@codesourcery.com>
5598 * manual/lang.texi (Old Varargs): Remove section.
5599 (How Variadic): Update menu.
5600 (va_start): Do not mention varargs.h.
5602 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5603 Joseph Myers <joseph@codesourcery.com>
5605 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
5607 * configure: Regenerated.
5609 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5611 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
5612 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
5615 2012-03-21 Joseph Myers <joseph@codesourcery.com>
5618 * Makefile (files-for-dist): Remove NOTES.
5619 (NOTES): Remove rule.
5620 * README: Don't refer to NOTES.
5621 * manual/creature.texi: Don't include macros.texi.
5622 * manual/intro.texi (creature.texi): Remove comment referring to
5625 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
5626 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
5627 * configure: Regenerated.
5628 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
5630 (libc_cv_as_i686): Likewise.
5631 (libc_cv_cc_avx): Likewise.
5632 (libc_cv_cc_sse2avx): Likewise.
5633 (libc_cv_cc_fma4): Likewise.
5634 (libc_cv_cc_novzeroupper): Likewise.
5635 * sysdeps/i386/configure: Regenerated.
5638 * sysdeps/i386/fpu/s_cexp.S: Remove.
5639 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5640 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5641 * math/libm-test.inc (cexp_test): Add more tests.
5642 * sysdeps/i386/fpu/libm-test-ulps: Update.
5643 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5645 2012-03-21 Allan McRae <allan@archlinux.org>
5647 * timezone/Makefile: Do not install iso3166.tab and zone.tab
5649 2012-03-21 Joseph Myers <joseph@codesourcery.com>
5652 * math/w_exp2.c: Do not include <float.h>.
5653 (o_threshold, u_threshold): Remove.
5654 (__exp2): Calculate result before checking finiteness and calling
5656 * math/w_exp2f.c: Likewise.
5657 * math/w_exp2l.c: Likewise.
5658 * math/libm-test.inc (exp2_test): Require overflow exception for
5662 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
5663 range of signed 64-bit integers before using fistpll. Remove
5664 checks for whether integers fit in mantissa bits.
5665 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
5666 the range of signed 32-bit integers before using fistpl. Remove
5667 checks for whether integers fit in mantissa bits.
5668 * sysdeps/i386/fpu/e_powl.S (p64): New object.
5669 (__ieee754_powl): Test for y outside the range of signed 64-bit
5670 integers before using fistpll. Reduce 64-bit values to 63-bit
5672 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
5673 divide-by-zero is raised for zero to large negative powers.
5674 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
5675 (__ieee754_powl): Test for y outside the range of signed 64-bit
5676 integers before using fistpll. Reduce 64-bit values to 63-bit
5678 * math/libm-test.inc (pow_test): Add more tests.
5680 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5682 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
5683 <stdio-common/_itoa.h>.
5684 * debug/segfault.c: Likewise.
5685 * elf/dl-cache.c: Likewise.
5686 * elf/dl-minimal.c: Likewise.
5687 * elf/dl-misc.c: Likewise.
5688 * elf/dl-sysdep.c: Likewise.
5689 * elf/dl-version.c: Likewise.
5690 * elf/rtld.c: Likewise.
5691 * hurd/hurdsock.c: Likewise.
5692 * hurd/lookup-retry.c: Likewise.
5693 * malloc/malloc.c: Likewise.
5694 * malloc/mtrace.c: Likewise.
5695 * nscd/nscd_getgr_r.c: Likewise.
5696 * nscd/nscd_getpw_r.c: Likewise.
5697 * nscd/nscd_getserv_r.c: Likewise.
5698 * posix/getopt_init.c: Likewise.
5699 * posix/wordexp.c: Likewise.
5700 * stdio-common/_itoa.c: Likewise.
5701 * stdio-common/printf_fphex.c: Likewise.
5702 * stdio-common/vfprintf.c: Likewise.
5703 * string/_strerror.c: Likewise.
5704 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
5705 * sysdeps/i386/i686/hp-timing.h: Likewise.
5706 * sysdeps/mach/_strerror.c: Likewise.
5707 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
5708 * sysdeps/mach/hurd/sethostid.c: Likewise.
5709 * sysdeps/mach/hurd/xmknodat.c: Likewise.
5710 * sysdeps/mach/xpg-strerror.c: Likewise.
5711 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5712 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5713 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
5714 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
5715 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5716 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
5717 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
5718 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
5719 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
5720 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
5721 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
5722 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5723 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
5724 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
5725 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
5726 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
5727 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
5728 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
5729 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5730 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5731 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
5733 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
5735 * stdio-common/_itoa.h: Moved to ...
5736 * sysdeps/generic/_itoa.h: Here.
5738 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
5740 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
5741 instead of "_itoa.h" and "_itowa.h".
5742 * stdio-common/vfprintf.: Likewise.
5744 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5746 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
5748 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
5749 (__signbit): Likwise.
5753 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5755 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
5758 2012-03-20 Joseph Myers <joseph@codesourcery.com>
5760 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
5761 OVERFLOW_EXCEPTION_OK.
5762 * math/libm-test.inc ("Philosophy"): Update comment about
5764 (OVERFLOW_EXCEPTION): Define.
5765 (OVERFLOW_EXCEPTION_OK): Likewise.
5766 (INVALID_EXCEPTION_OK): Renumber.
5767 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5768 (IGNORE_ZERO_INF_SIGN): Likewise.
5769 (test_exceptions): Handle FE_OVERFLOW.
5770 (exp10_test): Expect overflow exceptions.
5771 (exp2_test): Likewise.
5772 (expm1_test): Likewise.
5773 (nextafter_test): Likewise.
5774 (pow_test): Likewise.
5775 (scalbn_test): Likewise.
5776 (scalbln_test): Likewise.
5778 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5780 * sysdeps/x86_64/bits/atomic.h
5781 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
5783 (atomic_exchange_acq): Likewise.
5784 (__arch_exchange_and_add_body): Likewise.
5785 (__arch_add_body): Likewise.
5786 (atomic_add_negative): Likewise.
5787 (atomic_add_zero): Likewise.
5789 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5791 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
5792 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
5794 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5796 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
5797 Check __x86_64__ instead of __WORDSIZE.
5799 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5801 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
5803 2012-03-19 David S. Miller <davem@davemloft.net>
5805 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5807 * sysdeps/sparc/fpu/fenv_private.h: New file.
5808 * sysdeps/sparc/fpu/math_private.h: Use it.
5809 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
5811 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
5812 (libc_feholdexcept_setroundl): Remove.
5813 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
5815 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
5816 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
5818 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5820 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
5821 int64_t instead of long int.
5822 (INSERT_WORDS64): Likwise.
5824 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5826 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
5827 _Unwind_GetCFA return to _Unwind_Ptr first.
5829 2012-03-19 Joseph Myers <joseph@codesourcery.com>
5832 * math/s_clog.c: Include <float.h>.
5833 (__clog): Scale large or subnormal inputs.
5834 * math/s_clogf.c: Likewise.
5835 * math/s_clogl.c: Likewise.
5836 * math/s_clog10.c: Include <float.h>.
5837 (M_LOG10_2): Define.
5838 (__clog10): Scale large or subnormal inputs.
5839 * math/s_clog10f.c: Likewise.
5840 * math/s_clog10l.c: Likewise.
5841 * math/libm-test.inc (clog_test): Add more tests.
5842 (clog10_test): Likewise.
5843 * sysdeps/i386/fpu/libm-test-ulps: Update.
5844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5847 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
5849 * math/libm-test.inc (atan2_test): Add another test.
5851 * Makerules (common-objdir-compile): Remove.
5852 * sysdeps/unix/Makefile (config-generated): Do not add
5853 $(unix-generated) to variable.
5854 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
5855 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
5857 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
5859 [generic bits/local_lim.h] (before-compile): Do not append to
5861 [generic bits/local_lim.h] (common-generated): Likewise.
5862 [generic sys/param.h] (before-compile): Do not append to variable.
5863 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
5864 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
5865 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
5866 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
5868 [generic sys/param.h] (sys/param.h-includes): Remove variable.
5869 [generic sys/param.h] (sys/param.h-includes): Remove rule.
5870 [generic sys/param.h] ($(addprefix
5871 $(common-objpfx),$(sys/param.h-includes))): Likewise.
5872 [generic sys/param.h] (common-generated): Do not append to
5874 [generic sys/param.h] (sysdep_headers): Likewise.
5875 [generic bits/errno.h] (before-compile): Do not append to
5877 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
5879 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
5880 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
5881 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
5882 [generic bits/errno.h] (common-generated): Do not append to
5884 [generic bits/ioctls.h] (before-compile): Do not append to
5886 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
5888 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
5889 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
5890 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
5892 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
5893 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
5894 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
5895 [generic bits/ioctls.h] (common-generated): Do not append to
5897 [generic sys/syscall.h] (syscall.h): Remove variable.
5898 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
5900 [generic sys/syscall.h] (before-compile): Do not append to
5902 [generic sys/syscall.h] (common-generated): Likewise.
5903 * sysdeps/unix/errnos-tmpl.c: Remove file.
5904 * sysdeps/unix/errnos.awk: Likewise.
5905 * sysdeps/unix/ioctls-tmpl.c: Likewise.
5906 * sysdeps/unix/ioctls.awk: Likewise.
5907 * sysdeps/unix/mk-local_lim.c: Likewise.
5908 * sysdeps/unix/snarf-ioctls: Likewise.
5910 2012-03-19 Richard Henderson <rth@twiddle.net>
5912 * sysdeps/i386/fpu/fenv_private.h: New file.
5913 * sysdeps/i386/fpu/math_private.h: Use it.
5914 (math_opt_barrier, math_force_eval): Remove.
5915 (libc_feholdexcept_setround_53bit): Remove.
5916 (libc_feupdateenv_53bit): Remove.
5917 * sysdeps/x86_64/fpu/math_private.h: Likewise.
5918 (math_opt_barrier, math_force_eval): Remove.
5919 (libc_feholdexcept): Remove.
5920 (libc_feholdexcept_setround): Remove.
5921 (libc_fetestexcept, libc_fesetenv): Remove.
5922 (libc_feupdateenv_test): Remove.
5923 (libc_feupdateenv, libc_feholdsetround): Remove.
5924 (libc_feresetround): Remove.
5926 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
5927 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5929 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
5930 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
5931 (libc_feupdateenv_testl): New.
5932 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
5933 (libc_feupdateenv_testf): New.
5934 (libc_feupdateenv): Use libc_feupdateenv_test.
5935 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
5936 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
5938 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
5939 (libc_feholdsetroundf, libc_feholdsetroundl): New.
5940 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
5941 (libc_feresetround_noex): New.
5942 (libc_feresetround_noexf): New.
5943 (libc_feresetround_noexl): New.
5944 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
5945 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
5946 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
5947 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
5949 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
5950 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
5952 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
5953 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
5954 SET_RESTORE_ROUND_NOEX.
5955 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
5956 SET_RESTORE_ROUND_NOEXF.
5957 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
5958 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
5959 (libc_feholdsetroundf): New.
5960 (libc_feresetround, libc_feresetroundf): New.
5962 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
5963 (libc_feholdexcept_setround_53bit): Convert from macro to function.
5964 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
5966 * sysdeps/generic/math_private.h: Include <fenv.h>.
5967 (default_libc_feholdexcept): New.
5968 (default_libc_feholdexcept_setround): New.
5969 (default_libc_fesetenv, default_libc_feupdateenv): New.
5970 (libc_feholdexcept): Only define if undefined.
5971 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
5972 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
5973 (libc_feholdexcept_setroundl): Likewise.
5974 (libc_feholdexcept_setround_53bit): Likewise.
5975 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
5976 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
5977 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
5978 (libc_feupdateenv_53bit): Likewise.
5979 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
5980 (libc_feholdexcept): Convert from macro to inline function.
5981 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
5982 (libc_fesetenv, libc_feupdateenv): Likewise.
5984 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
5985 not previously defined.
5986 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
5987 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
5988 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
5989 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
5990 * sysdeps/ieee754/flt-32/math_private.h: New file.
5991 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
5992 math_private.h below SET_FLOAT_WORD.
5993 (__isnan, __isinf_ns, __finite): Remove.
5994 (__isnanf, __isinf_nsf, __finitef): Remove.
5996 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
5998 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6000 2012-03-17 David S. Miller <davem@davemloft.net>
6003 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
6006 2012-03-16 David S. Miller <davem@davemloft.net>
6008 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
6012 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
6014 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
6015 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
6016 sysdep_routines when subdir is sysvipc.
6017 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
6020 * sysdeps/sparc/fpu/libm-test/ulps: Update.
6022 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6024 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
6027 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6029 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
6030 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
6031 (__lround): Renamed to ...
6032 (__llround): This. Replace long int with long long int.
6033 Define lround functions as aliases of llround functions.
6034 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
6036 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6038 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
6039 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
6040 adresses to uintptr_t. Replace "long int" and "unsigned long
6041 int" with "greg_t" on va_arg.
6043 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6045 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
6046 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
6048 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
6049 Move e_machine check before EI_CLASS check. Handle x32
6050 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
6051 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
6052 SKIP_EM_IA_64 and include
6053 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
6055 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
6056 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
6057 (add_system_dir): New macro.
6059 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
6060 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
6062 2012-03-16 Joseph Myers <joseph@codesourcery.com>
6073 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
6075 * math/w_j0f.c (j0f): Likewise.
6077 * math/w_j0l.c (__j0l): Likewise.
6079 * math/w_j1.c (j1): Likewise.
6081 * math/w_j1f.c (j1f): Likewise.
6083 * math/w_j1l.c (__j1l): Likewise.
6085 * math/w_jn.c (jn): Likewise.
6087 * math/w_jnf.c (jnf): Likewise.
6089 * math/w_jnl.c (__jnl): Likewise.
6091 * math/libm-test.inc (j0_test): Add more tests.
6092 (j1_test): Likewise.
6093 (jn_test): Likewise. Add trailing semicolon to existing test.
6094 (y0_test): Likewise.
6095 (y1_test): Likewise.
6096 * sysdeps/i386/fpu/libm-test-ulps: Update.
6097 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6101 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
6102 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
6103 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
6104 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
6105 (__tanl): Set errno for infinite argument.
6106 * sysdeps/i386/fpu/mptan.c: Remove.
6107 * sysdeps/i386/fpu/s_tan.S: Likewise.
6108 * sysdeps/i386/fpu/s_tanl.S: Likewise.
6109 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
6110 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
6111 * math/libm-test.inc (tan_test): Add more tests and enable more
6112 tests for double and long double.
6113 * sysdeps/i386/fpu/libm-test-ulps: Update.
6114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6116 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6118 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
6119 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
6121 2012-03-16 Roland McGrath <roland@hack.frob.com>
6123 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
6124 * configure.in: Use it for both main tree and add-ons.
6125 * configure: Regenerated.
6127 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6129 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
6131 2012-03-16 Joseph Myers <joseph@codesourcery.com>
6133 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
6137 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
6138 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
6139 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
6140 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
6141 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
6143 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
6144 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
6146 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
6147 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
6148 * sysdeps/i386/fpu/s_cosl.S: Likewise.
6149 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
6150 * sysdeps/i386/fpu/s_sinl.S: Likewise.
6151 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
6152 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
6153 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
6154 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
6155 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
6156 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
6157 * math/libm-test.inc (cos_test): Add more tests and enable more
6158 tests for long double.
6159 (sin_test): Likewise.
6160 (sincos_test): Likewise.
6161 * sysdeps/i386/fpu/libm-test-ulps: Update.
6162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6164 2012-03-16 David S. Miller <davem@davemloft.net>
6166 * sysdeps/sparc/fpu/math_private.h: New file.
6168 2012-03-15 David S. Miller <davem@davemloft.net>
6170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
6172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
6173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
6175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
6176 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
6177 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
6178 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
6179 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
6180 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
6182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6184 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
6185 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
6187 * sysdeps/sparc/sparc-ifunc.h: New file.
6188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
6190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
6191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
6193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
6195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
6196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
6197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
6198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
6200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
6202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
6204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
6206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
6208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
6210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
6211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
6212 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
6213 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
6214 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
6215 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
6216 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
6217 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
6218 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
6219 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
6220 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
6221 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
6222 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
6223 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
6224 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
6225 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
6226 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
6227 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
6228 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
6229 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
6230 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
6231 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
6233 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6235 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
6237 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6239 2012-03-15 Andreas Jaeger <aj@suse.de>
6242 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
6243 ieee754/flt-32 implementation for sin, cos and sincos.
6244 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
6245 * sysdeps/i386/fpu/s_cosf.S: Likewise.
6246 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
6247 * sysdeps/i386/fpu/s_sinf.S: Likewise.
6248 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
6249 ieee754/flt-32 implementation for tan.
6251 * math/libm-test.inc (cos_test): Enable some large input tests for
6253 (sin_test): Likewise.
6254 (sincos_test): Likewise.
6255 (tan_test): Add tests for large input.
6257 * sysdeps/i386/fpu/libm-test-ulps: Update.
6259 2012-03-15 Andreas Jaeger <aj@suse.de>
6262 * math/libm-test.inc (cos_test): Add more test cases.
6263 (sin_test): Likewise.
6264 (sincos_test): Likewise.
6266 2012-03-15 Andreas Jaeger <aj@suse.de>
6269 * math/libm-test.inc (cos_test): Add a test case for large input
6271 (sin_test): Likewise.
6272 (sincos_test): Likewise.
6274 2012-03-15 Andreas Jaeger <aj@suse.de>,
6275 Joseph Myers <joseph@codesourcery.com>
6278 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
6279 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
6280 * sysdeps/i386/fpu/branred.c: Likewise.
6281 * sysdeps/i386/fpu/dosincos.c: Likewise.
6282 * sysdeps/i386/fpu/mpa.c: Likewise.
6283 * sysdeps/i386/fpu/s_cos.S: Likewise.
6284 * sysdeps/i386/fpu/s_sin.S: Likewise.
6285 * sysdeps/i386/fpu/s_sincos.S: Likewise.
6286 * sysdeps/i386/fpu/sincos32.c: Likewise.
6288 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
6290 (libc_feupdateenv_53bit): Define.
6291 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
6293 (libc_feupdateenv_53bit): Define.
6295 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
6296 53 bit (without extend i386 double precision).
6298 * math/libm-test.inc (sincos_test): Add tests for large input.
6302 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6304 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6306 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6308 2012-03-15 David S. Miller <davem@davemloft.net>
6310 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
6311 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
6312 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
6313 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
6314 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
6315 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
6316 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
6317 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
6318 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
6319 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
6320 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
6321 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
6322 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
6323 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
6324 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
6325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
6327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
6328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
6330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
6331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
6333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
6334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
6336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
6337 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
6338 fmin/fmax sysdep routines.
6339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6341 2012-03-14 David S. Miller <davem@davemloft.net>
6343 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
6344 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
6345 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
6346 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
6347 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
6348 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
6349 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
6350 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
6351 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
6352 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
6353 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
6354 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
6355 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
6356 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
6357 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
6358 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
6359 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
6360 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
6361 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
6362 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
6363 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
6364 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
6365 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
6366 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
6367 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
6368 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
6369 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
6370 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
6371 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
6373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
6375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
6376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
6378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
6379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
6381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
6382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
6384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
6385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
6387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
6388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
6390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
6392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
6394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
6396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
6398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
6400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
6402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
6403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
6405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
6406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
6408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
6409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
6411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
6412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
6415 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
6418 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6420 * sysdeps/sparc/configure.in: New file.
6421 * sysdeps/sparc/configure: Generate.
6422 * configure.in (libc_cv_sparc_as_vis3): Substitute.
6423 * configure: Regenerate.
6424 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
6425 * config.make.in (have-as-vis3): New.
6426 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
6427 available use -Av9d instead of -Av9a.
6428 * sysdeps/sparc/sparc64/Makefile: Likewise.
6429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
6430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
6432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
6434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
6436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
6438 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
6439 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
6440 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
6441 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
6442 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
6444 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
6445 fzeros/fnegs to load 0x80000000 into a float register instead of
6447 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
6449 2012-03-14 Joseph Myers <joseph@codesourcery.com>
6451 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6453 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
6454 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
6455 ($(inst_includedir)/bits/syscall.h): Remove rule.
6456 ($(objpfx)bits/syscall.d): Include instead of
6457 $(objpfx)syscall-list.d.
6458 (generated): Change syscall-list.h and syscall-list.d to
6459 bits/syscall.h and bits/syscall.d.
6461 2012-03-14 Roland McGrath <roland@hack.frob.com>
6464 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
6466 2012-03-14 Joseph Myers <joseph@codesourcery.com>
6469 * math/s_csqrt.c: Include <float.h>.
6470 (__csqrt): Scale large or subnormal inputs.
6471 * math/s_csqrtf.c: Likewise.
6472 * math/s_csqrtl.c: Likewise.
6473 * math/libm-test.inc (csqrt_test): Add more tests.
6474 * sysdeps/i386/fpu/libm-test-ulps: Update.
6475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6478 * math/libm-test.inc (hypot_test): Add more tests.
6480 2012-03-13 David S. Miller <davem@davemloft.net>
6483 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
6484 double-precision for the calculation instead of scaling.
6486 2012-03-13 Joseph Myers <joseph@codesourcery.com>
6488 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
6489 manipulate bits before adding and subtracting TWO52[sx].
6490 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
6491 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
6493 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
6495 2012-03-13 David S. Miller <davem@davemloft.net>
6497 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
6498 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
6499 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
6500 rtld-global-offsets.h
6501 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6503 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
6506 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
6508 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
6509 'err' in the ifdef scope in which it is actually used.
6511 * nss/nss_db/db-init.c: Include string.h
6513 2012-03-12 David S. Miller <davem@davemloft.net>
6515 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
6516 masking out of the most significant byte of random value used.
6517 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6518 Fix coding style in previous change.
6520 * sysdeps/unix/sysv/linux/kernel-features.h
6521 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
6522 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
6524 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
6527 2012-03-11 David S. Miller <davem@davemloft.net>
6529 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6530 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
6531 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
6532 for 'resultvar' otherwise things get truncated on 64-bit.
6534 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6535 Fix masking out of the most significant byte of random value used.
6537 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6539 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
6541 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6543 2012-03-09 David S. Miller <davem@davemloft.net>
6545 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
6546 variables with appropriate CPP guards.
6547 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
6548 frame pointer, not the stack pointer. Correct layout comments. Fix test
6549 on resulting framesize and the management of the outregs buffer for pltexit.
6550 Preserve floating point return values across _dl_call_pltexit call.
6551 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
6552 framesize and the management of the outregs buffer for pltexit.
6553 Preserve floating point return values across _dl_call_pltexit
6555 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
6556 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
6557 (print_exit): Fix format string for return register value.
6559 2012-03-10 Joseph Myers <joseph@codesourcery.com>
6561 * sunrpc/Makefile (others): Add rpcgen.
6562 ($(objpfx)rpcgen): Remove special build rule and dependency on
6564 * sunrpc/rpcgen.c: New file.
6566 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
6569 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
6570 * stdio-common/bug-vfprintf-nargs.c: Likewise.
6571 * sysdeps/i386/crti.S: Likewise.
6572 * sysdeps/i386/crtn.S: Likewise.
6573 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
6574 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
6575 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
6576 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
6577 * sysdeps/sh/crti.S: Likewise.
6578 * sysdeps/sh/crtn.S: Likewise.
6579 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
6582 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
6584 * locale/programs/locfile-kw.gperf: Likewise.
6585 * locale/programs/charmap-kw.h: Regenerated.
6586 * locale/programs/locfile-kw.h: Likewise.
6589 * intl/plural.y: Replace FSF snail mail address with URL.
6590 * intl/plural.c: Regenerated.
6592 2012-03-09 Richard Henderson <rth@twiddle.net>
6594 * include/math_private.h: Remove file.
6595 * math/math_private.h: Move file ...
6596 * sysdeps/generic/math_private.h: ... here.
6598 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
6599 * sysdeps/powerpc/fpu/math_private.h: Likewise.
6600 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6602 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
6603 and <math_private.h>.
6604 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6605 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6606 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6607 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6608 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6609 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
6610 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6611 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6612 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6613 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6614 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6615 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6616 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6617 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6618 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6619 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6620 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6621 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6622 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6623 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6624 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6625 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6626 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6627 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6628 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
6629 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6630 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6631 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6632 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6633 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6634 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6635 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6636 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
6637 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6638 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6639 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6640 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6641 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6642 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6643 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6644 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
6645 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6646 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6647 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
6648 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
6649 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6650 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
6651 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6652 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6653 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6654 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6655 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
6656 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
6657 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6658 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
6659 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6660 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6661 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
6662 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
6663 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
6664 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6665 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
6666 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6667 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6668 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
6669 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6670 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6671 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6672 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
6673 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
6674 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
6675 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6676 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6677 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6678 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
6679 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
6680 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
6681 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6682 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
6683 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
6684 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
6685 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
6686 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
6687 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6688 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6689 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
6690 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
6691 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
6692 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6693 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6694 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6695 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6696 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6697 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6698 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6699 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6700 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6701 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6702 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6703 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6704 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6705 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6706 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6707 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6708 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6709 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6710 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6711 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6712 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6713 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6714 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6715 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6716 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6717 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6718 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
6719 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6720 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6721 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6722 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6723 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
6724 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6725 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6726 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6727 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
6728 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6729 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6730 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6731 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
6732 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6733 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
6734 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
6735 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
6736 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6737 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
6738 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
6739 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6740 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6741 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6742 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
6743 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6744 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6745 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6746 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6747 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
6748 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
6749 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6750 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6751 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6752 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
6753 * sysdeps/ieee754/k_standard.c: Likewise.
6754 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6755 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6756 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6757 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6758 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6759 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6760 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6761 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6762 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6763 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6764 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6765 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6766 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6767 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6768 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6769 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6770 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6771 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6772 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6773 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
6774 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
6775 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
6776 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6777 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6778 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6779 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
6780 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6781 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6782 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6783 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6784 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6785 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6786 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6787 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6788 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6789 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6790 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6791 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
6792 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
6793 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6794 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6795 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6796 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6797 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6798 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6799 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6800 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6801 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6802 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6803 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6804 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6805 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6806 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6807 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
6808 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6809 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6810 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
6811 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
6812 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6813 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6814 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6815 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6816 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6817 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6818 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6819 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6820 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6821 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6822 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6823 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6824 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6825 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6826 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6827 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6828 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6829 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6830 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
6831 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6832 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6833 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
6834 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
6835 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
6836 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6837 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6838 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
6839 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6840 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6841 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
6842 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6843 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6844 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
6845 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6846 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
6847 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
6848 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6849 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6850 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
6851 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
6852 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
6853 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
6854 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6855 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6856 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6857 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6858 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
6859 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6860 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6861 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
6862 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
6863 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6864 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6865 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6866 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6867 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6868 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6869 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6870 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6871 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6872 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6873 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6874 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6875 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6876 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6877 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6878 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6879 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
6880 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6881 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6882 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6883 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6884 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6885 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6886 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6887 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
6888 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6889 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6890 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
6891 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
6892 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6893 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
6894 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
6895 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6896 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
6897 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
6898 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6899 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6900 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6901 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6902 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6903 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
6904 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6905 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
6906 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6907 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
6908 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
6909 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
6910 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6911 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6912 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6913 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
6914 * sysdeps/ieee754/s_lib_version.c: Likewise.
6915 * sysdeps/ieee754/s_matherr.c: Likewise.
6916 * sysdeps/ieee754/s_signgam.c: Likewise.
6917 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6918 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6919 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
6920 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
6921 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
6922 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
6923 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
6924 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
6925 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
6926 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
6927 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6928 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
6929 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6930 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6931 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
6932 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
6933 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
6934 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
6935 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
6936 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6937 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6939 2012-03-09 Joseph Myers <joseph@codesourcery.com>
6941 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
6942 * sunrpc/rpc_main.c: Likewise.
6943 * sunrpc/rpc_svcout.c: Likewise.
6945 2012-03-09 David S. Miller <davem@davemloft.net>
6947 * include/math_private.h: New file.
6949 2012-03-09 Joseph Myers <joseph@codesourcery.com>
6951 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
6952 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
6953 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
6954 from <bits/socket_type.h>.
6955 (enum __socket_type): Don't define here.
6956 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
6957 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6961 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
6964 * Makerules ($(inst_includedir)/%.h): New rule.
6965 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
6966 (install-others): Remove variable setting.
6967 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
6969 2012-03-08 Richard Henderson <rth@twiddle.net>
6971 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
6972 from macro to inline function; merge with the
6973 !__LIBC_INTERNAL_MATH_INLINES version.
6974 (__ieee754_sqrtf): Likewise.
6976 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
6978 (__rintf, __floor, __floorf): Likewise.
6980 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
6981 macro to inline function.
6982 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
6984 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
6985 not <math/math_private.h>.
6987 2012-03-08 David S. Miller <davem@davemloft.net>
6989 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
6991 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
6993 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
6995 * resolv/gai_misc.c (handle_requests): Fix struct timespec
6997 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
6998 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
7000 2012-03-08 Ulrich Drepper <drepper@gmail.com>
7002 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
7003 be defined individually, they must be defined as a block. Define
7004 S for printing a string instead of hidint the different by using a
7005 macro for adding the 'l'.
7006 * stdio-common/tst-fphex-wide.c: Adjust.
7008 2012-03-07 Marek Polacek <polacek@redhat.com>
7010 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
7012 2012-03-08 Marek Polacek <polacek@redhat.com>
7015 * stdio-common/Makefile (tests): Add tst-fphex-wide.
7016 * stdio-common/tst-fphex.c: Define a few macros to make the
7017 test reusable. Use them.
7018 * stdio-common/tst-fphex-wide.c: New file.
7020 2012-03-08 Joseph Myers <joseph@codesourcery.com>
7023 * manual/macros.texi (gnusystems): New macro.
7024 (nongnusystems): Likewise.
7025 (gnulinuxhurdsystems): Likewise.
7026 (gnuhurdsystems): Likewise..
7027 (gnulinuxsystems): Likewise.
7028 * manual/charset.texi: Use new macros or @theglibc{} to refer to
7029 variants of the GNU system, not "GNU system".
7030 * manual/conf.texi: Likewise.
7031 * manual/errno.texi: Likewise. Update example of errno macro
7033 * manual/filesys.texi: Likewise.
7034 (getumask): Document as specific to GNU/Hurd.
7035 * manual/install.texi: Likewise. Reword some references to
7037 * manual/intro.texi: Likewise.
7038 * manual/io.texi: Likewise.
7039 (File Name Portability): Detail which constraints are inapplicable
7040 to all GNU systems and which are only inapplicable to GNU/Hurd.
7041 * manual/job.texi: Likewise.
7042 * manual/llio.texi: Likewise.
7043 (O_NOCTTY): Document as present on GNU/Linux.
7044 * manual/maint.texi: Likewise.
7045 * manual/memory.texi: Likewise.
7046 * manual/pattern.texi: Likewise.
7047 * manual/pipe.texi: Likewise.
7048 * manual/process.texi: Likewise.
7049 * manual/resource.texi: Likewise.
7050 (RUSAGE_CHILDREN): Remove statement about specifying a particular
7052 * manual/setjmp.texi: Likewise.
7053 * manual/signal.texi: Likewise.
7054 * manual/startup.texi: Likewise.
7055 * manual/stdio.texi: Likewise.
7056 * manual/terminal.texi: Likewise.
7057 (ONLCR): Document as POSIX.
7058 (OXTABS): Document availability on GNU/Linux as XTABS.
7059 (ONOEOT): Document availability separately from other bits.
7060 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
7061 * manual/time.texi: Likewise.
7062 * manual/users.texi: Likewise.
7063 * INSTALL: Regenerated.
7064 * sysdeps/gnu/errlist.c: Regenerated.
7066 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
7067 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
7068 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
7070 * configure: Regenerated.
7072 2012-03-07 Joseph Myers <joseph@codesourcery.com>
7074 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
7075 default includes instead of AC_HEADER_CHECK.
7076 * sysdeps/i386/configure: Regenerated.
7079 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
7080 * math/s_cacoshf.c (__cacoshf): Likewise.
7081 * math/s_cacoshl.c (__cacoshl): Likewise.
7082 * math/s_casinh.c (__casinh): Set signs of result from argument.
7083 * math/s_casinhf.c (__casinhf): Likewise.
7084 * math/s_casinhl.c (__casinhl): Likewise.
7085 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
7086 (casinh_test): Add more tests.
7087 * sysdeps/i386/fpu/libm-test-ulps: Update.
7088 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7090 2012-03-07 Ulrich Drepper <drepper@gmail.com>
7092 * po/zh_TW.po: Update from translation team.
7094 * login/Makefile (distribute): Remove variable.
7095 * catgets/Makefile: Likewise.
7096 * mach/Makefile: Likewise.
7097 * malloc/Makefile: Likewise.
7098 * misc/Makefile: Likewise.
7099 * iconv/Makefile: Likewise.
7100 * nscd/Makefile: Likewise.
7101 * hurd/Makefile: Likewise.
7102 * manual/Makefile: Likewise.
7103 * locale/Makefile: Likewise.
7104 * intl/Makefile: Likewise.
7105 * conform/Makefile: Likewise.
7106 * nss/Makefile: Likewise.
7107 * time/Makefile: Likewise.
7108 * soft-fp/Makefile: Likewise.
7109 * dirent/Makefile: Likewise.
7110 * gmon/Makefile: Likewise.
7111 * po/Makefile: Likewise.
7112 * rt/Makefile: Likewise.
7113 * socket/Makefile: Likewise.
7114 * math/Makefile: Likewise.
7115 * signal/Makefile: Likewise.
7116 * debug/Makefile: Likewise.
7117 * elf/Makefile: Likewise.
7118 * timezone/Makefile: Likewise.
7119 * stdlib/Makefile: Likewise.
7120 * iconvdata/Makefile: Likewise.
7121 * sunrpc/Makefile: Likewise.
7122 * io/Makefile: Likewise.
7123 * argp/Makefile: Likewise.
7124 * inet/Makefile: Likewise.
7125 * hesiod/Makefile: Likewise.
7126 * grp/Makefile: Likewise.
7127 * csu/Makefile: Likewise.
7128 * wctype/Makefile: Likewise.
7129 * crypt/Makefile: Likewise.
7130 * libio/Makefile: Likewise.
7131 * string/Makefile: Likewise.
7132 * nis/Makefile: Likewise.
7133 * resolv/Makefile: Likewise.
7134 * stdio-common/Makefile: Likewise.
7135 * wcsmbs/Makefile: Likewise.
7136 * dlfcn/Makefile: Likewise.
7137 * posix/Makefile: Likewise.
7140 * timezone/Makefile: Don't install timezone files, just the programs
7143 2012-03-06 Ulrich Drepper <drepper@gmail.com>
7145 * nss/databases.def: Add missing gshadow entry.
7147 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
7149 2012-03-06 Marek Polacek <polacek@redhat.com>
7152 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
7153 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
7154 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
7155 * stdio-common/tst-long-dbl-fphex.c: New file.
7157 2012-03-06 David S. Miller <davem@davemloft.net>
7159 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7160 (set_obp_int): New function.
7161 (get_obp_int): New function.
7162 (__get_clockfreq_via_dev_openprom): Likewise.
7163 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
7164 Avoid unused variable warnings on 'val' and use builtin_expect.
7165 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
7167 (INLINE_CLONE_SYSCALL): Likewise.
7169 2012-03-05 David S. Miller <davem@davemloft.net>
7171 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7173 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
7175 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7177 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
7179 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7181 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
7183 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
7184 Replace gettimeofday with __vdso_gettimeofday.
7186 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7187 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
7188 __vdso_clock_gettime and __vdso_getcpu.
7190 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
7191 time with __vdso_time.
7193 2012-03-05 Joseph Myers <joseph@codesourcery.com>
7195 * manual/lang.texi (size_t): Note types to which size_t may be
7196 equivalent with the GNU C Library, but do not describe when
7197 differences between them are significant.
7199 2012-03-05 Andreas Jaeger <aj@suse.de>
7201 * sysdeps/i386/fpu/libm-test-ulps: Update.
7203 2012-03-05 Joseph Myers <joseph@codesourcery.com>
7206 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
7207 (__ieee754_pow): Save and restore rounding mode and use
7208 round-to-nearest for main computations.
7209 * math/libm-test.inc (pow_test_tonearest): New function.
7210 (pow_test_towardzero): Likewise.
7211 (pow_test_downward): Likewise.
7212 (pow_test_upward): Likewise.
7213 (main): Call the new functions.
7214 * sysdeps/i386/fpu/libm-test-ulps: Update.
7215 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7218 * math/libm-test.inc (cosh_test_tonearest): New function.
7219 (cosh_test_towardzero): Likewise.
7220 (cosh_test_downward): Likewise.
7221 (cosh_test_upward): Likewise.
7222 (sinh_test_tonearest): Likewise.
7223 (sinh_test_towardzero): Likewise.
7224 (sinh_test_downward): Likewise.
7225 (sinh_test_upward): Likewise.
7226 (main): Call the new functions.
7227 * sysdeps/i386/fpu/libm-test-ulps: Update.
7228 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7230 2012-03-05 Tom de Vries <tom@codesourcery.com>
7232 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
7233 default stack guard is set in last bytes.
7234 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
7236 2012-03-05 Kees Cook <keescook@chromium.org>
7238 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
7241 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
7242 possibly allocate from heap instead of stack.
7243 * stdio-common/bug-vfprintf-nargs.c: New file.
7244 * stdio-common/Makefile (tests): Add nargs overflow test.
7246 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
7248 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7250 2012-03-03 Marek Polacek <polacek@redhat.com>
7252 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
7253 * math/math_private.h: Likewise.
7254 * stdlib/tst-strtod.c: Likewise.
7255 * sysdeps/i386/i486/bits/atomic.h: Likewise.
7256 * sysdeps/x86_64/bits/atomic.h: Likewise.
7258 2012-03-02 David S. Miller <davem@davemloft.net>
7260 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
7261 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
7262 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
7263 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
7264 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
7265 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
7266 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
7267 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
7269 2012-03-02 Roland McGrath <roland@hack.frob.com>
7272 * manual/examples/README: New file, says the example source files
7273 can be used under GPL>=2.
7274 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
7275 line containing just "*/".
7276 * manual/examples/add.c: Add copyright header (GPL>=2).
7277 * manual/examples/argp-ex1.c: Likewise.
7278 * manual/examples/argp-ex2.c: Likewise.
7279 * manual/examples/argp-ex3.c: Likewise.
7280 * manual/examples/argp-ex4.c: Likewise.
7281 * manual/examples/atexit.c: Likewise.
7282 * manual/examples/db.c: Likewise.
7283 * manual/examples/dir.c: Likewise.
7284 * manual/examples/dir2.c: Likewise.
7285 * manual/examples/execinfo.c: Likewise.
7286 * manual/examples/filecli.c: Likewise.
7287 * manual/examples/filesrv.c: Likewise.
7288 * manual/examples/fmtmsgexpl.c: Likewise.
7289 * manual/examples/genpass.c: Likewise.
7290 * manual/examples/inetcli.c: Likewise.
7291 * manual/examples/inetsrv.c: Likewise.
7292 * manual/examples/isockad.c: Likewise.
7293 * manual/examples/longopt.c: Likewise.
7294 * manual/examples/memopen.c: Likewise.
7295 * manual/examples/memstrm.c: Likewise.
7296 * manual/examples/mkfsock.c: Likewise.
7297 * manual/examples/mkisock.c: Likewise.
7298 * manual/examples/mygetpass.c: Likewise.
7299 * manual/examples/pipe.c: Likewise.
7300 * manual/examples/popen.c: Likewise.
7301 * manual/examples/rprintf.c: Likewise.
7302 * manual/examples/search.c: Likewise.
7303 * manual/examples/select.c: Likewise.
7304 * manual/examples/setjmp.c: Likewise.
7305 * manual/examples/sigh1.c: Likewise.
7306 * manual/examples/sigusr.c: Likewise.
7307 * manual/examples/stpcpy.c: Likewise.
7308 * manual/examples/strdupa.c: Likewise.
7309 * manual/examples/strftim.c: Likewise.
7310 * manual/examples/strncat.c: Likewise.
7311 * manual/examples/subopt.c: Likewise.
7312 * manual/examples/swapcontext.c: Likewise.
7313 * manual/examples/termios.c: Likewise.
7314 * manual/examples/testopt.c: Likewise.
7315 * manual/examples/testpass.c: Likewise.
7316 * manual/examples/timeval_subtract.c: Likewise.
7319 * manual/time.texi (Elapsed Time): Move timeval_subtract example
7321 * manual/timeval_subtract.c.texi: ... here, new file.
7323 2012-03-02 David S. Miller <davem@davemloft.net>
7325 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
7327 2012-03-02 Joseph Myers <joseph@codesourcery.com>
7330 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
7331 (__sin): Save and restore rounding mode and use round-to-nearest
7332 for all computations.
7333 (__cos): Save and restore rounding mode and use round-to-nearest
7334 for all computations.
7335 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
7337 (tan): Save and restore rounding mode and use round-to-nearest for
7339 * math/libm-test.inc (cos_test_tonearest): New function.
7340 (cos_test_towardzero): Likewise.
7341 (cos_test_downward): Likewise.
7342 (cos_test_upward): Likewise.
7343 (sin_test_tonearest): Likewise.
7344 (sin_test_towardzero): Likewise.
7345 (sin_test_downward): Likewise.
7346 (sin_test_upward): Likewise.
7347 (tan_test_tonearest): Likewise.
7348 (tan_test_towardzero): Likewise.
7349 (tan_test_downward): Likewise.
7350 (tan_test_upward): Likewise.
7351 (main): Call the new functions.
7352 * sysdeps/i386/fpu/libm-test-ulps: Update.
7353 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7356 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
7357 small n, then large n, before computing and testing k+n.
7358 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7359 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
7361 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
7363 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
7364 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
7365 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
7366 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
7367 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
7368 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
7369 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
7370 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
7371 * math/libm-test.inc (scalbn_test): Add more tests.
7372 (scalbln_test): Likewise.
7374 * manual/filesys.texi (mode_t): Describe constraints on size and
7375 signedness, not exact equivalence to a particular type.
7377 (ino64_t): Likewise.
7379 (nlink_t): Likewise.
7380 (blkcnt_t): Likewise.
7381 (blkcnt64_t): Likewise.
7382 * manual/llio.texi (off_t): Likewise.
7385 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
7386 (__ieee754_exp): Save and restore rounding mode and use
7387 round-to-nearest for all computations.
7388 * math/libm-test.inc (exp_test_tonearest): New function.
7389 (exp_test_towardzero): Likewise.
7390 (exp_test_downward): Likewise.
7391 (exp_test_upward): Likewise.
7392 (main): Call the new functions.
7393 * sysdeps/i386/fpu/libm-test-ulps: Update.
7394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7396 2012-03-01 Chris Demetriou <cgd@google.com>
7398 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
7399 have predictable order.
7401 2012-03-01 David S. Miller <davem@davemloft.net>
7403 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
7405 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
7406 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
7407 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
7408 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
7410 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
7411 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
7412 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
7413 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
7414 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
7415 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
7416 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
7417 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
7418 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
7420 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7422 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
7423 * sysdeps/sparc/fpu/libm-test-ulps: to here.
7424 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
7426 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
7427 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7428 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
7429 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
7430 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
7431 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
7432 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
7433 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7434 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
7435 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
7436 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
7437 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7438 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7439 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
7440 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7441 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7442 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
7443 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
7444 * sysdeps/sparc/elf/configure: Regenerated.
7446 2012-03-01 Joseph Myers <joseph@codesourcery.com>
7448 * configure.in (AS, LD): Require binutils 2.20 or later.
7449 * configure: Regenerated.
7450 * manual/install.texi (Tools for Compilation): Give binutils 2.20
7451 as required minimum version.
7452 * INSTALL: Regenerated.
7456 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
7457 before squaring exponent.
7458 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
7459 bottom long double and 27 bits of top long double before squaring
7461 * math/libm-test.inc (erfc_test): Add more tests.
7462 * sysdeps/i386/fpu/libm-test-ulps: Update.
7463 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7464 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7466 2012-03-01 Kai Tietz <ktietz@redhat.com>
7468 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
7469 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
7470 containing bit-fields.
7471 * soft-fp/extended.h (_FP_UNION_E): Likewise.
7472 * soft-fp/single.h (_FP_UNION_S): Likewise.
7473 * soft-fp/double.h (_FP_UNION_D): Likewise.
7475 2012-02-29 Joseph Myers <joseph@codesourcery.com>
7478 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
7479 not include ../strcmp.S.
7480 [USE_AS_STRNCASECMP_L]: Likewise.
7481 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
7482 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
7483 * sysdeps/i386/i686/multiarch/strncase_l-c.c
7484 (__strncasecmp_l_ia32): Define as alias to
7485 __strncasecmp_l_nonascii.
7488 * math/libm-test.inc (expm1_test): Add test for bug 5794.
7489 * sysdeps/i386/fpu/libm-test-ulps: Update.
7490 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7492 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
7493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7495 2012-02-29 Jeff Law <law@redhat.com>
7497 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
7500 2012-02-29 Marek Polacek <polacek@redhat.com>
7503 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
7504 * elf/Makefile: Add rules to run tst-unused-dep.out.
7506 2012-02-28 David S. Miller <davem@davemloft.net>
7508 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
7509 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
7510 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
7511 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
7512 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
7513 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
7515 2012-02-29 Joseph Myers <joseph@codesourcery.com>
7517 * math/libm-test.inc (llround_test): Move one test from
7518 lround_test. Use TEST_f_L in moved test.
7519 (lround_test): Move misplaced test to llround_test. Add testcase
7522 2012-02-28 Ulrich Drepper <drepper@gmail.com>
7524 * sysdeps/x86_64/fpu/e_expf.S: New file.
7525 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
7527 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
7530 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
7531 of remain_len that may cause incomplete multi-byte character and
7533 * posix/bug-regex33.c: New file.
7534 * posix/Makefile (tests): Add bug-regex33.
7536 2012-02-28 Joseph Myers <joseph@codesourcery.com>
7538 * manual/macros.texi: New file.
7539 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
7540 * manual/libc.texinfo: Include macros.texi.
7541 * manual/creatute.texi: Likewise.
7542 * manual/install.texi: Likewise.
7543 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
7544 @glibcadj{} in references to the GNU C Library.
7545 * manual/charset.texi: Likewise.
7546 * manual/conf.texi: Likewise.
7547 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
7548 when not using those macros.
7549 * manual/creature.texi: Likewise.
7550 * manual/crypt.texi: Likewise.
7551 * manual/errno.texi: Likewise.
7552 * manual/filesys.texi: Likewise.
7553 * manual/header.texi: Likewise.
7554 * manual/install.texi: Likewise.
7555 * manual/intro.texi: Likewise.
7556 * manual/io.texi: Likewise.
7557 * manual/job.texi: Likewise.
7558 * manual/lang.texi: Likewise.
7559 * manual/libc.texiinfo: Likewise.
7560 * manual/llio.texi: Likewise.
7561 * manual/locale.texi: Likewise.
7562 * manual/maint.texi: Likewise.
7563 * manual/math.texi: Likewise.
7564 * manual/memory.texi: Likewise.
7565 * manual/message.texi: Likewise.
7566 * manual/nss.texi: Likewise.
7567 * manual/pattern.texi: Likewise.
7568 * manual/process.texi: Likewise.
7569 * manual/resource.texi: Likewise.
7570 * manual/search.texi: Likewise.
7571 * manual/setjmp.texi: Likewise.
7572 * manual/signal.texi: Likewise.
7573 * manual/socket.texi: Likewise.
7574 * manual/startup.texi: Likewise.
7575 * manual/stdio.texi: Likewise.
7576 * manual/string.texi: Likewise.
7577 * manual/sysinfo.texi: Likewise.
7578 * manual/syslog.texi: Likewise.
7579 * manual/terminal.texi: Likewise.
7580 * manual/time.texi: Likewise.
7581 * manual/users.texi: Likewise.
7582 * INSTALL: Regenerated.
7583 * NOTES: Regenerated.
7584 * sysdeps/gnu/errlist.c: Regenerated.
7586 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
7588 * include/dirent.h: Include <dirstream.h> before
7591 2012-02-28 David S. Miller <davem@davemloft.net>
7593 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
7594 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
7595 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
7596 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
7598 2012-02-27 David S. Miller <davem@davemloft.net>
7600 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
7601 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
7602 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
7603 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
7605 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
7606 frame pointer instead of stack pointer relative arg slot.
7607 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7608 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7609 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7611 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
7614 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
7616 2012-02-27 David S. Miller <davem@davemloft.net>
7618 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
7619 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7620 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7621 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
7622 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7623 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7624 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
7625 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
7627 2012-02-27 Joseph Myers <joseph@codesourcery.com>
7629 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
7630 later. Allow versions 5-9.
7631 * configure: Regenerated.
7632 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
7633 required minimum version and 4.6 as recommended version. Do not
7634 mention bugs in GCC 2.7 and 2.8.
7635 * INSTALL: Regenerated.
7637 2012-02-27 David S. Miller <davem@davemloft.net>
7639 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
7640 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
7641 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
7642 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
7643 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
7644 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
7645 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
7646 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
7648 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
7649 manipulate bits before adding and subtracting TWO112[sx].
7650 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
7652 2012-02-27 Roland McGrath <roland@hack.frob.com>
7655 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
7656 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
7657 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
7658 being in POSIX, because they are in 1003.1-2008.
7660 * rt/tst-aio.c: Include <fcntl.h>.
7661 * rt/tst-aio7.c: Likewise.
7662 * rt/tst-aio64.c: Likewise.
7664 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
7666 2012-02-27 Joseph Myers <joseph@codesourcery.com>
7668 * manual/install.texi (--with-headers): Describe headers as
7669 interface headers, not private headers.
7670 (Specific advice for GNU/Linux systems): Describe use of headers
7671 from "make headers_install", not private headers from older
7673 * INSTALL: Regenerated.
7674 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
7676 * sysdeps/unix/sysv/linux/configure: Regenerated.
7678 * manual/llio.texi (fclean): Remove documentation.
7680 * manual/Makefile (libc-texi-generated): New variable. Include
7682 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
7683 $(libc-texi-generated), not duplicated list of files.
7684 (version.texi, stamp-version): New rules.
7685 (realclean): Remove $(libc-texi-generated), not individual files
7686 from that list. Do not remove dir-add.texinfo.
7687 * manual/libc.texinfo: Comment out uses of edition numbers and
7688 references to printed manual. Remove last-updated dates.
7689 (EDITION): Comment out.
7691 (VERSION, UPDATED): Remove.
7692 (version.texi): Include.
7694 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
7696 * sysdeps/posix/spawni.c: Include <signal.h>.
7697 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
7698 * sysdeps/pthread/aio_fsync.c: Likewise.
7700 2012-02-26 Ulrich Drepper <drepper@gmail.com>
7702 * conform/Makefile (tests): Run only when not cross-compiling and
7703 when fast-check is not defined.
7705 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
7706 * conform/data/limits.h-data: Fixes for POSIX2008.
7707 * conform/run-conformtest.sh: Run all tests.
7708 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
7710 * include/bits/dlfcn.h: Likewise.
7711 * include/langinfo.h: Likewise.
7712 * include/monetary.h: Likewise.
7713 * include/sys/poll.h: Likewise.
7715 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
7717 * posix/spawn.h: Define __need_sigset_t.
7718 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
7719 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
7720 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
7721 to get sigevent_t only.
7722 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
7724 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7725 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7726 process_vm_writev only for __USE_GNU.
7727 * termios/termios.h: Declare tcgetsid also for POSIX2008.
7729 * conform/Makefile: For now ignore errors from run-conformtest.
7730 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
7731 POSIX to avoid namespace pollution. Don't prepend headers.
7732 * conform/data/aio.h-data: Fixes for POSIX testing.
7733 * conform/data/fcntl.h-data: Likewise.
7734 * conform/data/glob.h-data: Likewise.
7735 * conform/data/grp.h-data: Likewise.
7736 * conform/data/pthread.h-data: Likewise.
7737 * conform/data/pwd.h-data: Likewise.
7738 * conform/data/signal.h-data: Likewise.
7739 * conform/data/spawn.h-data: Likewise.
7740 * conform/data/stdio.h-data: Likewise.
7741 * conform/data/stdlib.h-data: Likewise.
7742 * conform/data/stropts.h-data: Likewise.
7743 * conform/data/sys/mman.h-data: Likewise.
7744 * conform/data/sys/stat.h-data: Likewise.
7745 * conform/data/sys/types.h-data: Likewise.
7746 * conform/data/sys/wait.h-data: Likewise.
7747 * conform/data/time.h-data: Likewise.
7748 * conform/data/unistd.h-data: Likewise.
7749 * conform/data/utime.h-data: Likewise.
7751 * io/sys/stat.h: fchmod was always in POSIX.
7752 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
7753 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
7754 * rt/aio.h: Define __need_timespec before including <time.h>.
7755 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
7756 struct. Add forward declaration of pthread_attr_t and use it in
7758 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
7759 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7760 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
7761 always remove CLK_TCK definition.
7763 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
7765 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
7767 2012-02-25 Ulrich Drepper <drepper@gmail.com>
7769 * conform/run-conformtest.sh: New file.
7770 * conform/Makefile: Run run-conformtest for tests.
7771 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
7774 * conform/data/uchar.h-data: New file.
7775 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
7776 * conform/data/arpa/inet.h-data: Likewise.
7777 * conform/data/assert.h-data: Likewise.
7778 * conform/data/complex.h-data: Likewise.
7779 * conform/data/cpio.h-data: Likewise.
7780 * conform/data/ctype.h-data: Likewise.
7781 * conform/data/dirent.h-data: Likewise.
7782 * conform/data/dlfcn.h-data: Likewise.
7783 * conform/data/errno.h-data: Likewise.
7784 * conform/data/fcntl.h-data: Likewise.
7785 * conform/data/float.h-data: Likewise.
7786 * conform/data/fmtmsg.h-data: Likewise.
7787 * conform/data/fnmatch.h-data: Likewise.
7788 * conform/data/ftw.h-data: Likewise.
7789 * conform/data/glob.h-data: Likewise.
7790 * conform/data/grp.h-data: Likewise.
7791 * conform/data/iconv.h-data: Likewise.
7792 * conform/data/inttypes.h-data: Likewise.
7793 * conform/data/langinfo.h-data: Likewise.
7794 * conform/data/libgen.h-data: Likewise.
7795 * conform/data/limits.h-data: Likewise.
7796 * conform/data/locale.h-data: Likewise.
7797 * conform/data/math.h-data: Likewise.
7798 * conform/data/monetary.h-data: Likewise.
7799 * conform/data/mqueue.h-data: Likewise.
7800 * conform/data/ndbm.h-data: Likewise.
7801 * conform/data/net/if.h-data: Likewise.
7802 * conform/data/netdb.h-data: Likewise.
7803 * conform/data/netinet/in.h-data: Likewise.
7804 * conform/data/nl_types.h-data: Likewise.
7805 * conform/data/poll.h-data: Likewise.
7806 * conform/data/pthread.h-data: Likewise.
7807 * conform/data/pwd.h-data: Likewise.
7808 * conform/data/regex.h-data: Likewise.
7809 * conform/data/sched.h-data: Likewise.
7810 * conform/data/search.h-data: Likewise.
7811 * conform/data/semaphore.h-data: Likewise.
7812 * conform/data/setjmp.h-data: Likewise.
7813 * conform/data/signal.h-data: Likewise.
7814 * conform/data/spawn.h-data: Likewise.
7815 * conform/data/stdarg.h-data: Likewise.
7816 * conform/data/stdio.h-data: Likewise.
7817 * conform/data/stdlib.h-data: Likewise.
7818 * conform/data/string.h-data: Likewise.
7819 * conform/data/strings.h-data: Likewise.
7820 * conform/data/stropts.h-data: Likewise.
7821 * conform/data/sys/ipc.h-data: Likewise.
7822 * conform/data/sys/mman.h-data: Likewise.
7823 * conform/data/sys/msg.h-data: Likewise.
7824 * conform/data/sys/resource.h-data: Likewise.
7825 * conform/data/sys/select.h-data: Likewise.
7826 * conform/data/sys/sem.h-data: Likewise.
7827 * conform/data/sys/shm.h-data: Likewise.
7828 * conform/data/sys/socket.h-data: Likewise.
7829 * conform/data/sys/stat.h-data: Likewise.
7830 * conform/data/sys/statvfs.h-data: Likewise.
7831 * conform/data/sys/time.h-data: Likewise.
7832 * conform/data/sys/timeb.h-data: Likewise.
7833 * conform/data/sys/times.h-data: Likewise.
7834 * conform/data/sys/types.h-data: Likewise.
7835 * conform/data/sys/uio.h-data: Likewise.
7836 * conform/data/sys/un.h-data: Likewise.
7837 * conform/data/sys/utsname.h-data: Likewise.
7838 * conform/data/sys/wait.h-data: Likewise.
7839 * conform/data/syslog.h-data: Likewise.
7840 * conform/data/tar.h-data: Likewise.
7841 * conform/data/termios.h-data: Likewise.
7842 * conform/data/utime.h-data: Likewise.
7843 * conform/data/utmpx.h-data: Likewise.
7844 * conform/data/varargs.h-data: Likewise.
7845 * conform/data/wchar.h-data: Likewise.
7846 * conform/data/wctype.h-data: Likewise.
7847 * conform/data/wordexp.h-data: Likewise.
7849 * include/stropts.h: New file.
7850 * include/uchar.h: New file.
7851 * include/aio.h: Changes to allow conformtest.pl to use the headers.
7852 * include/assert.h: Likewise.
7853 * include/ctype.h: Likewise.
7854 * include/dirent.h: Likewise.
7855 * include/dlfcn.h: Likewise.
7856 * include/fcntl.h: Likewise.
7857 * include/fnmatch.h: Likewise.
7858 * include/glob.h: Likewise.
7859 * include/grp.h: Likewise.
7860 * include/libio.h: Likewise.
7861 * include/locale.h: Likewise.
7862 * include/math.h: Likewise.
7863 * include/net/if.h: Likewise.
7864 * include/netdb.h: Likewise.
7865 * include/netinet/in.h: Likewise.
7866 * include/pthread.h: Likewise.
7867 * include/pwd.h: Likewise.
7868 * include/regex.h: Likewise.
7869 * include/sched.h: Likewise.
7870 * include/search.h: Likewise.
7871 * include/setjmp.h: Likewise.
7872 * include/signal.h: Likewise.
7873 * include/stdio.h: Likewise.
7874 * include/stdlib.h: Likewise.
7875 * include/string.h: Likewise.
7876 * include/sys/cdefs.h: Likewise.
7877 * include/sys/mman.h: Likewise.
7878 * include/sys/msg.h: Likewise.
7879 * include/sys/resource.h: Likewise.
7880 * include/sys/select.h: Likewise.
7881 * include/sys/socket.h: Likewise.
7882 * include/sys/stat.h: Likewise.
7883 * include/sys/statvfs.h: Likewise.
7884 * include/sys/time.h: Likewise.
7885 * include/sys/times.h: Likewise.
7886 * include/sys/uio.h: Likewise.
7887 * include/sys/utsname.h: Likewise.
7888 * include/sys/wait.h: Likewise.
7889 * include/termios.h: Likewise.
7890 * include/time.h: Likewise.
7891 * include/ulimit.h: Likewise.
7892 * include/unistd.h: Likewise.
7893 * include/utime.h: Likewise.
7894 * include/wchar.h: Likewise.
7895 * include/wctype.h: Likewise.
7896 * include/wordexp.h: Likewise.
7898 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
7900 * time/time.h: TIME_UTC must be a macro.
7901 Make timespec_get available for ISO C11 only as well.
7903 2012-02-24 Ulrich Drepper <drepper@gmail.com>
7905 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
7906 Reported by Peng Haitao <penght@cn.fujitsu.com>.
7908 2012-02-24 Joseph Myers <joseph@codesourcery.com>
7910 * configure.in: Use -o not -a in test for unsupported multi-arch.
7912 2012-02-24 Joseph Myers <joseph@codesourcery.com>
7914 * manual/texinfo.tex: Update to version 2012-01-19.16.
7916 2012-02-24 Joseph Myers <joseph@codesourcery.com>
7918 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
7920 2012-02-24 Roland McGrath <roland@hack.frob.com>
7923 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
7924 * manual/fdl-1.3.texi: New file.
7925 * manual/fdl-1.1.texi: File removed.
7928 * manual/libc.texinfo (FDL_VERSION): New @set.
7929 Use it for mention of FDL in cover text.
7930 (Documentation License): Use it in @include file name.
7932 2012-02-22 Joseph Myers <joseph@codesourcery.com>
7933 Roland McGrath <roland@hack.frob.com>
7936 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
7937 not LONG_LONG_MAX and LONG_LONG_MIN.
7938 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
7939 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
7941 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
7943 2012-02-22 Joseph Myers <joseph@codesourcery.com>
7947 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
7948 manipulate bits before adding and subtracting TWO23[sx].
7949 * math/libm-test.inc (nearbyint_test): Add more tests.
7951 2012-02-22 Joseph Myers <joseph@codesourcery.com>
7954 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
7955 bits before adding and subtracting TWO23[sx].
7956 * math/libm-test.inc (rint_test): Add more tests.
7957 (rint_test_tonearest): Likewise.
7958 (rint_test_towardzero): Likewise.
7959 (rint_test_downward): Likewise.
7960 (rint_test_upward: Likewise.
7962 2012-02-22 Joseph Myers <joseph@codesourcery.com>
7965 * include/stdc-predef.h: New file. Extracted from features.h.
7966 * include/features.h: Include stdc-predef.h.
7967 * Makefile (headers): Add stdc-predef.h.
7968 * CONFORMANCE (Compiler limitations): Update.
7970 2012-02-22 Joseph Myers <joseph@codesourcery.com>
7972 * manual/libc.texinfo (VERSION, UPDATED): Revert.
7974 2012-02-21 David S. Miller <davem@davemloft.net>
7976 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
7977 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
7979 2012-02-20 David S. Miller <davem@davemloft.net>
7981 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
7982 using a normal save/restore sequence, rather than allocating a
7983 dummy stack frame just to store a frame pointer and restore.
7984 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7986 2012-02-21 Joseph Myers <joseph@codesourcery.com>
7988 * manual/install.texi: Fix stray word in line-wrapped comment.
7990 2012-02-20 David S. Miller <davem@davemloft.net>
7992 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
7993 both binutils and gcc support GOTDATA.
7995 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
7996 "rd %pc" in the PIC register setup sequences.
7998 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
7999 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
8000 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
8001 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
8002 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
8003 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8004 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8005 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8006 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
8007 (SYSCALL_ERROR_HANDLER): Likewise.
8008 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
8009 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8010 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
8011 (SYSCALL_ERROR_HANDLER): Likewise.
8013 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
8014 (HAVE_GCC_GOTDATA): New.
8015 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
8016 relocation support in both binutils and gcc.
8017 * sysdeps/sparc/elf/configure: Regenerate.
8019 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
8020 * sysdeps/sparc/sparc32/elf/configure: Delete.
8021 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
8022 * sysdeps/sparc/sparc64/elf/configure: Delete.
8023 * sysdeps/sparc/elf/configure.in: New file.
8024 * sysdeps/sparc/elf/configure: Generate.
8026 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
8027 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
8028 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
8029 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
8030 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
8032 2012-02-21 Joseph Myers <joseph@codesourcery.com>
8034 * manual/install.texi: Do not mention specific glibc version
8036 * manual/libc.texinfo (VERSION, UPDATED): Update.
8037 (@copying): Use @copyright{} and range of years.
8039 2012-02-21 Joseph Myers <joseph@codesourcery.com>
8042 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
8043 [crti.S not in sysdirs] (generated): Do not append.
8044 [crti.S not in sysdirs] (omit-deps): Likewise.
8045 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
8046 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
8047 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
8048 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
8049 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
8051 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
8052 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
8053 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
8054 * csu/defs.awk: Remove file.
8055 * sysdeps/generic/initfini.c: Likewise.
8056 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
8058 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
8061 2012-02-20 Joseph Myers <joseph@codesourcery.com>
8063 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
8064 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
8065 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
8066 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
8067 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8068 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
8070 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
8071 (__EPOLL_PACKED): Define to empty if not defined by
8073 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
8074 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8077 2012-02-20 Joseph Myers <joseph@codesourcery.com>
8079 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
8080 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
8081 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
8082 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
8084 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
8085 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8088 2012-02-20 Joseph Myers <joseph@codesourcery.com>
8090 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
8092 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8093 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8094 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
8095 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8097 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
8099 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8100 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8102 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
8104 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
8105 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
8107 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
8109 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
8112 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
8114 * math/w_acos.c: Use non-signaling floating-point comparisons.
8115 * math/w_acosf.c: Likewise.
8116 * math/w_acosh.c: Likewise.
8117 * math/w_acoshf.c: Likewise.
8118 * math/w_acoshl.c: Likewise.
8119 * math/w_acosl.c: Likewise.
8120 * math/w_asin.c: Likewise.
8121 * math/w_asinf.c: Likewise.
8122 * math/w_asinl.c: Likewise.
8123 * math/w_atanh.c: Likewise.
8124 * math/w_atanhf.c: Likewise.
8125 * math/w_atanhl.c: Likewise.
8126 * math/w_exp2.c: Likewise.
8127 * math/w_exp2f.c: Likewise.
8128 * math/w_exp2l.c: Likewise.
8129 * math/w_j0.c: Likewise.
8130 * math/w_j0f.c: Likewise.
8131 * math/w_j0l.c: Likewise.
8132 * math/w_j1.c: Likewise.
8133 * math/w_j1f.c: Likewise.
8134 * math/w_j1l.c: Likewise.
8135 * math/w_jn.c: Likewise.
8136 * math/w_jnf.c: Likewise.
8137 * math/w_log.c: Likewise.
8138 * math/w_log10.c: Likewise.
8139 * math/w_log10f.c: Likewise.
8140 * math/w_log10l.c: Likewise.
8141 * math/w_log2.c: Likewise.
8142 * math/w_log2f.c: Likewise.
8143 * math/w_log2l.c: Likewise.
8144 * math/w_logf.c: Likewise.
8145 * math/w_logl.c: Likewise.
8146 * math/w_sqrt.c: Likewise.
8147 * math/w_sqrtf.c: Likewise.
8148 * math/w_sqrtl.c: Likewise.
8149 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8150 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
8151 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8152 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8153 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8155 2012-02-19 Joseph Myers <joseph@codesourcery.com>
8158 * manual/string.texi (strnlen): Use correct parameter name in
8159 equivalent expression.
8161 2012-02-19 Joseph Myers <joseph@codesourcery.com>
8164 * manual/users.texi (seteuid): Consistently use neweuid for
8167 2012-02-19 Joseph Myers <joseph@codesourcery.com>
8170 * manual/nss.texi (Services in the NSS configuration): Correct
8171 list of services in example configuration file.
8173 2012-02-19 Nick Bowler <nbowler@draconx.ca>
8176 * manual/arith.texi: Remove statements about negative zero
8177 behaving identically to zero.
8179 2012-02-18 Joseph Myers <joseph@codesourcery.com>
8182 * manual/install.texi: Do not document upgrading from libc5.
8184 2012-02-18 Joseph Myers <joseph@codesourcery.com>
8187 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
8189 2012-02-18 David S. Miller <davem@davemloft.net>
8191 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
8192 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
8193 %o7 across the call.
8194 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
8196 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
8198 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8199 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
8200 * sysdeps/sparc/crtn.S: Likewise.
8202 2012-02-17 Ulrich Drepper <drepper@gmail.com>
8204 * aout/Makefile: Remove.
8206 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
8209 * manual/examples/argp-ex1.c (main): Format definition in GNU
8211 * manual/examples/argp-ex2.c (main): Likewise.
8212 * manual/examples/argp-ex3.c (main): Likewise.
8213 * manual/examples/argp-ex4.c (main): Likewise.
8214 * manual/examples/longopt.c (main): Use new-style prototype
8216 * manual/examples/strncat.c (main): Specify return type and use
8217 (void) for arguments.
8218 * manual/examples/subopt.c (main): Use char **argv argument.
8220 2012-02-17 Joseph Myers <joseph@codesourcery.com>
8223 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
8226 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
8229 * manual/string.texi (strchr): Change when strchrnul is
8232 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
8235 * manual/locale.texi (setlocale): Document LOCPATH.
8237 2012-02-17 Joseph Myers <joseph@codesourcery.com>
8240 * manual/process.texi (execle): Move @dots{} before last argument.
8242 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
8245 * manual/charset.texi (Generic Charset Conversion): Fix typo
8246 (LC_TYPE -> LC_CTYPE).
8248 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
8251 * manual/arith.texi (scalbn): Use @var{} on parameter names.
8252 (scalbnf): Likewise.
8253 (scalbnl): Likewise.
8254 (scalbln): Likewise.
8255 (scalblnf): Likewise.
8256 (scalblnl): Likewise.
8257 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
8261 * manual/filesys.texi (telldir): Use braces around return type.
8262 * manual/llio.texi (mmap): Add space after comma.
8264 * manual/math.texi (jn): Use @var{} on parameter names.
8270 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
8272 * manual/resource.texi (ulimit): Use @dots{} instead of literal
8274 (sched_get_priority_min): Remove semicolon on @deftypefun line.
8275 (sched_get_priority_max): Likewise.
8276 * manual/signal.texi (sigvec): Add space after comma.
8277 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
8279 (if_indextoname): Likewise.
8280 (if_freenameindex): Likewise.
8281 (sendto): Use ',' instead of '.' in prototype.
8282 * manual/startup.texi (syscall): Use @dots{} instead of literal
8284 * manual/stdio.texi (__fpending): Separate initial words of
8285 paragraph from @deftypefun line.
8286 * manual/syslog.texi (syslog): Use @dots{} instead of literal
8288 (vsyslog): Use @var{} on parameter names.
8289 * manual/terminal.texi (stty): Use @var{} on parameter names.
8290 * manual/users.texi (getutmp): Use @var{} on parameter names.
8291 (getutmpx): Likewise.
8293 2012-02-17 Joseph Myers <joseph@codesourcery.com>
8296 * manual/stdio.texi (fopen): Fix typos in description of
8299 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
8302 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
8303 get clock_id definition.
8305 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
8308 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
8309 (madvise): Cast every argument to void on its own.
8311 2012-02-17 Joseph Myers <joseph@codesourcery.com>
8314 * manual/startup.texi (Exit Status): Fix typo.
8316 2012-02-17 Joseph Myers <joseph@codesourcery.com>
8319 * manual/examples/argp-ex1.c: Include <stdlib.h>.
8320 * manual/examples/argp-ex2.c: Likewise.
8321 * manual/examples/argp-ex3.c: Likewise.
8323 2012-02-16 Richard Henderson <rth@redhat.com>
8325 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
8326 * sysdeps/s390/s390-32/initfini.c: Remove.
8327 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
8328 * sysdeps/s390/s390-64/initfini.c: Remove.
8330 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8332 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
8333 compiler output for sysdeps/generic/initfini.c.
8334 * sysdeps/sh/elf/initfini.c: Remove file.
8336 2012-02-16 David S. Miller <davem@davemloft.net>
8339 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
8341 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
8342 * sysdeps/sparc/crti.S: New file.
8343 * sysdeps/sparc/crtn.S: New file.
8344 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
8345 * sysdeps/sparc/sparc64/Makefile: Likewise.
8347 2012-02-15 Mike Frysinger <vapier@gentoo.org>
8350 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
8352 2012-02-15 Roland McGrath <roland@hack.frob.com>
8355 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
8357 * mach/devstream.c (cookie_io_functions_t): Macro removed.
8358 (write, read, close): Likewise.
8359 Patch by Aurelien Jarno <aurelien@aurel32.net>.
8361 2012-02-15 Joseph Myers <joseph@codesourcery.com>
8363 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
8364 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
8365 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
8366 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
8368 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
8369 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8372 2012-02-14 Marek Polacek <polacek@redhat.com>
8374 * sysdeps/x86_64/crti.S: New file.
8375 * sysdeps/x86_64/crtn.S: New file.
8376 * sysdeps/x86_64/elf/initfini.c: Remove file.
8378 2012-02-13 Joseph Myers <joseph@codesourcery.com>
8380 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
8381 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
8382 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
8383 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
8385 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
8386 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8389 2012-02-13 Joseph Myers <joseph@codesourcery.com>
8391 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
8392 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
8393 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
8394 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
8396 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
8397 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8400 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
8402 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
8403 __feraiseexcept instead of feraiseexcept.
8405 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
8406 nanosleep invocations.
8407 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
8408 strings, and add error checking for a nanosleep invocations.
8410 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
8412 Replace FSF snail mail address with URLs, as per GNU coding standards.
8413 Most of the snail mail addresses were wrong anyway, and omitting
8414 them makes the source code easier to maintain. Almost all of the
8415 changes are to license notices and to locale LC_IDENTIFICATION
8416 addresses, except for this one:
8417 * manual/libc.texinfo: In "Published by", give the FSF's URL,
8418 not its snail mail address.
8420 2012-02-09 Richard Henderson <rth@twiddle.net>
8422 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
8423 of kernel-features.h.
8425 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
8427 2012-02-08 Marek Polacek <polacek@redhat.com>
8429 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
8430 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
8431 * sysdeps/gnu/_G_config.h: Likewise.
8432 * sysdeps/generic/_G_config.h: Likewise.
8434 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
8436 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
8438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8440 * sysdeps/powerpc/powerpc32/crti.S: New file.
8441 * sysdeps/powerpc/powerpc32/crtn.S: New file.
8442 * sysdeps/powerpc/powerpc64/crti.S: New file.
8443 * sysdeps/powerpc/powerpc64/crtn.S: New file.
8445 * Makeconfig (have-initfini): Don't set.
8446 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
8447 * configure.in (nopic_initfini): Don't substitute.
8448 * config.h.in (HAVE_INITFINI): Don't #undef.
8449 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
8450 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
8452 2012-02-08 Joseph Myers <joseph@codesourcery.com>
8454 Support crti.S and crtn.S provided directly by architectures.
8455 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
8456 [crti.S in sysdirs] (omit-deps): Likewise.
8457 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
8458 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
8459 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
8460 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
8461 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
8462 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
8463 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
8464 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
8465 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
8466 compiler output for sysdeps/generic/initfini.c.
8467 * sysdeps/i386/elf/Makefile: Remove file.
8468 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
8470 2012-02-07 Marek Polacek <polacek@redhat.com>
8472 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
8473 * sysdeps/gnu/_G_config.h: Likewise.
8474 * sysdeps/mach/hurd/_G_config.h: Likewise.
8476 2012-02-07 Marek Polacek <polacek@redhat.com>
8478 * math/Makefile (tests): Add tst-CMPLX2.
8479 * math/tst-CMPLX2.c: New file.
8481 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
8483 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8485 * math/libm-test.inc (jn_test): Add missing L suffix.
8487 2012-02-06 Marek Polacek <polacek@redhat.com>
8489 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
8490 * sysdeps/i386/fpu/e_powf.S: Likewise.
8491 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8492 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8493 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8494 * sysdeps/i386/fpu/e_pow.S: Likewise.
8495 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
8496 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8497 * sysdeps/i386/fpu/s_expm1.S: Likewise.
8498 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8499 * sysdeps/i386/fpu/e_log2.S: Likewise.
8500 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8501 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8502 * sysdeps/i386/fpu/e_powl.S: Likewise.
8503 * sysdeps/i386/fpu/s_log1p.S: Likewise.
8504 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8505 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
8506 * sysdeps/i386/fpu/e_logl.S: Likewise.
8507 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
8508 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
8509 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8510 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
8511 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8512 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8513 * sysdeps/i386/fpu/e_log.S: Likewise.
8514 * sysdeps/i386/fpu/s_cexp.S: Likewise.
8515 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8516 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
8517 * sysdeps/i386/fpu/e_logf.S: Likewise.
8518 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8519 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8520 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
8521 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
8522 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8523 * sysdeps/i386/fpu/e_log10.S: Likewise.
8524 * sysdeps/i386/fpu/s_frexp.S: Likewise.
8525 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8526 * sysdeps/i386/fpu/s_asinh.S: Likewise.
8527 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
8528 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8529 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
8530 * sysdeps/i386/asm-syntax.h: Likewise.
8531 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8532 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8533 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8534 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
8535 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
8536 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8537 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
8538 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
8539 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8540 * sysdeps/powerpc/sysdep.h: Likewise.
8541 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
8542 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8544 2012-02-06 Joseph Myers <joseph@codesourcery.com>
8547 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
8549 2012-02-06 Joseph Myers <joseph@codesourcery.com>
8551 * sysdeps/i386/sysdep.h: Include <features.h>.
8552 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
8555 2012-02-05 Joseph Myers <joseph@codesourcery.com>
8557 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
8559 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
8562 2012-02-03 Joseph Myers <joseph@codesourcery.com>
8564 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
8565 (SETUP_PIC_REG): Use GET_PC_THUNK.
8566 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
8569 2012-02-03 Joseph Myers <joseph@codesourcery.com>
8571 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
8572 for non-PIC compilation.
8573 (SETUP_PIC_REG): Add .p2align directive.
8574 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
8575 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
8576 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8577 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8578 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8579 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8580 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
8581 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8582 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8583 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8584 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8585 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8586 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8587 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8588 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8589 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8590 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8591 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8592 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8593 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8594 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8595 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8596 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8597 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8598 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8599 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8600 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8601 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8602 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8603 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8604 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8605 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8606 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8607 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8608 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8609 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8610 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8611 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8612 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8613 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8614 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8616 2012-02-03 Joseph Myers <joseph@codesourcery.com>
8618 * math/tst-CMPLX.c: Include <stdio.h>.
8620 2012-01-31 Joseph Myers <joseph@codesourcery.com>
8622 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
8624 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8625 * sysdeps/sparc/bits/mathdef.h: Likewise.
8627 2012-01-31 Marek Polacek <polacek@redhat.com>
8629 * libio/libio.h: Don't define _PARAMS.
8630 * locale/programs/config.h: Don't define PARAMS.
8631 * stdlib/strtol_l.c: Likewise.
8632 (__strtol_l): Remove PARAMS from the prototype.
8634 2012-01-31 Ulrich Drepper <drepper@gmail.com>
8636 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
8637 names. Just use the correct names. Remove unnecessary wrapper
8639 * malloc/arena.c: Likewise.
8640 * malloc/hooks.c: Likewise.
8642 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
8643 ARENA_TEST says not to. Simplify test for creation of a new arena.
8644 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
8646 2012-01-30 Ulrich Drepper <drepper@gmail.com>
8648 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
8650 (update_get_addr): New function.
8651 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
8652 GET_ADDR_MODULE parameter.
8654 2012-01-30 Joseph Myers <joseph@codesourcery.com>
8656 * crypt/cert.c: Remove __STDC__ conditionals.
8657 * crypt/crypt-entry.c: Likewise.
8658 * crypt/crypt_util.c: Likewise.
8659 * libio/filedoalloc.c: Likewise.
8660 * libio/fileops.c: Likewise.
8661 * libio/genops.c: Likewise.
8662 * libio/iofclose.c: Likewise.
8663 * libio/iofdopen.c: Likewise.
8664 * libio/iofopen.c: Likewise.
8665 * libio/iofopen64.c: Likewise.
8666 * libio/iogetdelim.c: Likewise.
8667 * libio/iopopen.c: Likewise.
8668 * libio/obprintf.c: Likewise.
8669 * libio/oldfileops.c: Likewise.
8670 * libio/oldiofclose.c: Likewise.
8671 * libio/oldiofdopen.c: Likewise.
8672 * libio/oldiofopen.c: Likewise.
8673 * libio/oldiopopen.c: Likewise.
8674 * libio/wfiledoalloc.c: Likewise.
8675 * libio/wgenops.c: Likewise.
8676 * locale/programs/xmalloc.c: Likewise.
8677 * misc/syslog.c: Likewise.
8678 * stdio-common/xbug.c: Likewise.
8679 * string/memchr.c: Likewise.
8680 * string/memcmp.c: Likewise.
8681 * string/memrchr.c: Likewise.
8682 * string/rawmemchr.c: Likewise.
8683 * sysdeps/posix/getcwd.c: Likewise.
8684 * time/strftime_l.c: Likewise.
8686 2012-01-30 Joseph Myers <joseph@codesourcery.com>
8688 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
8689 * config.make.in (config-cflags-sse2avx): Define.
8690 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
8693 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
8695 * scripts/config.guess: Update from upstream config git repository.
8696 * scripts/config.sub: Likewise.
8698 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
8700 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
8702 (R_TILEPRO_*, R_TILEGX_*): New macros.
8704 * scripts/firstversions.awk: Fix bug in version range handling.
8706 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
8708 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
8710 * include/sys/epoll.h: New file.
8711 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
8714 2012-01-28 Ulrich Drepper <drepper@gmail.com>
8716 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
8717 Avoid unnecessary __WORDSIZE == 64 test.
8718 (fmaxf): Use VEX format if possible.
8723 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
8724 * math/math_private.h: Remove libc_fegetround* and
8726 * sysdeps/i386/configure.in: Check for -msse2avx.
8727 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
8728 also if SSE2AVX is defined.
8729 Remove libc_fegetround* and libc_fesetround*.
8730 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
8731 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
8732 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
8734 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8735 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8736 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8737 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8738 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8740 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
8742 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8744 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
8746 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
8748 2012-01-27 Ulrich Drepper <drepper@gmail.com>
8751 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
8753 * Makeconfig (libm): Define.
8754 * elf/Makefile: Add rules to build and run tst-relsort1.
8755 * elf/tst-relsort1.c: New file.
8756 * elf/tst-relsort1mod1.c: New file.
8757 * elf/tst-relsort1mod2.c: New file.
8759 2012-01-27 Joseph Myers <joseph@codesourcery.com>
8761 * math/s_ldexp.c: Remove __STDC__ conditionals.
8762 * math/s_ldexpf.c: Likewise.
8763 * math/s_ldexpl.c: Likewise.
8764 * math/s_nextafter.c: Likewise.
8765 * math/s_nexttowardf.c: Likewise.
8766 * math/s_significand.c: Likewise.
8767 * math/s_significandf.c: Likewise.
8768 * math/s_significandl.c: Likewise.
8769 * math/w_jnl.c: Likewise.
8770 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8771 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8772 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8773 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8774 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8775 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8776 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
8777 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8778 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8779 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8780 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8781 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8782 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8783 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8784 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8785 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8786 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8787 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8788 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8789 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8790 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8791 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8792 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8793 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8794 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8795 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8796 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8797 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8798 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
8799 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8800 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8801 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
8802 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8803 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
8804 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
8805 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8806 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8807 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
8808 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
8809 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8810 * sysdeps/ieee754/k_standard.c: Likewise.
8811 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8812 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8813 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8814 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8815 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8816 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8817 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8818 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8819 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8820 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8821 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8822 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
8823 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8824 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8825 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8826 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8827 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8828 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8829 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8830 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8831 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8832 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8833 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8834 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8835 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8836 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8837 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8838 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8839 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8840 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
8841 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
8842 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
8843 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8844 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
8845 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
8846 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
8847 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
8848 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8849 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
8850 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
8851 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
8852 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
8853 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8854 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
8855 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8856 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
8857 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
8858 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8859 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
8860 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8861 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
8862 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8863 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8864 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
8865 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
8866 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
8867 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
8868 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8869 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8870 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8871 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8872 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8873 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
8874 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8875 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8876 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8877 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8878 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
8879 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
8880 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8881 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8882 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8883 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8884 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
8885 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
8886 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8887 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
8888 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
8889 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
8890 * sysdeps/ieee754/s_matherr.c: Likewise.
8891 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
8892 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8893 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8894 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8896 2012-01-26 Joseph Myers <joseph@codesourcery.com>
8898 * crypt/md5.h: Remove __STDC__ conditionals.
8899 * libio/libioP.h: Likewise.
8900 * locale/programs/config.h: Likewise.
8901 * sysdeps/generic/sysdep.h: Likewise.
8902 * sysdeps/i386/asm-syntax.h: Likewise.
8903 * sysdeps/s390/asm-syntax.h: Likewise.
8904 * sysdeps/unix/sysdep.h: Likewise.
8905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8908 2012-01-26 Joseph Myers <joseph@codesourcery.com>
8910 * libio/libio.h: Remove __STDC__ conditionals.
8911 * malloc/obstack.h: Likewise.
8912 * math/complex.h: Likewise.
8913 * math/math.h: Likewise.
8914 * sysdeps/generic/_G_config.h: Likewise.
8915 * sysdeps/gnu/_G_config.h: Likewise.
8916 * sysdeps/mach/hurd/_G_config.h: Likewise.
8917 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8918 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8919 * sysdeps/sparc/bits/mathdef.h: Likewise.
8921 2012-01-26 Ulrich Drepper <drepper@gmail.com>
8924 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
8925 Clean up HAS_* macros.
8926 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
8927 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
8929 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
8931 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8932 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8933 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8934 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8935 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8937 2012-01-25 Joseph Myers <joseph@codesourcery.com>
8939 * elf/tst-unique3.cc (gets): Remove declaration.
8940 * elf/tst-unique3lib.cc (gets): Likewise.
8941 * elf/tst-unique3lib2.cc (gets): Likewise.
8942 * elf/tst-unique4.cc (gets): Likewise.
8944 2012-01-24 Ulrich Drepper <drepper@gmail.com>
8946 * include/stdio.h: Add C++ protection. Add gets declarations and
8948 * debug/tst-chk1.c: Don't declare gets here.
8949 * stdio-common/tst-gets.c: Likewise.
8951 2012-01-24 Joseph Myers <joseph@codesourcery.com>
8953 * posix/glob: Remove directory.
8955 2012-01-24 Joseph Myers <joseph@codesourcery.com>
8957 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
8959 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
8961 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
8962 of the non-standard EPFNOSUPPORT.
8964 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
8966 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
8967 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
8968 ANYWHERE set to 1 only on KERN_NO_SPACE error.
8970 2012-01-21 Ulrich Drepper <drepper@gmail.com>
8972 * wcsmbs/uchar.h: Test __STDC_VERSION__.
8974 2012-01-20 Ulrich Drepper <drepper@gmail.com>
8976 * nscd/aicache.c (addhstaiX): Do not cache negative results of
8978 * nscd/grpcache.c (cache_addgr): Likewise.
8979 * nscd/hstcache.c (cache_addhst): Likewise.
8980 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8981 * nscd/pwdcache.c (cache_addpw): Likewise.
8982 * nscd/servicescache.c (cache_addserv): Likewise.
8984 2012-01-16 Ulrich Drepper <drepper@gmail.com>
8986 * malloc/malloc.c: Various cleanups.
8987 * malloc/hooks.c: Likewise.
8989 * stdlib/Makefile (tests): Add bug-fmtmsg1.
8990 * stdlib/bug-fmtmsg1.c: New file.
8992 * stdlib/fmtmsg.c (init): Add missing unlock.
8993 Patch by Peng Haitao <penght@cn.fujitsu.com>.
8995 2012-01-12 Marek Polacek <polacek@redhat.com>
8997 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
9000 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
9002 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
9003 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
9004 macro to ensure uniqueness of label name.
9005 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9006 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9008 2012-01-11 Ulrich Drepper <drepper@gmail.com>
9010 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
9012 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
9013 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9014 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9015 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
9017 2012-01-10 Ulrich Drepper <drepper@gmail.com>
9019 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
9021 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
9022 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9023 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9025 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
9027 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
9028 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9029 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9030 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
9032 * math/bits/math-finite.h: Add ldexp support.
9034 2012-01-10 Marek Polacek <polacek@redhat.com>
9036 * locale/programs/localedef.h (show_archive_content): Add noreturn
9039 2012-01-09 Ulrich Drepper <drepper@gmail.com>
9041 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
9043 2012-01-08 Ulrich Drepper <drepper@gmail.com>
9045 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
9047 * io/Makefile (headers): Add bits/poll2.h.
9049 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
9051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
9052 typo #include statement.
9054 2012-01-08 Ulrich Drepper <drepper@gmail.com>
9056 * include/sys/cdefs.h: Define __attribute_alloc_size.
9057 * catgets/gencat.c: Add alloc_size attribute and apply consistently
9058 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
9059 * elf/pldd.c: Likewise.
9060 * iconv/iconv_charmap.c: Likewise.
9061 * iconv/iconvconfig.c: Likewise.
9062 * iconv/strtab.c: Likewise.
9063 * locale/programs/locale.c: Likewise.
9064 * locale/programs/localedef.h: Likewise.
9065 * locale/programs/simple-hash.c: Likewise.
9066 * nscd/nscd.h: Likewise.
9067 * nss/makedb.c: Likewise.
9068 * sysdeps/generic/ldconfig.h: Likewise.
9069 * locale/programs/localedef.c: Remove xmalloc prototype.
9070 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
9072 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9074 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
9077 2012-01-08 Ulrich Drepper <drepper@gmail.com>
9079 * math/Makefile (tests): Add tst-CMPLX.
9080 * math/tst-CMPLX.c: New file.
9082 * math/complex.h (CMPLXL): Fix typo.
9084 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
9085 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
9087 * debug/tst-chk1.c: Add poll and ppoll tests.
9088 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
9089 * include/sys/poll.h: Add hidden proto for ppoll.
9090 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
9091 * sysdeps/mach/hurd/ppoll.c: Likewise.
9092 * io/ppoll.c: Likewise.
9093 * debug/poll_chk.c: New file.
9094 * debug/ppoll_chk.c: New file.
9095 * include/bits/poll2.h: New file.
9096 * io/bits/poll2.h: New file.
9099 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
9101 * configure.in: static is always set to yes. Remove.
9102 * config.make.in: Don't set build-static.
9103 * Makeconfig: Remove use of build-static.
9104 * dlfcn/Makefile: Likewise.
9105 * elf/Makefile: Likewise.
9106 * math/Makefile: Likewise.
9107 * misc/Makefile: Likewise.
9108 * nptl/Makefile: Likewise.
9109 * sysdeps/mach/hurd/Makefile: Likewise.
9111 * configure.in: PWD_P is not used anymore.
9112 * config.make.in: Remove PWD_P entry.
9114 * configure.in: Remove last remnants of RANLIB.
9115 No need to check for signed size_t anymore.
9116 Don't set libc_commonpagesize and libc_relro_required here for Alpha
9118 Remove __builtin_expect test because we require at least gcc 3.4.
9119 * aclocal.m4: Likewise.
9121 * wcsmbs/mbrtoc16.c: Implement using towc function.
9122 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
9123 * wcsmbs/wcsmbsload.c: Likewise.
9124 * iconv/gconv_simple.c: Likewise.
9125 * iconv/gconv_int.h: Likewise.
9126 * iconv/gconv_builtin.h: Likewise.
9127 * iconv/iconv_prog.c: Remove CHAR16 handling.
9129 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
9131 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
9133 * configure.in: Remove --with-elf and --enable-bounded options.
9134 Dont set base_machine for ia64. More non-ELF conditions removed.
9135 Remove testing and setting of leading underscore information.
9136 * config.make.in (build-bounded): Set to no.
9137 * config.h.in: Remove NO_UNDERSCORES entry.
9138 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
9140 * csu/start.c: Remove !NO_UNDERSCORE code.
9141 * locale/localeinfo.h: Likewise.
9142 * sysdeps/generic/machine-gmon.h: Likewise.
9143 * sysdeps/generic/sysdep.h: Likewise.
9144 * sysdeps/i386/sysdep.h: Likewise.
9145 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9146 * sysdeps/mach/sysdep.h: Likewise.
9147 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9148 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9149 * sysdeps/sh/sysdep.h: Likewise.
9150 * sysdeps/sparc/sparc32/alloca.S: Likewise.
9151 * sysdeps/unix/i386/sysdep.S: Likewise.
9152 * sysdeps/unix/sparc/start.c: Likewise.
9153 * sysdeps/unix/sparc/sysdep.S: Likewise.
9154 * sysdeps/unix/sparc/sysdep.h: Likewise.
9155 * sysdeps/unix/start.c: Likewise.
9156 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9157 * sysdeps/x86_64/sysdep.h: Likewise.
9159 2012-01-07 Ulrich Drepper <drepper@gmail.com>
9162 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
9164 * argp/argp-fmtstream.h: Use const instead __const.
9165 * argp/argp.h: Likewise.
9166 * assert/assert.h: Likewise.
9167 * bits/fenv.h: Likewise.
9168 * bits/sched.h: Likewise.
9169 * bits/sigset.h: Likewise.
9170 * bits/sigthread.h: Likewise.
9171 * catgets/nl_types.h: Likewise.
9172 * conform/data/pthread.h-data: Likewise.
9173 * crypt/crypt-private.h: Likewise.
9174 * crypt/crypt.h: Likewise.
9175 * crypt/crypt_util.c: Likewise.
9176 * ctype/ctype.h: Likewise.
9177 * debug/execinfo.h: Likewise.
9178 * debug/mbsnrtowcs_chk.c: Likewise.
9179 * debug/mbsrtowcs_chk.c: Likewise.
9180 * debug/wcsnrtombs_chk.c: Likewise.
9181 * debug/wcsrtombs_chk.c: Likewise.
9182 * debug/wcstombs_chk.c: Likewise.
9183 * dirent/dirent.h: Likewise.
9184 * dlfcn/dlfcn.h: Likewise.
9185 * elf/neededtest4.c: Likewise.
9186 * grp/grp.h: Likewise.
9187 * gshadow/gshadow.h: Likewise.
9188 * iconv/gconv.h: Likewise.
9189 * iconv/gconv_int.h: Likewise.
9190 * iconv/gconv_simple.c: Likewise.
9191 * iconv/iconv.h: Likewise.
9192 * iconv/loop.c: Likewise.
9193 * iconv/skeleton.c: Likewise.
9194 * include/aio.h: Likewise.
9195 * include/aliases.h: Likewise.
9196 * include/argz.h: Likewise.
9197 * include/arpa/inet.h: Likewise.
9198 * include/assert.h: Likewise.
9199 * include/dirent.h: Likewise.
9200 * include/dlfcn.h: Likewise.
9201 * include/execinfo.h: Likewise.
9202 * include/fcntl.h: Likewise.
9203 * include/fenv.h: Likewise.
9204 * include/glob.h: Likewise.
9205 * include/grp.h: Likewise.
9206 * include/libintl.h: Likewise.
9207 * include/mntent.h: Likewise.
9208 * include/netdb.h: Likewise.
9209 * include/pwd.h: Likewise.
9210 * include/rpc/netdb.h: Likewise.
9211 * include/sched.h: Likewise.
9212 * include/search.h: Likewise.
9213 * include/shadow.h: Likewise.
9214 * include/signal.h: Likewise.
9215 * include/stdio.h: Likewise.
9216 * include/stdlib.h: Likewise.
9217 * include/string.h: Likewise.
9218 * include/sys/socket.h: Likewise.
9219 * include/sys/stat.h: Likewise.
9220 * include/sys/statfs.h: Likewise.
9221 * include/sys/statvfs.h: Likewise.
9222 * include/sys/syslog.h: Likewise.
9223 * include/sys/time.h: Likewise.
9224 * include/sys/uio.h: Likewise.
9225 * include/time.h: Likewise.
9226 * include/unistd.h: Likewise.
9227 * include/utmp.h: Likewise.
9228 * include/wchar.h: Likewise.
9229 * include/wctype.h: Likewise.
9230 * inet/aliases.h: Likewise.
9231 * inet/arpa/inet.h: Likewise.
9232 * inet/netinet/ether.h: Likewise.
9233 * inet/netinet/in.h: Likewise.
9234 * intl/libintl.h: Likewise.
9235 * io/bits/fcntl2.h: Likewise.
9236 * io/fcntl.h: Likewise.
9237 * io/ftw.h: Likewise.
9238 * io/sys/poll.h: Likewise.
9239 * io/sys/stat.h: Likewise.
9240 * io/sys/statfs.h: Likewise.
9241 * io/sys/statvfs.h: Likewise.
9242 * io/utime.h: Likewise.
9243 * libio/bits/stdio.h: Likewise.
9244 * libio/bits/stdio2.h: Likewise.
9245 * libio/libio.h: Likewise.
9246 * libio/libioP.h: Likewise.
9247 * libio/stdio.h: Likewise.
9248 * locale/lc-ctype.c: Likewise.
9249 * locale/locale.h: Likewise.
9250 * login/utmp.h: Likewise.
9251 * malloc/arena.c: Likewise.
9252 * malloc/malloc.c: Likewise.
9253 * malloc/malloc.h: Likewise.
9254 * malloc/mcheck.c: Likewise.
9255 * malloc/mtrace.c: Likewise.
9256 * math/bits/mathcalls.h: Likewise.
9257 * math/fenv.h: Likewise.
9258 * math/math_private.h: Likewise.
9259 * misc/bits/error.h: Likewise.
9260 * misc/bits/syslog.h: Likewise.
9261 * misc/err.h: Likewise.
9262 * misc/error.h: Likewise.
9263 * misc/fstab.h: Likewise.
9264 * misc/mntent.h: Likewise.
9265 * misc/regexp.h: Likewise.
9266 * misc/search.h: Likewise.
9267 * misc/sgtty.h: Likewise.
9268 * misc/sys/mman.h: Likewise.
9269 * misc/sys/syslog.h: Likewise.
9270 * misc/sys/uio.h: Likewise.
9271 * misc/sys/xattr.h: Likewise.
9272 * misc/ttyent.h: Likewise.
9273 * nis/rpcsvc/ypclnt.h: Likewise.
9274 * nss/nss.h: Likewise.
9275 * posix/bits/unistd.h: Likewise.
9276 * posix/fnmatch.h: Likewise.
9277 * posix/glob.h: Likewise.
9278 * posix/sched.h: Likewise.
9279 * posix/spawn.h: Likewise.
9280 * posix/sys/wait.h: Likewise.
9281 * posix/unistd.h: Likewise.
9282 * posix/wordexp.h: Likewise.
9283 * pwd/pwd.h: Likewise.
9284 * resolv/netdb.h: Likewise.
9285 * resource/sys/resource.h: Likewise.
9286 * rt/aio.h: Likewise.
9287 * rt/bits/mqueue2.h: Likewise.
9288 * rt/mqueue.h: Likewise.
9289 * shadow/shadow.h: Likewise.
9290 * signal/signal.h: Likewise.
9291 * socket/send.c: Likewise.
9292 * socket/sendto.c: Likewise.
9293 * socket/sys/socket.h: Likewise.
9294 * stdio-common/printf.h: Likewise.
9295 * stdlib/bits/stdlib.h: Likewise.
9296 * stdlib/fmtmsg.h: Likewise.
9297 * stdlib/monetary.h: Likewise.
9298 * stdlib/stdlib.h: Likewise.
9299 * stdlib/ucontext.h: Likewise.
9300 * streams/stropts.h: Likewise.
9301 * string/argz.h: Likewise.
9302 * string/bits/string2.h: Likewise.
9303 * string/string.h: Likewise.
9304 * string/strings.h: Likewise.
9305 * sunrpc/rpc/auth.h: Likewise.
9306 * sunrpc/rpc/auth_des.h: Likewise.
9307 * sunrpc/rpc/clnt.h: Likewise.
9308 * sunrpc/rpc/netdb.h: Likewise.
9309 * sunrpc/rpc/pmap_clnt.h: Likewise.
9310 * sunrpc/rpc/xdr.h: Likewise.
9311 * sysdeps/generic/inttypes.h: Likewise.
9312 * sysdeps/generic/net/if.h: Likewise.
9313 * sysdeps/generic/sys/swap.h: Likewise.
9314 * sysdeps/gnu/net/if.h: Likewise.
9315 * sysdeps/gnu/utmpx.h: Likewise.
9316 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
9317 * sysdeps/i386/i486/bits/string.h: Likewise.
9318 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
9319 * sysdeps/s390/bits/string.h: Likewise.
9320 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
9321 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
9322 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
9323 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
9324 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
9325 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
9326 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
9327 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
9328 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
9329 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
9330 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
9331 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9332 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
9333 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9334 * sysdeps/unix/sysv/linux/readv.c: Likewise.
9335 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
9336 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9337 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9338 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9339 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9340 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9341 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
9342 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
9343 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
9344 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
9345 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
9346 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
9347 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9348 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
9349 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
9350 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
9351 * sysvipc/sys/ipc.h: Likewise.
9352 * sysvipc/sys/msg.h: Likewise.
9353 * sysvipc/sys/sem.h: Likewise.
9354 * sysvipc/sys/shm.h: Likewise.
9355 * termios/termios.h: Likewise.
9356 * time/sys/time.h: Likewise.
9357 * time/time.h: Likewise.
9358 * wcsmbs/bits/wchar2.h: Likewise.
9359 * wcsmbs/uchar.h: Likewise.
9360 * wcsmbs/wchar.h: Likewise.
9361 * wctype/wctype.h: Likewise.
9364 * Makeconfig: Remove all but ELF support including AIX support.
9365 * Makerules: Likewise.
9366 * config.h.in: Likewise.
9367 * config.make.in: Likewise.
9368 * configure: Likewise.
9369 * configure.in: Likewise.
9370 * csu/Makefile: Likewise.
9371 * csu/version.c: Likewise.
9372 * debug/Makefile: Likewise.
9373 * dlfcn/Makefile: Likewise.
9374 * elf/Makefile: Likewise.
9375 * extra-lib.mk: Likewise.
9376 * iconv/Makefile: Likewise.
9377 * include/libc-symbols.h: Likewise.
9378 * include/shlib-compat.h: Likewise.
9379 * resolv/Makefile: Likewise.
9380 * resolv/res_libc.c: Likewise.
9381 * rt/Makefile: Likewise.
9382 * sysdeps/i386/asm-syntax.h: Likewise.
9383 * sysdeps/i386/sysdep.h: Likewise.
9384 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9385 * sysdeps/mach/sysdep.h: Likewise.
9386 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
9387 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
9388 * sysdeps/s390/asm-syntax.h: Likewise.
9389 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9390 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9391 * sysdeps/sh/sysdep.h: Likewise.
9392 * sysdeps/unix/sparc/sysdep.h: Likewise.
9393 * sysdeps/wordsize-32/divdi3.c: Likewise.
9394 * sysdeps/x86_64/sysdep.h: Likewise.
9396 * argp/Versions: Remove _argp_unlock_xxx.
9399 * abilist/ld.abilist: Update. Adjust for removal of tls option.
9400 * abilist/libBrokenLocale.abilist: Likewise.
9401 * abilist/libanl.abilist: Likewise.
9402 * abilist/libc.abilist: Likewise.
9403 * abilist/libcrypt.abilist: Likewise.
9404 * abilist/libdl.abilist: Likewise.
9405 * abilist/libm.abilist: Likewise.
9406 * abilist/libnsl.abilist: Likewise.
9407 * abilist/libpthread.abilist: Likewise.
9408 * abilist/libresolv.abilist: Likewise.
9409 * abilist/librt.abilist: Likewise.
9410 * abilist/libthread_db.abilist: Likewise.
9411 * abilist/libutil.abilist: Likewise.
9412 * abilist/libnss_db.abilist: New file.
9414 * scripts/abilist.awk: Add support for indirect functions.
9416 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
9418 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
9420 * shlib-versions: Remove entries for ports architectures.
9422 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
9424 * elf/stackguard-macros.h: Remove support for IA-64.
9425 * elf/tst-auditmod1.c: Likewise.
9426 * sysdeps/generic/ldsodefs.h: Likewise.
9428 * sysdeps/unix/sysv/linux/configure.in: Ports should define
9429 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
9433 * configure.in: Remove --enable-omitfp support.
9435 * config.make.in: Likewise.
9436 * Makeconfig: Likewise.
9437 * manual/install.texi: Likewise.
9439 In case anyone cares, the IA-64 architecture could move to ports.
9440 * sysdeps/ia64/*: Removed.
9441 * sysdeps/unix/sysv/linux/ia64/*: Removed.
9442 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
9445 * configure.in: Remove entries for unsupported architectures.
9448 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
9449 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
9451 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
9452 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
9453 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
9454 fall back to using wcrtomb.
9455 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
9456 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
9458 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
9459 * wcsmbs/tst-c16c32-1.c: New file.
9461 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
9464 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
9466 * elf/tst-unique3.cc: Add explicit declaration of gets.
9467 * elf/tst-unique3lib.cc: Likewise.
9468 * elf/tst-unique3lib2.cc: Likewise.
9469 * elf/tst-unique4.cc: Likewise.
9471 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
9473 2012-01-06 Joseph Myers <joseph@codesourcery.com>
9476 * assert/assert.h (static_assert): Don't define for C++.
9477 * libio/stdio.h (gets): Do declare for C++ <= C++11.
9478 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
9480 2012-01-03 Ulrich Drepper <drepper@gmail.com>
9482 * iconv/loop.c (single loop): Fix assertion in storing of
9485 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
9487 2012-01-01 Ulrich Drepper <drepper@gmail.com>
9489 * posix/getconf.c: Update copyright year.
9490 * nss/getent.c: Likewise.
9491 * nss/makedb.c: Likewise.
9492 * iconv/iconvconfig.c: Likewise.
9493 * iconv/iconv_prog.c: Likewise.
9494 * elf/ldconfig.c: Likewise.
9495 * elf/pldd.c: Likewise.
9496 * elf/sotruss.ksh: Likewise.
9497 * catgets/gencat.c: Likewise.
9498 * csu/version.c: Likewise.
9499 * elf/ldd.bash.in: Likewise.
9500 * elf/sprof.c (print_version): Likewise.
9501 * locale/programs/locale.c: Likewise.
9502 * locale/programs/localedef.c: Likewise.
9503 * login/programs/pt_chown.c: Likewise.
9504 * nscd/nscd.c (print_version): Likewise.
9505 * debug/xtrace.sh: Likewise.
9506 * malloc/memusage.sh: Likewise.
9507 * malloc/mtrace.pl: Likewise.
9508 * debug/catchsegv.sh: Likewise.
9510 2011-12-30 Jakub Jelinek <jakub@redhat.com>
9512 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
9515 2011-12-24 Ulrich Drepper <drepper@gmail.com>
9518 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
9519 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
9521 * iconv/gconv_int.h: Likewise.
9522 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
9523 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
9524 from libc for GLIBC_2.16.
9525 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
9526 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
9527 * wcsmbs/uchar.h: Really define mbstate_t.
9528 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
9529 * wcsmbs/c16rtomb.c: New file.
9530 * wcsmbs/mbrtoc16.c: New file.
9531 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
9533 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
9534 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
9536 * wcsmbs/wchar.h: Add missing __restrict.
9538 2011-12-23 Ulrich Drepper <drepper@gmail.com>
9541 * time/Makefile (routines): Add timespec_get.
9542 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
9543 * time/time.h: Define TIME_UTC and declare timespec_get. Define
9544 timespec for ISO C11.
9545 * time/timespec_get.c: New file.
9546 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
9547 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
9550 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
9551 * stdlib/stdlib.h: Declare aligned_alloc.
9552 * Versions.def: Add GLIBC_2.16 for libc.
9553 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
9556 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
9559 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
9563 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
9566 * assert/assert.h (static_assert): Define.
9568 * version.h: Update for 2.16 development version.
9571 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
9574 * version.h (RELEASE): Bump for 2.15 release.
9575 * include/features.h (__GLIBC_MINOR__): Bump to 15.
9577 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
9578 Patch by Marek Polacek <mpolacek@redhat.com>.
9580 * bits/byteswap.h: Protect long long constants with __extension__.
9581 * sysdeps/i386/bits/byteswap.h: Likewise.
9582 * sysdeps/ia64/bits/byteswap.h: Likewise.
9583 * sysdeps/s390/bits/byteswap.h: Likewise.
9584 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9586 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9589 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
9591 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
9593 2011-12-23 Marek Polacek <polacek@redhat.com>
9595 * elf/dl-addr.c (determine_info): Add inline keyword.
9596 * elf/tst-auditmod4b.c (check_avx): Likewise.
9597 * elf/tst-auditmod6b.c (check_avx): Likewise.
9598 * elf/tst-auditmod6c.c (check_avx): Likewise.
9599 * elf/tst-auditmod7b.c (check_avx): Likewise.
9601 2011-12-23 Ulrich Drepper <drepper@gmail.com>
9603 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
9606 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9609 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
9610 processing for last bytes.
9612 2011-08-06 Bruno Haible <bruno@clisp.org>
9615 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
9616 U+0385, not to U+1FEE.
9619 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
9620 entry for U+00A5 U+0301.
9622 2011-12-22 Ulrich Drepper <drepper@gmail.com>
9625 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
9626 buffer for the output is too small.
9628 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
9632 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
9633 SSE flags if possible.
9635 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9638 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
9639 processing for last bytes.
9641 2011-12-22 Joseph Myers <joseph@codesourcery.com>
9643 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
9644 (syscall-list-default-options, syscall-list-default-condition)
9645 (syscall-list-includes): Define.
9646 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
9647 list of ABIs and options and #if conditions for each ABI. Do not
9648 handle common syscalls between ABIs specially.
9649 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
9651 (syscall-list-variants, syscall-list-32bit-options)
9652 (syscall-list-32bit-condition, syscall-list-64bit-options)
9653 (syscall-list-64bit-condition): Define.
9654 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
9655 (syscall-list-variants, syscall-list-32bit-options)
9656 (syscall-list-32bit-condition, syscall-list-64bit-options)
9657 (syscall-list-64bit-condition): Define.
9658 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
9660 (syscall-list-variants, syscall-list-32bit-options)
9661 (syscall-list-32bit-condition, syscall-list-64bit-options)
9662 (syscall-list-64bit-condition): Define.
9663 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
9665 (syscall-list-variants, syscall-list-32bit-options)
9666 (syscall-list-32bit-condition, syscall-list-64bit-options)
9667 (syscall-list-64bit-condition): Define.
9669 2011-12-22 Ulrich Drepper <drepper@gmail.com>
9671 * locale/iso-639.def: Add brx entry.
9674 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
9675 Proposed by Mariusz_Cukr <marcukr@op.pl>.
9677 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
9678 __feraiseexcept_renamed.
9680 2011-12-21 Ulrich Drepper <drepper@gmail.com>
9683 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
9684 EPOLLET with unsigned values.
9685 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9686 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9688 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
9689 to large cancellation.
9690 * math/s_cacoshf.c: Likewise.
9691 * math/s_cacoshl.c: Likewise.
9693 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
9697 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
9698 * math/s_cacoshf.c: Likewise.
9699 * math/s_cacoshl.c: Likewise.
9701 2011-12-21 Ulrich Drepper <drepper@gmail.com>
9704 * iconv/gconv.h: Define __GCONV_SWAP.
9705 * iconvdata/unicode.c: The swap bit must be stored in __flags.
9706 * iconvdata/utf-16.c: Likewise.
9707 * iconvdata/utf-32.c: Likewise.
9709 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
9712 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
9713 numerator after shifting it by one limb.
9715 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
9717 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
9718 under [__USE_EXTERN_INLINES].
9720 2011-12-17 Ulrich Drepper <drepper@gmail.com>
9723 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
9725 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9727 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
9728 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
9730 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
9731 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
9732 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
9733 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
9734 for strncasecmp/strncasecmp_l compilation.
9735 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
9736 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
9738 2011-12-08 Marek Polacek <mpolacek@redhat.com>
9741 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
9744 2011-12-17 Ulrich Drepper <drepper@gmail.com>
9747 * time/tzfile.c (__tzfile_read): Check values from file header.
9749 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
9751 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
9752 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
9753 * powerpc/powerpc32/dl-start.S: Likewise.
9754 * powerpc/powerpc32/elf/start.S: Likewise.
9755 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9756 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
9757 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
9758 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
9759 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
9760 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
9761 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
9762 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
9763 * powerpc/powerpc32/fpu/s_round.S: Likewise.
9764 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
9765 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
9766 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
9767 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
9768 * powerpc/powerpc32/memset.S: Likewise.
9769 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
9770 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9771 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9772 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9773 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9774 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9775 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9776 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9777 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
9778 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
9779 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
9780 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9781 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9783 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9785 * math/libm-test.inc: Added more nearbyint tests.
9786 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
9787 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
9788 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
9789 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
9791 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
9793 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
9796 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9798 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
9799 Add wcscpy-ssse3 wcscpy-c.
9800 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
9801 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
9802 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
9803 * sysdeps/x86_64/wcschr.S: New file.
9804 * sysdeps/x86_64/wcsrchr.S: New file.
9805 * string/test-strcmp.c: Remove checking of wcscmp function for
9807 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
9808 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
9809 wcsrchr-sse2 wcsrchr-c.
9810 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
9811 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
9812 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
9813 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
9814 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
9815 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
9816 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
9817 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
9818 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
9819 * wcsmbc/wcschr.c (WCSCHR): New macro.
9821 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9823 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
9824 * wcsmbs/test-wcsrchr.c: New file.
9825 * string/test-strrchr.c: Add wcsrchr support.
9827 * wcsmbs/test-wcscpy.c: New file.
9828 * string/test-strcpy.c: Add wcscpy support.
9831 2011-12-10 Ulrich Drepper <drepper@gmail.com>
9833 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
9836 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
9839 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
9841 2011-12-04 Ulrich Drepper <drepper@gmail.com>
9843 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
9844 Minor optimizations.
9846 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
9847 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
9848 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
9850 2011-12-03 Ulrich Drepper <drepper@gmail.com>
9852 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
9853 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
9854 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
9855 for gcc to avoid warnings.
9856 * inet/Makefile (tests): Add tst-checks.
9857 * inet/tst-checks.c: New file.
9859 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
9862 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
9865 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
9866 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
9868 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
9870 2011-12-02 Ulrich Drepper <drepper@gmail.com>
9872 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
9875 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
9877 2011-11-29 Joseph Myers <joseph@codesourcery.com>
9879 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
9880 conditional on GCC version.
9881 (__arch_compare_and_exchange_val_8_acq)
9882 (__arch_compare_and_exchange_val_16_acq)
9883 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
9884 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
9885 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
9887 2011-12-02 Joseph Myers <joseph@codesourcery.com>
9889 * sysdeps/sh/backtrace.c: New file.
9891 2011-12-02 Andreas Schwab <schwab@redhat.com>
9893 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
9896 2011-12-01 Andreas Schwab <schwab@redhat.com>
9898 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
9899 falling back to utime.
9901 2011-11-30 Andreas Schwab <schwab@redhat.com>
9903 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
9904 expectations for float.
9906 2011-11-29 Andreas Schwab <schwab@redhat.com>
9908 * locale/weight.h (findidx): Add parameter len.
9909 * locale/weightwc.h (findidx): Likewise.
9910 * posix/fnmatch_loop.c (FCT): Adjust caller.
9911 * posix/regcomp.c (build_equiv_class): Likewise.
9912 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
9913 * posix/regexec.c (check_node_accept_bytes): Likewise.
9914 * string/strcoll_l.c (STRCOLL): Likewise.
9915 * string/strxfrm_l.c (STRXFRM): Likewise.
9917 2011-11-17 Ulrich Drepper <drepper@gmail.com>
9919 * Makefile.in: Remove CVSOPT handling.
9920 * configure.in: Remove use of AC_REVISION.
9921 * iconvdata/Makefile (distribute): No need to filter out CVS.
9922 * scripts/list-sources.sh: Remove CVS, subversion and monotone
9925 2011-11-16 Andreas Schwab <schwab@redhat.com>
9927 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
9928 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
9929 [USE_AS_STRNCASECMP_L]: Likewise.
9930 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
9931 NO_TLS_DIRECT_SEG_REFS.
9932 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
9933 Fix argument offsets for non-PIC.
9934 [USE_AS_STRNCASECMP_L]: Likewise.
9935 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
9936 NO_TLS_DIRECT_SEG_REFS.
9938 2011-11-15 Ulrich Drepper <drepper@gmail.com>
9940 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
9942 * locale/loadlocale.c (_nl_load_locale): Likewise.
9944 2011-11-15 Andreas Schwab <schwab@redhat.com>
9946 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
9947 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
9948 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
9949 (SYSCALL_GETTIME): Set errno on error.
9951 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
9952 count references to noai6ai_cached.
9954 2011-11-15 Ulrich Drepper <drepper@gmail.com>
9956 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
9958 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
9959 FD_CLOEXEC for /proc/self/maps.
9961 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
9962 FD_CLOEXEC for /proc/meminfo.
9964 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
9967 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
9968 FD_CLOEXEC for given file.
9970 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
9972 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
9973 FD_CLOEXEC for /etc/hosts.
9974 (_gethtent): Likewise.
9976 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
9978 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
9979 cancellation and set FD_CLOEXEC for /etc/netgroup.
9981 * nss/nss_files/files-key.c (search): Don't allow cancellation when
9982 reading /etc/publickey.
9984 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
9985 allow cancellation when reading /etc/group.
9987 * nss/nss_files/files-alias.c (internal_setent): Don't allow
9989 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
9991 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
9992 when using data file.
9994 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
9996 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
9997 (write_nis_obj): Use "c" and "e" in fopen.
9999 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
10001 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
10003 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
10005 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
10007 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
10010 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
10012 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
10014 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
10016 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
10017 file parsing and set FD_CLOEXEC.
10019 2011-11-14 Ulrich Drepper <drepper@gmail.com>
10021 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
10023 2011-11-14 Andreas Schwab <schwab@redhat.com>
10025 * malloc/arena.c (arena_get2): Don't call reused_arena when
10026 _int_new_arena failed.
10028 2011-11-14 Ulrich Drepper <drepper@gmail.com>
10030 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
10031 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
10032 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
10033 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10034 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10035 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
10036 to compile strcasecmp and strncasecmp.
10037 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
10038 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
10040 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
10042 2011-11-13 Ulrich Drepper <drepper@gmail.com>
10044 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
10045 locale-defines.sym to gen-as-const-headers.
10046 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
10047 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
10048 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
10049 to compile strcasecmp and strncasecmp.
10050 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
10051 strcasecmp_l and strncasecmp_l.
10052 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
10053 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
10054 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
10055 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
10056 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
10057 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
10058 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
10059 * sysdeps/i386/i686/multiarch/strncase.S: New file.
10060 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
10061 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
10062 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
10064 2011-11-12 Ulrich Drepper <drepper@gmail.com>
10066 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
10067 result of SYSDEP_GETTIME_CPU to retval.
10068 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
10069 parameter list to macro. Remove trailing semicolon. Adjust users.
10071 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
10074 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
10076 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
10078 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
10079 from unused variable.
10081 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
10083 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
10086 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
10089 * sunrpc/rpc_prot.c (rejected): Fix case value.
10091 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
10092 unsigned long long int to avoid warnings in shift.
10094 * posix/regex_internal.c (re_string_reconstruct): Actually use result
10096 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
10099 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
10100 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
10101 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
10103 * nis/nis_table.c (nis_list): Use variable of correct type for
10104 result of __follow_path call.
10106 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10108 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
10109 of math functions ceil, trunc, floor, round, and sqrt, when
10110 avaliable on the platform.
10111 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
10113 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10114 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
10115 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
10117 2011-10-30 Marek Polacek <mpolacek@redhat.com>
10119 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
10120 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
10122 2011-11-11 Roland McGrath <roland@hack.frob.com>
10124 * include/unistd.h: Fix __readlink return type.
10125 Reported by Chris Metcalf <cmetcalf@tilera.com>.
10127 2011-11-11 Ulrich Drepper <drepper@gmail.com>
10129 * stdlib/ucontext.h: Undo last change for makecontext.
10131 2011-11-11 Andreas Schwab <schwab@redhat.com>
10133 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
10135 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
10136 * setjmp/setjmp.h: Mark functions as non-leaf.
10137 * setjmp/bits/setjmp2.h: Likewise.
10138 * stdlib/ucontext.h: Likewise.
10140 2011-11-10 Andreas Schwab <schwab@redhat.com>
10142 * malloc/arena.c (_int_new_arena): Don't increment narenas.
10143 (reused_arena): Don't check arena limit.
10144 (arena_get2): Atomically check arena limit.
10146 2011-11-08 Ulrich Drepper <drepper@gmail.com>
10148 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
10149 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
10151 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
10154 2011-11-07 Andreas Schwab <schwab@redhat.com>
10156 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
10157 handler when locking.
10159 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10160 Fix size of allocated buffer.
10162 2011-11-04 Andreas Schwab <schwab@redhat.com>
10165 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
10166 declarations for long double functions.
10167 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
10169 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
10171 2011-11-03 Andreas Schwab <schwab@redhat.com>
10173 * nscd/nscd.c (main): Don't start AVC thread until credentials are
10176 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
10179 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
10181 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
10183 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
10185 * include/alloca.h (stackinfo_alloca_round): Define.
10186 (extend_alloca): Use it.
10187 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
10188 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
10191 * scripts/check-local-headers.sh: Ignore libaudit.h.
10193 * nscd/Makefile (extra-objs): Make recursively expanded.
10195 2011-11-01 Ulrich Drepper <drepper@gmail.com>
10197 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
10198 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10200 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
10201 * posix/tst-rfc3484-2.c: Likewise.
10202 * posix/tst-rfc3484-3.c: Likewise.
10204 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10206 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
10208 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
10209 process_vm_writev from libc using GLIBC_2.15 version.
10211 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
10213 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
10215 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
10218 2011-10-31 Ulrich Drepper <drepper@gmail.com>
10221 * nss/getent.c (initgroups_keys): Show error message in case no group
10224 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
10225 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
10226 __bump_nl_timestamp.
10227 * nscd/connections (nscd_init): When host database is served open
10228 netlink socket and request notification about configuration changes.
10229 (main_loop_poll): Track netlink file descriptor and bump timestamp
10230 in case data becomes available.
10231 (main_loop_epoll): Likewise.
10232 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
10233 (database_pers_head): Add extra_data fileds.
10234 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
10235 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
10236 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
10238 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
10239 in6ai data, call __free_in6ai.
10240 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
10241 Add -DHAVE_NETLINK.
10242 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
10243 interface information. Reuse previous data if netlink timestamp
10245 (__bump_nl_timestamp): New function.
10246 (__free_in6ai): New function.
10248 2011-10-30 Ulrich Drepper <drepper@gmail.com>
10250 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
10251 close_not_cancel_no_status here.
10252 (__check_pf): Reorganize code a bit to not call close twice if OOM.
10254 2011-10-29 Ulrich Drepper <drepper@gmail.com>
10257 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
10260 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
10261 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
10262 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
10264 2011-07-03 Andreas Jaeger <aj@suse.de>
10267 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
10268 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
10269 * math/libm-test.inc (sin_test): Add test case.
10271 2011-10-29 Ulrich Drepper <drepper@gmail.com>
10274 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
10275 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10277 * elf/chroot_canon.c (chroot_canon): Cleanups.
10279 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
10282 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
10283 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10285 * string/test-strchr.c: Make usable for strchrnul testing.
10286 * string/test-strchrnul.c: New file.
10287 * string/Makefile (strop-tests): Add strchrnul.
10289 * po/it.po: Update from translation team.
10290 * po/es.po: Likewise.
10292 2011-10-28 Ulrich Drepper <drepper@gmail.com>
10294 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
10295 the three constants needed as parameters. Drop the others.
10296 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
10297 __m128i_strloadu_tolower.
10298 Create and initialize variable zero and use it in all the places
10299 where _mm_setzero_si128 was used.
10301 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
10302 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
10303 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
10304 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
10306 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
10307 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
10308 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
10309 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
10310 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
10311 __mpranred, __mptan.
10312 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
10313 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
10314 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
10315 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
10316 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
10317 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
10318 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
10319 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
10320 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
10322 2011-10-28 Andreas Schwab <schwab@redhat.com>
10324 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
10325 redefine if SHARED.
10326 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
10328 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
10329 wide char related routines to wcsmbs subdir.
10331 2011-10-27 Andreas Schwab <schwab@redhat.com>
10334 * misc/sys/cdefs.h (__THROWNL): Define.
10335 * posix/unistd.h: Use __THREADNL instead of __THREAD
10336 for memory synchronization functions.
10338 2011-10-26 Roland McGrath <roland@hack.frob.com>
10341 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
10343 * manual/stdio.texi (Obstack Streams): Node removed.
10345 2011-10-26 Andreas Schwab <schwab@redhat.com>
10347 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
10348 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10349 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10351 * math/math_private.h (math_force_eval): Allow non-addressable
10353 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
10355 2011-10-25 Ulrich Drepper <drepper@gmail.com>
10357 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
10358 file is not needed.
10360 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
10361 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
10362 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10363 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10364 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10365 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10366 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10367 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
10369 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
10370 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
10371 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
10372 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
10373 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
10374 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
10375 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
10376 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
10377 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
10378 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
10379 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
10380 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
10381 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
10382 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
10383 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
10384 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
10385 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
10386 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
10387 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
10389 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
10390 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
10392 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
10393 place. Use VEX encoding when compiling for AVX.
10395 2011-10-25 Andreas Schwab <schwab@redhat.com>
10397 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
10398 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
10400 * string/test-strchr.c (do_test): Don't generate NUL bytes.
10402 2011-10-25 Ulrich Drepper <drepper@gmail.com>
10404 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
10405 useless if() expression.
10406 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10407 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10408 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10409 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10410 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10411 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10412 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10413 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10414 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10415 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10416 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10417 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10418 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10419 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10420 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10421 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10422 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10423 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10424 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10426 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
10428 2011-10-25 Andreas Schwab <schwab@redhat.com>
10430 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
10432 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10434 2011-10-25 Ulrich Drepper <drepper@gmail.com>
10436 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
10437 .text section. Avoid duplicate constants.
10438 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10439 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10440 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10441 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10442 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10443 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10444 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10445 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10446 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10447 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
10448 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10449 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10450 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
10451 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
10452 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10453 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
10454 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10455 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10456 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10457 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10458 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10459 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10460 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10461 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
10462 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
10463 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
10464 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
10465 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
10466 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
10467 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
10468 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
10469 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
10470 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10471 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
10472 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
10473 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
10474 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
10475 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
10476 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
10477 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
10478 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
10479 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
10480 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
10481 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
10482 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
10484 2011-10-24 Ulrich Drepper <drepper@gmail.com>
10486 * sysdeps/x86_64/dla.h: Move to ...
10487 * sysdeps/x86_64/fpu/dla.h: ...here.
10488 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
10489 situations. Use __builtin_fma only for gcc 4.6 and up.
10491 * config.make.in: Add have-mfma4 entry.
10492 * configure.in: Substitute libc_cv_cc_fma4.
10493 * math/Makefile (dbl-only-routines): Add sincostab.
10494 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
10495 Use __sincostab not sincos.
10496 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
10498 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10499 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10500 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10501 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
10503 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
10504 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
10505 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
10506 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
10508 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
10509 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
10511 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
10512 define aliases when function name is a macro.
10513 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
10514 sysdeps/ieee754/dbl-64/sincos.tbl.
10515 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
10516 fma4-enabled routines.
10517 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
10518 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
10519 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
10520 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
10521 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
10522 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
10523 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
10524 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
10525 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
10526 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
10527 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
10528 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
10529 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
10530 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
10531 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
10532 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
10533 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
10534 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
10535 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
10536 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
10537 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
10538 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
10539 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
10540 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
10541 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
10542 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
10543 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
10544 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
10545 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
10546 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
10548 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
10550 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10551 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10552 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10553 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10554 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10555 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10556 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10557 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10559 2011-10-24 Andreas Schwab <schwab@redhat.com>
10561 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
10563 2011-10-23 Ulrich Drepper <drepper@gmail.com>
10565 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
10567 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
10569 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
10571 * string/strnlen.c: Don't define STRNLEN, reverse logic.
10572 Remove unused variable magic_bits.
10573 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
10575 * string/strnlen.c: Define and use STRNLEN macro.
10576 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
10577 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
10578 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
10579 * wcsmbs/wcslen.c: Define and use WCSLEN.
10580 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
10581 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
10582 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
10583 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
10584 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
10585 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
10586 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
10588 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10590 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10591 strnlen-sse2-no-bsf.
10592 Rename strlen-no-bsf to strlen-sse2-no-bsf.
10593 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
10594 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
10595 Add strnlen support.
10596 (USE_AS_STRNLEN): New macro.
10597 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
10598 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
10599 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
10600 * sysdeps/x86_64/wcslen.S: New file.
10602 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
10604 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
10605 XMM-moves are used for copying on small sizes.
10607 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10609 * wcsmbs/Makefile (strop-tests): Add wcschr.
10610 * wcsmbs/test-wcschr.c: New file.
10611 * string/test-strchr.c: Update.
10612 Add wcschr support.
10615 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10617 * wcsmbs/Makefile (strop-tests): Add wcslen.
10618 * wcsmbs/test-wcslen.c: New file.
10619 * string/test-strlen.c: Update.
10620 Add wcslen support.
10623 2011-10-23 Ulrich Drepper <drepper@gmail.com>
10625 * po/it.po: Update from translation team.
10627 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10629 * sysdeps/x86_64/wcscmp.S: Update.
10630 Fix wrong comparison semantics.
10631 wcscmp shall use signed comparison not unsigned.
10632 Don't use substraction to avoid overflow bug.
10633 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
10634 * wcsmbc/wcscmp.c: Likewise.
10635 * string/test-strcmp.c: Likewise.
10636 Add new tests to check cases with negative values.
10638 2011-10-23 Ulrich Drepper <drepper@gmail.com>
10640 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
10641 * sysdeps/x86_64/dla.h: ...here. New file.
10642 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
10643 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10644 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10645 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10646 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10647 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10648 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10649 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10650 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10652 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
10654 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
10655 __ynl_finite aliases.
10657 2011-10-22 Ulrich Drepper <drepper@gmail.com>
10659 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10661 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
10663 [DLA_FMA] (EMULV): Use DLA_FMA.
10664 [DLA_FMA] (MUL12): Use EMULV.
10665 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
10666 that are not needed.
10667 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10668 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10669 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10670 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10671 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10672 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10673 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10675 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
10677 * math/s_nan.c: Undef __nan.
10678 * math/s_nanf.c: Undef __nanf.
10679 * math/s_nanl.c: Undef __nanl.
10680 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
10683 2011-10-22 Ulrich Drepper <drepper@gmail.com>
10685 * math/s_catan.c: Add branch predictions.
10686 * math/s_catanf.c: Likewise.
10687 * math/s_catanh.c: Likewise.
10688 * math/s_catanhf.c: Likewise.
10689 * math/s_catanhl.c: Likewise.
10690 * math/s_catanl.c: Likewise.
10691 * math/s_cexp.c: Likewise.
10692 * math/s_cexpf.c: Likewise.
10693 * math/s_cexpl.c: Likewise.
10694 * math/s_clog.c: Likewise.
10695 * math/s_clog10.c: Likewise.
10696 * math/s_clog10f.c: Likewise.
10697 * math/s_clog10l.c: Likewise.
10698 * math/s_clogf.c: Likewise.
10699 * math/s_clogl.c: Likewise.
10700 * math/s_csqrt.c: Likewise.
10701 * math/s_csqrtf.c: Likewise.
10702 * math/s_csqrtl.c: Likewise.
10703 * math/s_ctanf.c: Likewise.
10704 * math/s_ctanh.c: Likewise.
10705 * math/s_ctanhf.c: Likewise.
10706 * math/s_ctanhl.c: Likewise.
10707 * math/s_ctanl.c: Likewise.
10709 * math/math_private.h: Define __nan, __nanf, __nanl.
10710 * math/s_cacosh.c: Include <math_private.h>.
10711 * math/s_cacoshl.c: Likewise.
10712 * math/s_casinh.c: Likewise.
10713 * math/s_casinhf.c: Likewise.
10714 * math/s_casinhl.c: Likewise.
10715 * math/s_ccos.c: Rely entire on ccosh.
10716 * math/s_ccosf.c: Rely entire on ccoshf.
10717 * math/s_ccosl.c: Rely entirely on ccoshl.
10718 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
10719 Remove tests for FE_INVALID.
10720 * math/s_ccoshf.c: Likewise.
10721 * math/s_ccoshl.c: Likewise.
10722 * math/s_csin.c: Likewise.
10723 * math/s_csinf.c: Likewise.
10724 * math/s_csinh.c Likewise.
10725 * math/s_csinhf.c: Likewise.
10726 * math/s_csinhl.c: Likewise.
10727 * math/s_csinl.c: Likewise.
10728 * math/s_ctan.c: Likewise.
10729 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
10730 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
10731 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
10733 2011-10-21 Ulrich Drepper <drepper@gmail.com>
10735 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
10736 compilation problems.
10738 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
10741 2011-10-20 Ulrich Drepper <drepper@gmail.com>
10743 * sysdeps/i386/configure.in: Test for -mfma4 option.
10744 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
10745 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
10746 COMMON_CPUID_INDEX_80000001.
10747 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
10748 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
10749 use it if FMA3 is not supported.
10750 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
10752 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
10753 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10755 2011-10-20 Andreas Schwab <schwab@redhat.com>
10758 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
10759 it would create a cycle with a link time dependency.
10761 2011-10-19 Ulrich Drepper <drepper@gmail.com>
10763 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
10765 * string/Makefile (strop-tests): Add rawmemchr.
10766 * string/test-rawmemchr.c: New file.
10768 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
10769 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
10770 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
10771 when compiling str{,n}casecmp and when AVX is available. Hook up
10772 new optimized code in initializers.
10774 2011-10-19 Andreas Schwab <schwab@redhat.com>
10776 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
10777 __feraiseexcept instead of feraiseexcept.
10779 2011-10-18 Ulrich Drepper <drepper@gmail.com>
10781 * math/math_private.h: Define defaults for libc_fetestexcept and
10783 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
10784 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
10785 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
10786 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10787 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10788 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10789 libc_fetestexcept and libc_feupdateenv.
10791 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
10792 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
10793 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
10794 * sysdeps/x86_64/fpu/math_private.h: Define special version of
10795 libc_feholdexcept_setround.
10797 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
10798 Add s_nearbyint-c and s_nearbyintf-c.
10799 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
10800 nearbyintf inlines.
10801 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
10802 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
10803 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
10804 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
10806 * math/math_private.h: Define defaults for libc_fegetround,
10807 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
10808 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
10809 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
10810 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
10811 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
10812 standard functions.
10813 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10814 Remove comments and hacks for old compiler versions.
10815 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10816 libc_fegetround, libc_fesetround, libc_feholdexcept, and
10817 libc_feholdexceptl.
10819 2011-10-18 Andreas Schwab <schwab@redhat.com>
10821 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
10822 (__feraiseexcept_renamed): Add __NTH.
10823 (feraiseexcept): Add __NTH. Rename local variables to fix
10824 namespace violations.
10826 2011-10-17 Ulrich Drepper <drepper@gmail.com>
10828 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
10830 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
10832 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
10833 recently added interfaces.
10834 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
10836 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
10837 about macro parameter expansion.
10839 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
10840 __NO_MATH_INLINES is defined. Cleanups.
10842 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
10843 and __floorf is target has SSE4.1.
10844 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
10845 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
10846 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
10847 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
10849 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
10851 (floorf): Likewise.
10853 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
10855 2011-10-17 Andreas Schwab <schwab@redhat.com>
10857 * misc/sys/cdefs.h: Fix last change.
10859 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
10862 2011-10-16 Ulrich Drepper <drepper@gmail.com>
10864 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
10866 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
10867 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10868 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10869 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10870 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10871 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10872 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10873 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10874 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10875 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
10876 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
10877 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
10878 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
10879 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
10880 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
10881 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
10882 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
10883 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
10884 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
10885 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
10886 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
10887 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
10889 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
10890 ceil, ceilf, floor, floorf.
10892 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
10893 Perform IRELATIVE relocations last.
10895 * elf/do-rel.h: Add another parameter nrelative, replacing the
10896 local variable with the same name. Change name of the function
10897 to end in Rel or Rela (uppercase).
10898 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
10899 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
10900 elf_dynamic_do_##reloc function.
10902 2011-10-15 Ulrich Drepper <drepper@gmail.com>
10904 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
10905 is sufficient, at least on modern CPUs.
10907 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
10909 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
10910 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
10912 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
10914 * math/bits/math-finite.h: Add entries for exp.
10915 * math/e_expl.c: Add __*_finite alias.
10916 * sysdeps/i386/fpu/e_exp.S: Likewise.
10917 * sysdeps/i386/fpu/e_expf.S: Likewise.
10918 * sysdeps/i386/fpu/e_expl.c: Likewise.
10919 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10920 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10921 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10922 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10923 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
10924 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10925 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10927 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
10928 is sufficient, at least on modern CPUs.
10930 * ctype/ctype-info.c (__ctype_init): Define.
10931 * include/ctype.h (__ctype_init): Declare.
10932 (__ctype_b_loc): The variable is always initialized.
10933 (__ctype_toupper_loc): Likewise.
10934 (__ctype_tolower_loc): Likewise.
10935 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
10936 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
10938 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
10940 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
10942 * configure.in: Also look in $cxxmachine/include for C++ system
10945 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10947 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
10948 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
10949 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
10950 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
10951 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
10952 (USE_AS_WMEMCMP): New macro.
10954 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
10955 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
10956 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
10957 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
10958 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10959 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
10960 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
10961 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
10962 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
10963 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
10964 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
10965 (USE_AS_WMEMCMP): New macro.
10966 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
10967 * sysdeps/string/test-memcmp.c: Update.
10968 Fix simple_wmemcmp.
10970 * wcsmbs/wmemcmp.c: Update.
10971 (WMEMCMP): New macro.
10974 2011-10-12 Andreas Jaeger <aj@suse.de>
10977 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
10979 2011-10-15 Ulrich Drepper <drepper@gmail.com>
10981 * libio/iofwide.c (do_length): Avoid warning.
10983 * ctype/ctype.h (__isctype_f): Add missing __THROW.
10985 2011-10-14 Ulrich Drepper <drepper@gmail.com>
10987 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
10989 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
10990 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
10991 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
10992 * sysdeps/i386/i686/fpu/e_log.S: New file.
10993 * sysdeps/i386/i686/fpu/e_logf.S: New file.
10994 * sysdeps/i386/i686/fpu/e_logl.S: New file.
10996 * ctype/ctype.h: Add support for inlined isXXX functions when
10997 compiling C++ code.
10999 2011-10-14 Andreas Schwab <schwab@redhat.com>
11001 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11003 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
11005 2011-10-13 Roland McGrath <roland@hack.frob.com>
11008 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
11010 2011-10-13 Andreas Schwab <schwab@redhat.com>
11012 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
11013 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
11016 * sysdeps/x86_64/memrchr.S: Check for zero size.
11018 * string/stratcliff.c: Add memrchr tests.
11020 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11022 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11023 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
11024 rawmemchr-sse2 rawmemchr-sse2-bsf.
11025 * sysdeps/i386/i686/multiarch/memchr.S: New file.
11026 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
11027 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
11028 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
11029 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
11030 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
11031 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
11032 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
11033 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
11034 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
11035 * string/memrchr.c (MEMRCHR): New macro.
11037 2011-10-12 Ulrich Drepper <drepper@gmail.com>
11039 Add integration with gcc's -ffinite-math-only and optimize wrapper
11041 * Versions.def: Define GLIBC_2.15 version for libm.
11042 * math/Makefile (headers): Add bits/math-finite.h.
11043 * math/bits/math-finite.h: New file.
11044 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
11045 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
11046 * math/e_acoshl.c: Add __*_finite alias.
11047 * math/e_acosl.c: Likewise.
11048 * math/e_asinl.c: Likewise.
11049 * math/e_atan2l.c: Likewise.
11050 * math/e_atanhl.c: Likewise.
11051 * math/e_coshl.c: Likewise.
11052 * math/e_exp10.c: Likewise.
11053 * math/e_exp10f.c: Likewise.
11054 * math/e_exp10l.c: Likewise.
11055 * math/e_exp2l.c: Likewise.
11056 * math/e_fmodl.c: Likewise.
11057 * math/e_gammal_r.c: Likewise.
11058 * math/e_hypotl.c: Likewise.
11059 * math/e_j0l.c: Likewise.
11060 * math/e_j1l.c: Likewise.
11061 * math/e_jnl.c: Likewise.
11062 * math/e_lgammal_r.c: Likewise.
11063 * math/e_log10l.c: Likewise.
11064 * math/e_log2l.c: Likewise.
11065 * math/e_logl.c: Likewise.
11066 * math/e_powl.c: Likewise.
11067 * math/e_sinhl.c: Likewise.
11068 * math/e_sqrtl.c: Likewise.
11069 * math/e_scalb.c: Completely rewritten and optimized.
11070 * math/e_scalbf.c: Likewise.
11071 * math/e_scalbl.c: Likewise.
11072 * math/w_acos.c: Likewise.
11073 * math/w_acosf.c: Likewise.
11074 * math/w_acosl.c: Likewise.
11075 * math/w_acosh.c: Likewise.
11076 * math/w_acoshf.c: Likewise.
11077 * math/w_acoshl.c: Likewise.
11078 * math/w_asin.c: Likewise.
11079 * math/w_asinf.c: Likewise.
11080 * math/w_asinl.c: Likewise.
11081 * math/w_atan2.c: Likewise.
11082 * math/w_atan2f.c: Likewise.
11083 * math/w_atan2l.c: Likewise.
11084 * math/w_atanh.c: Likewise.
11085 * math/w_atanhf.c: Likewise.
11086 * math/w_atanhl.c: Likewise.
11087 * math/w_exp10.c: Likewise.
11088 * math/w_exp10f.c: Likewise.
11089 * math/w_exp10l.c: Likewise.
11090 * math/w_fmod.c: Likewise.
11091 * math/w_fmodf.c: Likewise.
11092 * math/w_fmodl.c: Likewise.
11093 * math/w_j0.c: Likewise.
11094 * math/w_j0f.c: Likewise.
11095 * math/w_j0l.c: Likewise.
11096 * math/w_j1.c: Likewise.
11097 * math/w_j1f.c: Likewise.
11098 * math/w_j1l.c: Likewise.
11099 * math/w_jn.c: Likewise.
11100 * math/w_jnf.c: Likewise.
11101 * math/w_log.c: Likewise.
11102 * math/w_logf.c: Likewise.
11103 * math/w_logl.c: Likewise.
11104 * math/w_log10.c: Likewise.
11105 * math/w_log10f.c: Likewise.
11106 * math/w_log10l.c: Likewise.
11107 * math/w_log2.c: Likewise.
11108 * math/w_log2f.c: Likewise.
11109 * math/w_log2l.c: Likewise.
11110 * math/w_pow.c: Likewise.
11111 * math/w_powf.c: Likewise.
11112 * math/w_powl.c: Likewise.
11113 * math/w_remainder.c: Likewise.
11114 * math/w_remainderf.c: Likewise.
11115 * math/w_remainderl.c: Likewise.
11116 * math/w_scalb.c: Likewise.
11117 * math/w_scalbf.c: Likewise.
11118 * math/w_scalbl.c: Likewise.
11119 * math/w_sqrt.c: Likewise.
11120 * math/w_sqrtf.c: Likewise.
11121 * math/w_sqrtl.c: Likewise.
11122 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
11123 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
11125 * math/math_private.h: Declare __kernel_standard_f.
11126 * math/w_cosh.c: Remove cruft and optimize a bit.
11127 * math/w_coshf.c: Likewise.
11128 * math/w_coshl.c: Likewise.
11129 * math/w_exp2.c: Likewise.
11130 * math/w_exp2f.c: Likewise.
11131 * math/w_exp2l.c: Likewise.
11132 * math/w_hypot.c: Likewise.
11133 * math/w_hypotf.c: Likewise.
11134 * math/w_hypotl.c: Likewise.
11135 * math/w_lgamma.c: Likewise.
11136 * math/w_lgamma_r.c: Likewise.
11137 * math/w_lgammaf.c: Likewise.
11138 * math/w_lgammaf_r.c: Likewise.
11139 * math/w_lgammal.c: Likewise.
11140 * math/w_lgammal_r.c: Likewise.
11141 * math/w_sinh.c: Likewise.
11142 * math/w_sinhf.c: Likewise.
11143 * math/w_sinhl.c: Likewise.
11144 * math/w_tgamma.c: Likewise.
11145 * math/w_tgammaf.c: Likewise.
11146 * math/w_tgammal.c: Likewise.
11147 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11148 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11149 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
11150 Minor optimizations. Pretty printing. Remove cruft.
11151 * sysdeps/i386/fpu/e_acosf.S: Likewise.
11152 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11153 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11154 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11155 * sysdeps/i386/fpu/e_acosl.c: Likewise.
11156 * sysdeps/i386/fpu/e_asin.S: Likewise.
11157 * sysdeps/i386/fpu/e_asinf.S: Likewise.
11158 * sysdeps/i386/fpu/e_atan2.S: Likewise.
11159 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
11160 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
11161 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11162 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11163 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11164 * sysdeps/i386/fpu/e_exp10.S: Likewise.
11165 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
11166 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
11167 * sysdeps/i386/fpu/e_exp2.S: Likewise.
11168 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
11169 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
11170 * sysdeps/i386/fpu/e_fmod.S: Likewise.
11171 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
11172 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
11173 * sysdeps/i386/fpu/e_hypot.S: Likewise.
11174 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
11175 * sysdeps/i386/fpu/e_log.S: Likewise.
11176 * sysdeps/i386/fpu/e_log10.S: Likewise.
11177 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11178 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11179 * sysdeps/i386/fpu/e_log2.S: Likewise.
11180 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11181 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11182 * sysdeps/i386/fpu/e_logf.S: Likewise.
11183 * sysdeps/i386/fpu/e_logl.S: Likewise.
11184 * sysdeps/i386/fpu/e_pow.S: Likewise.
11185 * sysdeps/i386/fpu/e_powf.S: Likewise.
11186 * sysdeps/i386/fpu/e_powl.S: Likewise.
11187 * sysdeps/i386/fpu/e_remainder.S: Likewise.
11188 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
11189 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
11190 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11191 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11192 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11193 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
11194 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
11195 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
11196 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11197 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11198 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11199 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11200 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11201 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11202 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11203 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11204 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11205 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11206 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11207 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11208 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11209 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11210 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11211 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11212 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11213 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11214 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11215 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11216 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11217 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
11218 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11219 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11220 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
11221 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11222 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11223 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
11224 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11225 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
11226 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11227 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11228 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11229 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11230 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
11231 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
11232 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
11233 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
11234 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
11235 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11236 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
11237 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11238 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
11239 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11240 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11241 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11242 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11243 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11244 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11245 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11246 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11247 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11248 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11249 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11250 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11251 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11252 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11253 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11254 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11255 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11256 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11257 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
11258 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11259 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11260 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
11261 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11262 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
11263 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
11264 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
11265 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11266 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11267 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11268 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11269 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11270 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11271 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11272 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11273 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11274 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11275 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11276 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11277 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11278 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
11279 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11280 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11281 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11282 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11283 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11284 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11285 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11286 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11287 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11288 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11289 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11290 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11291 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
11292 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
11293 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
11294 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
11295 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
11296 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
11297 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
11298 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
11299 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
11300 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11301 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11302 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11303 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11304 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
11305 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11306 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
11307 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
11308 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
11309 (__isnanf): Likewise.
11310 (__isinf_ns): Likewise.
11311 (__isinf_nsf): Likewise.
11312 (__finite): Likewise.
11313 (__finitef): Likewise.
11314 (__ieee754_sqrt): Define as macro.
11315 (__ieee754_sqrtf): Define as macro.
11316 (__ieee754_sqrtl): Define as macro.
11317 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
11319 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
11320 __FINITE_MATH_ONLY__ consistent.
11321 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
11323 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
11325 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
11328 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
11330 2011-10-09 Ulrich Drepper <drepper@gmail.com>
11332 * po/ja.po: Update from translation team.
11334 2011-10-08 Roland McGrath <roland@hack.frob.com>
11336 * locale/programs/locarchive.c (prepare_address_space): New function.
11337 (create_archive, enlarge_archive, open_archive): Use it.
11339 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
11340 inside [SHARED], where it is used.
11342 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
11344 * nss/getent.c (netgroup_keys): Remove unused variable.
11345 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
11347 2011-10-08 Ulrich Drepper <drepper@gmail.com>
11349 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
11350 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
11351 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
11352 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
11353 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
11354 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
11355 * math/Makefile (libm-calls): Add s_isinf_ns.
11356 * math/divtc3.c: Use __isinf_nsl instead of isinf.
11357 * math/multc3.c: Likewise.
11358 * math/s_casin.c: Likewise.
11359 * math/s_casinf.c: Likewise.
11360 * math/s_casinl.c: Likewise.
11361 * math/s_ccos.c: Likewise.
11362 * math/s_ccosf.c: Likewise.
11363 * math/s_ccosl.c: Likewise.
11364 * math/s_ctan.c: Likewise.
11365 * math/s_ctanf.c: Likewise.
11366 * math/s_ctanh.c: Likewise.
11367 * math/s_ctanhf.c: Likewise.
11368 * math/s_ctanhl.c: Likewise.
11369 * math/s_ctanl.c: Likewise.
11370 * math/w_fmod.c: Likewise.
11371 * math/w_fmodf.c: Likewise.
11372 * math/w_fmodl.c: Likewise.
11373 * math/w_remainder.c: Likewise.
11374 * math/w_remainderf.c: Likewise.
11375 * math/w_remainderl.c: Likewise.
11376 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
11377 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
11378 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
11379 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
11380 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
11381 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
11382 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
11383 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
11385 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
11387 * stdio-common/printf_fphex.c: Likewise.
11388 * stdio-common/printf_size.c: Likewise.
11390 * math/e_exp10.c: Include math_private.h using <...> not "...".
11391 * math/e_exp10f.c: Likewise.
11392 * math/e_exp10l.c: Likewise.
11393 * math/e_exp2l.c: Likewise.
11394 * math/e_j0l.c: Likewise.
11395 * math/e_j1l.c: Likewise.
11396 * math/e_jnl.c: Likewise.
11397 * math/e_lgammal_r.c: Likewise.
11398 * math/e_rem_pio2l.c: Likewise.
11399 * math/e_scalb.c: Likewise.
11400 * math/e_scalbf.c: Likewise.
11401 * math/e_scalbl.c: Likewise.
11402 * math/k_cosl.c: Likewise.
11403 * math/k_sinl.c: Likewise.
11404 * math/k_tanl.c: Likewise.
11405 * math/s_cacoshf.c: Likewise.
11406 * math/s_catan.c: Likewise.
11407 * math/s_catanf.c: Likewise.
11408 * math/s_catanh.c: Likewise.
11409 * math/s_catanhf.c: Likewise.
11410 * math/s_catanhl.c: Likewise.
11411 * math/s_catanl.c: Likewise.
11412 * math/s_ccosh.c: Likewise.
11413 * math/s_ccoshf.c: Likewise.
11414 * math/s_ccoshl.c: Likewise.
11415 * math/s_cexp.c: Likewise.
11416 * math/s_cexpf.c: Likewise.
11417 * math/s_cexpl.c: Likewise.
11418 * math/s_clog.c: Likewise.
11419 * math/s_clog10.c: Likewise.
11420 * math/s_clog10f.c: Likewise.
11421 * math/s_clog10l.c: Likewise.
11422 * math/s_clogf.c: Likewise.
11423 * math/s_clogl.c: Likewise.
11424 * math/s_csin.c: Likewise.
11425 * math/s_csinf.c: Likewise.
11426 * math/s_csinh.c: Likewise.
11427 * math/s_csinhf.c: Likewise.
11428 * math/s_csinhl.c: Likewise.
11429 * math/s_csinl.c: Likewise.
11430 * math/s_csqrt.c: Likewise.
11431 * math/s_csqrtf.c: Likewise.
11432 * math/s_csqrtl.c: Likewise.
11433 * math/s_ctan.c: Likewise.
11434 * math/s_ctanf.c: Likewise.
11435 * math/s_ctanh.c: Likewise.
11436 * math/s_ctanhf.c: Likewise.
11437 * math/s_ctanhl.c: Likewise.
11438 * math/s_ctanl.c: Likewise.
11439 * math/s_ldexp.c: Likewise.
11440 * math/s_ldexpf.c: Likewise.
11441 * math/s_ldexpl.c: Likewise.
11442 * math/s_significand.c: Likewise.
11443 * math/s_significandf.c: Likewise.
11444 * math/s_significandl.c: Likewise.
11445 * math/w_acos.c: Likewise.
11446 * math/w_acosf.c: Likewise.
11447 * math/w_acosh.c: Likewise.
11448 * math/w_acoshf.c: Likewise.
11449 * math/w_acoshl.c: Likewise.
11450 * math/w_acosl.c: Likewise.
11451 * math/w_asin.c: Likewise.
11452 * math/w_asinf.c: Likewise.
11453 * math/w_asinl.c: Likewise.
11454 * math/w_atan2.c: Likewise.
11455 * math/w_atan2f.c: Likewise.
11456 * math/w_atan2l.c: Likewise.
11457 * math/w_atanh.c: Likewise.
11458 * math/w_atanhf.c: Likewise.
11459 * math/w_atanhl.c: Likewise.
11460 * math/w_cosh.c: Likewise.
11461 * math/w_coshf.c: Likewise.
11462 * math/w_coshl.c: Likewise.
11463 * math/w_dremf.c: Likewise.
11464 * math/w_exp10.c: Likewise.
11465 * math/w_exp10f.c: Likewise.
11466 * math/w_exp10l.c: Likewise.
11467 * math/w_exp2.c: Likewise.
11468 * math/w_exp2f.c: Likewise.
11469 * math/w_fmod.c: Likewise.
11470 * math/w_fmodf.c: Likewise.
11471 * math/w_fmodl.c: Likewise.
11472 * math/w_hypot.c: Likewise.
11473 * math/w_hypotf.c: Likewise.
11474 * math/w_hypotl.c: Likewise.
11475 * math/w_j0.c: Likewise.
11476 * math/w_j0f.c: Likewise.
11477 * math/w_j0l.c: Likewise.
11478 * math/w_j1.c: Likewise.
11479 * math/w_j1f.c: Likewise.
11480 * math/w_j1l.c: Likewise.
11481 * math/w_jn.c: Likewise.
11482 * math/w_jnf.c: Likewise.
11483 * math/w_jnl.c: Likewise.
11484 * math/w_lgamma.c: Likewise.
11485 * math/w_lgamma_r.c: Likewise.
11486 * math/w_lgammaf.c: Likewise.
11487 * math/w_lgammaf_r.c: Likewise.
11488 * math/w_lgammal.c: Likewise.
11489 * math/w_lgammal_r.c: Likewise.
11490 * math/w_log.c: Likewise.
11491 * math/w_log10.c: Likewise.
11492 * math/w_log10f.c: Likewise.
11493 * math/w_log10l.c: Likewise.
11494 * math/w_log2.c: Likewise.
11495 * math/w_log2f.c: Likewise.
11496 * math/w_log2l.c: Likewise.
11497 * math/w_logf.c: Likewise.
11498 * math/w_logl.c: Likewise.
11499 * math/w_pow.c: Likewise.
11500 * math/w_powf.c: Likewise.
11501 * math/w_powl.c: Likewise.
11502 * math/w_remainder.c: Likewise.
11503 * math/w_remainderf.c: Likewise.
11504 * math/w_remainderl.c: Likewise.
11505 * math/w_scalb.c: Likewise.
11506 * math/w_scalbf.c: Likewise.
11507 * math/w_scalbl.c: Likewise.
11508 * math/w_sinh.c: Likewise.
11509 * math/w_sinhf.c: Likewise.
11510 * math/w_sinhl.c: Likewise.
11511 * math/w_sqrt.c: Likewise.
11512 * math/w_sqrtf.c: Likewise.
11513 * math/w_sqrtl.c: Likewise.
11514 * math/w_tgamma.c: Likewise.
11515 * math/w_tgammaf.c: Likewise.
11516 * math/w_tgammal.c: Likewise.
11518 * po/ja.po: Update from translation team.
11520 2011-09-29 Andreas Jaeger <aj@suse.de>
11523 * sunrpc/netname.c (netname2host): Fix logic.
11527 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
11529 * math/w_remainder.c (__remainder): Likewise.
11530 * math/w_remainderf.c (__remainderf): Likewise.
11531 * math/libm-test.inc (remainder_test): Add test cases.
11533 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11535 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
11538 2011-10-07 Ulrich Drepper <drepper@gmail.com>
11540 * string/test-memcmp.c: Avoid unncessary #defines.
11541 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
11543 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11545 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
11546 Use new sse2 version for core i3 - i7 as it's faster
11547 than sse42 version.
11548 (bit_Prefer_PMINUB_for_stringop): New.
11549 * sysdeps/x86_64/rawmemchr.S: Update.
11550 Replace with faster SSE2 version.
11551 * sysdeps/x86_64/memrchr.S: New file.
11552 * sysdeps/x86_64/memchr.S: Update.
11553 Replace with faster SSE2 version.
11555 2011-09-12 Marek Polacek <mpolacek@redhat.com>
11557 * elf/dl-load.c (lose): Add cast to avoid warning.
11559 2011-10-07 Ulrich Drepper <drepper@gmail.com>
11561 * po/ca.po: Update from translation team.
11563 * inet/getnetgrent_r.c: Hook up nscd.
11564 * nscd/Makefile (routines): Add nscd_netgroup.
11565 (nscd-modules): Add netgroupcache.
11566 (CFLAGS-netgroupcache.c): Define.
11567 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
11568 (cache_search): Add const to second parameter.
11569 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
11571 (dbs): Add netgrdb entry.
11572 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
11573 (verify_persistent_db): Handle netgrdb.
11574 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
11575 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
11577 (netgroup_response_header): Define.
11578 (innetgroup_response_header): Define.
11579 (datahead): Add netgroup_response_header and innetgroup_response_header
11581 * nscd/nscd.conf: Add entries for netgroup cache.
11582 * nscd/nscd.h (dbtype): Add netgrdb.
11583 (_PATH_NSCD_NETGROUP_DB): Define.
11584 (netgroup_iov_disabled): Declare.
11585 (xmalloc, xcalloc, xrealloc): Move declarations here.
11586 (cache_search): Adjust prototype.
11587 Add netgroup-related prototypes.
11588 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
11589 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
11590 (__nscd_innetgr): Declare.
11591 * nscd/selinux.c (perms): Use access_vector_t as element type and
11592 add netgroup-related initializers.
11593 * nscd/netgroupcache.c: New file.
11594 * nscd/nscd_netgroup.c: New file.
11595 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
11596 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
11597 For four parameters use innetgr.
11598 * nss/nss_files/files-init.c: Add definition and callback for netgr.
11599 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
11600 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
11601 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
11603 * nscd/connections.c (register_traced_file): Don't register file
11604 for disabled databases.
11606 2011-10-06 Ulrich Drepper <drepper@gmail.com>
11608 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
11610 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
11611 from tree and freeing node.
11613 2011-09-25 Jiri Olsa <jolsa@redhat.com>
11615 * nss/nsswitch.c (__nss_database_lookup): Handle
11616 nss_parse_service_list out of memory case.
11618 2011-09-15 Jiri Olsa <jolsa@redhat.com>
11620 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
11621 out of memory case.
11623 2011-10-04 Andreas Schwab <schwab@redhat.com>
11625 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
11626 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
11628 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
11629 elf_machine_rela, elf_machine_lazy_rel.
11630 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
11631 (ELF_DYNAMIC_DO_REL): Likewise.
11632 (ELF_DYNAMIC_DO_RELA): Likewise.
11633 (ELF_DYNAMIC_RELOCATE): Likewise.
11634 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
11635 to ELF_DYNAMIC_DO_REL.
11636 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
11637 (dl_main): In trace mode always set __RTLD_NOIFUNC.
11638 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
11640 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
11641 skip_ifunc, don't call ifunc function if non-zero.
11642 (elf_machine_rela): Likewise.
11643 (elf_machine_lazy_rel): Likewise.
11644 (elf_machine_lazy_rela): Likewise.
11645 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
11646 (elf_machine_lazy_rel): Likewise.
11647 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
11649 (elf_machine_lazy_rel): Likewise.
11650 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11652 (elf_machine_lazy_rel): Likewise.
11653 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
11654 (elf_machine_lazy_rel): Likewise.
11655 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
11656 (elf_machine_lazy_rel): Likewise.
11657 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11658 (elf_machine_lazy_rel): Likewise.
11659 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
11660 (elf_machine_lazy_rel): Likewise.
11661 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
11662 (elf_machine_lazy_rel): Likewise.
11663 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
11664 (elf_machine_lazy_rel): Likewise.
11666 2011-09-28 Ulrich Drepper <drepper@gmail.com>
11668 * nss/nss_files/files-init.c (_nss_files_init): Use static
11669 initialization for all the *_traced_file variables.
11671 2011-09-28 Andreas Schwab <schwab@redhat.com>
11673 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11675 2011-09-27 Roland McGrath <roland@hack.frob.com>
11678 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
11680 2011-09-27 Andreas Schwab <schwab@redhat.com>
11682 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11683 Reread the line before reparsing it.
11685 2011-09-26 Andreas Schwab <schwab@redhat.com>
11687 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
11689 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
11690 Maxim Kuvyrkov <maxim@codesourcery.com>
11691 Joseph Myers <joseph@codesourcery.com>
11693 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
11694 if needed for __stack_chk_guard.
11696 2011-09-19 Roland McGrath <roland@hack.frob.com>
11698 * sysdeps/posix/spawni.c (script_execute): Always define it.
11699 It will be optimized away if unused.
11700 (maybe_script_execute): New function.
11701 (__spawni): Call it.
11703 * Makerules: Don't include tls.make.
11704 (config-tls): Always set to thread.
11705 * tls.make.c: File removed.
11707 2011-09-19 Mike Frysinger <vapier@gentoo.org>
11709 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
11710 * config.make.in (CPPFLAGS-config): New substituted variable.
11712 2011-09-15 Ulrich Drepper <drepper@gmail.com>
11714 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
11717 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
11718 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
11720 2011-09-15 Roland McGrath <roland@hack.frob.com>
11722 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
11723 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
11724 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
11725 (CALL_FAIL): Likewise.
11726 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
11727 (CALL_FAIL): Macro removed.
11728 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
11730 2011-09-15 Ulrich Drepper <drepper@gmail.com>
11732 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
11733 for __FINITE_MATH_ONLY__ == 1.
11735 2011-09-15 Andreas Schwab <schwab@redhat.com>
11737 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
11738 __ieee754_sqrt instead of sqrt.
11739 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
11740 __ieee754_sqrtf instead of sqrtf.
11741 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
11742 __floorf instead of floorf.
11743 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
11744 __floorf, __truncf instead of floorf, truncf.
11746 2011-09-14 Ulrich Drepper <drepper@gmail.com>
11748 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
11750 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
11751 __extern_always_inline.
11752 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
11755 2011-09-14 Andreas Schwab <schwab@redhat.com>
11757 * elf/rtld.c (dl_main): Also relocate in dependency order when
11758 doing symbol dependency testing.
11760 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
11762 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11763 Always define `refsym'.
11765 2011-09-13 Andreas Schwab <schwab@redhat.com>
11767 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
11768 (__FD_ELT): Renamed from __FDELT.
11769 * misc/bits/select2.h (__FD_ELT): Likewise.
11770 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
11771 __FD_MASK instead of __FDELT, __FDMASK.
11772 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11774 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11777 * elf/Makefile (gen-ldd): Fix pattern.
11779 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
11780 (init_tls): Likewise.
11782 2011-09-12 Ulrich Drepper <drepper@gmail.com>
11784 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
11786 2011-09-12 Andreas Schwab <schwab@redhat.com>
11788 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
11789 `struct cmsghdr *' instead of `void *'.
11790 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
11793 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
11795 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
11797 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
11798 ldd_rewrite_script.
11800 2011-09-11 Ulrich Drepper <drepper@gmail.com>
11802 * configure.in: Remove --with-tls option.
11803 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
11804 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
11805 out in case it is missing.
11806 * sysdeps/ia64/elf/configure.in: Likewise.
11807 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
11808 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
11809 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
11810 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
11811 * sysdeps/sh/elf/configure.in: Likewise.
11812 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
11813 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
11814 * sysdeps/x86_64/elf/configure.in: Likewise.
11815 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
11816 * sysdeps/mach/hurd/tls.h: Likewise.
11819 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
11822 * configure.in: Fix use of AC_INIT.
11824 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
11826 2011-09-10 Ulrich Drepper <drepper@gmail.com>
11828 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
11830 * malloc/hooks.c: Likewise.
11833 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
11834 variables statically.
11835 (narenas): Initialize.
11836 (list_lock): Initialize.
11837 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
11838 initializtion of main_arena and list_lock. Small cleanups.
11839 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
11840 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
11841 Add initializers to main_arena and mp_.
11842 (malloc_state): Remove pagesize member. Change all users to use
11845 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
11846 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
11847 is always initialized.
11849 * malloc/malloc.c: Removed unused configurations and dead code.
11850 * malloc/arena.c: Likewise.
11851 * malloc/hooks.c: Likewise.
11852 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
11854 * include/tls.h: Removed. USE___THREAD must always be defined.
11855 * bits/libc-tsd.h: Don't handle !USE___THREAD.
11856 * elf/dl-libc.c: Likewise.
11857 * elf/dl-tsd.c: Likewise.
11858 * include/errno.h: Likewise.
11859 * include/netdb.h: Likewise.
11860 * include/resolv.h: Likewise.
11861 * inet/herrno-loc.c: Likewise.
11862 * inet/herrno.c: Likewise.
11863 * malloc/arena.c: Likewise.
11864 * malloc/hooks.c: Likewise.
11865 * malloc/malloc.c: Likewise.
11866 * resolv/res-state.c: Likewise.
11867 * resolv/res_libc.c: Likewise.
11868 * sysdeps/i386/dl-machine.h: Likewise.
11869 * sysdeps/ia64/dl-machine.h: Likewise.
11870 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
11871 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11872 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
11873 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
11874 * sysdeps/sh/dl-machine.h: Likewise.
11875 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11876 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11877 * sysdeps/unix/i386/sysdep.S: Likewise.
11878 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11879 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
11880 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
11881 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11882 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
11883 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11884 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11885 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11886 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11887 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11888 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11889 * sysdeps/x86_64/dl-machine.h: Likewise.
11890 * tls.make.c: Likewise.
11892 * configure.in: Remove --with-__thread option. Make tests for
11893 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
11894 tls_model attribute fail if no support is available. Remove
11896 * Makeconfig: Adjust for dropped configure option. All features are
11898 * Makerules: Likewise.
11899 * Versions.def: Likewise.
11900 * argp/argp-fmtstream.c: Likewise.
11901 * argp/argp-fmtstream.h: Likewise.
11902 * argp/argp-help.c: Likewise.
11903 * assert/assert.c: Likewise.
11904 * config.h.in: Likewise.
11905 * config.make.in: Likewise.
11906 * configure: Likewise.
11907 * configure.in: Likewise.
11908 * csu/Versions: Likewise.
11909 * csu/init.c: Likewise.
11910 * elf/tst-audit2.c: Likewise.
11911 * elf/tst-tls10.c: Likewise.
11912 * elf/tst-tls10.h: Likewise.
11913 * elf/tst-tls11.c: Likewise.
11914 * elf/tst-tls12.c: Likewise.
11915 * elf/tst-tls14.c: Likewise.
11916 * elf/tst-tlsmod11.c: Likewise.
11917 * elf/tst-tlsmod12.c: Likewise.
11918 * elf/tst-tlsmod13.c: Likewise.
11919 * elf/tst-tlsmod13a.c: Likewise.
11920 * elf/tst-tlsmod14a.c: Likewise.
11921 * elf/tst-tlsmod15b.c: Likewise.
11922 * elf/tst-tlsmod16a.c: Likewise.
11923 * elf/tst-tlsmod16b.c: Likewise.
11924 * elf/tst-tlsmod7.c: Likewise.
11925 * elf/tst-tlsmod8.c: Likewise.
11926 * elf/tst-tlsmod9.c: Likewise.
11927 * gmon/gmon.c: Likewise.
11928 * grp/fgetgrent_r.c: Likewise.
11929 * grp/putgrent.c: Likewise.
11930 * hurd/fopenport.c: Likewise.
11931 * include/libc-symbols.h: Likewise.
11932 * include/tls.h: Likewise.
11933 * intl/gettextP.h: Likewise.
11934 * intl/loadinfo.h: Likewise.
11935 * locale/global-locale.c: Likewise.
11936 * locale/localeinfo.h: Likewise.
11937 * mach/devstream.c: Likewise.
11938 * malloc/arena.c: Likewise.
11939 * malloc/set-freeres.c: Likewise.
11940 * misc/err.c: Likewise.
11941 * misc/getttyent.c: Likewise.
11942 * misc/mntent_r.c: Likewise.
11943 * posix/getopt.c: Likewise.
11944 * posix/wordexp.c: Likewise.
11945 * pwd/fgetpwent_r.c: Likewise.
11946 * resolv/Versions: Likewise.
11947 * resolv/res_hconf.c: Likewise.
11948 * shadow/fgetspent_r.c: Likewise.
11949 * shadow/putspent.c: Likewise.
11950 * stdio-common/printf_fphex.c: Likewise.
11951 * stdio-common/tmpfile.c: Likewise.
11952 * stdlib/abort.c: Likewise.
11953 * stdlib/fmtmsg.c: Likewise.
11954 * sunrpc/auth_unix.c: Likewise.
11955 * sunrpc/clnt_perr.c: Likewise.
11956 * sunrpc/clnt_tcp.c: Likewise.
11957 * sunrpc/clnt_udp.c: Likewise.
11958 * sunrpc/clnt_unix.c: Likewise.
11959 * sunrpc/openchild.c: Likewise.
11960 * sunrpc/svc_simple.c: Likewise.
11961 * sunrpc/svc_tcp.c: Likewise.
11962 * sunrpc/svc_udp.c: Likewise.
11963 * sunrpc/svc_unix.c: Likewise.
11964 * sunrpc/xdr.c: Likewise.
11965 * sunrpc/xdr_array.c: Likewise.
11966 * sunrpc/xdr_rec.c: Likewise.
11967 * sunrpc/xdr_ref.c: Likewise.
11968 * sunrpc/xdr_stdio.c: Likewise.
11970 2011-09-09 Ulrich Drepper <drepper@gmail.com>
11972 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11974 2011-07-03 Andreas Jaeger <aj@suse.de>
11976 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
11977 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
11978 regenerate with gen-libm-tests.pl.
11980 2010-05-12 Petr Baudis <pasky@suse.cz>
11983 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
11984 around j0() zero points by switching to j1().
11985 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11986 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11987 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11988 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11990 2011-09-09 Ulrich Drepper <drepper@gmail.com>
11992 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
11994 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
11996 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11997 Patch in part by Pavel Roskin <proski@gnu.org>.
12000 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
12002 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
12003 Free memory block if necessary.
12006 * libio/genops.c (INTDEF): For string streams the _lock pointer can
12007 be NULL. Don't lock in this case.
12009 2011-09-09 Roland McGrath <roland@hack.frob.com>
12011 * elf/elf.h (ELFOSABI_GNU): New macro.
12012 (ELFOSABI_LINUX): Define to that.
12014 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
12016 * string/strncat.c (strncat): Undef the symbol in case it has been
12017 defined in bits/string.h.
12019 2011-09-09 Ulrich Drepper <drepper@gmail.com>
12021 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
12023 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
12026 2011-08-17 Andreas Jaeger <aj@suse.de>
12028 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
12030 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
12031 Ian Lance Taylor <iant@google.com>
12033 * math/libm-test.inc (lround_test): New testcase.
12034 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
12036 2011-09-08 Ulrich Drepper <drepper@gmail.com>
12038 * Makefile: Remove support for automatic cvs check-ins.
12039 * Makerules: Likewise.
12040 * config.make.in: Likewise.
12041 * configure.in: Likewise.
12042 * intl/Makefile: Likewise.
12043 * locale/Makefile: Likewise.
12044 * po/Makefile: Likewise.
12045 * posix/Makefile: Likewise.
12046 * sysdeps/gnu/Makefile: Likewise.
12047 * sysdeps/mach/hurd/Makefile: Likewise.
12048 * sysdeps/sparc/sparc32/Makefile: Likewise.
12051 * posix/Makefile (bug-regex32-ENV): Define.
12052 Patch by John Stanley <jpsinthemix@verizon.net>.
12054 * misc/Makefile (headers): Add bits/select2.h.
12055 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
12056 * misc/bits/select2.h: New file.
12057 * include/bits/select2.h: New file.
12058 * debug/Makefile (routines): Add fdelt_chk.
12059 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
12060 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
12062 * debug/fdelt_chk.c: New file.
12064 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
12065 * wcsmbs/test-wmemcmp.c: Likewise.
12066 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
12067 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
12069 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12071 * string/Makefile (strop-tests): Add memcmp.
12072 * string/test-wmemcmp.c: New file.
12073 * string/test-memcmp.c: Add wmemcmp support.
12075 2011-09-08 Roland McGrath <roland@hack.frob.com>
12078 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
12081 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
12082 garbage value in a __mach_port_mod_refs call in the cases of the
12083 task-self and thread-self ports.
12085 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
12087 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
12089 2011-09-08 Andreas Schwab <schwab@redhat.com>
12091 * elf/dl-load.c (lose): Check for non-null L.
12093 2011-09-07 Ulrich Drepper <drepper@gmail.com>
12095 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
12097 * elf/dl-libc.c (dlerror_run): Pass back error code from
12101 * elf/dl-load.c (lose): Free l_origin if it is valid.
12103 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
12105 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
12106 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12107 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12108 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12109 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
12110 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
12112 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12114 * sysdeps/powerpc/fpu/e_hypot.c: New file.
12115 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
12116 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
12117 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
12118 * sysdeps/powerpc/fpu/k_cosf.c: New file.
12119 * sysdeps/powerpc/fpu/k_sinf.c: New file.
12120 * sysdeps/powerpc/fpu/s_cosf.c: New file.
12121 * sysdeps/powerpc/fpu/s_sinf.c: New file.
12122 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
12123 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
12125 2011-08-15 Alan Modra <amodra@gmail.com>
12128 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
12129 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
12130 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
12131 ppc_mcount to static-only-routines.
12132 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
12134 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
12135 __mcount_internal with usual JUMPTARGET. Remove useless nop.
12137 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
12139 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
12140 for finite and infinity parameters.
12142 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
12144 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
12145 and add nop instructions for throughput optimization.
12146 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12148 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
12150 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
12151 aligned copy for power7 with vector-scalar instructions.
12152 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12154 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
12156 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
12159 2011-09-07 Andreas Schwab <schwab@redhat.com>
12162 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
12165 2011-09-07 Ulrich Drepper <drepper@gmail.com>
12167 * sysdeps/unix/sysv/linux/x86_64/init-first.c
12168 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
12169 syscall wrapper around clock_gettime in __vdso_clock_gettime.
12170 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
12173 2011-09-06 Ulrich Drepper <drepper@gmail.com>
12175 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
12176 Forgot to demangle the pointer.
12178 * sysdeps/i386/sysdep.h: Define atom_text_section.
12179 * sysdeps/x86_64/sysdep.h: Likewise.
12180 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
12181 section with atom_text_section.
12182 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12183 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12184 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
12185 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12186 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
12188 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
12189 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
12190 already be defined. Change to take two parameters and don't assign
12191 result to variable. Adjust all users.
12192 Define INTERNAL_GETTIME if not already defined.
12193 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
12195 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
12196 HAVE_CLOCK_GETTIME_VSYSCALL.
12197 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
12199 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
12200 gettimeofday vsyscall, just use time.
12202 2011-09-06 Andreas Schwab <schwab@redhat.com>
12204 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
12207 2011-09-06 Ulrich Drepper <drepper@gmail.com>
12209 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
12211 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
12213 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
12214 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
12215 syscall if possible.
12217 2011-09-05 Ulrich Drepper <drepper@gmail.com>
12219 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
12220 e_ident. Don't pass to find_mapsXX.
12221 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
12223 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12225 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12226 strchr-sse2-no-bsf strrchr-sse2-no-bsf
12227 * sysdeps/x86_64/multiarch/strchr.S: Update.
12228 Check bit_slow_BSF bit.
12229 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12230 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
12231 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
12233 2011-09-05 Ulrich Drepper <drepper@gmail.com>
12236 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
12238 (tryshell): Define.
12239 (__spawni): Change last parameter to be flag. Test
12240 SPAWN_XFLAGS_USE_PATH flag to use path or not.
12241 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
12242 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
12243 * posix/spawni.c: Likewise.
12244 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
12245 * posix/spawnp.c: Likewise. Change normal version to use
12246 SPAWN_XFLAGS_USE_PATH.
12247 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
12248 SPAWN_XFLAGS_TRY_SHELL.
12251 * posix/glob.h: Remove gcc 1.x support.
12254 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
12256 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12258 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12259 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
12261 * sysdeps/i386/i686/multiarch/strchr.S: New file.
12262 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
12263 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
12264 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
12265 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
12266 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
12268 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12270 * sysdeps/x86_64/wcscmp.S: New file.
12272 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
12273 wcscmp-c wcscmp-sse2
12274 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
12275 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
12276 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
12277 * wcsmbs/wcscmp.c: Allow renaming.
12279 2011-09-05 David S. Miller <davem@davemloft.net>
12281 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
12282 stack slot, rather than the struct return pointer slot.
12283 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
12284 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
12285 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
12286 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
12288 2011-09-05 Ulrich Drepper <drepper@gmail.com>
12290 * po/ja.po: Update from translation team.
12293 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
12294 kernel in 64-bit binaries.
12296 2011-09-01 David S. Miller <davem@davemloft.net>
12298 * elf/elf.h (HWCAP_SPARC_*): Move to..
12299 * sysdeps/sparc/sysdep.h: this new file and add new values.
12300 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
12301 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
12302 _DL_HWCAP_COUNT to 24.
12303 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12305 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
12306 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
12307 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
12308 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
12309 instead of magic constants.
12310 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12312 2011-08-31 David S. Miller <davem@davemloft.net>
12314 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
12315 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
12316 Reimplement to do errno handling inline.
12317 (SYSCALL_ERROR_HANDLER): New macro.
12318 (__SYSCALL_STRING): Do not do errno handling in asm.
12319 (__CLONE_SYSCALL_STRING): Delete.
12320 (__INTERNAL_SYSCALL_STRING): Delete.
12321 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
12322 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
12323 (PSEUDO): Reimplement to do errno handling inline.
12324 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
12325 (SYSCALL_ERROR_HANDLER): New macro.
12326 (__SYSCALL_STRING): Do not do errno handling in asm.
12327 (__CLONE_SYSCALL_STRING): Delete.
12328 (__INTERNAL_SYSCALL_STRING): Delete.
12329 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
12330 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
12332 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
12333 (inline_syscall*): Add 'err' argument.
12334 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
12335 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
12336 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
12337 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
12339 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
12340 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
12342 2011-08-30 Andreas Schwab <schwab@redhat.com>
12344 * elf/rtld.c (dl_main): Relocate objects in dependency order.
12346 2011-08-29 Jiri Olsa <jolsa@redhat.com>
12348 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
12351 2011-08-24 David S. Miller <davem@davemloft.net>
12353 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
12355 2011-08-24 Andreas Schwab <schwab@redhat.com>
12357 * elf/Makefile: Add rules to build and run unload8 test.
12358 * elf/unload8.c: New file.
12359 * elf/unload8mod1.c: New file.
12360 * elf/unload8mod1x.c: New file.
12361 * elf/unload8mod2.c: New file.
12362 * elf/unload8mod3.c: New file.
12364 * elf/dl-close.c (_dl_close_worker): Reset private search list if
12367 2011-08-23 David S. Miller <davem@davemloft.net>
12369 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
12370 subtract stack bias.
12371 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
12372 %sp not %fp in calculations.
12373 (_JMPBUF_UNWINDS_ADJ): Likewise.
12375 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
12376 (aio_suspend): Call it to force an exception region around the
12377 AIO_MISC_WAIT() invocation.
12379 2011-08-23 Andreas Schwab <schwab@redhat.com>
12381 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
12384 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
12386 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
12388 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
12389 and <dl-machine.h>.
12390 (Elf64_FuncDesc): Remove.
12392 2011-08-22 David S. Miller <davem@davemloft.net>
12394 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
12395 sigaltstack check, add missing cfi directives.
12396 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
12397 missing cfi directives, and sigaltstack handling.
12399 2011-08-16 Andreas Schwab <schwab@redhat.com>
12402 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
12403 object is seen twice.
12404 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12406 * elf/Makefile (distribute): Add tst-initorder2.c.
12407 (tests): Add tst-initorder2.
12408 (modules-names): Add tst-initorder2a tst-initorder2b
12409 tst-initorder2c tst-initorder2d. Add rules to build them.
12410 ($(objpfx)tst-initorder2.out): New rule.
12411 * elf/tst-initorder2.c: New file.
12412 * elf/tst-initorder2.exp: New file.
12414 2011-08-22 Andreas Schwab <schwab@redhat.com>
12416 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
12418 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
12419 dependencies back to end of function.
12421 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
12422 $(elfobjdir)/ld.so.
12424 2011-08-21 Ulrich Drepper <drepper@gmail.com>
12426 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
12427 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
12428 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
12429 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
12430 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
12431 of __vdso_gettimeofday.
12432 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
12433 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
12435 (_libc_vdso_platform_setup): Remove initialization of
12436 __vdso_gettimeofday and __vdso_time.
12438 2011-08-20 Ulrich Drepper <drepper@gmail.com>
12440 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
12441 and fgetc_unlocked.
12442 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
12445 * elf/dl-open.c (add_to_global): Report additions to the global scope
12446 for LD_DEBUG=scopes.
12447 (dl_open_worker): Also print scope of newly loaded dependencies.
12448 (_dl_show_scope): Indicate if there is no scope.
12451 * stdio-common/Makefile (tests): Add bug24.
12452 * stdio-common/bug24.c: New file.
12454 2011-08-19 Andreas Jaeger <aj@suse.de>
12457 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
12458 non-existant file when using close-on-exec mode.
12460 2011-08-20 Ulrich Drepper <drepper@gmail.com>
12462 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
12463 the very first instruction.
12465 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
12466 the CFI state in the end.
12467 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
12468 inclusion of dl-trampoline.h.
12469 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
12471 2011-08-19 Andreas Schwab <schwab@redhat.com>
12473 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
12474 expectations for long double.
12476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
12477 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
12479 2011-08-14 David S. Miller <davem@davemloft.net>
12481 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
12482 artificual limit depends upon the system page size.
12484 2011-08-17 Ulrich Drepper <drepper@gmail.com>
12486 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
12487 * resolv/Makefile: Define CFLAGS-libresolv.
12489 2011-08-17 Andreas Schwab <schwab@redhat.com>
12491 * nss/makedb.c (compute_tables): Make variables used in nested
12494 2011-08-17 Ulrich Drepper <drepper@gmail.com>
12496 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
12497 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
12498 if buffer was too small.
12500 * elf/pldd.c (main): Attach to all threads in the process.
12501 Rewrite /proc handling to use *at functions.
12503 2011-08-16 Ulrich Drepper <drepper@gmail.com>
12505 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
12506 specifies first scope to show.
12507 (dl_open_worker): Update callers. Move printing scope of new
12508 object to before the relocation.
12509 * elf/rtld.c (dl_main): Update _dl_show_scope call.
12510 * sysdeps/generic/ldsodefs.h: Update declaration.
12512 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
12513 string for the scope number.
12515 2011-08-14 Ulrich Drepper <drepper@gmail.com>
12517 * nscd/servicescache.c (cache_addserv): Make sure written is always
12520 2011-08-14 Roland McGrath <roland@hack.frob.com>
12522 * sysdeps/i386/i486/bits/atomic.h
12523 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
12524 statement expression, so as to suppress "set but not used" warning.
12525 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
12527 * string/strncat.c (STRNCAT): Use prototype definition.
12529 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
12530 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
12532 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
12533 (localedef-modules): Add localedef.
12534 (locale-modules): Add locale.
12536 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
12537 * elf/rtld.c (dl_main): Invert order of assignment in last change,
12538 to avoid a warning.
12540 2011-08-14 David S. Miller <davem@davemloft.net>
12542 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
12543 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
12545 2011-08-13 Ulrich Drepper <drepper@gmail.com>
12547 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
12548 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
12549 * elf/rtld.c (dl_main): Set l_name of vDSO.
12550 Call _dl_show_scope when DL_DEBUG_SCOPES.
12551 (process_dl_debug): Recognize scopes flag and also set it for all.
12552 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
12553 Declare _dl_show_scope.
12555 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
12556 (do_dlopen): Pass caller_dlopen to dl_open.
12557 (__libc_dlopen_mode): Initialize caller_dlopen.
12559 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
12560 of libc. Make tolower call locale-independent. Optimize a bit by
12561 using isdigit instead of isalnum.
12562 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
12564 2011-08-12 Ulrich Drepper <drepper@gmail.com>
12566 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
12567 was a dependency or dynamically loaded.
12569 2011-08-11 Ulrich Drepper <drepper@gmail.com>
12571 * intl/l10nflist.c: Allow architecture-specific pop function.
12572 * sysdeps/x86_64/l10nflist.c: New file.
12574 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
12577 2011-08-10 Andreas Schwab <schwab@redhat.com>
12579 * include/dirent.h: Add libc_hidden_proto for scandirat and
12580 scandirat64. Don't declare __scandirat64.
12581 * dirent/scandirat.c: Add libc_hidden_def.
12582 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
12583 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
12585 2011-08-10 David S. Miller <davem@davemloft.net>
12587 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
12589 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12590 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12591 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12593 2011-08-09 Ulrich Drepper <drepper@gmail.com>
12595 * Versions.def [libc]: Add GLIBC_2.15.
12596 * dirent/Makefile (routines): Add scandirat and scandirat64.
12597 * dirent/Versions [libc]: Export scandirat and scandirat64 for
12599 * dirent/dirent.h: Declare scandirat and scandirat64.
12600 * dirent/scandirat.c: New file.
12601 * dirent/scandirat64.c: New file.
12602 * sysdeps/wordsize-64/scandirat.c: New file.
12603 * sysdeps/wordsize-64/scandirat64.c: New file.
12604 * dirent/opendir.c: Define opendirat.
12605 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
12607 * dirent/scandir64.c: Adjust for scandir.c change.
12608 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
12609 __scandirat64, and __scandir_cancel_handler.
12610 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
12611 additional parameter and use openat instead of open (outside of ld.so).
12612 Add new __opendir as wrapper around __opendirat.
12613 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
12614 here without requiring old scandirat implementation.
12616 2011-08-08 Ulrich Drepper <drepper@gmail.com>
12618 * dirent/scandir.c (cancel_handler): Renamed to
12619 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
12620 defined. Adjust users.
12621 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
12622 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
12624 2011-08-04 Ulrich Drepper <drepper@gmail.com>
12626 * string/test-string.h (IMPL): Use __STRING to expand name and then
12629 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
12632 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12634 * string/Makefile: Update.
12635 (strop-tests): Append strncat.
12636 * string/test-wcscmp.c: New file.
12637 New comprehensive test for wcscmp.
12638 * string/test-strcmp.c: Update.
12639 (WIDE): New define.
12641 2011-07-22 Andreas Schwab <schwab@redhat.com>
12643 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
12646 2011-07-26 Andreas Schwab <schwab@redhat.com>
12648 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12649 encoding to ACE if AI_IDN.
12651 2011-08-01 Jakub Jelinek <jakub@redhat.com>
12653 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
12654 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
12656 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12658 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
12659 Fix overflow bug in strncat.
12660 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
12662 * string/test-strncat.c: Update.
12663 Add new tests for checking overflow bugs.
12665 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12667 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12668 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
12669 * sysdeps/i386/i686/multiarch/strcat.S: New file.
12670 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
12671 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
12672 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
12673 * sysdeps/i386/i686/multiarch/strncat.S: New file.
12674 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
12675 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
12677 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
12678 (USE_AS_STRCAT): Define.
12679 Add strcat and strncat support.
12680 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12682 2011-07-25 Andreas Schwab <schwab@redhat.com>
12684 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
12685 __n bigger than INT_MAX+1.
12686 (__strncmp_g): Likewise.
12688 2011-07-23 Ulrich Drepper <drepper@gmail.com>
12690 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
12691 * libio/stido.h: Likewise.
12693 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
12695 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
12698 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
12699 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12700 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12701 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
12702 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12705 * scripts/test-installation.pl: Don't expect libnss_test1 to be
12708 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
12710 (_dl_x86_64_save_sse): Likewise.
12712 2011-07-22 Ulrich Drepper <drepper@gmail.com>
12714 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
12716 (_dl_x86_64_save_sse): Likewise.
12718 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
12720 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
12722 2011-07-21 Andreas Schwab <schwab@redhat.com>
12724 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
12726 (_dl_x86_64_save_sse): Use correct AVX check.
12728 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12730 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
12731 bug in strncpy/strncat.
12732 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
12734 2011-07-21 Ulrich Drepper <drepper@gmail.com>
12736 * string/tester.c (test_strcat): Add tests for different alignments
12737 of source and destination.
12738 (test_strncat): Likewise.
12740 2011-07-20 Ulrich Drepper <drepper@gmail.com>
12743 * posix/glob.c (glob): Check passed in values before using them in
12744 expressions to avoid some overflows.
12745 (glob_in_dir): Likewise.
12748 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
12749 check for AVX enablement so that we don't crash with old kernels and
12751 * elf/tst-audit4.c: Add same checks here.
12752 * elf/tst-audit6.c: Likewise.
12754 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
12756 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
12758 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
12760 2011-07-20 Ulrich Drepper <drepper@gmail.com>
12762 * po/cs.po: Update from translation team.
12763 * po/bg.po: Likewise.
12765 2011-07-12 Marek Polacek <mpolacek@redhat.com>
12767 * misc/sys/cdefs.h: Add support for const attribute.
12768 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
12769 to gnu_dev_{major,minor,makedev} functions.
12771 2011-07-20 Marek Polacek <mpolacek@redhat.com>
12773 * intl/dcigettext.c (get_output_charset): Add missing bracket.
12775 2011-07-20 Andreas Schwab <schwab@redhat.com>
12777 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
12780 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12782 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
12783 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
12784 register in order to avoid conflicts with the soft frame pointer
12785 being held in r11 when necessary.
12786 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
12787 (INTERNAL_VSYSCALL_NCS): Likewise.
12789 2011-07-14 Marek Polacek <mpolacek@redhat.com>
12791 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
12792 * elf/dl-fini.c (_dl_fini): Adjust caller.
12793 * elf/dl-close.c (_dl_close_worker): Likewise.
12794 * sysdeps/generic/ldsodefs.h: Adjust declaration.
12796 2011-07-15 Marek Polacek <mpolacek@redhat.com>
12798 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
12799 "aux_cache->nlibs < 0".
12801 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
12802 in the reload-count case.
12804 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12806 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12807 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
12808 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
12809 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
12810 * sysdeps/x86_64/multiarch/strcat.S: New file.
12811 * sysdeps/x86_64/multiarch/strncat.S: New file.
12812 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
12813 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
12814 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
12815 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
12816 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
12817 (USE_AS_STRCAT): Define.
12818 Add strcat and strncat support.
12819 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12820 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12821 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
12822 * string/strncat.c: Update.
12823 (USE_AS_STRNCAT): Define.
12824 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12825 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
12827 * sysdeps/x86_64/multiarch/init-arch.h
12828 (bit_Prefer_PMINUB_for_stringop): New.
12829 (index_Prefer_PMINUB_for_stringop): Likewise.
12830 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
12831 bit_Prefer_PMINUB_for_stringop.
12833 2011-07-19 Ulrich Drepper <drepper@gmail.com>
12835 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
12837 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
12838 of casting of buffer.
12839 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
12840 buffer32 and buffer64.
12841 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
12842 writes instead of casting of buffer.
12843 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
12845 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
12848 2011-07-19 Andreas Schwab <schwab@redhat.com>
12850 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
12852 2011-07-19 Ulrich Drepper <drepper@gmail.com>
12854 * nscd/nscd.c (termination_handler): Don't do anything for a database
12855 if it has not yet been initialized.
12857 2011-07-18 Ulrich Drepper <drepper@gmail.com>
12859 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
12861 2011-07-15 Marek Polacek <mpolacek@redhat.com>
12863 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
12865 2011-07-18 Ulrich Drepper <drepper@gmail.com>
12867 * po/nl.po: Update from translation team.
12868 * po/sv.po: Likewise.
12870 2011-07-16 Roland McGrath <roland@hack.frob.com>
12872 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
12873 now disallowed by GCC.
12875 * configure.in (use-default-link): Default to yes if a test -shared
12876 link meets our qualifications.
12877 * configure: Regenerated.
12879 * config.make.in (output-format): New variable.
12880 * configure.in: Check for ld --print-output-format support.
12881 * configure: Regenerated.
12882 * Makerules ($(common-objpfx)format.lds)
12883 [$(output-format) != unknown]: Just use $(output-format),
12884 instead of the linker-script munging.
12886 2011-07-14 Roland McGrath <roland@hack.frob.com>
12888 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
12889 of $(common-objpfx)shlib.lds.
12890 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
12892 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
12893 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
12895 * configure.in (-z relro check): Adjust test code to add a large
12896 writable data section after it.
12897 * configure: Regenerated.
12899 2011-07-11 Roland McGrath <roland@hack.frob.com>
12901 * configure.in (-z relro check): Fix test code to make the variable
12903 * configure: Regenerated.
12905 2011-07-11 Ulrich Drepper <drepper@gmail.com>
12907 * nscd/nscd.h (struct traced_file): Define.
12908 (struct database_dyn): Remove inotify_descr, reset_res, and filename
12909 elements. Add traced_files.
12910 (inotify_fd): Declare.
12911 (register_traced_file): Declare.
12912 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
12913 (inotify_fd): Export.
12914 (resolv_conf_descr): Remove.
12915 (nscd_init): Move inotify descriptor creation to main.
12916 Don't register files for notification here.
12917 (register_traced_file): New function.
12918 (invalidate_cache): Don't use reset_res to determine whether to call
12919 res_init, go through the list of registered files.
12920 (main_loop_poll): The inotify descriptors are now stored in the
12921 structures for the traced files.
12922 (main_loop_epoll): Likewise
12923 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
12924 to __nss_disable_nscd.
12925 * nscd/cache.c (prune_cache): There is no single inotify descriptor
12926 for a database anymore. Check the records for all the registered
12928 * nss/Makefile (libnss_files-routines): Add files-init.
12929 (libnss_db-routines): Add db-init.
12930 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
12931 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
12932 * nss/nss_db/db-init.c: New file.
12933 * nss/nss_files/files-init.c: New file.
12934 * nss/nsswitch.c (nss_load_library): New function. Broken out of
12935 __nss_lookup_function.
12936 (__nss_lookup_function): Call nss_load_library.
12937 (nss_load_all_libraries): New function.
12938 (__nss_disable_nscd): Take parameter with callback function for files
12939 to register. Set is_nscd. Load all the DSOs for the NSS modules
12940 used for the cached services.
12941 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
12942 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
12943 options for features to all the files in nscd.
12945 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
12947 2011-07-10 Roland McGrath <roland@hack.frob.com>
12949 * csu/elf-init.c (__libc_csu_init): Comment typo.
12951 2011-07-09 Ulrich Drepper <drepper@gmail.com>
12953 * po/pl.po: Update from translation team.
12954 * po/ja.po: Likewise.
12955 * po/ru.po: Likewise.
12956 * po/ko.po: Likewise.
12957 * po/fr.po: Likewise.
12959 2011-07-09 Roland McGrath <roland@hack.frob.com>
12961 * configure.in (.ctors/.dtors header and trailer check):
12962 Use an empirical test on a built program.
12963 * configure: Regenerated.
12965 * configure.in (-z relro check): Use an empirical test on a built DSO.
12966 Detect, but do not require, on ia64.
12967 * configure: Regenerated.
12969 * configure.in (READELF): Find it with AC_CHECK_TOOL.
12970 Update tests that use readelf to use $READELF instead.
12971 * configure: Regenerated.
12973 2011-07-08 Ulrich Drepper <drepper@gmail.com>
12975 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
12976 if the result is not used.
12978 2011-07-05 Andreas Jaeger <aj@suse.de>
12981 * stdlib/tst-strtod.c: Add testcase.
12983 2011-07-07 Ulrich Drepper <drepper@gmail.com>
12985 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
12986 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
12987 The latter has a higher limit. Take additional parameter to pass to
12989 (__pathconf): Pass file to __statfs_link_max.
12990 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
12992 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
12996 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
12997 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12999 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
13000 (__statfs_filesize_max): Likewise.
13001 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
13003 2011-07-05 Andreas Jaeger <aj@suse.de>
13005 * resolv/res_comp.c (dn_skipname): Remove unused variable.
13007 2011-07-06 Marek Polacek <mpolacek@redhat.com>
13009 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
13011 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
13014 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
13016 * Makefile (strop-tests): Add strncat.
13017 * string/test-strncat.c: New file.
13019 2011-06-30 Marek Polacek <mpolacek@redhat.com>
13021 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
13023 2011-06-21 Andreas Jaeger <aj@suse.de>
13025 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
13026 Copy rule from iconvdata/Makefile.
13028 2011-07-06 Ulrich Drepper <drepper@gmail.com>
13031 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
13032 but no long options are defined, just return 'W'.
13034 2011-06-22 Marek Polacek <mpolacek@redhat.com>
13037 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
13039 2011-07-06 Ulrich Drepper <drepper@gmail.com>
13041 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
13043 (innetgr): Likewise.
13045 2011-07-05 Roland McGrath <roland@hack.frob.com>
13047 * config.make.in (install_root): Default to $(DESTDIR).
13049 2011-07-05 Ulrich Drepper <drepper@gmail.com>
13051 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
13053 2011-07-02 Roland McGrath <roland@hack.frob.com>
13055 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
13057 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
13058 containing directory rather than embedding absolute directory names.
13060 * scripts/check-local-headers.sh: Rewritten using awk.
13061 Match by word, not by line. Print error messages for matches.
13062 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
13064 * Makerules [shlib-lds-flags empty]:
13065 ($(common-objpfx)libc_pic.opts): New target.
13066 ($(common-objpfx)libc_pic.os.clean): New target.
13067 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
13069 * config.make.in (OBJCOPY): New variable.
13070 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
13071 * configure: Regenerated.
13073 * config.make.in (use-default-link): New variable.
13074 * configure.in (use_default_link): Grok --with-default-link to set it.
13075 * configure: Regenerated.
13076 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
13077 (shlib-lds, shlib-lds-flags): Define to empty.
13079 * Makerules (shlib-lds): New variable.
13080 (shlib-lds-flags): New variable.
13081 (build-shlib, build-moduile, build-module-asneeded): Use it.
13082 ($(common-objpfx)libc.so): Use $(shlib-lds).
13083 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
13084 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
13086 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
13087 DT_FLAGS/DT_FLAGS_1 with zero flags.
13089 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
13090 linker script munging.
13092 2011-07-02 Ulrich Drepper <drepper@gmail.com>
13094 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
13096 * crypt/sha512.c (sha512_process_block): Perform total addition using
13097 128-bit if possible.
13098 (__sha512_finish_ctx): Likewise.
13099 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
13101 * crypt/sha256.c (SWAP64): Define.
13102 (sha256_process_block): Perform total addition using 64-bit if
13104 (__sha256_finish_ctx): Likewise.
13106 2011-07-01 Ulrich Drepper <drepper@gmail.com>
13108 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
13109 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13110 * nscd/hstcache.c (cache_addhst): Likewise.
13111 * nscd/grpcache.c (cache_addgr): Likewise.
13112 * nscd/aicache.c (addhstaiX): Likewise
13113 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
13115 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
13117 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
13118 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13119 * nscd/hstcache.c (cache_addhst): Likewise.
13120 * nscd/grpcache.c (cache_addgr): Likewise.
13121 * nscd/aicache.c (addhstaiX): Likewise
13123 2011-07-01 Andreas Schwab <schwab@redhat.com>
13125 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
13126 domain only when needed.
13128 2011-06-30 Andreas Schwab <schwab@redhat.com>
13130 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
13131 is always restored.
13133 2011-06-29 Ulrich Drepper <drepper@gmail.com>
13135 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
13136 are re-adding the entry.
13137 * nscd/servicescache.c (cache_addserv): Likewise.
13139 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
13141 * sysdeps/generic/dl-irel.h: fix protection against multiple
13143 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
13145 2011-06-28 Ulrich Drepper <drepper@gmail.com>
13148 * malloc/memusage.sh: Fix quoting in message.
13149 * debug/xtrace.sh: Likewise.
13151 * configure.in: Remove support for --experimental-malloc option, make
13153 * config.make.in: Likewise.
13154 * malloc/Makefile: Likewise.
13156 2011-06-27 Andreas Schwab <schwab@redhat.com>
13158 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
13159 two-byte characters.
13161 2011-06-27 Roland McGrath <roland@hack.frob.com>
13163 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
13164 AC_CACHE_CHECK invocation.
13165 * configure: Regenerated.
13167 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
13169 2011-06-27 Ulrich Drepper <drepper@gmail.com>
13172 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
13173 bit from old_res_options.
13175 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
13177 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
13178 value type for setfct.
13180 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
13182 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13183 __gettimeofday instead of gettimeofday.
13185 2011-06-26 Ulrich Drepper <drepper@gmail.com>
13187 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
13189 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
13191 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
13193 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
13196 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13198 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13199 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13200 strcpy-sse2-unaligned strncpy-sse2-unaligned
13201 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
13202 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
13203 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
13204 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
13205 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
13206 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
13207 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
13208 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
13209 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
13210 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
13211 (STRCPY): Support SSE2 and SSSE3 versions.
13213 2011-06-24 Ulrich Drepper <drepper@gmail.com>
13216 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
13217 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
13218 kernels which artificially limit size of requests.
13220 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13222 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13223 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13224 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
13225 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
13226 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
13227 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
13228 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
13229 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
13230 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
13231 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
13232 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
13233 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
13234 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
13235 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
13236 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
13237 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13238 Enable unaligned load optimization for Intel Core i3, i5 and i7
13240 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
13242 (index_Fast_Unaligned_Load): Define.
13243 (HAS_FAST_UNALIGNED_LOAD): Define.
13245 2011-06-23 Marek Polacek <mpolacek@redhat.com>
13247 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
13249 2011-06-22 Ulrich Drepper <drepper@gmail.com>
13252 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
13253 until it is clear that the information is realy needed.
13254 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
13256 2011-06-22 Andreas Schwab <schwab@redhat.com>
13258 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
13260 2011-06-22 Ulrich Drepper <drepper@gmail.com>
13262 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13263 /sys/devices/system/cpu/online if it is usable.
13265 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
13266 reading the information from the /proc filesystem to once a second.
13268 2011-06-21 Andreas Jaeger <aj@suse.de>
13270 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
13271 NULL after inclusion of kernel headers.
13273 2011-06-21 Ulrich Drepper <drepper@gmail.com>
13275 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
13276 calls to internal_setent.
13279 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
13280 addresses using gethostbyname4_r ignore IPv4 addresses.
13282 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
13283 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
13285 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
13287 2011-06-20 David S. Miller <davem@davemloft.net>
13289 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
13291 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
13293 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
13294 (elf_irel): Use it.
13295 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
13296 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
13297 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
13298 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
13299 * sysdeps/x86_64/dl-irel.h: Likewise.
13301 * elf/dl-runtime.c: Use elf_ifunc_invoke.
13302 * elf/dl-sym.c: Likewise.
13304 2011-06-15 Ulrich Drepper <drepper@gmail.com>
13306 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
13307 need to dereference resplen2.
13309 2011-06-14 Andreas Schwab <schwab@redhat.com>
13311 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
13313 2011-06-15 Ulrich Drepper <drepper@gmail.com>
13315 * Makeconfig: Define vardbdir and inst_vardbdir.
13316 * nss/Makefile: Add rules to install db-Makefile.
13318 * nss/nss_db/db-XXX.c: Cleanup.
13320 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
13321 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
13323 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
13324 * nss/makedb.c: Implement -g option to specify that value strings
13325 are generated and should not be added to table iterated over for
13327 * nss/nss_db/db-initgroups.c: New file.
13329 * nss/getent.c: Add support for initgroups lookups through getgrouplist
13332 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
13333 (internal_getgrouplist): Adjust to name change.
13334 Update use_initgroups_entry if this is not the first call.
13335 * nss/databases.def: Add initgroups entry.
13337 * nss/makedb.c (compute_tables): Check result of multiple hash table
13338 sizes to minimize maximum chain length.
13340 2011-06-14 Ulrich Drepper <drepper@gmail.com>
13342 * Versions.def: Add entry for libnss_db.
13343 * shlib-versions: Likewise.
13344 * nss/Makefile: Add rules to build libnss_db.
13345 * nss/Versions: Add libnss_db information. Organize libnss_files
13347 * nss/db-Makefile: Add gshadow support. Change rules for the new
13348 makedb progra. Some minor improvements to generate smaller files.
13349 * nss/nss_db/nss_db.h: Move NSS database header data structures to
13351 * nss/makedb.c: ...here.
13352 Improve database format to be smaller and require less memory at
13354 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
13356 * nss/nss_db/db-netgrp.c: Likewise.
13357 * nss/nss_db/db-open.c: Likewise.
13358 * nss/nss_files/flies-XXX.x: Adjust comments.
13359 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
13360 * nss/nss_files/files-grp.c: Likewise.
13361 * nss/nss_files/files-hosts.c: Likewise.
13362 * nss/nss_files/files-network.c: Likewise.
13363 * nss/nss_files/files-proto.c: Likewise.
13364 * nss/nss_files/files-pwd.c: Likewise.
13365 * nss/nss_files/files-rpc.c: Likewise.
13366 * nss/nss_files/files-service.c: Likewise.
13367 * nss/nss_files/files-sgrp.c: Likewise.
13368 * nss/nss_files/files-spwd.c: Likewise.
13369 * nss/nss_db/db-alias.c: Removed.
13370 * nss/nss_db/dummy-db.h: Removed.
13372 2011-06-02 Ulrich Drepper <drepper@gmail.com>
13374 * nss/makedb.c: Rewritten to not use database library.
13375 * nss/Makefile: Update to build new makedb program.
13377 2011-06-14 Andreas Jaeger <aj@suse.de>
13379 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
13380 memset declaration.
13382 2011-06-10 Andreas Schwab <schwab@redhat.com>
13384 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
13387 2011-06-10 Roland McGrath <roland@hack.frob.com>
13389 * Makerules (shlib.lds): Fail if the linker script comes out empty.
13390 * elf/Makefile ($(objpfx)ld.so): Likewise.
13392 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
13393 Don't list ld.so twice in dependencies.
13395 * posix/bug-regex31.c: Include <stdlib.h>.
13397 * nscd/hstcache.c (cache_addhst): Remove unused variable.
13399 * nis/nss_compat/compat-spwd.c
13400 (getspent_next_nss_netgr): Remove unused variable.
13401 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
13403 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
13404 nonmembers" output to use the right array.
13406 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
13408 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
13410 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
13411 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
13412 * catgets/gencat.c (read_input_file): Likewise.
13413 * locale/programs/locarchive.c (enlarge_archive): Likewise.
13415 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
13416 variable definition inside #if's controlling its use.
13418 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
13420 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
13422 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
13424 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
13427 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
13429 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
13430 * configure: Regenerated.
13432 * Makerules: Revert last change.
13433 * elf/Makefile: Likewise.
13435 2011-06-09 Roland McGrath <roland@hack.frob.com>
13437 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
13438 * elf/Makefile ($(objpfx)librtld.os): Likewise.
13439 (reloc-link): Likewise.
13441 2011-06-09 Ulrich Drepper <drepper@gmail.com>
13443 * elf/Makefile: Add rules to build pldd.
13444 * elf/pldd.c: New file.
13445 * elf/pldd-xx.c: New file.
13447 2011-06-07 Ulrich Drepper <drepper@gmail.com>
13449 * version.h: Update for 2.15 development version.
13451 2011-06-07 David S. Miller <davem@davemloft.net>
13453 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
13455 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
13456 elf_machine_lazy_rel): Likewise.
13457 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
13458 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
13459 elf_machine_lazy_rel): Likewise.
13460 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
13461 dl_hwcap via passed in argument.
13462 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
13465 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13467 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
13469 2011-06-06 Roland McGrath <roland@hack.frob.com>
13472 * manual/fdl-1.1.texi: New file, verbatim from:
13473 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
13474 * manual/lgpl-2.1.texi: New file, verbatim from:
13475 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
13476 * manual/Makefile (licenses): New variable, list those new file names.
13478 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
13480 * manual/fdl.texi: File removed.
13481 * manual/lesser.texi: File removed.
13482 * manual/libc.texinfo (Copying, Documentation License):
13483 Use new @include file names, put @appendix directive before @include.
13485 2011-06-04 Jakub Jelinek <jakub@redhat.com>
13488 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
13489 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
13490 (mq_open): Add __NTH.
13492 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
13494 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13495 Assume Intel Core i3/i5/i7 processor if AVX is available.
13497 2011-05-31 Ulrich Drepper <drepper@gmail.com>
13499 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13502 2011-05-31 Andreas Schwab <schwab@redhat.com>
13504 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
13505 memory. Use alloca_account. Fix memory leak when retrying.
13507 2011-05-31 Ulrich Drepper <drepper@gmail.com>
13509 * version.h (RELEASE): Bump for 2.14 release.
13510 * include/features.h (__GLIBC_MINOR__): Bump to 14.
13512 * config.make.in (RANLIB): Remove entry.
13514 2011-05-30 Ulrich Drepper <drepper@gmail.com>
13516 * po/Makefile (po-sed-cmd): Add ksh to extensions.
13517 (libc.pot): Work around missing support for .ksh extension in xgettext.
13520 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
13521 if both request failed.
13522 (send_dg): In case of server errors clear resplen or *resplen2.
13525 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
13526 when there are multiple maps.
13527 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
13528 (_dl_fini): Remove test here.
13530 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
13532 2011-05-29 Ulrich Drepper <drepper@gmail.com>
13535 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
13536 bit from old_res_options.
13537 (gaih_inet): Likewise.
13540 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
13543 * resolv/res_init.c (res_setoptions): Make the code more compact.
13546 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
13550 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
13552 * malloc/malloc.h: Mark malloc hook variables as deprecated.
13555 * malloc/malloc.h: Declare malloc hook variables as volatile.
13557 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
13561 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
13562 raise in the comment.
13563 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
13564 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13565 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
13567 2011-05-28 Ulrich Drepper <drepper@gmail.com>
13570 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
13571 grow the buffers more if it already has to be sufficient.
13572 (build_wcs_upper_buffer): Likewise.
13573 * posix/regexec.c (check_matching): Likewise.
13574 (clean_state_log_if_needed): Likewise.
13575 (extend_buffers): Don't enlarge buffers beyond size of the input
13577 Patches mostly by Emil Wojak <emil@wojak.eu>.
13578 * posix/bug-regex32.c: New file.
13579 * posix/Makefile (tests): Add bug-regex32.
13581 * locale/findlocale.c (_nl_find_locale): Return right away if
13582 _nl_explode_name failed.
13583 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
13585 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
13587 * debug/xtrace.sh: Unify messages.
13588 * malloc/memusage.sh: Likewise.
13591 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
13592 time symbol from vDSO. Substitute with vsyscall if not available.
13593 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
13596 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
13597 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
13598 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
13599 Add sendmmsg and internal_sendmmsg.
13600 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
13601 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
13602 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
13604 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
13605 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
13606 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
13608 2011-05-27 Ulrich Drepper <drepper@gmail.com>
13611 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
13612 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
13614 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
13618 * iconvdata/Makefile (tests): Add bug-iconv9.
13619 * iconvdata/bug-iconv9.c: New file.
13621 2011-05-27 Andreas Schwab <schwab@redhat.com>
13624 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
13626 2011-05-25 Jakub Jelinek <jakub@redhat.com>
13628 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13629 (struct user_regs_struct): Change intcs field back to cs.
13631 2011-05-25 Ulrich Drepper <drepper@gmail.com>
13633 * po/ja.po: Update from translation team.
13635 2011-05-23 Ulrich Drepper <drepper@gmail.com>
13638 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
13639 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
13641 2011-05-20 Andreas Schwab <schwab@redhat.com>
13643 * stdlib/longlong.h: Update from GCC.
13645 2011-05-23 Andreas Schwab <schwab@redhat.com>
13647 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
13649 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
13650 Add parameter name.
13651 (__sysconf): Pass it down.
13653 2011-05-22 Ulrich Drepper <drepper@gmail.com>
13656 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
13658 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
13659 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
13660 add in in __libc_use_alloca calls. Adjust callers.
13661 (glob): Use malloc in some situations.
13663 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
13664 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
13667 2011-05-21 Ulrich Drepper <drepper@gmail.com>
13669 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
13670 and CLOCK_BOOTTIME_ALARM.
13673 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
13676 * string/_strerror.c (__strerror_r): Print negative errors as signed
13680 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
13681 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
13682 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
13684 * configure.in: Fix typo in redirection and correct removal of test
13685 files in two cases.
13688 * locale/setlocale.c (new_composite_name): Fix test to check for
13689 identical name of all categories.
13692 * libio/filedoalloc.c (local_isatty): New function.
13693 (_IO_file_doallocate): Use local_isatty.
13694 * stdio-common/perror.c (perror): In case a new stream is used
13695 forward the stream error.
13696 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
13699 2011-05-20 Ulrich Drepper <drepper@gmail.com>
13702 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
13704 * include/alloca.h (extend_alloca_account): Define.
13707 * posix/regex.h: Fix comments with documentation of user-accessible
13708 fields after compilation and describe correct free'ing of pattern
13709 after re_compile_pattern.
13710 Patch by Reuben Thomas <rrt@sc3d.org>.
13712 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
13714 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
13715 and -mno-altivec to prevent the compiler from using Altivec and/or
13716 VSX instructions when the corresponding registers are not available.
13718 2011-05-19 Andreas Schwab <schwab@redhat.com>
13720 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
13722 2011-05-19 Ulrich Drepper <drepper@gmail.com>
13724 * libio/freopen.c (freopen): Use __dup2, not dup2.
13725 * libio/freopen64.c (freopen64): Likewise.
13727 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
13730 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
13731 * math/Makefile (tests): Add test-powl.
13732 (CFLAGS-test-powl.c): Define.
13733 * math/test-powl.c: New file.
13735 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
13737 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
13739 2011-05-17 Ulrich Drepper <drepper@gmail.com>
13742 * iconvdata/gb18030.c: Update to GB18020-2005.
13744 2011-05-16 Ulrich Drepper <drepper@gmail.com>
13746 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
13747 RE_SYNTAX_POSIX_AWK): Update to match recent development.
13748 Patch by Aharon Robbins <arnold@skeeve.com>.
13751 * stdlib/putenv.c (putenv): Don't always create copy of the variable
13755 * misc/pselect.c (__pselect): Handle timeout value errors hidden
13756 through underflows.
13759 * misc/error.c (error_at_line): Ensure file_name and old_file_name
13760 point to strings before performing equality test for error_one_per_line
13764 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
13767 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13768 (struct user_fpregs_struct): Avoid __uint*_t types.
13771 * malloc/mtrace.c (tr_where): Add additional parameter to point to
13772 symbol info. Use it instead of calling _dl_addr locally.
13773 (lock_and_info): New function.
13774 (tr_freehook): Call lock_and_info and pass symbol info as additional
13775 parameter to tr_where.
13776 (tr_mallochook): Likewise.
13777 (tr_reallochook): Likewise.
13778 (tr_memalignhook): Likewise.
13780 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
13781 used and couldn't be at all thread-safe.
13783 2011-05-15 Ulrich Drepper <drepper@gmail.com>
13785 * libio/freopen.c (freopen): Don't close old file descriptor
13786 before the new one is opened. Instead dup the new file descriptor
13787 to the old one after the new stream is created.
13788 * libio/freopen64.c (freopen64): Likewise.
13789 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
13790 * libio/fileops.c (_IO_new_file_close_it): Handle new
13791 _IO_FLAGS2_NOCLOSE flag.
13792 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
13793 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
13794 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
13795 _IO_FLAGS2_NOCLOSE flag.
13796 * include/unistd.h: Add hidden_proto for dup3.
13797 Define __have_dup3.
13798 * io/dup3.c: Define hidden symbol.
13799 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
13802 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
13803 when an incomplete long option is used.
13804 * posix/tst-getopt_long1.c: New file.
13805 * posix/Makefile (tests): Add tst-getopt_long1.
13808 * scripts/config.guess: Update from autoconf-2.68.
13809 * scripts/config.sub: Likewise.
13812 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
13814 (has_cpuclock): ...this. New function.
13815 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
13816 macro here based on has_cpuclock code.
13819 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13820 First byte (not low byte) is now always NUL.
13821 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
13823 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13824 Use non-cancelable interfaces.
13827 * locale/iso-639.def: Add entry for Sorani.
13830 * include/stdlib.h: Move include protection to the right place.
13831 Define abort_msg_s. Declare __abort_msg with it.
13832 * stdlib/abort.c (__abort_msg): Adjust type.
13833 * assert/assert.c (__assert_fail_base): New function. Majority
13834 of code from __assert_fail. Allocate memory for __abort_msg with
13836 (__assert_fail): Now call __assert_fail_base.
13837 * assert/assert-perr.c: Remove bulk of implementation. Use
13838 __assert_fail_base.
13839 * include/assert.hL Declare __assert_fail_base.
13840 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
13842 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
13844 2011-05-14 Ulrich Drepper <drepper@gmail.com>
13848 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
13849 until all modules are registered in the DTV.
13850 * elf/Makefile: Add rules to build and run tst-tls19.
13851 * elf/tst-tls19.c: New file.
13852 * elf/tst-tls19mod1.c: New file.
13853 * elf/tst-tls19mod2.c: New file.
13854 * elf/tst-tls19mod3.c: New file.
13855 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
13858 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
13862 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
13863 two-byte sequence errors.
13864 * iconvdata/Makefile (tests): Add bug-iconv8.
13865 * iconvdata/bug-iconv8.c: New file.
13868 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
13871 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
13874 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
13875 (dummy_getcfa): New function.
13876 (init): Get _Unwind_GetCFA address, use dummy if not found.
13877 (backtrace_helper): In recursion check, also check whether CFA changes.
13878 (__backtrace): Completely initialize arg.
13880 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
13881 storing incomplete byte sequence in state object. Avoid testing for
13882 guaranteed too small input if we know there is enough data available.
13884 2011-05-11 Andreas Schwab <schwab@redhat.com>
13886 * Makeconfig (+link-pie): Indent.
13887 * Rules (binaries-pie): Define if $(have-fpie) and
13889 (binaries-shared): Also filter out $(binaries-pie).
13890 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
13891 * nscd/Makefile (others-pie): Add nscd.
13892 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
13893 ($(objpfx)nscd): Remove command override.
13894 * login/Makefile (others-pie): Add pt_chown.
13895 ($(objpfx)pt_chown): Remove command override.
13896 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
13897 remove command overrides.
13899 2011-05-13 Ulrich Drepper <drepper@gmail.com>
13901 * libio/tst_putwc.c: Fix error messages.
13904 * libio/fileops.c (_IO_new_file_close_it): Always flush when
13905 currently writing and seek to current position when not.
13906 * libio/Makefile (tests): Add bug-fclose1.
13907 * libio/bug-fclose1.c: New file.
13909 2011-05-12 Ulrich Drepper <drepper@gmail.com>
13912 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
13913 don't set DF_1_NODELETE here.
13914 (do_lookup_x): When entering new entry test for copy relocation
13915 and if necessary set DF_1_NODELETE flag.
13916 * elf/tst-unique4.cc: New file.
13917 * elf/tst-unique4.h: New file.
13918 * elf/tst-unique4lib.cc: New file.
13919 * elf/Makefile: Add rules to build and run tst-unique4.
13920 Patch by Piotr Bury <pbury@goahead.com>.
13922 2011-05-11 Ulrich Drepper <drepper@gmail.com>
13925 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
13928 * misc/mntent_r.c (addmntent): Flush the stream after the output
13931 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
13932 (is_trusted_path_normalize): Skip initial colon. Append slash
13933 to empty buffer. Duplicate is_trusted_path code but allow
13934 constructed patch to be prefix.
13935 (is_dst): Allow $ORIGIN followed by /.
13936 (_dl_dst_substitute): Correct clearing of check_for_trusted.
13937 Correct testing of result of is_trusted_path_normalize
13938 (decompose_rpath): Fix warning.
13940 2011-05-10 Ulrich Drepper <drepper@gmail.com>
13943 * grp/initgroups.c (internal_getgrouplist): When we found the service
13944 list through the initgroups entry in nsswitch.conf do not always
13945 continue on a successful lookup. Don't always use the
13946 __nss_group_database value if it is set.
13947 * nss/nsswitch.conf (initgroups): Change action for successful db
13948 lookup to continue for compatibility.
13950 2011-05-09 Ulrich Drepper <drepper@gmail.com>
13953 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
13955 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
13957 * iconvdata/tst-tables.sh: Likewise.
13958 * iconvdata/cp770.c: New file.
13959 * iconvdata/cp771.c: New file.
13960 * iconvdata/cp772.c: New file.
13961 * iconvdata/cp773.c: New file.
13962 * iconvdata/cp774.c: New file.
13963 * iconvdata/testdata/CP770: New file.
13964 * iconvdata/testdata/CP770..UTF8: New file.
13965 * iconvdata/testdata/CP771: New file.
13966 * iconvdata/testdata/CP771..UTF8: New file.
13967 * iconvdata/testdata/CP772: New file.
13968 * iconvdata/testdata/CP772..UTF8: New file.
13969 * iconvdata/testdata/CP773: New file.
13970 * iconvdata/testdata/CP773..UTF8: New file.
13971 * iconvdata/testdata/CP774: New file.
13972 * iconvdata/testdata/CP774..UTF8: New file.
13974 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
13976 * iconvdata/gen-8bit-gap.sh: Likewise.
13977 * iconvdata/gen-8bit.sh: Likewise.
13979 * locale/iso-639.def: Add ary entry.
13982 * locale/C-translit.h.in: Add U20A1 transliteration.
13985 * locale/iso-639.def: Add wae entry.
13986 Patch by Kevin Bortis <bortis@translate-wae.ch>.
13989 * locale/programs/localedef.c (construct_output_path): Use ssize_t
13993 * locale/C-translit.h.in: Add entry for U20B9.
13994 Patch by pravin.d.s@gmail.com.
13996 2011-05-08 Ulrich Drepper <drepper@gmail.com>
13999 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
14000 ENAMETOOLONG use generic getcwd.
14001 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
14002 in rtld. Use *stat64.
14003 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
14004 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
14005 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
14006 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
14007 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
14008 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
14009 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
14010 __fstatat64 macros.
14011 * include/dirent.h: Add libc_hidden_proto for rewinddir.
14012 * dirent/rewinddir.c: Add libc_hidden_def.
14013 * sysdeps/mach/hurd/rewinddir.c: Likewise.
14014 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
14016 * include/dirent.h (__alloc_dir): Add flags parameter.
14017 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
14018 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
14020 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
14021 from fdopendir if O_CLOEXEC is already set.
14023 2011-03-15 Alan Modra <amodra@gmail.com>
14025 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
14026 l_tls_firstbyte_offset non-zero. Save padding offset in
14027 l_tls_firstbyte_offset for later use.
14028 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
14029 freeing static tls block.
14031 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
14033 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
14034 where #ifdef was intended. The intent is to prevent ARG_MAX from
14035 being defined by the kernel headers.
14037 2011-05-07 Ulrich Drepper <drepper@gmail.com>
14040 * resolv/resolv.h: Define RES_NOTLDQUERY.
14041 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
14042 no-tld-query and set RES_NOTLDQUERY.
14043 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
14044 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
14045 modern BIND to search name as TLD unless forbidden.
14047 2011-05-07 Petr Baudis <pasky@suse.cz>
14048 Ulrich Drepper <drepper@gmail.com>
14051 * elf/dl-load.c (fillin_rpath): Move trusted path check...
14052 (is_trusted_path): ...to here.
14053 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
14054 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
14055 using is_trusted_path_normalize() in setuid scripts.
14057 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14059 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
14060 __BEGIN/__END_DECLS.
14062 2011-05-06 Ulrich Drepper <drepper@gmail.com>
14064 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
14065 NSS_STATUS_NOTFOUND if no record was found.
14067 2011-05-05 Andreas Schwab <schwab@redhat.com>
14069 * sunrpc/Makefile (headers): Add rpc/netdb.h.
14070 (headers-not-in-tirpc): Remove rpc/netdb.h
14071 * resolv/netdb.h: Revert last change.
14073 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14075 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
14076 circular dependency between libgcc.a and libc.a.
14078 2011-05-05 Andreas Schwab <schwab@redhat.com>
14080 * resolv/netdb.h: Don't include <rpc/netdb.h>.
14081 * nis/Makefile: Don't install rpcsvc/*.
14082 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
14083 instead of <rpc/types.h>.
14084 (MAXHOSTNAMELEN): Define.
14086 2011-05-03 Andreas Schwab <schwab@redhat.com>
14088 * elf/ldconfig.c (add_dir): Don't crash on empty path.
14090 2011-04-28 Maciej Babinski <mbabinski@google.com>
14093 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
14094 gethostbyname4_r when IPv6 results are possible.
14096 2011-05-02 Ulrich Drepper <drepper@gmail.com>
14099 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
14100 _PC_PIPE_BUF handling.
14102 2011-04-30 Bruno Haible <bruno@clisp.org>
14105 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
14106 * resolv/netdb.h (getnameinfo): Change type of flags parameter
14108 * inet/getnameinfo.c (getnameinfo): Likewise.
14110 2011-04-29 Ulrich Drepper <drepper@gmail.com>
14112 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
14113 to groups setting in database lookup.
14114 * nss/nsswitch.conf: Add initgroups entry.
14116 2011-04-22 Ulrich Drepper <drepper@gmail.com>
14119 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
14121 Patch by Eric Blake <eblake@redhat.com>.
14123 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
14125 * sunrpc/Makefile (need-export-routines): Add svc_run.
14126 (routines): Remove svc_run.
14127 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
14128 * sunrpc/clnt_perr.c (clnt_perrno): Export.
14129 * sunrpc/svc_run.c (svc_run): Likewise.
14130 * sunrpc/svc_udp.c (svcudp_create): Likewise.
14132 2011-04-21 Ulrich Drepper <drepper@gmail.com>
14134 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
14135 problem in reallocation in last patch.
14137 2011-04-20 Ulrich Drepper <drepper@gmail.com>
14139 * sunrpc/Makefile: Move inclusion of Rules.
14141 2011-04-19 Ulrich Drepper <drepper@gmail.com>
14143 * nss/nss_files/files-initgroups.c: New file.
14144 * nss/Makefile (libnss_files-routines): Add files-initgroups.
14145 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
14146 _nss_files_initgroups_dyn.
14148 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
14150 * elf/elf.h (R_ARM_IRELATIVE): Define.
14152 2011-04-19 Ulrich Drepper <drepper@gmail.com>
14154 * po/ru.po: Update from translation team.
14156 2011-04-17 Ulrich Drepper <drepper@gmail.com>
14158 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
14161 2011-02-06 Mike Frysinger <vapier@gentoo.org>
14164 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
14165 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
14166 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
14167 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14168 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14170 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
14172 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
14174 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14175 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14176 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14178 2011-04-17 Ulrich Drepper <drepper@gmail.com>
14181 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
14183 * stdlib/bug-getcontext.c: New file.
14184 * stdlib/Makefile: Add rules to build and run bug-getcontext.
14186 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14188 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
14189 instructions into .machine "z9-109".
14190 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
14191 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
14193 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14195 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
14196 between environment variables and auxiliary vector.
14198 2011-04-16 Ulrich Drepper <drepper@gmail.com>
14200 * Makefile: Add rules to build linkobj/libc.so.
14201 * include/libc-symbols.h: Define libc_hidden_nolink.
14202 * include/rpc/auth.h: Mark functions which are to be hidden.
14203 * include/rpc/auth_des.h: Likewise.
14204 * include/rpc/auth_unix.h: Likewise.
14205 * include/rpc/clnt.h: Likewise.
14206 * include/rpc/des_crypt.h: Likewise.
14207 * include/rpc/key_prot.h: Likewise.
14208 * include/rpc/pmap_clnt.h: Likewise.
14209 * include/rpc/pmap_prot.h: Likewise.
14210 * include/rpc/pmap_rmt.h: Likewise.
14211 * include/rpc/rpc_msg.h: Likewise.
14212 * include/rpc/svc.h: Likewise.
14213 * include/rpc/svc_auth.h: Likewise.
14214 * include/rpc/xdr.h: Likewise.
14215 * nis/Makefile: Link all DSOs against linkobj/libc.so.
14216 * nss/Makefile: Likewise.
14217 * sunrpc/Makefile: Don't install headers. Build library with normal
14218 entry points. Don't build rpcinfo. Link RPC tests appropriately.
14219 * sunrpc/auth_des.c: Hide exported symbols by default, export some
14220 for the compat linking library. Remove use of INTDEF/INTUSE.
14221 * sunrpc/auth_none.c: Likewise.
14222 * sunrpc/auth_unix.c: Likewise.
14223 * sunrpc/authdes_prot.c: Likewise.
14224 * sunrpc/authuxprot.c: Likewise.
14225 * sunrpc/clnt_gen.c: Likewise.
14226 * sunrpc/clnt_perr.c: Likewise.
14227 * sunrpc/clnt_raw.c: Likewise.
14228 * sunrpc/clnt_simp.c: Likewise.
14229 * sunrpc/clnt_tcp.c: Likewise.
14230 * sunrpc/clnt_udp.c: Likewise.
14231 * sunrpc/clnt_unix.c: Likewise.
14232 * sunrpc/des_crypt.c: Likewise.
14233 * sunrpc/des_soft.c: Likewise.
14234 * sunrpc/get_myaddr.c: Likewise.
14235 * sunrpc/key_call.c: Likewise.
14236 * sunrpc/key_prot.c: Likewise.
14237 * sunrpc/netname.c: Likewise.
14238 * sunrpc/pm_getmaps.c: Likewise.
14239 * sunrpc/pm_getport.c: Likewise.
14240 * sunrpc/pmap_clnt.c: Likewise.
14241 * sunrpc/pmap_prot.c: Likewise.
14242 * sunrpc/pmap_prot2.c: Likewise.
14243 * sunrpc/pmap_rmt.c: Likewise.
14244 * sunrpc/publickey.c: Likewise.
14245 * sunrpc/rpc_cmsg.c: Likewise.
14246 * sunrpc/rpc_common.c: Likewise.
14247 * sunrpc/rpc_dtable.c: Likewise.
14248 * sunrpc/rpc_prot.c: Likewise.
14249 * sunrpc/rpc_thread.c: Likewise.
14250 * sunrpc/rtime.c: Likewise.
14251 * sunrpc/svc.c: Likewise.
14252 * sunrpc/svc_auth.c: Likewise.
14253 * sunrpc/svc_authux.c: Likewise.
14254 * sunrpc/svc_raw.c: Likewise.
14255 * sunrpc/svc_run.c: Likewise.
14256 * sunrpc/svc_simple.c: Likewise.
14257 * sunrpc/svc_tcp.c: Likewise.
14258 * sunrpc/svc_udp.c: Likewise.
14259 * sunrpc/svc_unix.c: Likewise.
14260 * sunrpc/svcauth_des.c: Likewise.
14261 * sunrpc/xcrypt.c: Likewise.
14262 * sunrpc/xdr.c: Likewise.
14263 * sunrpc/xdr_array.c: Likewise.
14264 * sunrpc/xdr_float.c: Likewise.
14265 * sunrpc/xdr_intXX_t.c: Likewise.
14266 * sunrpc/xdr_mem.c: Likewise.
14267 * sunrpc/xdr_rec.c: Likewise.
14268 * sunrpc/xdr_ref.c: Likewise.
14269 * sunrpc/xdr_sizeof.c: Likewise.
14270 * sunrpc/xdr_stdio.c: Likewise.
14272 2011-04-10 Ulrich Drepper <drepper@gmail.com>
14275 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
14276 * sysdeps/ia64/dl-tls.h: Likewise.
14277 * sysdeps/powerpc/dl-tls.h: Likewise.
14278 * sysdeps/s390/dl-tls.h: Likewise.
14279 * sysdeps/sh/dl-tls.h: Likewise.
14280 * sysdeps/sparc/dl-tls.h: Likewise.
14281 * sysdeps/x86_64/dl-tls.h: Likewise.
14282 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
14284 2011-03-14 Andreas Schwab <schwab@redhat.com>
14286 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
14287 rpath element also skip the following colon.
14288 (expand_dynamic_string_token): Add is_path parameter and pass
14289 down to DL_DST_REQUIRED and _dl_dst_substitute.
14290 (decompose_rpath): Call expand_dynamic_string_token with
14291 non-zero is_path. Ignore empty rpaths.
14292 (_dl_map_object_from_fd): Call expand_dynamic_string_token
14295 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
14297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
14300 2011-04-09 Ulrich Drepper <drepper@gmail.com>
14303 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
14304 Patch by Filipe David Manana <fdmanana@apache.org>.
14306 2011-04-07 Andreas Schwab <schwab@redhat.com>
14308 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
14309 Maintain aligned stack.
14310 (CHECK_RSP): Remove unused macro.
14312 2011-04-03 Ulrich Drepper <drepper@gmail.com>
14314 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
14315 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
14317 2011-04-02 Ulrich Drepper <drepper@gmail.com>
14319 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
14321 * include/features.h: Mention __USE_XOPEN2K8 in comment.
14323 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
14326 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
14327 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
14328 * sysdeps/x86_64/memmove.c: New file.
14329 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
14330 (memcpy): Renamed to ...
14331 (__new_memcpy): This.
14332 (memcpy): Provide GLIBC_2_14 memcpy.
14333 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
14334 (memcpy): Provide GLIBC_2_2_5 memcpy.
14336 2011-04-01 Ulrich Drepper <drepper@gmail.com>
14339 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
14341 2011-03-30 Andreas Schwab <schwab@redhat.com>
14343 * misc/syncfs.c: New file.
14344 * misc/Makefile (routines): Add syncfs.
14345 * posix/unistd.h: Declare syncfs.
14346 * sysdeps/unix/syscalls.list: Add syncfs.
14348 2011-04-01 Andreas Schwab <schwab@redhat.com>
14350 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
14352 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14353 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14354 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14355 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14356 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14357 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
14358 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14360 2011-04-01 Ulrich Drepper <drepper@gmail.com>
14362 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
14363 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14364 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
14365 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14366 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14367 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14368 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14370 * io/Makefile: Compile fallocate.c, fallocate64.c, and
14371 sync_file_range.c with -fexceptions.
14372 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
14373 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
14374 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
14375 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
14376 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
14377 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
14378 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
14379 sync_file_range as cancellation point
14380 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
14381 now a wrapper around __call_sync_file_range with cancellation handling.
14382 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
14383 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
14384 function name to __call_sync_file_range.
14385 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
14386 Add call_sync_file_range.
14388 2011-04-01 Andreas Schwab <schwab@redhat.com>
14390 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14393 2011-04-01 Ulrich Drepper <drepper@gmail.com>
14395 * iconv/iconv.h: Fix typo in comment.
14396 * io/fcntl.h: Likewise.
14397 * libio/stdio.h: Likewise.
14398 * posix/spawn.h: Likewise.
14399 * posix/unistd.h: Likewise.
14400 * stdlib/stdlib.h: Likewise.
14401 * time/time.h: Likewise.
14402 * wcsmbs/wchar.h: Likewise.
14404 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
14405 open_by_handle): Add.
14406 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
14407 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
14408 Augment a few comments.
14409 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14410 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14411 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14412 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14413 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14414 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
14417 * io/fcntl.h (AT_EMPTY_PATH): Define.
14419 2011-03-30 Ulrich Drepper <drepper@gmail.com>
14421 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
14422 * sysdeps/unix/sysv/linux/bits/time.h: New file.
14423 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
14425 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
14426 * Versions.def: Add GLIBC_2.14.
14427 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
14430 2011-03-22 Ulrich Drepper <drepper@gmail.com>
14432 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
14434 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14436 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
14439 * string/test-strncmp.c (do_page_test): New function.
14440 (check2): Likewise.
14441 (test_main): Call check2.
14442 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
14444 2011-03-20 Ulrich Drepper <drepper@gmail.com>
14447 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
14448 Handle cache information in CPU leaf 4.
14449 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14451 2011-03-18 Ulrich Drepper <drepper@gmail.com>
14454 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
14455 character representation.
14456 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
14458 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
14460 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
14461 END(__isnan) to END(__isnanf) to match function entry point/label
14462 EALIGN(__isnanf,...).
14464 2011-03-10 Jakub Jelinek <jakub@redhat.com>
14466 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
14468 2011-03-10 Ulrich Drepper <drepper@gmail.com>
14471 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
14472 copy from the symbol referenced in the relocation to initialize the
14474 Patch by Piotr Bury <pbury@goahead.com>.
14475 * elf/Makefile: Add rules to build and tst-unique3.
14476 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
14477 * elf/tst-unique3.cc: New file.
14478 * elf/tst-unique3.h: New file.
14479 * elf/tst-unique3lib.cc: New file.
14480 * elf/tst-unique3lib2.cc: New file.
14482 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
14484 2011-03-10 Mike Frysinger <vapier@gentoo.org>
14486 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
14487 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
14490 2011-03-06 Ulrich Drepper <drepper@gmail.com>
14492 * elf/dl-load.c (_dl_map_object): If we are looking for the first
14493 to-be-loaded object along a path to loader is ld.so.
14495 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14496 Ulrich Drepper <drepper@gmail.com>
14498 * sysdeps/x86_64/memset.S: After aligning destination, code
14499 branches to different locations depending on the value of
14500 misalignment, when multiarch is enabled. Fix this.
14502 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14504 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
14505 Set _x86_64_preferred_memory_instruction for AMD processsors.
14506 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14507 Set bit_Prefer_SSE_for_memop for AMD processors.
14509 2011-03-04 Ulrich Drepper <drepper@gmail.com>
14511 * libio/fmemopen.c (fmemopen): Optimize a bit.
14513 2011-03-03 Andreas Schwab <schwab@redhat.com>
14515 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
14517 2011-03-03 Roland McGrath <roland@redhat.com>
14519 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
14521 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
14523 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
14524 __bzero_ultra1 instead of __memset_ultra1.
14526 2011-02-23 Andreas Schwab <schwab@redhat.com>
14527 Ulrich Drepper <drepper@gmail.com>
14530 * include/link.h (struct link_map): Add l_orig_initfini.
14531 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
14532 returning unsuccessfully.
14533 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
14534 close of a file loaded at startup, restore the original l_initfini
14536 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
14537 list, store the pointer.
14538 * elf/Makefile ($(objpfx)noload-mem): New rule.
14539 (noload-ENV): Define.
14540 (tests): Add $(objpfx)noload-mem.
14541 * elf/noload.c: Include <memcheck.h>.
14542 (main): Call mtrace. Close all opened handles.
14544 2011-02-17 Andreas Schwab <schwab@redhat.com>
14547 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
14548 dependencies are missing.
14550 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
14552 Fix __if_freereq crash: Unlike the generic version which uses free,
14554 * sysdeps/mach/hurd/ifreq.h: New file.
14556 2011-01-27 Petr Baudis <pasky@suse.cz>
14557 Ulrich Drepper <drepper@gmail.com>
14560 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
14561 to extend_alloca().
14562 * stdio-common/bug23.c: New file.
14563 * stdio-common/Makefile (tests): Add bug23.
14565 2010-09-28 Andreas Schwab <schwab@redhat.com>
14566 Ulrich Drepper <drepper@gmail.com>
14569 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
14570 before performing relro protection. At old place add assertion
14571 to make sure nothing changed.
14573 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
14574 Glauber de Oliveira Costa <glommer@gmail.com>
14576 * elf/elf.h: Add new ARM TLS relocs.
14578 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
14580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14581 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
14583 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
14585 * sysdeps/wordsize-64/tst-writev.c: New file.
14587 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
14589 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
14590 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
14591 insns in _dl_start to prevent a TOC reference before relocs are
14594 2011-02-15 Ulrich Drepper <drepper@gmail.com>
14597 * Makeconfig: Remove RANLIB definition.
14598 * Makerules: Don't use RANLIB.
14599 * aclocal.m4: Remove ranlib test.
14600 * configure.in: No need to check for ranlib.
14601 * elf/rtld-Rules: Don't use RANLIB.
14603 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14605 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
14607 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
14608 inclusion protection macro.
14610 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
14611 SIGRTMIN and SIGRTMAX and print information in that case only when
14612 SIGRTMIN is defined.
14614 2011-02-11 Jakub Jelinek <jakub@redhat.com>
14616 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
14617 arginfo fn returning -1.
14619 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
14620 and thousands string is zero terminated.
14622 2011-02-03 Andreas Schwab <schwab@redhat.com>
14624 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
14625 sysdeps/unix/sysv/linux/bits/socket.h.
14627 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
14629 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
14630 (__CPU_COUNT): Remove old macros.
14631 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
14632 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
14633 (__CPU_ALLOC, __CPU_FREE): Add macros.
14634 (__sched_cpualloc, __sched_cpufree): Add declarations.
14636 2011-02-05 Ulrich Drepper <drepper@gmail.com>
14638 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
14639 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
14640 * nscd/aicache.c (addhstaiX): Return timeout of added value.
14641 (readdhstai): Return value of addhstaiX call.
14642 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
14643 (addgrbyX): Return value returned by cache_addgr.
14644 (readdgrbyname): Return value returned by addgrbyX.
14645 (readdgrbygid): Likewise.
14646 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
14647 (addpwbyX): Return value returned by cache_addpw.
14648 (readdpwbyname): Return value returned by addhstbyX.
14649 (readdpwbyuid): Likewise.
14650 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
14651 (addservbyX): Return value returned by cache_addserv.
14652 (readdservbyname): Return value returned by addservbyX:
14653 (readdservbyport): Likewise.
14654 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
14655 (addhstbyX): Return value returned by cache_addhst.
14656 (readdhstbyname): Return value returned by addhstbyX.
14657 (readdhstbyaddr): Likewise.
14658 (readdhstbynamev6): Likewise.
14659 (readdhstbyaddrv6): Likewise.
14660 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
14661 (readdinitgroups): Return value returned by addinitgroupsX.
14662 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
14663 (prune_cache): Keep track of timeout value of re-added entries.
14664 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
14665 * nscd/nscd.h: Adjust prototypes of readd* functions.
14667 2011-02-04 Roland McGrath <roland@redhat.com>
14669 * nis/nis_server.c (nis_servstate): Use the right name for 0.
14670 (nis_stats): Likewise.
14671 * nis/nis_modify.c (nis_modify): Likewise.
14672 * nis/nis_remove.c (nis_remove): Likewise.
14673 * nis/nis_add.c (nis_add): Likewise.
14675 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
14677 * posix/fnmatch_loop.c: Add some consts.
14679 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
14681 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
14684 * config.make.in (config-cflags-novzeroupper): Define.
14685 * configure.in: Substitute libc_cv_cc_novzeroupper.
14686 * elf/Makefile (AVX-CFLAGS): Define.
14687 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
14688 (CFLAGS-tst-auditmod4a.c): Likewise.
14689 (CFLAGS-tst-auditmod4b.c): Likewise.
14690 (CFLAGS-tst-auditmod6b.c): Likewise.
14691 (CFLAGS-tst-auditmod6c.c): Likewise.
14692 (CFLAGS-tst-auditmod7b.c): Likewise.
14693 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
14695 2011-02-02 Ulrich Drepper <drepper@gmail.com>
14697 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
14698 function to the callback.
14699 Patch partly by Jiri Olsa <jolsa@redhat.com>.
14701 2011-02-02 Andreas Schwab <schwab@redhat.com>
14703 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
14706 2011-01-19 Ulrich Drepper <drepper@gmail.com>
14709 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
14711 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
14713 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
14716 * elf/Makefile: Add rules to build and run new test.
14717 * elf/tst-initorder.c: New file.
14718 * elf/tst-initorder.exp: New file.
14719 * elf/tst-initordera1.c: New file.
14720 * elf/tst-initordera2.c: New file.
14721 * elf/tst-initordera3.c: New file.
14722 * elf/tst-initordera4.c: New file.
14723 * elf/tst-initorderb1.c: New file.
14724 * elf/tst-initorderb2.c: New file.
14725 * elf/tst-order-a1.c: New file.
14726 * elf/tst-order-a2.c: New file.
14727 * elf/tst-order-a3.c: New file.
14728 * elf/tst-order-a4.c: New file.
14729 * elf/tst-order-b1.c: New file.
14730 * elf/tst-order-b2.c: New file.
14731 * elf/tst-order-main.c: New file.
14732 New test case by George Gensure <werkt0@gmail.com>.
14734 2010-10-01 Andreas Schwab <schwab@redhat.com>
14736 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14737 decoding ACE if AI_CANONIDN.
14739 2011-01-18 Ulrich Drepper <drepper@gmail.com>
14741 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
14743 2011-01-17 Ulrich Drepper <drepper@gmail.com>
14745 * version.h (RELEASE): Bump for 2.13 release.
14746 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
14748 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
14750 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
14752 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
14753 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
14754 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
14755 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
14756 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
14757 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
14759 * posix/getconf.c: Update copyright year.
14760 * catgets/gencat.c: Likewise.
14761 * csu/version.c: Likewise.
14762 * debug/catchsegv.sh: Likewise.
14763 * debug/xtrace.sh: Likewise.
14764 * elf/ldconfig.c: Likewise.
14765 * elf/ldd.bash.in: Likewise.
14766 * elf/sprof.c (print_version): Likewise.
14767 * iconv/iconv_prog.c: Likewise.
14768 * iconv/iconvconfig.c: Likewise.
14769 * locale/programs/locale.c: Likewise.
14770 * locale/programs/localedef.c: Likewise.
14771 * malloc/memusage.sh: Likewise.
14772 * malloc/mtrace.pl: Likewise.
14773 * nscd/nscd.c (print_version): Likewise.
14774 * nss/getent.c: Likewise.
14776 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
14777 PF_CAIF, and PF_ALG.
14778 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14780 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
14782 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
14783 (modules-names): Use them.
14784 (ifunc-test-modules, ifunc-pie-tests): Define.
14785 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
14786 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
14787 (test-extras): Likewise.
14788 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
14789 $(compile-command.c).
14790 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
14791 (all-built-dso): Define.
14792 (check-textrel.out, check-execstack.out): Depend on it.
14794 * configure.in: Don't override --enable-multi-arch.
14796 2011-01-15 Ulrich Drepper <drepper@gmail.com>
14799 * nscd/hstcache.c (tryagain): Define.
14800 (cache_addhst): Return tryagain not notfound for temporary errors.
14801 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
14804 2011-01-14 Ulrich Drepper <drepper@gmail.com>
14807 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
14808 to make the syscall.
14809 * sysdeps/unix/sysv/linux/setgroups.c: New file.
14812 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
14813 and fall back to matching as normal character if the string ends before
14814 the matching ']' is found. This is what POSIX requires.
14815 * posix/testfnm.c: Adjust test result.
14816 * posix/globtest.sh: Adjust test result. Add new test.
14817 * posix/tst-fnmatch.input: Likewise.
14818 * posix/tst-fnmatch2.c: Add new test.
14820 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
14822 * elf/Makefile (check-execstack): Revert last change. Depend on
14824 (check-execstack.h): New target.
14825 (generated): Add check-execstack.h.
14826 * elf/check-execstack.c: Include "check-execstack.h".
14827 (main): Revert last change.
14828 (handle_file): Return zero if GNU_STACK is absent and
14829 DEFAULT_STACK_PERMS doesn't include PF_X.
14831 2011-01-13 Ulrich Drepper <drepper@gmail.com>
14833 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
14834 in child fails because the descriptor is already closed.
14835 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
14836 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
14837 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
14840 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
14844 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
14845 temporary buffer used to handle multi lookups locally.
14846 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
14848 2011-01-12 Ulrich Drepper <drepper@gmail.com>
14850 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
14853 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
14855 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
14856 alignment for SSE2.
14858 2011-01-12 Ulrich Drepper <drepper@gmail.com>
14861 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
14862 characters. When rounding increased number of integer digits recompute
14864 * stdio-common/tst-grouping.c: New file.
14865 * stdio-common/Makefile: Add rules to build and run tst-grouping.
14867 2011-01-09 Ulrich Drepper <drepper@gmail.com>
14869 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
14870 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
14872 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
14874 * bits/select.h: Likewise.
14876 2011-01-08 Ulrich Drepper <drepper@gmail.com>
14878 * po/ja.po: Update from translation team.
14880 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
14883 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
14884 implementation just like for lxstat, fxstatat, et al.
14886 2010-12-27 Jim Meyering <meyering@redhat.com>
14889 * posix/regexec.c (build_trtable): Return failure indication upon
14890 calloc failure. Otherwise, re_search_internal could infloop on OOM.
14892 2010-12-25 Ulrich Drepper <drepper@gmail.com>
14895 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
14896 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
14897 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
14898 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
14901 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
14904 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
14905 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
14907 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
14909 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
14910 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
14911 script has SORT_BY_INIT_PRIORITY.
14912 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
14913 NO_CTORS_DTORS_SECTIONS is defined.
14914 * elf/soinit.c: Likewise.
14915 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
14916 NO_CTORS_DTORS_SECTIONS is defined.
14917 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
14918 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
14919 * sysdeps/sh/init-first.c: Likewise.
14920 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
14922 2010-12-24 Ulrich Drepper <drepper@gmail.com>
14924 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
14925 always use the slow path.
14927 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
14929 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
14930 similar rule which adds the sysdep directories to the header search in
14931 order to pick up the correct platform stackinfo.h.
14932 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
14933 perform test if it is, otherwise return successfully without testing.
14934 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
14935 DEFAULT_STACK_PERMS define in stackinfo.h.
14936 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
14937 defined in stackinfo.h.
14938 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
14939 DEFAULT_STACK_PERMS defined in stackinfo.h.
14940 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
14941 * sysdeps/ia64/stackinfo.h: Likewise.
14942 * sysdeps/s390/stackinfo.h: Likewise.
14943 * sysdeps/sh/stackinfo.h: Likewise.
14944 * sysdeps/sparc/stackinfo.h: Likewise.
14945 * sysdeps/x86_64/stackinfo.h: Likewise.
14946 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
14947 PF_X for powerpc64. Retain PF_X for powerpc32.
14949 2010-12-19 Ulrich Drepper <drepper@gmail.com>
14951 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
14953 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
14954 GETDENTS_64BIT_ALIGNED.
14956 2010-12-14 Ulrich Drepper <dreper@gmail.com>
14958 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
14960 2010-12-10 Andreas Schwab <schwab@redhat.com>
14962 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
14965 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
14966 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
14968 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
14969 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
14971 2010-12-09 Ulrich Drepper <drepper@gmail.com>
14974 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
14977 2010-12-09 Jakub Jelinek <jakub@redhat.com>
14979 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
14981 2010-12-03 Ulrich Drepper <drepper@gmail.com>
14983 * po/it.po: Update from translation team.
14985 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
14987 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
14990 2010-11-30 Ulrich Drepper <drepper@gmail.com>
14992 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
14994 2010-11-24 Andreas Schwab <schwab@redhat.com>
14996 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
14998 (gaih_getanswer_slice): Likewise.
15000 2010-10-20 Jakub Jelinek <jakub@redhat.com>
15002 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
15004 2010-05-31 Petr Baudis <pasky@suse.cz>
15007 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
15008 silently even in the chroot mode.
15010 2010-11-22 Ulrich Drepper <drepper@gmail.com>
15012 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
15013 last patch a bit. Pretty printing
15015 2010-05-31 Petr Baudis <pasky@suse.cz>
15018 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
15019 initialization of skip_initgroups_dyn.
15021 2010-11-19 Ulrich Drepper <drepper@gmail.com>
15023 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
15024 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
15026 2010-11-16 Ulrich Drepper <drepper@gmail.com>
15028 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
15030 2010-11-11 Andreas Schwab <schwab@redhat.com>
15032 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
15033 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
15034 (tst-fnmatch-ENV): Set MALLOC_TRACE.
15035 ($(objpfx)tst-fnmatch-mem): New rule.
15036 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
15037 * posix/tst-fnmatch.c (main): Call mtrace.
15039 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
15041 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15042 Support Intel processor model 6 and model 0x2c.
15044 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
15046 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
15049 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
15052 * string/test-strncasecmp.c (check_result): New function.
15053 (do_one_test): Use it.
15054 (check1): New function.
15055 (test_main): Use it.
15056 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
15057 Support strcasecmp and strncasecmp.
15059 2010-11-08 Ulrich Drepper <drepper@gmail.com>
15062 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
15063 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15065 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
15067 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
15069 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15071 * sysdeps/x86_64/multiarch/bzero.S: New file.
15072 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
15073 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
15074 * sysdeps/x86_64/multiarch/memset.S: New file.
15075 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
15076 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15077 Set bit_Prefer_SSE_for_memop for Intel processors.
15078 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
15080 (index_Prefer_SSE_for_memop): Define.
15081 (HAS_PREFER_SSE_FOR_MEMOP): Define.
15083 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
15085 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
15086 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
15088 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
15091 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15092 (__x86_64_raw_data_cache_size_half): Likewise.
15093 (__x86_64_raw_shared_cache_size): Likewise.
15094 (__x86_64_raw_shared_cache_size_half): Likewise.
15096 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15097 (__x86_64_raw_data_cache_size_half): Likewise.
15098 (__x86_64_raw_shared_cache_size): Likewise.
15099 (__x86_64_raw_shared_cache_size_half): Likewise.
15100 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
15101 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
15102 and __x86_64_raw_shared_cache_size_half. Round
15103 __x86_64_data_cache_size_half, __x86_64_data_cache_size
15104 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
15105 to multiple of 256 bytes.
15107 2010-11-03 Ulrich Drepper <drepper@gmail.com>
15110 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
15111 of inacessible symlinks. Verify result of symlink before returning it.
15112 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
15113 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
15115 2010-10-28 Erich Ritz <erichritz@gmail.com>
15117 * math/math.h (isinf): Fix typo in comment.
15119 2010-11-01 Ulrich Drepper <drepper@gmail.com>
15121 * po/da.po: Update from translation team.
15123 2010-10-26 Ulrich Drepper <drepper@gmail.com>
15125 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
15126 is added to the list.
15128 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15129 Ulrich Drepper <drepper@gmail.com>
15131 * elf/dl-object.c (_dl_new_object): Don't append the new object to
15132 the global list here. Move code to...
15133 (_dl_add_to_namespace_list): ...here. New function.
15134 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
15135 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
15136 * elf/dl-load.c (lose): Don't remove the element from the list.
15137 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
15138 (_dl_map_object): Likewise.
15140 2010-10-25 Ulrich Drepper <drepper@gmail.com>
15143 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
15144 into all bytes of SSE register.
15145 Patch by Richard Li <richardpku@gmail.com>.
15147 2010-10-24 Ulrich Drepper <drepper@gmail.com>
15150 * malloc/malloc.c (_int_free): Fill correct number of bytes when
15153 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
15155 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
15156 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
15157 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
15158 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
15161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
15163 2010-10-22 Andreas Schwab <schwab@redhat.com>
15165 * include/dlfcn.h (__RTLD_SECURE): Define.
15166 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
15167 mode & __RTLD_SECURE instead.
15168 (open_path): Rename preloaded parameter to secure.
15169 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
15170 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
15171 * elf/dl-deps.c (openaux): Likewise.
15172 * elf/rtld.c (struct map_args): Remove is_preloaded.
15173 (map_doit): Don't use it.
15174 (dl_main): Likewise.
15175 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
15176 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
15178 2010-09-09 Andreas Schwab <schwab@redhat.com>
15180 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
15181 (sysd-rules-targets): Remove duplicates.
15182 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
15183 rtld-%.$o dependency.
15185 2010-10-18 Andreas Schwab <schwab@redhat.com>
15187 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
15188 _dl_map_object do it.
15190 2010-10-19 Ulrich Drepper <drepper@gmail.com>
15192 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
15193 fast fma builtins, define the macros in the C99 standard.
15194 (FP_FAST_FMAF): Likewise.
15195 (FP_FAST_FMAL): Likewise.
15196 * sysdeps/x86_64/bits/mathdef.h: Likewise.
15198 * bits/mathdef.h: Update copyright year.
15199 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15201 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
15203 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
15204 builtins, define the macros in the C99 standard.
15205 (FP_FAST_FMAF): Likewise.
15206 (FP_FAST_FMAL): Likewise.
15207 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
15209 (FP_FAST_FMAF): Likewise.
15211 2010-10-15 Jakub Jelinek <jakub@redhat.com>
15214 * math/libm-test.inc (fma_test): Some new testcases.
15215 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
15216 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
15217 y and infinite z. Do multiplication by C already in long double.
15218 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
15219 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
15220 y and infinite z. Do bitwise or of inexact bit into u.d.
15221 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
15222 * sysdeps/i386/fpu/s_fmaf.S: Removed.
15223 * sysdeps/i386/fpu/s_fma.S: Removed.
15224 * sysdeps/i386/fpu/s_fmal.S: Removed.
15226 2010-10-16 Jakub Jelinek <jakub@redhat.com>
15229 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
15230 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
15231 computation is not scheduled after fetestexcept. Fix value
15232 of minimum denormal long double.
15234 2010-10-14 Jakub Jelinek <jakub@redhat.com>
15237 * math/libm-test.inc (fma_test): Add some more tests.
15238 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
15241 2010-10-15 Andreas Schwab <schwab@redhat.com>
15243 * scripts/data/localplt-s390-linux-gnu.data: New file.
15244 * scripts/data/localplt-s390x-linux-gnu.data: New file.
15246 2010-10-13 Jakub Jelinek <jakub@redhat.com>
15249 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
15250 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
15252 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
15254 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
15255 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
15256 if one of x and y is very large and the other is subnormal.
15257 * sysdeps/s390/fpu/s_fmaf.c: New file.
15258 * sysdeps/s390/fpu/s_fma.c: New file.
15259 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
15260 * sysdeps/powerpc/fpu/s_fma.S: New file.
15261 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
15262 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
15263 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
15265 2010-10-12 Jakub Jelinek <jakub@redhat.com>
15268 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
15270 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
15271 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
15272 * sysdeps/i386/i686/multiarch/s_fma.c: Include
15273 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
15274 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
15275 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
15276 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
15278 2010-10-12 Ulrich Drepper <drepper@redhat.com>
15281 * posix/regcomp.c (parse_branch): One more memory leak plugged.
15282 * posix/bug-regex31.input: Add test case.
15284 2010-10-11 Ulrich Drepper <drepper@gmail.com>
15286 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
15287 * posix/bug-regex31.input: New file.
15290 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
15291 (parse_sub_exp): Fix last change, use postorder.
15293 * posix/bug-regex31.c: New file.
15294 * posix/Makefile: Add rules to build and run bug-regex31.
15296 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
15299 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
15302 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
15303 to have entries in sys_siglist.
15306 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
15309 2010-10-07 Jakub Jelinek <jakub@redhat.com>
15312 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
15313 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
15314 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
15315 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
15316 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
15317 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
15318 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
15319 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
15320 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
15321 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
15322 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
15323 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
15324 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
15325 * math/ftestexcept.c (fetestexcept): Likewise.
15326 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
15327 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
15328 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
15329 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
15330 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
15331 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
15332 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15334 2010-10-11 Ulrich Drepper <drepper@gmail.com>
15337 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
15340 2010-10-06 Ulrich Drepper <drepper@gmail.com>
15342 * string/bug-strstr1.c: New file.
15343 * string/Makefile: Add rules to build and run bug-strstr1.
15345 2010-10-05 Eric Blake <eblake@redhat.com>
15348 * string/str-two-way.h (two_way_long_needle): Always clear memory
15349 when skipping input due to the shift table.
15351 2010-10-03 Ulrich Drepper <drepper@gmail.com>
15354 * malloc/mcheck.c: Handle large requests.
15357 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
15358 for strncmp and strncasecmp.
15359 * string/stratcliff.c: Add tests for strcmp and strncmp.
15360 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
15362 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15364 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
15367 2010-09-30 Andreas Jaeger <aj@suse.de>
15369 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
15370 (CGROUP_SUPER_MAGIC): Define.
15371 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15372 Handle btrfs and cgroup file systems.
15373 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
15376 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
15378 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
15379 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
15381 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15384 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
15385 trying to locate the ELF header.
15387 2010-09-27 Andreas Schwab <schwab@redhat.com>
15390 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
15391 Mask out sign-bit copies when constructing f_fsid.
15393 2010-09-24 Petr Baudis <pasky@suse.cz>
15395 * debug/stack_chk_fail_local.c: Add missing licence exception.
15396 * debug/warning-nop.c: Likewise.
15398 2010-09-15 Joseph Myers <joseph@codesourcery.com>
15400 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
15401 implementing getdents64 using getdents syscall, set d_type if
15402 __ASSUME_GETDENTS32_D_TYPE.
15404 2010-09-16 Andreas Schwab <schwab@redhat.com>
15406 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
15407 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
15409 2010-09-21 Ulrich Drepper <drepper@redhat.com>
15412 * posix/unistd.h: Undo change of feature selection for ftruncate from
15415 2010-09-20 Ulrich Drepper <drepper@redhat.com>
15417 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
15420 2010-09-20 Andreas Schwab <schwab@redhat.com>
15422 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
15424 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15426 2010-09-14 Andreas Schwab <schwab@redhat.com>
15428 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
15429 variables after CHECK_SP call.
15430 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
15432 2010-09-13 Andreas Schwab <schwab@redhat.com>
15433 Ulrich Drepper <drepper@redhat.com>
15435 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
15436 re-relocationg ld.so.
15437 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
15438 _dl_init_paths call.
15439 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
15442 2010-09-14 Ulrich Drepper <drepper@redhat.com>
15444 * resolv/res_init.c (__res_vinit): Count the default server we added.
15446 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
15447 Ulrich Drepper <drepper@redhat.com>
15450 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15451 (____longjmp_chk): Use %ebx for saving value across system call.
15454 2010-09-06 Andreas Schwab <schwab@redhat.com>
15456 * manual/Makefile: Don't mix pattern rules with normal rules.
15458 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
15460 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
15462 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
15463 * libio/iofopncook.c (_IO_cookie_init): Likewise.
15464 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
15465 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
15466 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15469 2010-09-04 Ulrich Drepper <drepper@redhat.com>
15472 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
15473 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
15475 2010-09-02 Ulrich Drepper <drepper@redhat.com>
15477 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
15478 * sysdeps/x86_64/addmul_1.S: Likewise.
15479 * sysdeps/x86_64/lshift.S: Likewise.
15480 * sysdeps/x86_64/mul_1.S: Likewise.
15481 * sysdeps/x86_64/rshift.S: Likewise.
15482 * sysdeps/x86_64/sub_n.S: Likewise.
15483 * sysdeps/x86_64/submul_1.S: Likewise.
15485 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
15487 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
15488 Define __sched_param instead of SCHED_* and sched_param when
15489 <bits/sched.h> is included with __need_schedparam defined.
15490 * bits/sched.h [__need_schedparam]
15491 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
15492 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
15493 (__defined_schedparam): Define to 1.
15494 (__sched_param): New structure, identical to sched_param.
15495 (__need_schedparam): Undefine.
15497 2010-08-31 Mike Frysinger <vapier@gentoo.org>
15499 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
15500 (epoll_create1): Declare.
15502 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
15504 2010-08-31 Andreas Schwab <schwab@redhat.com>
15507 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
15508 shifting retval into place.
15510 2010-09-01 Ulrich Drepper <drepper@redhat.com>
15512 * nis/rpcsvc/nis.h: Update copyright notice.
15513 * nis/rpcsvc/nis.x: Likewise.
15514 * nis/rpcsvc/nis_callback.h: Likewise.
15515 * nis/rpcsvc/nis_callback.x: Likewise.
15516 * nis/rpcsvc/nis_object.x: Likewise.
15517 * nis/rpcsvc/nis_tags.h: Likewise.
15518 * nis/rpcsvc/yp.h: Likewise.
15519 * nis/rpcsvc/yp.x: Likewise.
15520 * nis/rpcsvc/ypupd.h: Likewise.
15521 * nis/yp_xdr.c: Likewise.
15522 * nis/ypupdate_xdr.c: Likewise.
15524 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
15525 mainly the body of pmap_getport. Add parameters to specify timeouts.
15526 (pmap_getport): Use __libc_rpc_getport.
15527 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
15528 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
15529 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
15531 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
15533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
15536 2010-08-27 Roland McGrath <roland@redhat.com>
15538 * sysdeps/i386/i686/multiarch/Makefile
15539 (CFLAGS-varshift.c): New variable.
15541 2010-08-27 Ulrich Drepper <drepper@redhat.com>
15543 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
15544 * sysdeps/i386/i686/multiarch/varshift.c: New file.
15546 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
15548 * sysdeps/x86_64/strlen.S: Minimal code improvement.
15550 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
15552 * sysdeps/x86_64/strlen.S: Unroll the loop.
15553 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15554 strlen-sse2 strlen-sse2-bsf.
15555 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
15556 __strlen_no_bsf if bit_Slow_BSF is set.
15557 (__strlen_sse42): Removed.
15558 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
15559 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
15561 2010-08-25 Roland McGrath <roland@redhat.com>
15563 * sysdeps/x86_64/multiarch/varshift.S: File removed.
15564 * sysdeps/x86_64/multiarch/varshift.c: New file.
15565 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
15566 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
15567 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
15568 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15570 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
15572 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15573 strlen-sse2 strlen-sse2-bsf.
15574 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
15575 __strlen_sse2_bsf if bit_Slow_BSF is unset.
15576 (__strlen_sse2): Removed.
15577 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
15578 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
15579 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
15580 bit_Slow_BSF for Atom.
15581 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
15582 (index_Slow_BSF): Define.
15583 (HAS_SLOW_BSF): Define.
15585 2010-08-25 Ulrich Drepper <drepper@redhat.com>
15588 * resolv/res_init.c (__res_vinit): When no server address at all
15589 is given default to loopback.
15591 2010-08-24 Roland McGrath <roland@redhat.com>
15593 * configure.in: Remove config-name.h generation.
15594 * configure: Regenerated.
15595 * config-name.in: File removed.
15596 * scripts/config-uname.sh: New file.
15597 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
15598 ($(objdir)config-name.h): New target.
15600 * sunrpc/rpc_parse.h: Avoid nested comment.
15602 2010-08-24 Richard Henderson <rth@redhat.com>
15603 Ulrich Drepper <drepper@redhat.com>
15604 H.J. Lu <hongjiu.lu@intel.com>
15606 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
15607 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
15608 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
15609 Replace _mm_srli_si128 with __m128i_shift_right. Replace
15610 _mm_alignr_epi8 with _mm_loadu_si128.
15611 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
15612 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
15613 (__m128i_shift_right): Removed.
15614 * sysdeps/i386/i686/multiarch/varshift.h: New file.
15615 * sysdeps/i386/i686/multiarch/varshift.S: New file.
15616 * sysdeps/x86_64/multiarch/varshift.h: New file.
15617 * sysdeps/x86_64/multiarch/varshift.S: New file.
15619 2010-08-21 Mike Frysinger <vapier@gentoo.org>
15621 * configure.in: Move assembler checks to before sysdep dir checking.
15623 2010-08-20 Petr Baudis <pasky@suse.cz>
15625 * LICENSES: Sync the sunrpc license.
15627 2010-08-19 Ulrich Drepper <drepper@redhat.com>
15629 * sunrpc/auth_des.c: Update copyright notice once again.
15630 * sunrpc/auth_none.c: Likewise.
15631 * sunrpc/auth_unix.c: Likewise.
15632 * sunrpc/authdes_prot.c: Likewise.
15633 * sunrpc/authuxprot.c: Likewise.
15634 * sunrpc/bindrsvprt.c: Likewise.
15635 * sunrpc/clnt_gen.c: Likewise.
15636 * sunrpc/clnt_perr.c: Likewise.
15637 * sunrpc/clnt_raw.c: Likewise.
15638 * sunrpc/clnt_simp.c: Likewise.
15639 * sunrpc/clnt_tcp.c: Likewise.
15640 * sunrpc/clnt_udp.c: Likewise.
15641 * sunrpc/clnt_unix.c: Likewise.
15642 * sunrpc/des_crypt.c: Likewise.
15643 * sunrpc/des_soft.c: Likewise.
15644 * sunrpc/get_myaddr.c: Likewise.
15645 * sunrpc/getrpcport.c: Likewise.
15646 * sunrpc/key_call.c: Likewise.
15647 * sunrpc/key_prot.c: Likewise.
15648 * sunrpc/openchild.c: Likewise.
15649 * sunrpc/pm_getmaps.c: Likewise.
15650 * sunrpc/pm_getport.c: Likewise.
15651 * sunrpc/pmap_clnt.c: Likewise.
15652 * sunrpc/pmap_prot.c: Likewise.
15653 * sunrpc/pmap_prot2.c: Likewise.
15654 * sunrpc/pmap_rmt.c: Likewise.
15655 * sunrpc/rpc/auth.h: Likewise.
15656 * sunrpc/rpc/auth_unix.h: Likewise.
15657 * sunrpc/rpc/clnt.h: Likewise.
15658 * sunrpc/rpc/des_crypt.h: Likewise.
15659 * sunrpc/rpc/key_prot.h: Likewise.
15660 * sunrpc/rpc/netdb.h: Likewise.
15661 * sunrpc/rpc/pmap_clnt.h: Likewise.
15662 * sunrpc/rpc/pmap_prot.h: Likewise.
15663 * sunrpc/rpc/pmap_rmt.h: Likewise.
15664 * sunrpc/rpc/rpc.h: Likewise.
15665 * sunrpc/rpc/rpc_des.h: Likewise.
15666 * sunrpc/rpc/rpc_msg.h: Likewise.
15667 * sunrpc/rpc/svc.h: Likewise.
15668 * sunrpc/rpc/svc_auth.h: Likewise.
15669 * sunrpc/rpc/types.h: Likewise.
15670 * sunrpc/rpc/xdr.h: Likewise.
15671 * sunrpc/rpc_clntout.c: Likewise.
15672 * sunrpc/rpc_cmsg.c: Likewise.
15673 * sunrpc/rpc_common.c: Likewise.
15674 * sunrpc/rpc_cout.c: Likewise.
15675 * sunrpc/rpc_dtable.c: Likewise.
15676 * sunrpc/rpc_hout.c: Likewise.
15677 * sunrpc/rpc_main.c: Likewise.
15678 * sunrpc/rpc_parse.c: Likewise.
15679 * sunrpc/rpc_parse.h: Likewise.
15680 * sunrpc/rpc_prot.c: Likewise.
15681 * sunrpc/rpc_sample.c: Likewise.
15682 * sunrpc/rpc_scan.c: Likewise.
15683 * sunrpc/rpc_scan.h: Likewise.
15684 * sunrpc/rpc_svcout.c: Likewise.
15685 * sunrpc/rpc_tblout.c: Likewise.
15686 * sunrpc/rpc_util.c: Likewise.
15687 * sunrpc/rpc_util.h: Likewise.
15688 * sunrpc/rpcinfo.c: Likewise.
15689 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
15690 * sunrpc/rpcsvc/key_prot.x: Likewise.
15691 * sunrpc/rpcsvc/klm_prot.x: Likewise.
15692 * sunrpc/rpcsvc/mount.x: Likewise.
15693 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
15694 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
15695 * sunrpc/rpcsvc/rex.x: Likewise.
15696 * sunrpc/rpcsvc/rstat.x: Likewise.
15697 * sunrpc/rpcsvc/rusers.x: Likewise.
15698 * sunrpc/rpcsvc/sm_inter.x: Likewise.
15699 * sunrpc/rpcsvc/spray.x: Likewise.
15700 * sunrpc/rpcsvc/yppasswd.x: Likewise.
15701 * sunrpc/rtime.c: Likewise.
15702 * sunrpc/svc.c: Likewise.
15703 * sunrpc/svc_auth.c: Likewise.
15704 * sunrpc/svc_authux.c: Likewise.
15705 * sunrpc/svc_raw.c: Likewise.
15706 * sunrpc/svc_run.c: Likewise.
15707 * sunrpc/svc_simple.c: Likewise.
15708 * sunrpc/svc_tcp.c: Likewise.
15709 * sunrpc/svc_udp.c: Likewise.
15710 * sunrpc/svc_unix.c: Likewise.
15711 * sunrpc/svcauth_des.c: Likewise.
15712 * sunrpc/xcrypt.c: Likewise.
15713 * sunrpc/xdr.c: Likewise.
15714 * sunrpc/xdr_array.c: Likewise.
15715 * sunrpc/xdr_float.c: Likewise.
15716 * sunrpc/xdr_mem.c: Likewise.
15717 * sunrpc/xdr_rec.c: Likewise.
15718 * sunrpc/xdr_ref.c: Likewise.
15719 * sunrpc/xdr_sizeof.c: Likewise.
15720 * sunrpc/xdr_stdio.c: Likewise.
15722 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
15725 2010-08-19 Andreas Schwab <schwab@redhat.com>
15727 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
15729 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
15731 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
15732 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
15733 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
15734 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
15735 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
15736 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
15737 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
15738 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
15739 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
15740 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
15741 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
15742 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
15743 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
15744 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
15746 2010-07-26 Anton Blanchard <anton@samba.org>
15748 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
15749 * malloc/arena.c (heap_trim): Likewise.
15751 2010-08-16 Ulrich Drepper <drepper@redhat.com>
15753 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
15755 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
15756 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
15758 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
15760 * sysdeps/i386/elf/Makefile: New file.
15762 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
15764 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
15765 from fanotify_init.
15766 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
15767 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15769 2010-08-15 Ulrich Drepper <drepper@redhat.com>
15771 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
15773 * sysdeps/multiarch/strcmp.S: Likewise.
15775 2010-08-14 Ulrich Drepper <drepper@redhat.com>
15777 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
15778 strncase_l-nonascii.
15779 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
15780 Add strncase_l-ssse3.
15781 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
15782 * sysdeps/x86_64/strcmp.S: Likewise.
15783 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
15784 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
15785 * sysdeps/x86_64/strncase.S: New file.
15786 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
15787 * sysdeps/x86_64/strncase_l.S: New file.
15788 * string/Makefile (strop-tests): Add strncasecmp.
15789 * string/test-strncasecmp.c: New file.
15791 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
15794 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
15795 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
15797 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
15799 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
15801 2010-08-12 Ulrich Drepper <drepper@redhat.com>
15803 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
15804 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
15805 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
15807 2010-05-01 Alan Modra <amodra@gmail.com>
15809 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
15810 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
15811 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
15812 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
15813 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
15814 tidying. Don't tail-call __sigjmp_save for static lib.
15815 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
15817 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
15818 (CALL_MCOUNT): Add eh info, and nop after bl.
15819 (TAIL_CALL_SYSCALL_ERROR): New macro.
15820 (PSEUDO_RET): Use it.
15821 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
15822 Correct save location of integer regs and cr.
15823 (_dl_profile_resolve): Correct cr save location. Delete nops
15824 after bl when SHARED. Reduce cfi size a little by better
15825 placement of cfi directives.
15826 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
15827 make a stack frame. Instead use parm save area as a temp.
15828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
15829 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
15830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
15831 Don't make a stack frame for parent, use parm save area.
15832 Increase child stack frame to 112 bytes. Don't save unused reg,
15833 and adjust reg usage. Set up cfi on error recovery and
15834 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
15835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15836 (__makecontext): Add dummy nop after jump to exit.
15837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
15838 Use correct parm save area and cr save, reduce stack frame.
15839 Correct cfi for possible PSEUDO_RET frame setup.
15840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
15841 Branch to local label emitted by PSEUDO_RET rather than
15844 2010-08-12 Andreas Schwab <schwab@redhat.com>
15847 * locale/programs/locale.c (print_assignment): New function.
15848 (show_locale_vars): Use it.
15850 2010-08-11 Ulrich Drepper <drepper@redhat.com>
15852 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
15854 (struct statfs64): Likewise.
15855 (_STATFS_F_FLAGS): Define.
15856 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
15857 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15858 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
15859 (ST_VALID): Define locally.
15860 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
15861 __statvfs_getflags, use the provided value.
15862 * sysdeps/unix/sysv/linux/kernel-features.h: Define
15863 __ASSUME_STATFS_F_FLAGS.
15865 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
15867 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
15868 Add sys/fanotify.h.
15869 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
15870 fanotify_mask for GLIBC_2.13.
15871 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
15872 fanotify_init and fanotify_mark.
15873 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15874 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
15876 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
15878 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
15879 prlimit64 for GLIBC_2.13.
15880 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
15882 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
15884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
15885 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15886 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
15887 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
15888 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
15890 * sysdeps/unix/sysv/linux/prlimit.c: New file.
15893 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
15894 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
15896 * nss/Makefile: Add rules to build and run tst-nss-test1.
15897 * shlib-versions: Add entry for libnss_test1.
15898 * nss/nss_test1.c: New file.
15899 * nss/tst-nss-test1.c: New file.
15901 * nss/nsswitch.c (__nss_database_custom): Define new variable.
15902 (__nss_configure_lookup): Set appropriate entry in
15903 __nss_configure_lookup to true.
15904 * nss/nsswitch.h: Define enum with indeces of databases in
15905 databases and __nss_database_custom arrays. Declare
15906 __nss_database_custom.
15907 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
15908 to avoid using nscd when custom rules are installed.
15909 * nss/getXXbyYY_r.c: Likewise.
15910 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15912 * nss/nss_files/files-parse.c: Whitespace fixes.
15914 2010-08-09 Ulrich Drepper <drepper@redhat.com>
15917 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
15918 * posix/fnmatch_loop.c: Likewise.
15920 2010-07-17 Andi Kleen <ak@linux.intel.com>
15922 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
15923 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
15924 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
15925 * Versions.def [GLIBC_2.13]: Add.
15927 2010-08-06 Ulrich Drepper <drepper@redhat.com>
15929 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15930 Also fail if tpwd after pwuid call is NULL.
15932 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
15934 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
15935 when converting to ms.
15937 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15939 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
15940 EOPNOTSUPP errors with ENOTTY.
15941 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
15942 EOPNOTSUPP errors with ENOTTY.
15944 2010-07-31 Ulrich Drepper <drepper@redhat.com>
15946 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
15947 Add strcasecmp_l-ssse3.
15948 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
15950 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
15951 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
15952 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
15954 2010-07-30 Ulrich Drepper <drepper@redhat.com>
15956 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
15958 * string/Makefile (strop-tests): Add strcasecmp.
15959 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
15960 strcasecmp_l-nonascii.
15961 (gen-as-const-headers): Add locale-defines.sym.
15962 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
15963 * sysdeps/x86_64/strcasecmp.S: New file.
15964 * sysdeps/x86_64/strcasecmp_l.S: New file.
15965 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
15966 * sysdeps/x86_64/locale-defines.sym: New file.
15967 * string/test-strcasecmp.c: New file.
15969 * string/test-strcasestr.c: Test both ends of the range of characters.
15970 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
15972 2010-07-29 Roland McGrath <roland@redhat.com>
15975 * manual/locale.texi (Yes-or-No Questions): Fix example code.
15977 2010-07-27 Ulrich Drepper <drepper@redhat.com>
15979 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
15982 2010-07-27 Andreas Schwab <schwab@redhat.com>
15984 * manual/memory.texi (Malloc Tunable Parameters): Document
15987 2010-07-26 Roland McGrath <roland@redhat.com>
15990 * configure.in (-fgnu89-inline check): Set and substitute
15991 gnu89_inline, not libc_cv_gnu89_inline.
15992 * configure: Regenerated.
15993 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
15995 2010-07-26 Ulrich Drepper <drepper@redhat.com>
15997 * string/test-strnlen.c: New file.
15998 * string/Makefile (strop-tests): Add strnlen.
15999 * string/tester.c (test_strnlen): Add a few more test cases.
16000 * string/tst-strlen.c: Better error reporting.
16002 * sysdeps/x86_64/strnlen.S: New file.
16004 2010-07-24 Ulrich Drepper <drepper@redhat.com>
16006 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
16007 lower-latency instructions.
16009 2010-07-23 Ulrich Drepper <drepper@redhat.com>
16011 * string/test-strcasestr.c: New file.
16012 * string/test-strstr.c: New file.
16013 * string/Makefile (strop-tests): Add strstr and strcasestr.
16014 * string/str-two-way.h: Don't undefine MAX.
16015 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
16017 2010-07-21 Andreas Schwab <schwab@redhat.com>
16019 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16020 strcasestr-nonascii.
16021 (CFLAGS-strcasestr-nonascii.c): Define.
16022 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
16023 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
16024 Remove unused attribute.
16026 2010-07-20 Roland McGrath <roland@redhat.com>
16028 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
16029 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
16030 ld.so.cache was broken. With it, there is no way to disable dsocaps
16031 like LD_HWCAP_MASK can disable hwcaps.
16033 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16035 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
16037 2010-07-16 Ulrich Drepper <drepper@redhat.com>
16039 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
16040 call in strcasestr.
16041 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
16042 __strcasestr_sse42_nonascii.
16043 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
16044 strcasestr-nonascii.c.
16045 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
16047 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
16049 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
16050 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
16051 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
16052 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
16054 2010-07-09 Ulrich Drepper <drepper@redhat.com>
16056 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
16059 2010-07-06 Andreas Schwab <schwab@redhat.com>
16062 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
16065 2010-07-06 Ulrich Drepper <drepper@redhat.com>
16067 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
16068 _PC_PIPE_BUF using F_GETPIPE_SZ.
16070 2010-07-05 Roland McGrath <roland@redhat.com>
16072 * manual/arith.texi (Rounding Functions): Fix rint description
16073 implicit in round description.
16075 2010-07-02 Ulrich Drepper <drepper@redhat.com>
16077 * elf/Makefile: Fix linking for a few tests to make recent linker
16080 2010-06-30 Andreas Schwab <schwab@redhat.com>
16082 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
16083 $(common-objpfx)libc_nonshared.a.
16085 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
16087 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
16088 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
16089 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16090 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16091 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
16092 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
16093 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16094 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
16096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
16097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
16098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
16100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
16102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
16103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
16104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
16105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
16107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
16109 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
16110 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
16111 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
16112 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
16113 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
16114 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
16115 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
16116 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
16117 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
16118 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
16119 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
16120 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
16121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
16122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
16123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
16124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
16125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
16126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
16127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
16128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
16129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
16130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
16131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
16132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
16133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
16134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
16136 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
16138 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
16139 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
16140 * string/memmove.c (memmove): Renamed to ...
16141 (MEMMOVE): ...this. Default to memmove.
16142 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
16143 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
16145 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16146 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
16147 mempcpy-ssse3-back memmove-ssse3-back.
16148 * sysdeps/x86_64/multiarch/bcopy.S: New file .
16149 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
16150 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
16151 * sysdeps/x86_64/multiarch/memcpy.S: New file.
16152 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
16153 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
16154 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
16155 * sysdeps/x86_64/multiarch/memmove.c: New file.
16156 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
16157 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
16158 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
16159 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
16160 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
16161 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
16163 (index_Fast_Copy_Backward): Define.
16164 (HAS_ARCH_FEATURE): Define.
16165 (HAS_FAST_REP_STRING): Define.
16166 (HAS_FAST_COPY_BACKWARD): Define.
16168 2010-06-21 Andreas Schwab <schwab@redhat.com>
16170 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16171 Restore proper fallback handling.
16173 2010-06-19 Ulrich Drepper <drepper@redhat.com>
16176 * posix/group_member.c (__group_member): Correct checking loop.
16178 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
16179 OOM in getpwuid_r correctly. Return error number when the caller
16180 should return, otherwise -1.
16181 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
16182 call returning > 0 value.
16183 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
16185 2010-06-07 Andreas Schwab <schwab@redhat.com>
16187 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
16188 libc_nonshared.a from targets in modules-names.
16190 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
16192 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
16195 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
16197 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
16198 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
16199 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
16200 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
16202 2010-06-02 Andreas Schwab <schwab@redhat.com>
16204 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
16206 2010-06-14 Ulrich Drepper <drepper@redhat.com>
16208 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
16210 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16211 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16212 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16213 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16214 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16215 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
16217 2010-06-14 Roland McGrath <roland@redhat.com>
16219 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
16221 2010-06-07 Jakub Jelinek <jakub@redhat.com>
16223 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
16224 __REDIRECT followed by __THROW.
16225 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
16226 * posix/getopt.h (getopt): Likewise.
16228 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16230 * hurd/lookup-at.c (__file_name_lookup_at): Accept
16231 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
16232 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
16234 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
16235 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
16237 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
16239 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
16241 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
16244 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16245 Properly check family and model.
16247 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
16249 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
16251 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
16253 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
16255 2010-05-21 Ulrich Drepper <drepper@redhat.com>
16257 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
16260 2010-05-19 Andreas Schwab <schwab@redhat.com>
16262 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
16265 2010-05-21 Andreas Schwab <schwab@redhat.com>
16267 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
16268 and internal_recvmmsg.
16269 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
16270 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
16271 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
16272 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
16274 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
16275 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16276 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16278 2010-05-20 Andreas Schwab <schwab@redhat.com>
16280 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
16282 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
16284 POWER7 optimizations.
16285 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
16286 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
16288 2010-05-19 Ulrich Drepper <drepper@redhat.com>
16290 * version.h: Update for 2.13 development version.
16292 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
16294 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
16295 exceptions. Return 0.
16297 2010-05-07 Roland McGrath <roland@redhat.com>
16299 * elf/ldconfig.c (main): Add a const.
16301 2010-05-06 Ulrich Drepper <drepper@redhat.com>
16303 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
16304 (args_options): Add no-idn option.
16305 (ahosts_keys_int): Add idn_flags to ai_flags.
16306 (parse_option): Handle 'i' option to clear idn_flags.
16308 * malloc/malloc.c (_int_free): Possible race in the most recently
16309 added check. Only act on the data if no current modification
16312 See ChangeLog.17 for earlier changes.