1 2012-06-01 David S. Miller <davem@davemloft.net>
3 * stdlib/longlong.h: Updated from GCC.
5 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
8 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
9 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
10 sys/debugreg.h sys/io.h here.
11 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
12 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
14 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
15 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
16 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
17 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
18 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
19 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
21 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
22 Define only if __x86_64__ is defined.
24 2012-06-01 Joseph Myers <joseph@codesourcery.com>
27 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
28 Use int64_t for variable i.
29 * math/libm-test.inc (fmod_test): Add more tests.
31 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
32 z computation is not scheduled after fetestexcept.
33 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
34 Use math_force_eval instead of asm to ensure calculation scheduled
35 before exception test.
36 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
37 Ensure a1 + u.d computation is not scheduled after fetestexcept.
39 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
41 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
42 computation is not scheduled after fetestexcept.
44 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
47 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
48 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
50 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
53 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
55 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
58 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
60 (__WCHAR_MIN): Support __WORDSIZE == 64.
61 (__WCHAR_MAX): Likewise.
63 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
64 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
67 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
68 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
71 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
72 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
74 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
75 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
77 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
78 Defined to 1 if __x86_64__ isn't defined.
79 (_STAT_VER_LINUX_OLD): New.
80 (st_atime): Remove duplicate.
84 2012-05-31 David S. Miller <davem@davemloft.net>
86 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
89 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
91 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
95 * elf/dl-reloc.c: Include <_itoa.h>.
96 (_dl_reloc_bad_type): Remove use of INTUSE.
97 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
98 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
99 * stdio-common/psiginfo.c (psiginfo): Likewise.
100 * stdio-common/psignal.c (psignal): Likewise.
101 * string/strsignal.c (strsignal): Likewise.
102 * include/signal.h (_sys_siglist): Declare hidden proto.
103 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
104 INTVARDEF with libc_hidden_data_def.
105 * stdio-common/itoa-udigits.c: Likewise.
106 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
107 (_itoa_lower_digits_internal): Remove declaration.
108 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
109 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
110 (_sys_sigabbrev_internal): Remove aliases.
111 (_sys_siglist): Define hidden alias.
113 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
115 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
118 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
121 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
122 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
124 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
125 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
126 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
127 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
128 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
129 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
131 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
132 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
133 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
135 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
143 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
144 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
145 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
147 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
148 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
149 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
150 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
151 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
152 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
154 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
155 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
157 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
158 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
160 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
161 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
162 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
164 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
165 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
167 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
169 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
170 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
171 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
173 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
175 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
177 2012-05-31 Joseph Myers <joseph@codesourcery.com>
179 * math/math.h (M_El): Use two more decimal places.
180 (M_LOG2El): Likewise.
181 (M_LOG10El): Likewise.
189 (M_2_SQRTPIl): Likewise.
190 (M_SQRT2l): Likewise.
191 (M_SQRT1_2l): Likewise.
193 2012-05-31 David S. Miller <davem@davemloft.net>
195 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
196 values between float registers.
197 * sysdeps/sparc/sparc64/memset.S: Likewise.
198 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
200 2012-05-31 Mike Frysinger <vapier@gentoo.org>
202 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
204 (CPPFLAGS-tst-longjmp_chk.c): Define.
205 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
206 (CPPFLAGS-tst-longjmp_chk2.c): Define.
207 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
208 CFLAGS-tst-wchar-h.c.
210 2012-05-31 Marek Polacek <polacek@redhat.com>
213 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
214 __endmntent_internal): Remove declaration.
215 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
216 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
217 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
219 2012-05-30 David S. Miller <davem@davemloft.net>
221 * sysdeps/sparc/sparc32/soft-fp/q_util.c
222 (___Q_simulate_exceptions): Use real FP ops rather than writing
224 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
227 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
230 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
231 * sysdeps/x86/bits/xtitypes.h: This.
233 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
234 * sysdeps/x86/bits/wordsize.h: This.
236 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
237 * sysdeps/x86/bits/huge_vall.h: This.
239 * sysdeps/i386/bits/select.h: Removed.
240 * sysdeps/x86_64/bits/select.h: Renamed to ...
241 * sysdeps/x86/bits/select.h: This.
243 * sysdeps/i386/bits/setjmp.h: Removed.
244 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
245 * sysdeps/x86/bits/setjmp.h: This.
247 * sysdeps/i386/bits/mathdef.h: Removed.
248 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
249 * sysdeps/x86/bits/mathdef.h: This.
251 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
254 * include/sys/socket.h (__connect_internal)
255 (__libc_sa_len_internal): Remove declaration.
256 (__connect, __libc_sa_len): Declare hidden_proto.
257 (SA_LEN): Remove use of INTUSE.
258 * socket/connect.c: Add libc_hidden_def.
259 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
260 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
261 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
263 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
264 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
265 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
266 of adding _internal alias.
268 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
271 * sysdeps/i386/bits/link.h: Removed.
272 * sysdeps/i386/bits/linkmap.h: Likewise.
273 * sysdeps/x86_64/bits/link.h: Renamed to ...
274 * sysdeps/x86/bits/link.h: This.
275 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
276 * sysdeps/x86/bits/linkmap.h: This.
278 * sysdeps/i386/bits/endian.h: Removed.
279 * sysdeps/x86_64/bits/endian.h: Renamed to ...
280 * sysdeps/x86/bits/endian.h: This.
282 * sysdeps/i386/bits/byteswap.h: Removed.
283 * sysdeps/i386/bits/byteswap-16.h: Likewise.
284 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
285 * sysdeps/x86/bits/byteswap.h: This.
286 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
287 * sysdeps/x86/bits/byteswap-16.h: This.
288 * sysdeps/i386/Implies: Add x86.
289 * sysdeps/x86_64/Implies: Likewise.
291 2012-05-30 David S. Miller <davem@davemloft.net>
293 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
294 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
295 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
296 (FP_TRAPPING_EXCEPTIONS): Define.
297 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
298 (FP_TRAPPING_EXCEPTIONS): Define.
299 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
300 subnormals only when inexact has been signalled or underflow
301 exceptions are enabled.
302 (_FP_PACK_CANONICAL): Likewise.
304 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
307 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
308 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
310 2012-05-30 Richard Henderson <rth@twiddle.net>
312 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
313 with #ifndef NOT_IN_libc.
315 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
316 marked to avoid plt entry.
318 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
321 * Makeconfig (default-abi): New macro.
322 (abi-includes): Likewise.
323 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
324 $(abi-$(default-abi)-lib-soname) for soname if defined.
325 ($(common-objpfx)gnu/lib-names.stmp): Generate from
327 * Makefile (installed-stubs): Likewise.
328 * include/stubs-biarch.h: Removed.
329 * scripts/lib-names.awk: Only handle one library at a time.
330 * scripts/soversions.awk: Remove WORDSIZE support.
331 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
333 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
335 (syscall-list-default-condition): Likewise.
336 (syscall-list-default-condition): Likewise.
337 (syscall-list-includes): Likewise.
338 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
339 syscall-list-* with abi-*. Handle undefined abi-variants.
340 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
341 * sysdeps/unix/sysv/linux/i386/Implies: New file.
342 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
343 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
344 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
345 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
347 (syscall-list-32-options): Likewise.
348 (syscall-list-32-condition): Likewise.
349 (syscall-list-64-options): Likewise.
350 (syscall-list-64-condition): Likewise.
351 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
353 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
356 (abi-64-ld-soname): New macro.
357 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
358 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
361 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
362 * sysdeps/x86_64/x32/shlib-versions: Likewise.
364 2012-05-30 Joseph Myers <joseph@codesourcery.com>
366 * sysdeps/unix/sysv/linux/kernel-features.h
367 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
368 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
369 include <kernel-features.h>.
370 [!__NR_ftruncate64]: Remove conditional code.
371 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
372 [__NR_ftruncate64]: Make code unconditional.
373 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
374 * sysdeps/unix/sysv/linux/truncate64.c: Do not
375 include <kernel-features.h>.
376 [!__NR_ftruncate64]: Remove conditional code.
377 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
378 [__NR_ftruncate64]: Make code unconditional.
379 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
381 include <kernel-features.h>.
382 [!__NR_ftruncate64]: Remove conditional code.
383 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
384 [__NR_ftruncate64]: Make code unconditional.
385 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
387 include <kernel-features.h>.
388 [!__NR_ftruncate64]: Remove conditional code.
389 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
390 [__NR_ftruncate64]: Make code unconditional.
391 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
393 * configure.in (libc_cv_fpie): Weaken to a compile test using
395 * configure: Regenerated.
397 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
399 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
400 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
401 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
402 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
404 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
405 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
406 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
407 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
408 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
409 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
412 2012-05-27 David S. Miller <davem@davemloft.net>
414 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
416 (__Q_simulate_exceptions): Return void. Change to simulate
417 exceptions by writing into the %fsr.
418 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
419 (__Qp_handle_exceptions): Likewise.
421 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
422 __Qp_handle_exceptions.
423 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
424 __Qp_handle_exceptions.
425 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
426 as unused and give dummy FP_RND_NEAREST initializer.
427 (FP_INHIBIT_RESULTS): Define.
428 (___Q_simulate_exceptions): Update declaration.
429 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
431 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
432 as unused and give dummy FP_RND_NEAREST initializer.
433 (__Qp_handle_exceptions): Update declaration.
434 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
437 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
439 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
440 the temporary FPU control word.
441 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
442 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
443 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
444 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
445 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
446 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
447 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
448 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
449 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
450 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
451 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
453 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
455 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
458 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
460 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
461 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
462 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
463 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
465 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
466 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
469 2012-05-27 Ulrich Drepper <drepper@gmail.com>
471 * po/h.po: Update from translation team.
473 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
475 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
477 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
478 handling of denormals.
479 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
480 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
481 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
482 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
483 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
484 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
485 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
488 2012-05-26 Marek Polacek <polacek@redhat.com>
491 * math/libm-test.inc (fma_test): Don't always expect underflow
494 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
497 * elf/tst-execstack.c: Include stackinfo.h.
498 (do_test): Adjust test case to ensure that pthread_getattr_np
499 behaviour remains the same after marking stack executable.
501 2012-05-25 Joseph Myers <joseph@codesourcery.com>
503 * sysdeps/unix/sysv/linux/kernel-features.h
504 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
505 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
507 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
508 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
509 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
511 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
512 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
514 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
516 * configure.in: Define the default includes to being none.
517 * configure: Regenerated.
519 2012-05-25 Roland McGrath <roland@hack.frob.com>
521 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
522 * sysdeps/x86_64/setjmp.S: Likewise.
523 * sysdeps/i386/bsd-setjmp.S: Likewise.
524 * sysdeps/i386/bsd-_setjmp.S: Likewise.
525 * sysdeps/i386/setjmp.S: Likewise.
526 * sysdeps/i386/__longjmp.S: Likewise.
527 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
528 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
530 * include/stap-probe.h: New file.
531 * configure.in: Handle --enable-systemtap.
532 * configure: Regenerated.
533 * config.h.in (USE_STAP_PROBE): New #undef.
534 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
535 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
536 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
538 2012-05-25 Joseph Myers <joseph@codesourcery.com>
541 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
542 to 2.4.0 where earlier.
543 * sysdeps/unix/sysv/linux/configure: Regenerated.
544 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
546 [__ASSUME_32BITUIDS]: Make code unconditional.
547 [!__ASSUME_32BITUIDS]: Remove conditional code.
548 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
550 [__ASSUME_32BITUIDS]: Make code unconditional.
551 [!__ASSUME_32BITUIDS]: Remove conditional code.
552 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
553 [__ASSUME_32BITUIDS]: Make code unconditional.
554 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
555 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
557 [__ASSUME_32BITUIDS]: Make code unconditional.
558 [!__ASSUME_32BITUIDS]: Remove conditional code.
559 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
561 [__ASSUME_32BITUIDS]: Make code unconditional.
562 [!__ASSUME_32BITUIDS]: Remove conditional code.
563 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
565 [__ASSUME_32BITUIDS]: Make code unconditional.
566 [!__ASSUME_32BITUIDS]: Remove conditional code.
567 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
569 [__ASSUME_32BITUIDS]: Make code unconditional.
570 [!__ASSUME_32BITUIDS]: Remove conditional code.
571 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
573 [__ASSUME_32BITUIDS]: Make code unconditional.
574 [!__ASSUME_32BITUIDS]: Remove conditional code.
575 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
577 [__ASSUME_32BITUIDS]: Make code unconditional.
578 [!__ASSUME_32BITUIDS]: Remove conditional code.
579 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
581 [__ASSUME_32BITUIDS]: Make code unconditional.
582 [!__ASSUME_32BITUIDS]: Remove conditional code.
583 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
585 [__ASSUME_32BITUIDS]: Make code unconditional.
586 [!__ASSUME_32BITUIDS]: Remove conditional code.
587 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
589 [__ASSUME_32BITUIDS]: Make code unconditional.
590 [!__ASSUME_32BITUIDS]: Remove conditional code.
591 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
593 [__ASSUME_32BITUIDS]: Make code unconditional.
594 [!__ASSUME_32BITUIDS]: Remove conditional code.
595 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
597 [__NR_setresgid] (__setresgid): Do not declare.
598 [__ASSUME_32BITUIDS]: Make code unconditional.
599 [!__ASSUME_32BITUIDS]: Remove conditional code.
600 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
602 [__NR_setresuid] (__setresuid): Do not declare.
603 [__ASSUME_32BITUIDS]: Make code unconditional.
604 [!__ASSUME_32BITUIDS]: Remove conditional code.
605 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
607 [__ASSUME_32BITUIDS]: Make code unconditional.
608 [!__ASSUME_32BITUIDS]: Remove conditional code.
609 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
611 [__ASSUME_32BITUIDS]: Make code unconditional.
612 [!__ASSUME_32BITUIDS]: Remove conditional code.
613 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
615 [__ASSUME_32BITUIDS]: Make code unconditional.
616 [!__ASSUME_32BITUIDS]: Remove conditional code.
617 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
619 [__ASSUME_32BITUIDS]: Make code unconditional.
620 [!__ASSUME_32BITUIDS]: Remove conditional code.
621 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
623 [__ASSUME_32BITUIDS]: Make code unconditional.
624 [!__ASSUME_32BITUIDS]: Remove conditional code.
625 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
627 [__ASSUME_32BITUIDS]: Make code unconditional.
628 [!__ASSUME_32BITUIDS]: Remove conditional code.
629 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
631 [__ASSUME_32BITUIDS]: Make code unconditional.
632 [!__ASSUME_32BITUIDS]: Remove conditional code.
633 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
635 [__ASSUME_32BITUIDS]: Make code unconditional.
636 [!__ASSUME_32BITUIDS]: Remove conditional code.
637 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
639 [__ASSUME_32BITUIDS]: Make code unconditional.
640 [!__ASSUME_32BITUIDS]: Remove conditional code.
641 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
643 [__ASSUME_32BITUIDS]: Make code unconditional.
644 [!__ASSUME_32BITUIDS]: Remove conditional code.
645 * sysdeps/unix/sysv/linux/kernel-features.h
646 (__ASSUME_SETRESUID_SYSCALL): Remove.
647 (__ASSUME_SETRESGID_SYSCALL): Likewise.
648 (__ASSUME_32BITUIDS): Likewise.
649 (__ASSUME_LDT_WORKS): Likewise.
650 (__ASSUME_O_DIRECTORY): Likewise.
651 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
652 architecture but not kernel version.
653 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
654 (__ASSUME_MMAP2_SYSCALL): Likewise.
655 (__ASSUME_STAT64_SYSCALL): Likewise.
656 (__ASSUME_IPC64): Likewise.
657 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
659 [__ASSUME_32BITUIDS]: Make code unconditional.
660 [!__ASSUME_32BITUIDS]: Remove conditional code.
661 * sysdeps/unix/sysv/linux/opendir.c: Do not include
663 [__ASSUME_O_DIRECTORY]: Make code unconditional.
664 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
665 132096]: Remove conditional code.
666 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
667 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
669 [__ASSUME_32BITUIDS]: Make code unconditional.
670 [!__ASSUME_32BITUIDS]: Remove conditional code.
671 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
673 [__ASSUME_32BITUIDS]: Make code unconditional.
674 [!__ASSUME_32BITUIDS]: Remove conditional code.
675 * sysdeps/unix/sysv/linux/setegid.c: Do not include
677 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
679 (__setresgid): Do not declare.
680 [__ASSUME_32BITUIDS]: Make code unconditional.
681 [!__ASSUME_32BITUIDS]: Remove conditional code.
682 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
684 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
686 (__setresuid): Do not declare.
687 [__ASSUME_32BITUIDS]: Make code unconditional.
688 [!__ASSUME_32BITUIDS]: Remove conditional code.
689 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
691 [__ASSUME_32BITUIDS]: Make code unconditional.
692 [!__ASSUME_32BITUIDS]: Remove conditional code.
693 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
695 [__ASSUME_32BITUIDS]: Make code unconditional.
696 [!__ASSUME_32BITUIDS]: Remove conditional code.
698 2012-05-25 Richard Henderson <rth@twiddle.net>
700 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
701 dl_hwcap to ifunc resolver.
702 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
704 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
705 dl_hwcap to ifunc resolver.
706 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
708 2012-05-24 Joseph Myers <joseph@codesourcery.com>
711 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
712 for |x| <= 2**-26, not 2**-57.
713 * math/libm-test.inc (acos_test): Do not allow spurious underflow
716 2012-05-24 Jeff Law <law@redhat.com>
718 * stdio-common/Makefile (tests): Add bug25.
719 * stdio-common/bug25.c: New test.
721 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
724 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
725 multiple of MALLOC_ALIGNMENT in size.
726 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
728 2012-05-24 Joseph Myers <joseph@codesourcery.com>
730 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
732 (FILENAME_MAX): Use macro-int-constant.
733 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
734 (_IOFBF): Use macro-int-constant.
737 (SEEK_CUR): Likewise.
738 (SEEK_END): Likewise.
739 (SEEK_SET): Likewise.
741 (EOF): Use macro-int-constant. Require < 0.
742 (NULL): Use macro-constant. Require == 0.
743 (stdin): Require type to be FILE *.
746 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
748 (EXIT_SUCCESS): Likewise.
749 (NULL): Use macro-constant. Require == 0.
750 (RAND_MAX): Use macro-int-constant.
751 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
752 [C99-based standards] (strtof): Require function.
753 [C99-based standards] (strtold): Likewise.
754 [C99-based standards] (strtoll): Likewise.
755 [C99-based standards] (strtoull): Likewise.
756 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
757 [ISO || ISO99 || ISO11] (limits.h): Likewise.
758 [ISO || ISO99 || ISO11] (math.h): Likewise.
759 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
760 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
761 [ISO || ISO99 || ISO11] (*_t): Do not allow.
763 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
766 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
767 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
768 * intl/dgettext.c (DCGETTEXT): Likewise.
769 * intl/gettext.c (DCGETTEXT): Likewise.
770 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
771 * posix/regex_internal.h (gettext): Likewise.
772 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
774 * include/argz.h (__argz_count_internal)
775 (__argz_stringify_internal): Remove declaration.
776 (__argz_count, __argz_stringify): Declare hidden proto.
777 * intl/dcgettext.c: Remove use of INTDEF.
778 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
779 * string/argz-stringify.c: Likewise.
780 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
781 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
782 Declare hidden proto.
783 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
784 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
785 Declare hidden proto.
786 * include/stdio.h (__asprintf_internal): Don't declare.
787 (__asprintf): Don't define as macro. Declare hidden proto.
788 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
789 (__fsetlocking): Declare hidden proto.
790 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
791 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
793 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
794 (_IO_setlinebuf): Remove use of INTUSE.
795 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
796 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
797 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
799 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
800 (_IO_do_flush): Remove use of INTUSE.
801 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
802 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
803 (_IO_adjust_column, _IO_least_wmarker)
804 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
805 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
806 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
807 (_IO_default_doallocate, _IO_wdefault_doallocate)
808 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
809 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
810 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
811 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
812 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
813 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
814 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
815 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
816 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
817 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
818 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
819 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
820 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
822 (_IO_flush_all_internal, _IO_adjust_column_internal)
823 (_IO_default_uflow_internal, _IO_default_finish_internal)
824 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
825 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
826 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
827 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
828 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
829 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
830 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
831 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
832 (_IO_file_close_internal, _IO_file_close_it_internal)
833 (_IO_file_underflow_internal, _IO_file_overflow_internal)
834 (_IO_file_init_internal, _IO_file_attach_internal)
835 (_IO_file_fopen_internal, _IO_file_read_internal)
836 (_IO_file_sync_internal, _IO_file_seek_internal)
837 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
838 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
839 (_IO_str_underflow_internal, _IO_str_overflow_internal)
840 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
841 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
842 (_IO_list_all_internal, _IO_link_in_internal)
843 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
844 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
845 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
846 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
847 (_IO_do_write_internal, _IO_padn_internal)
848 (_IO_getline_info_internal, _IO_getline_internal)
849 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
850 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
851 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
852 (_IO_vfscanf_internal, _IO_vfprintf_internal)
853 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
854 (_IO_init_internal, _IO_un_link_internal): Don't declare.
855 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
856 with libc_hidden_ver, remove use of INTUSE.
857 * libio/genops.c: Likewise.
858 * libio/freopen.c: Likewise.
859 * libio/freopen64.c: Likewise.
860 * libio/iofclose.c: Likewise.
861 * libio/iofdopen.c: Likewise.
862 * libio/iofflush.c: Likewise.
863 * libio/iofflush_u.c: Likewise.
864 * libio/iofgets.c: Likewise.
865 * libio/iofgets_u.c: Likewise.
866 * libio/iofopen.c: Likewise.
867 * libio/iofopncook.c: Likewise.
868 * libio/iofread.c: Likewise.
869 * libio/iofread_u.c: Likewise.
870 * libio/ioftell.c: Likewise.
871 * libio/iofwrite.c: Likewise.
872 * libio/iogetline.c: Likewise.
873 * libio/iogets.c: Likewise.
874 * libio/iogetwline.c: Likewise.
875 * libio/iopadn.c: Likewise.
876 * libio/iopopen.c: Likewise.
877 * libio/ioseekoff.c: Likewise.
878 * libio/ioseekpos.c: Likewise.
879 * libio/iosetbuffer.c: Likewise.
880 * libio/iosetvbuf.c: Likewise.
881 * libio/ioungetc.c: Likewise.
882 * libio/ioungetwc.c: Likewise.
883 * libio/iovdprintf.c: Likewise.
884 * libio/iovsprintf.c: Likewise.
885 * libio/iovsscanf.c: Likewise.
886 * libio/memstream.c: Likewise.
887 * libio/obprintf.c: Likewise.
888 * libio/oldfileops.c: Likewise.
889 * libio/oldiofclose.c: Likewise.
890 * libio/oldiofdopen.c: Likewise.
891 * libio/oldiofopen.c: Likewise.
892 * libio/oldiopopen.c: Likewise.
893 * libio/oldstdfiles.c: Likewise.
894 * libio/putc.c: Likewise.
895 * libio/setbuf.c: Likewise.
896 * libio/setlinebuf.c: Likewise.
897 * libio/stdfiles.c: Likewise.
898 * libio/strops.c: Likewise.
899 * libio/vasprintf.c: Likewise.
900 * libio/vscanf.c: Likewise.
901 * libio/vsnprintf.c: Likewise.
902 * libio/vswprintf.c: Likewise.
903 * libio/wfiledoalloc.c: Likewise.
904 * libio/wfileops.c: Likewise.
905 * libio/wgenops.c: Likewise.
906 * libio/wmemstream.c: Likewise.
907 * libio/wstrops.c: Likewise.
908 * libio/__fpurge.c: Likewise.
909 * libio/__fsetlocking.c: Likewise.
910 * assert/assert.c: Likewise.
911 * debug/fgets_chk.c: Likewise.
912 * debug/fgets_u_chk.c: Likewise.
913 * debug/fread_chk.c: Likewise.
914 * debug/fread_u_chk.c: Likewise.
915 * debug/gets_chk.c: Likewise.
916 * debug/obprintf_chk.c: Likewise.
917 * debug/vasprintf_chk.c: Likewise.
918 * debug/vdprintf_chk.c: Likewise.
919 * debug/vsnprintf_chk.c: Likewise.
920 * debug/vsprintf_chk.c: Likewise.
921 * malloc/mtrace.c: Likewise.
922 * misc/error.c: Likewise.
923 * misc/syslog.c: Likewise.
924 * stdio-common/asprintf.c: Likewise.
925 * stdio-common/fxprintf.c: Likewise.
926 * stdio-common/getw.c: Likewise.
927 * stdio-common/isoc99_fscanf.c: Likewise.
928 * stdio-common/isoc99_scanf.c: Likewise.
929 * stdio-common/isoc99_vfscanf.c: Likewise.
930 * stdio-common/isoc99_vscanf.c: Likewise.
931 * stdio-common/isoc99_vsscanf.c: Likewise.
932 * stdio-common/printf-prs.c: Likewise.
933 * stdio-common/printf_fp.c: Likewise.
934 * stdio-common/printf_fphex.c: Likewise.
935 * stdio-common/printf_size.c: Likewise.
936 * stdio-common/putw.c: Likewise.
937 * stdio-common/scanf.c: Likewise.
938 * stdio-common/sprintf.c: Likewise.
939 * stdio-common/tmpfile.c: Likewise.
940 * stdio-common/vfprintf.c: Likewise.
941 * stdio-common/vfscanf.c: Likewise.
942 * stdlib/strfmon_l.c: Likewise.
943 * sunrpc/openchild.c: Likewise.
944 * sunrpc/xdr_stdio.c: Likewise.
945 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
946 * sysdeps/mach/hurd/tmpfile.c: Likewise.
948 2012-05-24 Roland McGrath <roland@hack.frob.com>
950 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
952 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
953 in the third column, to generate for the shared library an IFUNC
954 that uses _dl_vdso_vsym.
955 * Makerules (COMPILE.c, compile-stdin.c): New variables.
956 * Makeconfig (object-suffixes-noshared): New variable.
958 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
959 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
960 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
961 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
964 * include/sys/time.h (__gettimeofday): Remove macro.
965 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
966 * time/gettimeofday.c (__gettimeofday): Remove #undef.
968 (__gettimeofday): Add libc_hidden_def.
969 (gettimeofday): Add libc_hidden_weak.
970 * sysdeps/mach/gettimeofday.c: Likewise.
971 * sysdeps/posix/gettimeofday.c: Likewise.
972 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
973 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
974 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
975 (__gettimeofday_internal): Remove strong_alias.
976 (__gettimeofday): Add libc_hidden_def.
977 (gettimeofday): Add libc_hidden_weak.
978 * sysdeps/unix/syscalls.list (gettimeofday):
979 Remove __gettimeofday_internal alias.
981 2012-05-24 Daniel Jacobowitz <drow@false.org>
982 H.J. Lu <hongjiu.lu@intel.com>
985 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
986 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
987 (largebin_index_32_big): New.
988 (largebin_index): Use it for 16-byte alignment.
989 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
990 correction with front_misalign.
992 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
994 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
995 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
997 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
999 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
1001 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
1003 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
1005 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
1007 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
1009 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1011 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
1013 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
1015 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
1017 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
1020 * scripts/data/c++-types-x32-linux-gnu.data: New file.
1021 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
1023 2012-05-24 Joseph Myers <joseph@codesourcery.com>
1027 * math/libm-test.inc (exp_test): Add test from bug 14036.
1028 (pow_test): Add test from bug 10846.
1030 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
1032 (special_function): Do not include flags in test name.
1033 (parse_args): Likewise.
1034 * sysdeps/i386/fpu/libm-test-ulps: Update.
1035 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1036 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1037 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1038 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1040 * math/gen-libm-test.pl (%beautify): Add entries for underflow
1042 * math/libm-test.inc ("Philosophy"): Update comment about
1044 (UNDERFLOW_EXCEPTION): New macro.
1045 (UNDERFLOW_EXCEPTION_OK): Likewise.
1046 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
1047 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
1048 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
1049 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
1050 (INVALID_EXCEPTION_OK): Update value.
1051 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1052 (OVERFLOW_EXCEPTION_OK): Likewise.
1053 (IGNORE_ZERO_INF_SIGN): Likewise.
1054 (test_exceptions): Handle underflow exceptions.
1055 (acos_test): Update for underflow exception expectations.
1056 (cexp_test): Likewise.
1057 (clog_test): Likewise.
1058 (clog10_test): Likewise.
1059 (csqrt_test): Likewise.
1060 (ctan_test): Likewise.
1061 (ctanh_test): Likewise.
1062 (exp_test): Likewise.
1063 (exp10_test): Likewise.
1064 (exp2_test): Likewise.
1065 (expm1_test): Likewise.
1066 (fma_test): Likewise.
1067 (j0_test): Likewise.
1068 (jn_test): Likewise.
1069 (nexttoward_test): Likewise.
1070 (pow_test): Likewise.
1071 (scalbn_test): Likewise.
1072 (scalbln_test): Likewise.
1073 (tan_test): Likewise.
1074 (y1_test): Likewise.
1075 * sysdeps/i386/fpu/libm-test-ulps: Update.
1076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1078 2012-05-23 David S. Miller <davem@davemloft.net>
1080 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1081 (__libc_sigaction): Remove unused local variables.
1083 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1085 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
1087 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
1089 mktime: avoid signed integer overflow
1090 * time/mktime.c (__mktime_internal): Do not mishandle the case
1091 where diff == INT_MIN.
1093 mktime: simplify computation of average
1094 * time/mktime.c (ranged_convert): Use new time_t_avg function
1095 instead of rolling our own (probably-slower) code.
1097 mktime: do not assume signed right shift propagates sign bit
1098 * time/mktime.c (isdst_differ): New static function.
1099 (__mktime_internal): No need to normalize tm_isdst now.
1100 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
1103 mktime: merge another wrapv change from gnulib
1104 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
1105 from some compilers.
1107 mktime: remove incorrect attempt at unusual arithmetics
1108 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
1109 The code didn't really work on such machines anyway.
1110 (TYPE_MINIMUM): Assume two's complement.
1111 (twos_complement_arithmetic): Verify that long_int and time_t
1112 are two's complement (or unsigned, in the latter case).
1114 mktime: check signed shifts on long_int and time_t, too
1115 * time/mktime.c (SHR): Check that shifts work as desired
1116 on the types long_int and time_t too, as SHR is used on
1119 mktime: do not assume 'long' is wide enough
1120 * time/mktime.c (verify): Move decl up.
1121 (long_int): New type.
1122 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
1123 to remove assumption in the code that 'long' is wide enough to
1124 store year values. This assumption is not true on x32 and on
1125 some non-glibc platforms.
1127 mktime: merge wrapv change from gnulib
1128 * time/mktime.c (WRAPV): New macro.
1129 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
1130 (guess_time_tm, __mktime_internal): Do not assume that signed
1131 integer overflow wraps around; modern compilers generate code
1132 where this assumption is no longer valid.
1134 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1136 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1137 Replace "jmp L(pseudo_end)" with "ret".
1138 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
1141 2012-05-23 Andreas Jaeger <aj@suse.de>
1143 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
1144 * sysdeps/unix/sysv/linux/poll.c: Remove file.
1146 2012-05-23 Andreas Jaeger <aj@suse.de>
1147 Maximilian Attems <max@stro.at>
1149 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
1152 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1154 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
1155 code so that pseudo_end is just ret and the stack pointer is
1156 correct also for static library in error case.
1158 2012-05-23 Joseph Myers <joseph@codesourcery.com>
1160 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
1161 move to syscalls.list.
1162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1167 * manual/install.texi (Running make install): Do not mention Linux
1168 kernel version for which pt_chown is not needed.
1169 (Linux): Do not mention problems with nscd with 2.0 kernels.
1170 * INSTALL: Regenerated.
1172 2012-05-23 Andreas Jaeger <aj@suse.de>
1174 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
1175 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
1177 * sysdeps/unix/sysv/linux/s390/bits/mman.h
1178 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1179 * sysdeps/unix/sysv/linux/sh/bits/mman.h
1180 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1181 * sysdeps/unix/sysv/linux/i386/bits/mman.h
1182 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1183 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
1184 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1185 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
1186 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1187 * sysdeps/unix/sysv/linux/bits/in.h
1188 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
1190 2012-05-22 Roland McGrath <roland@hack.frob.com>
1192 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
1193 (PREPARE_VERSION): Just use assert instead, it will be elided
1194 under [NDEBUG] anyway.
1196 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1198 * sysdeps/unix/sysv/linux/Makefile: Include
1199 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
1200 (sysdep_routines): Remove sysctl.
1201 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
1202 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
1203 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
1204 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
1205 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
1207 2012-05-22 Andreas Jaeger <aj@suse.de>
1209 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
1210 that pseudo_end is just ret and the stack pointer is correct also
1211 for static library in error case.
1213 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
1216 * nss/nsswitch.c (defconfig_entries): New variable.
1217 (__nss_database_lookup): Don't leak defconfig entries.
1218 (nss_parse_service_list): Don't leak on error paths.
1219 (free_database_entries): New function.
1220 (free_defconfig): New function.
1221 (free_mem): Move common code to free_database_entries.
1223 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1225 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
1227 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
1229 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1230 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
1231 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
1233 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
1234 (INTERNAL_SYSCALL_TYPES): Likewise.
1235 (LOAD_ARGS_TYPES_[1-6]): Likewise.
1236 (LOAD_REGS_TYPES_[1-6]): Likewise.
1237 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
1238 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
1240 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1242 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
1243 copysignl for GLIBC_2_0.
1244 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
1245 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
1246 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
1247 logbl for GLIBC_2_0.
1248 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1249 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1251 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1253 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
1254 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1256 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1259 * time/mktime.c: Update copyright years.
1261 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
1263 mktime: merge comment-quoting-style change from gnulib
1264 * time/mktime.c: Quote 'like this' in comments.
1265 The GNU coding standards suggest that we no longer quote `like this',
1266 as "`" and "'" are typically rendered asymmetrically nowadays.
1267 The typical gnulib style is to quote 'like this' when quoting
1268 code, and "like this" when quoting English.
1270 * time/mktime.c (compile-command): Add "-I.".
1272 mktime: merge mktime-internal.h change from gnulib
1273 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
1275 mktime: merge time_r change from gnulib
1276 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
1278 mktime: merge DEBUG change from gnulib
1279 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
1280 case system <time.h> has a #define.
1282 mktime: merge <sys/types.h> change from gnulib
1283 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
1284 since <time.t> is now guaranteed to define time_t.
1286 mktime: merge HAVE_CONFIG_H change from gnulib
1287 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
1289 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1291 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1294 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
1296 (struct rusage): Use anonymous union to pad each field to
1299 2012-05-21 David S. Miller <davem@davemloft.net>
1301 * Makefules (o-iterator): Remove .s cases.
1302 (compile-command.s): Delete.
1303 (COMPILE.s): Delete.
1304 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
1306 2012-05-21 Joseph Myers <joseph@codesourcery.com>
1308 * configure.in (libc_cv_predef_stack_protector): Only consider
1309 "foobar" and "__stack_chk_fail" lines in libc_undefs.
1310 * configure: Regenerated.
1312 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1314 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1315 New macro. Use R*LP on int and pointer.
1316 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
1317 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
1318 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
1319 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
1321 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
1322 [__WORDSIZE_TIME64_COMPAT32] instead of
1323 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
1324 (struct utmp): Likewise.
1325 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
1326 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
1328 (__WORDSIZE_TIME64_COMPAT32): This.
1329 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
1330 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
1331 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
1332 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
1333 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
1334 (__WORDSIZE_TIME64_COMPAT32): New macro.
1336 2012-05-21 Andreas Jaeger <aj@suse.de>
1338 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
1339 only if [SHARED]. Add prototype for __wcschr_ia32.
1341 2012-05-21 Roland McGrath <roland@hack.frob.com>
1343 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
1344 of %rbp unmolested in the jmp_buf while mangling the low bits.
1345 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
1346 unmolested high bits of %rbp while demangling the low bits.
1347 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
1349 2012-05-21 Andreas Jaeger <aj@suse.de>
1351 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
1352 * sunrpc/svc_simple.c: Use it for registerrpc.
1353 * sunrpc/xcrypt.c: Use it for passwd2des.
1355 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
1357 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1359 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
1360 Don't define if [__SYSCALL_WORDSIZE != 32].
1361 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
1364 2012-05-21 Bruno Haible <bruno@clisp.org>
1365 Andreas Jaeger <aj@suse.de>
1367 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
1368 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
1369 inptr and inend for must_buffer_ch.
1370 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
1371 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
1372 * stdio-common/Makefile (tests): Remove bug15.
1373 (bug15-ENV): Remove macro.
1374 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
1377 2012-05-19 Andreas Jaeger <aj@suse.de>
1378 Roland McGrath <roland@hack.frob.com>
1380 * manual/contrib.texi: Completely rewritten. It contains now an
1381 alphabetical list of contributors and their contributions.
1383 2012-05-21 Richard Henderson <rth@twiddle.net>
1385 * misc/getauxval.c (__getauxval): Use unsigned long int.
1386 * misc/sys/auxv.h: Include <sys/cdefs.h>.
1387 (getauxval): Use unsigned long int.
1389 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1391 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1393 2012-05-21 Roland McGrath <roland@hack.frob.com>
1395 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
1396 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
1397 __alignof__ (long double).
1399 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1401 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1403 2012-05-20 Richard Henderson <rth@twiddle.net>
1405 * misc/getauxval.c: New file.
1406 * misc/sys/auxv.h: New file.
1407 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
1408 (routines): Add getauxval.
1409 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
1410 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
1411 * elf/dl-sysdep.c (_dl_auxv): Remove.
1412 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
1413 * elf/dl-support.c (_dl_auxv): New variable.
1414 (_dl_aux_init): Initialize it.
1415 * manual/startup.texi (Auxiliary Vector): New node.
1416 * sysdeps/generic/bits/hwcap.h: New file.
1417 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
1418 * sysdeps/powerpc/sysdep.h: ... here. Include it.
1419 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
1420 * sysdeps/sparc/sysdep.h: ... here. Include it.
1421 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
1422 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
1423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
1426 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
1427 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
1428 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
1429 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1430 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1431 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
1432 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
1434 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1436 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1438 2012-05-19 David S. Miller <davem@davemloft.net>
1440 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1442 2012-05-19 Joseph Myers <joseph@codesourcery.com>
1445 * math/s_ccosh.c: Include <float.h>
1446 (__ccosh): Avoid internal overflow calculating sinh and cosh
1447 values before multiplying by sin and cos values.
1448 * math/s_ccoshf.c: Likewise.
1449 * math/s_ccoshl.c: Likewise.
1450 * math/s_csin.c: Likewise.
1451 * math/s_csinf.c: Likewise.
1452 * math/s_csinl.c: Likewise.
1453 * math/s_csinh.c: Likewise.
1454 * math/s_csinhf.c: Likewise.
1455 * math/s_csinhl.c: Likewise.
1456 * math/libm-test.inc (ccos_test): Add more tests.
1457 (ccosh_test): Likewise.
1458 (csin_test): Likewise.
1459 (csinh_test): Likewise.
1460 * sysdeps/i386/fpu/libm-test-ulps: Update.
1461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1463 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
1465 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
1466 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
1468 * sysdeps/x86_64/x32/_itoa.h: Add comment.
1470 2012-05-19 Joseph Myers <joseph@codesourcery.com>
1472 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
1473 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
1474 * sysdeps/powerpc/soft-fp/Versions: Likewise.
1475 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
1476 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
1477 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
1478 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
1479 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
1480 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
1481 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
1482 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
1483 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
1484 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
1485 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
1486 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
1487 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
1488 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
1489 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
1490 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
1491 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
1492 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
1493 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
1494 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
1495 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
1496 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
1497 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
1498 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
1499 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
1500 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
1501 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
1502 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
1504 2012-05-18 Andreas Jaeger <aj@suse.de>
1506 * csu/.gitignore: Delete.
1508 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1510 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
1511 (timex): Use __syscall_slong_t.
1513 2012-05-18 Andreas Jaeger <aj@suse.de>
1514 Carlos O'Donell <carlos_odonell@mentor.com>
1516 * manual/install.texi (Configuring and compiling): Update
1517 description about files modified in the source directory.
1518 * INSTALL: Regenerated.
1520 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1522 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
1523 value. Use "or" to set return value to -1.
1524 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
1525 negate return value.
1527 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1529 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
1530 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
1531 failure if the compiler has Graphite support disabled.
1532 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
1534 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
1535 CFLAGS-memmove.c): Likewise.
1536 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
1539 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1541 * sysdeps/x86_64/x32/_itoa.h: New file.
1543 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
1544 getdents system call only if kernel and user dirents have the
1545 same d_ino and d_off.
1547 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1548 LLONG_MAX != LONG_MAX.
1549 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1550 (_fitoa_word): Likewise.
1552 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
1554 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
1555 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
1556 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
1558 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
1559 include <bits/wordsize.h>. Check __x86_64__ instead of
1561 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
1562 if __x86_64__ is defined. Use anonymous union on fpstate.
1564 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
1567 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
1569 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
1570 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
1571 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
1572 Refer to _rtld_local_ro instead of _rtld_global_ro.
1573 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
1575 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
1577 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
1579 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
1580 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
1581 of _rtld_global, and rtld_progname instead of _dl_argv[0].
1583 * sysdeps/powerpc/powerpc32/dl-machine.c
1584 (__elf_machine_runtime_setup) [PROF]: Don't reference
1587 2012-05-18 Andreas Jaeger <aj@suse.de>
1589 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
1590 function only available for GCCs before 3.4 since GCC 3.4
1591 introduced a builtin.
1593 (llrintf): Likewise.
1601 (nearbyint): Likewise.
1602 (nearbyintf): Likewise.
1608 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1610 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
1611 on both fields and cast pointer to __syscall_ulong_t.
1613 * bits/types.h (__fsword_t): New type.
1614 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
1615 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
1616 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1617 (__FSWORD_T_TYPE): Likewise.
1618 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1619 (__FSWORD_T_TYPE): Likewise.
1620 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1621 (__FSWORD_T_TYPE): Likewise.
1622 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
1623 (__FSWORD_T_TYPE): Likewise.
1624 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
1625 __SWORD_TYPE with __fsword_t.
1626 (statfs64): Likewise.
1628 2012-05-17 David S. Miller <davem@davemloft.net>
1630 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
1632 2012-05-17 Andreas Jaeger <aj@suse.de>
1634 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
1637 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1639 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
1641 2012-05-17 Andreas Jaeger <aj@suse.de>
1643 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
1646 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1648 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
1650 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1652 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
1653 * sysdeps/x86_64/tst-mallocalign1.c: New file.
1655 2012-05-17 Andreas Jaeger <aj@suse.de>
1656 Carlos O'Donell <carlos_odonell@mentor.com>
1659 * sysdeps/x86_64/multiarch/init-arch.h
1660 (bit_YMM_Usable): Rename to...
1661 (bit_AVX_Usable): ... this.
1662 (bit_FMA4_Usable): New macro.
1663 (bit_XMM_state): New macro.
1664 (bit_YMM_state): New macro.
1665 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
1666 [__ASSEMBLER__] (index_AVX_Usable): ... this.
1667 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
1668 (CPUID_OSXSAVE): New macro.
1669 (CPUID_AVX): New macro.
1670 (CPUID_FMA4): New macro.
1671 (index_YMM_Usable): Rename to...
1672 (index_AVX_Usable): ... this.
1673 (HAS_AVX): Use HAS_ARCH_FEATURE.
1674 (HAS_FMA4): Likewise.
1675 (HAS_YMM_USABLE): Remove.
1676 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1677 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
1679 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
1680 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
1681 * sysdeps/x86_64/multiarch/Makefile: Likewise.
1682 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
1683 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
1685 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1687 * math/libm-test.c: Support platforms without multiple rounding modes.
1688 * math/bug-nextafter.c: Support platforms without FP exceptions.
1689 * math/bug-nexttoward.c: Likewise.
1690 * math/test-fenv.c: Likewise.
1691 * math/test-misc.c: Likewise.
1692 * stdlib/bug-getcontext.c: Likewise.
1694 2012-05-17 Andreas Jaeger <aj@suse.de>
1696 * manual/examples/search.c (critter_cmp): Change signature to
1698 * manual/string.texi (Collation Functions): Likewise.
1700 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1702 * bits/types.h: Fold copyright years.
1703 * bits/typesizes.h: Likewise.
1704 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
1705 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
1706 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
1707 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
1708 * time/time.h: Likewise.
1710 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
1713 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
1714 in instead of returning them. Return void.
1715 (__libc_mallinfo): Accumulate over all arenas.
1716 (__malloc_stats): Adjust for change in int_mallinfo interface.
1718 2012-05-16 Roland McGrath <roland@hack.frob.com>
1721 * configure.in (NM): Add AC_CHECK_TOOL for it.
1722 (libc_extra_cflags): New substituted variable.
1723 Check for -fstack-protector being used implicitly.
1724 * configure: Regenerated.
1725 * config.make.in (config-extra-cflags): New variable,
1726 gets @libc_extra_cflags@.
1727 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
1730 * configure.in: Check for _FORTIFY_SOURCE being predefined.
1731 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
1732 * configure: Regenerated.
1733 * config.make.in (CPPUNDEFS): New substituted variable.
1734 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
1735 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
1736 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
1738 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1740 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
1741 (mq_attr): Use __syscall_slong_t.
1743 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1745 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
1746 Check __x86_64__ instead of __WORDSIZE.
1747 (_STAT_VER_LINUX): Likewise.
1748 (stat): Check __x86_64__ instead of __WORDSIZE. Use
1749 __syscall_ulong_t and __syscall_slong_t.
1752 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1754 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
1756 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1758 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
1760 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1762 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
1765 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
1766 include <bits/wordsize.h>. Check __x86_64__ instead of
1768 (greg_t): Use "__extension__ long long int" if __x86_64__ is
1770 (mcontext_t): Replace "unsigned long" with "unsigned long long".
1772 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
1773 include <bits/wordsize.h>. Check __x86_64__ instead of
1775 (user_regs_struct): Use "__extension__ unsigned long long"
1776 instead of "unsigned long" if __x86_64__ is defined.
1777 (user): Likewise. Pad after pointer field if __ILP32__ is
1780 2012-05-16 Joseph Myers <joseph@codesourcery.com>
1782 * configure.in (makeinfo): Require version 4.5 or later. Allow
1784 * configure: Regenerated.
1785 * manual/install.texi (texinfo): Increase version requirement to
1787 * INSTALL: Regenerated.
1789 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
1791 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1793 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
1795 * sysdeps/x86_64/x32/ffs.c: New file.
1797 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
1799 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
1800 defined. Use __syscall_ulong_t.
1801 (shminfo): Use __syscall_ulong_t.
1802 (shm_info): Likewise.
1804 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
1807 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
1809 (msgqnum_t): Use __syscall_ulong_t.
1810 (msglen_t): Likewise.
1811 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
1814 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
1815 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1817 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
1819 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
1820 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
1822 * sysvipc/sys/msg.h (msgbuf): Replace long int with
1825 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
1826 include <bits/wordsize.h>. Check __x86_64__ instead of
1829 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
1830 "unsigned long long int" if __x86_64__ is defined.
1831 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
1833 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
1834 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1835 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
1837 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
1839 (GET_PC): Cast to uintptr_t first.
1840 (GET_FRAME): Likewise.
1841 (GET_STACK): Likewise.
1843 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
1844 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
1845 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
1846 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
1847 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
1848 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
1849 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
1850 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
1851 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
1852 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
1853 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
1854 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
1855 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1856 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
1857 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
1858 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
1859 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
1860 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
1861 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
1862 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
1863 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
1864 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
1865 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
1866 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
1867 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
1868 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
1869 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
1870 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
1871 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
1873 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
1875 * Makerules (+depfiles): Also collect depfiles from .oS in
1877 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
1878 .oS, $(libnldbl-routines)).
1880 * Makerules (native-compile-mkdep-flags): Define.
1881 * sunrpc/Makefile (extra-objs): Add $(addprefix
1882 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
1883 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
1884 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
1885 calling $(make-target-directory).
1887 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1889 * bits/types.h (__snseconds_t): Removed.
1890 * time/time.h (struct timespec): Replace __snseconds_t with
1892 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
1893 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
1895 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1896 (__SNSECONDS_T_TYPE): Likewise.
1897 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1898 (__SNSECONDS_T_TYPE): Likewise.
1899 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1900 (__SNSECONDS_T_TYPE): Likewise.
1902 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1904 * sysdeps/mach/hurd/bits/typesizes.h
1905 (__SYSCALL_SLONG_TYPE): New macro.
1906 (__SYSCALL_ULONG_TYPE): Likewise.
1908 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1910 * bits/types.h (__syscall_slong_t): New type.
1911 (__syscall_ulong_t): Likewise.
1913 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
1914 (__SYSCALL_ULONG_TYPE): Likewise.
1915 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1916 (__SYSCALL_SLONG_TYPE): Likewise.
1917 (__SYSCALL_ULONG_TYPE): Likewise.
1918 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1919 (__SYSCALL_SLONG_TYPE): Likewise.
1920 (__SYSCALL_ULONG_TYPE): Likewise.
1921 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1922 (__SYSCALL_SLONG_TYPE): Likewise.
1923 (__SYSCALL_ULONG_TYPE): Likewise.
1925 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1927 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
1928 Add sigaltstack-offsets.sym.
1929 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
1930 <sigaltstack-offsets.h>.
1931 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
1932 longjmp_msg pointer.
1933 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
1934 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
1936 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
1938 2012-05-15 Joseph Myers <joseph@codesourcery.com>
1940 * elf/stackguard-macros.h: Remove file.
1941 * sysdeps/generic/stackguard-macros.h: New file.
1942 * sysdeps/i386/stackguard-macros.h: Likewise.
1943 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
1944 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
1945 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
1946 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
1947 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
1948 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
1949 * sysdeps/x86_64/stackguard-macros.h: Likewise.
1950 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
1951 <elf/stackguard-macros.h>.
1954 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
1955 __aligned__ in attribute.
1956 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
1957 (gregset_t): Likewise.
1959 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1961 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
1962 * sysdeps/x86_64/64/Implies-after: Here. New file.
1963 * sysdeps/x86_64/x32/Implies-after: New file.
1965 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1967 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
1968 and access return value for _dl_profile_fixup. Use R10_LP to
1971 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1973 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
1975 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1977 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
1978 * sysdeps/x86_64/x32/sysdep.h: New file.
1980 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1982 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
1983 * sysdeps/x86_64/setjmp.S: Likewise.
1985 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1987 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
1988 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
1989 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
1990 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
1991 remove unused global constant.
1993 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
1995 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
1996 include of <not-cancel.h>.
1998 2012-05-15 Roland McGrath <roland@hack.frob.com>
2000 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
2002 2012-05-15 Jeff Law <law@redhat.com>
2003 Andreas Jaeger <aj@suse.de>
2006 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
2008 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
2009 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
2010 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
2011 code changing __hst_map_handle.map.
2013 2012-05-15 Roland McGrath <roland@hack.frob.com>
2015 * configure.in (sysnames): Look for Implies-before and Implies-after
2017 * configure: Regenerated.
2019 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2021 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
2022 8-byte data alignment with LP_SIZE alignment.
2024 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2026 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
2029 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2031 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
2033 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2035 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
2036 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
2037 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
2039 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2041 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2043 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
2044 (stackinfo_sub_sp): Likewise.
2046 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2048 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
2051 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2053 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
2056 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2058 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
2061 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2063 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
2065 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2067 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
2068 into R11_LP and load __x86_64_shared_cache_size_half into
2071 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2073 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
2076 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2078 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
2080 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
2082 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
2084 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
2085 powerpc32/power7/fpu/s_logb.c via #include.
2086 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
2087 powerpc32/power7/fpu/s_logbf.c via #include.
2088 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
2089 powerpc32/power7/fpu/s_logbl.c via #include.
2091 2012-05-15 Joseph Myers <joseph@codesourcery.com>
2093 * README.libm: Remove file.
2095 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2097 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
2098 count for x32. Use R*_LP and omit operand-size suffix.
2100 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2102 * shlib-versions: Move x86_64-.*-linux.* entries to ...
2103 * sysdeps/x86_64/64/shlib-versions: Here. New file.
2104 * sysdeps/x86_64/x32/shlib-versions: New file.
2106 2012-05-14 Roland McGrath <roland@hack.frob.com>
2108 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
2109 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
2110 Use _dl_fatal_printf instead.
2112 2012-05-14 Joseph Myers <joseph@codesourcery.com>
2114 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
2115 set if not set by the user. Do not allow for being unset.
2116 * sysdeps/unix/sysv/linux/configure: Regenerated.
2118 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2120 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
2121 the `q' suffix from lea and replace .quad with ASM_ADDR.
2123 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2125 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
2126 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
2128 (PTR_DEMANGLE): Likewise.
2130 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2132 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
2134 (ASM_ADDR): Likewise.
2152 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2154 * sysdeps/x86_64/x32/dl-machine.h: New file.
2156 2012-05-14 Andreas Jaeger <aj@suse.de>
2158 * manual/Makefile (subdir): Remove export of subdir.
2159 (all): Remove target.
2160 (.PHONY): Remove all from list.
2161 (mkinstalldirs): Remove.
2162 (.PHONY): Remove installdirs from list.
2163 ($(inst_infodir)/libc.info): Use make-target-directory.
2164 (installdirs): Remove.
2166 (glibc-targets): Remove.
2169 ($(objpfx)stubs ../po/manual.pot): Remove.
2170 ($(objpfx)stamp%): Remove.
2171 (make-target-directory): Remove.
2172 (subdir_install): Remove.
2180 * manual/.gitignore: Remove, it's not needed anymore.
2181 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
2183 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
2185 (texis): Renamed to $(objpfx)texis.
2186 (texis-path): New, contains path to generated files.
2187 (chapters.%): Use texis-path for complete path, add extra argument
2189 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
2190 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
2191 (summary,texi, stamp-summary): Use complete path of
2192 files. Generate files in build dir.
2193 (dir-add.texi): Build in build dir.
2194 (libm-err.texi,stamp-libm-err): Likewise.
2195 (version.texi, stamp-version): Likewise.
2196 (.%c.texi): Likewise.
2197 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
2198 (mostlyclean): Remove target.
2199 (realclean): Remove target.
2200 (generated): Add new variable with contents from mostlyclean and
2201 realclean, remove entries duplicated in common-mostlyclean, add
2202 stamp-libm-err and stamp-version.
2203 (generated-dirs): Add libc directory.
2204 ($(inst_infodir)/libc.info): Install files from build dir.
2206 * manual/install.texi (Configuring and compiling): Adjust since
2207 the info files are not part of the tar ball anymore.
2209 2012-05-14 Andreas Jaeger <aj@suse.de>
2211 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
2214 2012-05-14 Joseph Myers <joseph@codesourcery.com>
2217 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2218 to 2.2.0 where earlier.
2219 * sysdeps/unix/sysv/linux/configure: Regenerated.
2220 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
2221 Remove conditional code.
2222 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
2223 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
2224 Remove conditional code.
2225 [!__NR_lchown]: Likewise.
2226 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2227 [__NR_lchown]: Likewise.
2228 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
2229 comment referencing __ASSUME_LCHOWN_SYSCALL.
2230 * sysdeps/unix/sysv/linux/i386/sigaction.c
2231 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2232 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2233 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
2234 Remove conditional code.
2235 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
2236 (__protocol_available): Remove #if 0 code.
2237 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
2239 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
2240 * sysdeps/unix/sysv/linux/kernel-features.h
2241 (__ASSUME_GETCWD_SYSCALL): Don't define.
2242 (__ASSUME_REALTIME_SIGNALS): Likewise.
2243 (__ASSUME_PREAD_SYSCALL): Likewise.
2244 (__ASSUME_PWRITE_SYSCALL): Likewise.
2245 (__ASSUME_POLL_SYSCALL): Likewise.
2246 (__ASSUME_LCHOWN_SYSCALL): Likewise.
2247 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
2249 (__ASSUME_SIOCGIFNAME): Don't define.
2250 (__ASSUME_MSG_NOSIGNAL): Likewise.
2251 (__ASSUME_SENDFILE): Define unconditionally.
2252 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
2253 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
2255 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
2256 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
2257 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2258 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2259 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
2260 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2261 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
2263 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2264 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2266 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2267 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
2269 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2270 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2272 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2273 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
2275 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2276 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
2278 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2279 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
2281 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2282 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
2284 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2285 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2286 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
2287 Remove conditional code.
2288 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2289 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2290 Remove conditional code.
2291 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2292 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
2293 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
2294 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2295 Remove conditional code.
2296 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2297 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
2298 Remove conditional code.
2299 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2300 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
2301 Remove conditional code.
2302 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2303 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2304 Remove conditional code.
2305 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2306 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2307 Remove conditional code.
2308 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2309 * sysdeps/unix/sysv/linux/sh/pwrite64.c
2310 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2311 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2312 * sysdeps/unix/sysv/linux/sigaction.c
2313 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2314 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2315 * sysdeps/unix/sysv/linux/sigpending.c
2316 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2317 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2318 * sysdeps/unix/sysv/linux/sigprocmask.c
2319 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2320 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2321 * sysdeps/unix/sysv/linux/sigsuspend.c
2322 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2323 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2324 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2325 (__libc_missing_rt_sigs): Remove.
2326 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
2327 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
2328 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
2329 Remove conditional code.
2330 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
2331 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
2333 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
2334 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
2335 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
2336 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
2338 2012-05-14 Andreas Jaeger <aj@suse.de>
2340 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
2341 it's not used in glibc.
2342 (__coshm1): Likewise.
2343 (__acosh1p): Likewise.
2346 * manual/string.texi (Copying and Concatenation): Add missing
2347 variable in concat example.
2348 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2350 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2353 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
2354 __builtin_clzl with __builtin_clzll.
2356 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2359 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
2362 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2364 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
2365 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
2366 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
2367 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
2369 2012-05-14 Mike Frysinger <vapier@gentoo.org>
2371 * NEWS: Update ia64 info.
2373 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
2375 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
2378 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
2380 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
2381 * sysdeps/unix/syscalls.list (dup3): Likewise.
2382 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
2383 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
2385 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2387 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
2388 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
2390 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2392 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
2394 (TLS_IE): Use mov/add instead of movq/addq to load thread
2396 (TLS_GD_PREFIX): New.
2399 2012-05-11 David S. Miller <davem@davemloft.net>
2401 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
2402 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
2403 (_FPU_SETCW): Likewise.
2405 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2407 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
2410 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
2413 * iconvdata/gb18030.c: Update tables.
2414 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
2415 characters specially.
2416 (BODY for TO_LOOP): Add encoding of missing ranges.
2418 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
2421 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
2422 * sysdeps/mach/hurd/dup3.c: Likewise.
2423 * sysdeps/mach/hurd/readlinkat.c: Likewise.
2424 * sysdeps/powerpc/memmove.c:: Likewise.
2426 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2428 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
2429 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
2431 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2433 * elf/elf.h (R_X86_64_RELATIVE64): New.
2434 (R_X86_64_NUM): Updated.
2435 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
2436 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
2437 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
2438 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
2439 tst-quad1pie tst-quad2pie
2440 (modules-names): Add tst-quadmod1 tst-quadmod2.
2441 ($(objpfx)tst-quad1): New dependency.
2442 ($(objpfx)tst-quad2): Likewise.
2443 ($(objpfx)tst-quad1pie): Likewise.
2444 ($(objpfx)tst-quad2pie): Likewise.
2445 * sysdeps/x86_64/tst-quad1.c: New file.
2446 * sysdeps/x86_64/tst-quad1pie.c: New file.
2447 * sysdeps/x86_64/tst-quad2.c: Likewise.
2448 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
2449 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
2450 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
2451 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
2452 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
2454 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2456 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
2457 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
2458 * streams/stropts.h (t_scalar_t): Define type.
2460 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
2461 (_PATH_PRESERVE): Set to "/var/lib".
2462 (_PATH_RWHODIR): Set to "/var/spool/rwho".
2464 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
2467 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
2468 if __dir_mkfile succeeded.
2470 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
2471 checking for _hurd_dtablesize. Unlock it right after having
2472 finished _hurd_dtable allocation.
2474 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2476 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
2477 * sysdeps/mach/hurd/configure: Regenerated.
2478 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
2479 special-casing to...
2480 * sysdeps/gnu/configure.in: ... this new file.
2481 * sysdeps/unix/sysv/linux/configure: Regenerated.
2482 * sysdeps/gnu/configure: New generated file.
2484 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
2485 for Linux: use nsec instead of usec, as well as:
2486 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
2487 members of type struct timespec.
2488 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
2490 (struct stat64): Likewise.
2491 (_STATBUF_ST_NSEC): New macro.
2492 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
2494 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
2495 __strtoul_internal rather than strtoul.
2497 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2499 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
2502 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2504 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
2505 which preserves existing values.
2506 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
2508 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2510 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
2511 TIMEOUT values. Return EINVAL for NFDS values either negative or
2512 greater than FD_SETSIZE.
2514 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2516 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
2517 allocated, call __vm_protect to finish enabling the existing space, and
2518 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
2519 allocate the remainder.
2521 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2523 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
2524 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
2526 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2528 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
2529 sysdeps/mach/hurd/readlink.c.
2531 * posix/tst-sysconf.c (posix_options): Only use
2532 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
2533 _POSIX_SYNCHRONIZED_IO when they are defined
2534 * sysdeps/mach/hurd/bits/posix_opt.h:
2535 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
2536 (_XOPEN_REALTIME): Undefine macro.
2537 (_XOPEN_REALTIME_THREADS): Undefine macro.
2538 (_XOPEN_SHM): Undefine macro.
2539 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
2541 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
2543 (_POSIX_ASYNC_IO): Undefine macro.
2544 (_POSIX_PRIORITIZED_IO): Undefine macro.
2545 (_POSIX_SPIN_LOCKS): Define macro to -1.
2547 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
2548 SA_NODEFER, SA_RESETHAND.
2549 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
2550 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
2553 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2555 * elf/Makefile (pldd-modules): Define unconditionally.
2557 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2559 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
2561 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2563 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
2564 Return ENOENT when name is empty.
2565 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
2567 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2569 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
2571 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
2573 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2575 Fix mlock in all cases except non-readable pages.
2576 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
2577 instead of VM_PROT_ALL as parameter to __vm_wire function.
2579 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
2580 (__mkdir): When path is `/', just fail with EEXIST.
2581 * sysdeps/mach/hurd/mkdirat.c: Likewise.
2583 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2585 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
2586 <sys/uio.h> (for writev).
2587 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
2588 and <sys/param.h> (for MIN).
2590 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2592 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
2593 REQUESTED_TIME. Properly set the remaining time and return EINTR
2596 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2598 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
2599 Depend on against $(link-rpcuserlibs).
2601 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2603 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
2604 (__libc_stack_end): Do not use attribute_relro.
2605 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
2606 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
2607 to libthread-provided value.
2608 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
2611 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2614 * bits/libc-lock.h (__libc_once_get): New macro.
2615 * sysdeps/mach/bits/libc-lock.h: Likewise.
2616 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
2617 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
2618 instead of using implementation details.
2620 * libio/fileops.c: Unconditionally include <kernel-features.h>.
2621 * libio/freopen.c: Likewise.
2622 * libio/freopen64.c: Likewise.
2623 * misc/syslog.c: Likewise.
2624 * nscd/connections.c: Likewise.
2625 * nscd/netgroupcache.c: Likewise.
2626 * sysdeps/posix/getcwd.c: Likewise.
2628 2012-05-10 Roland McGrath <roland@hack.frob.com>
2630 * math/w_ilogbf.c: Add #include <limits.h>.
2632 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2634 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
2635 path instead of returning without unlocking.
2637 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
2638 immediate-write ioctls.
2639 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
2641 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2643 * sysdeps/mach/hurd/i386/init-first.c (init): Use
2644 __builtin_frame_address instead of making assumptions about the
2645 location of the return address relative to DATA. Force early load of
2647 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
2648 __builtin_frame_address.
2651 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
2652 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
2653 implement dup3 and do some further code clean-ups.
2654 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
2655 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
2657 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2659 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
2661 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
2662 HURD_CRITICAL_END around holding _hurd_dtable_lock.
2663 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
2664 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
2665 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
2668 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
2669 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
2670 when handler == SIG_ERR, not when handler != SIG_ERR.
2672 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2674 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
2675 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
2678 accept4 for GNU Hurd.
2679 * include/sys/socket.h (__libc_accept4): New prototype.
2680 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
2681 to implement __libc_accept4.
2682 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
2684 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
2686 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
2687 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
2688 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
2691 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2693 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
2695 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2697 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
2698 assertion on O_CLOEXEC flag.
2699 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
2700 * hurd/intern-fd.c: Likewise.
2701 * hurd/port2fd.c: Likewise.
2703 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2706 * bits/in.h (IPV6_PKTINFO): Define new macro.
2707 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
2709 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2714 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
2715 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2716 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
2717 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
2718 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2719 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
2720 * math/libm-test.inc (logb_test) : Additional logb tests.
2722 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
2723 Andreas Jaeger <aj@suse.de>
2725 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
2726 * configure: Regenerated.
2727 * config.h.in (LINK_OBSOLETE_RPC): New macro.
2728 * config.make.in (link-obsolete-rpc): New substituted variable.
2729 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
2730 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
2731 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2732 (shared-only-routines): Don't set it under [link-obsolete-rpc],
2733 so that libc.a contains the symbols.
2734 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2735 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
2736 * sunrpc/auth_none.c: Likewise.
2737 * sunrpc/auth_unix.c: Likewise.
2738 * sunrpc/authdes_prot.c: Likewise.
2739 * sunrpc/authuxprot.c: Likewise.
2740 * sunrpc/clnt_gen.c: Likewise.
2741 * sunrpc/clnt_perr.c: Likewise.
2742 * sunrpc/clnt_raw.c: Likewise.
2743 * sunrpc/clnt_simp.c: Likewise.
2744 * sunrpc/clnt_tcp.c: Likewise.
2745 * sunrpc/clnt_udp.c: Likewise.
2746 * sunrpc/clnt_unix.c: Likewise.
2747 * sunrpc/des_crypt.c: Likewise.
2748 * sunrpc/des_soft.c: Likewise.
2749 * sunrpc/get_myaddr.c: Likewise.
2750 * sunrpc/key_call.c: Likewise.
2751 * sunrpc/key_prot.c: Likewise.
2752 * sunrpc/netname.c: Likewise.
2753 * sunrpc/pm_getmaps.c: Likewise.
2754 * sunrpc/pm_getport.c: Likewise.
2755 * sunrpc/pmap_clnt.c: Likewise.
2756 * sunrpc/pmap_prot.c: Likewise.
2757 * sunrpc/pmap_prot2.c: Likewise.
2758 * sunrpc/pmap_rmt.c: Likewise.
2759 * sunrpc/publickey.c: Likewise.
2760 * sunrpc/rpc_cmsg.c: Likewise.
2761 * sunrpc/rpc_common.c: Likewise.
2762 * sunrpc/rpc_dtable.c: Likewise.
2763 * sunrpc/rpc_prot.c: Likewise.
2764 * sunrpc/rpc_thread.c: Likewise.
2765 * sunrpc/rtime.c: Likewise.
2766 * sunrpc/svc.c: Likewise.
2767 * sunrpc/svc_auth.c: Likewise.
2768 * sunrpc/svc_raw.c: Likewise.
2769 * sunrpc/svc_run.c: Likewise.
2770 * sunrpc/svc_tcp.c: Likewise.
2771 * sunrpc/svc_udp.c: Likewise.
2772 * sunrpc/svc_unix.c: Likewise.
2773 * sunrpc/svcauth_des.c: Likewise.
2774 * sunrpc/xcrypt.c: Likewise.
2775 * sunrpc/xdr.c: Likewise.
2776 * sunrpc/xdr_array.c: Likewise.
2777 * sunrpc/xdr_float.c: Likewise.
2778 * sunrpc/xdr_intXX_t.c: Likewise.
2779 * sunrpc/xdr_mem.c: Likewise.
2780 * sunrpc/xdr_rec.c: Likewise.
2781 * sunrpc/xdr_ref.c: Likewise.
2782 * sunrpc/xdr_sizeof.c: Likewise.
2783 * sunrpc/xdr_stdio.c: Likewise.
2785 2012-05-10 Roland McGrath <roland@hack.frob.com>
2787 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
2788 change. Update copyright years.
2790 2012-05-10 Joseph Myers <joseph@codesourcery.com>
2792 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
2794 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
2795 Joseph Myers <joseph@codesourcery.com>
2796 Paul Pluzhnikov <ppluzhnikov@google.com>
2799 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
2801 [cross-compiling] (extra-libs): Likewise.
2802 [cross-compiling] (extra-libs-others): Likewise.
2803 [cross-compiling] (librpcsvc-routines): Likewise.
2804 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
2805 [cross-compiling] (omit-deps): Likewise.
2806 (sunrpc-CPPFLAGS): New variable.
2807 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
2808 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
2809 (cross-rpcgen-objs): New variable.
2810 (extra-objs): Append $(cross-rpcgen-objs).
2811 ($(cross-rpcgen-objs)): New rule.
2812 ($(objpfx)cross-rpcgen): Likewise.
2813 (rpcgen-cmd): Define to use $(built-program-file). Expand
2815 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
2816 ($(objpfx)x%.stmp): Likewise.
2817 * sunrpc/proto.h [IS_IN_build] (_): Define.
2818 [IS_IN_build] (_libc_intl_domainname): Likewise.
2820 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2822 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
2823 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
2824 and R_X86_64_TPOFF64.
2826 2012-05-10 Joseph Myers <joseph@codesourcery.com>
2828 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
2829 sysdeps/unix/sysv/syscalls.list.
2832 * sysdeps/unix/sysv/syscalls.list: Remove file.
2834 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
2837 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
2838 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
2839 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
2840 (__LC_IDENTIFICATION): Make these macros useful in #if
2841 expressions, as required by C99.
2843 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
2845 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
2846 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
2849 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
2851 * stdlib/longlong.h: Updated from GCC.
2853 2012-05-09 Andreas Jaeger <aj@suse.de>
2855 * nscd/nscd.c (run_modes): Make named enum, reorder so that
2856 default is first entry.
2857 (run_mode): Set type.
2858 (main): Remove informal message about syslog.
2859 (options): Fix typo.
2862 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
2865 (llrintf): Likewise.
2869 (nearbyint): Likewise.
2870 (nearbyintf): Likewise.
2872 2012-05-09 Andreas Jaeger <aj@suse.de>
2873 Pedro Alves <palves@redhat.com>
2875 * nscd/nscd.c (run_mode): Use enum.
2876 (main): Cleanup coding style issue.
2878 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
2879 Andreas Jaeger <aj@suse.de>
2881 * nscd/nscd.c (go_background): Replaced with...
2882 (run_mode): ... this.
2883 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
2884 (options): Add -F --foreground.
2885 (main): Implement it.
2886 (parse_opt): Parse it.
2888 2012-05-09 Andreas Jaeger <aj@suse.de>
2891 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
2892 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
2893 -Wconversion warning.
2894 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
2897 2012-05-09 Joseph Myers <joseph@codesourcery.com>
2899 * conform/data/locale.h-data (NULL): Use macro-constant. Require
2901 (LC_ALL): Use macro-int-constant.
2902 (LC_COLLATE): Likewise.
2903 (LC_CTYPE): Likewise.
2904 (LC_MESSAGES): Likewise.
2905 (LC_MONETARY): Likewise.
2906 (LC_NUMERIC): Likewise.
2907 (LC_TIME): Likewise.
2908 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
2909 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
2910 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2911 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
2913 [C99-based standards] (float_t): Expect type.
2914 [C99-based standards] (double_t): Expect type.
2915 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
2917 [C99-based standards] (HUGE_VALL): Likewise.
2918 [C99-based standards] (INFINITY): Likewise.
2919 [C99-based standards] (NAN): Likewise.
2920 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
2921 [C99-based standards] (FP_NAN): Likewise.
2922 [C99-based standards] (FP_NORMAL): Likewise.
2923 [C99-based standards] (FP_SUBNORMAL): Likewise.
2924 [C99-based standards] (FP_ZERO): Likewise.
2925 [C99-based standards] (FP_FAST_FMA): Use
2926 optional-macro-int-constant. Specify type. Require == 1.
2927 [C99-based standards] (FP_FAST_FMAF): Likewise.
2928 [C99-based standards] (FP_FAST_FMAL): Likewise.
2929 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
2930 [C99-based standards] (FP_ILOGBNAN): Likewise.
2931 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
2933 [C99-based standards] (MATH_ERREXCEPT): Likewise.
2934 [C99-based standards] (math_errhandling): Specify type.
2935 [ISO99 || ISO11] (signgam): Do not allow.
2936 [non-C99-based standards] (copysignf): Do not allow.
2937 [non-C99-based standards] (exp2f): Likewise.
2938 [non-C99-based standards] (log2f): Likewise.
2939 [non-C99-based standards] (modff): Allow.
2940 [non-C99-based standards] (erff): Do not allow.
2941 [non-C99-based standards] (erfcf): Likewise.
2942 [non-C99-based standards] (gammaf): Likewise.
2943 [non-C99-based standards] (hypotf): Likewise.
2944 [non-C99-based standards] (j0f): Likewise.
2945 [non-C99-based standards] (j1f): Likewise.
2946 [non-C99-based standards] (jnf): Likewise.
2947 [non-C99-based standards] (lgammaf): Likewise.
2948 [non-C99-based standards] (tgammaf): Likewise.
2949 [non-C99-based standards] (y0f): Likewise.
2950 [non-C99-based standards] (y1f): Likewise.
2951 [non-C99-based standards] (ynf): Likewise.
2952 [non-C99-based standards] (isnanf): Likewise.
2953 [non-C99-based standards] (acoshf): Likewise.
2954 [non-C99-based standards] (asinhf): Likewise.
2955 [non-C99-based standards] (atanhf): Likewise.
2956 [non-C99-based standards] (cbrtf): Likewise.
2957 [non-C99-based standards] (expm1f): Likewise.
2958 [non-C99-based standards] (ilogbf): Likewise.
2959 [non-C99-based standards] (log1pf): Likewise.
2960 [non-C99-based standards] (logbf): Likewise.
2961 [non-C99-based standards] (nextafterf): Likewise.
2962 [non-C99-based standards] (remainderf): Likewise.
2963 [non-C99-based standards] (rintf): Likewise.
2964 [non-C99-based standards] (scalbf): Likewise.
2965 [non-C99-based standards] (copysignl): Likewise.
2966 [non-C99-based standards] (exp2l): Likewise.
2967 [non-C99-based standards] (log2l): Likewise.
2968 [non-C99-based standards] (modfl): Allow.
2969 [non-C99-based standards] (erfl): Do not allow.
2970 [non-C99-based standards] (erfcl): Likewise.
2971 [non-C99-based standards] (gammal): Likewise.
2972 [non-C99-based standards] (hypotl): Likewise.
2973 [non-C99-based standards] (j0l): Likewise.
2974 [non-C99-based standards] (j1l): Likewise.
2975 [non-C99-based standards] (jnl): Likewise.
2976 [non-C99-based standards] (lgammal): Likewise.
2977 [non-C99-based standards] (tgammal): Likewise.
2978 [non-C99-based standards] (y0l): Likewise.
2979 [non-C99-based standards] (y1l): Likewise.
2980 [non-C99-based standards] (ynl): Likewise.
2981 [non-C99-based standards] (isnanl): Likewise.
2982 [non-C99-based standards] (acoshl): Likewise.
2983 [non-C99-based standards] (asinhl): Likewise.
2984 [non-C99-based standards] (atanhl): Likewise.
2985 [non-C99-based standards] (cbrtl): Likewise.
2986 [non-C99-based standards] (expm1l): Likewise.
2987 [non-C99-based standards] (ilogbl): Likewise.
2988 [non-C99-based standards] (log1pl): Likewise.
2989 [non-C99-based standards] (logbl): Likewise.
2990 [non-C99-based standards] (nextafterl): Likewise.
2991 [non-C99-based standards] (remainderl): Likewise.
2992 [non-C99-based standards] (rintl): Likewise.
2993 [non-C99-based standards] (scalbl): Likewise.
2994 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2995 [non-C99-based standards] (FP_*): Do not allow.
2996 [C99-based standards] (FP_*): Change to
2997 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
2998 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3000 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
3001 (SIG_ERR): Likewise.
3002 [X/Open-based standards] (SIG_HOLD): Likewise.
3003 (SIG_IGN): Likewise.
3004 (SIGABRT): Use macro-int-constant. Specify type. Require
3009 (SIGSEGV): Likewise.
3011 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
3012 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
3013 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
3014 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
3015 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
3016 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
3017 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
3018 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
3019 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
3020 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
3021 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
3022 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
3023 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
3024 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
3025 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
3026 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
3027 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
3028 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
3029 [X/Open-based standards] (SIGTRAP): Likewise.
3030 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
3031 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
3032 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
3033 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
3034 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3037 2012-05-08 Ian Wienand <ianw@vmware.com>
3040 * time/tzset.c (__tzset_parse_tz): Update default rules for
3041 daylight time changes in the Energy Policy Act of 2005.
3043 2012-05-09 Andreas Jaeger <aj@suse.de>
3046 * elf/ldconfig.c (parse_conf): Change string to make clear that
3047 ldconfig only issued a warning if ld.so.conf does not exist.
3049 2012-05-08 David S. Miller <davem@davemloft.net>
3051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
3052 movxtod instead of popping the value on the stack.
3054 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3056 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
3058 * config.h.in: Add HAVE_ARM_PCS_VFP.
3060 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
3063 * include/features.h: Warn if user requests __FORTIFY_SOURCE
3064 checking but the checks are disabled for any reason.
3066 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
3068 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
3069 and ELF64_R_TYPE with ELFW(R_TYPE).
3071 2012-05-08 Joseph Myers <joseph@codesourcery.com>
3073 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
3076 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
3077 (settimeofday): Likewise.
3079 2012-05-08 Mike Frysinger <vapier@gentoo.org>
3081 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
3082 a struct th_u2 inside the union, and move tu_block/tu_code into
3083 a new th_u3 union of tu_block/tu_code inside of that. Move
3084 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
3085 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
3086 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
3087 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
3088 (th_stuff): Change to th_u1.tu_stuff.
3090 (th_msg): Change to th_u1.th_u2.tu_data.
3092 2012-05-07 David S. Miller <davem@davemloft.net>
3094 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3097 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
3098 (SETUP_PIC_REG): Use it.
3099 (SETUP_PIC_REG_LEAF): Use it.
3101 2012-05-07 Joseph Myers <joseph@codesourcery.com>
3105 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3107 (EXPL_FINITE): Likewise.
3109 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3110 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3112 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3114 (EXPL_FINITE): Likewise.
3116 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3117 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3119 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
3120 test of -max_value argument for long double.
3121 * sysdeps/i386/fpu/libm-test-ulps: Update.
3122 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3124 2012-05-06 David S. Miller <davem@davemloft.net>
3126 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
3127 quad soft-float symbols whose references which are compiler
3129 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
3131 2012-05-06 Joseph Myers <joseph@codesourcery.com>
3135 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3137 (EXPL_FINITE): Likewise.
3141 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3142 Adjust comments for base varying.
3143 (__expl_finite): Change alias to EXPL_FINITE.
3144 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
3146 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
3147 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
3148 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3149 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
3150 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3152 (EXPL_FINITE): Likewise.
3156 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3157 Adjust comments for base varying.
3158 (__expl_finite): Change alias to EXPL_FINITE.
3159 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
3161 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3164 * math/libm-test.inc (check_float_internal): Correct ulp
3165 calculation for subnormal expected results.
3167 2012-05-06 Andreas Jaeger <aj@suse.de>
3169 * Makeconfig (+math-flags): New, set to -frounding-math.
3170 (+cflags): Add +math-flags so that all of glibc gets compiled with
3173 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
3175 2012-05-05 Joseph Myers <joseph@codesourcery.com>
3177 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
3183 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
3184 (__ieee754_expl): Allow for and saturate large arguments.
3185 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
3186 (u_threshold): Likewise.
3187 (__exp): Call __ieee754_exp before checking for overflow and
3189 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
3190 (u_threshold): Likewise.
3191 (__expf): Call __ieee754_expf before checking for overflow and
3193 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
3194 (u_threshold): Likewise.
3195 (__expl): Call __ieee754_expl before checking for overflow and
3197 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
3198 (__ieee754_expl): Allow for and saturate large arguments.
3199 * math/libm-test.inc (exp_test): Add another test. Do not allow
3200 missing overflow exception on overflow.
3201 (expm1_test): Do not allow missing overflow exception on overflow.
3203 * sysdeps/i386/fpu/e_expl.c: Move to ...
3204 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
3205 rather than using inline asm.
3206 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
3207 * sysdeps/x86_64/fpu/e_expl.S: Copy from
3208 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
3210 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
3217 2012-05-04 Joseph Myers <joseph@codesourcery.com>
3219 * sysdeps/unix/syscalls.list (adjtime): Add entry from
3220 sysdeps/unix/common/syscalls.list.
3223 (ftruncate): Likewise.
3224 (getrusage): Likewise.
3225 (gettimeofday): Likewise.
3226 (setpgid): Likewise.
3227 (setregid): Likewise.
3228 (setreuid): Likewise.
3229 (sigaction): Likewise.
3230 (truncate): Likewise.
3231 (vhangup): Likewise.
3232 * sysdeps/unix/common/syscalls.list: Remove file.
3233 * sysdeps/unix/bsd/Implies: Don't include unix/common.
3234 * sysdeps/unix/sysv/linux/Implies: Likewise.
3236 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
3238 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
3239 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
3240 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
3242 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3244 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
3246 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
3247 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
3249 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
3250 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
3252 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
3253 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
3255 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
3256 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
3258 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
3259 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
3261 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
3262 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
3264 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3266 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
3268 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
3270 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
3272 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
3273 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
3275 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
3277 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
3279 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
3281 2012-05-04 Joseph Myers <joseph@codesourcery.com>
3283 * sysdeps/unix/common/bits/dirent.h: Remove file.
3284 * sysdeps/unix/common/bits/fcntl.h: Likewise.
3286 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
3287 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
3288 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
3289 * sysdeps/unix/bsd/isatty.c: Likewise.
3290 * sysdeps/unix/bsd/tcdrain.c: Likewise.
3291 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
3292 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
3294 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3297 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
3298 long double comparison inaccuracies.
3299 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
3300 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3302 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
3304 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
3305 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
3307 2012-05-04 Joseph Myers <joseph@codesourcery.com>
3310 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
3311 nonzero digits before rounding a hex value.
3312 * stdlib/tst-strtod.c (tests): Add another test.
3314 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3316 * sysdeps/s390/fpu/libm-test-ulps: Update.
3318 2012-05-03 Andreas Jaeger <aj@suse.de>
3320 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
3321 does not get optimized out.
3322 (malloc_opt_barrier): New.
3324 2012-05-03 Andreas Jaeger <aj@suse.de>
3325 Roland McGrath <roland@hack.frob.com>
3327 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
3328 intermediate file deletion.
3329 (generated): Add .symlist files.
3331 2012-05-03 Joseph Myers <joseph@codesourcery.com>
3334 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
3335 Redirect under this condition.
3336 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3337 [__USE_GNU] (__dprintf_chk): Not under this condition.
3338 [__USE_GNU] (__vdprintf_chk): Likewise.
3339 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
3340 under this condition.
3341 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3342 [__USE_XOPEN2K8] (dprintf): Define under this condition.
3343 [__USE_XOPEN2K8] (vdprintf): Likewise.
3344 [__USE_GNU] (__dprintf_chk): Not under this condition.
3345 [__USE_GNU] (__vdprintf_chk): Likewise.
3346 [__USE_GNU] (dprintf): Likewise.
3347 [__USE_GNU] (vdprintf): Likewise.
3349 2012-05-03 Roland McGrath <roland@hack.frob.com>
3351 * elf/Makefile (common-generated): Set this instead of generated for
3352 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
3353 $(all-built-dso)-derived lists.
3355 2012-05-03 Andreas Jaeger <aj@suse.de>
3357 * sysdeps/i386/fpu/libm-test-ulps: Update.
3361 * scripts/gen-FAQ.pl: Likewise.
3362 * manual/install.texi (Installation): Point to online location of
3364 * Makefile (files-for-dist): Remove FAQ.
3367 2012-05-02 Allan McRae <allan@archlinux.org>
3369 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
3370 (LDFLAGS-reldepmod5.so): Likewise.
3371 (LDFLAGS-reldep6mod1.so): Likewise.
3372 (LDFLAGS-reldep6mod4.so): Likewise.
3373 (LDFLAGS-reldep8mod3.so): Likewise.
3374 (LDFLAGS-unload4mod1.so): Likewise.
3375 (LDFLAGS-unload4mod2.so): Likewise.
3376 (LDFLAGS-tst-initorder): Likewise.
3377 (LDFLAGS-tst-initordera2.so): Likewise.
3378 (LDFLAGS-tst-initordera3.so): Likewise.
3379 (LDFLAGS-tst-initordera4.so): Likewise.
3380 (LDFLAGS-tst-initorderb2.so): Likewise.
3381 (LDFLAGS-noload): Likewise.
3382 (LDFLAGS-next): Likewise.
3383 (LDFLAGS-order2mod1.so): Likewise.
3384 (LDFLAGS-order2mod2.so): Likewise.
3385 (LDFLAGS-tst-initorder2): Likewise.
3386 (LDFLAGS-tst-initorder2a.so): Likewise.
3387 (LDFLAGS-tst-initorder2b.so): Likewise.
3388 (LDFLAGS-tst-initorder2c.so): Likewise.
3389 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
3391 2012-05-02 David S. Miller <davem@davemloft.net>
3393 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3395 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
3398 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
3400 2012-05-02 Andreas Jaeger <aj@suse.de>
3402 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
3403 since we manipulate rounding mode.
3404 (CPPFLAGS-test-idouble.c): Likewise.
3405 (CPPFLAGS-test-ifloat.c): Likewise.
3406 (CFLAGS-test-ldouble.c): Likewise.
3407 (CFLAGS-test-double.c): Likewise.
3408 (CFLAGS-test-float.c): Likewise.
3409 (CFLAGS-test-misc.c): Likewise.
3410 (CFLAGS-test-test-fenv.c): Likewise.
3412 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3416 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
3417 comparisons to determine direction to adjust input.
3419 2012-05-01 Roland McGrath <roland@hack.frob.com>
3421 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
3422 output to the target.
3424 * scripts/localplt.awk: New file.
3425 * elf/Makefile ($(objpfx)check-localplt): Target removed.
3426 (check-localplt-CFLAGS): Variable removed.
3427 ($(all-built-dso:=.jmprel)): New static pattern rule.
3428 (generated): Add those targets.
3429 (localplt-built-dso): New variable.
3430 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
3432 * elf/check-localplt.c: File removed.
3434 * scripts/check-execstack.awk: New file.
3435 * elf/Makefile ($(objpfx)check-execstack): Target removed.
3436 (check-execstack-CFLAGS): Variable removed.
3437 ($(objpfx)check-execstack.h): Target removed.
3438 ($(objpfx)execstack-default): New target.
3439 (generated): Add that instead of check-execstack.h.
3440 ($(all-built-dso:=.phdr)): New static pattern rule.
3441 (generated): Add those targets.
3442 * elf/check-execstack.c: File removed.
3444 * scripts/check-textrel.awk: New file.
3445 * elf/Makefile ($(objpfx)check-textrel): Target removed.
3446 (check-textrel-CFLAGS): Variable removed.
3447 (all-built-dso): Use := to define.o
3448 ($(all-built-dso:=.dyn)): New static pattern rule.
3449 (generated): Add those targets.
3450 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
3451 * config.make.in (READELF): New substituted variable.
3452 * elf/check-textrel.c: File removed.
3454 2012-05-01 Joseph Myers <joseph@codesourcery.com>
3456 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3458 * conform/data/ctype.h-data [C99-based standards] (isblank):
3460 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
3461 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
3462 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3463 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
3464 Specify type. Require positive value.
3467 [ISO || POSIX] (EILSEQ): Do not expect.
3468 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
3469 Specify type. Require positive value.
3470 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
3471 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
3472 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
3473 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
3474 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
3475 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
3476 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
3477 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
3478 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
3479 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
3480 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
3481 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
3482 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
3483 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
3484 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
3485 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
3486 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
3487 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
3488 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
3489 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
3490 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
3491 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
3492 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
3493 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
3494 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
3495 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
3496 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
3497 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
3498 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
3499 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
3500 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
3501 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
3502 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
3503 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
3504 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
3505 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
3506 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
3507 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
3508 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
3509 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
3510 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
3511 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
3512 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
3513 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
3514 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
3515 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
3516 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
3517 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
3518 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
3519 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
3520 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
3521 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
3522 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
3523 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
3524 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
3525 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
3526 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
3527 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
3528 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
3529 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
3530 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
3531 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
3532 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
3533 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
3534 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
3535 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
3536 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
3537 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
3538 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
3539 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
3540 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
3541 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
3542 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
3543 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
3544 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
3545 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
3546 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
3548 (FLT_ROUNDS): Expect as macro, not constant.
3549 (FLT_MANT_DIG): Use macro-int-constant.
3550 (DBL_MANT_DIG): Likewise.
3551 (LDBL_MANT_DIG): Likewise.
3552 (FLT_DIG): Likewise.
3553 (DBL_DIG): Likewise.
3554 (LDBL_DIG): Likewise.
3555 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
3556 (DBL_MIN_EXP): Likewise.
3557 (LDBL_MIN_EXP): Likewise.
3558 (FLT_MAX_EXP): Use macro-int-constant.
3559 (DBL_MAX_EXP): Likewise.
3560 (LDBL_MAX_EXP): Likewise.
3561 (FLT_MAX_10_EXP): Likewise.
3562 (DBL_MAX_10_EXP): Likewise.
3563 (LDBL_MAX_10_EXP): Likewise.
3564 (FLT_MAX): Use macro-constant.
3565 (DBL_MAX): Likewise.
3566 (LDBL_MAX): Likewise.
3567 (FLT_EPSILON): Use macro-constant. Give upper bound.
3568 (DBL_EPSILON): Likewise.
3569 (LDBL_EPSILON): Likewise.
3570 (FLT_MIN): Likewise.
3571 (DBL_MIN): Likewise.
3572 (LDBL_MIN): Likewise.
3573 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
3574 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
3575 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
3576 [ISO11] (FLT_HAS_SUBNORM): Likewise.
3577 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
3578 [ISO11] (DBL_DECIMAL_DIG): Likewise.
3579 [ISO11] (FLT_DECIMAL_DIG): Likewise.
3580 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
3581 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
3582 [ISO11] (FLT_TRUE_MIN): Likewise.
3583 [ISO11] (LDBL_TRUE_MIN): Likewise.
3584 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3585 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
3586 (SCHAR_MIN): Use macro-int-constant. Specify type.
3587 (SCHAR_MAX): Likewise.
3588 (UCHAR_MAX): Likewise.
3589 (CHAR_MIN): Likewise.
3590 (CHAR_MAX): Likewise.
3591 (MB_LEN_MAX): Use macro-int-constant.
3592 (SHRT_MIN): Use macro-int-constant. Specify type.
3593 (SHRT_MAX): Likewise.
3594 (USHRT_MAX): Likewise.
3595 (INT_MAX): Likewise.
3596 (INT_MIN): Use macro-int-constant. Specify type. Make upper
3598 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
3600 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3602 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
3603 bound negative. Suffix upper bound with "L".
3604 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3606 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
3608 [C99-based standards] (LLONG_MAX): Likewise.
3609 [C99-based standards] (ULLONG_MAX): Likewise.
3610 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
3612 [ISO11] (max_align_t): Require type.
3613 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3615 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
3616 from $CFLAGS, without defining away __attribute__ calls.
3617 (checknamespace): Use $CFLAGS_namespace.
3619 * conform/conformtest.pl (@keywords): Only include C99 keywords
3620 for standards based on C99 or C11.
3622 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
3624 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
3627 * conform/conformtest.pl: Handle "macro-int-constant" and test for
3628 usability of symbols in #if.
3630 * conform/conformtest.pl: If macro or constant types start
3631 "promoted:", expect the symbol to be of the following type
3632 promoted by the integer promotions.
3634 * conform/conformtest.pl: Parse all "constant" and "macro" lines
3635 in one place. Also handle "macro-constant".
3637 * conform/conformtest.pl: Only accept expected macro values with
3638 "==". Parse all "macro" lines in one place.
3639 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
3641 * conform/conformtest.pl: Handle braced types on "constant" lines
3642 instead of handling "typed-constant".
3643 * conform/data/signal.h-data: Use "constant" instead of
3646 * conform/conformtest.pl: Handle "optional-" at start of lines in
3647 one place rather than duplicating several cases. Handle each
3648 format of "macro" line with initial "optional-".
3650 * conform/conformtest.pl: Only accept expected constant or
3651 optional-constant values with "==". Parse all "constant" lines in
3652 one place. Parse all "optional-constant" lines in one place.
3653 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
3654 * conform/data/fmtmsg.h-data: Likewise.
3655 * conform/data/netinet/in.h-data: Likewise.
3656 * conform/data/tar.h-data: Likewise.
3657 * conform/data/limits.h-data: Use "==" form on "constant" and
3658 "optional-constant" lines.
3660 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
3661 Use -std=c99 for XOPEN2K.
3662 (@knownproblems): Remove.
3663 (newtoken): Don't check %isknown.
3665 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
3666 Do not expect macro.
3667 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
3668 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
3669 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
3670 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
3671 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
3672 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
3673 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
3674 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
3675 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
3676 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
3677 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
3678 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
3679 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
3680 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
3681 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
3682 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
3683 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
3684 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
3685 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
3686 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
3687 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
3688 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
3689 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
3690 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
3691 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
3692 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
3693 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
3694 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
3695 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
3696 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
3697 [XPG3] (acosh): Likewise.
3698 [XPG3] (asinh): Likewise.
3699 [XPG3] (atanh): Likewise.
3700 [XPG3] (cbrt): Likewise.
3701 [XPG3] (expm1): Likewise.
3702 [XPG3] (ilogb): Likewise.
3703 [XPG3] (log1p): Likewise.
3704 [XPG3] (logb): Likewise.
3705 [XPG3] (nextafter): Likewise.
3706 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
3707 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
3708 [XPG3] (remainder): Likewise.
3709 [XPG3] (rint): Likewise.
3710 [XPG3 || XPG4 || UNIX98] (round): Likewise.
3711 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
3712 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
3713 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
3714 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
3715 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
3716 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
3717 [UNIX98 || XOPEN2K] (scalb): Expect.
3718 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
3719 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
3720 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
3721 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
3722 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
3723 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
3724 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
3725 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
3726 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
3727 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
3728 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
3729 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
3730 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
3731 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
3732 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
3733 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
3734 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
3735 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
3736 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
3737 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
3738 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
3739 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
3740 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
3741 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
3742 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
3743 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
3744 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
3745 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
3746 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
3747 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
3748 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
3749 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
3750 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
3751 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
3752 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
3753 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
3754 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
3755 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
3756 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
3757 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
3758 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
3759 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
3760 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
3761 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
3762 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
3763 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
3764 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
3765 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
3766 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
3767 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
3768 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
3769 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
3770 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
3771 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
3772 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
3773 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
3774 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
3775 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
3776 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
3777 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
3778 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
3779 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
3780 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
3781 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
3782 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
3783 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
3784 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
3785 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
3786 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
3787 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
3788 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
3789 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
3790 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
3791 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
3792 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
3793 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
3794 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
3795 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
3796 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
3797 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
3798 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
3799 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
3800 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
3801 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
3802 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
3803 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
3804 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
3805 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
3806 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
3807 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
3808 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
3809 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
3810 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
3811 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
3812 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
3813 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
3814 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
3815 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
3816 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
3817 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
3818 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
3819 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
3820 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
3821 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
3822 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
3823 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
3824 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
3825 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
3826 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
3827 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
3828 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
3829 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
3830 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
3831 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
3832 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
3833 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
3834 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
3835 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
3836 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
3837 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
3838 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
3839 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
3840 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
3841 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
3842 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
3843 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
3844 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
3845 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
3846 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
3847 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
3848 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
3849 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
3850 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
3851 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
3852 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
3853 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
3854 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
3856 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
3857 _XOPEN_SOURCE_EXTENDED for XPG4.
3859 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
3861 * Makeconfig (localtime): Remove variable.
3862 (inst_localtime-file): Likewise.
3864 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
3866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
3868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
3872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
3876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
3878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
3882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3885 2012-05-01 Joseph Myers <joseph@codesourcery.com>
3889 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
3890 comparisons to determine direction to adjust input.
3891 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
3892 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
3893 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
3895 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
3897 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
3899 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
3900 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
3902 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
3904 * math/libm-test.inc (nexttoward_test): Add more tests.
3906 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
3909 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
3910 in version GLIBC_2.1, not GLIBC_2.0.
3911 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
3914 2012-04-30 Joseph Myers <joseph@codesourcery.com>
3917 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
3919 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
3920 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
3921 * math/libm-test.inc (acos_test): Add more tests.
3922 (asin_test): Likewise.
3923 * sysdeps/i386/fpu/libm-test-ulps: Update.
3924 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3927 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
3929 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
3930 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
3931 * math/libm-test.inc (acos_test_tonearest): New function.
3932 (acos_test_towardzero): Likewise.
3933 (acos_test_downward): Likewise.
3934 (acos_test_upward): Likewise.
3935 (asin_test_tonearest): Likewise.
3936 (asin_test_towardzero): Likewise.
3937 (asin_test_downward): Likewise.
3938 (asin_test_upward): Likewise.
3939 (main): Call the new functions.
3940 * sysdeps/i386/fpu/libm-test-ulps: Update.
3941 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3945 * math/e_exp10.c: Include <float.h>.
3946 (__ieee754_exp10): Handle underflow here rather than multiplying
3947 large negative argument by M_LN10.
3948 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
3950 * math/e_exp10l.c: Include <float.h>.
3951 (__ieee754_exp10l): Handle underflow here rather than multiplying
3952 large negative argument by M_LN10l.
3953 * math/libm-test.inc (exp10_test): Add another test. Do not allow
3954 spurious overflow exception on underflow.
3956 2012-04-29 Marek Polacek <polacek@redhat.com>
3958 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
3959 (__fortify_function): New macro.
3960 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
3961 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
3962 __extern_always_inline.
3963 * libio/bits/stdio2.h: Likewise.
3964 * libio/bits/stdio.h: Likewise.
3965 * string/string.h: Likewise.
3966 * string/bits/string3.h: Likewise.
3967 * include/stdio.h: Likewise.
3968 * stdlib/bits/stdlib.h: Likewise.
3969 * stdlib/stdlib.h: Likewise.
3970 * rt/bits/mqueue2.h: Likewise.
3971 * rt/mqueue.h: Likewise.
3972 * posix/bits/unistd.h: Likewise.
3973 * posix/unistd.h: Likewise.
3974 * io/bits/poll2.h: Likewise.
3975 * io/bits/fcntl2.h: Likewise.
3976 * io/fcntl.h: Likewise.
3977 * io/sys/poll.h: Likewise.
3978 * misc/bits/syslog.h: Likewise.
3979 * misc/bits/syslog-ldbl.h: Likewise.
3980 * misc/sys/syslog.h: Likewise.
3981 * socket/bits/socket2.h: Likewise.
3982 * socket/sys/socket.h: Likewise.
3983 * debug/tst-chk1.c: Likewise.
3984 * wcsmbs/bits/wchar2.h: Likewise.
3985 * wcsmbs/bits/wchar-ldbl.h: Likewise.
3986 * wcsmbs/wchar.h: Likewise.
3988 2012-04-29 Andreas Jaeger <aj@suse.de>
3990 * Makerules (tests): Remove enable-check-abi protection.
3991 (check-abi-warn): Remove.
3992 (check-abi-%): Remove check-abi-warn usage.
3994 * configure.in: Remove check-abi configure option.
3995 * configure: Regenerated.
3996 * config.make.in (enable-check-abi): Remove.
3998 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
4001 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
4002 double functions to double *_finite functions.
4005 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
4006 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
4008 * stdio-common/Makefile (tests): Add tst-sprintf3.
4009 * stdio-common/tst-sprintf3.c: New file.
4011 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
4012 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
4014 2012-04-28 Joseph Myers <joseph@codesourcery.com>
4016 * conform/conformtest.pl: Remove duplicate typed-constant
4019 2012-04-28 David S. Miller <davem@davemloft.net>
4021 * Makerules (%.abilist): Add vpath on sysdep_dirs.
4022 (check-abi-%): Remove AWK script prerequisite and explicit
4024 (check-abi): Rewrite to just diff the symlist with the abilist.
4025 (config-tls, config-abi-config): Delete, no longer used.
4026 (update-abi-%): Remove AWK script and explicit abilist directory.
4027 (update-abi): Rewrite to simply compare and conditionally copy the
4028 symlist and the sysdep abilist file. Remove update-abi-config
4030 * abilist/ld.abilist: Remove.
4031 * abilist/libBrokenLocale.abilist: Remove.
4032 * abilist/libanl.abilist: Remove.
4033 * abilist/libcrypt.abilist: Remove.
4034 * abilist/libdl.abilist: Remove.
4035 * abilist/librt.abilist: Remove.
4036 * abilist/libthread_db.abilist: Remove.
4037 * abilist/libutil.abilist: Remove.
4038 * scripts/extract-abilist.awk: Remove.
4039 * scripts/merge-abilist.awk: Remove.
4040 * sysdeps/generic/libcidn.abilist: New file.
4041 * sysdeps/generic/libnss_compat.abilist: New file.
4042 * sysdeps/generic/libnss_db.abilist: New file.
4043 * sysdeps/generic/libnss_dns.abilist: New file.
4044 * sysdeps/generic/libnss_files.abilist: New file.
4045 * sysdeps/generic/libnss_hesiod.abilist: New file.
4046 * sysdeps/generic/libnss_nis.abilist: New file.
4047 * sysdeps/generic/libnss_nisplus.abilist: New file.
4048 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
4049 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
4050 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
4052 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
4053 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
4054 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
4055 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
4056 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
4057 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
4058 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
4059 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
4060 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
4062 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
4063 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
4064 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
4065 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
4067 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
4068 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
4069 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
4070 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
4071 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
4072 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
4074 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
4075 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
4076 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
4078 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
4079 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
4081 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
4083 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
4085 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
4087 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
4089 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
4091 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
4093 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
4095 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
4097 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
4099 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
4101 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
4103 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
4105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
4107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
4109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
4111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
4113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
4115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
4117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
4119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
4121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
4125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
4127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
4129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
4131 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
4132 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
4134 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
4136 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
4138 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
4140 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
4142 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
4144 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
4146 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4148 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
4150 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
4152 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4154 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
4156 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
4157 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
4159 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4161 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
4163 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
4165 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
4167 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
4169 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
4171 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4173 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
4175 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
4177 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4179 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
4181 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
4182 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
4183 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
4185 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
4186 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
4187 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
4188 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
4189 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
4190 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
4191 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
4192 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
4193 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
4194 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
4195 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
4196 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
4198 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
4200 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
4202 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
4204 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
4206 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
4208 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
4210 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4212 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
4214 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
4216 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
4218 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
4220 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
4221 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
4223 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
4225 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
4227 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
4229 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
4231 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
4233 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
4235 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4237 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
4239 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
4241 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
4243 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
4246 2012-04-28 Joseph Myers <joseph@codesourcery.com>
4248 * conform/conformtest.pl: Fix typo in handling typed-constant from
4251 2012-04-27 Joseph Myers <joseph@codesourcery.com>
4253 * README: Cut down references to pre-2.6 Linux kernels and
4254 Linuxthreads. Update lists of configurations in libc and ports
4255 and sort alphabetically. Say "or newer" with Linux kernel version
4258 * config.h.in [IS_IN_build]: Allow compiling without optimization.
4260 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4263 * math/libm-test.inc (logb_test_downward): New test to expose
4264 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
4267 2012-04-27 Joseph Myers <joseph@codesourcery.com>
4270 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
4272 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
4273 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
4275 2012-04-26 Joseph Myers <joseph@codesourcery.com>
4277 * sysdeps/unix/i386/brk.S: Remove file.
4278 * sysdeps/unix/i386/dl-brk.S: Likewise.
4279 * sysdeps/unix/i386/pipe.S: Likewise.
4280 * sysdeps/unix/i386/sigreturn.S: Likewise.
4281 * sysdeps/unix/i386/syscall.S: Likewise.
4282 * sysdeps/unix/i386/vfork.S: Likewise.
4283 * sysdeps/unix/i386/wait.S: Likewise.
4285 * sysdeps/unix/common/tcsendbrk.c: Move to ...
4286 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
4288 * configure.in (arm*-none*): Do not allow without
4289 --enable-hacker-mode.
4290 (netbsd*): Remove case setting base_os.
4291 (386bsd*): Likewise.
4292 (freebsd*): Likewise.
4296 (ultrix*): Likewise.
4297 (newsos*): Likewise.
4307 (solaris[2-9]*): Likewise.
4309 * configure: Regenerated.
4311 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4314 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
4315 overflow or cancellation in calculating denominator.
4316 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
4317 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
4318 down expression to avoid unexpected rounding in newer GCCs.
4319 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
4321 2012-04-26 David S. Miller <davem@davemloft.net>
4323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
4324 long-double compat symbols.
4325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
4329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4330 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
4331 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
4332 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
4333 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
4334 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
4335 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
4336 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
4337 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4339 2012-04-25 David S. Miller <davem@davemloft.net>
4341 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
4342 HWCAP_* values only after the memory barriers have been defined.
4343 (atomic_full_barrier): Define.
4344 (atomic_read_barrier): Define.
4345 (atomic_write_barrier): Define.
4347 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4349 * shlib-versions: Add libgcc_s version information.
4350 * sysdeps/generic/libgcc_s.h: Remove.
4351 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
4353 * sysdeps/gnu/unwind-resume.c: Likewise.
4354 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
4356 2012-04-25 David S. Miller <davem@davemloft.net>
4358 * sysdeps/unix/sparc/brk.S: Delete.
4359 * sysdeps/unix/sparc/dl-brk.S: Delete.
4360 * sysdeps/unix/sparc/pipe.S: Delete.
4361 * sysdeps/unix/sparc/sysdep.S: Delete.
4362 * sysdeps/unix/sparc/sysdep.h: Delete.
4363 * sysdeps/unix/sparc/vfork.S: Delete.
4364 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
4365 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
4366 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
4367 ret_ERRVAL, r0, r1, MOVE): Define.
4368 (JUMPTARGET): Remove.
4369 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
4370 sysdeps/unix/sparc/sysdep.h
4371 (ENTRY, END): Remove.
4372 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4374 2012-04-25 Joseph Myers <joseph@codesourcery.com>
4376 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
4377 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
4380 * timezone/README: Update upstream location and email address for
4382 * timezone/zdump.c: Update from tzcode 2012b.
4383 * timezone/zic.c: Likewise.
4385 * configure.in (libc_cv_as_needed): Remove test.
4386 * configure: Regenerated.
4387 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
4388 conditional definition.
4389 [$(have-as-needed) != yes] (no-as-needed): Likewise.
4390 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
4391 * config.make.in (have-as-needed): Remove variable.
4393 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4394 Paul Pluzhnikov <ppluzhnikov@google.com>
4396 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
4399 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
4401 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
4402 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
4403 * sysdeps/sh/strlen.S: Likewise.
4405 2012-04-24 Joseph Myers <joseph@codesourcery.com>
4407 * sysdeps/unix/fork.S: Remove file.
4408 * sysdeps/unix/i386/fork.S: Likewise.
4409 * sysdeps/unix/sparc/fork.S: Likewise.
4411 * sysdeps/unix/system.c: Remove file.
4412 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
4414 * sysdeps/unix/getegid.S: Remove file.
4415 * sysdeps/unix/geteuid.S: Likewise.
4417 2012-04-24 Roland McGrath <roland@hack.frob.com>
4419 * scripts/check-localplt.awk: New file.
4420 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
4422 * scripts/data/localplt-generic.data: Add a comment.
4424 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
4425 NODE when __dir_mkfile failed.
4426 * sysdeps/mach/hurd/symlinkat.c: Likewise.
4427 Reported by Ludovic Courtès <ludo@gnu.org>.
4429 2012-04-24 Andreas Jaeger <aj@suse.de>
4431 * Makerules (common-clean): Also remove gen-as-const-headers
4434 2012-04-24 Joseph Myers <joseph@codesourcery.com>
4436 * Makerules (native-compile): Do not change working directory for
4437 build. Use $(OUTPUT_OPTION) in command.
4438 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
4440 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4443 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
4444 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
4445 * math/libm-test.inc (floor_test): Add more tests.
4446 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
4448 2012-04-24 Joseph Myers <joseph@codesourcery.com>
4450 * sysdeps/unix/getdents.c: Remove file.
4451 * sysdeps/unix/sysv/getdents.c: Likewise.
4452 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
4454 * sysdeps/unix/syscalls.list (madvise): Add syscall from
4455 sysdeps/unix/mman/syscalls.list.
4457 (mprotect): Likewise.
4460 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
4461 * sysdeps/unix/mman/syscalls.list: Remove.
4462 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
4464 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
4465 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
4466 * configure: Regenerated.
4467 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
4469 * config.make.in (libgcc_s_suffix): Remove variable.
4471 2012-04-23 Joseph Myers <joseph@codesourcery.com>
4473 * sysdeps/unix/sysv/gethostname.c: Move to ...
4474 * sysdeps/posix/gethostname.c: ... here.
4476 * sysdeps/unix/execve.S: Remove file.
4478 * sysdeps/unix/_exit.S: Remove file.
4480 2012-04-23 Andreas Jaeger <aj@suse.de>
4483 * manual/Makefile: Remove make dist support, there's no
4484 need for a stand-alone documentation tar ball.
4485 (TEXI2DVI): Define always, it's not in Makeconfig.
4489 (glibc-doc-$(edition).tar): Removed
4493 (ETAGS): Remove, it's in Makeconfig.
4494 (move-if-change): Remove, it's in Makeconfig.
4496 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
4499 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
4500 (strtod, strtof, strtold, strtol, strtoul, strtoq)
4501 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
4502 (strtod_l, strtof_l, strtold_l): Remove __wur.
4503 It is not necessarily an error to ignore strtol's return value.
4504 One can reliably look at the stored endptr to decide whether
4505 the number had valid syntax.
4507 2012-04-21 Andreas Jaeger <aj@suse.de>
4510 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
4512 2012-04-21 Joseph Myers <joseph@codesourcery.com>
4514 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
4515 * sysdeps/unix/sysv/Versions: Remove file.
4517 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
4520 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4522 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
4525 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
4526 version from __vm86.
4528 2012-04-20 Joseph Myers <joseph@codesourcery.com>
4530 * sysdeps/unix/common/lxstat.c: Remove file.
4531 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
4533 * sysdeps/unix/sysv/Makefile: Remove file.
4535 * sysdeps/unix/sysv/direct.h: Remove file.
4537 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
4538 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
4539 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
4540 * sysdeps/unix/sysv/bits/signum.h: Likewise.
4541 * sysdeps/unix/sysv/bits/stat.h: Likewise.
4542 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
4543 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
4545 * sysdeps/unix/sysv/setrlimit.c: Remove file.
4547 * sysdeps/unix/xmknod.c: Remove file.
4548 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
4550 * sysdeps/unix/sysv/settimeofday.c: Remove file.
4552 * sysdeps/unix/sysv/i386/time.S: Remove file.
4554 * sysdeps/unix/fxstat.c: Remove file.
4555 * sysdeps/unix/xstat.c: Likewise.
4556 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
4558 * sysdeps/unix/sysv/sigaction.c: Remove file.
4560 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
4561 (sysdep_headers): Remove variable.
4562 [termio.h not in sysdep_headers] (generated): Likewise.
4563 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
4564 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
4565 * sysdeps/unix/sysv/tcdrain.c: Likewise.
4566 * sysdeps/unix/sysv/tcflow.c: Likewise.
4567 * sysdeps/unix/sysv/tcflush.c: Likewise.
4568 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
4569 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
4570 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
4571 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
4572 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
4574 * sysdeps/unix/siglist.c: Remove file.
4576 * sysdeps/unix/getppid.S: Remove file.
4578 * sysdeps/unix/mkdir.c: Remove file.
4579 * sysdeps/unix/rmdir.c: Likewise.
4581 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
4583 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
4585 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
4586 errlist-compat value.
4588 2012-04-18 David S. Miller <davem@davemloft.net>
4590 * sysdeps/generic/memcopy.h (reg_char): Delete.
4591 * debug/strcat_chk.c: Use char, not reg_char.
4592 * debug/strcpy_chk.c: Likewise.
4593 * debug/strncat_chk.c: Likewise.
4594 * debug/strncpy_chk.c: Likewise.
4595 * string/memchr.c: Likewise.
4596 * string/memrchr.c: Likewise.
4597 * string/rawmemchr.c: Likewise.
4598 * string/strcat.c: Likewise.
4599 * string/strchr.c: Likewise.
4600 * string/strchrnul.c: Likewise.
4601 * string/strcmp.c: Likewise.
4602 * string/strcpy.c: Likewise.
4603 * string/strncat.c: Likewise.
4604 * string/strncmp.c: Likewise.
4605 * string/strncpy.c: Likewise.
4607 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4609 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
4610 __builtin_memcopy is called when src and dest ranges are known to not
4613 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4615 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
4616 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
4617 fwd_align_merge macro call.
4618 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
4619 bwd_align_merge macro call.
4620 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4622 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4624 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
4625 bwd_align_merge macros.
4626 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
4627 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
4628 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4630 2012-04-18 David S. Miller <davem@davemloft.net>
4632 * sysdeps/sparc/sparc64/memcopy.h: Delete.
4634 2012-04-18 Andreas Jaeger <aj@suse.de>
4637 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
4638 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
4639 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4641 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
4642 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
4643 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4645 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
4646 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
4647 Adjust for changed ldbl-128 files.
4649 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
4650 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
4651 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4653 2012-04-17 David S. Miller <davem@davemloft.net>
4655 * sysdeps/sparc/sparc32/memcopy.h: Delete.
4657 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
4659 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
4660 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
4661 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
4662 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
4663 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4664 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
4666 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4669 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
4670 * math/libm-test.inc: Add ilogb errno and exception tests.
4671 * math/w_ilogb.c: New file: ilogb wrapper.
4672 * math/w_ilogbf.c: New file: ilogbf wrapper.
4673 * math/w_ilogbl.c: New file: ilogbl wrapper.
4674 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
4675 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
4676 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
4677 exception being thrown with 0.0 as argument.
4678 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
4679 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
4680 exception being thrown with 0.0 as argument.
4681 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
4682 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4683 exception being thrown with 0.0 as argument.
4684 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
4685 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4686 exception being thrown with 0.0 as argument.
4687 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
4688 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
4689 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
4690 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
4691 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
4692 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
4693 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
4694 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
4695 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
4697 2012-04-17 Petr Baudis <pasky@ucw.cz>
4699 * include/sys/uio.h: Change __vector to __iovec to avoid clash
4702 2012-04-16 Marek Polacek <polacek@redhat.com>
4704 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
4706 2012-04-16 Marek Polacek <polacek@redhat.com>
4708 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
4709 operands of fdivp instruction.
4711 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4713 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
4714 * elf/tst-auditmod3b.c: Likewise.
4715 * elf/tst-auditmod4b.c: Likewise.
4716 * elf/tst-auditmod5b.c: Likewise.
4717 * elf/tst-auditmod6b.c: Likewise.
4718 * elf/tst-auditmod6c.c: Likewise.
4719 * elf/tst-auditmod7b.c: Likewise.
4720 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
4721 * sysdeps/x86_64/preconfigure.in: Likewise.
4722 * sysdeps/x86_64/preconfigure: Regenerated.
4724 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4726 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
4729 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
4731 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4732 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
4734 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
4737 * locale/iso-639.def: Fix gl language name. Spotted by
4740 2012-04-12 Roland McGrath <roland@hack.frob.com>
4743 * libio/libio.h (__io_write_fn): Update comment.
4745 2012-04-12 Petr Baudis <pasky@ucw.cz>
4748 * stdio.texi (Hook Functions): The user provided writer function
4749 is not allowed to return -1.
4751 2012-04-11 David S. Miller <davem@davemloft.net>
4753 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4755 2012-04-11 Mike Frysinger <vapier@gentoo.org>
4757 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
4758 Add a leading slash to rtkaio.
4760 2012-04-11 Jim Meyering <meyering@redhat.com>
4763 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
4764 It is not necessarily an error to ignore fwrite's return
4765 value. One can reliably use ferror to test for errors after
4768 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
4770 * bits/types.h (__snseconds_t): New type.
4771 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
4773 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
4774 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4775 (__SNSECONDS_T_TYPE): Likewise.
4776 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4777 (__SNSECONDS_T_TYPE): Likewise.
4778 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4779 (__SNSECONDS_T_TYPE): Likewise.
4781 2012-04-10 Andreas Jaeger <aj@suse.de>
4784 * manual/time.texi (Processor Time): Return type of times is
4785 elapsed real time since an arbitrary point in the past.
4786 (CPU Time): Move CLK_TCK from here...
4787 (Processor Time): ...to here. Correct description.
4788 * manual/conf.texi (Constants for Sysconf): Correct description of
4791 2012-04-10 David S. Miller <davem@davemloft.net>
4794 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
4795 where the is a gap between DT_REL(A) and DT_JMPREL.
4797 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
4799 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
4800 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
4801 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
4803 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4805 * elf/dl-support.c (_dl_inhibit_cache): New variable.
4806 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
4807 (dl_main): Handle --inhibit-cache.
4808 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
4810 * elf/dl-load.c (_dl_map_object): Use it.
4811 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
4813 2012-04-09 Joseph Myers <joseph@codesourcery.com>
4816 * sysdeps/i386/fpu/e_powl.S (p78): New object.
4817 (__ieee754_powl): Saturate large exponents rather than testing for
4818 overflow of y*log2(x).
4819 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4820 * math/libm-test.inc (pow_test): Do not permit spurious overflow
4824 * math/s_ctan.c: Include <float.h>.
4825 (__ctan): Avoid internal overflow or cancellation in calculating
4827 * math/s_ctanf.c: Likewise.
4828 * math/s_ctanl.c: Likewise.
4829 * math/s_ctanh.c: Likewise.
4830 * math/s_ctanhf.c: Likewise.
4831 * math/s_ctanhl.c: Likewise.
4832 * math/libm-test.inc (ctan_test): Add more tests.
4833 (ctanh_test): Likewise.
4834 * sysdeps/i386/fpu/libm-test-ulps: Update.
4835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4837 2012-04-09 Andreas Jaeger <aj@suse.de>
4840 * manual/filesys.texi (Directory Entries): Mention that d_namlen
4841 is an optional BSD extension.
4844 * manual/stdio.texi (Opening Streams): Document additional fopen
4847 2012-04-09 Roland McGrath <roland@hack.frob.com>
4849 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
4850 %eax without telling the compiler.
4852 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
4855 * manual/install.texi: Use sourceware.org.
4857 2012-04-09 Joseph Myers <joseph@codesourcery.com>
4860 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
4861 (__ieee754_pow): Generate overflow and underflow using huge*huge
4862 and tiny*tiny rather than just returning constant infinity or zero
4863 for large exponents.
4864 * math/libm-test.inc (pow_test): Require overflow exceptions for
4865 applicable cases of large exponents.
4868 * sysdeps/i386/fpu/e_pow.S (p10): New object.
4869 (__ieee754_pow): Use iterative multiplication algorithm only for
4870 integer exponents with absolute value below 1024. Check for odd
4871 integer exponents when using algorithm for real exponents.
4872 * math/libm-test.inc (pow_test): Add more tests.
4873 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4875 2012-04-08 Joseph Myers <joseph@codesourcery.com>
4878 * math/libm-test.inc (exp_test): Do not allow overflow exception
4881 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
4884 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
4885 instead of __kernel_standard_f.
4887 2012-04-08 Mike Frysinger <vapier@gentoo.org>
4889 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
4890 * sysdeps/x86_64/memset_chk.S: Likewise.
4892 2012-04-08 Andreas Jaeger <aj@suse.de>
4895 * manual/startup.texi (Environment Access): Describe return value
4896 for putenv and setenv.
4899 * manual/filesys.texi (Directory Entries): Add description for
4903 * manual/filesys.texi (Directory Entries): Clarify that it's file
4904 system not operating system in the description of DT_UNKNOWN.
4907 * manual/syslog.texi (closelog): Fix reference, it's openlog.
4909 2012-04-08 Stephen Compall <s11@member.fsf.org>
4912 * manual/llio.texi (Opening and Closing Files): Add cross
4913 reference to explain mode argument.
4915 2012-04-07 Mike Frysinger <vapier@gentoo.org>
4917 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
4918 * sysdeps/x86_64/memset_chk.S: Likewise.
4920 2012-04-07 David S. Miller <davem@davemloft.net>
4922 * elf/elf.h (R_SPARC_WDISP10): Define.
4923 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
4925 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
4926 R_SPARC_SIZE64 and R_SPARC_H34.
4928 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
4930 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
4931 conditions and remove no longer applicable assertion.
4933 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
4935 * bits/byteswap.h: Include <features.h>.
4936 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
4937 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
4939 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
4941 * bits/byteswap.h (__bswap_16): Removed.
4942 Include <bits/byteswap-16.h> to get __bswap_16.
4943 * sysdeps/i386/bits/byteswap.h: Likewise.
4944 * sysdeps/s390/bits/byteswap.h: Likewise.
4945 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4946 * bits/byteswap-16.h: New file.
4947 * sysdeps/i386/bits/byteswap-16.h: Likewise.
4948 * sysdeps/s390/bits/byteswap-16.h: Likewise.
4949 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
4950 * string/Makefile (headers): Add bits/byteswap-16.h.
4952 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
4955 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
4957 * nss/Makefile (tests-static, tests): Add tst-nss-static.
4958 * nss/tst-nss-static.c: New.
4960 2012-04-06 Robert Millan <rmh@gnu.org>
4963 * manual/llio.texi (File Position Primitive): lseek
4964 refers to WHENCE when it really means OFFSET.
4966 2012-04-06 Andreas Jaeger <aj@suse.de>
4968 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
4969 strncmp declarations.
4971 * abilist/libc.abilist: Add __poll and __ppoll.
4973 2012-04-05 David S. Miller <davem@davemloft.net>
4975 * scripts/check-local-headers.sh: Accept a host triplet in the
4976 path matched by the exclude regexp.
4978 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
4980 * sysdeps/powerpc/powerpc32/dl-machine.h
4981 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
4982 * sysdeps/s390/s390-32/dl-machine.h
4983 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4984 * sysdeps/sparc/sparc32/dl-machine.h
4985 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4986 * sysdeps/sparc/sparc64/dl-machine.h
4987 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4989 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
4991 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
4992 undefined symbol errors.
4994 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
4997 2012-04-05 Michael Matz <matz@suse.de>
5000 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
5002 2012-04-05 Andreas Jaeger <aj@suse.de>
5005 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
5008 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5010 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
5011 which ROUND is no valid rounding mode.
5013 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5015 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
5017 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
5019 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5021 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
5022 an exception using FPU order intentionally.
5024 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5026 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
5027 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
5028 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
5029 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
5031 2012-04-05 Simon Josefsson <simon@josefsson.org>
5034 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
5035 EINVAL when BUFLEN is too smal.
5037 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
5040 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
5041 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
5043 2012-04-03 Andreas Jaeger <aj@suse.de>
5046 * manual/setjmp.texi (System V contexts): Fix sentence.
5049 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
5050 New macro for this case.
5051 [!__GNUC__] (__bswap_64): New inline function for this case.
5052 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5053 * bits/byteswap.h: Likewise.
5054 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
5055 ull, guard with __GLIBC_HAVE_LONG_LONG.
5057 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
5058 __GLIBC_HAVE_LONG_LONG.
5060 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
5061 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
5063 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5066 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
5067 inptr and inend, rather than using last_ch.
5069 2012-04-02 David S. Miller <davem@davemloft.net>
5071 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
5072 * stdio-common/printf-parse.h (read_int): Change return type to
5073 'int', return -1 on INT_MAX overflow.
5074 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
5075 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
5076 overflows INT_MAX. Check for overflow of in-format-string precision
5077 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
5078 SIZE_MAX not INT_MAX for integer overflow test.
5079 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
5080 skip the construct in the format string but do not record anything.
5081 * stdio-common/bug22.c: Adjust to test both width/prevision
5082 INT_MAX overflow as well as total length INT_MAX overflow. Check
5083 explicitly for proper errno values.
5085 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
5087 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
5089 * string/test-strcmp.c [! WIDE]: Likewise.
5090 * time/tst-mktime2.c: Likewise for INT_MAX.
5091 * string/test-string.h: #include <sys/param.h> for MIN.
5093 * csu/init-first.c (__libc_init_first): Call __ctype_init.
5094 * sysdeps/i386/init-first.c (init): Likewise.
5095 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
5096 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
5097 * sysdeps/sh/init-first.c (init): Likewise.
5099 2012-04-01 Ulrich Drepper <drepper@gmail.com>
5101 * po/ru.po: Update from translation team.
5102 * po/vi.po: Likewise.
5104 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5106 * resolv/nss_dns/dns-host.c: Merge copyright years.
5108 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5110 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5111 Optimize memcpy with prefetch if
5112 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
5113 src, dst pointers have unequal 16 byte alignments.
5115 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5118 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
5119 from a CNAME entry and return the minimum ttl for the query.
5120 (gaih_getanswer_slice): Likewise.
5122 2012-03-30 Jeff Law <law@redhat.com>
5124 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
5126 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
5127 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
5129 * resolv/nss_dns/dns-host.c: Update copyright year.
5131 2012-03-30 Ulrich Drepper <drepper@gmail.com>
5133 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
5134 requests to save a system call. Fix check that all bytes are sent.
5136 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
5137 comments for sendmmsg.
5139 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5142 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
5143 with only 1 character between 0x0041 and 0x01b0.
5144 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
5145 * wcsmbs/tst-mbsnrtowcs.c: New file.
5147 2012-03-29 David S. Miller <davem@davemloft.net>
5149 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
5150 small copies by hand.
5152 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5155 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
5156 _nss_compat_initgroups_dyn): Fall back to malloc/free
5157 for large group memberships.
5159 2012-03-28 David S. Miller <davem@davemloft.net>
5161 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
5162 that branches into memcpy.
5163 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5164 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
5165 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5166 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
5167 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
5169 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
5171 * sysdeps/sparc/mempcpy.S: New file.
5173 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
5174 the IFUNC routine in the libc case.
5175 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5177 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
5178 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
5179 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
5180 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
5181 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
5182 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
5183 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
5184 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
5186 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
5187 loop to 256 bytes instead of 64 bytes and fix test signedness.
5189 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
5190 * sysdeps/sparc/sparc32/Makefile: rather than here...
5191 * sysdeps/sparc/sparc64/Makefile: and here.
5193 2012-03-28 Ulrich Drepper <drepper@gmail.com>
5195 * malloc/mallocbug.c: Avoid warnings about unused variables.
5197 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5200 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
5201 in the right place. Discard and retry query if response is
5202 larger than input buffer size.
5204 2012-03-28 Joseph Myers <joseph@codesourcery.com>
5209 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
5210 x for large integer exponent.
5211 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5212 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
5213 sign of result as needed afterwards.
5214 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
5215 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
5216 result for underflowing pow the same as for overflow.
5217 (__kernel_standard_l): Handle powl overflow and underflow here
5218 rather than calling __kernel_standard.
5219 * math/libm-test.inc (pow_test): Add more tests.
5234 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
5235 * sysdeps/ieee754/k_standard.c: Include <float.h>.
5236 (__kernel_standard_l): New function.
5237 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
5239 * math/w_acosl.c (__acosl): Likewise.
5240 * math/w_asinl.c (__asinl): Likewise.
5241 * math/w_atan2l.c (__atan2l): Likewise.
5242 * math/w_atanhl.c (__atanhl): Likewise.
5243 * math/w_coshl.c (__coshl): Likewise.
5244 * math/w_exp10l.c (__exp10l): Likewise.
5245 * math/w_exp2l.c (__exp2l): Likewise.
5246 * math/w_fmodl.c (__fmodl): Likewise.
5247 * math/w_hypotl.c (__hypotl): Likewise.
5248 * math/w_j0l.c (__j0l, __y0l): Likewise.
5249 * math/w_j1l.c (__j1l, __y1l): Likewise.
5250 * math/w_jnl.c (__jnl, __ynl): Likewise.
5251 * math/w_lgammal.c (__lgammal): Likewise.
5252 * math/w_log10l.c (__log10l): Likewise.
5253 * math/w_log2l.c (__log2l): Likewise.
5254 * math/w_logl.c (__logl): Likewise.
5255 * math/w_powl.c (__powl): Likewise.
5256 * math/w_remainderl.c (__remainderl): Likewise.
5257 * math/w_scalbl.c (sysv_scalbl): Likewise.
5258 * math/w_sinhl.c (__sinhl): Likewise.
5259 * math/w_sqrtl.c (__sqrtl): Likewise.
5260 * math/w_tgammal.c (__tgammal): Likewise.
5261 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
5262 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
5263 * math/libm-test.inc (acos_test): Add more tests.
5264 (acosh_test): Likewise.
5265 (asin_test): Likewise.
5266 (atanh_test): Likewise.
5267 (exp_test): Likewise.
5268 (exp10_test): Likewise.
5269 (exp2_test): Likewise.
5270 (expm1_test): Likewise.
5271 (lgamma_test): Likewise.
5272 (log_test): Likewise.
5273 (log10_test): Likewise.
5274 (log1p_test): Likewise.
5275 (log2_test): Likewise.
5276 (pow_test): Do not allow some spurious overflow exceptions.
5277 (sqrt_test): Add more tests.
5278 (tgamma_test): Likewise.
5279 (y0_test): Likewise.
5280 (y1_test): Likewise.
5281 (yn_test): Likewise.
5283 2012-03-27 Anton Blanchard <anton@samba.org>
5285 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
5287 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5288 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
5289 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5291 2012-03-27 David S. Miller <davem@davemloft.net>
5293 * conform/Makefile: Run run-conformtest.sh using $(BASH).
5295 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
5298 2012-03-27 Andreas Jaeger <aj@suse.de>
5300 * sysdeps/x86_64/elf/configure.in: Moved to ...
5301 * sysdeps/x86_64/configure.in: ... here.
5302 * sysdeps/x86_64/elf/start.S: Moved to ...
5303 * sysdeps/x86_64/start.S: ... here.
5304 * sysdeps/x86_64/elf/configure: Delete.
5306 * sysdeps/x86_64/configure.in: Merge contents from
5307 sysdeps/i386/configure.in (without i686 check).
5309 * sysdeps/i386/elf/Versions: Merge into ...
5310 * sysdeps/i386/Versions: ... this.
5311 * sysdeps/i386/elf/Versions: Delete file.
5312 * sysdeps/i386/elf/start.S: Moved to ...
5313 * sysdeps/i386/start.S: ...here.
5314 * sysdeps/i386/elf/configure.in: Merge into...
5315 * sysdeps/i386/configure.in: ...here.
5316 * sysdeps/i386/elf/configure.in: Delete file.
5317 * sysdeps/i386/elf/configure: Delete file.
5319 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
5320 * debug/backtracesyms.c: ... here.
5321 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
5322 * debug/backtracesymsfd.c: ... here.
5323 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
5324 * sysdeps/generic/ifunc-sel.h: ... here.
5326 * sysdeps/unix/i386/start.c: Delete file.
5327 * sysdeps/unix/sparc/start.c: Delete file.
5328 * sysdeps/unix/start.c: Delete file.
5330 * sysdeps/sh/elf/configure.in: Moved to ...
5331 * sysdeps/sh/configure.in: ... here.
5332 * sysdeps/sh/elf/start.S: Moved to ...
5333 * sysdeps/sh/start.S: ... here.
5334 * sysdeps/sh/elf/configure: Delete file.
5336 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
5337 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
5338 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
5339 * sysdeps/powerpc/powerpc64/entry.h: ... here.
5340 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
5341 * sysdeps/powerpc/powerpc64/start.S: here.
5342 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
5343 * sysdeps/powerpc/powerpc64/Makefile: ... this.
5344 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
5345 * sysdeps/powerpc/powerpc64/configure.in: ... this.
5346 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
5348 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
5349 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
5350 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
5351 * sysdeps/powerpc/powerpc32/start.S: ... here.
5352 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
5353 * sysdeps/powerpc/powerpc32/configure.in: ... this.
5354 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
5356 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
5357 * sysdeps/powerpc/ifunc-sel.h: ... here.
5358 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
5359 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
5361 * sysdeps/sparc/elf/configure.in: Moved to ...
5362 * sysdeps/sparc/configure.in: ... here.
5363 * sysdeps/sparc/elf/configure: Delete file.
5364 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
5365 * sysdeps/sparc/sparc32/start.S: ... here.
5366 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
5367 * sysdeps/sparc/sparc64/start.S: ... here.
5368 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
5369 * sysdeps/sparc/sparc32/Makefile: ... this.
5370 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
5371 * sysdeps/sparc/sparc64/Makefile: ... this.
5373 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
5374 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
5375 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
5376 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
5377 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
5378 * sysdeps/s390/s390-32/setjmp.S: ... here.
5379 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
5380 * sysdeps/s390/s390-32/configure.in: ... here.
5381 * sysdeps/s390/s390-32/elf/configure: Delete file.
5382 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
5383 * sysdeps/s390/s390-32/start.S: ... here.
5385 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
5386 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
5387 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
5388 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
5389 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
5390 * sysdeps/s390/s390-64/setjmp.S: ... here.
5391 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
5392 * sysdeps/s390/s390-64/configure.in: ... here
5393 * sysdeps/s390/s390-64/elf/configure: Delete file.
5394 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
5395 * sysdeps/s390/s390-64/start.S: ... here.
5396 * sysdeps/s390/s390-64/elf/configure: Delete.
5398 * configure.in: Remove support for elf directories in sysdeps.
5400 * configure: Regenerated.
5401 * sysdeps/i386/configure: Regenerated.
5402 * sysdeps/powerpc/powerpc32/configure: Regenerated.
5403 * sysdeps/powerpc/powerpc64/configure: Regenerated.
5404 * sysdeps/s390/s390-32/configure: Regenerated.
5405 * sysdeps/s390/s390-64/configure: Regenerated.
5406 * sysdeps/sh/configure: Regenerated.
5407 * sysdeps/sparc/configure: Regenerated.
5408 * sysdeps/x86_64/configure: Regenerated.
5410 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
5412 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5414 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
5415 denormal result into account.
5417 2012-03-25 Roland McGrath <roland@hack.frob.com>
5419 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
5420 Reported by Allan McRae <allan@archlinux.org>.
5422 2012-03-23 Jeff Law <law@redhat.com>
5424 * nss/getnssent.c (__nss_getent): Fix typo.
5426 2012-03-23 David S. Miller <davem@davemloft.net>
5428 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5430 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
5432 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
5433 to pad to uint64_t for each field.
5434 (dl_tls_index): Replace unsigned long with uint64_t.
5436 2012-03-23 Daniel Jacobowitz <dmj@google.com>
5437 Paul Pluzhnikov <ppluzhnikov@google.com>
5440 * grp/Makefile (otherlibs): Don't set it.
5441 * inet/Makefile (otherlibs): Likewise.
5442 * login/Makefile (otherlibs): Likewise.
5443 * nscd/Makefile (otherlibs): Likewise.
5444 * posix/Makefile (otherlibs): Likewise.
5445 * pwd/Makefile (otherlibs): Likewise.
5446 * rt/Makefile (otherlibs): Likewise.
5447 * sunrpc/Makefile (otherlibs): Likewise.
5448 * nss/Makefile (otherlibs): Likewise.
5449 Add libnss_files to routines and static-only-routines.
5450 ($(objpfx)getent): Remove rule.
5451 * resolv/Makefile: Add libnss_dns and libresolv to routines and
5452 static-only-routines.
5454 2012-03-22 Joseph Myers <joseph@codesourcery.com>
5457 * math/s_cexp.c: Include <float.h>.
5458 (__cexp): Handle exp result overflowing not necessarily
5459 overflowing both real and imaginary parts of result.
5460 * math/s_cexpf.c: Likewise.
5461 * math/s_cexpl.c: Likewise.
5462 * math/libm-test.inc (cexp_test): Add more tests.
5463 * sysdeps/i386/fpu/libm-test-ulps: Update.
5464 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5466 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5468 * include/link.h (ELFW): New macro.
5469 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
5470 Replace ELF64_R_TYPE with ELFW(R_TYPE).
5472 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5474 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
5477 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5479 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
5481 (struct La_x32_retval): Likewise.
5483 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5485 * sysdeps/x86_64/preconfigure.in: New file.
5486 * sysdeps/x86_64/preconfigure: New generated file.
5488 2012-03-22 Joseph Myers <joseph@codesourcery.com>
5491 * math/e_exp2l.c: Include <float.h>.
5492 (__ieee754_exp2l): Handle overflow and underflow cases
5493 separately. Only pass fractional part of argument to
5495 * math/libm-test.inc (exp2_test): Add more tests.
5497 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
5498 negating x to take absolute value.
5499 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
5501 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5502 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
5504 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
5505 computing low part if x was negated.
5506 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5508 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5510 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
5512 (pltexit): Cast int_retval to ptrdiff_t.
5513 * elf/tst-auditmod3b.c: Likewise.
5514 * elf/tst-auditmod4b.c: Likewise.
5515 * elf/tst-auditmod5b.c: Likewise.
5516 * elf/tst-auditmod6b.c: Likewise.
5517 * elf/tst-auditmod6c.c: Likewise.
5518 * elf/tst-auditmod7b.c: Likewise.
5520 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
5521 and x32_gnu_pltexit.
5523 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
5525 (La_x32_regs): New macro.
5526 (La_x32_retval): Likewise.
5527 (la_x32_gnu_pltenter): New function prototype.
5528 (la_x32_gnu_pltexit): Likewise.
5530 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
5532 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
5535 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5537 * configure.in (libc_cv_cc_nofma): Check for option to disable
5538 generation of FMA instructions.
5539 * configure: Regenerate.
5540 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
5541 * sysdeps/ieee754/dbl-64/Makefile: New file.
5542 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
5543 Remove brandred-fma4.
5544 (CFLAGS-brandred-fma4.c): Remove.
5545 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
5546 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
5548 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
5551 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5553 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
5554 LLONG_MAX != LONG_MAX.
5555 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5556 (_fitoa_word): Likewise.
5557 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
5558 LLONG_MAX != LONG_MAX.
5559 * stdio-common/_itowa.h: Include <_itoa.h>.
5560 (_itowa_word): Use _ITOA_WORD_TYPE on value.
5561 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
5562 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
5563 only if not defined.
5564 (_ITOA_WORD_TYPE): Likewise.
5565 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5566 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
5568 2012-03-21 David S. Miller <davem@davemloft.net>
5570 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5572 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5574 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
5575 of x86_64 when setting libc_cv_slibdir, libdir and
5577 * sysdeps/unix/sysv/linux/configure: Regenerated.
5579 2012-03-21 Joseph Myers <joseph@codesourcery.com>
5581 * manual/lang.texi (Old Varargs): Remove section.
5582 (How Variadic): Update menu.
5583 (va_start): Do not mention varargs.h.
5585 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5586 Joseph Myers <joseph@codesourcery.com>
5588 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
5590 * configure: Regenerated.
5592 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5594 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
5595 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
5598 2012-03-21 Joseph Myers <joseph@codesourcery.com>
5601 * Makefile (files-for-dist): Remove NOTES.
5602 (NOTES): Remove rule.
5603 * README: Don't refer to NOTES.
5604 * manual/creature.texi: Don't include macros.texi.
5605 * manual/intro.texi (creature.texi): Remove comment referring to
5608 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
5609 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
5610 * configure: Regenerated.
5611 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
5613 (libc_cv_as_i686): Likewise.
5614 (libc_cv_cc_avx): Likewise.
5615 (libc_cv_cc_sse2avx): Likewise.
5616 (libc_cv_cc_fma4): Likewise.
5617 (libc_cv_cc_novzeroupper): Likewise.
5618 * sysdeps/i386/configure: Regenerated.
5621 * sysdeps/i386/fpu/s_cexp.S: Remove.
5622 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5623 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5624 * math/libm-test.inc (cexp_test): Add more tests.
5625 * sysdeps/i386/fpu/libm-test-ulps: Update.
5626 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5628 2012-03-21 Allan McRae <allan@archlinux.org>
5630 * timezone/Makefile: Do not install iso3166.tab and zone.tab
5632 2012-03-21 Joseph Myers <joseph@codesourcery.com>
5635 * math/w_exp2.c: Do not include <float.h>.
5636 (o_threshold, u_threshold): Remove.
5637 (__exp2): Calculate result before checking finiteness and calling
5639 * math/w_exp2f.c: Likewise.
5640 * math/w_exp2l.c: Likewise.
5641 * math/libm-test.inc (exp2_test): Require overflow exception for
5645 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
5646 range of signed 64-bit integers before using fistpll. Remove
5647 checks for whether integers fit in mantissa bits.
5648 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
5649 the range of signed 32-bit integers before using fistpl. Remove
5650 checks for whether integers fit in mantissa bits.
5651 * sysdeps/i386/fpu/e_powl.S (p64): New object.
5652 (__ieee754_powl): Test for y outside the range of signed 64-bit
5653 integers before using fistpll. Reduce 64-bit values to 63-bit
5655 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
5656 divide-by-zero is raised for zero to large negative powers.
5657 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
5658 (__ieee754_powl): Test for y outside the range of signed 64-bit
5659 integers before using fistpll. Reduce 64-bit values to 63-bit
5661 * math/libm-test.inc (pow_test): Add more tests.
5663 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5665 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
5666 <stdio-common/_itoa.h>.
5667 * debug/segfault.c: Likewise.
5668 * elf/dl-cache.c: Likewise.
5669 * elf/dl-minimal.c: Likewise.
5670 * elf/dl-misc.c: Likewise.
5671 * elf/dl-sysdep.c: Likewise.
5672 * elf/dl-version.c: Likewise.
5673 * elf/rtld.c: Likewise.
5674 * hurd/hurdsock.c: Likewise.
5675 * hurd/lookup-retry.c: Likewise.
5676 * malloc/malloc.c: Likewise.
5677 * malloc/mtrace.c: Likewise.
5678 * nscd/nscd_getgr_r.c: Likewise.
5679 * nscd/nscd_getpw_r.c: Likewise.
5680 * nscd/nscd_getserv_r.c: Likewise.
5681 * posix/getopt_init.c: Likewise.
5682 * posix/wordexp.c: Likewise.
5683 * stdio-common/_itoa.c: Likewise.
5684 * stdio-common/printf_fphex.c: Likewise.
5685 * stdio-common/vfprintf.c: Likewise.
5686 * string/_strerror.c: Likewise.
5687 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
5688 * sysdeps/i386/i686/hp-timing.h: Likewise.
5689 * sysdeps/mach/_strerror.c: Likewise.
5690 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
5691 * sysdeps/mach/hurd/sethostid.c: Likewise.
5692 * sysdeps/mach/hurd/xmknodat.c: Likewise.
5693 * sysdeps/mach/xpg-strerror.c: Likewise.
5694 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5695 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5696 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
5697 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
5698 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5699 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
5700 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
5701 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
5702 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
5703 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
5704 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
5705 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5706 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
5707 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
5708 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
5709 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
5710 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
5711 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
5712 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5713 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5714 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
5716 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
5718 * stdio-common/_itoa.h: Moved to ...
5719 * sysdeps/generic/_itoa.h: Here.
5721 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
5723 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
5724 instead of "_itoa.h" and "_itowa.h".
5725 * stdio-common/vfprintf.: Likewise.
5727 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5729 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
5731 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
5732 (__signbit): Likwise.
5736 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5738 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
5741 2012-03-20 Joseph Myers <joseph@codesourcery.com>
5743 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
5744 OVERFLOW_EXCEPTION_OK.
5745 * math/libm-test.inc ("Philosophy"): Update comment about
5747 (OVERFLOW_EXCEPTION): Define.
5748 (OVERFLOW_EXCEPTION_OK): Likewise.
5749 (INVALID_EXCEPTION_OK): Renumber.
5750 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5751 (IGNORE_ZERO_INF_SIGN): Likewise.
5752 (test_exceptions): Handle FE_OVERFLOW.
5753 (exp10_test): Expect overflow exceptions.
5754 (exp2_test): Likewise.
5755 (expm1_test): Likewise.
5756 (nextafter_test): Likewise.
5757 (pow_test): Likewise.
5758 (scalbn_test): Likewise.
5759 (scalbln_test): Likewise.
5761 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5763 * sysdeps/x86_64/bits/atomic.h
5764 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
5766 (atomic_exchange_acq): Likewise.
5767 (__arch_exchange_and_add_body): Likewise.
5768 (__arch_add_body): Likewise.
5769 (atomic_add_negative): Likewise.
5770 (atomic_add_zero): Likewise.
5772 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5774 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
5775 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
5777 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5779 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
5780 Check __x86_64__ instead of __WORDSIZE.
5782 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5784 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
5786 2012-03-19 David S. Miller <davem@davemloft.net>
5788 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5790 * sysdeps/sparc/fpu/fenv_private.h: New file.
5791 * sysdeps/sparc/fpu/math_private.h: Use it.
5792 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
5794 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
5795 (libc_feholdexcept_setroundl): Remove.
5796 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
5798 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
5799 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
5801 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5803 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
5804 int64_t instead of long int.
5805 (INSERT_WORDS64): Likwise.
5807 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5809 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
5810 _Unwind_GetCFA return to _Unwind_Ptr first.
5812 2012-03-19 Joseph Myers <joseph@codesourcery.com>
5815 * math/s_clog.c: Include <float.h>.
5816 (__clog): Scale large or subnormal inputs.
5817 * math/s_clogf.c: Likewise.
5818 * math/s_clogl.c: Likewise.
5819 * math/s_clog10.c: Include <float.h>.
5820 (M_LOG10_2): Define.
5821 (__clog10): Scale large or subnormal inputs.
5822 * math/s_clog10f.c: Likewise.
5823 * math/s_clog10l.c: Likewise.
5824 * math/libm-test.inc (clog_test): Add more tests.
5825 (clog10_test): Likewise.
5826 * sysdeps/i386/fpu/libm-test-ulps: Update.
5827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5830 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
5832 * math/libm-test.inc (atan2_test): Add another test.
5834 * Makerules (common-objdir-compile): Remove.
5835 * sysdeps/unix/Makefile (config-generated): Do not add
5836 $(unix-generated) to variable.
5837 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
5838 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
5840 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
5842 [generic bits/local_lim.h] (before-compile): Do not append to
5844 [generic bits/local_lim.h] (common-generated): Likewise.
5845 [generic sys/param.h] (before-compile): Do not append to variable.
5846 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
5847 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
5848 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
5849 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
5851 [generic sys/param.h] (sys/param.h-includes): Remove variable.
5852 [generic sys/param.h] (sys/param.h-includes): Remove rule.
5853 [generic sys/param.h] ($(addprefix
5854 $(common-objpfx),$(sys/param.h-includes))): Likewise.
5855 [generic sys/param.h] (common-generated): Do not append to
5857 [generic sys/param.h] (sysdep_headers): Likewise.
5858 [generic bits/errno.h] (before-compile): Do not append to
5860 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
5862 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
5863 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
5864 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
5865 [generic bits/errno.h] (common-generated): Do not append to
5867 [generic bits/ioctls.h] (before-compile): Do not append to
5869 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
5871 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
5872 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
5873 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
5875 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
5876 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
5877 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
5878 [generic bits/ioctls.h] (common-generated): Do not append to
5880 [generic sys/syscall.h] (syscall.h): Remove variable.
5881 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
5883 [generic sys/syscall.h] (before-compile): Do not append to
5885 [generic sys/syscall.h] (common-generated): Likewise.
5886 * sysdeps/unix/errnos-tmpl.c: Remove file.
5887 * sysdeps/unix/errnos.awk: Likewise.
5888 * sysdeps/unix/ioctls-tmpl.c: Likewise.
5889 * sysdeps/unix/ioctls.awk: Likewise.
5890 * sysdeps/unix/mk-local_lim.c: Likewise.
5891 * sysdeps/unix/snarf-ioctls: Likewise.
5893 2012-03-19 Richard Henderson <rth@twiddle.net>
5895 * sysdeps/i386/fpu/fenv_private.h: New file.
5896 * sysdeps/i386/fpu/math_private.h: Use it.
5897 (math_opt_barrier, math_force_eval): Remove.
5898 (libc_feholdexcept_setround_53bit): Remove.
5899 (libc_feupdateenv_53bit): Remove.
5900 * sysdeps/x86_64/fpu/math_private.h: Likewise.
5901 (math_opt_barrier, math_force_eval): Remove.
5902 (libc_feholdexcept): Remove.
5903 (libc_feholdexcept_setround): Remove.
5904 (libc_fetestexcept, libc_fesetenv): Remove.
5905 (libc_feupdateenv_test): Remove.
5906 (libc_feupdateenv, libc_feholdsetround): Remove.
5907 (libc_feresetround): Remove.
5909 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
5910 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5912 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
5913 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
5914 (libc_feupdateenv_testl): New.
5915 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
5916 (libc_feupdateenv_testf): New.
5917 (libc_feupdateenv): Use libc_feupdateenv_test.
5918 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
5919 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
5921 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
5922 (libc_feholdsetroundf, libc_feholdsetroundl): New.
5923 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
5924 (libc_feresetround_noex): New.
5925 (libc_feresetround_noexf): New.
5926 (libc_feresetround_noexl): New.
5927 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
5928 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
5929 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
5930 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
5932 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
5933 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
5935 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
5936 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
5937 SET_RESTORE_ROUND_NOEX.
5938 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
5939 SET_RESTORE_ROUND_NOEXF.
5940 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
5941 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
5942 (libc_feholdsetroundf): New.
5943 (libc_feresetround, libc_feresetroundf): New.
5945 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
5946 (libc_feholdexcept_setround_53bit): Convert from macro to function.
5947 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
5949 * sysdeps/generic/math_private.h: Include <fenv.h>.
5950 (default_libc_feholdexcept): New.
5951 (default_libc_feholdexcept_setround): New.
5952 (default_libc_fesetenv, default_libc_feupdateenv): New.
5953 (libc_feholdexcept): Only define if undefined.
5954 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
5955 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
5956 (libc_feholdexcept_setroundl): Likewise.
5957 (libc_feholdexcept_setround_53bit): Likewise.
5958 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
5959 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
5960 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
5961 (libc_feupdateenv_53bit): Likewise.
5962 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
5963 (libc_feholdexcept): Convert from macro to inline function.
5964 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
5965 (libc_fesetenv, libc_feupdateenv): Likewise.
5967 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
5968 not previously defined.
5969 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
5970 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
5971 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
5972 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
5973 * sysdeps/ieee754/flt-32/math_private.h: New file.
5974 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
5975 math_private.h below SET_FLOAT_WORD.
5976 (__isnan, __isinf_ns, __finite): Remove.
5977 (__isnanf, __isinf_nsf, __finitef): Remove.
5979 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
5981 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5983 2012-03-17 David S. Miller <davem@davemloft.net>
5986 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
5989 2012-03-16 David S. Miller <davem@davemloft.net>
5991 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
5995 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
5997 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
5998 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
5999 sysdep_routines when subdir is sysvipc.
6000 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
6003 * sysdeps/sparc/fpu/libm-test/ulps: Update.
6005 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6007 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
6010 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6012 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
6013 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
6014 (__lround): Renamed to ...
6015 (__llround): This. Replace long int with long long int.
6016 Define lround functions as aliases of llround functions.
6017 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
6019 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6021 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
6022 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
6023 adresses to uintptr_t. Replace "long int" and "unsigned long
6024 int" with "greg_t" on va_arg.
6026 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6028 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
6029 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
6031 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
6032 Move e_machine check before EI_CLASS check. Handle x32
6033 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
6034 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
6035 SKIP_EM_IA_64 and include
6036 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
6038 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
6039 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
6040 (add_system_dir): New macro.
6042 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
6043 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
6045 2012-03-16 Joseph Myers <joseph@codesourcery.com>
6056 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
6058 * math/w_j0f.c (j0f): Likewise.
6060 * math/w_j0l.c (__j0l): Likewise.
6062 * math/w_j1.c (j1): Likewise.
6064 * math/w_j1f.c (j1f): Likewise.
6066 * math/w_j1l.c (__j1l): Likewise.
6068 * math/w_jn.c (jn): Likewise.
6070 * math/w_jnf.c (jnf): Likewise.
6072 * math/w_jnl.c (__jnl): Likewise.
6074 * math/libm-test.inc (j0_test): Add more tests.
6075 (j1_test): Likewise.
6076 (jn_test): Likewise. Add trailing semicolon to existing test.
6077 (y0_test): Likewise.
6078 (y1_test): Likewise.
6079 * sysdeps/i386/fpu/libm-test-ulps: Update.
6080 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6084 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
6085 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
6086 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
6087 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
6088 (__tanl): Set errno for infinite argument.
6089 * sysdeps/i386/fpu/mptan.c: Remove.
6090 * sysdeps/i386/fpu/s_tan.S: Likewise.
6091 * sysdeps/i386/fpu/s_tanl.S: Likewise.
6092 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
6093 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
6094 * math/libm-test.inc (tan_test): Add more tests and enable more
6095 tests for double and long double.
6096 * sysdeps/i386/fpu/libm-test-ulps: Update.
6097 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6099 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6101 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
6102 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
6104 2012-03-16 Roland McGrath <roland@hack.frob.com>
6106 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
6107 * configure.in: Use it for both main tree and add-ons.
6108 * configure: Regenerated.
6110 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6112 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
6114 2012-03-16 Joseph Myers <joseph@codesourcery.com>
6116 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
6120 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
6121 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
6122 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
6123 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
6124 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
6126 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
6127 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
6129 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
6130 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
6131 * sysdeps/i386/fpu/s_cosl.S: Likewise.
6132 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
6133 * sysdeps/i386/fpu/s_sinl.S: Likewise.
6134 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
6135 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
6136 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
6137 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
6138 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
6139 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
6140 * math/libm-test.inc (cos_test): Add more tests and enable more
6141 tests for long double.
6142 (sin_test): Likewise.
6143 (sincos_test): Likewise.
6144 * sysdeps/i386/fpu/libm-test-ulps: Update.
6145 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6147 2012-03-16 David S. Miller <davem@davemloft.net>
6149 * sysdeps/sparc/fpu/math_private.h: New file.
6151 2012-03-15 David S. Miller <davem@davemloft.net>
6153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
6155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
6156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
6158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
6159 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
6160 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
6161 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
6162 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
6163 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
6165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6167 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
6168 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
6170 * sysdeps/sparc/sparc-ifunc.h: New file.
6171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
6173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
6174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
6176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
6178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
6179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
6180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
6181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
6183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
6185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
6187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
6189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
6191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
6193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
6194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
6195 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
6196 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
6197 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
6198 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
6199 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
6200 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
6201 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
6202 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
6203 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
6204 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
6205 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
6206 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
6207 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
6208 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
6209 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
6210 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
6211 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
6212 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
6213 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
6214 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
6216 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6218 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
6220 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6222 2012-03-15 Andreas Jaeger <aj@suse.de>
6225 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
6226 ieee754/flt-32 implementation for sin, cos and sincos.
6227 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
6228 * sysdeps/i386/fpu/s_cosf.S: Likewise.
6229 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
6230 * sysdeps/i386/fpu/s_sinf.S: Likewise.
6231 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
6232 ieee754/flt-32 implementation for tan.
6234 * math/libm-test.inc (cos_test): Enable some large input tests for
6236 (sin_test): Likewise.
6237 (sincos_test): Likewise.
6238 (tan_test): Add tests for large input.
6240 * sysdeps/i386/fpu/libm-test-ulps: Update.
6242 2012-03-15 Andreas Jaeger <aj@suse.de>
6245 * math/libm-test.inc (cos_test): Add more test cases.
6246 (sin_test): Likewise.
6247 (sincos_test): Likewise.
6249 2012-03-15 Andreas Jaeger <aj@suse.de>
6252 * math/libm-test.inc (cos_test): Add a test case for large input
6254 (sin_test): Likewise.
6255 (sincos_test): Likewise.
6257 2012-03-15 Andreas Jaeger <aj@suse.de>,
6258 Joseph Myers <joseph@codesourcery.com>
6261 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
6262 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
6263 * sysdeps/i386/fpu/branred.c: Likewise.
6264 * sysdeps/i386/fpu/dosincos.c: Likewise.
6265 * sysdeps/i386/fpu/mpa.c: Likewise.
6266 * sysdeps/i386/fpu/s_cos.S: Likewise.
6267 * sysdeps/i386/fpu/s_sin.S: Likewise.
6268 * sysdeps/i386/fpu/s_sincos.S: Likewise.
6269 * sysdeps/i386/fpu/sincos32.c: Likewise.
6271 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
6273 (libc_feupdateenv_53bit): Define.
6274 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
6276 (libc_feupdateenv_53bit): Define.
6278 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
6279 53 bit (without extend i386 double precision).
6281 * math/libm-test.inc (sincos_test): Add tests for large input.
6285 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6287 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6289 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6291 2012-03-15 David S. Miller <davem@davemloft.net>
6293 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
6294 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
6295 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
6296 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
6297 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
6298 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
6299 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
6300 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
6301 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
6302 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
6303 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
6304 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
6305 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
6306 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
6307 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
6308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
6310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
6311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
6313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
6314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
6316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
6317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
6319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
6320 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
6321 fmin/fmax sysdep routines.
6322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6324 2012-03-14 David S. Miller <davem@davemloft.net>
6326 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
6327 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
6328 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
6329 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
6330 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
6331 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
6332 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
6333 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
6334 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
6335 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
6336 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
6337 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
6338 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
6339 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
6340 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
6341 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
6342 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
6343 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
6344 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
6345 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
6346 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
6347 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
6348 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
6349 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
6350 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
6351 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
6352 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
6353 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
6354 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
6356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
6358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
6359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
6361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
6362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
6364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
6365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
6367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
6368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
6370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
6371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
6373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
6375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
6377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
6379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
6381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
6383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
6385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
6386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
6388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
6389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
6391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
6392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
6394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
6395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
6398 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
6401 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6403 * sysdeps/sparc/configure.in: New file.
6404 * sysdeps/sparc/configure: Generate.
6405 * configure.in (libc_cv_sparc_as_vis3): Substitute.
6406 * configure: Regenerate.
6407 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
6408 * config.make.in (have-as-vis3): New.
6409 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
6410 available use -Av9d instead of -Av9a.
6411 * sysdeps/sparc/sparc64/Makefile: Likewise.
6412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
6413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
6415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
6417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
6419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
6421 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
6422 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
6423 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
6424 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
6425 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
6427 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
6428 fzeros/fnegs to load 0x80000000 into a float register instead of
6430 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
6432 2012-03-14 Joseph Myers <joseph@codesourcery.com>
6434 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6436 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
6437 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
6438 ($(inst_includedir)/bits/syscall.h): Remove rule.
6439 ($(objpfx)bits/syscall.d): Include instead of
6440 $(objpfx)syscall-list.d.
6441 (generated): Change syscall-list.h and syscall-list.d to
6442 bits/syscall.h and bits/syscall.d.
6444 2012-03-14 Roland McGrath <roland@hack.frob.com>
6447 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
6449 2012-03-14 Joseph Myers <joseph@codesourcery.com>
6452 * math/s_csqrt.c: Include <float.h>.
6453 (__csqrt): Scale large or subnormal inputs.
6454 * math/s_csqrtf.c: Likewise.
6455 * math/s_csqrtl.c: Likewise.
6456 * math/libm-test.inc (csqrt_test): Add more tests.
6457 * sysdeps/i386/fpu/libm-test-ulps: Update.
6458 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6461 * math/libm-test.inc (hypot_test): Add more tests.
6463 2012-03-13 David S. Miller <davem@davemloft.net>
6466 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
6467 double-precision for the calculation instead of scaling.
6469 2012-03-13 Joseph Myers <joseph@codesourcery.com>
6471 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
6472 manipulate bits before adding and subtracting TWO52[sx].
6473 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
6474 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
6476 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
6478 2012-03-13 David S. Miller <davem@davemloft.net>
6480 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
6481 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
6482 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
6483 rtld-global-offsets.h
6484 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6486 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
6489 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
6491 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
6492 'err' in the ifdef scope in which it is actually used.
6494 * nss/nss_db/db-init.c: Include string.h
6496 2012-03-12 David S. Miller <davem@davemloft.net>
6498 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
6499 masking out of the most significant byte of random value used.
6500 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6501 Fix coding style in previous change.
6503 * sysdeps/unix/sysv/linux/kernel-features.h
6504 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
6505 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
6507 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
6510 2012-03-11 David S. Miller <davem@davemloft.net>
6512 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6513 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
6514 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
6515 for 'resultvar' otherwise things get truncated on 64-bit.
6517 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6518 Fix masking out of the most significant byte of random value used.
6520 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6522 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
6524 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6526 2012-03-09 David S. Miller <davem@davemloft.net>
6528 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
6529 variables with appropriate CPP guards.
6530 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
6531 frame pointer, not the stack pointer. Correct layout comments. Fix test
6532 on resulting framesize and the management of the outregs buffer for pltexit.
6533 Preserve floating point return values across _dl_call_pltexit call.
6534 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
6535 framesize and the management of the outregs buffer for pltexit.
6536 Preserve floating point return values across _dl_call_pltexit
6538 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
6539 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
6540 (print_exit): Fix format string for return register value.
6542 2012-03-10 Joseph Myers <joseph@codesourcery.com>
6544 * sunrpc/Makefile (others): Add rpcgen.
6545 ($(objpfx)rpcgen): Remove special build rule and dependency on
6547 * sunrpc/rpcgen.c: New file.
6549 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
6552 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
6553 * stdio-common/bug-vfprintf-nargs.c: Likewise.
6554 * sysdeps/i386/crti.S: Likewise.
6555 * sysdeps/i386/crtn.S: Likewise.
6556 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
6557 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
6558 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
6559 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
6560 * sysdeps/sh/crti.S: Likewise.
6561 * sysdeps/sh/crtn.S: Likewise.
6562 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
6565 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
6567 * locale/programs/locfile-kw.gperf: Likewise.
6568 * locale/programs/charmap-kw.h: Regenerated.
6569 * locale/programs/locfile-kw.h: Likewise.
6572 * intl/plural.y: Replace FSF snail mail address with URL.
6573 * intl/plural.c: Regenerated.
6575 2012-03-09 Richard Henderson <rth@twiddle.net>
6577 * include/math_private.h: Remove file.
6578 * math/math_private.h: Move file ...
6579 * sysdeps/generic/math_private.h: ... here.
6581 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
6582 * sysdeps/powerpc/fpu/math_private.h: Likewise.
6583 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6585 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
6586 and <math_private.h>.
6587 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6588 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6589 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6590 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6591 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6592 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
6593 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6594 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6595 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6596 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6597 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6598 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6599 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6600 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6601 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6602 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6603 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6604 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6605 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6606 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6607 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6608 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6609 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6610 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6611 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
6612 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6613 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6614 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6615 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6616 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6617 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6618 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6619 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
6620 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6621 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6622 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6623 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6624 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6625 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6626 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6627 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
6628 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6629 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6630 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
6631 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
6632 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6633 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
6634 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6635 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6636 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6637 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6638 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
6639 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
6640 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6641 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
6642 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6643 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6644 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
6645 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
6646 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
6647 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6648 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
6649 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6650 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6651 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
6652 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6653 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6654 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6655 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
6656 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
6657 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
6658 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6659 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6660 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6661 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
6662 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
6663 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
6664 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6665 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
6666 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
6667 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
6668 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
6669 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
6670 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6671 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6672 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
6673 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
6674 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
6675 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6676 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6677 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6678 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6679 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6680 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6681 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6682 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6683 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6684 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6685 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6686 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6687 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6688 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6689 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6690 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6691 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6692 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6693 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6694 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6695 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6696 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6697 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6698 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6699 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6700 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6701 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
6702 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6703 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6704 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6705 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6706 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
6707 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6708 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6709 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6710 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
6711 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6712 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6713 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6714 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
6715 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6716 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
6717 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
6718 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
6719 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6720 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
6721 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
6722 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6723 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6724 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6725 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
6726 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6727 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6728 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6729 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6730 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
6731 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
6732 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6733 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6734 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6735 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
6736 * sysdeps/ieee754/k_standard.c: Likewise.
6737 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6738 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6739 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6740 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6741 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6742 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6743 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6744 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6745 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6746 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6747 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6748 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6749 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6750 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6751 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6752 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6753 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6754 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6755 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6756 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
6757 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
6758 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
6759 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6760 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6761 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6762 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
6763 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6764 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6765 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6766 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6767 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6768 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6769 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6770 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6771 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6772 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6773 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6774 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
6775 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
6776 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6777 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6778 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6779 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6780 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6781 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6782 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6783 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6784 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6785 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6786 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6787 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6788 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6789 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6790 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
6791 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6792 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6793 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
6794 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
6795 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6796 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6797 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6798 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6799 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6800 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6801 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6802 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6803 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6804 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6805 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6806 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6807 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6808 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6809 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6810 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6811 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6812 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6813 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
6814 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6815 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6816 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
6817 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
6818 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
6819 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6820 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6821 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
6822 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6823 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6824 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
6825 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6826 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6827 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
6828 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6829 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
6830 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
6831 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6832 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6833 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
6834 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
6835 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
6836 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
6837 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6838 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6839 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6840 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6841 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
6842 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6843 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6844 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
6845 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
6846 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6847 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6848 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6849 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6850 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6851 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6852 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6853 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6854 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6855 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6856 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6857 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6858 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6859 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6860 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6861 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6862 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
6863 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6864 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6865 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6866 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6867 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6868 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6869 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6870 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
6871 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6872 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6873 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
6874 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
6875 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6876 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
6877 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
6878 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6879 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
6880 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
6881 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6882 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6883 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6884 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6885 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6886 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
6887 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6888 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
6889 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6890 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
6891 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
6892 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
6893 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6894 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6895 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6896 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
6897 * sysdeps/ieee754/s_lib_version.c: Likewise.
6898 * sysdeps/ieee754/s_matherr.c: Likewise.
6899 * sysdeps/ieee754/s_signgam.c: Likewise.
6900 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6901 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6902 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
6903 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
6904 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
6905 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
6906 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
6907 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
6908 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
6909 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
6910 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6911 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
6912 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6913 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6914 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
6915 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
6916 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
6917 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
6918 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
6919 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6920 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6922 2012-03-09 Joseph Myers <joseph@codesourcery.com>
6924 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
6925 * sunrpc/rpc_main.c: Likewise.
6926 * sunrpc/rpc_svcout.c: Likewise.
6928 2012-03-09 David S. Miller <davem@davemloft.net>
6930 * include/math_private.h: New file.
6932 2012-03-09 Joseph Myers <joseph@codesourcery.com>
6934 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
6935 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
6936 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
6937 from <bits/socket_type.h>.
6938 (enum __socket_type): Don't define here.
6939 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
6940 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6944 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
6947 * Makerules ($(inst_includedir)/%.h): New rule.
6948 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
6949 (install-others): Remove variable setting.
6950 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
6952 2012-03-08 Richard Henderson <rth@twiddle.net>
6954 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
6955 from macro to inline function; merge with the
6956 !__LIBC_INTERNAL_MATH_INLINES version.
6957 (__ieee754_sqrtf): Likewise.
6959 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
6961 (__rintf, __floor, __floorf): Likewise.
6963 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
6964 macro to inline function.
6965 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
6967 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
6968 not <math/math_private.h>.
6970 2012-03-08 David S. Miller <davem@davemloft.net>
6972 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
6974 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
6976 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
6978 * resolv/gai_misc.c (handle_requests): Fix struct timespec
6980 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
6981 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
6983 2012-03-08 Ulrich Drepper <drepper@gmail.com>
6985 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
6986 be defined individually, they must be defined as a block. Define
6987 S for printing a string instead of hidint the different by using a
6988 macro for adding the 'l'.
6989 * stdio-common/tst-fphex-wide.c: Adjust.
6991 2012-03-07 Marek Polacek <polacek@redhat.com>
6993 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
6995 2012-03-08 Marek Polacek <polacek@redhat.com>
6998 * stdio-common/Makefile (tests): Add tst-fphex-wide.
6999 * stdio-common/tst-fphex.c: Define a few macros to make the
7000 test reusable. Use them.
7001 * stdio-common/tst-fphex-wide.c: New file.
7003 2012-03-08 Joseph Myers <joseph@codesourcery.com>
7006 * manual/macros.texi (gnusystems): New macro.
7007 (nongnusystems): Likewise.
7008 (gnulinuxhurdsystems): Likewise.
7009 (gnuhurdsystems): Likewise..
7010 (gnulinuxsystems): Likewise.
7011 * manual/charset.texi: Use new macros or @theglibc{} to refer to
7012 variants of the GNU system, not "GNU system".
7013 * manual/conf.texi: Likewise.
7014 * manual/errno.texi: Likewise. Update example of errno macro
7016 * manual/filesys.texi: Likewise.
7017 (getumask): Document as specific to GNU/Hurd.
7018 * manual/install.texi: Likewise. Reword some references to
7020 * manual/intro.texi: Likewise.
7021 * manual/io.texi: Likewise.
7022 (File Name Portability): Detail which constraints are inapplicable
7023 to all GNU systems and which are only inapplicable to GNU/Hurd.
7024 * manual/job.texi: Likewise.
7025 * manual/llio.texi: Likewise.
7026 (O_NOCTTY): Document as present on GNU/Linux.
7027 * manual/maint.texi: Likewise.
7028 * manual/memory.texi: Likewise.
7029 * manual/pattern.texi: Likewise.
7030 * manual/pipe.texi: Likewise.
7031 * manual/process.texi: Likewise.
7032 * manual/resource.texi: Likewise.
7033 (RUSAGE_CHILDREN): Remove statement about specifying a particular
7035 * manual/setjmp.texi: Likewise.
7036 * manual/signal.texi: Likewise.
7037 * manual/startup.texi: Likewise.
7038 * manual/stdio.texi: Likewise.
7039 * manual/terminal.texi: Likewise.
7040 (ONLCR): Document as POSIX.
7041 (OXTABS): Document availability on GNU/Linux as XTABS.
7042 (ONOEOT): Document availability separately from other bits.
7043 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
7044 * manual/time.texi: Likewise.
7045 * manual/users.texi: Likewise.
7046 * INSTALL: Regenerated.
7047 * sysdeps/gnu/errlist.c: Regenerated.
7049 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
7050 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
7051 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
7053 * configure: Regenerated.
7055 2012-03-07 Joseph Myers <joseph@codesourcery.com>
7057 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
7058 default includes instead of AC_HEADER_CHECK.
7059 * sysdeps/i386/configure: Regenerated.
7062 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
7063 * math/s_cacoshf.c (__cacoshf): Likewise.
7064 * math/s_cacoshl.c (__cacoshl): Likewise.
7065 * math/s_casinh.c (__casinh): Set signs of result from argument.
7066 * math/s_casinhf.c (__casinhf): Likewise.
7067 * math/s_casinhl.c (__casinhl): Likewise.
7068 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
7069 (casinh_test): Add more tests.
7070 * sysdeps/i386/fpu/libm-test-ulps: Update.
7071 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7073 2012-03-07 Ulrich Drepper <drepper@gmail.com>
7075 * po/zh_TW.po: Update from translation team.
7077 * login/Makefile (distribute): Remove variable.
7078 * catgets/Makefile: Likewise.
7079 * mach/Makefile: Likewise.
7080 * malloc/Makefile: Likewise.
7081 * misc/Makefile: Likewise.
7082 * iconv/Makefile: Likewise.
7083 * nscd/Makefile: Likewise.
7084 * hurd/Makefile: Likewise.
7085 * manual/Makefile: Likewise.
7086 * locale/Makefile: Likewise.
7087 * intl/Makefile: Likewise.
7088 * conform/Makefile: Likewise.
7089 * nss/Makefile: Likewise.
7090 * time/Makefile: Likewise.
7091 * soft-fp/Makefile: Likewise.
7092 * dirent/Makefile: Likewise.
7093 * gmon/Makefile: Likewise.
7094 * po/Makefile: Likewise.
7095 * rt/Makefile: Likewise.
7096 * socket/Makefile: Likewise.
7097 * math/Makefile: Likewise.
7098 * signal/Makefile: Likewise.
7099 * debug/Makefile: Likewise.
7100 * elf/Makefile: Likewise.
7101 * timezone/Makefile: Likewise.
7102 * stdlib/Makefile: Likewise.
7103 * iconvdata/Makefile: Likewise.
7104 * sunrpc/Makefile: Likewise.
7105 * io/Makefile: Likewise.
7106 * argp/Makefile: Likewise.
7107 * inet/Makefile: Likewise.
7108 * hesiod/Makefile: Likewise.
7109 * grp/Makefile: Likewise.
7110 * csu/Makefile: Likewise.
7111 * wctype/Makefile: Likewise.
7112 * crypt/Makefile: Likewise.
7113 * libio/Makefile: Likewise.
7114 * string/Makefile: Likewise.
7115 * nis/Makefile: Likewise.
7116 * resolv/Makefile: Likewise.
7117 * stdio-common/Makefile: Likewise.
7118 * wcsmbs/Makefile: Likewise.
7119 * dlfcn/Makefile: Likewise.
7120 * posix/Makefile: Likewise.
7123 * timezone/Makefile: Don't install timezone files, just the programs
7126 2012-03-06 Ulrich Drepper <drepper@gmail.com>
7128 * nss/databases.def: Add missing gshadow entry.
7130 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
7132 2012-03-06 Marek Polacek <polacek@redhat.com>
7135 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
7136 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
7137 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
7138 * stdio-common/tst-long-dbl-fphex.c: New file.
7140 2012-03-06 David S. Miller <davem@davemloft.net>
7142 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7143 (set_obp_int): New function.
7144 (get_obp_int): New function.
7145 (__get_clockfreq_via_dev_openprom): Likewise.
7146 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
7147 Avoid unused variable warnings on 'val' and use builtin_expect.
7148 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
7150 (INLINE_CLONE_SYSCALL): Likewise.
7152 2012-03-05 David S. Miller <davem@davemloft.net>
7154 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7156 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
7158 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7160 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
7162 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7164 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
7166 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
7167 Replace gettimeofday with __vdso_gettimeofday.
7169 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7170 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
7171 __vdso_clock_gettime and __vdso_getcpu.
7173 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
7174 time with __vdso_time.
7176 2012-03-05 Joseph Myers <joseph@codesourcery.com>
7178 * manual/lang.texi (size_t): Note types to which size_t may be
7179 equivalent with the GNU C Library, but do not describe when
7180 differences between them are significant.
7182 2012-03-05 Andreas Jaeger <aj@suse.de>
7184 * sysdeps/i386/fpu/libm-test-ulps: Update.
7186 2012-03-05 Joseph Myers <joseph@codesourcery.com>
7189 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
7190 (__ieee754_pow): Save and restore rounding mode and use
7191 round-to-nearest for main computations.
7192 * math/libm-test.inc (pow_test_tonearest): New function.
7193 (pow_test_towardzero): Likewise.
7194 (pow_test_downward): Likewise.
7195 (pow_test_upward): Likewise.
7196 (main): Call the new functions.
7197 * sysdeps/i386/fpu/libm-test-ulps: Update.
7198 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7201 * math/libm-test.inc (cosh_test_tonearest): New function.
7202 (cosh_test_towardzero): Likewise.
7203 (cosh_test_downward): Likewise.
7204 (cosh_test_upward): Likewise.
7205 (sinh_test_tonearest): Likewise.
7206 (sinh_test_towardzero): Likewise.
7207 (sinh_test_downward): Likewise.
7208 (sinh_test_upward): Likewise.
7209 (main): Call the new functions.
7210 * sysdeps/i386/fpu/libm-test-ulps: Update.
7211 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7213 2012-03-05 Tom de Vries <tom@codesourcery.com>
7215 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
7216 default stack guard is set in last bytes.
7217 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
7219 2012-03-05 Kees Cook <keescook@chromium.org>
7221 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
7224 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
7225 possibly allocate from heap instead of stack.
7226 * stdio-common/bug-vfprintf-nargs.c: New file.
7227 * stdio-common/Makefile (tests): Add nargs overflow test.
7229 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
7231 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7233 2012-03-03 Marek Polacek <polacek@redhat.com>
7235 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
7236 * math/math_private.h: Likewise.
7237 * stdlib/tst-strtod.c: Likewise.
7238 * sysdeps/i386/i486/bits/atomic.h: Likewise.
7239 * sysdeps/x86_64/bits/atomic.h: Likewise.
7241 2012-03-02 David S. Miller <davem@davemloft.net>
7243 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
7244 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
7245 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
7246 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
7247 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
7248 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
7249 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
7250 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
7252 2012-03-02 Roland McGrath <roland@hack.frob.com>
7255 * manual/examples/README: New file, says the example source files
7256 can be used under GPL>=2.
7257 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
7258 line containing just "*/".
7259 * manual/examples/add.c: Add copyright header (GPL>=2).
7260 * manual/examples/argp-ex1.c: Likewise.
7261 * manual/examples/argp-ex2.c: Likewise.
7262 * manual/examples/argp-ex3.c: Likewise.
7263 * manual/examples/argp-ex4.c: Likewise.
7264 * manual/examples/atexit.c: Likewise.
7265 * manual/examples/db.c: Likewise.
7266 * manual/examples/dir.c: Likewise.
7267 * manual/examples/dir2.c: Likewise.
7268 * manual/examples/execinfo.c: Likewise.
7269 * manual/examples/filecli.c: Likewise.
7270 * manual/examples/filesrv.c: Likewise.
7271 * manual/examples/fmtmsgexpl.c: Likewise.
7272 * manual/examples/genpass.c: Likewise.
7273 * manual/examples/inetcli.c: Likewise.
7274 * manual/examples/inetsrv.c: Likewise.
7275 * manual/examples/isockad.c: Likewise.
7276 * manual/examples/longopt.c: Likewise.
7277 * manual/examples/memopen.c: Likewise.
7278 * manual/examples/memstrm.c: Likewise.
7279 * manual/examples/mkfsock.c: Likewise.
7280 * manual/examples/mkisock.c: Likewise.
7281 * manual/examples/mygetpass.c: Likewise.
7282 * manual/examples/pipe.c: Likewise.
7283 * manual/examples/popen.c: Likewise.
7284 * manual/examples/rprintf.c: Likewise.
7285 * manual/examples/search.c: Likewise.
7286 * manual/examples/select.c: Likewise.
7287 * manual/examples/setjmp.c: Likewise.
7288 * manual/examples/sigh1.c: Likewise.
7289 * manual/examples/sigusr.c: Likewise.
7290 * manual/examples/stpcpy.c: Likewise.
7291 * manual/examples/strdupa.c: Likewise.
7292 * manual/examples/strftim.c: Likewise.
7293 * manual/examples/strncat.c: Likewise.
7294 * manual/examples/subopt.c: Likewise.
7295 * manual/examples/swapcontext.c: Likewise.
7296 * manual/examples/termios.c: Likewise.
7297 * manual/examples/testopt.c: Likewise.
7298 * manual/examples/testpass.c: Likewise.
7299 * manual/examples/timeval_subtract.c: Likewise.
7302 * manual/time.texi (Elapsed Time): Move timeval_subtract example
7304 * manual/timeval_subtract.c.texi: ... here, new file.
7306 2012-03-02 David S. Miller <davem@davemloft.net>
7308 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
7310 2012-03-02 Joseph Myers <joseph@codesourcery.com>
7313 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
7314 (__sin): Save and restore rounding mode and use round-to-nearest
7315 for all computations.
7316 (__cos): Save and restore rounding mode and use round-to-nearest
7317 for all computations.
7318 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
7320 (tan): Save and restore rounding mode and use round-to-nearest for
7322 * math/libm-test.inc (cos_test_tonearest): New function.
7323 (cos_test_towardzero): Likewise.
7324 (cos_test_downward): Likewise.
7325 (cos_test_upward): Likewise.
7326 (sin_test_tonearest): Likewise.
7327 (sin_test_towardzero): Likewise.
7328 (sin_test_downward): Likewise.
7329 (sin_test_upward): Likewise.
7330 (tan_test_tonearest): Likewise.
7331 (tan_test_towardzero): Likewise.
7332 (tan_test_downward): Likewise.
7333 (tan_test_upward): Likewise.
7334 (main): Call the new functions.
7335 * sysdeps/i386/fpu/libm-test-ulps: Update.
7336 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7339 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
7340 small n, then large n, before computing and testing k+n.
7341 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7342 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
7344 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
7346 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
7347 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
7348 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
7349 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
7350 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
7351 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
7352 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
7353 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
7354 * math/libm-test.inc (scalbn_test): Add more tests.
7355 (scalbln_test): Likewise.
7357 * manual/filesys.texi (mode_t): Describe constraints on size and
7358 signedness, not exact equivalence to a particular type.
7360 (ino64_t): Likewise.
7362 (nlink_t): Likewise.
7363 (blkcnt_t): Likewise.
7364 (blkcnt64_t): Likewise.
7365 * manual/llio.texi (off_t): Likewise.
7368 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
7369 (__ieee754_exp): Save and restore rounding mode and use
7370 round-to-nearest for all computations.
7371 * math/libm-test.inc (exp_test_tonearest): New function.
7372 (exp_test_towardzero): Likewise.
7373 (exp_test_downward): Likewise.
7374 (exp_test_upward): Likewise.
7375 (main): Call the new functions.
7376 * sysdeps/i386/fpu/libm-test-ulps: Update.
7377 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7379 2012-03-01 Chris Demetriou <cgd@google.com>
7381 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
7382 have predictable order.
7384 2012-03-01 David S. Miller <davem@davemloft.net>
7386 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
7388 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
7389 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
7390 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
7391 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
7393 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
7394 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
7395 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
7396 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
7397 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
7398 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
7399 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
7400 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
7401 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
7403 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7405 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
7406 * sysdeps/sparc/fpu/libm-test-ulps: to here.
7407 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
7409 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
7410 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7411 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
7412 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
7413 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
7414 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
7415 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
7416 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7417 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
7418 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
7419 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
7420 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7421 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7422 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
7423 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7424 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7425 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
7426 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
7427 * sysdeps/sparc/elf/configure: Regenerated.
7429 2012-03-01 Joseph Myers <joseph@codesourcery.com>
7431 * configure.in (AS, LD): Require binutils 2.20 or later.
7432 * configure: Regenerated.
7433 * manual/install.texi (Tools for Compilation): Give binutils 2.20
7434 as required minimum version.
7435 * INSTALL: Regenerated.
7439 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
7440 before squaring exponent.
7441 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
7442 bottom long double and 27 bits of top long double before squaring
7444 * math/libm-test.inc (erfc_test): Add more tests.
7445 * sysdeps/i386/fpu/libm-test-ulps: Update.
7446 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7447 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7449 2012-03-01 Kai Tietz <ktietz@redhat.com>
7451 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
7452 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
7453 containing bit-fields.
7454 * soft-fp/extended.h (_FP_UNION_E): Likewise.
7455 * soft-fp/single.h (_FP_UNION_S): Likewise.
7456 * soft-fp/double.h (_FP_UNION_D): Likewise.
7458 2012-02-29 Joseph Myers <joseph@codesourcery.com>
7461 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
7462 not include ../strcmp.S.
7463 [USE_AS_STRNCASECMP_L]: Likewise.
7464 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
7465 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
7466 * sysdeps/i386/i686/multiarch/strncase_l-c.c
7467 (__strncasecmp_l_ia32): Define as alias to
7468 __strncasecmp_l_nonascii.
7471 * math/libm-test.inc (expm1_test): Add test for bug 5794.
7472 * sysdeps/i386/fpu/libm-test-ulps: Update.
7473 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7475 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
7476 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7478 2012-02-29 Jeff Law <law@redhat.com>
7480 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
7483 2012-02-29 Marek Polacek <polacek@redhat.com>
7486 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
7487 * elf/Makefile: Add rules to run tst-unused-dep.out.
7489 2012-02-28 David S. Miller <davem@davemloft.net>
7491 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
7492 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
7493 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
7494 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
7495 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
7496 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
7498 2012-02-29 Joseph Myers <joseph@codesourcery.com>
7500 * math/libm-test.inc (llround_test): Move one test from
7501 lround_test. Use TEST_f_L in moved test.
7502 (lround_test): Move misplaced test to llround_test. Add testcase
7505 2012-02-28 Ulrich Drepper <drepper@gmail.com>
7507 * sysdeps/x86_64/fpu/e_expf.S: New file.
7508 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
7510 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
7513 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
7514 of remain_len that may cause incomplete multi-byte character and
7516 * posix/bug-regex33.c: New file.
7517 * posix/Makefile (tests): Add bug-regex33.
7519 2012-02-28 Joseph Myers <joseph@codesourcery.com>
7521 * manual/macros.texi: New file.
7522 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
7523 * manual/libc.texinfo: Include macros.texi.
7524 * manual/creatute.texi: Likewise.
7525 * manual/install.texi: Likewise.
7526 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
7527 @glibcadj{} in references to the GNU C Library.
7528 * manual/charset.texi: Likewise.
7529 * manual/conf.texi: Likewise.
7530 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
7531 when not using those macros.
7532 * manual/creature.texi: Likewise.
7533 * manual/crypt.texi: Likewise.
7534 * manual/errno.texi: Likewise.
7535 * manual/filesys.texi: Likewise.
7536 * manual/header.texi: Likewise.
7537 * manual/install.texi: Likewise.
7538 * manual/intro.texi: Likewise.
7539 * manual/io.texi: Likewise.
7540 * manual/job.texi: Likewise.
7541 * manual/lang.texi: Likewise.
7542 * manual/libc.texiinfo: Likewise.
7543 * manual/llio.texi: Likewise.
7544 * manual/locale.texi: Likewise.
7545 * manual/maint.texi: Likewise.
7546 * manual/math.texi: Likewise.
7547 * manual/memory.texi: Likewise.
7548 * manual/message.texi: Likewise.
7549 * manual/nss.texi: Likewise.
7550 * manual/pattern.texi: Likewise.
7551 * manual/process.texi: Likewise.
7552 * manual/resource.texi: Likewise.
7553 * manual/search.texi: Likewise.
7554 * manual/setjmp.texi: Likewise.
7555 * manual/signal.texi: Likewise.
7556 * manual/socket.texi: Likewise.
7557 * manual/startup.texi: Likewise.
7558 * manual/stdio.texi: Likewise.
7559 * manual/string.texi: Likewise.
7560 * manual/sysinfo.texi: Likewise.
7561 * manual/syslog.texi: Likewise.
7562 * manual/terminal.texi: Likewise.
7563 * manual/time.texi: Likewise.
7564 * manual/users.texi: Likewise.
7565 * INSTALL: Regenerated.
7566 * NOTES: Regenerated.
7567 * sysdeps/gnu/errlist.c: Regenerated.
7569 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
7571 * include/dirent.h: Include <dirstream.h> before
7574 2012-02-28 David S. Miller <davem@davemloft.net>
7576 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
7577 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
7578 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
7579 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
7581 2012-02-27 David S. Miller <davem@davemloft.net>
7583 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
7584 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
7585 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
7586 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
7588 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
7589 frame pointer instead of stack pointer relative arg slot.
7590 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7591 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7592 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7594 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
7597 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
7599 2012-02-27 David S. Miller <davem@davemloft.net>
7601 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
7602 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7603 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7604 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
7605 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7606 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7607 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
7608 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
7610 2012-02-27 Joseph Myers <joseph@codesourcery.com>
7612 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
7613 later. Allow versions 5-9.
7614 * configure: Regenerated.
7615 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
7616 required minimum version and 4.6 as recommended version. Do not
7617 mention bugs in GCC 2.7 and 2.8.
7618 * INSTALL: Regenerated.
7620 2012-02-27 David S. Miller <davem@davemloft.net>
7622 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
7623 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
7624 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
7625 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
7626 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
7627 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
7628 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
7629 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
7631 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
7632 manipulate bits before adding and subtracting TWO112[sx].
7633 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
7635 2012-02-27 Roland McGrath <roland@hack.frob.com>
7638 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
7639 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
7640 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
7641 being in POSIX, because they are in 1003.1-2008.
7643 * rt/tst-aio.c: Include <fcntl.h>.
7644 * rt/tst-aio7.c: Likewise.
7645 * rt/tst-aio64.c: Likewise.
7647 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
7649 2012-02-27 Joseph Myers <joseph@codesourcery.com>
7651 * manual/install.texi (--with-headers): Describe headers as
7652 interface headers, not private headers.
7653 (Specific advice for GNU/Linux systems): Describe use of headers
7654 from "make headers_install", not private headers from older
7656 * INSTALL: Regenerated.
7657 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
7659 * sysdeps/unix/sysv/linux/configure: Regenerated.
7661 * manual/llio.texi (fclean): Remove documentation.
7663 * manual/Makefile (libc-texi-generated): New variable. Include
7665 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
7666 $(libc-texi-generated), not duplicated list of files.
7667 (version.texi, stamp-version): New rules.
7668 (realclean): Remove $(libc-texi-generated), not individual files
7669 from that list. Do not remove dir-add.texinfo.
7670 * manual/libc.texinfo: Comment out uses of edition numbers and
7671 references to printed manual. Remove last-updated dates.
7672 (EDITION): Comment out.
7674 (VERSION, UPDATED): Remove.
7675 (version.texi): Include.
7677 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
7679 * sysdeps/posix/spawni.c: Include <signal.h>.
7680 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
7681 * sysdeps/pthread/aio_fsync.c: Likewise.
7683 2012-02-26 Ulrich Drepper <drepper@gmail.com>
7685 * conform/Makefile (tests): Run only when not cross-compiling and
7686 when fast-check is not defined.
7688 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
7689 * conform/data/limits.h-data: Fixes for POSIX2008.
7690 * conform/run-conformtest.sh: Run all tests.
7691 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
7693 * include/bits/dlfcn.h: Likewise.
7694 * include/langinfo.h: Likewise.
7695 * include/monetary.h: Likewise.
7696 * include/sys/poll.h: Likewise.
7698 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
7700 * posix/spawn.h: Define __need_sigset_t.
7701 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
7702 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
7703 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
7704 to get sigevent_t only.
7705 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
7707 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7708 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7709 process_vm_writev only for __USE_GNU.
7710 * termios/termios.h: Declare tcgetsid also for POSIX2008.
7712 * conform/Makefile: For now ignore errors from run-conformtest.
7713 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
7714 POSIX to avoid namespace pollution. Don't prepend headers.
7715 * conform/data/aio.h-data: Fixes for POSIX testing.
7716 * conform/data/fcntl.h-data: Likewise.
7717 * conform/data/glob.h-data: Likewise.
7718 * conform/data/grp.h-data: Likewise.
7719 * conform/data/pthread.h-data: Likewise.
7720 * conform/data/pwd.h-data: Likewise.
7721 * conform/data/signal.h-data: Likewise.
7722 * conform/data/spawn.h-data: Likewise.
7723 * conform/data/stdio.h-data: Likewise.
7724 * conform/data/stdlib.h-data: Likewise.
7725 * conform/data/stropts.h-data: Likewise.
7726 * conform/data/sys/mman.h-data: Likewise.
7727 * conform/data/sys/stat.h-data: Likewise.
7728 * conform/data/sys/types.h-data: Likewise.
7729 * conform/data/sys/wait.h-data: Likewise.
7730 * conform/data/time.h-data: Likewise.
7731 * conform/data/unistd.h-data: Likewise.
7732 * conform/data/utime.h-data: Likewise.
7734 * io/sys/stat.h: fchmod was always in POSIX.
7735 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
7736 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
7737 * rt/aio.h: Define __need_timespec before including <time.h>.
7738 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
7739 struct. Add forward declaration of pthread_attr_t and use it in
7741 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
7742 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7743 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
7744 always remove CLK_TCK definition.
7746 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
7748 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
7750 2012-02-25 Ulrich Drepper <drepper@gmail.com>
7752 * conform/run-conformtest.sh: New file.
7753 * conform/Makefile: Run run-conformtest for tests.
7754 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
7757 * conform/data/uchar.h-data: New file.
7758 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
7759 * conform/data/arpa/inet.h-data: Likewise.
7760 * conform/data/assert.h-data: Likewise.
7761 * conform/data/complex.h-data: Likewise.
7762 * conform/data/cpio.h-data: Likewise.
7763 * conform/data/ctype.h-data: Likewise.
7764 * conform/data/dirent.h-data: Likewise.
7765 * conform/data/dlfcn.h-data: Likewise.
7766 * conform/data/errno.h-data: Likewise.
7767 * conform/data/fcntl.h-data: Likewise.
7768 * conform/data/float.h-data: Likewise.
7769 * conform/data/fmtmsg.h-data: Likewise.
7770 * conform/data/fnmatch.h-data: Likewise.
7771 * conform/data/ftw.h-data: Likewise.
7772 * conform/data/glob.h-data: Likewise.
7773 * conform/data/grp.h-data: Likewise.
7774 * conform/data/iconv.h-data: Likewise.
7775 * conform/data/inttypes.h-data: Likewise.
7776 * conform/data/langinfo.h-data: Likewise.
7777 * conform/data/libgen.h-data: Likewise.
7778 * conform/data/limits.h-data: Likewise.
7779 * conform/data/locale.h-data: Likewise.
7780 * conform/data/math.h-data: Likewise.
7781 * conform/data/monetary.h-data: Likewise.
7782 * conform/data/mqueue.h-data: Likewise.
7783 * conform/data/ndbm.h-data: Likewise.
7784 * conform/data/net/if.h-data: Likewise.
7785 * conform/data/netdb.h-data: Likewise.
7786 * conform/data/netinet/in.h-data: Likewise.
7787 * conform/data/nl_types.h-data: Likewise.
7788 * conform/data/poll.h-data: Likewise.
7789 * conform/data/pthread.h-data: Likewise.
7790 * conform/data/pwd.h-data: Likewise.
7791 * conform/data/regex.h-data: Likewise.
7792 * conform/data/sched.h-data: Likewise.
7793 * conform/data/search.h-data: Likewise.
7794 * conform/data/semaphore.h-data: Likewise.
7795 * conform/data/setjmp.h-data: Likewise.
7796 * conform/data/signal.h-data: Likewise.
7797 * conform/data/spawn.h-data: Likewise.
7798 * conform/data/stdarg.h-data: Likewise.
7799 * conform/data/stdio.h-data: Likewise.
7800 * conform/data/stdlib.h-data: Likewise.
7801 * conform/data/string.h-data: Likewise.
7802 * conform/data/strings.h-data: Likewise.
7803 * conform/data/stropts.h-data: Likewise.
7804 * conform/data/sys/ipc.h-data: Likewise.
7805 * conform/data/sys/mman.h-data: Likewise.
7806 * conform/data/sys/msg.h-data: Likewise.
7807 * conform/data/sys/resource.h-data: Likewise.
7808 * conform/data/sys/select.h-data: Likewise.
7809 * conform/data/sys/sem.h-data: Likewise.
7810 * conform/data/sys/shm.h-data: Likewise.
7811 * conform/data/sys/socket.h-data: Likewise.
7812 * conform/data/sys/stat.h-data: Likewise.
7813 * conform/data/sys/statvfs.h-data: Likewise.
7814 * conform/data/sys/time.h-data: Likewise.
7815 * conform/data/sys/timeb.h-data: Likewise.
7816 * conform/data/sys/times.h-data: Likewise.
7817 * conform/data/sys/types.h-data: Likewise.
7818 * conform/data/sys/uio.h-data: Likewise.
7819 * conform/data/sys/un.h-data: Likewise.
7820 * conform/data/sys/utsname.h-data: Likewise.
7821 * conform/data/sys/wait.h-data: Likewise.
7822 * conform/data/syslog.h-data: Likewise.
7823 * conform/data/tar.h-data: Likewise.
7824 * conform/data/termios.h-data: Likewise.
7825 * conform/data/utime.h-data: Likewise.
7826 * conform/data/utmpx.h-data: Likewise.
7827 * conform/data/varargs.h-data: Likewise.
7828 * conform/data/wchar.h-data: Likewise.
7829 * conform/data/wctype.h-data: Likewise.
7830 * conform/data/wordexp.h-data: Likewise.
7832 * include/stropts.h: New file.
7833 * include/uchar.h: New file.
7834 * include/aio.h: Changes to allow conformtest.pl to use the headers.
7835 * include/assert.h: Likewise.
7836 * include/ctype.h: Likewise.
7837 * include/dirent.h: Likewise.
7838 * include/dlfcn.h: Likewise.
7839 * include/fcntl.h: Likewise.
7840 * include/fnmatch.h: Likewise.
7841 * include/glob.h: Likewise.
7842 * include/grp.h: Likewise.
7843 * include/libio.h: Likewise.
7844 * include/locale.h: Likewise.
7845 * include/math.h: Likewise.
7846 * include/net/if.h: Likewise.
7847 * include/netdb.h: Likewise.
7848 * include/netinet/in.h: Likewise.
7849 * include/pthread.h: Likewise.
7850 * include/pwd.h: Likewise.
7851 * include/regex.h: Likewise.
7852 * include/sched.h: Likewise.
7853 * include/search.h: Likewise.
7854 * include/setjmp.h: Likewise.
7855 * include/signal.h: Likewise.
7856 * include/stdio.h: Likewise.
7857 * include/stdlib.h: Likewise.
7858 * include/string.h: Likewise.
7859 * include/sys/cdefs.h: Likewise.
7860 * include/sys/mman.h: Likewise.
7861 * include/sys/msg.h: Likewise.
7862 * include/sys/resource.h: Likewise.
7863 * include/sys/select.h: Likewise.
7864 * include/sys/socket.h: Likewise.
7865 * include/sys/stat.h: Likewise.
7866 * include/sys/statvfs.h: Likewise.
7867 * include/sys/time.h: Likewise.
7868 * include/sys/times.h: Likewise.
7869 * include/sys/uio.h: Likewise.
7870 * include/sys/utsname.h: Likewise.
7871 * include/sys/wait.h: Likewise.
7872 * include/termios.h: Likewise.
7873 * include/time.h: Likewise.
7874 * include/ulimit.h: Likewise.
7875 * include/unistd.h: Likewise.
7876 * include/utime.h: Likewise.
7877 * include/wchar.h: Likewise.
7878 * include/wctype.h: Likewise.
7879 * include/wordexp.h: Likewise.
7881 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
7883 * time/time.h: TIME_UTC must be a macro.
7884 Make timespec_get available for ISO C11 only as well.
7886 2012-02-24 Ulrich Drepper <drepper@gmail.com>
7888 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
7889 Reported by Peng Haitao <penght@cn.fujitsu.com>.
7891 2012-02-24 Joseph Myers <joseph@codesourcery.com>
7893 * configure.in: Use -o not -a in test for unsupported multi-arch.
7895 2012-02-24 Joseph Myers <joseph@codesourcery.com>
7897 * manual/texinfo.tex: Update to version 2012-01-19.16.
7899 2012-02-24 Joseph Myers <joseph@codesourcery.com>
7901 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
7903 2012-02-24 Roland McGrath <roland@hack.frob.com>
7906 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
7907 * manual/fdl-1.3.texi: New file.
7908 * manual/fdl-1.1.texi: File removed.
7911 * manual/libc.texinfo (FDL_VERSION): New @set.
7912 Use it for mention of FDL in cover text.
7913 (Documentation License): Use it in @include file name.
7915 2012-02-22 Joseph Myers <joseph@codesourcery.com>
7916 Roland McGrath <roland@hack.frob.com>
7919 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
7920 not LONG_LONG_MAX and LONG_LONG_MIN.
7921 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
7922 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
7924 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
7926 2012-02-22 Joseph Myers <joseph@codesourcery.com>
7930 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
7931 manipulate bits before adding and subtracting TWO23[sx].
7932 * math/libm-test.inc (nearbyint_test): Add more tests.
7934 2012-02-22 Joseph Myers <joseph@codesourcery.com>
7937 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
7938 bits before adding and subtracting TWO23[sx].
7939 * math/libm-test.inc (rint_test): Add more tests.
7940 (rint_test_tonearest): Likewise.
7941 (rint_test_towardzero): Likewise.
7942 (rint_test_downward): Likewise.
7943 (rint_test_upward: Likewise.
7945 2012-02-22 Joseph Myers <joseph@codesourcery.com>
7948 * include/stdc-predef.h: New file. Extracted from features.h.
7949 * include/features.h: Include stdc-predef.h.
7950 * Makefile (headers): Add stdc-predef.h.
7951 * CONFORMANCE (Compiler limitations): Update.
7953 2012-02-22 Joseph Myers <joseph@codesourcery.com>
7955 * manual/libc.texinfo (VERSION, UPDATED): Revert.
7957 2012-02-21 David S. Miller <davem@davemloft.net>
7959 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
7960 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
7962 2012-02-20 David S. Miller <davem@davemloft.net>
7964 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
7965 using a normal save/restore sequence, rather than allocating a
7966 dummy stack frame just to store a frame pointer and restore.
7967 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7969 2012-02-21 Joseph Myers <joseph@codesourcery.com>
7971 * manual/install.texi: Fix stray word in line-wrapped comment.
7973 2012-02-20 David S. Miller <davem@davemloft.net>
7975 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
7976 both binutils and gcc support GOTDATA.
7978 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
7979 "rd %pc" in the PIC register setup sequences.
7981 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
7982 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
7983 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
7984 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
7985 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
7986 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7987 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7988 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7989 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
7990 (SYSCALL_ERROR_HANDLER): Likewise.
7991 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
7992 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7993 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
7994 (SYSCALL_ERROR_HANDLER): Likewise.
7996 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
7997 (HAVE_GCC_GOTDATA): New.
7998 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
7999 relocation support in both binutils and gcc.
8000 * sysdeps/sparc/elf/configure: Regenerate.
8002 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
8003 * sysdeps/sparc/sparc32/elf/configure: Delete.
8004 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
8005 * sysdeps/sparc/sparc64/elf/configure: Delete.
8006 * sysdeps/sparc/elf/configure.in: New file.
8007 * sysdeps/sparc/elf/configure: Generate.
8009 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
8010 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
8011 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
8012 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
8013 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
8015 2012-02-21 Joseph Myers <joseph@codesourcery.com>
8017 * manual/install.texi: Do not mention specific glibc version
8019 * manual/libc.texinfo (VERSION, UPDATED): Update.
8020 (@copying): Use @copyright{} and range of years.
8022 2012-02-21 Joseph Myers <joseph@codesourcery.com>
8025 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
8026 [crti.S not in sysdirs] (generated): Do not append.
8027 [crti.S not in sysdirs] (omit-deps): Likewise.
8028 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
8029 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
8030 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
8031 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
8032 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
8034 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
8035 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
8036 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
8037 * csu/defs.awk: Remove file.
8038 * sysdeps/generic/initfini.c: Likewise.
8039 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
8041 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
8044 2012-02-20 Joseph Myers <joseph@codesourcery.com>
8046 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
8047 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
8048 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
8049 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
8050 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8051 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
8053 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
8054 (__EPOLL_PACKED): Define to empty if not defined by
8056 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
8057 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8060 2012-02-20 Joseph Myers <joseph@codesourcery.com>
8062 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
8063 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
8064 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
8065 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
8067 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
8068 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8071 2012-02-20 Joseph Myers <joseph@codesourcery.com>
8073 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
8075 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8076 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8077 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
8078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8080 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
8082 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8083 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8085 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
8087 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
8088 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
8090 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
8092 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
8095 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
8097 * math/w_acos.c: Use non-signaling floating-point comparisons.
8098 * math/w_acosf.c: Likewise.
8099 * math/w_acosh.c: Likewise.
8100 * math/w_acoshf.c: Likewise.
8101 * math/w_acoshl.c: Likewise.
8102 * math/w_acosl.c: Likewise.
8103 * math/w_asin.c: Likewise.
8104 * math/w_asinf.c: Likewise.
8105 * math/w_asinl.c: Likewise.
8106 * math/w_atanh.c: Likewise.
8107 * math/w_atanhf.c: Likewise.
8108 * math/w_atanhl.c: Likewise.
8109 * math/w_exp2.c: Likewise.
8110 * math/w_exp2f.c: Likewise.
8111 * math/w_exp2l.c: Likewise.
8112 * math/w_j0.c: Likewise.
8113 * math/w_j0f.c: Likewise.
8114 * math/w_j0l.c: Likewise.
8115 * math/w_j1.c: Likewise.
8116 * math/w_j1f.c: Likewise.
8117 * math/w_j1l.c: Likewise.
8118 * math/w_jn.c: Likewise.
8119 * math/w_jnf.c: Likewise.
8120 * math/w_log.c: Likewise.
8121 * math/w_log10.c: Likewise.
8122 * math/w_log10f.c: Likewise.
8123 * math/w_log10l.c: Likewise.
8124 * math/w_log2.c: Likewise.
8125 * math/w_log2f.c: Likewise.
8126 * math/w_log2l.c: Likewise.
8127 * math/w_logf.c: Likewise.
8128 * math/w_logl.c: Likewise.
8129 * math/w_sqrt.c: Likewise.
8130 * math/w_sqrtf.c: Likewise.
8131 * math/w_sqrtl.c: Likewise.
8132 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8133 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
8134 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8135 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8136 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8138 2012-02-19 Joseph Myers <joseph@codesourcery.com>
8141 * manual/string.texi (strnlen): Use correct parameter name in
8142 equivalent expression.
8144 2012-02-19 Joseph Myers <joseph@codesourcery.com>
8147 * manual/users.texi (seteuid): Consistently use neweuid for
8150 2012-02-19 Joseph Myers <joseph@codesourcery.com>
8153 * manual/nss.texi (Services in the NSS configuration): Correct
8154 list of services in example configuration file.
8156 2012-02-19 Nick Bowler <nbowler@draconx.ca>
8159 * manual/arith.texi: Remove statements about negative zero
8160 behaving identically to zero.
8162 2012-02-18 Joseph Myers <joseph@codesourcery.com>
8165 * manual/install.texi: Do not document upgrading from libc5.
8167 2012-02-18 Joseph Myers <joseph@codesourcery.com>
8170 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
8172 2012-02-18 David S. Miller <davem@davemloft.net>
8174 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
8175 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
8176 %o7 across the call.
8177 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
8179 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
8181 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8182 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
8183 * sysdeps/sparc/crtn.S: Likewise.
8185 2012-02-17 Ulrich Drepper <drepper@gmail.com>
8187 * aout/Makefile: Remove.
8189 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
8192 * manual/examples/argp-ex1.c (main): Format definition in GNU
8194 * manual/examples/argp-ex2.c (main): Likewise.
8195 * manual/examples/argp-ex3.c (main): Likewise.
8196 * manual/examples/argp-ex4.c (main): Likewise.
8197 * manual/examples/longopt.c (main): Use new-style prototype
8199 * manual/examples/strncat.c (main): Specify return type and use
8200 (void) for arguments.
8201 * manual/examples/subopt.c (main): Use char **argv argument.
8203 2012-02-17 Joseph Myers <joseph@codesourcery.com>
8206 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
8209 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
8212 * manual/string.texi (strchr): Change when strchrnul is
8215 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
8218 * manual/locale.texi (setlocale): Document LOCPATH.
8220 2012-02-17 Joseph Myers <joseph@codesourcery.com>
8223 * manual/process.texi (execle): Move @dots{} before last argument.
8225 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
8228 * manual/charset.texi (Generic Charset Conversion): Fix typo
8229 (LC_TYPE -> LC_CTYPE).
8231 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
8234 * manual/arith.texi (scalbn): Use @var{} on parameter names.
8235 (scalbnf): Likewise.
8236 (scalbnl): Likewise.
8237 (scalbln): Likewise.
8238 (scalblnf): Likewise.
8239 (scalblnl): Likewise.
8240 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
8244 * manual/filesys.texi (telldir): Use braces around return type.
8245 * manual/llio.texi (mmap): Add space after comma.
8247 * manual/math.texi (jn): Use @var{} on parameter names.
8253 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
8255 * manual/resource.texi (ulimit): Use @dots{} instead of literal
8257 (sched_get_priority_min): Remove semicolon on @deftypefun line.
8258 (sched_get_priority_max): Likewise.
8259 * manual/signal.texi (sigvec): Add space after comma.
8260 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
8262 (if_indextoname): Likewise.
8263 (if_freenameindex): Likewise.
8264 (sendto): Use ',' instead of '.' in prototype.
8265 * manual/startup.texi (syscall): Use @dots{} instead of literal
8267 * manual/stdio.texi (__fpending): Separate initial words of
8268 paragraph from @deftypefun line.
8269 * manual/syslog.texi (syslog): Use @dots{} instead of literal
8271 (vsyslog): Use @var{} on parameter names.
8272 * manual/terminal.texi (stty): Use @var{} on parameter names.
8273 * manual/users.texi (getutmp): Use @var{} on parameter names.
8274 (getutmpx): Likewise.
8276 2012-02-17 Joseph Myers <joseph@codesourcery.com>
8279 * manual/stdio.texi (fopen): Fix typos in description of
8282 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
8285 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
8286 get clock_id definition.
8288 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
8291 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
8292 (madvise): Cast every argument to void on its own.
8294 2012-02-17 Joseph Myers <joseph@codesourcery.com>
8297 * manual/startup.texi (Exit Status): Fix typo.
8299 2012-02-17 Joseph Myers <joseph@codesourcery.com>
8302 * manual/examples/argp-ex1.c: Include <stdlib.h>.
8303 * manual/examples/argp-ex2.c: Likewise.
8304 * manual/examples/argp-ex3.c: Likewise.
8306 2012-02-16 Richard Henderson <rth@redhat.com>
8308 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
8309 * sysdeps/s390/s390-32/initfini.c: Remove.
8310 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
8311 * sysdeps/s390/s390-64/initfini.c: Remove.
8313 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8315 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
8316 compiler output for sysdeps/generic/initfini.c.
8317 * sysdeps/sh/elf/initfini.c: Remove file.
8319 2012-02-16 David S. Miller <davem@davemloft.net>
8322 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
8324 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
8325 * sysdeps/sparc/crti.S: New file.
8326 * sysdeps/sparc/crtn.S: New file.
8327 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
8328 * sysdeps/sparc/sparc64/Makefile: Likewise.
8330 2012-02-15 Mike Frysinger <vapier@gentoo.org>
8333 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
8335 2012-02-15 Roland McGrath <roland@hack.frob.com>
8338 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
8340 * mach/devstream.c (cookie_io_functions_t): Macro removed.
8341 (write, read, close): Likewise.
8342 Patch by Aurelien Jarno <aurelien@aurel32.net>.
8344 2012-02-15 Joseph Myers <joseph@codesourcery.com>
8346 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
8347 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
8348 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
8349 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
8351 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
8352 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8355 2012-02-14 Marek Polacek <polacek@redhat.com>
8357 * sysdeps/x86_64/crti.S: New file.
8358 * sysdeps/x86_64/crtn.S: New file.
8359 * sysdeps/x86_64/elf/initfini.c: Remove file.
8361 2012-02-13 Joseph Myers <joseph@codesourcery.com>
8363 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
8364 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
8365 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
8366 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
8368 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
8369 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8372 2012-02-13 Joseph Myers <joseph@codesourcery.com>
8374 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
8375 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
8376 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
8377 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
8379 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
8380 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8383 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
8385 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
8386 __feraiseexcept instead of feraiseexcept.
8388 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
8389 nanosleep invocations.
8390 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
8391 strings, and add error checking for a nanosleep invocations.
8393 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
8395 Replace FSF snail mail address with URLs, as per GNU coding standards.
8396 Most of the snail mail addresses were wrong anyway, and omitting
8397 them makes the source code easier to maintain. Almost all of the
8398 changes are to license notices and to locale LC_IDENTIFICATION
8399 addresses, except for this one:
8400 * manual/libc.texinfo: In "Published by", give the FSF's URL,
8401 not its snail mail address.
8403 2012-02-09 Richard Henderson <rth@twiddle.net>
8405 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
8406 of kernel-features.h.
8408 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
8410 2012-02-08 Marek Polacek <polacek@redhat.com>
8412 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
8413 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
8414 * sysdeps/gnu/_G_config.h: Likewise.
8415 * sysdeps/generic/_G_config.h: Likewise.
8417 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
8419 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
8421 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8423 * sysdeps/powerpc/powerpc32/crti.S: New file.
8424 * sysdeps/powerpc/powerpc32/crtn.S: New file.
8425 * sysdeps/powerpc/powerpc64/crti.S: New file.
8426 * sysdeps/powerpc/powerpc64/crtn.S: New file.
8428 * Makeconfig (have-initfini): Don't set.
8429 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
8430 * configure.in (nopic_initfini): Don't substitute.
8431 * config.h.in (HAVE_INITFINI): Don't #undef.
8432 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
8433 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
8435 2012-02-08 Joseph Myers <joseph@codesourcery.com>
8437 Support crti.S and crtn.S provided directly by architectures.
8438 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
8439 [crti.S in sysdirs] (omit-deps): Likewise.
8440 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
8441 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
8442 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
8443 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
8444 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
8445 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
8446 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
8447 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
8448 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
8449 compiler output for sysdeps/generic/initfini.c.
8450 * sysdeps/i386/elf/Makefile: Remove file.
8451 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
8453 2012-02-07 Marek Polacek <polacek@redhat.com>
8455 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
8456 * sysdeps/gnu/_G_config.h: Likewise.
8457 * sysdeps/mach/hurd/_G_config.h: Likewise.
8459 2012-02-07 Marek Polacek <polacek@redhat.com>
8461 * math/Makefile (tests): Add tst-CMPLX2.
8462 * math/tst-CMPLX2.c: New file.
8464 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
8466 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8468 * math/libm-test.inc (jn_test): Add missing L suffix.
8470 2012-02-06 Marek Polacek <polacek@redhat.com>
8472 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
8473 * sysdeps/i386/fpu/e_powf.S: Likewise.
8474 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8475 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8476 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8477 * sysdeps/i386/fpu/e_pow.S: Likewise.
8478 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
8479 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8480 * sysdeps/i386/fpu/s_expm1.S: Likewise.
8481 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8482 * sysdeps/i386/fpu/e_log2.S: Likewise.
8483 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8484 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8485 * sysdeps/i386/fpu/e_powl.S: Likewise.
8486 * sysdeps/i386/fpu/s_log1p.S: Likewise.
8487 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8488 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
8489 * sysdeps/i386/fpu/e_logl.S: Likewise.
8490 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
8491 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
8492 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8493 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
8494 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8495 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8496 * sysdeps/i386/fpu/e_log.S: Likewise.
8497 * sysdeps/i386/fpu/s_cexp.S: Likewise.
8498 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8499 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
8500 * sysdeps/i386/fpu/e_logf.S: Likewise.
8501 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8502 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8503 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
8504 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
8505 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8506 * sysdeps/i386/fpu/e_log10.S: Likewise.
8507 * sysdeps/i386/fpu/s_frexp.S: Likewise.
8508 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8509 * sysdeps/i386/fpu/s_asinh.S: Likewise.
8510 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
8511 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8512 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
8513 * sysdeps/i386/asm-syntax.h: Likewise.
8514 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8515 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8516 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8517 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
8518 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
8519 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8520 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
8521 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
8522 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8523 * sysdeps/powerpc/sysdep.h: Likewise.
8524 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
8525 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8527 2012-02-06 Joseph Myers <joseph@codesourcery.com>
8530 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
8532 2012-02-06 Joseph Myers <joseph@codesourcery.com>
8534 * sysdeps/i386/sysdep.h: Include <features.h>.
8535 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
8538 2012-02-05 Joseph Myers <joseph@codesourcery.com>
8540 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
8542 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
8545 2012-02-03 Joseph Myers <joseph@codesourcery.com>
8547 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
8548 (SETUP_PIC_REG): Use GET_PC_THUNK.
8549 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
8552 2012-02-03 Joseph Myers <joseph@codesourcery.com>
8554 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
8555 for non-PIC compilation.
8556 (SETUP_PIC_REG): Add .p2align directive.
8557 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
8558 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
8559 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8560 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8561 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8562 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8563 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
8564 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8565 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8566 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8567 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8568 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8569 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8570 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8571 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8572 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8573 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8574 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8575 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8576 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8577 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8578 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8579 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8580 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8581 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8582 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8583 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8584 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8585 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8586 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8587 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8588 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8589 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8590 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8591 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8592 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8593 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8594 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8595 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8596 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8597 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8599 2012-02-03 Joseph Myers <joseph@codesourcery.com>
8601 * math/tst-CMPLX.c: Include <stdio.h>.
8603 2012-01-31 Joseph Myers <joseph@codesourcery.com>
8605 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
8607 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8608 * sysdeps/sparc/bits/mathdef.h: Likewise.
8610 2012-01-31 Marek Polacek <polacek@redhat.com>
8612 * libio/libio.h: Don't define _PARAMS.
8613 * locale/programs/config.h: Don't define PARAMS.
8614 * stdlib/strtol_l.c: Likewise.
8615 (__strtol_l): Remove PARAMS from the prototype.
8617 2012-01-31 Ulrich Drepper <drepper@gmail.com>
8619 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
8620 names. Just use the correct names. Remove unnecessary wrapper
8622 * malloc/arena.c: Likewise.
8623 * malloc/hooks.c: Likewise.
8625 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
8626 ARENA_TEST says not to. Simplify test for creation of a new arena.
8627 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
8629 2012-01-30 Ulrich Drepper <drepper@gmail.com>
8631 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
8633 (update_get_addr): New function.
8634 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
8635 GET_ADDR_MODULE parameter.
8637 2012-01-30 Joseph Myers <joseph@codesourcery.com>
8639 * crypt/cert.c: Remove __STDC__ conditionals.
8640 * crypt/crypt-entry.c: Likewise.
8641 * crypt/crypt_util.c: Likewise.
8642 * libio/filedoalloc.c: Likewise.
8643 * libio/fileops.c: Likewise.
8644 * libio/genops.c: Likewise.
8645 * libio/iofclose.c: Likewise.
8646 * libio/iofdopen.c: Likewise.
8647 * libio/iofopen.c: Likewise.
8648 * libio/iofopen64.c: Likewise.
8649 * libio/iogetdelim.c: Likewise.
8650 * libio/iopopen.c: Likewise.
8651 * libio/obprintf.c: Likewise.
8652 * libio/oldfileops.c: Likewise.
8653 * libio/oldiofclose.c: Likewise.
8654 * libio/oldiofdopen.c: Likewise.
8655 * libio/oldiofopen.c: Likewise.
8656 * libio/oldiopopen.c: Likewise.
8657 * libio/wfiledoalloc.c: Likewise.
8658 * libio/wgenops.c: Likewise.
8659 * locale/programs/xmalloc.c: Likewise.
8660 * misc/syslog.c: Likewise.
8661 * stdio-common/xbug.c: Likewise.
8662 * string/memchr.c: Likewise.
8663 * string/memcmp.c: Likewise.
8664 * string/memrchr.c: Likewise.
8665 * string/rawmemchr.c: Likewise.
8666 * sysdeps/posix/getcwd.c: Likewise.
8667 * time/strftime_l.c: Likewise.
8669 2012-01-30 Joseph Myers <joseph@codesourcery.com>
8671 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
8672 * config.make.in (config-cflags-sse2avx): Define.
8673 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
8676 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
8678 * scripts/config.guess: Update from upstream config git repository.
8679 * scripts/config.sub: Likewise.
8681 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
8683 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
8685 (R_TILEPRO_*, R_TILEGX_*): New macros.
8687 * scripts/firstversions.awk: Fix bug in version range handling.
8689 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
8691 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
8693 * include/sys/epoll.h: New file.
8694 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
8697 2012-01-28 Ulrich Drepper <drepper@gmail.com>
8699 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
8700 Avoid unnecessary __WORDSIZE == 64 test.
8701 (fmaxf): Use VEX format if possible.
8706 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
8707 * math/math_private.h: Remove libc_fegetround* and
8709 * sysdeps/i386/configure.in: Check for -msse2avx.
8710 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
8711 also if SSE2AVX is defined.
8712 Remove libc_fegetround* and libc_fesetround*.
8713 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
8714 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
8715 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
8717 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8718 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8719 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8720 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8721 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8723 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
8725 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8727 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
8729 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
8731 2012-01-27 Ulrich Drepper <drepper@gmail.com>
8734 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
8736 * Makeconfig (libm): Define.
8737 * elf/Makefile: Add rules to build and run tst-relsort1.
8738 * elf/tst-relsort1.c: New file.
8739 * elf/tst-relsort1mod1.c: New file.
8740 * elf/tst-relsort1mod2.c: New file.
8742 2012-01-27 Joseph Myers <joseph@codesourcery.com>
8744 * math/s_ldexp.c: Remove __STDC__ conditionals.
8745 * math/s_ldexpf.c: Likewise.
8746 * math/s_ldexpl.c: Likewise.
8747 * math/s_nextafter.c: Likewise.
8748 * math/s_nexttowardf.c: Likewise.
8749 * math/s_significand.c: Likewise.
8750 * math/s_significandf.c: Likewise.
8751 * math/s_significandl.c: Likewise.
8752 * math/w_jnl.c: Likewise.
8753 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8754 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8755 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8756 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8757 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8758 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8759 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
8760 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8761 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8762 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8763 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8764 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8765 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8766 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8767 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8768 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8769 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8770 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8771 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8772 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8773 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8774 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8775 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8776 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8777 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8778 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8779 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8780 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8781 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
8782 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8783 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8784 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
8785 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8786 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
8787 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
8788 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8789 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8790 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
8791 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
8792 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8793 * sysdeps/ieee754/k_standard.c: Likewise.
8794 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8795 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8796 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8797 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8798 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8799 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8800 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8801 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8802 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8803 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8804 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8805 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
8806 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8807 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8808 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8809 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8810 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8811 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8812 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8813 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8814 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8815 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8816 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8817 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8818 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8819 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8820 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8821 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8822 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8823 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
8824 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
8825 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
8826 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8827 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
8828 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
8829 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
8830 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
8831 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8832 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
8833 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
8834 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
8835 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
8836 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8837 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
8838 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8839 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
8840 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
8841 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8842 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
8843 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8844 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
8845 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8846 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8847 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
8848 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
8849 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
8850 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
8851 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8852 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8853 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8854 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8855 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8856 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
8857 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8858 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8859 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8860 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8861 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
8862 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
8863 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8864 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8865 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8866 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8867 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
8868 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
8869 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8870 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
8871 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
8872 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
8873 * sysdeps/ieee754/s_matherr.c: Likewise.
8874 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
8875 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8876 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8877 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8879 2012-01-26 Joseph Myers <joseph@codesourcery.com>
8881 * crypt/md5.h: Remove __STDC__ conditionals.
8882 * libio/libioP.h: Likewise.
8883 * locale/programs/config.h: Likewise.
8884 * sysdeps/generic/sysdep.h: Likewise.
8885 * sysdeps/i386/asm-syntax.h: Likewise.
8886 * sysdeps/s390/asm-syntax.h: Likewise.
8887 * sysdeps/unix/sysdep.h: Likewise.
8888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8891 2012-01-26 Joseph Myers <joseph@codesourcery.com>
8893 * libio/libio.h: Remove __STDC__ conditionals.
8894 * malloc/obstack.h: Likewise.
8895 * math/complex.h: Likewise.
8896 * math/math.h: Likewise.
8897 * sysdeps/generic/_G_config.h: Likewise.
8898 * sysdeps/gnu/_G_config.h: Likewise.
8899 * sysdeps/mach/hurd/_G_config.h: Likewise.
8900 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8901 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8902 * sysdeps/sparc/bits/mathdef.h: Likewise.
8904 2012-01-26 Ulrich Drepper <drepper@gmail.com>
8907 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
8908 Clean up HAS_* macros.
8909 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
8910 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
8912 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
8914 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8915 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8916 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8917 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8918 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8920 2012-01-25 Joseph Myers <joseph@codesourcery.com>
8922 * elf/tst-unique3.cc (gets): Remove declaration.
8923 * elf/tst-unique3lib.cc (gets): Likewise.
8924 * elf/tst-unique3lib2.cc (gets): Likewise.
8925 * elf/tst-unique4.cc (gets): Likewise.
8927 2012-01-24 Ulrich Drepper <drepper@gmail.com>
8929 * include/stdio.h: Add C++ protection. Add gets declarations and
8931 * debug/tst-chk1.c: Don't declare gets here.
8932 * stdio-common/tst-gets.c: Likewise.
8934 2012-01-24 Joseph Myers <joseph@codesourcery.com>
8936 * posix/glob: Remove directory.
8938 2012-01-24 Joseph Myers <joseph@codesourcery.com>
8940 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
8942 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
8944 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
8945 of the non-standard EPFNOSUPPORT.
8947 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
8949 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
8950 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
8951 ANYWHERE set to 1 only on KERN_NO_SPACE error.
8953 2012-01-21 Ulrich Drepper <drepper@gmail.com>
8955 * wcsmbs/uchar.h: Test __STDC_VERSION__.
8957 2012-01-20 Ulrich Drepper <drepper@gmail.com>
8959 * nscd/aicache.c (addhstaiX): Do not cache negative results of
8961 * nscd/grpcache.c (cache_addgr): Likewise.
8962 * nscd/hstcache.c (cache_addhst): Likewise.
8963 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8964 * nscd/pwdcache.c (cache_addpw): Likewise.
8965 * nscd/servicescache.c (cache_addserv): Likewise.
8967 2012-01-16 Ulrich Drepper <drepper@gmail.com>
8969 * malloc/malloc.c: Various cleanups.
8970 * malloc/hooks.c: Likewise.
8972 * stdlib/Makefile (tests): Add bug-fmtmsg1.
8973 * stdlib/bug-fmtmsg1.c: New file.
8975 * stdlib/fmtmsg.c (init): Add missing unlock.
8976 Patch by Peng Haitao <penght@cn.fujitsu.com>.
8978 2012-01-12 Marek Polacek <polacek@redhat.com>
8980 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
8983 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
8985 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
8986 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
8987 macro to ensure uniqueness of label name.
8988 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
8989 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
8991 2012-01-11 Ulrich Drepper <drepper@gmail.com>
8993 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
8995 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
8996 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
8997 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8998 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
9000 2012-01-10 Ulrich Drepper <drepper@gmail.com>
9002 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
9004 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
9005 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9006 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9008 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
9010 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
9011 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9012 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9013 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
9015 * math/bits/math-finite.h: Add ldexp support.
9017 2012-01-10 Marek Polacek <polacek@redhat.com>
9019 * locale/programs/localedef.h (show_archive_content): Add noreturn
9022 2012-01-09 Ulrich Drepper <drepper@gmail.com>
9024 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
9026 2012-01-08 Ulrich Drepper <drepper@gmail.com>
9028 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
9030 * io/Makefile (headers): Add bits/poll2.h.
9032 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
9034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
9035 typo #include statement.
9037 2012-01-08 Ulrich Drepper <drepper@gmail.com>
9039 * include/sys/cdefs.h: Define __attribute_alloc_size.
9040 * catgets/gencat.c: Add alloc_size attribute and apply consistently
9041 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
9042 * elf/pldd.c: Likewise.
9043 * iconv/iconv_charmap.c: Likewise.
9044 * iconv/iconvconfig.c: Likewise.
9045 * iconv/strtab.c: Likewise.
9046 * locale/programs/locale.c: Likewise.
9047 * locale/programs/localedef.h: Likewise.
9048 * locale/programs/simple-hash.c: Likewise.
9049 * nscd/nscd.h: Likewise.
9050 * nss/makedb.c: Likewise.
9051 * sysdeps/generic/ldconfig.h: Likewise.
9052 * locale/programs/localedef.c: Remove xmalloc prototype.
9053 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
9055 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9057 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
9060 2012-01-08 Ulrich Drepper <drepper@gmail.com>
9062 * math/Makefile (tests): Add tst-CMPLX.
9063 * math/tst-CMPLX.c: New file.
9065 * math/complex.h (CMPLXL): Fix typo.
9067 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
9068 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
9070 * debug/tst-chk1.c: Add poll and ppoll tests.
9071 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
9072 * include/sys/poll.h: Add hidden proto for ppoll.
9073 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
9074 * sysdeps/mach/hurd/ppoll.c: Likewise.
9075 * io/ppoll.c: Likewise.
9076 * debug/poll_chk.c: New file.
9077 * debug/ppoll_chk.c: New file.
9078 * include/bits/poll2.h: New file.
9079 * io/bits/poll2.h: New file.
9082 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
9084 * configure.in: static is always set to yes. Remove.
9085 * config.make.in: Don't set build-static.
9086 * Makeconfig: Remove use of build-static.
9087 * dlfcn/Makefile: Likewise.
9088 * elf/Makefile: Likewise.
9089 * math/Makefile: Likewise.
9090 * misc/Makefile: Likewise.
9091 * nptl/Makefile: Likewise.
9092 * sysdeps/mach/hurd/Makefile: Likewise.
9094 * configure.in: PWD_P is not used anymore.
9095 * config.make.in: Remove PWD_P entry.
9097 * configure.in: Remove last remnants of RANLIB.
9098 No need to check for signed size_t anymore.
9099 Don't set libc_commonpagesize and libc_relro_required here for Alpha
9101 Remove __builtin_expect test because we require at least gcc 3.4.
9102 * aclocal.m4: Likewise.
9104 * wcsmbs/mbrtoc16.c: Implement using towc function.
9105 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
9106 * wcsmbs/wcsmbsload.c: Likewise.
9107 * iconv/gconv_simple.c: Likewise.
9108 * iconv/gconv_int.h: Likewise.
9109 * iconv/gconv_builtin.h: Likewise.
9110 * iconv/iconv_prog.c: Remove CHAR16 handling.
9112 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
9114 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
9116 * configure.in: Remove --with-elf and --enable-bounded options.
9117 Dont set base_machine for ia64. More non-ELF conditions removed.
9118 Remove testing and setting of leading underscore information.
9119 * config.make.in (build-bounded): Set to no.
9120 * config.h.in: Remove NO_UNDERSCORES entry.
9121 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
9123 * csu/start.c: Remove !NO_UNDERSCORE code.
9124 * locale/localeinfo.h: Likewise.
9125 * sysdeps/generic/machine-gmon.h: Likewise.
9126 * sysdeps/generic/sysdep.h: Likewise.
9127 * sysdeps/i386/sysdep.h: Likewise.
9128 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9129 * sysdeps/mach/sysdep.h: Likewise.
9130 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9131 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9132 * sysdeps/sh/sysdep.h: Likewise.
9133 * sysdeps/sparc/sparc32/alloca.S: Likewise.
9134 * sysdeps/unix/i386/sysdep.S: Likewise.
9135 * sysdeps/unix/sparc/start.c: Likewise.
9136 * sysdeps/unix/sparc/sysdep.S: Likewise.
9137 * sysdeps/unix/sparc/sysdep.h: Likewise.
9138 * sysdeps/unix/start.c: Likewise.
9139 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9140 * sysdeps/x86_64/sysdep.h: Likewise.
9142 2012-01-07 Ulrich Drepper <drepper@gmail.com>
9145 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
9147 * argp/argp-fmtstream.h: Use const instead __const.
9148 * argp/argp.h: Likewise.
9149 * assert/assert.h: Likewise.
9150 * bits/fenv.h: Likewise.
9151 * bits/sched.h: Likewise.
9152 * bits/sigset.h: Likewise.
9153 * bits/sigthread.h: Likewise.
9154 * catgets/nl_types.h: Likewise.
9155 * conform/data/pthread.h-data: Likewise.
9156 * crypt/crypt-private.h: Likewise.
9157 * crypt/crypt.h: Likewise.
9158 * crypt/crypt_util.c: Likewise.
9159 * ctype/ctype.h: Likewise.
9160 * debug/execinfo.h: Likewise.
9161 * debug/mbsnrtowcs_chk.c: Likewise.
9162 * debug/mbsrtowcs_chk.c: Likewise.
9163 * debug/wcsnrtombs_chk.c: Likewise.
9164 * debug/wcsrtombs_chk.c: Likewise.
9165 * debug/wcstombs_chk.c: Likewise.
9166 * dirent/dirent.h: Likewise.
9167 * dlfcn/dlfcn.h: Likewise.
9168 * elf/neededtest4.c: Likewise.
9169 * grp/grp.h: Likewise.
9170 * gshadow/gshadow.h: Likewise.
9171 * iconv/gconv.h: Likewise.
9172 * iconv/gconv_int.h: Likewise.
9173 * iconv/gconv_simple.c: Likewise.
9174 * iconv/iconv.h: Likewise.
9175 * iconv/loop.c: Likewise.
9176 * iconv/skeleton.c: Likewise.
9177 * include/aio.h: Likewise.
9178 * include/aliases.h: Likewise.
9179 * include/argz.h: Likewise.
9180 * include/arpa/inet.h: Likewise.
9181 * include/assert.h: Likewise.
9182 * include/dirent.h: Likewise.
9183 * include/dlfcn.h: Likewise.
9184 * include/execinfo.h: Likewise.
9185 * include/fcntl.h: Likewise.
9186 * include/fenv.h: Likewise.
9187 * include/glob.h: Likewise.
9188 * include/grp.h: Likewise.
9189 * include/libintl.h: Likewise.
9190 * include/mntent.h: Likewise.
9191 * include/netdb.h: Likewise.
9192 * include/pwd.h: Likewise.
9193 * include/rpc/netdb.h: Likewise.
9194 * include/sched.h: Likewise.
9195 * include/search.h: Likewise.
9196 * include/shadow.h: Likewise.
9197 * include/signal.h: Likewise.
9198 * include/stdio.h: Likewise.
9199 * include/stdlib.h: Likewise.
9200 * include/string.h: Likewise.
9201 * include/sys/socket.h: Likewise.
9202 * include/sys/stat.h: Likewise.
9203 * include/sys/statfs.h: Likewise.
9204 * include/sys/statvfs.h: Likewise.
9205 * include/sys/syslog.h: Likewise.
9206 * include/sys/time.h: Likewise.
9207 * include/sys/uio.h: Likewise.
9208 * include/time.h: Likewise.
9209 * include/unistd.h: Likewise.
9210 * include/utmp.h: Likewise.
9211 * include/wchar.h: Likewise.
9212 * include/wctype.h: Likewise.
9213 * inet/aliases.h: Likewise.
9214 * inet/arpa/inet.h: Likewise.
9215 * inet/netinet/ether.h: Likewise.
9216 * inet/netinet/in.h: Likewise.
9217 * intl/libintl.h: Likewise.
9218 * io/bits/fcntl2.h: Likewise.
9219 * io/fcntl.h: Likewise.
9220 * io/ftw.h: Likewise.
9221 * io/sys/poll.h: Likewise.
9222 * io/sys/stat.h: Likewise.
9223 * io/sys/statfs.h: Likewise.
9224 * io/sys/statvfs.h: Likewise.
9225 * io/utime.h: Likewise.
9226 * libio/bits/stdio.h: Likewise.
9227 * libio/bits/stdio2.h: Likewise.
9228 * libio/libio.h: Likewise.
9229 * libio/libioP.h: Likewise.
9230 * libio/stdio.h: Likewise.
9231 * locale/lc-ctype.c: Likewise.
9232 * locale/locale.h: Likewise.
9233 * login/utmp.h: Likewise.
9234 * malloc/arena.c: Likewise.
9235 * malloc/malloc.c: Likewise.
9236 * malloc/malloc.h: Likewise.
9237 * malloc/mcheck.c: Likewise.
9238 * malloc/mtrace.c: Likewise.
9239 * math/bits/mathcalls.h: Likewise.
9240 * math/fenv.h: Likewise.
9241 * math/math_private.h: Likewise.
9242 * misc/bits/error.h: Likewise.
9243 * misc/bits/syslog.h: Likewise.
9244 * misc/err.h: Likewise.
9245 * misc/error.h: Likewise.
9246 * misc/fstab.h: Likewise.
9247 * misc/mntent.h: Likewise.
9248 * misc/regexp.h: Likewise.
9249 * misc/search.h: Likewise.
9250 * misc/sgtty.h: Likewise.
9251 * misc/sys/mman.h: Likewise.
9252 * misc/sys/syslog.h: Likewise.
9253 * misc/sys/uio.h: Likewise.
9254 * misc/sys/xattr.h: Likewise.
9255 * misc/ttyent.h: Likewise.
9256 * nis/rpcsvc/ypclnt.h: Likewise.
9257 * nss/nss.h: Likewise.
9258 * posix/bits/unistd.h: Likewise.
9259 * posix/fnmatch.h: Likewise.
9260 * posix/glob.h: Likewise.
9261 * posix/sched.h: Likewise.
9262 * posix/spawn.h: Likewise.
9263 * posix/sys/wait.h: Likewise.
9264 * posix/unistd.h: Likewise.
9265 * posix/wordexp.h: Likewise.
9266 * pwd/pwd.h: Likewise.
9267 * resolv/netdb.h: Likewise.
9268 * resource/sys/resource.h: Likewise.
9269 * rt/aio.h: Likewise.
9270 * rt/bits/mqueue2.h: Likewise.
9271 * rt/mqueue.h: Likewise.
9272 * shadow/shadow.h: Likewise.
9273 * signal/signal.h: Likewise.
9274 * socket/send.c: Likewise.
9275 * socket/sendto.c: Likewise.
9276 * socket/sys/socket.h: Likewise.
9277 * stdio-common/printf.h: Likewise.
9278 * stdlib/bits/stdlib.h: Likewise.
9279 * stdlib/fmtmsg.h: Likewise.
9280 * stdlib/monetary.h: Likewise.
9281 * stdlib/stdlib.h: Likewise.
9282 * stdlib/ucontext.h: Likewise.
9283 * streams/stropts.h: Likewise.
9284 * string/argz.h: Likewise.
9285 * string/bits/string2.h: Likewise.
9286 * string/string.h: Likewise.
9287 * string/strings.h: Likewise.
9288 * sunrpc/rpc/auth.h: Likewise.
9289 * sunrpc/rpc/auth_des.h: Likewise.
9290 * sunrpc/rpc/clnt.h: Likewise.
9291 * sunrpc/rpc/netdb.h: Likewise.
9292 * sunrpc/rpc/pmap_clnt.h: Likewise.
9293 * sunrpc/rpc/xdr.h: Likewise.
9294 * sysdeps/generic/inttypes.h: Likewise.
9295 * sysdeps/generic/net/if.h: Likewise.
9296 * sysdeps/generic/sys/swap.h: Likewise.
9297 * sysdeps/gnu/net/if.h: Likewise.
9298 * sysdeps/gnu/utmpx.h: Likewise.
9299 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
9300 * sysdeps/i386/i486/bits/string.h: Likewise.
9301 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
9302 * sysdeps/s390/bits/string.h: Likewise.
9303 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
9304 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
9305 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
9306 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
9307 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
9308 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
9309 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
9310 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
9311 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
9312 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
9313 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
9314 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9315 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
9316 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9317 * sysdeps/unix/sysv/linux/readv.c: Likewise.
9318 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
9319 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9320 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9321 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9322 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9323 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9324 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
9325 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
9326 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
9327 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
9328 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
9329 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
9330 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9331 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
9332 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
9333 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
9334 * sysvipc/sys/ipc.h: Likewise.
9335 * sysvipc/sys/msg.h: Likewise.
9336 * sysvipc/sys/sem.h: Likewise.
9337 * sysvipc/sys/shm.h: Likewise.
9338 * termios/termios.h: Likewise.
9339 * time/sys/time.h: Likewise.
9340 * time/time.h: Likewise.
9341 * wcsmbs/bits/wchar2.h: Likewise.
9342 * wcsmbs/uchar.h: Likewise.
9343 * wcsmbs/wchar.h: Likewise.
9344 * wctype/wctype.h: Likewise.
9347 * Makeconfig: Remove all but ELF support including AIX support.
9348 * Makerules: Likewise.
9349 * config.h.in: Likewise.
9350 * config.make.in: Likewise.
9351 * configure: Likewise.
9352 * configure.in: Likewise.
9353 * csu/Makefile: Likewise.
9354 * csu/version.c: Likewise.
9355 * debug/Makefile: Likewise.
9356 * dlfcn/Makefile: Likewise.
9357 * elf/Makefile: Likewise.
9358 * extra-lib.mk: Likewise.
9359 * iconv/Makefile: Likewise.
9360 * include/libc-symbols.h: Likewise.
9361 * include/shlib-compat.h: Likewise.
9362 * resolv/Makefile: Likewise.
9363 * resolv/res_libc.c: Likewise.
9364 * rt/Makefile: Likewise.
9365 * sysdeps/i386/asm-syntax.h: Likewise.
9366 * sysdeps/i386/sysdep.h: Likewise.
9367 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9368 * sysdeps/mach/sysdep.h: Likewise.
9369 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
9370 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
9371 * sysdeps/s390/asm-syntax.h: Likewise.
9372 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9373 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9374 * sysdeps/sh/sysdep.h: Likewise.
9375 * sysdeps/unix/sparc/sysdep.h: Likewise.
9376 * sysdeps/wordsize-32/divdi3.c: Likewise.
9377 * sysdeps/x86_64/sysdep.h: Likewise.
9379 * argp/Versions: Remove _argp_unlock_xxx.
9382 * abilist/ld.abilist: Update. Adjust for removal of tls option.
9383 * abilist/libBrokenLocale.abilist: Likewise.
9384 * abilist/libanl.abilist: Likewise.
9385 * abilist/libc.abilist: Likewise.
9386 * abilist/libcrypt.abilist: Likewise.
9387 * abilist/libdl.abilist: Likewise.
9388 * abilist/libm.abilist: Likewise.
9389 * abilist/libnsl.abilist: Likewise.
9390 * abilist/libpthread.abilist: Likewise.
9391 * abilist/libresolv.abilist: Likewise.
9392 * abilist/librt.abilist: Likewise.
9393 * abilist/libthread_db.abilist: Likewise.
9394 * abilist/libutil.abilist: Likewise.
9395 * abilist/libnss_db.abilist: New file.
9397 * scripts/abilist.awk: Add support for indirect functions.
9399 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
9401 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
9403 * shlib-versions: Remove entries for ports architectures.
9405 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
9407 * elf/stackguard-macros.h: Remove support for IA-64.
9408 * elf/tst-auditmod1.c: Likewise.
9409 * sysdeps/generic/ldsodefs.h: Likewise.
9411 * sysdeps/unix/sysv/linux/configure.in: Ports should define
9412 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
9416 * configure.in: Remove --enable-omitfp support.
9418 * config.make.in: Likewise.
9419 * Makeconfig: Likewise.
9420 * manual/install.texi: Likewise.
9422 In case anyone cares, the IA-64 architecture could move to ports.
9423 * sysdeps/ia64/*: Removed.
9424 * sysdeps/unix/sysv/linux/ia64/*: Removed.
9425 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
9428 * configure.in: Remove entries for unsupported architectures.
9431 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
9432 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
9434 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
9435 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
9436 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
9437 fall back to using wcrtomb.
9438 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
9439 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
9441 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
9442 * wcsmbs/tst-c16c32-1.c: New file.
9444 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
9447 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
9449 * elf/tst-unique3.cc: Add explicit declaration of gets.
9450 * elf/tst-unique3lib.cc: Likewise.
9451 * elf/tst-unique3lib2.cc: Likewise.
9452 * elf/tst-unique4.cc: Likewise.
9454 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
9456 2012-01-06 Joseph Myers <joseph@codesourcery.com>
9459 * assert/assert.h (static_assert): Don't define for C++.
9460 * libio/stdio.h (gets): Do declare for C++ <= C++11.
9461 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
9463 2012-01-03 Ulrich Drepper <drepper@gmail.com>
9465 * iconv/loop.c (single loop): Fix assertion in storing of
9468 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
9470 2012-01-01 Ulrich Drepper <drepper@gmail.com>
9472 * posix/getconf.c: Update copyright year.
9473 * nss/getent.c: Likewise.
9474 * nss/makedb.c: Likewise.
9475 * iconv/iconvconfig.c: Likewise.
9476 * iconv/iconv_prog.c: Likewise.
9477 * elf/ldconfig.c: Likewise.
9478 * elf/pldd.c: Likewise.
9479 * elf/sotruss.ksh: Likewise.
9480 * catgets/gencat.c: Likewise.
9481 * csu/version.c: Likewise.
9482 * elf/ldd.bash.in: Likewise.
9483 * elf/sprof.c (print_version): Likewise.
9484 * locale/programs/locale.c: Likewise.
9485 * locale/programs/localedef.c: Likewise.
9486 * login/programs/pt_chown.c: Likewise.
9487 * nscd/nscd.c (print_version): Likewise.
9488 * debug/xtrace.sh: Likewise.
9489 * malloc/memusage.sh: Likewise.
9490 * malloc/mtrace.pl: Likewise.
9491 * debug/catchsegv.sh: Likewise.
9493 2011-12-30 Jakub Jelinek <jakub@redhat.com>
9495 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
9498 2011-12-24 Ulrich Drepper <drepper@gmail.com>
9501 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
9502 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
9504 * iconv/gconv_int.h: Likewise.
9505 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
9506 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
9507 from libc for GLIBC_2.16.
9508 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
9509 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
9510 * wcsmbs/uchar.h: Really define mbstate_t.
9511 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
9512 * wcsmbs/c16rtomb.c: New file.
9513 * wcsmbs/mbrtoc16.c: New file.
9514 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
9516 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
9517 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
9519 * wcsmbs/wchar.h: Add missing __restrict.
9521 2011-12-23 Ulrich Drepper <drepper@gmail.com>
9524 * time/Makefile (routines): Add timespec_get.
9525 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
9526 * time/time.h: Define TIME_UTC and declare timespec_get. Define
9527 timespec for ISO C11.
9528 * time/timespec_get.c: New file.
9529 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
9530 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
9533 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
9534 * stdlib/stdlib.h: Declare aligned_alloc.
9535 * Versions.def: Add GLIBC_2.16 for libc.
9536 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
9539 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
9542 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
9546 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
9549 * assert/assert.h (static_assert): Define.
9551 * version.h: Update for 2.16 development version.
9554 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
9557 * version.h (RELEASE): Bump for 2.15 release.
9558 * include/features.h (__GLIBC_MINOR__): Bump to 15.
9560 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
9561 Patch by Marek Polacek <mpolacek@redhat.com>.
9563 * bits/byteswap.h: Protect long long constants with __extension__.
9564 * sysdeps/i386/bits/byteswap.h: Likewise.
9565 * sysdeps/ia64/bits/byteswap.h: Likewise.
9566 * sysdeps/s390/bits/byteswap.h: Likewise.
9567 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9569 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9572 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
9574 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
9576 2011-12-23 Marek Polacek <polacek@redhat.com>
9578 * elf/dl-addr.c (determine_info): Add inline keyword.
9579 * elf/tst-auditmod4b.c (check_avx): Likewise.
9580 * elf/tst-auditmod6b.c (check_avx): Likewise.
9581 * elf/tst-auditmod6c.c (check_avx): Likewise.
9582 * elf/tst-auditmod7b.c (check_avx): Likewise.
9584 2011-12-23 Ulrich Drepper <drepper@gmail.com>
9586 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
9589 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9592 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
9593 processing for last bytes.
9595 2011-08-06 Bruno Haible <bruno@clisp.org>
9598 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
9599 U+0385, not to U+1FEE.
9602 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
9603 entry for U+00A5 U+0301.
9605 2011-12-22 Ulrich Drepper <drepper@gmail.com>
9608 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
9609 buffer for the output is too small.
9611 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
9615 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
9616 SSE flags if possible.
9618 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9621 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
9622 processing for last bytes.
9624 2011-12-22 Joseph Myers <joseph@codesourcery.com>
9626 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
9627 (syscall-list-default-options, syscall-list-default-condition)
9628 (syscall-list-includes): Define.
9629 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
9630 list of ABIs and options and #if conditions for each ABI. Do not
9631 handle common syscalls between ABIs specially.
9632 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
9634 (syscall-list-variants, syscall-list-32bit-options)
9635 (syscall-list-32bit-condition, syscall-list-64bit-options)
9636 (syscall-list-64bit-condition): Define.
9637 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
9638 (syscall-list-variants, syscall-list-32bit-options)
9639 (syscall-list-32bit-condition, syscall-list-64bit-options)
9640 (syscall-list-64bit-condition): Define.
9641 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
9643 (syscall-list-variants, syscall-list-32bit-options)
9644 (syscall-list-32bit-condition, syscall-list-64bit-options)
9645 (syscall-list-64bit-condition): Define.
9646 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
9648 (syscall-list-variants, syscall-list-32bit-options)
9649 (syscall-list-32bit-condition, syscall-list-64bit-options)
9650 (syscall-list-64bit-condition): Define.
9652 2011-12-22 Ulrich Drepper <drepper@gmail.com>
9654 * locale/iso-639.def: Add brx entry.
9657 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
9658 Proposed by Mariusz_Cukr <marcukr@op.pl>.
9660 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
9661 __feraiseexcept_renamed.
9663 2011-12-21 Ulrich Drepper <drepper@gmail.com>
9666 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
9667 EPOLLET with unsigned values.
9668 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9669 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9671 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
9672 to large cancellation.
9673 * math/s_cacoshf.c: Likewise.
9674 * math/s_cacoshl.c: Likewise.
9676 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
9680 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
9681 * math/s_cacoshf.c: Likewise.
9682 * math/s_cacoshl.c: Likewise.
9684 2011-12-21 Ulrich Drepper <drepper@gmail.com>
9687 * iconv/gconv.h: Define __GCONV_SWAP.
9688 * iconvdata/unicode.c: The swap bit must be stored in __flags.
9689 * iconvdata/utf-16.c: Likewise.
9690 * iconvdata/utf-32.c: Likewise.
9692 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
9695 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
9696 numerator after shifting it by one limb.
9698 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
9700 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
9701 under [__USE_EXTERN_INLINES].
9703 2011-12-17 Ulrich Drepper <drepper@gmail.com>
9706 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
9708 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9710 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
9711 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
9713 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
9714 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
9715 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
9716 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
9717 for strncasecmp/strncasecmp_l compilation.
9718 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
9719 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
9721 2011-12-08 Marek Polacek <mpolacek@redhat.com>
9724 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
9727 2011-12-17 Ulrich Drepper <drepper@gmail.com>
9730 * time/tzfile.c (__tzfile_read): Check values from file header.
9732 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
9734 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
9735 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
9736 * powerpc/powerpc32/dl-start.S: Likewise.
9737 * powerpc/powerpc32/elf/start.S: Likewise.
9738 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9739 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
9740 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
9741 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
9742 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
9743 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
9744 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
9745 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
9746 * powerpc/powerpc32/fpu/s_round.S: Likewise.
9747 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
9748 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
9749 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
9750 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
9751 * powerpc/powerpc32/memset.S: Likewise.
9752 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
9753 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9754 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9755 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9756 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9757 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9758 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9759 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9760 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
9761 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
9762 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
9763 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9764 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9766 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9768 * math/libm-test.inc: Added more nearbyint tests.
9769 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
9770 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
9771 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
9772 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
9774 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
9776 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
9779 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9781 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
9782 Add wcscpy-ssse3 wcscpy-c.
9783 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
9784 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
9785 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
9786 * sysdeps/x86_64/wcschr.S: New file.
9787 * sysdeps/x86_64/wcsrchr.S: New file.
9788 * string/test-strcmp.c: Remove checking of wcscmp function for
9790 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
9791 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
9792 wcsrchr-sse2 wcsrchr-c.
9793 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
9794 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
9795 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
9796 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
9797 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
9798 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
9799 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
9800 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
9801 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
9802 * wcsmbc/wcschr.c (WCSCHR): New macro.
9804 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9806 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
9807 * wcsmbs/test-wcsrchr.c: New file.
9808 * string/test-strrchr.c: Add wcsrchr support.
9810 * wcsmbs/test-wcscpy.c: New file.
9811 * string/test-strcpy.c: Add wcscpy support.
9814 2011-12-10 Ulrich Drepper <drepper@gmail.com>
9816 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
9819 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
9822 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
9824 2011-12-04 Ulrich Drepper <drepper@gmail.com>
9826 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
9827 Minor optimizations.
9829 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
9830 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
9831 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
9833 2011-12-03 Ulrich Drepper <drepper@gmail.com>
9835 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
9836 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
9837 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
9838 for gcc to avoid warnings.
9839 * inet/Makefile (tests): Add tst-checks.
9840 * inet/tst-checks.c: New file.
9842 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
9845 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
9848 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
9849 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
9851 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
9853 2011-12-02 Ulrich Drepper <drepper@gmail.com>
9855 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
9858 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
9860 2011-11-29 Joseph Myers <joseph@codesourcery.com>
9862 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
9863 conditional on GCC version.
9864 (__arch_compare_and_exchange_val_8_acq)
9865 (__arch_compare_and_exchange_val_16_acq)
9866 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
9867 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
9868 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
9870 2011-12-02 Joseph Myers <joseph@codesourcery.com>
9872 * sysdeps/sh/backtrace.c: New file.
9874 2011-12-02 Andreas Schwab <schwab@redhat.com>
9876 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
9879 2011-12-01 Andreas Schwab <schwab@redhat.com>
9881 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
9882 falling back to utime.
9884 2011-11-30 Andreas Schwab <schwab@redhat.com>
9886 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
9887 expectations for float.
9889 2011-11-29 Andreas Schwab <schwab@redhat.com>
9891 * locale/weight.h (findidx): Add parameter len.
9892 * locale/weightwc.h (findidx): Likewise.
9893 * posix/fnmatch_loop.c (FCT): Adjust caller.
9894 * posix/regcomp.c (build_equiv_class): Likewise.
9895 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
9896 * posix/regexec.c (check_node_accept_bytes): Likewise.
9897 * string/strcoll_l.c (STRCOLL): Likewise.
9898 * string/strxfrm_l.c (STRXFRM): Likewise.
9900 2011-11-17 Ulrich Drepper <drepper@gmail.com>
9902 * Makefile.in: Remove CVSOPT handling.
9903 * configure.in: Remove use of AC_REVISION.
9904 * iconvdata/Makefile (distribute): No need to filter out CVS.
9905 * scripts/list-sources.sh: Remove CVS, subversion and monotone
9908 2011-11-16 Andreas Schwab <schwab@redhat.com>
9910 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
9911 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
9912 [USE_AS_STRNCASECMP_L]: Likewise.
9913 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
9914 NO_TLS_DIRECT_SEG_REFS.
9915 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
9916 Fix argument offsets for non-PIC.
9917 [USE_AS_STRNCASECMP_L]: Likewise.
9918 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
9919 NO_TLS_DIRECT_SEG_REFS.
9921 2011-11-15 Ulrich Drepper <drepper@gmail.com>
9923 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
9925 * locale/loadlocale.c (_nl_load_locale): Likewise.
9927 2011-11-15 Andreas Schwab <schwab@redhat.com>
9929 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
9930 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
9931 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
9932 (SYSCALL_GETTIME): Set errno on error.
9934 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
9935 count references to noai6ai_cached.
9937 2011-11-15 Ulrich Drepper <drepper@gmail.com>
9939 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
9941 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
9942 FD_CLOEXEC for /proc/self/maps.
9944 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
9945 FD_CLOEXEC for /proc/meminfo.
9947 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
9950 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
9951 FD_CLOEXEC for given file.
9953 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
9955 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
9956 FD_CLOEXEC for /etc/hosts.
9957 (_gethtent): Likewise.
9959 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
9961 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
9962 cancellation and set FD_CLOEXEC for /etc/netgroup.
9964 * nss/nss_files/files-key.c (search): Don't allow cancellation when
9965 reading /etc/publickey.
9967 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
9968 allow cancellation when reading /etc/group.
9970 * nss/nss_files/files-alias.c (internal_setent): Don't allow
9972 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
9974 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
9975 when using data file.
9977 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
9979 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
9980 (write_nis_obj): Use "c" and "e" in fopen.
9982 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
9984 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
9986 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
9988 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
9990 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
9993 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
9995 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
9997 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
9999 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
10000 file parsing and set FD_CLOEXEC.
10002 2011-11-14 Ulrich Drepper <drepper@gmail.com>
10004 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
10006 2011-11-14 Andreas Schwab <schwab@redhat.com>
10008 * malloc/arena.c (arena_get2): Don't call reused_arena when
10009 _int_new_arena failed.
10011 2011-11-14 Ulrich Drepper <drepper@gmail.com>
10013 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
10014 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
10015 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
10016 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10017 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10018 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
10019 to compile strcasecmp and strncasecmp.
10020 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
10021 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
10023 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
10025 2011-11-13 Ulrich Drepper <drepper@gmail.com>
10027 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
10028 locale-defines.sym to gen-as-const-headers.
10029 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
10030 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
10031 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
10032 to compile strcasecmp and strncasecmp.
10033 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
10034 strcasecmp_l and strncasecmp_l.
10035 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
10036 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
10037 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
10038 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
10039 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
10040 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
10041 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
10042 * sysdeps/i386/i686/multiarch/strncase.S: New file.
10043 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
10044 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
10045 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
10047 2011-11-12 Ulrich Drepper <drepper@gmail.com>
10049 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
10050 result of SYSDEP_GETTIME_CPU to retval.
10051 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
10052 parameter list to macro. Remove trailing semicolon. Adjust users.
10054 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
10057 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
10059 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
10061 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
10062 from unused variable.
10064 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
10066 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
10069 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
10072 * sunrpc/rpc_prot.c (rejected): Fix case value.
10074 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
10075 unsigned long long int to avoid warnings in shift.
10077 * posix/regex_internal.c (re_string_reconstruct): Actually use result
10079 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
10082 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
10083 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
10084 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
10086 * nis/nis_table.c (nis_list): Use variable of correct type for
10087 result of __follow_path call.
10089 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10091 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
10092 of math functions ceil, trunc, floor, round, and sqrt, when
10093 avaliable on the platform.
10094 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
10096 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10097 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
10098 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
10100 2011-10-30 Marek Polacek <mpolacek@redhat.com>
10102 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
10103 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
10105 2011-11-11 Roland McGrath <roland@hack.frob.com>
10107 * include/unistd.h: Fix __readlink return type.
10108 Reported by Chris Metcalf <cmetcalf@tilera.com>.
10110 2011-11-11 Ulrich Drepper <drepper@gmail.com>
10112 * stdlib/ucontext.h: Undo last change for makecontext.
10114 2011-11-11 Andreas Schwab <schwab@redhat.com>
10116 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
10118 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
10119 * setjmp/setjmp.h: Mark functions as non-leaf.
10120 * setjmp/bits/setjmp2.h: Likewise.
10121 * stdlib/ucontext.h: Likewise.
10123 2011-11-10 Andreas Schwab <schwab@redhat.com>
10125 * malloc/arena.c (_int_new_arena): Don't increment narenas.
10126 (reused_arena): Don't check arena limit.
10127 (arena_get2): Atomically check arena limit.
10129 2011-11-08 Ulrich Drepper <drepper@gmail.com>
10131 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
10132 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
10134 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
10137 2011-11-07 Andreas Schwab <schwab@redhat.com>
10139 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
10140 handler when locking.
10142 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10143 Fix size of allocated buffer.
10145 2011-11-04 Andreas Schwab <schwab@redhat.com>
10148 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
10149 declarations for long double functions.
10150 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
10152 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
10154 2011-11-03 Andreas Schwab <schwab@redhat.com>
10156 * nscd/nscd.c (main): Don't start AVC thread until credentials are
10159 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
10162 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
10164 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
10166 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
10168 * include/alloca.h (stackinfo_alloca_round): Define.
10169 (extend_alloca): Use it.
10170 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
10171 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
10174 * scripts/check-local-headers.sh: Ignore libaudit.h.
10176 * nscd/Makefile (extra-objs): Make recursively expanded.
10178 2011-11-01 Ulrich Drepper <drepper@gmail.com>
10180 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
10181 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10183 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
10184 * posix/tst-rfc3484-2.c: Likewise.
10185 * posix/tst-rfc3484-3.c: Likewise.
10187 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10189 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
10191 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
10192 process_vm_writev from libc using GLIBC_2.15 version.
10194 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
10196 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
10198 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
10201 2011-10-31 Ulrich Drepper <drepper@gmail.com>
10204 * nss/getent.c (initgroups_keys): Show error message in case no group
10207 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
10208 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
10209 __bump_nl_timestamp.
10210 * nscd/connections (nscd_init): When host database is served open
10211 netlink socket and request notification about configuration changes.
10212 (main_loop_poll): Track netlink file descriptor and bump timestamp
10213 in case data becomes available.
10214 (main_loop_epoll): Likewise.
10215 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
10216 (database_pers_head): Add extra_data fileds.
10217 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
10218 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
10219 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
10221 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
10222 in6ai data, call __free_in6ai.
10223 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
10224 Add -DHAVE_NETLINK.
10225 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
10226 interface information. Reuse previous data if netlink timestamp
10228 (__bump_nl_timestamp): New function.
10229 (__free_in6ai): New function.
10231 2011-10-30 Ulrich Drepper <drepper@gmail.com>
10233 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
10234 close_not_cancel_no_status here.
10235 (__check_pf): Reorganize code a bit to not call close twice if OOM.
10237 2011-10-29 Ulrich Drepper <drepper@gmail.com>
10240 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
10243 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
10244 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
10245 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
10247 2011-07-03 Andreas Jaeger <aj@suse.de>
10250 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
10251 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
10252 * math/libm-test.inc (sin_test): Add test case.
10254 2011-10-29 Ulrich Drepper <drepper@gmail.com>
10257 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
10258 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10260 * elf/chroot_canon.c (chroot_canon): Cleanups.
10262 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
10265 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
10266 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10268 * string/test-strchr.c: Make usable for strchrnul testing.
10269 * string/test-strchrnul.c: New file.
10270 * string/Makefile (strop-tests): Add strchrnul.
10272 * po/it.po: Update from translation team.
10273 * po/es.po: Likewise.
10275 2011-10-28 Ulrich Drepper <drepper@gmail.com>
10277 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
10278 the three constants needed as parameters. Drop the others.
10279 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
10280 __m128i_strloadu_tolower.
10281 Create and initialize variable zero and use it in all the places
10282 where _mm_setzero_si128 was used.
10284 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
10285 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
10286 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
10287 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
10289 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
10290 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
10291 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
10292 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
10293 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
10294 __mpranred, __mptan.
10295 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
10296 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
10297 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
10298 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
10299 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
10300 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
10301 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
10302 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
10303 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
10305 2011-10-28 Andreas Schwab <schwab@redhat.com>
10307 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
10308 redefine if SHARED.
10309 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
10311 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
10312 wide char related routines to wcsmbs subdir.
10314 2011-10-27 Andreas Schwab <schwab@redhat.com>
10317 * misc/sys/cdefs.h (__THROWNL): Define.
10318 * posix/unistd.h: Use __THREADNL instead of __THREAD
10319 for memory synchronization functions.
10321 2011-10-26 Roland McGrath <roland@hack.frob.com>
10324 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
10326 * manual/stdio.texi (Obstack Streams): Node removed.
10328 2011-10-26 Andreas Schwab <schwab@redhat.com>
10330 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
10331 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10332 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10334 * math/math_private.h (math_force_eval): Allow non-addressable
10336 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
10338 2011-10-25 Ulrich Drepper <drepper@gmail.com>
10340 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
10341 file is not needed.
10343 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
10344 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
10345 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10346 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10347 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10348 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10349 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10350 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
10352 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
10353 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
10354 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
10355 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
10356 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
10357 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
10358 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
10359 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
10360 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
10361 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
10362 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
10363 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
10364 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
10365 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
10366 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
10367 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
10368 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
10369 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
10370 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
10372 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
10373 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
10375 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
10376 place. Use VEX encoding when compiling for AVX.
10378 2011-10-25 Andreas Schwab <schwab@redhat.com>
10380 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
10381 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
10383 * string/test-strchr.c (do_test): Don't generate NUL bytes.
10385 2011-10-25 Ulrich Drepper <drepper@gmail.com>
10387 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
10388 useless if() expression.
10389 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10390 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10391 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10392 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10393 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10394 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10395 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10396 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10397 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10398 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10399 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10400 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10401 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10402 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10403 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10404 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10405 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10406 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10407 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10409 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
10411 2011-10-25 Andreas Schwab <schwab@redhat.com>
10413 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
10415 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10417 2011-10-25 Ulrich Drepper <drepper@gmail.com>
10419 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
10420 .text section. Avoid duplicate constants.
10421 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10422 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10423 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10424 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10425 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10426 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10427 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10428 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10429 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10430 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
10431 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10432 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10433 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
10434 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
10435 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10436 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
10437 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10438 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10439 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10440 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10441 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10442 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10443 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10444 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
10445 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
10446 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
10447 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
10448 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
10449 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
10450 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
10451 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
10452 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
10453 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10454 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
10455 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
10456 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
10457 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
10458 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
10459 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
10460 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
10461 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
10462 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
10463 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
10464 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
10465 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
10467 2011-10-24 Ulrich Drepper <drepper@gmail.com>
10469 * sysdeps/x86_64/dla.h: Move to ...
10470 * sysdeps/x86_64/fpu/dla.h: ...here.
10471 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
10472 situations. Use __builtin_fma only for gcc 4.6 and up.
10474 * config.make.in: Add have-mfma4 entry.
10475 * configure.in: Substitute libc_cv_cc_fma4.
10476 * math/Makefile (dbl-only-routines): Add sincostab.
10477 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
10478 Use __sincostab not sincos.
10479 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
10481 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10482 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10483 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10484 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
10486 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
10487 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
10488 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
10489 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
10491 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
10492 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
10494 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
10495 define aliases when function name is a macro.
10496 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
10497 sysdeps/ieee754/dbl-64/sincos.tbl.
10498 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
10499 fma4-enabled routines.
10500 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
10501 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
10502 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
10503 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
10504 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
10505 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
10506 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
10507 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
10508 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
10509 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
10510 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
10511 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
10512 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
10513 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
10514 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
10515 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
10516 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
10517 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
10518 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
10519 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
10520 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
10521 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
10522 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
10523 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
10524 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
10525 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
10526 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
10527 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
10528 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
10529 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
10531 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
10533 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10534 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10535 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10536 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10537 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10538 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10539 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10540 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10542 2011-10-24 Andreas Schwab <schwab@redhat.com>
10544 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
10546 2011-10-23 Ulrich Drepper <drepper@gmail.com>
10548 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
10550 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
10552 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
10554 * string/strnlen.c: Don't define STRNLEN, reverse logic.
10555 Remove unused variable magic_bits.
10556 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
10558 * string/strnlen.c: Define and use STRNLEN macro.
10559 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
10560 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
10561 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
10562 * wcsmbs/wcslen.c: Define and use WCSLEN.
10563 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
10564 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
10565 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
10566 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
10567 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
10568 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
10569 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
10571 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10573 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10574 strnlen-sse2-no-bsf.
10575 Rename strlen-no-bsf to strlen-sse2-no-bsf.
10576 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
10577 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
10578 Add strnlen support.
10579 (USE_AS_STRNLEN): New macro.
10580 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
10581 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
10582 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
10583 * sysdeps/x86_64/wcslen.S: New file.
10585 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
10587 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
10588 XMM-moves are used for copying on small sizes.
10590 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10592 * wcsmbs/Makefile (strop-tests): Add wcschr.
10593 * wcsmbs/test-wcschr.c: New file.
10594 * string/test-strchr.c: Update.
10595 Add wcschr support.
10598 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10600 * wcsmbs/Makefile (strop-tests): Add wcslen.
10601 * wcsmbs/test-wcslen.c: New file.
10602 * string/test-strlen.c: Update.
10603 Add wcslen support.
10606 2011-10-23 Ulrich Drepper <drepper@gmail.com>
10608 * po/it.po: Update from translation team.
10610 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10612 * sysdeps/x86_64/wcscmp.S: Update.
10613 Fix wrong comparison semantics.
10614 wcscmp shall use signed comparison not unsigned.
10615 Don't use substraction to avoid overflow bug.
10616 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
10617 * wcsmbc/wcscmp.c: Likewise.
10618 * string/test-strcmp.c: Likewise.
10619 Add new tests to check cases with negative values.
10621 2011-10-23 Ulrich Drepper <drepper@gmail.com>
10623 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
10624 * sysdeps/x86_64/dla.h: ...here. New file.
10625 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
10626 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10627 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10628 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10629 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10630 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10631 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10632 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10633 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10635 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
10637 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
10638 __ynl_finite aliases.
10640 2011-10-22 Ulrich Drepper <drepper@gmail.com>
10642 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10644 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
10646 [DLA_FMA] (EMULV): Use DLA_FMA.
10647 [DLA_FMA] (MUL12): Use EMULV.
10648 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
10649 that are not needed.
10650 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10651 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10652 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10653 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10654 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10655 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10656 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10658 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
10660 * math/s_nan.c: Undef __nan.
10661 * math/s_nanf.c: Undef __nanf.
10662 * math/s_nanl.c: Undef __nanl.
10663 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
10666 2011-10-22 Ulrich Drepper <drepper@gmail.com>
10668 * math/s_catan.c: Add branch predictions.
10669 * math/s_catanf.c: Likewise.
10670 * math/s_catanh.c: Likewise.
10671 * math/s_catanhf.c: Likewise.
10672 * math/s_catanhl.c: Likewise.
10673 * math/s_catanl.c: Likewise.
10674 * math/s_cexp.c: Likewise.
10675 * math/s_cexpf.c: Likewise.
10676 * math/s_cexpl.c: Likewise.
10677 * math/s_clog.c: Likewise.
10678 * math/s_clog10.c: Likewise.
10679 * math/s_clog10f.c: Likewise.
10680 * math/s_clog10l.c: Likewise.
10681 * math/s_clogf.c: Likewise.
10682 * math/s_clogl.c: Likewise.
10683 * math/s_csqrt.c: Likewise.
10684 * math/s_csqrtf.c: Likewise.
10685 * math/s_csqrtl.c: Likewise.
10686 * math/s_ctanf.c: Likewise.
10687 * math/s_ctanh.c: Likewise.
10688 * math/s_ctanhf.c: Likewise.
10689 * math/s_ctanhl.c: Likewise.
10690 * math/s_ctanl.c: Likewise.
10692 * math/math_private.h: Define __nan, __nanf, __nanl.
10693 * math/s_cacosh.c: Include <math_private.h>.
10694 * math/s_cacoshl.c: Likewise.
10695 * math/s_casinh.c: Likewise.
10696 * math/s_casinhf.c: Likewise.
10697 * math/s_casinhl.c: Likewise.
10698 * math/s_ccos.c: Rely entire on ccosh.
10699 * math/s_ccosf.c: Rely entire on ccoshf.
10700 * math/s_ccosl.c: Rely entirely on ccoshl.
10701 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
10702 Remove tests for FE_INVALID.
10703 * math/s_ccoshf.c: Likewise.
10704 * math/s_ccoshl.c: Likewise.
10705 * math/s_csin.c: Likewise.
10706 * math/s_csinf.c: Likewise.
10707 * math/s_csinh.c Likewise.
10708 * math/s_csinhf.c: Likewise.
10709 * math/s_csinhl.c: Likewise.
10710 * math/s_csinl.c: Likewise.
10711 * math/s_ctan.c: Likewise.
10712 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
10713 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
10714 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
10716 2011-10-21 Ulrich Drepper <drepper@gmail.com>
10718 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
10719 compilation problems.
10721 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
10724 2011-10-20 Ulrich Drepper <drepper@gmail.com>
10726 * sysdeps/i386/configure.in: Test for -mfma4 option.
10727 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
10728 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
10729 COMMON_CPUID_INDEX_80000001.
10730 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
10731 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
10732 use it if FMA3 is not supported.
10733 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
10735 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
10736 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10738 2011-10-20 Andreas Schwab <schwab@redhat.com>
10741 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
10742 it would create a cycle with a link time dependency.
10744 2011-10-19 Ulrich Drepper <drepper@gmail.com>
10746 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
10748 * string/Makefile (strop-tests): Add rawmemchr.
10749 * string/test-rawmemchr.c: New file.
10751 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
10752 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
10753 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
10754 when compiling str{,n}casecmp and when AVX is available. Hook up
10755 new optimized code in initializers.
10757 2011-10-19 Andreas Schwab <schwab@redhat.com>
10759 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
10760 __feraiseexcept instead of feraiseexcept.
10762 2011-10-18 Ulrich Drepper <drepper@gmail.com>
10764 * math/math_private.h: Define defaults for libc_fetestexcept and
10766 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
10767 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
10768 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
10769 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10770 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10771 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10772 libc_fetestexcept and libc_feupdateenv.
10774 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
10775 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
10776 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
10777 * sysdeps/x86_64/fpu/math_private.h: Define special version of
10778 libc_feholdexcept_setround.
10780 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
10781 Add s_nearbyint-c and s_nearbyintf-c.
10782 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
10783 nearbyintf inlines.
10784 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
10785 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
10786 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
10787 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
10789 * math/math_private.h: Define defaults for libc_fegetround,
10790 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
10791 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
10792 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
10793 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
10794 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
10795 standard functions.
10796 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10797 Remove comments and hacks for old compiler versions.
10798 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10799 libc_fegetround, libc_fesetround, libc_feholdexcept, and
10800 libc_feholdexceptl.
10802 2011-10-18 Andreas Schwab <schwab@redhat.com>
10804 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
10805 (__feraiseexcept_renamed): Add __NTH.
10806 (feraiseexcept): Add __NTH. Rename local variables to fix
10807 namespace violations.
10809 2011-10-17 Ulrich Drepper <drepper@gmail.com>
10811 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
10813 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
10815 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
10816 recently added interfaces.
10817 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
10819 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
10820 about macro parameter expansion.
10822 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
10823 __NO_MATH_INLINES is defined. Cleanups.
10825 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
10826 and __floorf is target has SSE4.1.
10827 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
10828 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
10829 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
10830 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
10832 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
10834 (floorf): Likewise.
10836 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
10838 2011-10-17 Andreas Schwab <schwab@redhat.com>
10840 * misc/sys/cdefs.h: Fix last change.
10842 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
10845 2011-10-16 Ulrich Drepper <drepper@gmail.com>
10847 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
10849 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
10850 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10851 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10852 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10853 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10854 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10855 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10856 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10857 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10858 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
10859 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
10860 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
10861 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
10862 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
10863 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
10864 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
10865 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
10866 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
10867 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
10868 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
10869 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
10870 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
10872 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
10873 ceil, ceilf, floor, floorf.
10875 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
10876 Perform IRELATIVE relocations last.
10878 * elf/do-rel.h: Add another parameter nrelative, replacing the
10879 local variable with the same name. Change name of the function
10880 to end in Rel or Rela (uppercase).
10881 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
10882 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
10883 elf_dynamic_do_##reloc function.
10885 2011-10-15 Ulrich Drepper <drepper@gmail.com>
10887 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
10888 is sufficient, at least on modern CPUs.
10890 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
10892 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
10893 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
10895 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
10897 * math/bits/math-finite.h: Add entries for exp.
10898 * math/e_expl.c: Add __*_finite alias.
10899 * sysdeps/i386/fpu/e_exp.S: Likewise.
10900 * sysdeps/i386/fpu/e_expf.S: Likewise.
10901 * sysdeps/i386/fpu/e_expl.c: Likewise.
10902 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10903 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10904 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10905 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10906 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
10907 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10908 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10910 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
10911 is sufficient, at least on modern CPUs.
10913 * ctype/ctype-info.c (__ctype_init): Define.
10914 * include/ctype.h (__ctype_init): Declare.
10915 (__ctype_b_loc): The variable is always initialized.
10916 (__ctype_toupper_loc): Likewise.
10917 (__ctype_tolower_loc): Likewise.
10918 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
10919 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
10921 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
10923 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
10925 * configure.in: Also look in $cxxmachine/include for C++ system
10928 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10930 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
10931 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
10932 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
10933 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
10934 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
10935 (USE_AS_WMEMCMP): New macro.
10937 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
10938 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
10939 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
10940 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
10941 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10942 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
10943 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
10944 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
10945 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
10946 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
10947 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
10948 (USE_AS_WMEMCMP): New macro.
10949 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
10950 * sysdeps/string/test-memcmp.c: Update.
10951 Fix simple_wmemcmp.
10953 * wcsmbs/wmemcmp.c: Update.
10954 (WMEMCMP): New macro.
10957 2011-10-12 Andreas Jaeger <aj@suse.de>
10960 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
10962 2011-10-15 Ulrich Drepper <drepper@gmail.com>
10964 * libio/iofwide.c (do_length): Avoid warning.
10966 * ctype/ctype.h (__isctype_f): Add missing __THROW.
10968 2011-10-14 Ulrich Drepper <drepper@gmail.com>
10970 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
10972 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
10973 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
10974 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
10975 * sysdeps/i386/i686/fpu/e_log.S: New file.
10976 * sysdeps/i386/i686/fpu/e_logf.S: New file.
10977 * sysdeps/i386/i686/fpu/e_logl.S: New file.
10979 * ctype/ctype.h: Add support for inlined isXXX functions when
10980 compiling C++ code.
10982 2011-10-14 Andreas Schwab <schwab@redhat.com>
10984 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10986 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
10988 2011-10-13 Roland McGrath <roland@hack.frob.com>
10991 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
10993 2011-10-13 Andreas Schwab <schwab@redhat.com>
10995 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
10996 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
10999 * sysdeps/x86_64/memrchr.S: Check for zero size.
11001 * string/stratcliff.c: Add memrchr tests.
11003 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11005 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11006 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
11007 rawmemchr-sse2 rawmemchr-sse2-bsf.
11008 * sysdeps/i386/i686/multiarch/memchr.S: New file.
11009 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
11010 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
11011 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
11012 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
11013 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
11014 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
11015 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
11016 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
11017 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
11018 * string/memrchr.c (MEMRCHR): New macro.
11020 2011-10-12 Ulrich Drepper <drepper@gmail.com>
11022 Add integration with gcc's -ffinite-math-only and optimize wrapper
11024 * Versions.def: Define GLIBC_2.15 version for libm.
11025 * math/Makefile (headers): Add bits/math-finite.h.
11026 * math/bits/math-finite.h: New file.
11027 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
11028 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
11029 * math/e_acoshl.c: Add __*_finite alias.
11030 * math/e_acosl.c: Likewise.
11031 * math/e_asinl.c: Likewise.
11032 * math/e_atan2l.c: Likewise.
11033 * math/e_atanhl.c: Likewise.
11034 * math/e_coshl.c: Likewise.
11035 * math/e_exp10.c: Likewise.
11036 * math/e_exp10f.c: Likewise.
11037 * math/e_exp10l.c: Likewise.
11038 * math/e_exp2l.c: Likewise.
11039 * math/e_fmodl.c: Likewise.
11040 * math/e_gammal_r.c: Likewise.
11041 * math/e_hypotl.c: Likewise.
11042 * math/e_j0l.c: Likewise.
11043 * math/e_j1l.c: Likewise.
11044 * math/e_jnl.c: Likewise.
11045 * math/e_lgammal_r.c: Likewise.
11046 * math/e_log10l.c: Likewise.
11047 * math/e_log2l.c: Likewise.
11048 * math/e_logl.c: Likewise.
11049 * math/e_powl.c: Likewise.
11050 * math/e_sinhl.c: Likewise.
11051 * math/e_sqrtl.c: Likewise.
11052 * math/e_scalb.c: Completely rewritten and optimized.
11053 * math/e_scalbf.c: Likewise.
11054 * math/e_scalbl.c: Likewise.
11055 * math/w_acos.c: Likewise.
11056 * math/w_acosf.c: Likewise.
11057 * math/w_acosl.c: Likewise.
11058 * math/w_acosh.c: Likewise.
11059 * math/w_acoshf.c: Likewise.
11060 * math/w_acoshl.c: Likewise.
11061 * math/w_asin.c: Likewise.
11062 * math/w_asinf.c: Likewise.
11063 * math/w_asinl.c: Likewise.
11064 * math/w_atan2.c: Likewise.
11065 * math/w_atan2f.c: Likewise.
11066 * math/w_atan2l.c: Likewise.
11067 * math/w_atanh.c: Likewise.
11068 * math/w_atanhf.c: Likewise.
11069 * math/w_atanhl.c: Likewise.
11070 * math/w_exp10.c: Likewise.
11071 * math/w_exp10f.c: Likewise.
11072 * math/w_exp10l.c: Likewise.
11073 * math/w_fmod.c: Likewise.
11074 * math/w_fmodf.c: Likewise.
11075 * math/w_fmodl.c: Likewise.
11076 * math/w_j0.c: Likewise.
11077 * math/w_j0f.c: Likewise.
11078 * math/w_j0l.c: Likewise.
11079 * math/w_j1.c: Likewise.
11080 * math/w_j1f.c: Likewise.
11081 * math/w_j1l.c: Likewise.
11082 * math/w_jn.c: Likewise.
11083 * math/w_jnf.c: Likewise.
11084 * math/w_log.c: Likewise.
11085 * math/w_logf.c: Likewise.
11086 * math/w_logl.c: Likewise.
11087 * math/w_log10.c: Likewise.
11088 * math/w_log10f.c: Likewise.
11089 * math/w_log10l.c: Likewise.
11090 * math/w_log2.c: Likewise.
11091 * math/w_log2f.c: Likewise.
11092 * math/w_log2l.c: Likewise.
11093 * math/w_pow.c: Likewise.
11094 * math/w_powf.c: Likewise.
11095 * math/w_powl.c: Likewise.
11096 * math/w_remainder.c: Likewise.
11097 * math/w_remainderf.c: Likewise.
11098 * math/w_remainderl.c: Likewise.
11099 * math/w_scalb.c: Likewise.
11100 * math/w_scalbf.c: Likewise.
11101 * math/w_scalbl.c: Likewise.
11102 * math/w_sqrt.c: Likewise.
11103 * math/w_sqrtf.c: Likewise.
11104 * math/w_sqrtl.c: Likewise.
11105 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
11106 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
11108 * math/math_private.h: Declare __kernel_standard_f.
11109 * math/w_cosh.c: Remove cruft and optimize a bit.
11110 * math/w_coshf.c: Likewise.
11111 * math/w_coshl.c: Likewise.
11112 * math/w_exp2.c: Likewise.
11113 * math/w_exp2f.c: Likewise.
11114 * math/w_exp2l.c: Likewise.
11115 * math/w_hypot.c: Likewise.
11116 * math/w_hypotf.c: Likewise.
11117 * math/w_hypotl.c: Likewise.
11118 * math/w_lgamma.c: Likewise.
11119 * math/w_lgamma_r.c: Likewise.
11120 * math/w_lgammaf.c: Likewise.
11121 * math/w_lgammaf_r.c: Likewise.
11122 * math/w_lgammal.c: Likewise.
11123 * math/w_lgammal_r.c: Likewise.
11124 * math/w_sinh.c: Likewise.
11125 * math/w_sinhf.c: Likewise.
11126 * math/w_sinhl.c: Likewise.
11127 * math/w_tgamma.c: Likewise.
11128 * math/w_tgammaf.c: Likewise.
11129 * math/w_tgammal.c: Likewise.
11130 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11131 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11132 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
11133 Minor optimizations. Pretty printing. Remove cruft.
11134 * sysdeps/i386/fpu/e_acosf.S: Likewise.
11135 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11136 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11137 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11138 * sysdeps/i386/fpu/e_acosl.c: Likewise.
11139 * sysdeps/i386/fpu/e_asin.S: Likewise.
11140 * sysdeps/i386/fpu/e_asinf.S: Likewise.
11141 * sysdeps/i386/fpu/e_atan2.S: Likewise.
11142 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
11143 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
11144 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11145 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11146 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11147 * sysdeps/i386/fpu/e_exp10.S: Likewise.
11148 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
11149 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
11150 * sysdeps/i386/fpu/e_exp2.S: Likewise.
11151 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
11152 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
11153 * sysdeps/i386/fpu/e_fmod.S: Likewise.
11154 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
11155 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
11156 * sysdeps/i386/fpu/e_hypot.S: Likewise.
11157 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
11158 * sysdeps/i386/fpu/e_log.S: Likewise.
11159 * sysdeps/i386/fpu/e_log10.S: Likewise.
11160 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11161 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11162 * sysdeps/i386/fpu/e_log2.S: Likewise.
11163 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11164 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11165 * sysdeps/i386/fpu/e_logf.S: Likewise.
11166 * sysdeps/i386/fpu/e_logl.S: Likewise.
11167 * sysdeps/i386/fpu/e_pow.S: Likewise.
11168 * sysdeps/i386/fpu/e_powf.S: Likewise.
11169 * sysdeps/i386/fpu/e_powl.S: Likewise.
11170 * sysdeps/i386/fpu/e_remainder.S: Likewise.
11171 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
11172 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
11173 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11174 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11175 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11176 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
11177 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
11178 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
11179 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11180 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11181 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11182 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11183 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11184 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11185 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11186 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11187 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11188 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11189 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11190 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11191 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11192 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11193 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11194 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11195 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11196 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11197 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11198 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11199 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11200 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
11201 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11202 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11203 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
11204 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11205 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11206 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
11207 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11208 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
11209 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11210 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11211 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11212 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11213 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
11214 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
11215 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
11216 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
11217 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
11218 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11219 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
11220 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11221 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
11222 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11223 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11224 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11225 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11226 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11227 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11228 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11229 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11230 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11231 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11232 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11233 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11234 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11235 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11236 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11237 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11238 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11239 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11240 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
11241 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11242 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11243 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
11244 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11245 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
11246 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
11247 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
11248 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11249 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11250 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11251 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11252 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11253 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11254 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11255 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11256 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11257 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11258 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11259 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11260 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11261 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
11262 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11263 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11264 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11265 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11266 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11267 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11268 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11269 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11270 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11271 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11272 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11273 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11274 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
11275 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
11276 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
11277 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
11278 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
11279 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
11280 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
11281 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
11282 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
11283 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11284 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11285 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11286 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11287 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
11288 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11289 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
11290 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
11291 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
11292 (__isnanf): Likewise.
11293 (__isinf_ns): Likewise.
11294 (__isinf_nsf): Likewise.
11295 (__finite): Likewise.
11296 (__finitef): Likewise.
11297 (__ieee754_sqrt): Define as macro.
11298 (__ieee754_sqrtf): Define as macro.
11299 (__ieee754_sqrtl): Define as macro.
11300 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
11302 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
11303 __FINITE_MATH_ONLY__ consistent.
11304 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
11306 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
11308 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
11311 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
11313 2011-10-09 Ulrich Drepper <drepper@gmail.com>
11315 * po/ja.po: Update from translation team.
11317 2011-10-08 Roland McGrath <roland@hack.frob.com>
11319 * locale/programs/locarchive.c (prepare_address_space): New function.
11320 (create_archive, enlarge_archive, open_archive): Use it.
11322 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
11323 inside [SHARED], where it is used.
11325 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
11327 * nss/getent.c (netgroup_keys): Remove unused variable.
11328 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
11330 2011-10-08 Ulrich Drepper <drepper@gmail.com>
11332 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
11333 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
11334 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
11335 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
11336 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
11337 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
11338 * math/Makefile (libm-calls): Add s_isinf_ns.
11339 * math/divtc3.c: Use __isinf_nsl instead of isinf.
11340 * math/multc3.c: Likewise.
11341 * math/s_casin.c: Likewise.
11342 * math/s_casinf.c: Likewise.
11343 * math/s_casinl.c: Likewise.
11344 * math/s_ccos.c: Likewise.
11345 * math/s_ccosf.c: Likewise.
11346 * math/s_ccosl.c: Likewise.
11347 * math/s_ctan.c: Likewise.
11348 * math/s_ctanf.c: Likewise.
11349 * math/s_ctanh.c: Likewise.
11350 * math/s_ctanhf.c: Likewise.
11351 * math/s_ctanhl.c: Likewise.
11352 * math/s_ctanl.c: Likewise.
11353 * math/w_fmod.c: Likewise.
11354 * math/w_fmodf.c: Likewise.
11355 * math/w_fmodl.c: Likewise.
11356 * math/w_remainder.c: Likewise.
11357 * math/w_remainderf.c: Likewise.
11358 * math/w_remainderl.c: Likewise.
11359 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
11360 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
11361 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
11362 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
11363 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
11364 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
11365 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
11366 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
11368 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
11370 * stdio-common/printf_fphex.c: Likewise.
11371 * stdio-common/printf_size.c: Likewise.
11373 * math/e_exp10.c: Include math_private.h using <...> not "...".
11374 * math/e_exp10f.c: Likewise.
11375 * math/e_exp10l.c: Likewise.
11376 * math/e_exp2l.c: Likewise.
11377 * math/e_j0l.c: Likewise.
11378 * math/e_j1l.c: Likewise.
11379 * math/e_jnl.c: Likewise.
11380 * math/e_lgammal_r.c: Likewise.
11381 * math/e_rem_pio2l.c: Likewise.
11382 * math/e_scalb.c: Likewise.
11383 * math/e_scalbf.c: Likewise.
11384 * math/e_scalbl.c: Likewise.
11385 * math/k_cosl.c: Likewise.
11386 * math/k_sinl.c: Likewise.
11387 * math/k_tanl.c: Likewise.
11388 * math/s_cacoshf.c: Likewise.
11389 * math/s_catan.c: Likewise.
11390 * math/s_catanf.c: Likewise.
11391 * math/s_catanh.c: Likewise.
11392 * math/s_catanhf.c: Likewise.
11393 * math/s_catanhl.c: Likewise.
11394 * math/s_catanl.c: Likewise.
11395 * math/s_ccosh.c: Likewise.
11396 * math/s_ccoshf.c: Likewise.
11397 * math/s_ccoshl.c: Likewise.
11398 * math/s_cexp.c: Likewise.
11399 * math/s_cexpf.c: Likewise.
11400 * math/s_cexpl.c: Likewise.
11401 * math/s_clog.c: Likewise.
11402 * math/s_clog10.c: Likewise.
11403 * math/s_clog10f.c: Likewise.
11404 * math/s_clog10l.c: Likewise.
11405 * math/s_clogf.c: Likewise.
11406 * math/s_clogl.c: Likewise.
11407 * math/s_csin.c: Likewise.
11408 * math/s_csinf.c: Likewise.
11409 * math/s_csinh.c: Likewise.
11410 * math/s_csinhf.c: Likewise.
11411 * math/s_csinhl.c: Likewise.
11412 * math/s_csinl.c: Likewise.
11413 * math/s_csqrt.c: Likewise.
11414 * math/s_csqrtf.c: Likewise.
11415 * math/s_csqrtl.c: Likewise.
11416 * math/s_ctan.c: Likewise.
11417 * math/s_ctanf.c: Likewise.
11418 * math/s_ctanh.c: Likewise.
11419 * math/s_ctanhf.c: Likewise.
11420 * math/s_ctanhl.c: Likewise.
11421 * math/s_ctanl.c: Likewise.
11422 * math/s_ldexp.c: Likewise.
11423 * math/s_ldexpf.c: Likewise.
11424 * math/s_ldexpl.c: Likewise.
11425 * math/s_significand.c: Likewise.
11426 * math/s_significandf.c: Likewise.
11427 * math/s_significandl.c: Likewise.
11428 * math/w_acos.c: Likewise.
11429 * math/w_acosf.c: Likewise.
11430 * math/w_acosh.c: Likewise.
11431 * math/w_acoshf.c: Likewise.
11432 * math/w_acoshl.c: Likewise.
11433 * math/w_acosl.c: Likewise.
11434 * math/w_asin.c: Likewise.
11435 * math/w_asinf.c: Likewise.
11436 * math/w_asinl.c: Likewise.
11437 * math/w_atan2.c: Likewise.
11438 * math/w_atan2f.c: Likewise.
11439 * math/w_atan2l.c: Likewise.
11440 * math/w_atanh.c: Likewise.
11441 * math/w_atanhf.c: Likewise.
11442 * math/w_atanhl.c: Likewise.
11443 * math/w_cosh.c: Likewise.
11444 * math/w_coshf.c: Likewise.
11445 * math/w_coshl.c: Likewise.
11446 * math/w_dremf.c: Likewise.
11447 * math/w_exp10.c: Likewise.
11448 * math/w_exp10f.c: Likewise.
11449 * math/w_exp10l.c: Likewise.
11450 * math/w_exp2.c: Likewise.
11451 * math/w_exp2f.c: Likewise.
11452 * math/w_fmod.c: Likewise.
11453 * math/w_fmodf.c: Likewise.
11454 * math/w_fmodl.c: Likewise.
11455 * math/w_hypot.c: Likewise.
11456 * math/w_hypotf.c: Likewise.
11457 * math/w_hypotl.c: Likewise.
11458 * math/w_j0.c: Likewise.
11459 * math/w_j0f.c: Likewise.
11460 * math/w_j0l.c: Likewise.
11461 * math/w_j1.c: Likewise.
11462 * math/w_j1f.c: Likewise.
11463 * math/w_j1l.c: Likewise.
11464 * math/w_jn.c: Likewise.
11465 * math/w_jnf.c: Likewise.
11466 * math/w_jnl.c: Likewise.
11467 * math/w_lgamma.c: Likewise.
11468 * math/w_lgamma_r.c: Likewise.
11469 * math/w_lgammaf.c: Likewise.
11470 * math/w_lgammaf_r.c: Likewise.
11471 * math/w_lgammal.c: Likewise.
11472 * math/w_lgammal_r.c: Likewise.
11473 * math/w_log.c: Likewise.
11474 * math/w_log10.c: Likewise.
11475 * math/w_log10f.c: Likewise.
11476 * math/w_log10l.c: Likewise.
11477 * math/w_log2.c: Likewise.
11478 * math/w_log2f.c: Likewise.
11479 * math/w_log2l.c: Likewise.
11480 * math/w_logf.c: Likewise.
11481 * math/w_logl.c: Likewise.
11482 * math/w_pow.c: Likewise.
11483 * math/w_powf.c: Likewise.
11484 * math/w_powl.c: Likewise.
11485 * math/w_remainder.c: Likewise.
11486 * math/w_remainderf.c: Likewise.
11487 * math/w_remainderl.c: Likewise.
11488 * math/w_scalb.c: Likewise.
11489 * math/w_scalbf.c: Likewise.
11490 * math/w_scalbl.c: Likewise.
11491 * math/w_sinh.c: Likewise.
11492 * math/w_sinhf.c: Likewise.
11493 * math/w_sinhl.c: Likewise.
11494 * math/w_sqrt.c: Likewise.
11495 * math/w_sqrtf.c: Likewise.
11496 * math/w_sqrtl.c: Likewise.
11497 * math/w_tgamma.c: Likewise.
11498 * math/w_tgammaf.c: Likewise.
11499 * math/w_tgammal.c: Likewise.
11501 * po/ja.po: Update from translation team.
11503 2011-09-29 Andreas Jaeger <aj@suse.de>
11506 * sunrpc/netname.c (netname2host): Fix logic.
11510 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
11512 * math/w_remainder.c (__remainder): Likewise.
11513 * math/w_remainderf.c (__remainderf): Likewise.
11514 * math/libm-test.inc (remainder_test): Add test cases.
11516 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11518 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
11521 2011-10-07 Ulrich Drepper <drepper@gmail.com>
11523 * string/test-memcmp.c: Avoid unncessary #defines.
11524 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
11526 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11528 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
11529 Use new sse2 version for core i3 - i7 as it's faster
11530 than sse42 version.
11531 (bit_Prefer_PMINUB_for_stringop): New.
11532 * sysdeps/x86_64/rawmemchr.S: Update.
11533 Replace with faster SSE2 version.
11534 * sysdeps/x86_64/memrchr.S: New file.
11535 * sysdeps/x86_64/memchr.S: Update.
11536 Replace with faster SSE2 version.
11538 2011-09-12 Marek Polacek <mpolacek@redhat.com>
11540 * elf/dl-load.c (lose): Add cast to avoid warning.
11542 2011-10-07 Ulrich Drepper <drepper@gmail.com>
11544 * po/ca.po: Update from translation team.
11546 * inet/getnetgrent_r.c: Hook up nscd.
11547 * nscd/Makefile (routines): Add nscd_netgroup.
11548 (nscd-modules): Add netgroupcache.
11549 (CFLAGS-netgroupcache.c): Define.
11550 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
11551 (cache_search): Add const to second parameter.
11552 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
11554 (dbs): Add netgrdb entry.
11555 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
11556 (verify_persistent_db): Handle netgrdb.
11557 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
11558 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
11560 (netgroup_response_header): Define.
11561 (innetgroup_response_header): Define.
11562 (datahead): Add netgroup_response_header and innetgroup_response_header
11564 * nscd/nscd.conf: Add entries for netgroup cache.
11565 * nscd/nscd.h (dbtype): Add netgrdb.
11566 (_PATH_NSCD_NETGROUP_DB): Define.
11567 (netgroup_iov_disabled): Declare.
11568 (xmalloc, xcalloc, xrealloc): Move declarations here.
11569 (cache_search): Adjust prototype.
11570 Add netgroup-related prototypes.
11571 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
11572 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
11573 (__nscd_innetgr): Declare.
11574 * nscd/selinux.c (perms): Use access_vector_t as element type and
11575 add netgroup-related initializers.
11576 * nscd/netgroupcache.c: New file.
11577 * nscd/nscd_netgroup.c: New file.
11578 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
11579 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
11580 For four parameters use innetgr.
11581 * nss/nss_files/files-init.c: Add definition and callback for netgr.
11582 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
11583 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
11584 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
11586 * nscd/connections.c (register_traced_file): Don't register file
11587 for disabled databases.
11589 2011-10-06 Ulrich Drepper <drepper@gmail.com>
11591 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
11593 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
11594 from tree and freeing node.
11596 2011-09-25 Jiri Olsa <jolsa@redhat.com>
11598 * nss/nsswitch.c (__nss_database_lookup): Handle
11599 nss_parse_service_list out of memory case.
11601 2011-09-15 Jiri Olsa <jolsa@redhat.com>
11603 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
11604 out of memory case.
11606 2011-10-04 Andreas Schwab <schwab@redhat.com>
11608 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
11609 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
11611 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
11612 elf_machine_rela, elf_machine_lazy_rel.
11613 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
11614 (ELF_DYNAMIC_DO_REL): Likewise.
11615 (ELF_DYNAMIC_DO_RELA): Likewise.
11616 (ELF_DYNAMIC_RELOCATE): Likewise.
11617 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
11618 to ELF_DYNAMIC_DO_REL.
11619 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
11620 (dl_main): In trace mode always set __RTLD_NOIFUNC.
11621 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
11623 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
11624 skip_ifunc, don't call ifunc function if non-zero.
11625 (elf_machine_rela): Likewise.
11626 (elf_machine_lazy_rel): Likewise.
11627 (elf_machine_lazy_rela): Likewise.
11628 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
11629 (elf_machine_lazy_rel): Likewise.
11630 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
11632 (elf_machine_lazy_rel): Likewise.
11633 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11635 (elf_machine_lazy_rel): Likewise.
11636 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
11637 (elf_machine_lazy_rel): Likewise.
11638 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
11639 (elf_machine_lazy_rel): Likewise.
11640 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11641 (elf_machine_lazy_rel): Likewise.
11642 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
11643 (elf_machine_lazy_rel): Likewise.
11644 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
11645 (elf_machine_lazy_rel): Likewise.
11646 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
11647 (elf_machine_lazy_rel): Likewise.
11649 2011-09-28 Ulrich Drepper <drepper@gmail.com>
11651 * nss/nss_files/files-init.c (_nss_files_init): Use static
11652 initialization for all the *_traced_file variables.
11654 2011-09-28 Andreas Schwab <schwab@redhat.com>
11656 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11658 2011-09-27 Roland McGrath <roland@hack.frob.com>
11661 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
11663 2011-09-27 Andreas Schwab <schwab@redhat.com>
11665 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11666 Reread the line before reparsing it.
11668 2011-09-26 Andreas Schwab <schwab@redhat.com>
11670 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
11672 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
11673 Maxim Kuvyrkov <maxim@codesourcery.com>
11674 Joseph Myers <joseph@codesourcery.com>
11676 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
11677 if needed for __stack_chk_guard.
11679 2011-09-19 Roland McGrath <roland@hack.frob.com>
11681 * sysdeps/posix/spawni.c (script_execute): Always define it.
11682 It will be optimized away if unused.
11683 (maybe_script_execute): New function.
11684 (__spawni): Call it.
11686 * Makerules: Don't include tls.make.
11687 (config-tls): Always set to thread.
11688 * tls.make.c: File removed.
11690 2011-09-19 Mike Frysinger <vapier@gentoo.org>
11692 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
11693 * config.make.in (CPPFLAGS-config): New substituted variable.
11695 2011-09-15 Ulrich Drepper <drepper@gmail.com>
11697 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
11700 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
11701 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
11703 2011-09-15 Roland McGrath <roland@hack.frob.com>
11705 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
11706 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
11707 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
11708 (CALL_FAIL): Likewise.
11709 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
11710 (CALL_FAIL): Macro removed.
11711 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
11713 2011-09-15 Ulrich Drepper <drepper@gmail.com>
11715 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
11716 for __FINITE_MATH_ONLY__ == 1.
11718 2011-09-15 Andreas Schwab <schwab@redhat.com>
11720 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
11721 __ieee754_sqrt instead of sqrt.
11722 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
11723 __ieee754_sqrtf instead of sqrtf.
11724 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
11725 __floorf instead of floorf.
11726 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
11727 __floorf, __truncf instead of floorf, truncf.
11729 2011-09-14 Ulrich Drepper <drepper@gmail.com>
11731 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
11733 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
11734 __extern_always_inline.
11735 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
11738 2011-09-14 Andreas Schwab <schwab@redhat.com>
11740 * elf/rtld.c (dl_main): Also relocate in dependency order when
11741 doing symbol dependency testing.
11743 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
11745 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11746 Always define `refsym'.
11748 2011-09-13 Andreas Schwab <schwab@redhat.com>
11750 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
11751 (__FD_ELT): Renamed from __FDELT.
11752 * misc/bits/select2.h (__FD_ELT): Likewise.
11753 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
11754 __FD_MASK instead of __FDELT, __FDMASK.
11755 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11757 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11760 * elf/Makefile (gen-ldd): Fix pattern.
11762 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
11763 (init_tls): Likewise.
11765 2011-09-12 Ulrich Drepper <drepper@gmail.com>
11767 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
11769 2011-09-12 Andreas Schwab <schwab@redhat.com>
11771 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
11772 `struct cmsghdr *' instead of `void *'.
11773 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
11776 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
11778 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
11780 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
11781 ldd_rewrite_script.
11783 2011-09-11 Ulrich Drepper <drepper@gmail.com>
11785 * configure.in: Remove --with-tls option.
11786 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
11787 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
11788 out in case it is missing.
11789 * sysdeps/ia64/elf/configure.in: Likewise.
11790 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
11791 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
11792 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
11793 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
11794 * sysdeps/sh/elf/configure.in: Likewise.
11795 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
11796 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
11797 * sysdeps/x86_64/elf/configure.in: Likewise.
11798 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
11799 * sysdeps/mach/hurd/tls.h: Likewise.
11802 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
11805 * configure.in: Fix use of AC_INIT.
11807 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
11809 2011-09-10 Ulrich Drepper <drepper@gmail.com>
11811 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
11813 * malloc/hooks.c: Likewise.
11816 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
11817 variables statically.
11818 (narenas): Initialize.
11819 (list_lock): Initialize.
11820 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
11821 initializtion of main_arena and list_lock. Small cleanups.
11822 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
11823 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
11824 Add initializers to main_arena and mp_.
11825 (malloc_state): Remove pagesize member. Change all users to use
11828 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
11829 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
11830 is always initialized.
11832 * malloc/malloc.c: Removed unused configurations and dead code.
11833 * malloc/arena.c: Likewise.
11834 * malloc/hooks.c: Likewise.
11835 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
11837 * include/tls.h: Removed. USE___THREAD must always be defined.
11838 * bits/libc-tsd.h: Don't handle !USE___THREAD.
11839 * elf/dl-libc.c: Likewise.
11840 * elf/dl-tsd.c: Likewise.
11841 * include/errno.h: Likewise.
11842 * include/netdb.h: Likewise.
11843 * include/resolv.h: Likewise.
11844 * inet/herrno-loc.c: Likewise.
11845 * inet/herrno.c: Likewise.
11846 * malloc/arena.c: Likewise.
11847 * malloc/hooks.c: Likewise.
11848 * malloc/malloc.c: Likewise.
11849 * resolv/res-state.c: Likewise.
11850 * resolv/res_libc.c: Likewise.
11851 * sysdeps/i386/dl-machine.h: Likewise.
11852 * sysdeps/ia64/dl-machine.h: Likewise.
11853 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
11854 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11855 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
11856 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
11857 * sysdeps/sh/dl-machine.h: Likewise.
11858 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11859 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11860 * sysdeps/unix/i386/sysdep.S: Likewise.
11861 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11862 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
11863 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
11864 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11865 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
11866 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11867 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11868 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11869 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11870 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11871 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11872 * sysdeps/x86_64/dl-machine.h: Likewise.
11873 * tls.make.c: Likewise.
11875 * configure.in: Remove --with-__thread option. Make tests for
11876 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
11877 tls_model attribute fail if no support is available. Remove
11879 * Makeconfig: Adjust for dropped configure option. All features are
11881 * Makerules: Likewise.
11882 * Versions.def: Likewise.
11883 * argp/argp-fmtstream.c: Likewise.
11884 * argp/argp-fmtstream.h: Likewise.
11885 * argp/argp-help.c: Likewise.
11886 * assert/assert.c: Likewise.
11887 * config.h.in: Likewise.
11888 * config.make.in: Likewise.
11889 * configure: Likewise.
11890 * configure.in: Likewise.
11891 * csu/Versions: Likewise.
11892 * csu/init.c: Likewise.
11893 * elf/tst-audit2.c: Likewise.
11894 * elf/tst-tls10.c: Likewise.
11895 * elf/tst-tls10.h: Likewise.
11896 * elf/tst-tls11.c: Likewise.
11897 * elf/tst-tls12.c: Likewise.
11898 * elf/tst-tls14.c: Likewise.
11899 * elf/tst-tlsmod11.c: Likewise.
11900 * elf/tst-tlsmod12.c: Likewise.
11901 * elf/tst-tlsmod13.c: Likewise.
11902 * elf/tst-tlsmod13a.c: Likewise.
11903 * elf/tst-tlsmod14a.c: Likewise.
11904 * elf/tst-tlsmod15b.c: Likewise.
11905 * elf/tst-tlsmod16a.c: Likewise.
11906 * elf/tst-tlsmod16b.c: Likewise.
11907 * elf/tst-tlsmod7.c: Likewise.
11908 * elf/tst-tlsmod8.c: Likewise.
11909 * elf/tst-tlsmod9.c: Likewise.
11910 * gmon/gmon.c: Likewise.
11911 * grp/fgetgrent_r.c: Likewise.
11912 * grp/putgrent.c: Likewise.
11913 * hurd/fopenport.c: Likewise.
11914 * include/libc-symbols.h: Likewise.
11915 * include/tls.h: Likewise.
11916 * intl/gettextP.h: Likewise.
11917 * intl/loadinfo.h: Likewise.
11918 * locale/global-locale.c: Likewise.
11919 * locale/localeinfo.h: Likewise.
11920 * mach/devstream.c: Likewise.
11921 * malloc/arena.c: Likewise.
11922 * malloc/set-freeres.c: Likewise.
11923 * misc/err.c: Likewise.
11924 * misc/getttyent.c: Likewise.
11925 * misc/mntent_r.c: Likewise.
11926 * posix/getopt.c: Likewise.
11927 * posix/wordexp.c: Likewise.
11928 * pwd/fgetpwent_r.c: Likewise.
11929 * resolv/Versions: Likewise.
11930 * resolv/res_hconf.c: Likewise.
11931 * shadow/fgetspent_r.c: Likewise.
11932 * shadow/putspent.c: Likewise.
11933 * stdio-common/printf_fphex.c: Likewise.
11934 * stdio-common/tmpfile.c: Likewise.
11935 * stdlib/abort.c: Likewise.
11936 * stdlib/fmtmsg.c: Likewise.
11937 * sunrpc/auth_unix.c: Likewise.
11938 * sunrpc/clnt_perr.c: Likewise.
11939 * sunrpc/clnt_tcp.c: Likewise.
11940 * sunrpc/clnt_udp.c: Likewise.
11941 * sunrpc/clnt_unix.c: Likewise.
11942 * sunrpc/openchild.c: Likewise.
11943 * sunrpc/svc_simple.c: Likewise.
11944 * sunrpc/svc_tcp.c: Likewise.
11945 * sunrpc/svc_udp.c: Likewise.
11946 * sunrpc/svc_unix.c: Likewise.
11947 * sunrpc/xdr.c: Likewise.
11948 * sunrpc/xdr_array.c: Likewise.
11949 * sunrpc/xdr_rec.c: Likewise.
11950 * sunrpc/xdr_ref.c: Likewise.
11951 * sunrpc/xdr_stdio.c: Likewise.
11953 2011-09-09 Ulrich Drepper <drepper@gmail.com>
11955 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11957 2011-07-03 Andreas Jaeger <aj@suse.de>
11959 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
11960 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
11961 regenerate with gen-libm-tests.pl.
11963 2010-05-12 Petr Baudis <pasky@suse.cz>
11966 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
11967 around j0() zero points by switching to j1().
11968 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11969 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11970 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11971 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11973 2011-09-09 Ulrich Drepper <drepper@gmail.com>
11975 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
11977 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
11979 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11980 Patch in part by Pavel Roskin <proski@gnu.org>.
11983 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
11985 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
11986 Free memory block if necessary.
11989 * libio/genops.c (INTDEF): For string streams the _lock pointer can
11990 be NULL. Don't lock in this case.
11992 2011-09-09 Roland McGrath <roland@hack.frob.com>
11994 * elf/elf.h (ELFOSABI_GNU): New macro.
11995 (ELFOSABI_LINUX): Define to that.
11997 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
11999 * string/strncat.c (strncat): Undef the symbol in case it has been
12000 defined in bits/string.h.
12002 2011-09-09 Ulrich Drepper <drepper@gmail.com>
12004 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
12006 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
12009 2011-08-17 Andreas Jaeger <aj@suse.de>
12011 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
12013 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
12014 Ian Lance Taylor <iant@google.com>
12016 * math/libm-test.inc (lround_test): New testcase.
12017 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
12019 2011-09-08 Ulrich Drepper <drepper@gmail.com>
12021 * Makefile: Remove support for automatic cvs check-ins.
12022 * Makerules: Likewise.
12023 * config.make.in: Likewise.
12024 * configure.in: Likewise.
12025 * intl/Makefile: Likewise.
12026 * locale/Makefile: Likewise.
12027 * po/Makefile: Likewise.
12028 * posix/Makefile: Likewise.
12029 * sysdeps/gnu/Makefile: Likewise.
12030 * sysdeps/mach/hurd/Makefile: Likewise.
12031 * sysdeps/sparc/sparc32/Makefile: Likewise.
12034 * posix/Makefile (bug-regex32-ENV): Define.
12035 Patch by John Stanley <jpsinthemix@verizon.net>.
12037 * misc/Makefile (headers): Add bits/select2.h.
12038 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
12039 * misc/bits/select2.h: New file.
12040 * include/bits/select2.h: New file.
12041 * debug/Makefile (routines): Add fdelt_chk.
12042 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
12043 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
12045 * debug/fdelt_chk.c: New file.
12047 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
12048 * wcsmbs/test-wmemcmp.c: Likewise.
12049 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
12050 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
12052 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12054 * string/Makefile (strop-tests): Add memcmp.
12055 * string/test-wmemcmp.c: New file.
12056 * string/test-memcmp.c: Add wmemcmp support.
12058 2011-09-08 Roland McGrath <roland@hack.frob.com>
12061 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
12064 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
12065 garbage value in a __mach_port_mod_refs call in the cases of the
12066 task-self and thread-self ports.
12068 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
12070 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
12072 2011-09-08 Andreas Schwab <schwab@redhat.com>
12074 * elf/dl-load.c (lose): Check for non-null L.
12076 2011-09-07 Ulrich Drepper <drepper@gmail.com>
12078 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
12080 * elf/dl-libc.c (dlerror_run): Pass back error code from
12084 * elf/dl-load.c (lose): Free l_origin if it is valid.
12086 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
12088 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
12089 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12090 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12091 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12092 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
12093 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
12095 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12097 * sysdeps/powerpc/fpu/e_hypot.c: New file.
12098 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
12099 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
12100 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
12101 * sysdeps/powerpc/fpu/k_cosf.c: New file.
12102 * sysdeps/powerpc/fpu/k_sinf.c: New file.
12103 * sysdeps/powerpc/fpu/s_cosf.c: New file.
12104 * sysdeps/powerpc/fpu/s_sinf.c: New file.
12105 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
12106 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
12108 2011-08-15 Alan Modra <amodra@gmail.com>
12111 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
12112 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
12113 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
12114 ppc_mcount to static-only-routines.
12115 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
12117 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
12118 __mcount_internal with usual JUMPTARGET. Remove useless nop.
12120 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
12122 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
12123 for finite and infinity parameters.
12125 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
12127 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
12128 and add nop instructions for throughput optimization.
12129 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12131 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
12133 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
12134 aligned copy for power7 with vector-scalar instructions.
12135 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12137 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
12139 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
12142 2011-09-07 Andreas Schwab <schwab@redhat.com>
12145 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
12148 2011-09-07 Ulrich Drepper <drepper@gmail.com>
12150 * sysdeps/unix/sysv/linux/x86_64/init-first.c
12151 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
12152 syscall wrapper around clock_gettime in __vdso_clock_gettime.
12153 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
12156 2011-09-06 Ulrich Drepper <drepper@gmail.com>
12158 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
12159 Forgot to demangle the pointer.
12161 * sysdeps/i386/sysdep.h: Define atom_text_section.
12162 * sysdeps/x86_64/sysdep.h: Likewise.
12163 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
12164 section with atom_text_section.
12165 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12166 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12167 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
12168 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12169 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
12171 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
12172 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
12173 already be defined. Change to take two parameters and don't assign
12174 result to variable. Adjust all users.
12175 Define INTERNAL_GETTIME if not already defined.
12176 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
12178 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
12179 HAVE_CLOCK_GETTIME_VSYSCALL.
12180 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
12182 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
12183 gettimeofday vsyscall, just use time.
12185 2011-09-06 Andreas Schwab <schwab@redhat.com>
12187 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
12190 2011-09-06 Ulrich Drepper <drepper@gmail.com>
12192 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
12194 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
12196 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
12197 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
12198 syscall if possible.
12200 2011-09-05 Ulrich Drepper <drepper@gmail.com>
12202 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
12203 e_ident. Don't pass to find_mapsXX.
12204 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
12206 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12208 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12209 strchr-sse2-no-bsf strrchr-sse2-no-bsf
12210 * sysdeps/x86_64/multiarch/strchr.S: Update.
12211 Check bit_slow_BSF bit.
12212 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12213 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
12214 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
12216 2011-09-05 Ulrich Drepper <drepper@gmail.com>
12219 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
12221 (tryshell): Define.
12222 (__spawni): Change last parameter to be flag. Test
12223 SPAWN_XFLAGS_USE_PATH flag to use path or not.
12224 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
12225 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
12226 * posix/spawni.c: Likewise.
12227 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
12228 * posix/spawnp.c: Likewise. Change normal version to use
12229 SPAWN_XFLAGS_USE_PATH.
12230 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
12231 SPAWN_XFLAGS_TRY_SHELL.
12234 * posix/glob.h: Remove gcc 1.x support.
12237 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
12239 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12241 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12242 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
12244 * sysdeps/i386/i686/multiarch/strchr.S: New file.
12245 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
12246 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
12247 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
12248 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
12249 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
12251 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12253 * sysdeps/x86_64/wcscmp.S: New file.
12255 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
12256 wcscmp-c wcscmp-sse2
12257 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
12258 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
12259 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
12260 * wcsmbs/wcscmp.c: Allow renaming.
12262 2011-09-05 David S. Miller <davem@davemloft.net>
12264 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
12265 stack slot, rather than the struct return pointer slot.
12266 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
12267 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
12268 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
12269 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
12271 2011-09-05 Ulrich Drepper <drepper@gmail.com>
12273 * po/ja.po: Update from translation team.
12276 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
12277 kernel in 64-bit binaries.
12279 2011-09-01 David S. Miller <davem@davemloft.net>
12281 * elf/elf.h (HWCAP_SPARC_*): Move to..
12282 * sysdeps/sparc/sysdep.h: this new file and add new values.
12283 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
12284 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
12285 _DL_HWCAP_COUNT to 24.
12286 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12288 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
12289 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
12290 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
12291 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
12292 instead of magic constants.
12293 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12295 2011-08-31 David S. Miller <davem@davemloft.net>
12297 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
12298 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
12299 Reimplement to do errno handling inline.
12300 (SYSCALL_ERROR_HANDLER): New macro.
12301 (__SYSCALL_STRING): Do not do errno handling in asm.
12302 (__CLONE_SYSCALL_STRING): Delete.
12303 (__INTERNAL_SYSCALL_STRING): Delete.
12304 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
12305 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
12306 (PSEUDO): Reimplement to do errno handling inline.
12307 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
12308 (SYSCALL_ERROR_HANDLER): New macro.
12309 (__SYSCALL_STRING): Do not do errno handling in asm.
12310 (__CLONE_SYSCALL_STRING): Delete.
12311 (__INTERNAL_SYSCALL_STRING): Delete.
12312 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
12313 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
12315 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
12316 (inline_syscall*): Add 'err' argument.
12317 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
12318 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
12319 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
12320 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
12322 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
12323 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
12325 2011-08-30 Andreas Schwab <schwab@redhat.com>
12327 * elf/rtld.c (dl_main): Relocate objects in dependency order.
12329 2011-08-29 Jiri Olsa <jolsa@redhat.com>
12331 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
12334 2011-08-24 David S. Miller <davem@davemloft.net>
12336 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
12338 2011-08-24 Andreas Schwab <schwab@redhat.com>
12340 * elf/Makefile: Add rules to build and run unload8 test.
12341 * elf/unload8.c: New file.
12342 * elf/unload8mod1.c: New file.
12343 * elf/unload8mod1x.c: New file.
12344 * elf/unload8mod2.c: New file.
12345 * elf/unload8mod3.c: New file.
12347 * elf/dl-close.c (_dl_close_worker): Reset private search list if
12350 2011-08-23 David S. Miller <davem@davemloft.net>
12352 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
12353 subtract stack bias.
12354 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
12355 %sp not %fp in calculations.
12356 (_JMPBUF_UNWINDS_ADJ): Likewise.
12358 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
12359 (aio_suspend): Call it to force an exception region around the
12360 AIO_MISC_WAIT() invocation.
12362 2011-08-23 Andreas Schwab <schwab@redhat.com>
12364 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
12367 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
12369 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
12371 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
12372 and <dl-machine.h>.
12373 (Elf64_FuncDesc): Remove.
12375 2011-08-22 David S. Miller <davem@davemloft.net>
12377 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
12378 sigaltstack check, add missing cfi directives.
12379 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
12380 missing cfi directives, and sigaltstack handling.
12382 2011-08-16 Andreas Schwab <schwab@redhat.com>
12385 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
12386 object is seen twice.
12387 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12389 * elf/Makefile (distribute): Add tst-initorder2.c.
12390 (tests): Add tst-initorder2.
12391 (modules-names): Add tst-initorder2a tst-initorder2b
12392 tst-initorder2c tst-initorder2d. Add rules to build them.
12393 ($(objpfx)tst-initorder2.out): New rule.
12394 * elf/tst-initorder2.c: New file.
12395 * elf/tst-initorder2.exp: New file.
12397 2011-08-22 Andreas Schwab <schwab@redhat.com>
12399 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
12401 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
12402 dependencies back to end of function.
12404 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
12405 $(elfobjdir)/ld.so.
12407 2011-08-21 Ulrich Drepper <drepper@gmail.com>
12409 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
12410 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
12411 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
12412 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
12413 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
12414 of __vdso_gettimeofday.
12415 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
12416 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
12418 (_libc_vdso_platform_setup): Remove initialization of
12419 __vdso_gettimeofday and __vdso_time.
12421 2011-08-20 Ulrich Drepper <drepper@gmail.com>
12423 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
12424 and fgetc_unlocked.
12425 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
12428 * elf/dl-open.c (add_to_global): Report additions to the global scope
12429 for LD_DEBUG=scopes.
12430 (dl_open_worker): Also print scope of newly loaded dependencies.
12431 (_dl_show_scope): Indicate if there is no scope.
12434 * stdio-common/Makefile (tests): Add bug24.
12435 * stdio-common/bug24.c: New file.
12437 2011-08-19 Andreas Jaeger <aj@suse.de>
12440 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
12441 non-existant file when using close-on-exec mode.
12443 2011-08-20 Ulrich Drepper <drepper@gmail.com>
12445 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
12446 the very first instruction.
12448 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
12449 the CFI state in the end.
12450 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
12451 inclusion of dl-trampoline.h.
12452 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
12454 2011-08-19 Andreas Schwab <schwab@redhat.com>
12456 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
12457 expectations for long double.
12459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
12460 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
12462 2011-08-14 David S. Miller <davem@davemloft.net>
12464 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
12465 artificual limit depends upon the system page size.
12467 2011-08-17 Ulrich Drepper <drepper@gmail.com>
12469 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
12470 * resolv/Makefile: Define CFLAGS-libresolv.
12472 2011-08-17 Andreas Schwab <schwab@redhat.com>
12474 * nss/makedb.c (compute_tables): Make variables used in nested
12477 2011-08-17 Ulrich Drepper <drepper@gmail.com>
12479 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
12480 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
12481 if buffer was too small.
12483 * elf/pldd.c (main): Attach to all threads in the process.
12484 Rewrite /proc handling to use *at functions.
12486 2011-08-16 Ulrich Drepper <drepper@gmail.com>
12488 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
12489 specifies first scope to show.
12490 (dl_open_worker): Update callers. Move printing scope of new
12491 object to before the relocation.
12492 * elf/rtld.c (dl_main): Update _dl_show_scope call.
12493 * sysdeps/generic/ldsodefs.h: Update declaration.
12495 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
12496 string for the scope number.
12498 2011-08-14 Ulrich Drepper <drepper@gmail.com>
12500 * nscd/servicescache.c (cache_addserv): Make sure written is always
12503 2011-08-14 Roland McGrath <roland@hack.frob.com>
12505 * sysdeps/i386/i486/bits/atomic.h
12506 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
12507 statement expression, so as to suppress "set but not used" warning.
12508 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
12510 * string/strncat.c (STRNCAT): Use prototype definition.
12512 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
12513 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
12515 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
12516 (localedef-modules): Add localedef.
12517 (locale-modules): Add locale.
12519 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
12520 * elf/rtld.c (dl_main): Invert order of assignment in last change,
12521 to avoid a warning.
12523 2011-08-14 David S. Miller <davem@davemloft.net>
12525 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
12526 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
12528 2011-08-13 Ulrich Drepper <drepper@gmail.com>
12530 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
12531 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
12532 * elf/rtld.c (dl_main): Set l_name of vDSO.
12533 Call _dl_show_scope when DL_DEBUG_SCOPES.
12534 (process_dl_debug): Recognize scopes flag and also set it for all.
12535 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
12536 Declare _dl_show_scope.
12538 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
12539 (do_dlopen): Pass caller_dlopen to dl_open.
12540 (__libc_dlopen_mode): Initialize caller_dlopen.
12542 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
12543 of libc. Make tolower call locale-independent. Optimize a bit by
12544 using isdigit instead of isalnum.
12545 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
12547 2011-08-12 Ulrich Drepper <drepper@gmail.com>
12549 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
12550 was a dependency or dynamically loaded.
12552 2011-08-11 Ulrich Drepper <drepper@gmail.com>
12554 * intl/l10nflist.c: Allow architecture-specific pop function.
12555 * sysdeps/x86_64/l10nflist.c: New file.
12557 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
12560 2011-08-10 Andreas Schwab <schwab@redhat.com>
12562 * include/dirent.h: Add libc_hidden_proto for scandirat and
12563 scandirat64. Don't declare __scandirat64.
12564 * dirent/scandirat.c: Add libc_hidden_def.
12565 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
12566 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
12568 2011-08-10 David S. Miller <davem@davemloft.net>
12570 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
12572 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12573 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12574 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12576 2011-08-09 Ulrich Drepper <drepper@gmail.com>
12578 * Versions.def [libc]: Add GLIBC_2.15.
12579 * dirent/Makefile (routines): Add scandirat and scandirat64.
12580 * dirent/Versions [libc]: Export scandirat and scandirat64 for
12582 * dirent/dirent.h: Declare scandirat and scandirat64.
12583 * dirent/scandirat.c: New file.
12584 * dirent/scandirat64.c: New file.
12585 * sysdeps/wordsize-64/scandirat.c: New file.
12586 * sysdeps/wordsize-64/scandirat64.c: New file.
12587 * dirent/opendir.c: Define opendirat.
12588 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
12590 * dirent/scandir64.c: Adjust for scandir.c change.
12591 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
12592 __scandirat64, and __scandir_cancel_handler.
12593 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
12594 additional parameter and use openat instead of open (outside of ld.so).
12595 Add new __opendir as wrapper around __opendirat.
12596 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
12597 here without requiring old scandirat implementation.
12599 2011-08-08 Ulrich Drepper <drepper@gmail.com>
12601 * dirent/scandir.c (cancel_handler): Renamed to
12602 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
12603 defined. Adjust users.
12604 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
12605 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
12607 2011-08-04 Ulrich Drepper <drepper@gmail.com>
12609 * string/test-string.h (IMPL): Use __STRING to expand name and then
12612 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
12615 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12617 * string/Makefile: Update.
12618 (strop-tests): Append strncat.
12619 * string/test-wcscmp.c: New file.
12620 New comprehensive test for wcscmp.
12621 * string/test-strcmp.c: Update.
12622 (WIDE): New define.
12624 2011-07-22 Andreas Schwab <schwab@redhat.com>
12626 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
12629 2011-07-26 Andreas Schwab <schwab@redhat.com>
12631 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12632 encoding to ACE if AI_IDN.
12634 2011-08-01 Jakub Jelinek <jakub@redhat.com>
12636 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
12637 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
12639 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12641 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
12642 Fix overflow bug in strncat.
12643 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
12645 * string/test-strncat.c: Update.
12646 Add new tests for checking overflow bugs.
12648 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12650 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12651 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
12652 * sysdeps/i386/i686/multiarch/strcat.S: New file.
12653 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
12654 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
12655 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
12656 * sysdeps/i386/i686/multiarch/strncat.S: New file.
12657 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
12658 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
12660 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
12661 (USE_AS_STRCAT): Define.
12662 Add strcat and strncat support.
12663 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12665 2011-07-25 Andreas Schwab <schwab@redhat.com>
12667 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
12668 __n bigger than INT_MAX+1.
12669 (__strncmp_g): Likewise.
12671 2011-07-23 Ulrich Drepper <drepper@gmail.com>
12673 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
12674 * libio/stido.h: Likewise.
12676 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
12678 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
12681 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
12682 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12683 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12684 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
12685 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12688 * scripts/test-installation.pl: Don't expect libnss_test1 to be
12691 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
12693 (_dl_x86_64_save_sse): Likewise.
12695 2011-07-22 Ulrich Drepper <drepper@gmail.com>
12697 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
12699 (_dl_x86_64_save_sse): Likewise.
12701 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
12703 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
12705 2011-07-21 Andreas Schwab <schwab@redhat.com>
12707 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
12709 (_dl_x86_64_save_sse): Use correct AVX check.
12711 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12713 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
12714 bug in strncpy/strncat.
12715 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
12717 2011-07-21 Ulrich Drepper <drepper@gmail.com>
12719 * string/tester.c (test_strcat): Add tests for different alignments
12720 of source and destination.
12721 (test_strncat): Likewise.
12723 2011-07-20 Ulrich Drepper <drepper@gmail.com>
12726 * posix/glob.c (glob): Check passed in values before using them in
12727 expressions to avoid some overflows.
12728 (glob_in_dir): Likewise.
12731 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
12732 check for AVX enablement so that we don't crash with old kernels and
12734 * elf/tst-audit4.c: Add same checks here.
12735 * elf/tst-audit6.c: Likewise.
12737 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
12739 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
12741 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
12743 2011-07-20 Ulrich Drepper <drepper@gmail.com>
12745 * po/cs.po: Update from translation team.
12746 * po/bg.po: Likewise.
12748 2011-07-12 Marek Polacek <mpolacek@redhat.com>
12750 * misc/sys/cdefs.h: Add support for const attribute.
12751 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
12752 to gnu_dev_{major,minor,makedev} functions.
12754 2011-07-20 Marek Polacek <mpolacek@redhat.com>
12756 * intl/dcigettext.c (get_output_charset): Add missing bracket.
12758 2011-07-20 Andreas Schwab <schwab@redhat.com>
12760 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
12763 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12765 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
12766 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
12767 register in order to avoid conflicts with the soft frame pointer
12768 being held in r11 when necessary.
12769 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
12770 (INTERNAL_VSYSCALL_NCS): Likewise.
12772 2011-07-14 Marek Polacek <mpolacek@redhat.com>
12774 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
12775 * elf/dl-fini.c (_dl_fini): Adjust caller.
12776 * elf/dl-close.c (_dl_close_worker): Likewise.
12777 * sysdeps/generic/ldsodefs.h: Adjust declaration.
12779 2011-07-15 Marek Polacek <mpolacek@redhat.com>
12781 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
12782 "aux_cache->nlibs < 0".
12784 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
12785 in the reload-count case.
12787 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12789 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12790 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
12791 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
12792 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
12793 * sysdeps/x86_64/multiarch/strcat.S: New file.
12794 * sysdeps/x86_64/multiarch/strncat.S: New file.
12795 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
12796 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
12797 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
12798 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
12799 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
12800 (USE_AS_STRCAT): Define.
12801 Add strcat and strncat support.
12802 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12803 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12804 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
12805 * string/strncat.c: Update.
12806 (USE_AS_STRNCAT): Define.
12807 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12808 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
12810 * sysdeps/x86_64/multiarch/init-arch.h
12811 (bit_Prefer_PMINUB_for_stringop): New.
12812 (index_Prefer_PMINUB_for_stringop): Likewise.
12813 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
12814 bit_Prefer_PMINUB_for_stringop.
12816 2011-07-19 Ulrich Drepper <drepper@gmail.com>
12818 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
12820 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
12821 of casting of buffer.
12822 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
12823 buffer32 and buffer64.
12824 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
12825 writes instead of casting of buffer.
12826 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
12828 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
12831 2011-07-19 Andreas Schwab <schwab@redhat.com>
12833 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
12835 2011-07-19 Ulrich Drepper <drepper@gmail.com>
12837 * nscd/nscd.c (termination_handler): Don't do anything for a database
12838 if it has not yet been initialized.
12840 2011-07-18 Ulrich Drepper <drepper@gmail.com>
12842 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
12844 2011-07-15 Marek Polacek <mpolacek@redhat.com>
12846 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
12848 2011-07-18 Ulrich Drepper <drepper@gmail.com>
12850 * po/nl.po: Update from translation team.
12851 * po/sv.po: Likewise.
12853 2011-07-16 Roland McGrath <roland@hack.frob.com>
12855 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
12856 now disallowed by GCC.
12858 * configure.in (use-default-link): Default to yes if a test -shared
12859 link meets our qualifications.
12860 * configure: Regenerated.
12862 * config.make.in (output-format): New variable.
12863 * configure.in: Check for ld --print-output-format support.
12864 * configure: Regenerated.
12865 * Makerules ($(common-objpfx)format.lds)
12866 [$(output-format) != unknown]: Just use $(output-format),
12867 instead of the linker-script munging.
12869 2011-07-14 Roland McGrath <roland@hack.frob.com>
12871 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
12872 of $(common-objpfx)shlib.lds.
12873 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
12875 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
12876 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
12878 * configure.in (-z relro check): Adjust test code to add a large
12879 writable data section after it.
12880 * configure: Regenerated.
12882 2011-07-11 Roland McGrath <roland@hack.frob.com>
12884 * configure.in (-z relro check): Fix test code to make the variable
12886 * configure: Regenerated.
12888 2011-07-11 Ulrich Drepper <drepper@gmail.com>
12890 * nscd/nscd.h (struct traced_file): Define.
12891 (struct database_dyn): Remove inotify_descr, reset_res, and filename
12892 elements. Add traced_files.
12893 (inotify_fd): Declare.
12894 (register_traced_file): Declare.
12895 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
12896 (inotify_fd): Export.
12897 (resolv_conf_descr): Remove.
12898 (nscd_init): Move inotify descriptor creation to main.
12899 Don't register files for notification here.
12900 (register_traced_file): New function.
12901 (invalidate_cache): Don't use reset_res to determine whether to call
12902 res_init, go through the list of registered files.
12903 (main_loop_poll): The inotify descriptors are now stored in the
12904 structures for the traced files.
12905 (main_loop_epoll): Likewise
12906 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
12907 to __nss_disable_nscd.
12908 * nscd/cache.c (prune_cache): There is no single inotify descriptor
12909 for a database anymore. Check the records for all the registered
12911 * nss/Makefile (libnss_files-routines): Add files-init.
12912 (libnss_db-routines): Add db-init.
12913 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
12914 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
12915 * nss/nss_db/db-init.c: New file.
12916 * nss/nss_files/files-init.c: New file.
12917 * nss/nsswitch.c (nss_load_library): New function. Broken out of
12918 __nss_lookup_function.
12919 (__nss_lookup_function): Call nss_load_library.
12920 (nss_load_all_libraries): New function.
12921 (__nss_disable_nscd): Take parameter with callback function for files
12922 to register. Set is_nscd. Load all the DSOs for the NSS modules
12923 used for the cached services.
12924 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
12925 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
12926 options for features to all the files in nscd.
12928 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
12930 2011-07-10 Roland McGrath <roland@hack.frob.com>
12932 * csu/elf-init.c (__libc_csu_init): Comment typo.
12934 2011-07-09 Ulrich Drepper <drepper@gmail.com>
12936 * po/pl.po: Update from translation team.
12937 * po/ja.po: Likewise.
12938 * po/ru.po: Likewise.
12939 * po/ko.po: Likewise.
12940 * po/fr.po: Likewise.
12942 2011-07-09 Roland McGrath <roland@hack.frob.com>
12944 * configure.in (.ctors/.dtors header and trailer check):
12945 Use an empirical test on a built program.
12946 * configure: Regenerated.
12948 * configure.in (-z relro check): Use an empirical test on a built DSO.
12949 Detect, but do not require, on ia64.
12950 * configure: Regenerated.
12952 * configure.in (READELF): Find it with AC_CHECK_TOOL.
12953 Update tests that use readelf to use $READELF instead.
12954 * configure: Regenerated.
12956 2011-07-08 Ulrich Drepper <drepper@gmail.com>
12958 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
12959 if the result is not used.
12961 2011-07-05 Andreas Jaeger <aj@suse.de>
12964 * stdlib/tst-strtod.c: Add testcase.
12966 2011-07-07 Ulrich Drepper <drepper@gmail.com>
12968 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
12969 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
12970 The latter has a higher limit. Take additional parameter to pass to
12972 (__pathconf): Pass file to __statfs_link_max.
12973 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
12975 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
12979 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
12980 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12982 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
12983 (__statfs_filesize_max): Likewise.
12984 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
12986 2011-07-05 Andreas Jaeger <aj@suse.de>
12988 * resolv/res_comp.c (dn_skipname): Remove unused variable.
12990 2011-07-06 Marek Polacek <mpolacek@redhat.com>
12992 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
12994 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
12997 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
12999 * Makefile (strop-tests): Add strncat.
13000 * string/test-strncat.c: New file.
13002 2011-06-30 Marek Polacek <mpolacek@redhat.com>
13004 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
13006 2011-06-21 Andreas Jaeger <aj@suse.de>
13008 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
13009 Copy rule from iconvdata/Makefile.
13011 2011-07-06 Ulrich Drepper <drepper@gmail.com>
13014 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
13015 but no long options are defined, just return 'W'.
13017 2011-06-22 Marek Polacek <mpolacek@redhat.com>
13020 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
13022 2011-07-06 Ulrich Drepper <drepper@gmail.com>
13024 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
13026 (innetgr): Likewise.
13028 2011-07-05 Roland McGrath <roland@hack.frob.com>
13030 * config.make.in (install_root): Default to $(DESTDIR).
13032 2011-07-05 Ulrich Drepper <drepper@gmail.com>
13034 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
13036 2011-07-02 Roland McGrath <roland@hack.frob.com>
13038 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
13040 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
13041 containing directory rather than embedding absolute directory names.
13043 * scripts/check-local-headers.sh: Rewritten using awk.
13044 Match by word, not by line. Print error messages for matches.
13045 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
13047 * Makerules [shlib-lds-flags empty]:
13048 ($(common-objpfx)libc_pic.opts): New target.
13049 ($(common-objpfx)libc_pic.os.clean): New target.
13050 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
13052 * config.make.in (OBJCOPY): New variable.
13053 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
13054 * configure: Regenerated.
13056 * config.make.in (use-default-link): New variable.
13057 * configure.in (use_default_link): Grok --with-default-link to set it.
13058 * configure: Regenerated.
13059 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
13060 (shlib-lds, shlib-lds-flags): Define to empty.
13062 * Makerules (shlib-lds): New variable.
13063 (shlib-lds-flags): New variable.
13064 (build-shlib, build-moduile, build-module-asneeded): Use it.
13065 ($(common-objpfx)libc.so): Use $(shlib-lds).
13066 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
13067 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
13069 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
13070 DT_FLAGS/DT_FLAGS_1 with zero flags.
13072 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
13073 linker script munging.
13075 2011-07-02 Ulrich Drepper <drepper@gmail.com>
13077 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
13079 * crypt/sha512.c (sha512_process_block): Perform total addition using
13080 128-bit if possible.
13081 (__sha512_finish_ctx): Likewise.
13082 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
13084 * crypt/sha256.c (SWAP64): Define.
13085 (sha256_process_block): Perform total addition using 64-bit if
13087 (__sha256_finish_ctx): Likewise.
13089 2011-07-01 Ulrich Drepper <drepper@gmail.com>
13091 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
13092 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13093 * nscd/hstcache.c (cache_addhst): Likewise.
13094 * nscd/grpcache.c (cache_addgr): Likewise.
13095 * nscd/aicache.c (addhstaiX): Likewise
13096 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
13098 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
13100 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
13101 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13102 * nscd/hstcache.c (cache_addhst): Likewise.
13103 * nscd/grpcache.c (cache_addgr): Likewise.
13104 * nscd/aicache.c (addhstaiX): Likewise
13106 2011-07-01 Andreas Schwab <schwab@redhat.com>
13108 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
13109 domain only when needed.
13111 2011-06-30 Andreas Schwab <schwab@redhat.com>
13113 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
13114 is always restored.
13116 2011-06-29 Ulrich Drepper <drepper@gmail.com>
13118 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
13119 are re-adding the entry.
13120 * nscd/servicescache.c (cache_addserv): Likewise.
13122 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
13124 * sysdeps/generic/dl-irel.h: fix protection against multiple
13126 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
13128 2011-06-28 Ulrich Drepper <drepper@gmail.com>
13131 * malloc/memusage.sh: Fix quoting in message.
13132 * debug/xtrace.sh: Likewise.
13134 * configure.in: Remove support for --experimental-malloc option, make
13136 * config.make.in: Likewise.
13137 * malloc/Makefile: Likewise.
13139 2011-06-27 Andreas Schwab <schwab@redhat.com>
13141 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
13142 two-byte characters.
13144 2011-06-27 Roland McGrath <roland@hack.frob.com>
13146 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
13147 AC_CACHE_CHECK invocation.
13148 * configure: Regenerated.
13150 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
13152 2011-06-27 Ulrich Drepper <drepper@gmail.com>
13155 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
13156 bit from old_res_options.
13158 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
13160 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
13161 value type for setfct.
13163 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
13165 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13166 __gettimeofday instead of gettimeofday.
13168 2011-06-26 Ulrich Drepper <drepper@gmail.com>
13170 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
13172 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
13174 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
13176 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
13179 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13181 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13182 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13183 strcpy-sse2-unaligned strncpy-sse2-unaligned
13184 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
13185 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
13186 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
13187 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
13188 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
13189 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
13190 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
13191 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
13192 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
13193 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
13194 (STRCPY): Support SSE2 and SSSE3 versions.
13196 2011-06-24 Ulrich Drepper <drepper@gmail.com>
13199 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
13200 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
13201 kernels which artificially limit size of requests.
13203 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13205 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13206 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13207 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
13208 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
13209 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
13210 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
13211 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
13212 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
13213 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
13214 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
13215 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
13216 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
13217 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
13218 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
13219 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
13220 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13221 Enable unaligned load optimization for Intel Core i3, i5 and i7
13223 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
13225 (index_Fast_Unaligned_Load): Define.
13226 (HAS_FAST_UNALIGNED_LOAD): Define.
13228 2011-06-23 Marek Polacek <mpolacek@redhat.com>
13230 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
13232 2011-06-22 Ulrich Drepper <drepper@gmail.com>
13235 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
13236 until it is clear that the information is realy needed.
13237 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
13239 2011-06-22 Andreas Schwab <schwab@redhat.com>
13241 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
13243 2011-06-22 Ulrich Drepper <drepper@gmail.com>
13245 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13246 /sys/devices/system/cpu/online if it is usable.
13248 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
13249 reading the information from the /proc filesystem to once a second.
13251 2011-06-21 Andreas Jaeger <aj@suse.de>
13253 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
13254 NULL after inclusion of kernel headers.
13256 2011-06-21 Ulrich Drepper <drepper@gmail.com>
13258 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
13259 calls to internal_setent.
13262 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
13263 addresses using gethostbyname4_r ignore IPv4 addresses.
13265 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
13266 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
13268 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
13270 2011-06-20 David S. Miller <davem@davemloft.net>
13272 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
13274 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
13276 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
13277 (elf_irel): Use it.
13278 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
13279 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
13280 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
13281 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
13282 * sysdeps/x86_64/dl-irel.h: Likewise.
13284 * elf/dl-runtime.c: Use elf_ifunc_invoke.
13285 * elf/dl-sym.c: Likewise.
13287 2011-06-15 Ulrich Drepper <drepper@gmail.com>
13289 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
13290 need to dereference resplen2.
13292 2011-06-14 Andreas Schwab <schwab@redhat.com>
13294 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
13296 2011-06-15 Ulrich Drepper <drepper@gmail.com>
13298 * Makeconfig: Define vardbdir and inst_vardbdir.
13299 * nss/Makefile: Add rules to install db-Makefile.
13301 * nss/nss_db/db-XXX.c: Cleanup.
13303 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
13304 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
13306 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
13307 * nss/makedb.c: Implement -g option to specify that value strings
13308 are generated and should not be added to table iterated over for
13310 * nss/nss_db/db-initgroups.c: New file.
13312 * nss/getent.c: Add support for initgroups lookups through getgrouplist
13315 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
13316 (internal_getgrouplist): Adjust to name change.
13317 Update use_initgroups_entry if this is not the first call.
13318 * nss/databases.def: Add initgroups entry.
13320 * nss/makedb.c (compute_tables): Check result of multiple hash table
13321 sizes to minimize maximum chain length.
13323 2011-06-14 Ulrich Drepper <drepper@gmail.com>
13325 * Versions.def: Add entry for libnss_db.
13326 * shlib-versions: Likewise.
13327 * nss/Makefile: Add rules to build libnss_db.
13328 * nss/Versions: Add libnss_db information. Organize libnss_files
13330 * nss/db-Makefile: Add gshadow support. Change rules for the new
13331 makedb progra. Some minor improvements to generate smaller files.
13332 * nss/nss_db/nss_db.h: Move NSS database header data structures to
13334 * nss/makedb.c: ...here.
13335 Improve database format to be smaller and require less memory at
13337 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
13339 * nss/nss_db/db-netgrp.c: Likewise.
13340 * nss/nss_db/db-open.c: Likewise.
13341 * nss/nss_files/flies-XXX.x: Adjust comments.
13342 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
13343 * nss/nss_files/files-grp.c: Likewise.
13344 * nss/nss_files/files-hosts.c: Likewise.
13345 * nss/nss_files/files-network.c: Likewise.
13346 * nss/nss_files/files-proto.c: Likewise.
13347 * nss/nss_files/files-pwd.c: Likewise.
13348 * nss/nss_files/files-rpc.c: Likewise.
13349 * nss/nss_files/files-service.c: Likewise.
13350 * nss/nss_files/files-sgrp.c: Likewise.
13351 * nss/nss_files/files-spwd.c: Likewise.
13352 * nss/nss_db/db-alias.c: Removed.
13353 * nss/nss_db/dummy-db.h: Removed.
13355 2011-06-02 Ulrich Drepper <drepper@gmail.com>
13357 * nss/makedb.c: Rewritten to not use database library.
13358 * nss/Makefile: Update to build new makedb program.
13360 2011-06-14 Andreas Jaeger <aj@suse.de>
13362 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
13363 memset declaration.
13365 2011-06-10 Andreas Schwab <schwab@redhat.com>
13367 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
13370 2011-06-10 Roland McGrath <roland@hack.frob.com>
13372 * Makerules (shlib.lds): Fail if the linker script comes out empty.
13373 * elf/Makefile ($(objpfx)ld.so): Likewise.
13375 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
13376 Don't list ld.so twice in dependencies.
13378 * posix/bug-regex31.c: Include <stdlib.h>.
13380 * nscd/hstcache.c (cache_addhst): Remove unused variable.
13382 * nis/nss_compat/compat-spwd.c
13383 (getspent_next_nss_netgr): Remove unused variable.
13384 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
13386 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
13387 nonmembers" output to use the right array.
13389 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
13391 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
13393 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
13394 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
13395 * catgets/gencat.c (read_input_file): Likewise.
13396 * locale/programs/locarchive.c (enlarge_archive): Likewise.
13398 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
13399 variable definition inside #if's controlling its use.
13401 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
13403 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
13405 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
13407 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
13410 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
13412 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
13413 * configure: Regenerated.
13415 * Makerules: Revert last change.
13416 * elf/Makefile: Likewise.
13418 2011-06-09 Roland McGrath <roland@hack.frob.com>
13420 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
13421 * elf/Makefile ($(objpfx)librtld.os): Likewise.
13422 (reloc-link): Likewise.
13424 2011-06-09 Ulrich Drepper <drepper@gmail.com>
13426 * elf/Makefile: Add rules to build pldd.
13427 * elf/pldd.c: New file.
13428 * elf/pldd-xx.c: New file.
13430 2011-06-07 Ulrich Drepper <drepper@gmail.com>
13432 * version.h: Update for 2.15 development version.
13434 2011-06-07 David S. Miller <davem@davemloft.net>
13436 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
13438 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
13439 elf_machine_lazy_rel): Likewise.
13440 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
13441 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
13442 elf_machine_lazy_rel): Likewise.
13443 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
13444 dl_hwcap via passed in argument.
13445 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
13448 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13450 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
13452 2011-06-06 Roland McGrath <roland@hack.frob.com>
13455 * manual/fdl-1.1.texi: New file, verbatim from:
13456 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
13457 * manual/lgpl-2.1.texi: New file, verbatim from:
13458 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
13459 * manual/Makefile (licenses): New variable, list those new file names.
13461 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
13463 * manual/fdl.texi: File removed.
13464 * manual/lesser.texi: File removed.
13465 * manual/libc.texinfo (Copying, Documentation License):
13466 Use new @include file names, put @appendix directive before @include.
13468 2011-06-04 Jakub Jelinek <jakub@redhat.com>
13471 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
13472 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
13473 (mq_open): Add __NTH.
13475 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
13477 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13478 Assume Intel Core i3/i5/i7 processor if AVX is available.
13480 2011-05-31 Ulrich Drepper <drepper@gmail.com>
13482 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13485 2011-05-31 Andreas Schwab <schwab@redhat.com>
13487 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
13488 memory. Use alloca_account. Fix memory leak when retrying.
13490 2011-05-31 Ulrich Drepper <drepper@gmail.com>
13492 * version.h (RELEASE): Bump for 2.14 release.
13493 * include/features.h (__GLIBC_MINOR__): Bump to 14.
13495 * config.make.in (RANLIB): Remove entry.
13497 2011-05-30 Ulrich Drepper <drepper@gmail.com>
13499 * po/Makefile (po-sed-cmd): Add ksh to extensions.
13500 (libc.pot): Work around missing support for .ksh extension in xgettext.
13503 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
13504 if both request failed.
13505 (send_dg): In case of server errors clear resplen or *resplen2.
13508 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
13509 when there are multiple maps.
13510 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
13511 (_dl_fini): Remove test here.
13513 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
13515 2011-05-29 Ulrich Drepper <drepper@gmail.com>
13518 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
13519 bit from old_res_options.
13520 (gaih_inet): Likewise.
13523 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
13526 * resolv/res_init.c (res_setoptions): Make the code more compact.
13529 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
13533 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
13535 * malloc/malloc.h: Mark malloc hook variables as deprecated.
13538 * malloc/malloc.h: Declare malloc hook variables as volatile.
13540 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
13544 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
13545 raise in the comment.
13546 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
13547 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13548 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
13550 2011-05-28 Ulrich Drepper <drepper@gmail.com>
13553 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
13554 grow the buffers more if it already has to be sufficient.
13555 (build_wcs_upper_buffer): Likewise.
13556 * posix/regexec.c (check_matching): Likewise.
13557 (clean_state_log_if_needed): Likewise.
13558 (extend_buffers): Don't enlarge buffers beyond size of the input
13560 Patches mostly by Emil Wojak <emil@wojak.eu>.
13561 * posix/bug-regex32.c: New file.
13562 * posix/Makefile (tests): Add bug-regex32.
13564 * locale/findlocale.c (_nl_find_locale): Return right away if
13565 _nl_explode_name failed.
13566 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
13568 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
13570 * debug/xtrace.sh: Unify messages.
13571 * malloc/memusage.sh: Likewise.
13574 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
13575 time symbol from vDSO. Substitute with vsyscall if not available.
13576 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
13579 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
13580 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
13581 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
13582 Add sendmmsg and internal_sendmmsg.
13583 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
13584 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
13585 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
13587 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
13588 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
13589 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
13591 2011-05-27 Ulrich Drepper <drepper@gmail.com>
13594 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
13595 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
13597 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
13601 * iconvdata/Makefile (tests): Add bug-iconv9.
13602 * iconvdata/bug-iconv9.c: New file.
13604 2011-05-27 Andreas Schwab <schwab@redhat.com>
13607 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
13609 2011-05-25 Jakub Jelinek <jakub@redhat.com>
13611 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13612 (struct user_regs_struct): Change intcs field back to cs.
13614 2011-05-25 Ulrich Drepper <drepper@gmail.com>
13616 * po/ja.po: Update from translation team.
13618 2011-05-23 Ulrich Drepper <drepper@gmail.com>
13621 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
13622 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
13624 2011-05-20 Andreas Schwab <schwab@redhat.com>
13626 * stdlib/longlong.h: Update from GCC.
13628 2011-05-23 Andreas Schwab <schwab@redhat.com>
13630 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
13632 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
13633 Add parameter name.
13634 (__sysconf): Pass it down.
13636 2011-05-22 Ulrich Drepper <drepper@gmail.com>
13639 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
13641 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
13642 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
13643 add in in __libc_use_alloca calls. Adjust callers.
13644 (glob): Use malloc in some situations.
13646 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
13647 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
13650 2011-05-21 Ulrich Drepper <drepper@gmail.com>
13652 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
13653 and CLOCK_BOOTTIME_ALARM.
13656 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
13659 * string/_strerror.c (__strerror_r): Print negative errors as signed
13663 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
13664 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
13665 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
13667 * configure.in: Fix typo in redirection and correct removal of test
13668 files in two cases.
13671 * locale/setlocale.c (new_composite_name): Fix test to check for
13672 identical name of all categories.
13675 * libio/filedoalloc.c (local_isatty): New function.
13676 (_IO_file_doallocate): Use local_isatty.
13677 * stdio-common/perror.c (perror): In case a new stream is used
13678 forward the stream error.
13679 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
13682 2011-05-20 Ulrich Drepper <drepper@gmail.com>
13685 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
13687 * include/alloca.h (extend_alloca_account): Define.
13690 * posix/regex.h: Fix comments with documentation of user-accessible
13691 fields after compilation and describe correct free'ing of pattern
13692 after re_compile_pattern.
13693 Patch by Reuben Thomas <rrt@sc3d.org>.
13695 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
13697 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
13698 and -mno-altivec to prevent the compiler from using Altivec and/or
13699 VSX instructions when the corresponding registers are not available.
13701 2011-05-19 Andreas Schwab <schwab@redhat.com>
13703 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
13705 2011-05-19 Ulrich Drepper <drepper@gmail.com>
13707 * libio/freopen.c (freopen): Use __dup2, not dup2.
13708 * libio/freopen64.c (freopen64): Likewise.
13710 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
13713 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
13714 * math/Makefile (tests): Add test-powl.
13715 (CFLAGS-test-powl.c): Define.
13716 * math/test-powl.c: New file.
13718 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
13720 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
13722 2011-05-17 Ulrich Drepper <drepper@gmail.com>
13725 * iconvdata/gb18030.c: Update to GB18020-2005.
13727 2011-05-16 Ulrich Drepper <drepper@gmail.com>
13729 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
13730 RE_SYNTAX_POSIX_AWK): Update to match recent development.
13731 Patch by Aharon Robbins <arnold@skeeve.com>.
13734 * stdlib/putenv.c (putenv): Don't always create copy of the variable
13738 * misc/pselect.c (__pselect): Handle timeout value errors hidden
13739 through underflows.
13742 * misc/error.c (error_at_line): Ensure file_name and old_file_name
13743 point to strings before performing equality test for error_one_per_line
13747 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
13750 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13751 (struct user_fpregs_struct): Avoid __uint*_t types.
13754 * malloc/mtrace.c (tr_where): Add additional parameter to point to
13755 symbol info. Use it instead of calling _dl_addr locally.
13756 (lock_and_info): New function.
13757 (tr_freehook): Call lock_and_info and pass symbol info as additional
13758 parameter to tr_where.
13759 (tr_mallochook): Likewise.
13760 (tr_reallochook): Likewise.
13761 (tr_memalignhook): Likewise.
13763 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
13764 used and couldn't be at all thread-safe.
13766 2011-05-15 Ulrich Drepper <drepper@gmail.com>
13768 * libio/freopen.c (freopen): Don't close old file descriptor
13769 before the new one is opened. Instead dup the new file descriptor
13770 to the old one after the new stream is created.
13771 * libio/freopen64.c (freopen64): Likewise.
13772 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
13773 * libio/fileops.c (_IO_new_file_close_it): Handle new
13774 _IO_FLAGS2_NOCLOSE flag.
13775 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
13776 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
13777 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
13778 _IO_FLAGS2_NOCLOSE flag.
13779 * include/unistd.h: Add hidden_proto for dup3.
13780 Define __have_dup3.
13781 * io/dup3.c: Define hidden symbol.
13782 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
13785 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
13786 when an incomplete long option is used.
13787 * posix/tst-getopt_long1.c: New file.
13788 * posix/Makefile (tests): Add tst-getopt_long1.
13791 * scripts/config.guess: Update from autoconf-2.68.
13792 * scripts/config.sub: Likewise.
13795 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
13797 (has_cpuclock): ...this. New function.
13798 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
13799 macro here based on has_cpuclock code.
13802 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13803 First byte (not low byte) is now always NUL.
13804 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
13806 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13807 Use non-cancelable interfaces.
13810 * locale/iso-639.def: Add entry for Sorani.
13813 * include/stdlib.h: Move include protection to the right place.
13814 Define abort_msg_s. Declare __abort_msg with it.
13815 * stdlib/abort.c (__abort_msg): Adjust type.
13816 * assert/assert.c (__assert_fail_base): New function. Majority
13817 of code from __assert_fail. Allocate memory for __abort_msg with
13819 (__assert_fail): Now call __assert_fail_base.
13820 * assert/assert-perr.c: Remove bulk of implementation. Use
13821 __assert_fail_base.
13822 * include/assert.hL Declare __assert_fail_base.
13823 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
13825 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
13827 2011-05-14 Ulrich Drepper <drepper@gmail.com>
13831 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
13832 until all modules are registered in the DTV.
13833 * elf/Makefile: Add rules to build and run tst-tls19.
13834 * elf/tst-tls19.c: New file.
13835 * elf/tst-tls19mod1.c: New file.
13836 * elf/tst-tls19mod2.c: New file.
13837 * elf/tst-tls19mod3.c: New file.
13838 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
13841 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
13845 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
13846 two-byte sequence errors.
13847 * iconvdata/Makefile (tests): Add bug-iconv8.
13848 * iconvdata/bug-iconv8.c: New file.
13851 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
13854 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
13857 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
13858 (dummy_getcfa): New function.
13859 (init): Get _Unwind_GetCFA address, use dummy if not found.
13860 (backtrace_helper): In recursion check, also check whether CFA changes.
13861 (__backtrace): Completely initialize arg.
13863 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
13864 storing incomplete byte sequence in state object. Avoid testing for
13865 guaranteed too small input if we know there is enough data available.
13867 2011-05-11 Andreas Schwab <schwab@redhat.com>
13869 * Makeconfig (+link-pie): Indent.
13870 * Rules (binaries-pie): Define if $(have-fpie) and
13872 (binaries-shared): Also filter out $(binaries-pie).
13873 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
13874 * nscd/Makefile (others-pie): Add nscd.
13875 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
13876 ($(objpfx)nscd): Remove command override.
13877 * login/Makefile (others-pie): Add pt_chown.
13878 ($(objpfx)pt_chown): Remove command override.
13879 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
13880 remove command overrides.
13882 2011-05-13 Ulrich Drepper <drepper@gmail.com>
13884 * libio/tst_putwc.c: Fix error messages.
13887 * libio/fileops.c (_IO_new_file_close_it): Always flush when
13888 currently writing and seek to current position when not.
13889 * libio/Makefile (tests): Add bug-fclose1.
13890 * libio/bug-fclose1.c: New file.
13892 2011-05-12 Ulrich Drepper <drepper@gmail.com>
13895 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
13896 don't set DF_1_NODELETE here.
13897 (do_lookup_x): When entering new entry test for copy relocation
13898 and if necessary set DF_1_NODELETE flag.
13899 * elf/tst-unique4.cc: New file.
13900 * elf/tst-unique4.h: New file.
13901 * elf/tst-unique4lib.cc: New file.
13902 * elf/Makefile: Add rules to build and run tst-unique4.
13903 Patch by Piotr Bury <pbury@goahead.com>.
13905 2011-05-11 Ulrich Drepper <drepper@gmail.com>
13908 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
13911 * misc/mntent_r.c (addmntent): Flush the stream after the output
13914 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
13915 (is_trusted_path_normalize): Skip initial colon. Append slash
13916 to empty buffer. Duplicate is_trusted_path code but allow
13917 constructed patch to be prefix.
13918 (is_dst): Allow $ORIGIN followed by /.
13919 (_dl_dst_substitute): Correct clearing of check_for_trusted.
13920 Correct testing of result of is_trusted_path_normalize
13921 (decompose_rpath): Fix warning.
13923 2011-05-10 Ulrich Drepper <drepper@gmail.com>
13926 * grp/initgroups.c (internal_getgrouplist): When we found the service
13927 list through the initgroups entry in nsswitch.conf do not always
13928 continue on a successful lookup. Don't always use the
13929 __nss_group_database value if it is set.
13930 * nss/nsswitch.conf (initgroups): Change action for successful db
13931 lookup to continue for compatibility.
13933 2011-05-09 Ulrich Drepper <drepper@gmail.com>
13936 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
13938 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
13940 * iconvdata/tst-tables.sh: Likewise.
13941 * iconvdata/cp770.c: New file.
13942 * iconvdata/cp771.c: New file.
13943 * iconvdata/cp772.c: New file.
13944 * iconvdata/cp773.c: New file.
13945 * iconvdata/cp774.c: New file.
13946 * iconvdata/testdata/CP770: New file.
13947 * iconvdata/testdata/CP770..UTF8: New file.
13948 * iconvdata/testdata/CP771: New file.
13949 * iconvdata/testdata/CP771..UTF8: New file.
13950 * iconvdata/testdata/CP772: New file.
13951 * iconvdata/testdata/CP772..UTF8: New file.
13952 * iconvdata/testdata/CP773: New file.
13953 * iconvdata/testdata/CP773..UTF8: New file.
13954 * iconvdata/testdata/CP774: New file.
13955 * iconvdata/testdata/CP774..UTF8: New file.
13957 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
13959 * iconvdata/gen-8bit-gap.sh: Likewise.
13960 * iconvdata/gen-8bit.sh: Likewise.
13962 * locale/iso-639.def: Add ary entry.
13965 * locale/C-translit.h.in: Add U20A1 transliteration.
13968 * locale/iso-639.def: Add wae entry.
13969 Patch by Kevin Bortis <bortis@translate-wae.ch>.
13972 * locale/programs/localedef.c (construct_output_path): Use ssize_t
13976 * locale/C-translit.h.in: Add entry for U20B9.
13977 Patch by pravin.d.s@gmail.com.
13979 2011-05-08 Ulrich Drepper <drepper@gmail.com>
13982 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
13983 ENAMETOOLONG use generic getcwd.
13984 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
13985 in rtld. Use *stat64.
13986 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
13987 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
13988 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
13989 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
13990 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
13991 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
13992 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
13993 __fstatat64 macros.
13994 * include/dirent.h: Add libc_hidden_proto for rewinddir.
13995 * dirent/rewinddir.c: Add libc_hidden_def.
13996 * sysdeps/mach/hurd/rewinddir.c: Likewise.
13997 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
13999 * include/dirent.h (__alloc_dir): Add flags parameter.
14000 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
14001 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
14003 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
14004 from fdopendir if O_CLOEXEC is already set.
14006 2011-03-15 Alan Modra <amodra@gmail.com>
14008 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
14009 l_tls_firstbyte_offset non-zero. Save padding offset in
14010 l_tls_firstbyte_offset for later use.
14011 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
14012 freeing static tls block.
14014 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
14016 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
14017 where #ifdef was intended. The intent is to prevent ARG_MAX from
14018 being defined by the kernel headers.
14020 2011-05-07 Ulrich Drepper <drepper@gmail.com>
14023 * resolv/resolv.h: Define RES_NOTLDQUERY.
14024 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
14025 no-tld-query and set RES_NOTLDQUERY.
14026 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
14027 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
14028 modern BIND to search name as TLD unless forbidden.
14030 2011-05-07 Petr Baudis <pasky@suse.cz>
14031 Ulrich Drepper <drepper@gmail.com>
14034 * elf/dl-load.c (fillin_rpath): Move trusted path check...
14035 (is_trusted_path): ...to here.
14036 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
14037 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
14038 using is_trusted_path_normalize() in setuid scripts.
14040 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14042 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
14043 __BEGIN/__END_DECLS.
14045 2011-05-06 Ulrich Drepper <drepper@gmail.com>
14047 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
14048 NSS_STATUS_NOTFOUND if no record was found.
14050 2011-05-05 Andreas Schwab <schwab@redhat.com>
14052 * sunrpc/Makefile (headers): Add rpc/netdb.h.
14053 (headers-not-in-tirpc): Remove rpc/netdb.h
14054 * resolv/netdb.h: Revert last change.
14056 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14058 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
14059 circular dependency between libgcc.a and libc.a.
14061 2011-05-05 Andreas Schwab <schwab@redhat.com>
14063 * resolv/netdb.h: Don't include <rpc/netdb.h>.
14064 * nis/Makefile: Don't install rpcsvc/*.
14065 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
14066 instead of <rpc/types.h>.
14067 (MAXHOSTNAMELEN): Define.
14069 2011-05-03 Andreas Schwab <schwab@redhat.com>
14071 * elf/ldconfig.c (add_dir): Don't crash on empty path.
14073 2011-04-28 Maciej Babinski <mbabinski@google.com>
14076 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
14077 gethostbyname4_r when IPv6 results are possible.
14079 2011-05-02 Ulrich Drepper <drepper@gmail.com>
14082 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
14083 _PC_PIPE_BUF handling.
14085 2011-04-30 Bruno Haible <bruno@clisp.org>
14088 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
14089 * resolv/netdb.h (getnameinfo): Change type of flags parameter
14091 * inet/getnameinfo.c (getnameinfo): Likewise.
14093 2011-04-29 Ulrich Drepper <drepper@gmail.com>
14095 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
14096 to groups setting in database lookup.
14097 * nss/nsswitch.conf: Add initgroups entry.
14099 2011-04-22 Ulrich Drepper <drepper@gmail.com>
14102 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
14104 Patch by Eric Blake <eblake@redhat.com>.
14106 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
14108 * sunrpc/Makefile (need-export-routines): Add svc_run.
14109 (routines): Remove svc_run.
14110 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
14111 * sunrpc/clnt_perr.c (clnt_perrno): Export.
14112 * sunrpc/svc_run.c (svc_run): Likewise.
14113 * sunrpc/svc_udp.c (svcudp_create): Likewise.
14115 2011-04-21 Ulrich Drepper <drepper@gmail.com>
14117 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
14118 problem in reallocation in last patch.
14120 2011-04-20 Ulrich Drepper <drepper@gmail.com>
14122 * sunrpc/Makefile: Move inclusion of Rules.
14124 2011-04-19 Ulrich Drepper <drepper@gmail.com>
14126 * nss/nss_files/files-initgroups.c: New file.
14127 * nss/Makefile (libnss_files-routines): Add files-initgroups.
14128 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
14129 _nss_files_initgroups_dyn.
14131 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
14133 * elf/elf.h (R_ARM_IRELATIVE): Define.
14135 2011-04-19 Ulrich Drepper <drepper@gmail.com>
14137 * po/ru.po: Update from translation team.
14139 2011-04-17 Ulrich Drepper <drepper@gmail.com>
14141 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
14144 2011-02-06 Mike Frysinger <vapier@gentoo.org>
14147 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
14148 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
14149 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
14150 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14151 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14153 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
14155 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
14157 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14158 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14159 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14161 2011-04-17 Ulrich Drepper <drepper@gmail.com>
14164 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
14166 * stdlib/bug-getcontext.c: New file.
14167 * stdlib/Makefile: Add rules to build and run bug-getcontext.
14169 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14171 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
14172 instructions into .machine "z9-109".
14173 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
14174 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
14176 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14178 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
14179 between environment variables and auxiliary vector.
14181 2011-04-16 Ulrich Drepper <drepper@gmail.com>
14183 * Makefile: Add rules to build linkobj/libc.so.
14184 * include/libc-symbols.h: Define libc_hidden_nolink.
14185 * include/rpc/auth.h: Mark functions which are to be hidden.
14186 * include/rpc/auth_des.h: Likewise.
14187 * include/rpc/auth_unix.h: Likewise.
14188 * include/rpc/clnt.h: Likewise.
14189 * include/rpc/des_crypt.h: Likewise.
14190 * include/rpc/key_prot.h: Likewise.
14191 * include/rpc/pmap_clnt.h: Likewise.
14192 * include/rpc/pmap_prot.h: Likewise.
14193 * include/rpc/pmap_rmt.h: Likewise.
14194 * include/rpc/rpc_msg.h: Likewise.
14195 * include/rpc/svc.h: Likewise.
14196 * include/rpc/svc_auth.h: Likewise.
14197 * include/rpc/xdr.h: Likewise.
14198 * nis/Makefile: Link all DSOs against linkobj/libc.so.
14199 * nss/Makefile: Likewise.
14200 * sunrpc/Makefile: Don't install headers. Build library with normal
14201 entry points. Don't build rpcinfo. Link RPC tests appropriately.
14202 * sunrpc/auth_des.c: Hide exported symbols by default, export some
14203 for the compat linking library. Remove use of INTDEF/INTUSE.
14204 * sunrpc/auth_none.c: Likewise.
14205 * sunrpc/auth_unix.c: Likewise.
14206 * sunrpc/authdes_prot.c: Likewise.
14207 * sunrpc/authuxprot.c: Likewise.
14208 * sunrpc/clnt_gen.c: Likewise.
14209 * sunrpc/clnt_perr.c: Likewise.
14210 * sunrpc/clnt_raw.c: Likewise.
14211 * sunrpc/clnt_simp.c: Likewise.
14212 * sunrpc/clnt_tcp.c: Likewise.
14213 * sunrpc/clnt_udp.c: Likewise.
14214 * sunrpc/clnt_unix.c: Likewise.
14215 * sunrpc/des_crypt.c: Likewise.
14216 * sunrpc/des_soft.c: Likewise.
14217 * sunrpc/get_myaddr.c: Likewise.
14218 * sunrpc/key_call.c: Likewise.
14219 * sunrpc/key_prot.c: Likewise.
14220 * sunrpc/netname.c: Likewise.
14221 * sunrpc/pm_getmaps.c: Likewise.
14222 * sunrpc/pm_getport.c: Likewise.
14223 * sunrpc/pmap_clnt.c: Likewise.
14224 * sunrpc/pmap_prot.c: Likewise.
14225 * sunrpc/pmap_prot2.c: Likewise.
14226 * sunrpc/pmap_rmt.c: Likewise.
14227 * sunrpc/publickey.c: Likewise.
14228 * sunrpc/rpc_cmsg.c: Likewise.
14229 * sunrpc/rpc_common.c: Likewise.
14230 * sunrpc/rpc_dtable.c: Likewise.
14231 * sunrpc/rpc_prot.c: Likewise.
14232 * sunrpc/rpc_thread.c: Likewise.
14233 * sunrpc/rtime.c: Likewise.
14234 * sunrpc/svc.c: Likewise.
14235 * sunrpc/svc_auth.c: Likewise.
14236 * sunrpc/svc_authux.c: Likewise.
14237 * sunrpc/svc_raw.c: Likewise.
14238 * sunrpc/svc_run.c: Likewise.
14239 * sunrpc/svc_simple.c: Likewise.
14240 * sunrpc/svc_tcp.c: Likewise.
14241 * sunrpc/svc_udp.c: Likewise.
14242 * sunrpc/svc_unix.c: Likewise.
14243 * sunrpc/svcauth_des.c: Likewise.
14244 * sunrpc/xcrypt.c: Likewise.
14245 * sunrpc/xdr.c: Likewise.
14246 * sunrpc/xdr_array.c: Likewise.
14247 * sunrpc/xdr_float.c: Likewise.
14248 * sunrpc/xdr_intXX_t.c: Likewise.
14249 * sunrpc/xdr_mem.c: Likewise.
14250 * sunrpc/xdr_rec.c: Likewise.
14251 * sunrpc/xdr_ref.c: Likewise.
14252 * sunrpc/xdr_sizeof.c: Likewise.
14253 * sunrpc/xdr_stdio.c: Likewise.
14255 2011-04-10 Ulrich Drepper <drepper@gmail.com>
14258 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
14259 * sysdeps/ia64/dl-tls.h: Likewise.
14260 * sysdeps/powerpc/dl-tls.h: Likewise.
14261 * sysdeps/s390/dl-tls.h: Likewise.
14262 * sysdeps/sh/dl-tls.h: Likewise.
14263 * sysdeps/sparc/dl-tls.h: Likewise.
14264 * sysdeps/x86_64/dl-tls.h: Likewise.
14265 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
14267 2011-03-14 Andreas Schwab <schwab@redhat.com>
14269 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
14270 rpath element also skip the following colon.
14271 (expand_dynamic_string_token): Add is_path parameter and pass
14272 down to DL_DST_REQUIRED and _dl_dst_substitute.
14273 (decompose_rpath): Call expand_dynamic_string_token with
14274 non-zero is_path. Ignore empty rpaths.
14275 (_dl_map_object_from_fd): Call expand_dynamic_string_token
14278 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
14280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
14283 2011-04-09 Ulrich Drepper <drepper@gmail.com>
14286 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
14287 Patch by Filipe David Manana <fdmanana@apache.org>.
14289 2011-04-07 Andreas Schwab <schwab@redhat.com>
14291 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
14292 Maintain aligned stack.
14293 (CHECK_RSP): Remove unused macro.
14295 2011-04-03 Ulrich Drepper <drepper@gmail.com>
14297 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
14298 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
14300 2011-04-02 Ulrich Drepper <drepper@gmail.com>
14302 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
14304 * include/features.h: Mention __USE_XOPEN2K8 in comment.
14306 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
14309 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
14310 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
14311 * sysdeps/x86_64/memmove.c: New file.
14312 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
14313 (memcpy): Renamed to ...
14314 (__new_memcpy): This.
14315 (memcpy): Provide GLIBC_2_14 memcpy.
14316 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
14317 (memcpy): Provide GLIBC_2_2_5 memcpy.
14319 2011-04-01 Ulrich Drepper <drepper@gmail.com>
14322 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
14324 2011-03-30 Andreas Schwab <schwab@redhat.com>
14326 * misc/syncfs.c: New file.
14327 * misc/Makefile (routines): Add syncfs.
14328 * posix/unistd.h: Declare syncfs.
14329 * sysdeps/unix/syscalls.list: Add syncfs.
14331 2011-04-01 Andreas Schwab <schwab@redhat.com>
14333 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
14335 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14336 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14337 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14338 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14339 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14340 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
14341 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14343 2011-04-01 Ulrich Drepper <drepper@gmail.com>
14345 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
14346 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14347 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
14348 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14349 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14350 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14351 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14353 * io/Makefile: Compile fallocate.c, fallocate64.c, and
14354 sync_file_range.c with -fexceptions.
14355 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
14356 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
14357 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
14358 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
14359 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
14360 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
14361 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
14362 sync_file_range as cancellation point
14363 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
14364 now a wrapper around __call_sync_file_range with cancellation handling.
14365 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
14366 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
14367 function name to __call_sync_file_range.
14368 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
14369 Add call_sync_file_range.
14371 2011-04-01 Andreas Schwab <schwab@redhat.com>
14373 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14376 2011-04-01 Ulrich Drepper <drepper@gmail.com>
14378 * iconv/iconv.h: Fix typo in comment.
14379 * io/fcntl.h: Likewise.
14380 * libio/stdio.h: Likewise.
14381 * posix/spawn.h: Likewise.
14382 * posix/unistd.h: Likewise.
14383 * stdlib/stdlib.h: Likewise.
14384 * time/time.h: Likewise.
14385 * wcsmbs/wchar.h: Likewise.
14387 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
14388 open_by_handle): Add.
14389 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
14390 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
14391 Augment a few comments.
14392 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14393 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14394 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14395 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14396 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14397 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
14400 * io/fcntl.h (AT_EMPTY_PATH): Define.
14402 2011-03-30 Ulrich Drepper <drepper@gmail.com>
14404 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
14405 * sysdeps/unix/sysv/linux/bits/time.h: New file.
14406 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
14408 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
14409 * Versions.def: Add GLIBC_2.14.
14410 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
14413 2011-03-22 Ulrich Drepper <drepper@gmail.com>
14415 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
14417 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14419 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
14422 * string/test-strncmp.c (do_page_test): New function.
14423 (check2): Likewise.
14424 (test_main): Call check2.
14425 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
14427 2011-03-20 Ulrich Drepper <drepper@gmail.com>
14430 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
14431 Handle cache information in CPU leaf 4.
14432 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14434 2011-03-18 Ulrich Drepper <drepper@gmail.com>
14437 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
14438 character representation.
14439 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
14441 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
14443 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
14444 END(__isnan) to END(__isnanf) to match function entry point/label
14445 EALIGN(__isnanf,...).
14447 2011-03-10 Jakub Jelinek <jakub@redhat.com>
14449 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
14451 2011-03-10 Ulrich Drepper <drepper@gmail.com>
14454 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
14455 copy from the symbol referenced in the relocation to initialize the
14457 Patch by Piotr Bury <pbury@goahead.com>.
14458 * elf/Makefile: Add rules to build and tst-unique3.
14459 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
14460 * elf/tst-unique3.cc: New file.
14461 * elf/tst-unique3.h: New file.
14462 * elf/tst-unique3lib.cc: New file.
14463 * elf/tst-unique3lib2.cc: New file.
14465 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
14467 2011-03-10 Mike Frysinger <vapier@gentoo.org>
14469 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
14470 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
14473 2011-03-06 Ulrich Drepper <drepper@gmail.com>
14475 * elf/dl-load.c (_dl_map_object): If we are looking for the first
14476 to-be-loaded object along a path to loader is ld.so.
14478 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14479 Ulrich Drepper <drepper@gmail.com>
14481 * sysdeps/x86_64/memset.S: After aligning destination, code
14482 branches to different locations depending on the value of
14483 misalignment, when multiarch is enabled. Fix this.
14485 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14487 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
14488 Set _x86_64_preferred_memory_instruction for AMD processsors.
14489 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14490 Set bit_Prefer_SSE_for_memop for AMD processors.
14492 2011-03-04 Ulrich Drepper <drepper@gmail.com>
14494 * libio/fmemopen.c (fmemopen): Optimize a bit.
14496 2011-03-03 Andreas Schwab <schwab@redhat.com>
14498 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
14500 2011-03-03 Roland McGrath <roland@redhat.com>
14502 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
14504 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
14506 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
14507 __bzero_ultra1 instead of __memset_ultra1.
14509 2011-02-23 Andreas Schwab <schwab@redhat.com>
14510 Ulrich Drepper <drepper@gmail.com>
14513 * include/link.h (struct link_map): Add l_orig_initfini.
14514 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
14515 returning unsuccessfully.
14516 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
14517 close of a file loaded at startup, restore the original l_initfini
14519 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
14520 list, store the pointer.
14521 * elf/Makefile ($(objpfx)noload-mem): New rule.
14522 (noload-ENV): Define.
14523 (tests): Add $(objpfx)noload-mem.
14524 * elf/noload.c: Include <memcheck.h>.
14525 (main): Call mtrace. Close all opened handles.
14527 2011-02-17 Andreas Schwab <schwab@redhat.com>
14530 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
14531 dependencies are missing.
14533 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
14535 Fix __if_freereq crash: Unlike the generic version which uses free,
14537 * sysdeps/mach/hurd/ifreq.h: New file.
14539 2011-01-27 Petr Baudis <pasky@suse.cz>
14540 Ulrich Drepper <drepper@gmail.com>
14543 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
14544 to extend_alloca().
14545 * stdio-common/bug23.c: New file.
14546 * stdio-common/Makefile (tests): Add bug23.
14548 2010-09-28 Andreas Schwab <schwab@redhat.com>
14549 Ulrich Drepper <drepper@gmail.com>
14552 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
14553 before performing relro protection. At old place add assertion
14554 to make sure nothing changed.
14556 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
14557 Glauber de Oliveira Costa <glommer@gmail.com>
14559 * elf/elf.h: Add new ARM TLS relocs.
14561 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
14563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14564 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
14566 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
14568 * sysdeps/wordsize-64/tst-writev.c: New file.
14570 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
14572 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
14573 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
14574 insns in _dl_start to prevent a TOC reference before relocs are
14577 2011-02-15 Ulrich Drepper <drepper@gmail.com>
14580 * Makeconfig: Remove RANLIB definition.
14581 * Makerules: Don't use RANLIB.
14582 * aclocal.m4: Remove ranlib test.
14583 * configure.in: No need to check for ranlib.
14584 * elf/rtld-Rules: Don't use RANLIB.
14586 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14588 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
14590 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
14591 inclusion protection macro.
14593 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
14594 SIGRTMIN and SIGRTMAX and print information in that case only when
14595 SIGRTMIN is defined.
14597 2011-02-11 Jakub Jelinek <jakub@redhat.com>
14599 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
14600 arginfo fn returning -1.
14602 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
14603 and thousands string is zero terminated.
14605 2011-02-03 Andreas Schwab <schwab@redhat.com>
14607 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
14608 sysdeps/unix/sysv/linux/bits/socket.h.
14610 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
14612 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
14613 (__CPU_COUNT): Remove old macros.
14614 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
14615 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
14616 (__CPU_ALLOC, __CPU_FREE): Add macros.
14617 (__sched_cpualloc, __sched_cpufree): Add declarations.
14619 2011-02-05 Ulrich Drepper <drepper@gmail.com>
14621 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
14622 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
14623 * nscd/aicache.c (addhstaiX): Return timeout of added value.
14624 (readdhstai): Return value of addhstaiX call.
14625 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
14626 (addgrbyX): Return value returned by cache_addgr.
14627 (readdgrbyname): Return value returned by addgrbyX.
14628 (readdgrbygid): Likewise.
14629 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
14630 (addpwbyX): Return value returned by cache_addpw.
14631 (readdpwbyname): Return value returned by addhstbyX.
14632 (readdpwbyuid): Likewise.
14633 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
14634 (addservbyX): Return value returned by cache_addserv.
14635 (readdservbyname): Return value returned by addservbyX:
14636 (readdservbyport): Likewise.
14637 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
14638 (addhstbyX): Return value returned by cache_addhst.
14639 (readdhstbyname): Return value returned by addhstbyX.
14640 (readdhstbyaddr): Likewise.
14641 (readdhstbynamev6): Likewise.
14642 (readdhstbyaddrv6): Likewise.
14643 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
14644 (readdinitgroups): Return value returned by addinitgroupsX.
14645 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
14646 (prune_cache): Keep track of timeout value of re-added entries.
14647 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
14648 * nscd/nscd.h: Adjust prototypes of readd* functions.
14650 2011-02-04 Roland McGrath <roland@redhat.com>
14652 * nis/nis_server.c (nis_servstate): Use the right name for 0.
14653 (nis_stats): Likewise.
14654 * nis/nis_modify.c (nis_modify): Likewise.
14655 * nis/nis_remove.c (nis_remove): Likewise.
14656 * nis/nis_add.c (nis_add): Likewise.
14658 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
14660 * posix/fnmatch_loop.c: Add some consts.
14662 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
14664 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
14667 * config.make.in (config-cflags-novzeroupper): Define.
14668 * configure.in: Substitute libc_cv_cc_novzeroupper.
14669 * elf/Makefile (AVX-CFLAGS): Define.
14670 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
14671 (CFLAGS-tst-auditmod4a.c): Likewise.
14672 (CFLAGS-tst-auditmod4b.c): Likewise.
14673 (CFLAGS-tst-auditmod6b.c): Likewise.
14674 (CFLAGS-tst-auditmod6c.c): Likewise.
14675 (CFLAGS-tst-auditmod7b.c): Likewise.
14676 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
14678 2011-02-02 Ulrich Drepper <drepper@gmail.com>
14680 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
14681 function to the callback.
14682 Patch partly by Jiri Olsa <jolsa@redhat.com>.
14684 2011-02-02 Andreas Schwab <schwab@redhat.com>
14686 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
14689 2011-01-19 Ulrich Drepper <drepper@gmail.com>
14692 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
14694 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
14696 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
14699 * elf/Makefile: Add rules to build and run new test.
14700 * elf/tst-initorder.c: New file.
14701 * elf/tst-initorder.exp: New file.
14702 * elf/tst-initordera1.c: New file.
14703 * elf/tst-initordera2.c: New file.
14704 * elf/tst-initordera3.c: New file.
14705 * elf/tst-initordera4.c: New file.
14706 * elf/tst-initorderb1.c: New file.
14707 * elf/tst-initorderb2.c: New file.
14708 * elf/tst-order-a1.c: New file.
14709 * elf/tst-order-a2.c: New file.
14710 * elf/tst-order-a3.c: New file.
14711 * elf/tst-order-a4.c: New file.
14712 * elf/tst-order-b1.c: New file.
14713 * elf/tst-order-b2.c: New file.
14714 * elf/tst-order-main.c: New file.
14715 New test case by George Gensure <werkt0@gmail.com>.
14717 2010-10-01 Andreas Schwab <schwab@redhat.com>
14719 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14720 decoding ACE if AI_CANONIDN.
14722 2011-01-18 Ulrich Drepper <drepper@gmail.com>
14724 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
14726 2011-01-17 Ulrich Drepper <drepper@gmail.com>
14728 * version.h (RELEASE): Bump for 2.13 release.
14729 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
14731 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
14733 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
14735 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
14736 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
14737 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
14738 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
14739 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
14740 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
14742 * posix/getconf.c: Update copyright year.
14743 * catgets/gencat.c: Likewise.
14744 * csu/version.c: Likewise.
14745 * debug/catchsegv.sh: Likewise.
14746 * debug/xtrace.sh: Likewise.
14747 * elf/ldconfig.c: Likewise.
14748 * elf/ldd.bash.in: Likewise.
14749 * elf/sprof.c (print_version): Likewise.
14750 * iconv/iconv_prog.c: Likewise.
14751 * iconv/iconvconfig.c: Likewise.
14752 * locale/programs/locale.c: Likewise.
14753 * locale/programs/localedef.c: Likewise.
14754 * malloc/memusage.sh: Likewise.
14755 * malloc/mtrace.pl: Likewise.
14756 * nscd/nscd.c (print_version): Likewise.
14757 * nss/getent.c: Likewise.
14759 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
14760 PF_CAIF, and PF_ALG.
14761 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14763 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
14765 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
14766 (modules-names): Use them.
14767 (ifunc-test-modules, ifunc-pie-tests): Define.
14768 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
14769 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
14770 (test-extras): Likewise.
14771 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
14772 $(compile-command.c).
14773 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
14774 (all-built-dso): Define.
14775 (check-textrel.out, check-execstack.out): Depend on it.
14777 * configure.in: Don't override --enable-multi-arch.
14779 2011-01-15 Ulrich Drepper <drepper@gmail.com>
14782 * nscd/hstcache.c (tryagain): Define.
14783 (cache_addhst): Return tryagain not notfound for temporary errors.
14784 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
14787 2011-01-14 Ulrich Drepper <drepper@gmail.com>
14790 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
14791 to make the syscall.
14792 * sysdeps/unix/sysv/linux/setgroups.c: New file.
14795 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
14796 and fall back to matching as normal character if the string ends before
14797 the matching ']' is found. This is what POSIX requires.
14798 * posix/testfnm.c: Adjust test result.
14799 * posix/globtest.sh: Adjust test result. Add new test.
14800 * posix/tst-fnmatch.input: Likewise.
14801 * posix/tst-fnmatch2.c: Add new test.
14803 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
14805 * elf/Makefile (check-execstack): Revert last change. Depend on
14807 (check-execstack.h): New target.
14808 (generated): Add check-execstack.h.
14809 * elf/check-execstack.c: Include "check-execstack.h".
14810 (main): Revert last change.
14811 (handle_file): Return zero if GNU_STACK is absent and
14812 DEFAULT_STACK_PERMS doesn't include PF_X.
14814 2011-01-13 Ulrich Drepper <drepper@gmail.com>
14816 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
14817 in child fails because the descriptor is already closed.
14818 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
14819 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
14820 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
14823 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
14827 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
14828 temporary buffer used to handle multi lookups locally.
14829 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
14831 2011-01-12 Ulrich Drepper <drepper@gmail.com>
14833 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
14836 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
14838 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
14839 alignment for SSE2.
14841 2011-01-12 Ulrich Drepper <drepper@gmail.com>
14844 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
14845 characters. When rounding increased number of integer digits recompute
14847 * stdio-common/tst-grouping.c: New file.
14848 * stdio-common/Makefile: Add rules to build and run tst-grouping.
14850 2011-01-09 Ulrich Drepper <drepper@gmail.com>
14852 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
14853 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
14855 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
14857 * bits/select.h: Likewise.
14859 2011-01-08 Ulrich Drepper <drepper@gmail.com>
14861 * po/ja.po: Update from translation team.
14863 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
14866 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
14867 implementation just like for lxstat, fxstatat, et al.
14869 2010-12-27 Jim Meyering <meyering@redhat.com>
14872 * posix/regexec.c (build_trtable): Return failure indication upon
14873 calloc failure. Otherwise, re_search_internal could infloop on OOM.
14875 2010-12-25 Ulrich Drepper <drepper@gmail.com>
14878 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
14879 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
14880 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
14881 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
14884 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
14887 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
14888 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
14890 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
14892 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
14893 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
14894 script has SORT_BY_INIT_PRIORITY.
14895 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
14896 NO_CTORS_DTORS_SECTIONS is defined.
14897 * elf/soinit.c: Likewise.
14898 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
14899 NO_CTORS_DTORS_SECTIONS is defined.
14900 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
14901 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
14902 * sysdeps/sh/init-first.c: Likewise.
14903 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
14905 2010-12-24 Ulrich Drepper <drepper@gmail.com>
14907 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
14908 always use the slow path.
14910 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
14912 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
14913 similar rule which adds the sysdep directories to the header search in
14914 order to pick up the correct platform stackinfo.h.
14915 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
14916 perform test if it is, otherwise return successfully without testing.
14917 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
14918 DEFAULT_STACK_PERMS define in stackinfo.h.
14919 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
14920 defined in stackinfo.h.
14921 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
14922 DEFAULT_STACK_PERMS defined in stackinfo.h.
14923 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
14924 * sysdeps/ia64/stackinfo.h: Likewise.
14925 * sysdeps/s390/stackinfo.h: Likewise.
14926 * sysdeps/sh/stackinfo.h: Likewise.
14927 * sysdeps/sparc/stackinfo.h: Likewise.
14928 * sysdeps/x86_64/stackinfo.h: Likewise.
14929 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
14930 PF_X for powerpc64. Retain PF_X for powerpc32.
14932 2010-12-19 Ulrich Drepper <drepper@gmail.com>
14934 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
14936 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
14937 GETDENTS_64BIT_ALIGNED.
14939 2010-12-14 Ulrich Drepper <dreper@gmail.com>
14941 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
14943 2010-12-10 Andreas Schwab <schwab@redhat.com>
14945 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
14948 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
14949 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
14951 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
14952 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
14954 2010-12-09 Ulrich Drepper <drepper@gmail.com>
14957 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
14960 2010-12-09 Jakub Jelinek <jakub@redhat.com>
14962 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
14964 2010-12-03 Ulrich Drepper <drepper@gmail.com>
14966 * po/it.po: Update from translation team.
14968 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
14970 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
14973 2010-11-30 Ulrich Drepper <drepper@gmail.com>
14975 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
14977 2010-11-24 Andreas Schwab <schwab@redhat.com>
14979 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
14981 (gaih_getanswer_slice): Likewise.
14983 2010-10-20 Jakub Jelinek <jakub@redhat.com>
14985 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
14987 2010-05-31 Petr Baudis <pasky@suse.cz>
14990 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
14991 silently even in the chroot mode.
14993 2010-11-22 Ulrich Drepper <drepper@gmail.com>
14995 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
14996 last patch a bit. Pretty printing
14998 2010-05-31 Petr Baudis <pasky@suse.cz>
15001 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
15002 initialization of skip_initgroups_dyn.
15004 2010-11-19 Ulrich Drepper <drepper@gmail.com>
15006 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
15007 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
15009 2010-11-16 Ulrich Drepper <drepper@gmail.com>
15011 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
15013 2010-11-11 Andreas Schwab <schwab@redhat.com>
15015 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
15016 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
15017 (tst-fnmatch-ENV): Set MALLOC_TRACE.
15018 ($(objpfx)tst-fnmatch-mem): New rule.
15019 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
15020 * posix/tst-fnmatch.c (main): Call mtrace.
15022 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
15024 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15025 Support Intel processor model 6 and model 0x2c.
15027 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
15029 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
15032 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
15035 * string/test-strncasecmp.c (check_result): New function.
15036 (do_one_test): Use it.
15037 (check1): New function.
15038 (test_main): Use it.
15039 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
15040 Support strcasecmp and strncasecmp.
15042 2010-11-08 Ulrich Drepper <drepper@gmail.com>
15045 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
15046 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15048 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
15050 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
15052 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15054 * sysdeps/x86_64/multiarch/bzero.S: New file.
15055 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
15056 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
15057 * sysdeps/x86_64/multiarch/memset.S: New file.
15058 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
15059 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15060 Set bit_Prefer_SSE_for_memop for Intel processors.
15061 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
15063 (index_Prefer_SSE_for_memop): Define.
15064 (HAS_PREFER_SSE_FOR_MEMOP): Define.
15066 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
15068 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
15069 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
15071 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
15074 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15075 (__x86_64_raw_data_cache_size_half): Likewise.
15076 (__x86_64_raw_shared_cache_size): Likewise.
15077 (__x86_64_raw_shared_cache_size_half): Likewise.
15079 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15080 (__x86_64_raw_data_cache_size_half): Likewise.
15081 (__x86_64_raw_shared_cache_size): Likewise.
15082 (__x86_64_raw_shared_cache_size_half): Likewise.
15083 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
15084 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
15085 and __x86_64_raw_shared_cache_size_half. Round
15086 __x86_64_data_cache_size_half, __x86_64_data_cache_size
15087 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
15088 to multiple of 256 bytes.
15090 2010-11-03 Ulrich Drepper <drepper@gmail.com>
15093 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
15094 of inacessible symlinks. Verify result of symlink before returning it.
15095 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
15096 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
15098 2010-10-28 Erich Ritz <erichritz@gmail.com>
15100 * math/math.h (isinf): Fix typo in comment.
15102 2010-11-01 Ulrich Drepper <drepper@gmail.com>
15104 * po/da.po: Update from translation team.
15106 2010-10-26 Ulrich Drepper <drepper@gmail.com>
15108 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
15109 is added to the list.
15111 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15112 Ulrich Drepper <drepper@gmail.com>
15114 * elf/dl-object.c (_dl_new_object): Don't append the new object to
15115 the global list here. Move code to...
15116 (_dl_add_to_namespace_list): ...here. New function.
15117 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
15118 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
15119 * elf/dl-load.c (lose): Don't remove the element from the list.
15120 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
15121 (_dl_map_object): Likewise.
15123 2010-10-25 Ulrich Drepper <drepper@gmail.com>
15126 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
15127 into all bytes of SSE register.
15128 Patch by Richard Li <richardpku@gmail.com>.
15130 2010-10-24 Ulrich Drepper <drepper@gmail.com>
15133 * malloc/malloc.c (_int_free): Fill correct number of bytes when
15136 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
15138 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
15139 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
15140 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
15141 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
15144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
15146 2010-10-22 Andreas Schwab <schwab@redhat.com>
15148 * include/dlfcn.h (__RTLD_SECURE): Define.
15149 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
15150 mode & __RTLD_SECURE instead.
15151 (open_path): Rename preloaded parameter to secure.
15152 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
15153 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
15154 * elf/dl-deps.c (openaux): Likewise.
15155 * elf/rtld.c (struct map_args): Remove is_preloaded.
15156 (map_doit): Don't use it.
15157 (dl_main): Likewise.
15158 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
15159 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
15161 2010-09-09 Andreas Schwab <schwab@redhat.com>
15163 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
15164 (sysd-rules-targets): Remove duplicates.
15165 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
15166 rtld-%.$o dependency.
15168 2010-10-18 Andreas Schwab <schwab@redhat.com>
15170 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
15171 _dl_map_object do it.
15173 2010-10-19 Ulrich Drepper <drepper@gmail.com>
15175 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
15176 fast fma builtins, define the macros in the C99 standard.
15177 (FP_FAST_FMAF): Likewise.
15178 (FP_FAST_FMAL): Likewise.
15179 * sysdeps/x86_64/bits/mathdef.h: Likewise.
15181 * bits/mathdef.h: Update copyright year.
15182 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15184 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
15186 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
15187 builtins, define the macros in the C99 standard.
15188 (FP_FAST_FMAF): Likewise.
15189 (FP_FAST_FMAL): Likewise.
15190 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
15192 (FP_FAST_FMAF): Likewise.
15194 2010-10-15 Jakub Jelinek <jakub@redhat.com>
15197 * math/libm-test.inc (fma_test): Some new testcases.
15198 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
15199 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
15200 y and infinite z. Do multiplication by C already in long double.
15201 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
15202 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
15203 y and infinite z. Do bitwise or of inexact bit into u.d.
15204 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
15205 * sysdeps/i386/fpu/s_fmaf.S: Removed.
15206 * sysdeps/i386/fpu/s_fma.S: Removed.
15207 * sysdeps/i386/fpu/s_fmal.S: Removed.
15209 2010-10-16 Jakub Jelinek <jakub@redhat.com>
15212 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
15213 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
15214 computation is not scheduled after fetestexcept. Fix value
15215 of minimum denormal long double.
15217 2010-10-14 Jakub Jelinek <jakub@redhat.com>
15220 * math/libm-test.inc (fma_test): Add some more tests.
15221 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
15224 2010-10-15 Andreas Schwab <schwab@redhat.com>
15226 * scripts/data/localplt-s390-linux-gnu.data: New file.
15227 * scripts/data/localplt-s390x-linux-gnu.data: New file.
15229 2010-10-13 Jakub Jelinek <jakub@redhat.com>
15232 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
15233 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
15235 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
15237 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
15238 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
15239 if one of x and y is very large and the other is subnormal.
15240 * sysdeps/s390/fpu/s_fmaf.c: New file.
15241 * sysdeps/s390/fpu/s_fma.c: New file.
15242 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
15243 * sysdeps/powerpc/fpu/s_fma.S: New file.
15244 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
15245 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
15246 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
15248 2010-10-12 Jakub Jelinek <jakub@redhat.com>
15251 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
15253 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
15254 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
15255 * sysdeps/i386/i686/multiarch/s_fma.c: Include
15256 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
15257 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
15258 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
15259 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
15261 2010-10-12 Ulrich Drepper <drepper@redhat.com>
15264 * posix/regcomp.c (parse_branch): One more memory leak plugged.
15265 * posix/bug-regex31.input: Add test case.
15267 2010-10-11 Ulrich Drepper <drepper@gmail.com>
15269 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
15270 * posix/bug-regex31.input: New file.
15273 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
15274 (parse_sub_exp): Fix last change, use postorder.
15276 * posix/bug-regex31.c: New file.
15277 * posix/Makefile: Add rules to build and run bug-regex31.
15279 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
15282 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
15285 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
15286 to have entries in sys_siglist.
15289 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
15292 2010-10-07 Jakub Jelinek <jakub@redhat.com>
15295 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
15296 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
15297 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
15298 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
15299 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
15300 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
15301 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
15302 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
15303 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
15304 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
15305 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
15306 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
15307 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
15308 * math/ftestexcept.c (fetestexcept): Likewise.
15309 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
15310 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
15311 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
15312 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
15313 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
15314 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
15315 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15317 2010-10-11 Ulrich Drepper <drepper@gmail.com>
15320 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
15323 2010-10-06 Ulrich Drepper <drepper@gmail.com>
15325 * string/bug-strstr1.c: New file.
15326 * string/Makefile: Add rules to build and run bug-strstr1.
15328 2010-10-05 Eric Blake <eblake@redhat.com>
15331 * string/str-two-way.h (two_way_long_needle): Always clear memory
15332 when skipping input due to the shift table.
15334 2010-10-03 Ulrich Drepper <drepper@gmail.com>
15337 * malloc/mcheck.c: Handle large requests.
15340 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
15341 for strncmp and strncasecmp.
15342 * string/stratcliff.c: Add tests for strcmp and strncmp.
15343 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
15345 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15347 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
15350 2010-09-30 Andreas Jaeger <aj@suse.de>
15352 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
15353 (CGROUP_SUPER_MAGIC): Define.
15354 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15355 Handle btrfs and cgroup file systems.
15356 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
15359 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
15361 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
15362 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
15364 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15367 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
15368 trying to locate the ELF header.
15370 2010-09-27 Andreas Schwab <schwab@redhat.com>
15373 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
15374 Mask out sign-bit copies when constructing f_fsid.
15376 2010-09-24 Petr Baudis <pasky@suse.cz>
15378 * debug/stack_chk_fail_local.c: Add missing licence exception.
15379 * debug/warning-nop.c: Likewise.
15381 2010-09-15 Joseph Myers <joseph@codesourcery.com>
15383 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
15384 implementing getdents64 using getdents syscall, set d_type if
15385 __ASSUME_GETDENTS32_D_TYPE.
15387 2010-09-16 Andreas Schwab <schwab@redhat.com>
15389 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
15390 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
15392 2010-09-21 Ulrich Drepper <drepper@redhat.com>
15395 * posix/unistd.h: Undo change of feature selection for ftruncate from
15398 2010-09-20 Ulrich Drepper <drepper@redhat.com>
15400 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
15403 2010-09-20 Andreas Schwab <schwab@redhat.com>
15405 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
15407 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15409 2010-09-14 Andreas Schwab <schwab@redhat.com>
15411 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
15412 variables after CHECK_SP call.
15413 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
15415 2010-09-13 Andreas Schwab <schwab@redhat.com>
15416 Ulrich Drepper <drepper@redhat.com>
15418 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
15419 re-relocationg ld.so.
15420 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
15421 _dl_init_paths call.
15422 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
15425 2010-09-14 Ulrich Drepper <drepper@redhat.com>
15427 * resolv/res_init.c (__res_vinit): Count the default server we added.
15429 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
15430 Ulrich Drepper <drepper@redhat.com>
15433 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15434 (____longjmp_chk): Use %ebx for saving value across system call.
15437 2010-09-06 Andreas Schwab <schwab@redhat.com>
15439 * manual/Makefile: Don't mix pattern rules with normal rules.
15441 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
15443 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
15445 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
15446 * libio/iofopncook.c (_IO_cookie_init): Likewise.
15447 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
15448 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
15449 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15452 2010-09-04 Ulrich Drepper <drepper@redhat.com>
15455 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
15456 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
15458 2010-09-02 Ulrich Drepper <drepper@redhat.com>
15460 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
15461 * sysdeps/x86_64/addmul_1.S: Likewise.
15462 * sysdeps/x86_64/lshift.S: Likewise.
15463 * sysdeps/x86_64/mul_1.S: Likewise.
15464 * sysdeps/x86_64/rshift.S: Likewise.
15465 * sysdeps/x86_64/sub_n.S: Likewise.
15466 * sysdeps/x86_64/submul_1.S: Likewise.
15468 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
15470 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
15471 Define __sched_param instead of SCHED_* and sched_param when
15472 <bits/sched.h> is included with __need_schedparam defined.
15473 * bits/sched.h [__need_schedparam]
15474 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
15475 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
15476 (__defined_schedparam): Define to 1.
15477 (__sched_param): New structure, identical to sched_param.
15478 (__need_schedparam): Undefine.
15480 2010-08-31 Mike Frysinger <vapier@gentoo.org>
15482 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
15483 (epoll_create1): Declare.
15485 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
15487 2010-08-31 Andreas Schwab <schwab@redhat.com>
15490 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
15491 shifting retval into place.
15493 2010-09-01 Ulrich Drepper <drepper@redhat.com>
15495 * nis/rpcsvc/nis.h: Update copyright notice.
15496 * nis/rpcsvc/nis.x: Likewise.
15497 * nis/rpcsvc/nis_callback.h: Likewise.
15498 * nis/rpcsvc/nis_callback.x: Likewise.
15499 * nis/rpcsvc/nis_object.x: Likewise.
15500 * nis/rpcsvc/nis_tags.h: Likewise.
15501 * nis/rpcsvc/yp.h: Likewise.
15502 * nis/rpcsvc/yp.x: Likewise.
15503 * nis/rpcsvc/ypupd.h: Likewise.
15504 * nis/yp_xdr.c: Likewise.
15505 * nis/ypupdate_xdr.c: Likewise.
15507 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
15508 mainly the body of pmap_getport. Add parameters to specify timeouts.
15509 (pmap_getport): Use __libc_rpc_getport.
15510 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
15511 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
15512 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
15514 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
15516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
15519 2010-08-27 Roland McGrath <roland@redhat.com>
15521 * sysdeps/i386/i686/multiarch/Makefile
15522 (CFLAGS-varshift.c): New variable.
15524 2010-08-27 Ulrich Drepper <drepper@redhat.com>
15526 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
15527 * sysdeps/i386/i686/multiarch/varshift.c: New file.
15529 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
15531 * sysdeps/x86_64/strlen.S: Minimal code improvement.
15533 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
15535 * sysdeps/x86_64/strlen.S: Unroll the loop.
15536 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15537 strlen-sse2 strlen-sse2-bsf.
15538 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
15539 __strlen_no_bsf if bit_Slow_BSF is set.
15540 (__strlen_sse42): Removed.
15541 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
15542 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
15544 2010-08-25 Roland McGrath <roland@redhat.com>
15546 * sysdeps/x86_64/multiarch/varshift.S: File removed.
15547 * sysdeps/x86_64/multiarch/varshift.c: New file.
15548 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
15549 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
15550 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
15551 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15553 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
15555 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15556 strlen-sse2 strlen-sse2-bsf.
15557 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
15558 __strlen_sse2_bsf if bit_Slow_BSF is unset.
15559 (__strlen_sse2): Removed.
15560 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
15561 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
15562 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
15563 bit_Slow_BSF for Atom.
15564 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
15565 (index_Slow_BSF): Define.
15566 (HAS_SLOW_BSF): Define.
15568 2010-08-25 Ulrich Drepper <drepper@redhat.com>
15571 * resolv/res_init.c (__res_vinit): When no server address at all
15572 is given default to loopback.
15574 2010-08-24 Roland McGrath <roland@redhat.com>
15576 * configure.in: Remove config-name.h generation.
15577 * configure: Regenerated.
15578 * config-name.in: File removed.
15579 * scripts/config-uname.sh: New file.
15580 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
15581 ($(objdir)config-name.h): New target.
15583 * sunrpc/rpc_parse.h: Avoid nested comment.
15585 2010-08-24 Richard Henderson <rth@redhat.com>
15586 Ulrich Drepper <drepper@redhat.com>
15587 H.J. Lu <hongjiu.lu@intel.com>
15589 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
15590 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
15591 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
15592 Replace _mm_srli_si128 with __m128i_shift_right. Replace
15593 _mm_alignr_epi8 with _mm_loadu_si128.
15594 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
15595 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
15596 (__m128i_shift_right): Removed.
15597 * sysdeps/i386/i686/multiarch/varshift.h: New file.
15598 * sysdeps/i386/i686/multiarch/varshift.S: New file.
15599 * sysdeps/x86_64/multiarch/varshift.h: New file.
15600 * sysdeps/x86_64/multiarch/varshift.S: New file.
15602 2010-08-21 Mike Frysinger <vapier@gentoo.org>
15604 * configure.in: Move assembler checks to before sysdep dir checking.
15606 2010-08-20 Petr Baudis <pasky@suse.cz>
15608 * LICENSES: Sync the sunrpc license.
15610 2010-08-19 Ulrich Drepper <drepper@redhat.com>
15612 * sunrpc/auth_des.c: Update copyright notice once again.
15613 * sunrpc/auth_none.c: Likewise.
15614 * sunrpc/auth_unix.c: Likewise.
15615 * sunrpc/authdes_prot.c: Likewise.
15616 * sunrpc/authuxprot.c: Likewise.
15617 * sunrpc/bindrsvprt.c: Likewise.
15618 * sunrpc/clnt_gen.c: Likewise.
15619 * sunrpc/clnt_perr.c: Likewise.
15620 * sunrpc/clnt_raw.c: Likewise.
15621 * sunrpc/clnt_simp.c: Likewise.
15622 * sunrpc/clnt_tcp.c: Likewise.
15623 * sunrpc/clnt_udp.c: Likewise.
15624 * sunrpc/clnt_unix.c: Likewise.
15625 * sunrpc/des_crypt.c: Likewise.
15626 * sunrpc/des_soft.c: Likewise.
15627 * sunrpc/get_myaddr.c: Likewise.
15628 * sunrpc/getrpcport.c: Likewise.
15629 * sunrpc/key_call.c: Likewise.
15630 * sunrpc/key_prot.c: Likewise.
15631 * sunrpc/openchild.c: Likewise.
15632 * sunrpc/pm_getmaps.c: Likewise.
15633 * sunrpc/pm_getport.c: Likewise.
15634 * sunrpc/pmap_clnt.c: Likewise.
15635 * sunrpc/pmap_prot.c: Likewise.
15636 * sunrpc/pmap_prot2.c: Likewise.
15637 * sunrpc/pmap_rmt.c: Likewise.
15638 * sunrpc/rpc/auth.h: Likewise.
15639 * sunrpc/rpc/auth_unix.h: Likewise.
15640 * sunrpc/rpc/clnt.h: Likewise.
15641 * sunrpc/rpc/des_crypt.h: Likewise.
15642 * sunrpc/rpc/key_prot.h: Likewise.
15643 * sunrpc/rpc/netdb.h: Likewise.
15644 * sunrpc/rpc/pmap_clnt.h: Likewise.
15645 * sunrpc/rpc/pmap_prot.h: Likewise.
15646 * sunrpc/rpc/pmap_rmt.h: Likewise.
15647 * sunrpc/rpc/rpc.h: Likewise.
15648 * sunrpc/rpc/rpc_des.h: Likewise.
15649 * sunrpc/rpc/rpc_msg.h: Likewise.
15650 * sunrpc/rpc/svc.h: Likewise.
15651 * sunrpc/rpc/svc_auth.h: Likewise.
15652 * sunrpc/rpc/types.h: Likewise.
15653 * sunrpc/rpc/xdr.h: Likewise.
15654 * sunrpc/rpc_clntout.c: Likewise.
15655 * sunrpc/rpc_cmsg.c: Likewise.
15656 * sunrpc/rpc_common.c: Likewise.
15657 * sunrpc/rpc_cout.c: Likewise.
15658 * sunrpc/rpc_dtable.c: Likewise.
15659 * sunrpc/rpc_hout.c: Likewise.
15660 * sunrpc/rpc_main.c: Likewise.
15661 * sunrpc/rpc_parse.c: Likewise.
15662 * sunrpc/rpc_parse.h: Likewise.
15663 * sunrpc/rpc_prot.c: Likewise.
15664 * sunrpc/rpc_sample.c: Likewise.
15665 * sunrpc/rpc_scan.c: Likewise.
15666 * sunrpc/rpc_scan.h: Likewise.
15667 * sunrpc/rpc_svcout.c: Likewise.
15668 * sunrpc/rpc_tblout.c: Likewise.
15669 * sunrpc/rpc_util.c: Likewise.
15670 * sunrpc/rpc_util.h: Likewise.
15671 * sunrpc/rpcinfo.c: Likewise.
15672 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
15673 * sunrpc/rpcsvc/key_prot.x: Likewise.
15674 * sunrpc/rpcsvc/klm_prot.x: Likewise.
15675 * sunrpc/rpcsvc/mount.x: Likewise.
15676 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
15677 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
15678 * sunrpc/rpcsvc/rex.x: Likewise.
15679 * sunrpc/rpcsvc/rstat.x: Likewise.
15680 * sunrpc/rpcsvc/rusers.x: Likewise.
15681 * sunrpc/rpcsvc/sm_inter.x: Likewise.
15682 * sunrpc/rpcsvc/spray.x: Likewise.
15683 * sunrpc/rpcsvc/yppasswd.x: Likewise.
15684 * sunrpc/rtime.c: Likewise.
15685 * sunrpc/svc.c: Likewise.
15686 * sunrpc/svc_auth.c: Likewise.
15687 * sunrpc/svc_authux.c: Likewise.
15688 * sunrpc/svc_raw.c: Likewise.
15689 * sunrpc/svc_run.c: Likewise.
15690 * sunrpc/svc_simple.c: Likewise.
15691 * sunrpc/svc_tcp.c: Likewise.
15692 * sunrpc/svc_udp.c: Likewise.
15693 * sunrpc/svc_unix.c: Likewise.
15694 * sunrpc/svcauth_des.c: Likewise.
15695 * sunrpc/xcrypt.c: Likewise.
15696 * sunrpc/xdr.c: Likewise.
15697 * sunrpc/xdr_array.c: Likewise.
15698 * sunrpc/xdr_float.c: Likewise.
15699 * sunrpc/xdr_mem.c: Likewise.
15700 * sunrpc/xdr_rec.c: Likewise.
15701 * sunrpc/xdr_ref.c: Likewise.
15702 * sunrpc/xdr_sizeof.c: Likewise.
15703 * sunrpc/xdr_stdio.c: Likewise.
15705 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
15708 2010-08-19 Andreas Schwab <schwab@redhat.com>
15710 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
15712 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
15714 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
15715 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
15716 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
15717 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
15718 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
15719 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
15720 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
15721 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
15722 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
15723 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
15724 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
15725 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
15726 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
15727 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
15729 2010-07-26 Anton Blanchard <anton@samba.org>
15731 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
15732 * malloc/arena.c (heap_trim): Likewise.
15734 2010-08-16 Ulrich Drepper <drepper@redhat.com>
15736 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
15738 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
15739 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
15741 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
15743 * sysdeps/i386/elf/Makefile: New file.
15745 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
15747 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
15748 from fanotify_init.
15749 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
15750 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15752 2010-08-15 Ulrich Drepper <drepper@redhat.com>
15754 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
15756 * sysdeps/multiarch/strcmp.S: Likewise.
15758 2010-08-14 Ulrich Drepper <drepper@redhat.com>
15760 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
15761 strncase_l-nonascii.
15762 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
15763 Add strncase_l-ssse3.
15764 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
15765 * sysdeps/x86_64/strcmp.S: Likewise.
15766 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
15767 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
15768 * sysdeps/x86_64/strncase.S: New file.
15769 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
15770 * sysdeps/x86_64/strncase_l.S: New file.
15771 * string/Makefile (strop-tests): Add strncasecmp.
15772 * string/test-strncasecmp.c: New file.
15774 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
15777 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
15778 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
15780 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
15782 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
15784 2010-08-12 Ulrich Drepper <drepper@redhat.com>
15786 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
15787 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
15788 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
15790 2010-05-01 Alan Modra <amodra@gmail.com>
15792 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
15793 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
15794 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
15795 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
15796 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
15797 tidying. Don't tail-call __sigjmp_save for static lib.
15798 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
15800 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
15801 (CALL_MCOUNT): Add eh info, and nop after bl.
15802 (TAIL_CALL_SYSCALL_ERROR): New macro.
15803 (PSEUDO_RET): Use it.
15804 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
15805 Correct save location of integer regs and cr.
15806 (_dl_profile_resolve): Correct cr save location. Delete nops
15807 after bl when SHARED. Reduce cfi size a little by better
15808 placement of cfi directives.
15809 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
15810 make a stack frame. Instead use parm save area as a temp.
15811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
15812 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
15813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
15814 Don't make a stack frame for parent, use parm save area.
15815 Increase child stack frame to 112 bytes. Don't save unused reg,
15816 and adjust reg usage. Set up cfi on error recovery and
15817 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
15818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15819 (__makecontext): Add dummy nop after jump to exit.
15820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
15821 Use correct parm save area and cr save, reduce stack frame.
15822 Correct cfi for possible PSEUDO_RET frame setup.
15823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
15824 Branch to local label emitted by PSEUDO_RET rather than
15827 2010-08-12 Andreas Schwab <schwab@redhat.com>
15830 * locale/programs/locale.c (print_assignment): New function.
15831 (show_locale_vars): Use it.
15833 2010-08-11 Ulrich Drepper <drepper@redhat.com>
15835 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
15837 (struct statfs64): Likewise.
15838 (_STATFS_F_FLAGS): Define.
15839 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
15840 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15841 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
15842 (ST_VALID): Define locally.
15843 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
15844 __statvfs_getflags, use the provided value.
15845 * sysdeps/unix/sysv/linux/kernel-features.h: Define
15846 __ASSUME_STATFS_F_FLAGS.
15848 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
15850 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
15851 Add sys/fanotify.h.
15852 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
15853 fanotify_mask for GLIBC_2.13.
15854 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
15855 fanotify_init and fanotify_mark.
15856 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15857 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
15859 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
15861 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
15862 prlimit64 for GLIBC_2.13.
15863 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
15865 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
15867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
15868 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15869 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
15870 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
15871 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
15873 * sysdeps/unix/sysv/linux/prlimit.c: New file.
15876 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
15877 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
15879 * nss/Makefile: Add rules to build and run tst-nss-test1.
15880 * shlib-versions: Add entry for libnss_test1.
15881 * nss/nss_test1.c: New file.
15882 * nss/tst-nss-test1.c: New file.
15884 * nss/nsswitch.c (__nss_database_custom): Define new variable.
15885 (__nss_configure_lookup): Set appropriate entry in
15886 __nss_configure_lookup to true.
15887 * nss/nsswitch.h: Define enum with indeces of databases in
15888 databases and __nss_database_custom arrays. Declare
15889 __nss_database_custom.
15890 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
15891 to avoid using nscd when custom rules are installed.
15892 * nss/getXXbyYY_r.c: Likewise.
15893 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15895 * nss/nss_files/files-parse.c: Whitespace fixes.
15897 2010-08-09 Ulrich Drepper <drepper@redhat.com>
15900 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
15901 * posix/fnmatch_loop.c: Likewise.
15903 2010-07-17 Andi Kleen <ak@linux.intel.com>
15905 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
15906 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
15907 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
15908 * Versions.def [GLIBC_2.13]: Add.
15910 2010-08-06 Ulrich Drepper <drepper@redhat.com>
15912 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15913 Also fail if tpwd after pwuid call is NULL.
15915 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
15917 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
15918 when converting to ms.
15920 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15922 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
15923 EOPNOTSUPP errors with ENOTTY.
15924 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
15925 EOPNOTSUPP errors with ENOTTY.
15927 2010-07-31 Ulrich Drepper <drepper@redhat.com>
15929 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
15930 Add strcasecmp_l-ssse3.
15931 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
15933 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
15934 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
15935 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
15937 2010-07-30 Ulrich Drepper <drepper@redhat.com>
15939 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
15941 * string/Makefile (strop-tests): Add strcasecmp.
15942 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
15943 strcasecmp_l-nonascii.
15944 (gen-as-const-headers): Add locale-defines.sym.
15945 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
15946 * sysdeps/x86_64/strcasecmp.S: New file.
15947 * sysdeps/x86_64/strcasecmp_l.S: New file.
15948 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
15949 * sysdeps/x86_64/locale-defines.sym: New file.
15950 * string/test-strcasecmp.c: New file.
15952 * string/test-strcasestr.c: Test both ends of the range of characters.
15953 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
15955 2010-07-29 Roland McGrath <roland@redhat.com>
15958 * manual/locale.texi (Yes-or-No Questions): Fix example code.
15960 2010-07-27 Ulrich Drepper <drepper@redhat.com>
15962 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
15965 2010-07-27 Andreas Schwab <schwab@redhat.com>
15967 * manual/memory.texi (Malloc Tunable Parameters): Document
15970 2010-07-26 Roland McGrath <roland@redhat.com>
15973 * configure.in (-fgnu89-inline check): Set and substitute
15974 gnu89_inline, not libc_cv_gnu89_inline.
15975 * configure: Regenerated.
15976 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
15978 2010-07-26 Ulrich Drepper <drepper@redhat.com>
15980 * string/test-strnlen.c: New file.
15981 * string/Makefile (strop-tests): Add strnlen.
15982 * string/tester.c (test_strnlen): Add a few more test cases.
15983 * string/tst-strlen.c: Better error reporting.
15985 * sysdeps/x86_64/strnlen.S: New file.
15987 2010-07-24 Ulrich Drepper <drepper@redhat.com>
15989 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
15990 lower-latency instructions.
15992 2010-07-23 Ulrich Drepper <drepper@redhat.com>
15994 * string/test-strcasestr.c: New file.
15995 * string/test-strstr.c: New file.
15996 * string/Makefile (strop-tests): Add strstr and strcasestr.
15997 * string/str-two-way.h: Don't undefine MAX.
15998 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
16000 2010-07-21 Andreas Schwab <schwab@redhat.com>
16002 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16003 strcasestr-nonascii.
16004 (CFLAGS-strcasestr-nonascii.c): Define.
16005 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
16006 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
16007 Remove unused attribute.
16009 2010-07-20 Roland McGrath <roland@redhat.com>
16011 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
16012 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
16013 ld.so.cache was broken. With it, there is no way to disable dsocaps
16014 like LD_HWCAP_MASK can disable hwcaps.
16016 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16018 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
16020 2010-07-16 Ulrich Drepper <drepper@redhat.com>
16022 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
16023 call in strcasestr.
16024 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
16025 __strcasestr_sse42_nonascii.
16026 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
16027 strcasestr-nonascii.c.
16028 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
16030 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
16032 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
16033 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
16034 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
16035 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
16037 2010-07-09 Ulrich Drepper <drepper@redhat.com>
16039 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
16042 2010-07-06 Andreas Schwab <schwab@redhat.com>
16045 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
16048 2010-07-06 Ulrich Drepper <drepper@redhat.com>
16050 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
16051 _PC_PIPE_BUF using F_GETPIPE_SZ.
16053 2010-07-05 Roland McGrath <roland@redhat.com>
16055 * manual/arith.texi (Rounding Functions): Fix rint description
16056 implicit in round description.
16058 2010-07-02 Ulrich Drepper <drepper@redhat.com>
16060 * elf/Makefile: Fix linking for a few tests to make recent linker
16063 2010-06-30 Andreas Schwab <schwab@redhat.com>
16065 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
16066 $(common-objpfx)libc_nonshared.a.
16068 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
16070 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
16071 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
16072 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16073 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16074 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
16075 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
16076 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16077 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
16079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
16080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
16081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
16083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
16085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
16086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
16087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
16088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
16090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
16092 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
16093 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
16094 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
16095 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
16096 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
16097 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
16098 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
16099 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
16100 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
16101 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
16102 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
16103 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
16104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
16105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
16106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
16107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
16108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
16109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
16110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
16111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
16112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
16113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
16114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
16115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
16116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
16117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
16119 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
16121 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
16122 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
16123 * string/memmove.c (memmove): Renamed to ...
16124 (MEMMOVE): ...this. Default to memmove.
16125 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
16126 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
16128 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16129 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
16130 mempcpy-ssse3-back memmove-ssse3-back.
16131 * sysdeps/x86_64/multiarch/bcopy.S: New file .
16132 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
16133 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
16134 * sysdeps/x86_64/multiarch/memcpy.S: New file.
16135 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
16136 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
16137 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
16138 * sysdeps/x86_64/multiarch/memmove.c: New file.
16139 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
16140 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
16141 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
16142 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
16143 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
16144 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
16146 (index_Fast_Copy_Backward): Define.
16147 (HAS_ARCH_FEATURE): Define.
16148 (HAS_FAST_REP_STRING): Define.
16149 (HAS_FAST_COPY_BACKWARD): Define.
16151 2010-06-21 Andreas Schwab <schwab@redhat.com>
16153 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16154 Restore proper fallback handling.
16156 2010-06-19 Ulrich Drepper <drepper@redhat.com>
16159 * posix/group_member.c (__group_member): Correct checking loop.
16161 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
16162 OOM in getpwuid_r correctly. Return error number when the caller
16163 should return, otherwise -1.
16164 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
16165 call returning > 0 value.
16166 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
16168 2010-06-07 Andreas Schwab <schwab@redhat.com>
16170 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
16171 libc_nonshared.a from targets in modules-names.
16173 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
16175 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
16178 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
16180 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
16181 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
16182 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
16183 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
16185 2010-06-02 Andreas Schwab <schwab@redhat.com>
16187 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
16189 2010-06-14 Ulrich Drepper <drepper@redhat.com>
16191 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
16193 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16194 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16195 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16196 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16197 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16198 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
16200 2010-06-14 Roland McGrath <roland@redhat.com>
16202 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
16204 2010-06-07 Jakub Jelinek <jakub@redhat.com>
16206 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
16207 __REDIRECT followed by __THROW.
16208 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
16209 * posix/getopt.h (getopt): Likewise.
16211 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16213 * hurd/lookup-at.c (__file_name_lookup_at): Accept
16214 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
16215 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
16217 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
16218 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
16220 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
16222 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
16224 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
16227 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16228 Properly check family and model.
16230 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
16232 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
16234 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
16236 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
16238 2010-05-21 Ulrich Drepper <drepper@redhat.com>
16240 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
16243 2010-05-19 Andreas Schwab <schwab@redhat.com>
16245 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
16248 2010-05-21 Andreas Schwab <schwab@redhat.com>
16250 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
16251 and internal_recvmmsg.
16252 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
16253 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
16254 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
16255 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
16257 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
16258 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16259 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16261 2010-05-20 Andreas Schwab <schwab@redhat.com>
16263 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
16265 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
16267 POWER7 optimizations.
16268 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
16269 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
16271 2010-05-19 Ulrich Drepper <drepper@redhat.com>
16273 * version.h: Update for 2.13 development version.
16275 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
16277 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
16278 exceptions. Return 0.
16280 2010-05-07 Roland McGrath <roland@redhat.com>
16282 * elf/ldconfig.c (main): Add a const.
16284 2010-05-06 Ulrich Drepper <drepper@redhat.com>
16286 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
16287 (args_options): Add no-idn option.
16288 (ahosts_keys_int): Add idn_flags to ai_flags.
16289 (parse_option): Handle 'i' option to clear idn_flags.
16291 * malloc/malloc.c (_int_free): Possible race in the most recently
16292 added check. Only act on the data if no current modification
16295 See ChangeLog.17 for earlier changes.