1 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
4 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
7 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
11 character 0xffff that matches the last element of the
14 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
19 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
22 values higher than 25.6283.
24 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
27 subnormal exponent extraction and add some __builtin_expect.
28 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
29 Fix for subnormal mantissa calculation.
31 2012-06-04 Mike Frysinger <vapier@gentoo.org>
33 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
34 cpu2 is -1 and errno is not ENOSYS.
36 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
39 * sysdeps/i386/i486/bits/string.h: Renamed to ...
40 * sysdeps/x86/bits/string.h: This.
41 * sysdeps/x86_64/bits/string.h: Removed.
43 * sysdeps/i386/i486/bits/string.h: Define inline functions only
44 if not compiling for x86-64, but compiling for >= i486.
46 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
47 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
49 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
50 New macro from Linux kernel 3.4.0.
51 (FP_XSTATE_MAGIC2): Likewise.
52 (FP_XSTATE_MAGIC2_SIZE): Likewise.
53 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
54 (struct _fpx_sw_bytes): New struct.
55 (struct _xsave_hdr): Likewise.
56 (struct _ymmh_state): Likewise.
57 (struct _xstate): Likewise.
59 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
60 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
61 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
62 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
63 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
64 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
66 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
67 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
68 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
69 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
70 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
71 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
73 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
76 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
77 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
78 (sysdep_headers): Include sys/platform/ppc.h.
79 * sysdeps/powerpc/test-gettimebase.c: Test for
80 __ppc_get_timebase() to catch future ISA opcode/insn changes.
81 * manual/Makefile (appendices): Include platform.texi.
82 * manual/contrib.texi (Contributors): Update @node pointers.
83 * manual/maint.texi (Maintenance): Likewise.
85 * manual/platform.texi: New file. Document the new features.
87 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
88 Jakub Jelinek <jakub@redhat.com>
91 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
92 where __builtin_expect is unavailable.
94 2012-06-03 David S. Miller <davem@davemloft.net>
96 * stdlib/longlong.h: Updated from GCC.
98 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
101 * sysdeps/powerpc/powerpc32/mcount.c: New file.
102 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
105 (GLIBC_2.16): Likewise.
107 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
109 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
111 2012-06-01 Joseph Myers <joseph@codesourcery.com>
113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
114 (default-abi): New variable.
115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
116 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
118 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
120 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
122 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
125 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
126 definition. Document in comment.
128 2012-06-01 David S. Miller <davem@davemloft.net>
130 * stdlib/longlong.h: Updated from GCC.
132 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
135 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
136 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
137 sys/debugreg.h sys/io.h here.
138 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
139 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
141 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
142 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
143 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
144 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
145 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
146 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
148 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
149 Define only if __x86_64__ is defined.
151 2012-06-01 Joseph Myers <joseph@codesourcery.com>
154 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
155 Use int64_t for variable i.
156 * math/libm-test.inc (fmod_test): Add more tests.
158 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
159 z computation is not scheduled after fetestexcept.
160 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
161 Use math_force_eval instead of asm to ensure calculation scheduled
162 before exception test.
163 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
164 Ensure a1 + u.d computation is not scheduled after fetestexcept.
166 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
168 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
169 computation is not scheduled after fetestexcept.
171 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
174 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
175 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
177 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
179 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
180 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
182 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
185 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
187 (__WCHAR_MIN): Support __WORDSIZE == 64.
188 (__WCHAR_MAX): Likewise.
190 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
191 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
194 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
195 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
198 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
199 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
201 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
202 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
204 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
205 Defined to 1 if __x86_64__ isn't defined.
206 (_STAT_VER_LINUX_OLD): New.
207 (st_atime): Remove duplicate.
208 (st_mtime): Likewise.
209 (st_ctime): Likewise.
211 2012-05-31 David S. Miller <davem@davemloft.net>
213 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
216 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
218 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
222 * elf/dl-reloc.c: Include <_itoa.h>.
223 (_dl_reloc_bad_type): Remove use of INTUSE.
224 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
225 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
226 * stdio-common/psiginfo.c (psiginfo): Likewise.
227 * stdio-common/psignal.c (psignal): Likewise.
228 * string/strsignal.c (strsignal): Likewise.
229 * include/signal.h (_sys_siglist): Declare hidden proto.
230 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
231 INTVARDEF with libc_hidden_data_def.
232 * stdio-common/itoa-udigits.c: Likewise.
233 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
234 (_itoa_lower_digits_internal): Remove declaration.
235 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
236 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
237 (_sys_sigabbrev_internal): Remove aliases.
238 (_sys_siglist): Define hidden alias.
240 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
242 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
245 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
248 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
249 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
251 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
252 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
253 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
254 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
255 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
256 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
258 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
259 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
260 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
262 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
270 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
271 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
272 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
274 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
275 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
276 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
277 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
278 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
279 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
281 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
282 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
284 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
285 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
287 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
288 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
289 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
291 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
292 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
294 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
296 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
297 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
298 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
300 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
302 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
304 2012-05-31 Joseph Myers <joseph@codesourcery.com>
306 * math/math.h (M_El): Use two more decimal places.
307 (M_LOG2El): Likewise.
308 (M_LOG10El): Likewise.
316 (M_2_SQRTPIl): Likewise.
317 (M_SQRT2l): Likewise.
318 (M_SQRT1_2l): Likewise.
320 2012-05-31 David S. Miller <davem@davemloft.net>
322 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
323 values between float registers.
324 * sysdeps/sparc/sparc64/memset.S: Likewise.
325 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
327 2012-05-31 Mike Frysinger <vapier@gentoo.org>
329 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
331 (CPPFLAGS-tst-longjmp_chk.c): Define.
332 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
333 (CPPFLAGS-tst-longjmp_chk2.c): Define.
334 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
335 CFLAGS-tst-wchar-h.c.
337 2012-05-31 Marek Polacek <polacek@redhat.com>
340 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
341 __endmntent_internal): Remove declaration.
342 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
343 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
344 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
346 2012-05-30 David S. Miller <davem@davemloft.net>
348 * sysdeps/sparc/sparc32/soft-fp/q_util.c
349 (___Q_simulate_exceptions): Use real FP ops rather than writing
351 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
354 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
357 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
358 * sysdeps/x86/bits/xtitypes.h: This.
360 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
361 * sysdeps/x86/bits/wordsize.h: This.
363 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
364 * sysdeps/x86/bits/huge_vall.h: This.
366 * sysdeps/i386/bits/select.h: Removed.
367 * sysdeps/x86_64/bits/select.h: Renamed to ...
368 * sysdeps/x86/bits/select.h: This.
370 * sysdeps/i386/bits/setjmp.h: Removed.
371 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
372 * sysdeps/x86/bits/setjmp.h: This.
374 * sysdeps/i386/bits/mathdef.h: Removed.
375 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
376 * sysdeps/x86/bits/mathdef.h: This.
378 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
381 * include/sys/socket.h (__connect_internal)
382 (__libc_sa_len_internal): Remove declaration.
383 (__connect, __libc_sa_len): Declare hidden_proto.
384 (SA_LEN): Remove use of INTUSE.
385 * socket/connect.c: Add libc_hidden_def.
386 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
387 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
388 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
390 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
391 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
392 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
393 of adding _internal alias.
395 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
398 * sysdeps/i386/bits/link.h: Removed.
399 * sysdeps/i386/bits/linkmap.h: Likewise.
400 * sysdeps/x86_64/bits/link.h: Renamed to ...
401 * sysdeps/x86/bits/link.h: This.
402 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
403 * sysdeps/x86/bits/linkmap.h: This.
405 * sysdeps/i386/bits/endian.h: Removed.
406 * sysdeps/x86_64/bits/endian.h: Renamed to ...
407 * sysdeps/x86/bits/endian.h: This.
409 * sysdeps/i386/bits/byteswap.h: Removed.
410 * sysdeps/i386/bits/byteswap-16.h: Likewise.
411 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
412 * sysdeps/x86/bits/byteswap.h: This.
413 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
414 * sysdeps/x86/bits/byteswap-16.h: This.
415 * sysdeps/i386/Implies: Add x86.
416 * sysdeps/x86_64/Implies: Likewise.
418 2012-05-30 David S. Miller <davem@davemloft.net>
420 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
421 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
422 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
423 (FP_TRAPPING_EXCEPTIONS): Define.
424 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
425 (FP_TRAPPING_EXCEPTIONS): Define.
426 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
427 subnormals only when inexact has been signalled or underflow
428 exceptions are enabled.
429 (_FP_PACK_CANONICAL): Likewise.
431 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
434 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
435 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
437 2012-05-30 Richard Henderson <rth@twiddle.net>
439 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
440 with #ifndef NOT_IN_libc.
442 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
443 marked to avoid plt entry.
445 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
448 * Makeconfig (default-abi): New macro.
449 (abi-includes): Likewise.
450 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
451 $(abi-$(default-abi)-lib-soname) for soname if defined.
452 ($(common-objpfx)gnu/lib-names.stmp): Generate from
454 * Makefile (installed-stubs): Likewise.
455 * include/stubs-biarch.h: Removed.
456 * scripts/lib-names.awk: Only handle one library at a time.
457 * scripts/soversions.awk: Remove WORDSIZE support.
458 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
460 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
462 (syscall-list-default-condition): Likewise.
463 (syscall-list-default-condition): Likewise.
464 (syscall-list-includes): Likewise.
465 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
466 syscall-list-* with abi-*. Handle undefined abi-variants.
467 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
468 * sysdeps/unix/sysv/linux/i386/Implies: New file.
469 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
470 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
471 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
472 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
474 (syscall-list-32-options): Likewise.
475 (syscall-list-32-condition): Likewise.
476 (syscall-list-64-options): Likewise.
477 (syscall-list-64-condition): Likewise.
478 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
480 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
483 (abi-64-ld-soname): New macro.
484 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
485 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
488 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
489 * sysdeps/x86_64/x32/shlib-versions: Likewise.
491 2012-05-30 Joseph Myers <joseph@codesourcery.com>
493 * sysdeps/unix/sysv/linux/kernel-features.h
494 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
495 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
496 include <kernel-features.h>.
497 [!__NR_ftruncate64]: Remove conditional code.
498 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
499 [__NR_ftruncate64]: Make code unconditional.
500 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
501 * sysdeps/unix/sysv/linux/truncate64.c: Do not
502 include <kernel-features.h>.
503 [!__NR_ftruncate64]: Remove conditional code.
504 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
505 [__NR_ftruncate64]: Make code unconditional.
506 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
508 include <kernel-features.h>.
509 [!__NR_ftruncate64]: Remove conditional code.
510 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
511 [__NR_ftruncate64]: Make code unconditional.
512 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
514 include <kernel-features.h>.
515 [!__NR_ftruncate64]: Remove conditional code.
516 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
517 [__NR_ftruncate64]: Make code unconditional.
518 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
520 * configure.in (libc_cv_fpie): Weaken to a compile test using
522 * configure: Regenerated.
524 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
526 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
527 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
528 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
529 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
531 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
532 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
533 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
534 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
535 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
536 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
539 2012-05-27 David S. Miller <davem@davemloft.net>
541 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
543 (__Q_simulate_exceptions): Return void. Change to simulate
544 exceptions by writing into the %fsr.
545 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
546 (__Qp_handle_exceptions): Likewise.
548 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
549 __Qp_handle_exceptions.
550 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
551 __Qp_handle_exceptions.
552 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
553 as unused and give dummy FP_RND_NEAREST initializer.
554 (FP_INHIBIT_RESULTS): Define.
555 (___Q_simulate_exceptions): Update declaration.
556 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
558 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
559 as unused and give dummy FP_RND_NEAREST initializer.
560 (__Qp_handle_exceptions): Update declaration.
561 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
564 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
566 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
567 the temporary FPU control word.
568 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
569 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
570 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
571 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
572 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
573 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
574 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
575 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
576 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
577 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
578 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
580 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
582 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
585 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
587 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
588 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
589 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
590 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
592 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
593 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
596 2012-05-27 Ulrich Drepper <drepper@gmail.com>
598 * po/h.po: Update from translation team.
600 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
602 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
604 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
605 handling of denormals.
606 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
607 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
608 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
609 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
610 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
611 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
612 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
615 2012-05-26 Marek Polacek <polacek@redhat.com>
618 * math/libm-test.inc (fma_test): Don't always expect underflow
621 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
624 * elf/tst-execstack.c: Include stackinfo.h.
625 (do_test): Adjust test case to ensure that pthread_getattr_np
626 behaviour remains the same after marking stack executable.
628 2012-05-25 Joseph Myers <joseph@codesourcery.com>
630 * sysdeps/unix/sysv/linux/kernel-features.h
631 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
632 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
634 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
635 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
636 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
638 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
639 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
641 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
643 * configure.in: Define the default includes to being none.
644 * configure: Regenerated.
646 2012-05-25 Roland McGrath <roland@hack.frob.com>
648 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
649 * sysdeps/x86_64/setjmp.S: Likewise.
650 * sysdeps/i386/bsd-setjmp.S: Likewise.
651 * sysdeps/i386/bsd-_setjmp.S: Likewise.
652 * sysdeps/i386/setjmp.S: Likewise.
653 * sysdeps/i386/__longjmp.S: Likewise.
654 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
655 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
657 * include/stap-probe.h: New file.
658 * configure.in: Handle --enable-systemtap.
659 * configure: Regenerated.
660 * config.h.in (USE_STAP_PROBE): New #undef.
661 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
662 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
663 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
665 2012-05-25 Joseph Myers <joseph@codesourcery.com>
668 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
669 to 2.4.0 where earlier.
670 * sysdeps/unix/sysv/linux/configure: Regenerated.
671 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
673 [__ASSUME_32BITUIDS]: Make code unconditional.
674 [!__ASSUME_32BITUIDS]: Remove conditional code.
675 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
677 [__ASSUME_32BITUIDS]: Make code unconditional.
678 [!__ASSUME_32BITUIDS]: Remove conditional code.
679 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
680 [__ASSUME_32BITUIDS]: Make code unconditional.
681 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
682 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
684 [__ASSUME_32BITUIDS]: Make code unconditional.
685 [!__ASSUME_32BITUIDS]: Remove conditional code.
686 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
688 [__ASSUME_32BITUIDS]: Make code unconditional.
689 [!__ASSUME_32BITUIDS]: Remove conditional code.
690 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
692 [__ASSUME_32BITUIDS]: Make code unconditional.
693 [!__ASSUME_32BITUIDS]: Remove conditional code.
694 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
696 [__ASSUME_32BITUIDS]: Make code unconditional.
697 [!__ASSUME_32BITUIDS]: Remove conditional code.
698 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
700 [__ASSUME_32BITUIDS]: Make code unconditional.
701 [!__ASSUME_32BITUIDS]: Remove conditional code.
702 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
704 [__ASSUME_32BITUIDS]: Make code unconditional.
705 [!__ASSUME_32BITUIDS]: Remove conditional code.
706 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
708 [__ASSUME_32BITUIDS]: Make code unconditional.
709 [!__ASSUME_32BITUIDS]: Remove conditional code.
710 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
712 [__ASSUME_32BITUIDS]: Make code unconditional.
713 [!__ASSUME_32BITUIDS]: Remove conditional code.
714 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
716 [__ASSUME_32BITUIDS]: Make code unconditional.
717 [!__ASSUME_32BITUIDS]: Remove conditional code.
718 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
720 [__ASSUME_32BITUIDS]: Make code unconditional.
721 [!__ASSUME_32BITUIDS]: Remove conditional code.
722 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
724 [__NR_setresgid] (__setresgid): Do not declare.
725 [__ASSUME_32BITUIDS]: Make code unconditional.
726 [!__ASSUME_32BITUIDS]: Remove conditional code.
727 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
729 [__NR_setresuid] (__setresuid): Do not declare.
730 [__ASSUME_32BITUIDS]: Make code unconditional.
731 [!__ASSUME_32BITUIDS]: Remove conditional code.
732 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
734 [__ASSUME_32BITUIDS]: Make code unconditional.
735 [!__ASSUME_32BITUIDS]: Remove conditional code.
736 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
738 [__ASSUME_32BITUIDS]: Make code unconditional.
739 [!__ASSUME_32BITUIDS]: Remove conditional code.
740 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
742 [__ASSUME_32BITUIDS]: Make code unconditional.
743 [!__ASSUME_32BITUIDS]: Remove conditional code.
744 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
746 [__ASSUME_32BITUIDS]: Make code unconditional.
747 [!__ASSUME_32BITUIDS]: Remove conditional code.
748 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
750 [__ASSUME_32BITUIDS]: Make code unconditional.
751 [!__ASSUME_32BITUIDS]: Remove conditional code.
752 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
754 [__ASSUME_32BITUIDS]: Make code unconditional.
755 [!__ASSUME_32BITUIDS]: Remove conditional code.
756 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
758 [__ASSUME_32BITUIDS]: Make code unconditional.
759 [!__ASSUME_32BITUIDS]: Remove conditional code.
760 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
762 [__ASSUME_32BITUIDS]: Make code unconditional.
763 [!__ASSUME_32BITUIDS]: Remove conditional code.
764 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
766 [__ASSUME_32BITUIDS]: Make code unconditional.
767 [!__ASSUME_32BITUIDS]: Remove conditional code.
768 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
770 [__ASSUME_32BITUIDS]: Make code unconditional.
771 [!__ASSUME_32BITUIDS]: Remove conditional code.
772 * sysdeps/unix/sysv/linux/kernel-features.h
773 (__ASSUME_SETRESUID_SYSCALL): Remove.
774 (__ASSUME_SETRESGID_SYSCALL): Likewise.
775 (__ASSUME_32BITUIDS): Likewise.
776 (__ASSUME_LDT_WORKS): Likewise.
777 (__ASSUME_O_DIRECTORY): Likewise.
778 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
779 architecture but not kernel version.
780 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
781 (__ASSUME_MMAP2_SYSCALL): Likewise.
782 (__ASSUME_STAT64_SYSCALL): Likewise.
783 (__ASSUME_IPC64): Likewise.
784 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
786 [__ASSUME_32BITUIDS]: Make code unconditional.
787 [!__ASSUME_32BITUIDS]: Remove conditional code.
788 * sysdeps/unix/sysv/linux/opendir.c: Do not include
790 [__ASSUME_O_DIRECTORY]: Make code unconditional.
791 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
792 132096]: Remove conditional code.
793 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
794 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
796 [__ASSUME_32BITUIDS]: Make code unconditional.
797 [!__ASSUME_32BITUIDS]: Remove conditional code.
798 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
800 [__ASSUME_32BITUIDS]: Make code unconditional.
801 [!__ASSUME_32BITUIDS]: Remove conditional code.
802 * sysdeps/unix/sysv/linux/setegid.c: Do not include
804 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
806 (__setresgid): Do not declare.
807 [__ASSUME_32BITUIDS]: Make code unconditional.
808 [!__ASSUME_32BITUIDS]: Remove conditional code.
809 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
811 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
813 (__setresuid): Do not declare.
814 [__ASSUME_32BITUIDS]: Make code unconditional.
815 [!__ASSUME_32BITUIDS]: Remove conditional code.
816 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
818 [__ASSUME_32BITUIDS]: Make code unconditional.
819 [!__ASSUME_32BITUIDS]: Remove conditional code.
820 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
822 [__ASSUME_32BITUIDS]: Make code unconditional.
823 [!__ASSUME_32BITUIDS]: Remove conditional code.
825 2012-05-25 Richard Henderson <rth@twiddle.net>
827 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
828 dl_hwcap to ifunc resolver.
829 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
831 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
832 dl_hwcap to ifunc resolver.
833 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
835 2012-05-24 Joseph Myers <joseph@codesourcery.com>
838 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
839 for |x| <= 2**-26, not 2**-57.
840 * math/libm-test.inc (acos_test): Do not allow spurious underflow
843 2012-05-24 Jeff Law <law@redhat.com>
845 * stdio-common/Makefile (tests): Add bug25.
846 * stdio-common/bug25.c: New test.
848 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
851 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
852 multiple of MALLOC_ALIGNMENT in size.
853 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
855 2012-05-24 Joseph Myers <joseph@codesourcery.com>
857 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
859 (FILENAME_MAX): Use macro-int-constant.
860 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
861 (_IOFBF): Use macro-int-constant.
864 (SEEK_CUR): Likewise.
865 (SEEK_END): Likewise.
866 (SEEK_SET): Likewise.
868 (EOF): Use macro-int-constant. Require < 0.
869 (NULL): Use macro-constant. Require == 0.
870 (stdin): Require type to be FILE *.
873 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
875 (EXIT_SUCCESS): Likewise.
876 (NULL): Use macro-constant. Require == 0.
877 (RAND_MAX): Use macro-int-constant.
878 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
879 [C99-based standards] (strtof): Require function.
880 [C99-based standards] (strtold): Likewise.
881 [C99-based standards] (strtoll): Likewise.
882 [C99-based standards] (strtoull): Likewise.
883 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
884 [ISO || ISO99 || ISO11] (limits.h): Likewise.
885 [ISO || ISO99 || ISO11] (math.h): Likewise.
886 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
887 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
888 [ISO || ISO99 || ISO11] (*_t): Do not allow.
890 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
893 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
894 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
895 * intl/dgettext.c (DCGETTEXT): Likewise.
896 * intl/gettext.c (DCGETTEXT): Likewise.
897 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
898 * posix/regex_internal.h (gettext): Likewise.
899 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
901 * include/argz.h (__argz_count_internal)
902 (__argz_stringify_internal): Remove declaration.
903 (__argz_count, __argz_stringify): Declare hidden proto.
904 * intl/dcgettext.c: Remove use of INTDEF.
905 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
906 * string/argz-stringify.c: Likewise.
907 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
908 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
909 Declare hidden proto.
910 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
911 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
912 Declare hidden proto.
913 * include/stdio.h (__asprintf_internal): Don't declare.
914 (__asprintf): Don't define as macro. Declare hidden proto.
915 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
916 (__fsetlocking): Declare hidden proto.
917 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
918 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
920 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
921 (_IO_setlinebuf): Remove use of INTUSE.
922 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
923 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
924 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
926 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
927 (_IO_do_flush): Remove use of INTUSE.
928 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
929 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
930 (_IO_adjust_column, _IO_least_wmarker)
931 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
932 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
933 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
934 (_IO_default_doallocate, _IO_wdefault_doallocate)
935 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
936 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
937 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
938 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
939 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
940 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
941 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
942 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
943 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
944 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
945 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
946 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
947 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
949 (_IO_flush_all_internal, _IO_adjust_column_internal)
950 (_IO_default_uflow_internal, _IO_default_finish_internal)
951 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
952 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
953 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
954 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
955 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
956 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
957 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
958 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
959 (_IO_file_close_internal, _IO_file_close_it_internal)
960 (_IO_file_underflow_internal, _IO_file_overflow_internal)
961 (_IO_file_init_internal, _IO_file_attach_internal)
962 (_IO_file_fopen_internal, _IO_file_read_internal)
963 (_IO_file_sync_internal, _IO_file_seek_internal)
964 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
965 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
966 (_IO_str_underflow_internal, _IO_str_overflow_internal)
967 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
968 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
969 (_IO_list_all_internal, _IO_link_in_internal)
970 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
971 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
972 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
973 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
974 (_IO_do_write_internal, _IO_padn_internal)
975 (_IO_getline_info_internal, _IO_getline_internal)
976 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
977 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
978 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
979 (_IO_vfscanf_internal, _IO_vfprintf_internal)
980 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
981 (_IO_init_internal, _IO_un_link_internal): Don't declare.
982 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
983 with libc_hidden_ver, remove use of INTUSE.
984 * libio/genops.c: Likewise.
985 * libio/freopen.c: Likewise.
986 * libio/freopen64.c: Likewise.
987 * libio/iofclose.c: Likewise.
988 * libio/iofdopen.c: Likewise.
989 * libio/iofflush.c: Likewise.
990 * libio/iofflush_u.c: Likewise.
991 * libio/iofgets.c: Likewise.
992 * libio/iofgets_u.c: Likewise.
993 * libio/iofopen.c: Likewise.
994 * libio/iofopncook.c: Likewise.
995 * libio/iofread.c: Likewise.
996 * libio/iofread_u.c: Likewise.
997 * libio/ioftell.c: Likewise.
998 * libio/iofwrite.c: Likewise.
999 * libio/iogetline.c: Likewise.
1000 * libio/iogets.c: Likewise.
1001 * libio/iogetwline.c: Likewise.
1002 * libio/iopadn.c: Likewise.
1003 * libio/iopopen.c: Likewise.
1004 * libio/ioseekoff.c: Likewise.
1005 * libio/ioseekpos.c: Likewise.
1006 * libio/iosetbuffer.c: Likewise.
1007 * libio/iosetvbuf.c: Likewise.
1008 * libio/ioungetc.c: Likewise.
1009 * libio/ioungetwc.c: Likewise.
1010 * libio/iovdprintf.c: Likewise.
1011 * libio/iovsprintf.c: Likewise.
1012 * libio/iovsscanf.c: Likewise.
1013 * libio/memstream.c: Likewise.
1014 * libio/obprintf.c: Likewise.
1015 * libio/oldfileops.c: Likewise.
1016 * libio/oldiofclose.c: Likewise.
1017 * libio/oldiofdopen.c: Likewise.
1018 * libio/oldiofopen.c: Likewise.
1019 * libio/oldiopopen.c: Likewise.
1020 * libio/oldstdfiles.c: Likewise.
1021 * libio/putc.c: Likewise.
1022 * libio/setbuf.c: Likewise.
1023 * libio/setlinebuf.c: Likewise.
1024 * libio/stdfiles.c: Likewise.
1025 * libio/strops.c: Likewise.
1026 * libio/vasprintf.c: Likewise.
1027 * libio/vscanf.c: Likewise.
1028 * libio/vsnprintf.c: Likewise.
1029 * libio/vswprintf.c: Likewise.
1030 * libio/wfiledoalloc.c: Likewise.
1031 * libio/wfileops.c: Likewise.
1032 * libio/wgenops.c: Likewise.
1033 * libio/wmemstream.c: Likewise.
1034 * libio/wstrops.c: Likewise.
1035 * libio/__fpurge.c: Likewise.
1036 * libio/__fsetlocking.c: Likewise.
1037 * assert/assert.c: Likewise.
1038 * debug/fgets_chk.c: Likewise.
1039 * debug/fgets_u_chk.c: Likewise.
1040 * debug/fread_chk.c: Likewise.
1041 * debug/fread_u_chk.c: Likewise.
1042 * debug/gets_chk.c: Likewise.
1043 * debug/obprintf_chk.c: Likewise.
1044 * debug/vasprintf_chk.c: Likewise.
1045 * debug/vdprintf_chk.c: Likewise.
1046 * debug/vsnprintf_chk.c: Likewise.
1047 * debug/vsprintf_chk.c: Likewise.
1048 * malloc/mtrace.c: Likewise.
1049 * misc/error.c: Likewise.
1050 * misc/syslog.c: Likewise.
1051 * stdio-common/asprintf.c: Likewise.
1052 * stdio-common/fxprintf.c: Likewise.
1053 * stdio-common/getw.c: Likewise.
1054 * stdio-common/isoc99_fscanf.c: Likewise.
1055 * stdio-common/isoc99_scanf.c: Likewise.
1056 * stdio-common/isoc99_vfscanf.c: Likewise.
1057 * stdio-common/isoc99_vscanf.c: Likewise.
1058 * stdio-common/isoc99_vsscanf.c: Likewise.
1059 * stdio-common/printf-prs.c: Likewise.
1060 * stdio-common/printf_fp.c: Likewise.
1061 * stdio-common/printf_fphex.c: Likewise.
1062 * stdio-common/printf_size.c: Likewise.
1063 * stdio-common/putw.c: Likewise.
1064 * stdio-common/scanf.c: Likewise.
1065 * stdio-common/sprintf.c: Likewise.
1066 * stdio-common/tmpfile.c: Likewise.
1067 * stdio-common/vfprintf.c: Likewise.
1068 * stdio-common/vfscanf.c: Likewise.
1069 * stdlib/strfmon_l.c: Likewise.
1070 * sunrpc/openchild.c: Likewise.
1071 * sunrpc/xdr_stdio.c: Likewise.
1072 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
1073 * sysdeps/mach/hurd/tmpfile.c: Likewise.
1075 2012-05-24 Roland McGrath <roland@hack.frob.com>
1077 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1079 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
1080 in the third column, to generate for the shared library an IFUNC
1081 that uses _dl_vdso_vsym.
1082 * Makerules (COMPILE.c, compile-stdin.c): New variables.
1083 * Makeconfig (object-suffixes-noshared): New variable.
1085 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
1086 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
1087 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
1088 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
1091 * include/sys/time.h (__gettimeofday): Remove macro.
1092 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
1093 * time/gettimeofday.c (__gettimeofday): Remove #undef.
1095 (__gettimeofday): Add libc_hidden_def.
1096 (gettimeofday): Add libc_hidden_weak.
1097 * sysdeps/mach/gettimeofday.c: Likewise.
1098 * sysdeps/posix/gettimeofday.c: Likewise.
1099 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
1100 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
1101 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
1102 (__gettimeofday_internal): Remove strong_alias.
1103 (__gettimeofday): Add libc_hidden_def.
1104 (gettimeofday): Add libc_hidden_weak.
1105 * sysdeps/unix/syscalls.list (gettimeofday):
1106 Remove __gettimeofday_internal alias.
1108 2012-05-24 Daniel Jacobowitz <drow@false.org>
1109 H.J. Lu <hongjiu.lu@intel.com>
1112 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
1113 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
1114 (largebin_index_32_big): New.
1115 (largebin_index): Use it for 16-byte alignment.
1116 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
1117 correction with front_misalign.
1119 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
1121 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
1122 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
1124 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
1126 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
1128 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
1130 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
1132 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
1134 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
1136 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1138 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
1140 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
1142 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
1144 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
1147 * scripts/data/c++-types-x32-linux-gnu.data: New file.
1148 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
1150 2012-05-24 Joseph Myers <joseph@codesourcery.com>
1154 * math/libm-test.inc (exp_test): Add test from bug 14036.
1155 (pow_test): Add test from bug 10846.
1157 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
1159 (special_function): Do not include flags in test name.
1160 (parse_args): Likewise.
1161 * sysdeps/i386/fpu/libm-test-ulps: Update.
1162 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1163 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1164 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1165 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1167 * math/gen-libm-test.pl (%beautify): Add entries for underflow
1169 * math/libm-test.inc ("Philosophy"): Update comment about
1171 (UNDERFLOW_EXCEPTION): New macro.
1172 (UNDERFLOW_EXCEPTION_OK): Likewise.
1173 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
1174 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
1175 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
1176 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
1177 (INVALID_EXCEPTION_OK): Update value.
1178 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1179 (OVERFLOW_EXCEPTION_OK): Likewise.
1180 (IGNORE_ZERO_INF_SIGN): Likewise.
1181 (test_exceptions): Handle underflow exceptions.
1182 (acos_test): Update for underflow exception expectations.
1183 (cexp_test): Likewise.
1184 (clog_test): Likewise.
1185 (clog10_test): Likewise.
1186 (csqrt_test): Likewise.
1187 (ctan_test): Likewise.
1188 (ctanh_test): Likewise.
1189 (exp_test): Likewise.
1190 (exp10_test): Likewise.
1191 (exp2_test): Likewise.
1192 (expm1_test): Likewise.
1193 (fma_test): Likewise.
1194 (j0_test): Likewise.
1195 (jn_test): Likewise.
1196 (nexttoward_test): Likewise.
1197 (pow_test): Likewise.
1198 (scalbn_test): Likewise.
1199 (scalbln_test): Likewise.
1200 (tan_test): Likewise.
1201 (y1_test): Likewise.
1202 * sysdeps/i386/fpu/libm-test-ulps: Update.
1203 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1205 2012-05-23 David S. Miller <davem@davemloft.net>
1207 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1208 (__libc_sigaction): Remove unused local variables.
1210 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1212 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
1214 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
1216 mktime: avoid signed integer overflow
1217 * time/mktime.c (__mktime_internal): Do not mishandle the case
1218 where diff == INT_MIN.
1220 mktime: simplify computation of average
1221 * time/mktime.c (ranged_convert): Use new time_t_avg function
1222 instead of rolling our own (probably-slower) code.
1224 mktime: do not assume signed right shift propagates sign bit
1225 * time/mktime.c (isdst_differ): New static function.
1226 (__mktime_internal): No need to normalize tm_isdst now.
1227 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
1230 mktime: merge another wrapv change from gnulib
1231 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
1232 from some compilers.
1234 mktime: remove incorrect attempt at unusual arithmetics
1235 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
1236 The code didn't really work on such machines anyway.
1237 (TYPE_MINIMUM): Assume two's complement.
1238 (twos_complement_arithmetic): Verify that long_int and time_t
1239 are two's complement (or unsigned, in the latter case).
1241 mktime: check signed shifts on long_int and time_t, too
1242 * time/mktime.c (SHR): Check that shifts work as desired
1243 on the types long_int and time_t too, as SHR is used on
1246 mktime: do not assume 'long' is wide enough
1247 * time/mktime.c (verify): Move decl up.
1248 (long_int): New type.
1249 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
1250 to remove assumption in the code that 'long' is wide enough to
1251 store year values. This assumption is not true on x32 and on
1252 some non-glibc platforms.
1254 mktime: merge wrapv change from gnulib
1255 * time/mktime.c (WRAPV): New macro.
1256 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
1257 (guess_time_tm, __mktime_internal): Do not assume that signed
1258 integer overflow wraps around; modern compilers generate code
1259 where this assumption is no longer valid.
1261 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1263 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1264 Replace "jmp L(pseudo_end)" with "ret".
1265 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
1268 2012-05-23 Andreas Jaeger <aj@suse.de>
1270 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
1271 * sysdeps/unix/sysv/linux/poll.c: Remove file.
1273 2012-05-23 Andreas Jaeger <aj@suse.de>
1274 Maximilian Attems <max@stro.at>
1276 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
1279 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1281 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
1282 code so that pseudo_end is just ret and the stack pointer is
1283 correct also for static library in error case.
1285 2012-05-23 Joseph Myers <joseph@codesourcery.com>
1287 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
1288 move to syscalls.list.
1289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1294 * manual/install.texi (Running make install): Do not mention Linux
1295 kernel version for which pt_chown is not needed.
1296 (Linux): Do not mention problems with nscd with 2.0 kernels.
1297 * INSTALL: Regenerated.
1299 2012-05-23 Andreas Jaeger <aj@suse.de>
1301 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
1302 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
1304 * sysdeps/unix/sysv/linux/s390/bits/mman.h
1305 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1306 * sysdeps/unix/sysv/linux/sh/bits/mman.h
1307 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1308 * sysdeps/unix/sysv/linux/i386/bits/mman.h
1309 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1310 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
1311 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1312 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
1313 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1314 * sysdeps/unix/sysv/linux/bits/in.h
1315 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
1317 2012-05-22 Roland McGrath <roland@hack.frob.com>
1319 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
1320 (PREPARE_VERSION): Just use assert instead, it will be elided
1321 under [NDEBUG] anyway.
1323 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1325 * sysdeps/unix/sysv/linux/Makefile: Include
1326 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
1327 (sysdep_routines): Remove sysctl.
1328 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
1329 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
1330 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
1331 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
1332 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
1334 2012-05-22 Andreas Jaeger <aj@suse.de>
1336 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
1337 that pseudo_end is just ret and the stack pointer is correct also
1338 for static library in error case.
1340 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
1343 * nss/nsswitch.c (defconfig_entries): New variable.
1344 (__nss_database_lookup): Don't leak defconfig entries.
1345 (nss_parse_service_list): Don't leak on error paths.
1346 (free_database_entries): New function.
1347 (free_defconfig): New function.
1348 (free_mem): Move common code to free_database_entries.
1350 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1352 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
1354 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
1356 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1357 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
1358 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
1360 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
1361 (INTERNAL_SYSCALL_TYPES): Likewise.
1362 (LOAD_ARGS_TYPES_[1-6]): Likewise.
1363 (LOAD_REGS_TYPES_[1-6]): Likewise.
1364 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
1365 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
1367 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1369 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
1370 copysignl for GLIBC_2_0.
1371 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
1372 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
1373 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
1374 logbl for GLIBC_2_0.
1375 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1376 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1378 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1380 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
1381 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1383 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1386 * time/mktime.c: Update copyright years.
1388 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
1390 mktime: merge comment-quoting-style change from gnulib
1391 * time/mktime.c: Quote 'like this' in comments.
1392 The GNU coding standards suggest that we no longer quote `like this',
1393 as "`" and "'" are typically rendered asymmetrically nowadays.
1394 The typical gnulib style is to quote 'like this' when quoting
1395 code, and "like this" when quoting English.
1397 * time/mktime.c (compile-command): Add "-I.".
1399 mktime: merge mktime-internal.h change from gnulib
1400 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
1402 mktime: merge time_r change from gnulib
1403 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
1405 mktime: merge DEBUG change from gnulib
1406 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
1407 case system <time.h> has a #define.
1409 mktime: merge <sys/types.h> change from gnulib
1410 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
1411 since <time.t> is now guaranteed to define time_t.
1413 mktime: merge HAVE_CONFIG_H change from gnulib
1414 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
1416 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1418 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1421 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
1423 (struct rusage): Use anonymous union to pad each field to
1426 2012-05-21 David S. Miller <davem@davemloft.net>
1428 * Makefules (o-iterator): Remove .s cases.
1429 (compile-command.s): Delete.
1430 (COMPILE.s): Delete.
1431 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
1433 2012-05-21 Joseph Myers <joseph@codesourcery.com>
1435 * configure.in (libc_cv_predef_stack_protector): Only consider
1436 "foobar" and "__stack_chk_fail" lines in libc_undefs.
1437 * configure: Regenerated.
1439 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1441 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1442 New macro. Use R*LP on int and pointer.
1443 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
1444 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
1445 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
1446 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
1448 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
1449 [__WORDSIZE_TIME64_COMPAT32] instead of
1450 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
1451 (struct utmp): Likewise.
1452 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
1453 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
1455 (__WORDSIZE_TIME64_COMPAT32): This.
1456 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
1457 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
1458 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
1459 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
1460 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
1461 (__WORDSIZE_TIME64_COMPAT32): New macro.
1463 2012-05-21 Andreas Jaeger <aj@suse.de>
1465 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
1466 only if [SHARED]. Add prototype for __wcschr_ia32.
1468 2012-05-21 Roland McGrath <roland@hack.frob.com>
1470 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
1471 of %rbp unmolested in the jmp_buf while mangling the low bits.
1472 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
1473 unmolested high bits of %rbp while demangling the low bits.
1474 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
1476 2012-05-21 Andreas Jaeger <aj@suse.de>
1478 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
1479 * sunrpc/svc_simple.c: Use it for registerrpc.
1480 * sunrpc/xcrypt.c: Use it for passwd2des.
1482 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
1484 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1486 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
1487 Don't define if [__SYSCALL_WORDSIZE != 32].
1488 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
1491 2012-05-21 Bruno Haible <bruno@clisp.org>
1492 Andreas Jaeger <aj@suse.de>
1494 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
1495 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
1496 inptr and inend for must_buffer_ch.
1497 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
1498 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
1499 * stdio-common/Makefile (tests): Remove bug15.
1500 (bug15-ENV): Remove macro.
1501 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
1504 2012-05-19 Andreas Jaeger <aj@suse.de>
1505 Roland McGrath <roland@hack.frob.com>
1507 * manual/contrib.texi: Completely rewritten. It contains now an
1508 alphabetical list of contributors and their contributions.
1510 2012-05-21 Richard Henderson <rth@twiddle.net>
1512 * misc/getauxval.c (__getauxval): Use unsigned long int.
1513 * misc/sys/auxv.h: Include <sys/cdefs.h>.
1514 (getauxval): Use unsigned long int.
1516 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1518 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1520 2012-05-21 Roland McGrath <roland@hack.frob.com>
1522 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
1523 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
1524 __alignof__ (long double).
1526 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1528 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1530 2012-05-20 Richard Henderson <rth@twiddle.net>
1532 * misc/getauxval.c: New file.
1533 * misc/sys/auxv.h: New file.
1534 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
1535 (routines): Add getauxval.
1536 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
1537 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
1538 * elf/dl-sysdep.c (_dl_auxv): Remove.
1539 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
1540 * elf/dl-support.c (_dl_auxv): New variable.
1541 (_dl_aux_init): Initialize it.
1542 * manual/startup.texi (Auxiliary Vector): New node.
1543 * sysdeps/generic/bits/hwcap.h: New file.
1544 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
1545 * sysdeps/powerpc/sysdep.h: ... here. Include it.
1546 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
1547 * sysdeps/sparc/sysdep.h: ... here. Include it.
1548 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
1549 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
1550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
1553 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
1554 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
1555 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
1556 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1557 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1558 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
1559 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
1561 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1563 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1565 2012-05-19 David S. Miller <davem@davemloft.net>
1567 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1569 2012-05-19 Joseph Myers <joseph@codesourcery.com>
1572 * math/s_ccosh.c: Include <float.h>
1573 (__ccosh): Avoid internal overflow calculating sinh and cosh
1574 values before multiplying by sin and cos values.
1575 * math/s_ccoshf.c: Likewise.
1576 * math/s_ccoshl.c: Likewise.
1577 * math/s_csin.c: Likewise.
1578 * math/s_csinf.c: Likewise.
1579 * math/s_csinl.c: Likewise.
1580 * math/s_csinh.c: Likewise.
1581 * math/s_csinhf.c: Likewise.
1582 * math/s_csinhl.c: Likewise.
1583 * math/libm-test.inc (ccos_test): Add more tests.
1584 (ccosh_test): Likewise.
1585 (csin_test): Likewise.
1586 (csinh_test): Likewise.
1587 * sysdeps/i386/fpu/libm-test-ulps: Update.
1588 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1590 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
1592 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
1593 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
1595 * sysdeps/x86_64/x32/_itoa.h: Add comment.
1597 2012-05-19 Joseph Myers <joseph@codesourcery.com>
1599 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
1600 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
1601 * sysdeps/powerpc/soft-fp/Versions: Likewise.
1602 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
1603 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
1604 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
1605 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
1606 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
1607 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
1608 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
1609 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
1610 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
1611 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
1612 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
1613 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
1614 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
1615 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
1616 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
1617 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
1618 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
1619 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
1620 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
1621 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
1622 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
1623 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
1624 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
1625 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
1626 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
1627 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
1628 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
1629 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
1631 2012-05-18 Andreas Jaeger <aj@suse.de>
1633 * csu/.gitignore: Delete.
1635 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1637 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
1638 (timex): Use __syscall_slong_t.
1640 2012-05-18 Andreas Jaeger <aj@suse.de>
1641 Carlos O'Donell <carlos_odonell@mentor.com>
1643 * manual/install.texi (Configuring and compiling): Update
1644 description about files modified in the source directory.
1645 * INSTALL: Regenerated.
1647 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1649 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
1650 value. Use "or" to set return value to -1.
1651 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
1652 negate return value.
1654 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1656 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
1657 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
1658 failure if the compiler has Graphite support disabled.
1659 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
1661 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
1662 CFLAGS-memmove.c): Likewise.
1663 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
1666 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1668 * sysdeps/x86_64/x32/_itoa.h: New file.
1670 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
1671 getdents system call only if kernel and user dirents have the
1672 same d_ino and d_off.
1674 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1675 LLONG_MAX != LONG_MAX.
1676 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1677 (_fitoa_word): Likewise.
1679 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
1681 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
1682 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
1683 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
1685 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
1686 include <bits/wordsize.h>. Check __x86_64__ instead of
1688 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
1689 if __x86_64__ is defined. Use anonymous union on fpstate.
1691 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
1694 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
1696 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
1697 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
1698 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
1699 Refer to _rtld_local_ro instead of _rtld_global_ro.
1700 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
1702 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
1704 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
1706 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
1707 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
1708 of _rtld_global, and rtld_progname instead of _dl_argv[0].
1710 * sysdeps/powerpc/powerpc32/dl-machine.c
1711 (__elf_machine_runtime_setup) [PROF]: Don't reference
1714 2012-05-18 Andreas Jaeger <aj@suse.de>
1716 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
1717 function only available for GCCs before 3.4 since GCC 3.4
1718 introduced a builtin.
1720 (llrintf): Likewise.
1728 (nearbyint): Likewise.
1729 (nearbyintf): Likewise.
1735 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1737 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
1738 on both fields and cast pointer to __syscall_ulong_t.
1740 * bits/types.h (__fsword_t): New type.
1741 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
1742 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
1743 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1744 (__FSWORD_T_TYPE): Likewise.
1745 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1746 (__FSWORD_T_TYPE): Likewise.
1747 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1748 (__FSWORD_T_TYPE): Likewise.
1749 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
1750 (__FSWORD_T_TYPE): Likewise.
1751 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
1752 __SWORD_TYPE with __fsword_t.
1753 (statfs64): Likewise.
1755 2012-05-17 David S. Miller <davem@davemloft.net>
1757 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
1759 2012-05-17 Andreas Jaeger <aj@suse.de>
1761 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
1764 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1766 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
1768 2012-05-17 Andreas Jaeger <aj@suse.de>
1770 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
1773 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1775 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
1777 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1779 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
1780 * sysdeps/x86_64/tst-mallocalign1.c: New file.
1782 2012-05-17 Andreas Jaeger <aj@suse.de>
1783 Carlos O'Donell <carlos_odonell@mentor.com>
1786 * sysdeps/x86_64/multiarch/init-arch.h
1787 (bit_YMM_Usable): Rename to...
1788 (bit_AVX_Usable): ... this.
1789 (bit_FMA4_Usable): New macro.
1790 (bit_XMM_state): New macro.
1791 (bit_YMM_state): New macro.
1792 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
1793 [__ASSEMBLER__] (index_AVX_Usable): ... this.
1794 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
1795 (CPUID_OSXSAVE): New macro.
1796 (CPUID_AVX): New macro.
1797 (CPUID_FMA4): New macro.
1798 (index_YMM_Usable): Rename to...
1799 (index_AVX_Usable): ... this.
1800 (HAS_AVX): Use HAS_ARCH_FEATURE.
1801 (HAS_FMA4): Likewise.
1802 (HAS_YMM_USABLE): Remove.
1803 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1804 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
1806 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
1807 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
1808 * sysdeps/x86_64/multiarch/Makefile: Likewise.
1809 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
1810 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
1812 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1814 * math/libm-test.c: Support platforms without multiple rounding modes.
1815 * math/bug-nextafter.c: Support platforms without FP exceptions.
1816 * math/bug-nexttoward.c: Likewise.
1817 * math/test-fenv.c: Likewise.
1818 * math/test-misc.c: Likewise.
1819 * stdlib/bug-getcontext.c: Likewise.
1821 2012-05-17 Andreas Jaeger <aj@suse.de>
1823 * manual/examples/search.c (critter_cmp): Change signature to
1825 * manual/string.texi (Collation Functions): Likewise.
1827 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1829 * bits/types.h: Fold copyright years.
1830 * bits/typesizes.h: Likewise.
1831 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
1832 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
1833 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
1834 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
1835 * time/time.h: Likewise.
1837 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
1840 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
1841 in instead of returning them. Return void.
1842 (__libc_mallinfo): Accumulate over all arenas.
1843 (__malloc_stats): Adjust for change in int_mallinfo interface.
1845 2012-05-16 Roland McGrath <roland@hack.frob.com>
1848 * configure.in (NM): Add AC_CHECK_TOOL for it.
1849 (libc_extra_cflags): New substituted variable.
1850 Check for -fstack-protector being used implicitly.
1851 * configure: Regenerated.
1852 * config.make.in (config-extra-cflags): New variable,
1853 gets @libc_extra_cflags@.
1854 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
1857 * configure.in: Check for _FORTIFY_SOURCE being predefined.
1858 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
1859 * configure: Regenerated.
1860 * config.make.in (CPPUNDEFS): New substituted variable.
1861 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
1862 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
1863 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
1865 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1867 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
1868 (mq_attr): Use __syscall_slong_t.
1870 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1872 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
1873 Check __x86_64__ instead of __WORDSIZE.
1874 (_STAT_VER_LINUX): Likewise.
1875 (stat): Check __x86_64__ instead of __WORDSIZE. Use
1876 __syscall_ulong_t and __syscall_slong_t.
1879 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1881 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
1883 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1885 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
1887 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1889 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
1892 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
1893 include <bits/wordsize.h>. Check __x86_64__ instead of
1895 (greg_t): Use "__extension__ long long int" if __x86_64__ is
1897 (mcontext_t): Replace "unsigned long" with "unsigned long long".
1899 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
1900 include <bits/wordsize.h>. Check __x86_64__ instead of
1902 (user_regs_struct): Use "__extension__ unsigned long long"
1903 instead of "unsigned long" if __x86_64__ is defined.
1904 (user): Likewise. Pad after pointer field if __ILP32__ is
1907 2012-05-16 Joseph Myers <joseph@codesourcery.com>
1909 * configure.in (makeinfo): Require version 4.5 or later. Allow
1911 * configure: Regenerated.
1912 * manual/install.texi (texinfo): Increase version requirement to
1914 * INSTALL: Regenerated.
1916 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
1918 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1920 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
1922 * sysdeps/x86_64/x32/ffs.c: New file.
1924 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
1926 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
1927 defined. Use __syscall_ulong_t.
1928 (shminfo): Use __syscall_ulong_t.
1929 (shm_info): Likewise.
1931 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
1934 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
1936 (msgqnum_t): Use __syscall_ulong_t.
1937 (msglen_t): Likewise.
1938 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
1941 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
1942 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1944 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
1946 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
1947 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
1949 * sysvipc/sys/msg.h (msgbuf): Replace long int with
1952 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
1953 include <bits/wordsize.h>. Check __x86_64__ instead of
1956 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
1957 "unsigned long long int" if __x86_64__ is defined.
1958 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
1960 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
1961 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1962 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
1964 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
1966 (GET_PC): Cast to uintptr_t first.
1967 (GET_FRAME): Likewise.
1968 (GET_STACK): Likewise.
1970 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
1971 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
1972 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
1973 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
1974 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
1975 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
1976 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
1977 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
1978 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
1979 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
1980 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
1981 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
1982 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1983 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
1984 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
1985 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
1986 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
1987 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
1988 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
1989 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
1990 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
1991 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
1992 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
1993 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
1994 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
1995 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
1996 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
1997 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
1998 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
2000 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
2002 * Makerules (+depfiles): Also collect depfiles from .oS in
2004 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
2005 .oS, $(libnldbl-routines)).
2007 * Makerules (native-compile-mkdep-flags): Define.
2008 * sunrpc/Makefile (extra-objs): Add $(addprefix
2009 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
2010 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
2011 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
2012 calling $(make-target-directory).
2014 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2016 * bits/types.h (__snseconds_t): Removed.
2017 * time/time.h (struct timespec): Replace __snseconds_t with
2019 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
2020 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
2022 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2023 (__SNSECONDS_T_TYPE): Likewise.
2024 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2025 (__SNSECONDS_T_TYPE): Likewise.
2026 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2027 (__SNSECONDS_T_TYPE): Likewise.
2029 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2031 * sysdeps/mach/hurd/bits/typesizes.h
2032 (__SYSCALL_SLONG_TYPE): New macro.
2033 (__SYSCALL_ULONG_TYPE): Likewise.
2035 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2037 * bits/types.h (__syscall_slong_t): New type.
2038 (__syscall_ulong_t): Likewise.
2040 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
2041 (__SYSCALL_ULONG_TYPE): Likewise.
2042 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2043 (__SYSCALL_SLONG_TYPE): Likewise.
2044 (__SYSCALL_ULONG_TYPE): Likewise.
2045 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2046 (__SYSCALL_SLONG_TYPE): Likewise.
2047 (__SYSCALL_ULONG_TYPE): Likewise.
2048 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2049 (__SYSCALL_SLONG_TYPE): Likewise.
2050 (__SYSCALL_ULONG_TYPE): Likewise.
2052 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2054 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
2055 Add sigaltstack-offsets.sym.
2056 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
2057 <sigaltstack-offsets.h>.
2058 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
2059 longjmp_msg pointer.
2060 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
2061 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
2063 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
2065 2012-05-15 Joseph Myers <joseph@codesourcery.com>
2067 * elf/stackguard-macros.h: Remove file.
2068 * sysdeps/generic/stackguard-macros.h: New file.
2069 * sysdeps/i386/stackguard-macros.h: Likewise.
2070 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
2071 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
2072 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2073 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2074 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
2075 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
2076 * sysdeps/x86_64/stackguard-macros.h: Likewise.
2077 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
2078 <elf/stackguard-macros.h>.
2081 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
2082 __aligned__ in attribute.
2083 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
2084 (gregset_t): Likewise.
2086 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2088 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
2089 * sysdeps/x86_64/64/Implies-after: Here. New file.
2090 * sysdeps/x86_64/x32/Implies-after: New file.
2092 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2094 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
2095 and access return value for _dl_profile_fixup. Use R10_LP to
2098 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2100 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
2102 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2104 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
2105 * sysdeps/x86_64/x32/sysdep.h: New file.
2107 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2109 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
2110 * sysdeps/x86_64/setjmp.S: Likewise.
2112 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2114 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
2115 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
2116 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
2117 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
2118 remove unused global constant.
2120 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
2122 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
2123 include of <not-cancel.h>.
2125 2012-05-15 Roland McGrath <roland@hack.frob.com>
2127 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
2129 2012-05-15 Jeff Law <law@redhat.com>
2130 Andreas Jaeger <aj@suse.de>
2133 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
2135 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
2136 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
2137 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
2138 code changing __hst_map_handle.map.
2140 2012-05-15 Roland McGrath <roland@hack.frob.com>
2142 * configure.in (sysnames): Look for Implies-before and Implies-after
2144 * configure: Regenerated.
2146 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2148 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
2149 8-byte data alignment with LP_SIZE alignment.
2151 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2153 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
2156 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2158 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
2160 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2162 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
2163 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
2164 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
2166 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2168 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2170 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
2171 (stackinfo_sub_sp): Likewise.
2173 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2175 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
2178 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2180 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
2183 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2185 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
2188 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2190 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
2192 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2194 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
2195 into R11_LP and load __x86_64_shared_cache_size_half into
2198 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2200 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
2203 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2205 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
2207 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
2209 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
2211 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
2212 powerpc32/power7/fpu/s_logb.c via #include.
2213 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
2214 powerpc32/power7/fpu/s_logbf.c via #include.
2215 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
2216 powerpc32/power7/fpu/s_logbl.c via #include.
2218 2012-05-15 Joseph Myers <joseph@codesourcery.com>
2220 * README.libm: Remove file.
2222 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2224 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
2225 count for x32. Use R*_LP and omit operand-size suffix.
2227 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2229 * shlib-versions: Move x86_64-.*-linux.* entries to ...
2230 * sysdeps/x86_64/64/shlib-versions: Here. New file.
2231 * sysdeps/x86_64/x32/shlib-versions: New file.
2233 2012-05-14 Roland McGrath <roland@hack.frob.com>
2235 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
2236 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
2237 Use _dl_fatal_printf instead.
2239 2012-05-14 Joseph Myers <joseph@codesourcery.com>
2241 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
2242 set if not set by the user. Do not allow for being unset.
2243 * sysdeps/unix/sysv/linux/configure: Regenerated.
2245 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2247 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
2248 the `q' suffix from lea and replace .quad with ASM_ADDR.
2250 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2252 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
2253 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
2255 (PTR_DEMANGLE): Likewise.
2257 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2259 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
2261 (ASM_ADDR): Likewise.
2279 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2281 * sysdeps/x86_64/x32/dl-machine.h: New file.
2283 2012-05-14 Andreas Jaeger <aj@suse.de>
2285 * manual/Makefile (subdir): Remove export of subdir.
2286 (all): Remove target.
2287 (.PHONY): Remove all from list.
2288 (mkinstalldirs): Remove.
2289 (.PHONY): Remove installdirs from list.
2290 ($(inst_infodir)/libc.info): Use make-target-directory.
2291 (installdirs): Remove.
2293 (glibc-targets): Remove.
2296 ($(objpfx)stubs ../po/manual.pot): Remove.
2297 ($(objpfx)stamp%): Remove.
2298 (make-target-directory): Remove.
2299 (subdir_install): Remove.
2307 * manual/.gitignore: Remove, it's not needed anymore.
2308 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
2310 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
2312 (texis): Renamed to $(objpfx)texis.
2313 (texis-path): New, contains path to generated files.
2314 (chapters.%): Use texis-path for complete path, add extra argument
2316 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
2317 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
2318 (summary,texi, stamp-summary): Use complete path of
2319 files. Generate files in build dir.
2320 (dir-add.texi): Build in build dir.
2321 (libm-err.texi,stamp-libm-err): Likewise.
2322 (version.texi, stamp-version): Likewise.
2323 (.%c.texi): Likewise.
2324 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
2325 (mostlyclean): Remove target.
2326 (realclean): Remove target.
2327 (generated): Add new variable with contents from mostlyclean and
2328 realclean, remove entries duplicated in common-mostlyclean, add
2329 stamp-libm-err and stamp-version.
2330 (generated-dirs): Add libc directory.
2331 ($(inst_infodir)/libc.info): Install files from build dir.
2333 * manual/install.texi (Configuring and compiling): Adjust since
2334 the info files are not part of the tar ball anymore.
2336 2012-05-14 Andreas Jaeger <aj@suse.de>
2338 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
2341 2012-05-14 Joseph Myers <joseph@codesourcery.com>
2344 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2345 to 2.2.0 where earlier.
2346 * sysdeps/unix/sysv/linux/configure: Regenerated.
2347 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
2348 Remove conditional code.
2349 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
2350 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
2351 Remove conditional code.
2352 [!__NR_lchown]: Likewise.
2353 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2354 [__NR_lchown]: Likewise.
2355 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
2356 comment referencing __ASSUME_LCHOWN_SYSCALL.
2357 * sysdeps/unix/sysv/linux/i386/sigaction.c
2358 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2359 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2360 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
2361 Remove conditional code.
2362 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
2363 (__protocol_available): Remove #if 0 code.
2364 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
2366 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
2367 * sysdeps/unix/sysv/linux/kernel-features.h
2368 (__ASSUME_GETCWD_SYSCALL): Don't define.
2369 (__ASSUME_REALTIME_SIGNALS): Likewise.
2370 (__ASSUME_PREAD_SYSCALL): Likewise.
2371 (__ASSUME_PWRITE_SYSCALL): Likewise.
2372 (__ASSUME_POLL_SYSCALL): Likewise.
2373 (__ASSUME_LCHOWN_SYSCALL): Likewise.
2374 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
2376 (__ASSUME_SIOCGIFNAME): Don't define.
2377 (__ASSUME_MSG_NOSIGNAL): Likewise.
2378 (__ASSUME_SENDFILE): Define unconditionally.
2379 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
2380 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
2382 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
2383 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
2384 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2385 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2386 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
2387 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2388 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
2390 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2391 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2393 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2394 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
2396 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2397 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2399 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2400 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
2402 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2403 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
2405 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2406 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
2408 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2409 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
2411 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2412 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2413 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
2414 Remove conditional code.
2415 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2416 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2417 Remove conditional code.
2418 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2419 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
2420 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
2421 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2422 Remove conditional code.
2423 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2424 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
2425 Remove conditional code.
2426 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2427 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
2428 Remove conditional code.
2429 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2430 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2431 Remove conditional code.
2432 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2433 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2434 Remove conditional code.
2435 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2436 * sysdeps/unix/sysv/linux/sh/pwrite64.c
2437 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2438 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2439 * sysdeps/unix/sysv/linux/sigaction.c
2440 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2441 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2442 * sysdeps/unix/sysv/linux/sigpending.c
2443 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2444 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2445 * sysdeps/unix/sysv/linux/sigprocmask.c
2446 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2447 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2448 * sysdeps/unix/sysv/linux/sigsuspend.c
2449 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2450 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2451 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2452 (__libc_missing_rt_sigs): Remove.
2453 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
2454 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
2455 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
2456 Remove conditional code.
2457 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
2458 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
2460 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
2461 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
2462 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
2463 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
2465 2012-05-14 Andreas Jaeger <aj@suse.de>
2467 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
2468 it's not used in glibc.
2469 (__coshm1): Likewise.
2470 (__acosh1p): Likewise.
2473 * manual/string.texi (Copying and Concatenation): Add missing
2474 variable in concat example.
2475 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2477 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2480 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
2481 __builtin_clzl with __builtin_clzll.
2483 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2486 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
2489 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2491 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
2492 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
2493 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
2494 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
2496 2012-05-14 Mike Frysinger <vapier@gentoo.org>
2498 * NEWS: Update ia64 info.
2500 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
2502 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
2505 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
2507 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
2508 * sysdeps/unix/syscalls.list (dup3): Likewise.
2509 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
2510 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
2512 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2514 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
2515 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
2517 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2519 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
2521 (TLS_IE): Use mov/add instead of movq/addq to load thread
2523 (TLS_GD_PREFIX): New.
2526 2012-05-11 David S. Miller <davem@davemloft.net>
2528 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
2529 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
2530 (_FPU_SETCW): Likewise.
2532 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2534 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
2537 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
2540 * iconvdata/gb18030.c: Update tables.
2541 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
2542 characters specially.
2543 (BODY for TO_LOOP): Add encoding of missing ranges.
2545 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
2548 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
2549 * sysdeps/mach/hurd/dup3.c: Likewise.
2550 * sysdeps/mach/hurd/readlinkat.c: Likewise.
2551 * sysdeps/powerpc/memmove.c:: Likewise.
2553 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2555 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
2556 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
2558 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2560 * elf/elf.h (R_X86_64_RELATIVE64): New.
2561 (R_X86_64_NUM): Updated.
2562 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
2563 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
2564 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
2565 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
2566 tst-quad1pie tst-quad2pie
2567 (modules-names): Add tst-quadmod1 tst-quadmod2.
2568 ($(objpfx)tst-quad1): New dependency.
2569 ($(objpfx)tst-quad2): Likewise.
2570 ($(objpfx)tst-quad1pie): Likewise.
2571 ($(objpfx)tst-quad2pie): Likewise.
2572 * sysdeps/x86_64/tst-quad1.c: New file.
2573 * sysdeps/x86_64/tst-quad1pie.c: New file.
2574 * sysdeps/x86_64/tst-quad2.c: Likewise.
2575 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
2576 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
2577 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
2578 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
2579 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
2581 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2583 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
2584 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
2585 * streams/stropts.h (t_scalar_t): Define type.
2587 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
2588 (_PATH_PRESERVE): Set to "/var/lib".
2589 (_PATH_RWHODIR): Set to "/var/spool/rwho".
2591 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
2594 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
2595 if __dir_mkfile succeeded.
2597 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
2598 checking for _hurd_dtablesize. Unlock it right after having
2599 finished _hurd_dtable allocation.
2601 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2603 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
2604 * sysdeps/mach/hurd/configure: Regenerated.
2605 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
2606 special-casing to...
2607 * sysdeps/gnu/configure.in: ... this new file.
2608 * sysdeps/unix/sysv/linux/configure: Regenerated.
2609 * sysdeps/gnu/configure: New generated file.
2611 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
2612 for Linux: use nsec instead of usec, as well as:
2613 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
2614 members of type struct timespec.
2615 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
2617 (struct stat64): Likewise.
2618 (_STATBUF_ST_NSEC): New macro.
2619 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
2621 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
2622 __strtoul_internal rather than strtoul.
2624 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2626 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
2629 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2631 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
2632 which preserves existing values.
2633 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
2635 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2637 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
2638 TIMEOUT values. Return EINVAL for NFDS values either negative or
2639 greater than FD_SETSIZE.
2641 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2643 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
2644 allocated, call __vm_protect to finish enabling the existing space, and
2645 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
2646 allocate the remainder.
2648 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2650 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
2651 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
2653 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2655 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
2656 sysdeps/mach/hurd/readlink.c.
2658 * posix/tst-sysconf.c (posix_options): Only use
2659 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
2660 _POSIX_SYNCHRONIZED_IO when they are defined
2661 * sysdeps/mach/hurd/bits/posix_opt.h:
2662 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
2663 (_XOPEN_REALTIME): Undefine macro.
2664 (_XOPEN_REALTIME_THREADS): Undefine macro.
2665 (_XOPEN_SHM): Undefine macro.
2666 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
2668 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
2670 (_POSIX_ASYNC_IO): Undefine macro.
2671 (_POSIX_PRIORITIZED_IO): Undefine macro.
2672 (_POSIX_SPIN_LOCKS): Define macro to -1.
2674 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
2675 SA_NODEFER, SA_RESETHAND.
2676 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
2677 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
2680 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2682 * elf/Makefile (pldd-modules): Define unconditionally.
2684 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2686 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
2688 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2690 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
2691 Return ENOENT when name is empty.
2692 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
2694 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2696 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
2698 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
2700 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2702 Fix mlock in all cases except non-readable pages.
2703 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
2704 instead of VM_PROT_ALL as parameter to __vm_wire function.
2706 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
2707 (__mkdir): When path is `/', just fail with EEXIST.
2708 * sysdeps/mach/hurd/mkdirat.c: Likewise.
2710 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2712 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
2713 <sys/uio.h> (for writev).
2714 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
2715 and <sys/param.h> (for MIN).
2717 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2719 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
2720 REQUESTED_TIME. Properly set the remaining time and return EINTR
2723 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2725 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
2726 Depend on against $(link-rpcuserlibs).
2728 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2730 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
2731 (__libc_stack_end): Do not use attribute_relro.
2732 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
2733 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
2734 to libthread-provided value.
2735 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
2738 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2741 * bits/libc-lock.h (__libc_once_get): New macro.
2742 * sysdeps/mach/bits/libc-lock.h: Likewise.
2743 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
2744 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
2745 instead of using implementation details.
2747 * libio/fileops.c: Unconditionally include <kernel-features.h>.
2748 * libio/freopen.c: Likewise.
2749 * libio/freopen64.c: Likewise.
2750 * misc/syslog.c: Likewise.
2751 * nscd/connections.c: Likewise.
2752 * nscd/netgroupcache.c: Likewise.
2753 * sysdeps/posix/getcwd.c: Likewise.
2755 2012-05-10 Roland McGrath <roland@hack.frob.com>
2757 * math/w_ilogbf.c: Add #include <limits.h>.
2759 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2761 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
2762 path instead of returning without unlocking.
2764 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
2765 immediate-write ioctls.
2766 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
2768 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2770 * sysdeps/mach/hurd/i386/init-first.c (init): Use
2771 __builtin_frame_address instead of making assumptions about the
2772 location of the return address relative to DATA. Force early load of
2774 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
2775 __builtin_frame_address.
2778 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
2779 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
2780 implement dup3 and do some further code clean-ups.
2781 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
2782 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
2784 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2786 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
2788 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
2789 HURD_CRITICAL_END around holding _hurd_dtable_lock.
2790 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
2791 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
2792 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
2795 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
2796 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
2797 when handler == SIG_ERR, not when handler != SIG_ERR.
2799 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2801 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
2802 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
2805 accept4 for GNU Hurd.
2806 * include/sys/socket.h (__libc_accept4): New prototype.
2807 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
2808 to implement __libc_accept4.
2809 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
2811 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
2813 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
2814 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
2815 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
2818 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2820 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
2822 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2824 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
2825 assertion on O_CLOEXEC flag.
2826 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
2827 * hurd/intern-fd.c: Likewise.
2828 * hurd/port2fd.c: Likewise.
2830 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2833 * bits/in.h (IPV6_PKTINFO): Define new macro.
2834 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
2836 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2841 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
2842 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2843 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
2844 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
2845 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2846 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
2847 * math/libm-test.inc (logb_test) : Additional logb tests.
2849 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
2850 Andreas Jaeger <aj@suse.de>
2852 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
2853 * configure: Regenerated.
2854 * config.h.in (LINK_OBSOLETE_RPC): New macro.
2855 * config.make.in (link-obsolete-rpc): New substituted variable.
2856 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
2857 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
2858 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2859 (shared-only-routines): Don't set it under [link-obsolete-rpc],
2860 so that libc.a contains the symbols.
2861 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2862 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
2863 * sunrpc/auth_none.c: Likewise.
2864 * sunrpc/auth_unix.c: Likewise.
2865 * sunrpc/authdes_prot.c: Likewise.
2866 * sunrpc/authuxprot.c: Likewise.
2867 * sunrpc/clnt_gen.c: Likewise.
2868 * sunrpc/clnt_perr.c: Likewise.
2869 * sunrpc/clnt_raw.c: Likewise.
2870 * sunrpc/clnt_simp.c: Likewise.
2871 * sunrpc/clnt_tcp.c: Likewise.
2872 * sunrpc/clnt_udp.c: Likewise.
2873 * sunrpc/clnt_unix.c: Likewise.
2874 * sunrpc/des_crypt.c: Likewise.
2875 * sunrpc/des_soft.c: Likewise.
2876 * sunrpc/get_myaddr.c: Likewise.
2877 * sunrpc/key_call.c: Likewise.
2878 * sunrpc/key_prot.c: Likewise.
2879 * sunrpc/netname.c: Likewise.
2880 * sunrpc/pm_getmaps.c: Likewise.
2881 * sunrpc/pm_getport.c: Likewise.
2882 * sunrpc/pmap_clnt.c: Likewise.
2883 * sunrpc/pmap_prot.c: Likewise.
2884 * sunrpc/pmap_prot2.c: Likewise.
2885 * sunrpc/pmap_rmt.c: Likewise.
2886 * sunrpc/publickey.c: Likewise.
2887 * sunrpc/rpc_cmsg.c: Likewise.
2888 * sunrpc/rpc_common.c: Likewise.
2889 * sunrpc/rpc_dtable.c: Likewise.
2890 * sunrpc/rpc_prot.c: Likewise.
2891 * sunrpc/rpc_thread.c: Likewise.
2892 * sunrpc/rtime.c: Likewise.
2893 * sunrpc/svc.c: Likewise.
2894 * sunrpc/svc_auth.c: Likewise.
2895 * sunrpc/svc_raw.c: Likewise.
2896 * sunrpc/svc_run.c: Likewise.
2897 * sunrpc/svc_tcp.c: Likewise.
2898 * sunrpc/svc_udp.c: Likewise.
2899 * sunrpc/svc_unix.c: Likewise.
2900 * sunrpc/svcauth_des.c: Likewise.
2901 * sunrpc/xcrypt.c: Likewise.
2902 * sunrpc/xdr.c: Likewise.
2903 * sunrpc/xdr_array.c: Likewise.
2904 * sunrpc/xdr_float.c: Likewise.
2905 * sunrpc/xdr_intXX_t.c: Likewise.
2906 * sunrpc/xdr_mem.c: Likewise.
2907 * sunrpc/xdr_rec.c: Likewise.
2908 * sunrpc/xdr_ref.c: Likewise.
2909 * sunrpc/xdr_sizeof.c: Likewise.
2910 * sunrpc/xdr_stdio.c: Likewise.
2912 2012-05-10 Roland McGrath <roland@hack.frob.com>
2914 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
2915 change. Update copyright years.
2917 2012-05-10 Joseph Myers <joseph@codesourcery.com>
2919 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
2921 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
2922 Joseph Myers <joseph@codesourcery.com>
2923 Paul Pluzhnikov <ppluzhnikov@google.com>
2926 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
2928 [cross-compiling] (extra-libs): Likewise.
2929 [cross-compiling] (extra-libs-others): Likewise.
2930 [cross-compiling] (librpcsvc-routines): Likewise.
2931 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
2932 [cross-compiling] (omit-deps): Likewise.
2933 (sunrpc-CPPFLAGS): New variable.
2934 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
2935 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
2936 (cross-rpcgen-objs): New variable.
2937 (extra-objs): Append $(cross-rpcgen-objs).
2938 ($(cross-rpcgen-objs)): New rule.
2939 ($(objpfx)cross-rpcgen): Likewise.
2940 (rpcgen-cmd): Define to use $(built-program-file). Expand
2942 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
2943 ($(objpfx)x%.stmp): Likewise.
2944 * sunrpc/proto.h [IS_IN_build] (_): Define.
2945 [IS_IN_build] (_libc_intl_domainname): Likewise.
2947 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2949 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
2950 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
2951 and R_X86_64_TPOFF64.
2953 2012-05-10 Joseph Myers <joseph@codesourcery.com>
2955 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
2956 sysdeps/unix/sysv/syscalls.list.
2959 * sysdeps/unix/sysv/syscalls.list: Remove file.
2961 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
2964 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
2965 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
2966 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
2967 (__LC_IDENTIFICATION): Make these macros useful in #if
2968 expressions, as required by C99.
2970 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
2972 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
2973 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
2976 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
2978 * stdlib/longlong.h: Updated from GCC.
2980 2012-05-09 Andreas Jaeger <aj@suse.de>
2982 * nscd/nscd.c (run_modes): Make named enum, reorder so that
2983 default is first entry.
2984 (run_mode): Set type.
2985 (main): Remove informal message about syslog.
2986 (options): Fix typo.
2989 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
2992 (llrintf): Likewise.
2996 (nearbyint): Likewise.
2997 (nearbyintf): Likewise.
2999 2012-05-09 Andreas Jaeger <aj@suse.de>
3000 Pedro Alves <palves@redhat.com>
3002 * nscd/nscd.c (run_mode): Use enum.
3003 (main): Cleanup coding style issue.
3005 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
3006 Andreas Jaeger <aj@suse.de>
3008 * nscd/nscd.c (go_background): Replaced with...
3009 (run_mode): ... this.
3010 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
3011 (options): Add -F --foreground.
3012 (main): Implement it.
3013 (parse_opt): Parse it.
3015 2012-05-09 Andreas Jaeger <aj@suse.de>
3018 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
3019 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
3020 -Wconversion warning.
3021 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
3024 2012-05-09 Joseph Myers <joseph@codesourcery.com>
3026 * conform/data/locale.h-data (NULL): Use macro-constant. Require
3028 (LC_ALL): Use macro-int-constant.
3029 (LC_COLLATE): Likewise.
3030 (LC_CTYPE): Likewise.
3031 (LC_MESSAGES): Likewise.
3032 (LC_MONETARY): Likewise.
3033 (LC_NUMERIC): Likewise.
3034 (LC_TIME): Likewise.
3035 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
3036 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3037 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3038 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
3040 [C99-based standards] (float_t): Expect type.
3041 [C99-based standards] (double_t): Expect type.
3042 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
3044 [C99-based standards] (HUGE_VALL): Likewise.
3045 [C99-based standards] (INFINITY): Likewise.
3046 [C99-based standards] (NAN): Likewise.
3047 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
3048 [C99-based standards] (FP_NAN): Likewise.
3049 [C99-based standards] (FP_NORMAL): Likewise.
3050 [C99-based standards] (FP_SUBNORMAL): Likewise.
3051 [C99-based standards] (FP_ZERO): Likewise.
3052 [C99-based standards] (FP_FAST_FMA): Use
3053 optional-macro-int-constant. Specify type. Require == 1.
3054 [C99-based standards] (FP_FAST_FMAF): Likewise.
3055 [C99-based standards] (FP_FAST_FMAL): Likewise.
3056 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
3057 [C99-based standards] (FP_ILOGBNAN): Likewise.
3058 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
3060 [C99-based standards] (MATH_ERREXCEPT): Likewise.
3061 [C99-based standards] (math_errhandling): Specify type.
3062 [ISO99 || ISO11] (signgam): Do not allow.
3063 [non-C99-based standards] (copysignf): Do not allow.
3064 [non-C99-based standards] (exp2f): Likewise.
3065 [non-C99-based standards] (log2f): Likewise.
3066 [non-C99-based standards] (modff): Allow.
3067 [non-C99-based standards] (erff): Do not allow.
3068 [non-C99-based standards] (erfcf): Likewise.
3069 [non-C99-based standards] (gammaf): Likewise.
3070 [non-C99-based standards] (hypotf): Likewise.
3071 [non-C99-based standards] (j0f): Likewise.
3072 [non-C99-based standards] (j1f): Likewise.
3073 [non-C99-based standards] (jnf): Likewise.
3074 [non-C99-based standards] (lgammaf): Likewise.
3075 [non-C99-based standards] (tgammaf): Likewise.
3076 [non-C99-based standards] (y0f): Likewise.
3077 [non-C99-based standards] (y1f): Likewise.
3078 [non-C99-based standards] (ynf): Likewise.
3079 [non-C99-based standards] (isnanf): Likewise.
3080 [non-C99-based standards] (acoshf): Likewise.
3081 [non-C99-based standards] (asinhf): Likewise.
3082 [non-C99-based standards] (atanhf): Likewise.
3083 [non-C99-based standards] (cbrtf): Likewise.
3084 [non-C99-based standards] (expm1f): Likewise.
3085 [non-C99-based standards] (ilogbf): Likewise.
3086 [non-C99-based standards] (log1pf): Likewise.
3087 [non-C99-based standards] (logbf): Likewise.
3088 [non-C99-based standards] (nextafterf): Likewise.
3089 [non-C99-based standards] (remainderf): Likewise.
3090 [non-C99-based standards] (rintf): Likewise.
3091 [non-C99-based standards] (scalbf): Likewise.
3092 [non-C99-based standards] (copysignl): Likewise.
3093 [non-C99-based standards] (exp2l): Likewise.
3094 [non-C99-based standards] (log2l): Likewise.
3095 [non-C99-based standards] (modfl): Allow.
3096 [non-C99-based standards] (erfl): Do not allow.
3097 [non-C99-based standards] (erfcl): Likewise.
3098 [non-C99-based standards] (gammal): Likewise.
3099 [non-C99-based standards] (hypotl): Likewise.
3100 [non-C99-based standards] (j0l): Likewise.
3101 [non-C99-based standards] (j1l): Likewise.
3102 [non-C99-based standards] (jnl): Likewise.
3103 [non-C99-based standards] (lgammal): Likewise.
3104 [non-C99-based standards] (tgammal): Likewise.
3105 [non-C99-based standards] (y0l): Likewise.
3106 [non-C99-based standards] (y1l): Likewise.
3107 [non-C99-based standards] (ynl): Likewise.
3108 [non-C99-based standards] (isnanl): Likewise.
3109 [non-C99-based standards] (acoshl): Likewise.
3110 [non-C99-based standards] (asinhl): Likewise.
3111 [non-C99-based standards] (atanhl): Likewise.
3112 [non-C99-based standards] (cbrtl): Likewise.
3113 [non-C99-based standards] (expm1l): Likewise.
3114 [non-C99-based standards] (ilogbl): Likewise.
3115 [non-C99-based standards] (log1pl): Likewise.
3116 [non-C99-based standards] (logbl): Likewise.
3117 [non-C99-based standards] (nextafterl): Likewise.
3118 [non-C99-based standards] (remainderl): Likewise.
3119 [non-C99-based standards] (rintl): Likewise.
3120 [non-C99-based standards] (scalbl): Likewise.
3121 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3122 [non-C99-based standards] (FP_*): Do not allow.
3123 [C99-based standards] (FP_*): Change to
3124 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3125 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3127 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
3128 (SIG_ERR): Likewise.
3129 [X/Open-based standards] (SIG_HOLD): Likewise.
3130 (SIG_IGN): Likewise.
3131 (SIGABRT): Use macro-int-constant. Specify type. Require
3136 (SIGSEGV): Likewise.
3138 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
3139 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
3140 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
3141 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
3142 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
3143 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
3144 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
3145 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
3146 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
3147 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
3148 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
3149 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
3150 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
3151 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
3152 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
3153 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
3154 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
3155 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
3156 [X/Open-based standards] (SIGTRAP): Likewise.
3157 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
3158 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
3159 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
3160 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
3161 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3164 2012-05-08 Ian Wienand <ianw@vmware.com>
3167 * time/tzset.c (__tzset_parse_tz): Update default rules for
3168 daylight time changes in the Energy Policy Act of 2005.
3170 2012-05-09 Andreas Jaeger <aj@suse.de>
3173 * elf/ldconfig.c (parse_conf): Change string to make clear that
3174 ldconfig only issued a warning if ld.so.conf does not exist.
3176 2012-05-08 David S. Miller <davem@davemloft.net>
3178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
3179 movxtod instead of popping the value on the stack.
3181 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3183 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
3185 * config.h.in: Add HAVE_ARM_PCS_VFP.
3187 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
3190 * include/features.h: Warn if user requests __FORTIFY_SOURCE
3191 checking but the checks are disabled for any reason.
3193 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
3195 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
3196 and ELF64_R_TYPE with ELFW(R_TYPE).
3198 2012-05-08 Joseph Myers <joseph@codesourcery.com>
3200 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
3203 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
3204 (settimeofday): Likewise.
3206 2012-05-08 Mike Frysinger <vapier@gentoo.org>
3208 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
3209 a struct th_u2 inside the union, and move tu_block/tu_code into
3210 a new th_u3 union of tu_block/tu_code inside of that. Move
3211 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
3212 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
3213 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
3214 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
3215 (th_stuff): Change to th_u1.tu_stuff.
3217 (th_msg): Change to th_u1.th_u2.tu_data.
3219 2012-05-07 David S. Miller <davem@davemloft.net>
3221 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3224 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
3225 (SETUP_PIC_REG): Use it.
3226 (SETUP_PIC_REG_LEAF): Use it.
3228 2012-05-07 Joseph Myers <joseph@codesourcery.com>
3232 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3234 (EXPL_FINITE): Likewise.
3236 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3237 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3239 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3241 (EXPL_FINITE): Likewise.
3243 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3244 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3246 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
3247 test of -max_value argument for long double.
3248 * sysdeps/i386/fpu/libm-test-ulps: Update.
3249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3251 2012-05-06 David S. Miller <davem@davemloft.net>
3253 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
3254 quad soft-float symbols whose references which are compiler
3256 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
3258 2012-05-06 Joseph Myers <joseph@codesourcery.com>
3262 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3264 (EXPL_FINITE): Likewise.
3268 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3269 Adjust comments for base varying.
3270 (__expl_finite): Change alias to EXPL_FINITE.
3271 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
3273 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
3274 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
3275 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3276 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
3277 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3279 (EXPL_FINITE): Likewise.
3283 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3284 Adjust comments for base varying.
3285 (__expl_finite): Change alias to EXPL_FINITE.
3286 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
3288 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3291 * math/libm-test.inc (check_float_internal): Correct ulp
3292 calculation for subnormal expected results.
3294 2012-05-06 Andreas Jaeger <aj@suse.de>
3296 * Makeconfig (+math-flags): New, set to -frounding-math.
3297 (+cflags): Add +math-flags so that all of glibc gets compiled with
3300 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
3302 2012-05-05 Joseph Myers <joseph@codesourcery.com>
3304 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
3310 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
3311 (__ieee754_expl): Allow for and saturate large arguments.
3312 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
3313 (u_threshold): Likewise.
3314 (__exp): Call __ieee754_exp before checking for overflow and
3316 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
3317 (u_threshold): Likewise.
3318 (__expf): Call __ieee754_expf before checking for overflow and
3320 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
3321 (u_threshold): Likewise.
3322 (__expl): Call __ieee754_expl before checking for overflow and
3324 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
3325 (__ieee754_expl): Allow for and saturate large arguments.
3326 * math/libm-test.inc (exp_test): Add another test. Do not allow
3327 missing overflow exception on overflow.
3328 (expm1_test): Do not allow missing overflow exception on overflow.
3330 * sysdeps/i386/fpu/e_expl.c: Move to ...
3331 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
3332 rather than using inline asm.
3333 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
3334 * sysdeps/x86_64/fpu/e_expl.S: Copy from
3335 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
3337 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
3344 2012-05-04 Joseph Myers <joseph@codesourcery.com>
3346 * sysdeps/unix/syscalls.list (adjtime): Add entry from
3347 sysdeps/unix/common/syscalls.list.
3350 (ftruncate): Likewise.
3351 (getrusage): Likewise.
3352 (gettimeofday): Likewise.
3353 (setpgid): Likewise.
3354 (setregid): Likewise.
3355 (setreuid): Likewise.
3356 (sigaction): Likewise.
3357 (truncate): Likewise.
3358 (vhangup): Likewise.
3359 * sysdeps/unix/common/syscalls.list: Remove file.
3360 * sysdeps/unix/bsd/Implies: Don't include unix/common.
3361 * sysdeps/unix/sysv/linux/Implies: Likewise.
3363 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
3365 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
3366 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
3367 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
3369 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3371 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
3373 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
3374 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
3376 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
3377 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
3379 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
3380 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
3382 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
3383 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
3385 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
3386 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
3388 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
3389 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
3391 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3393 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
3395 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
3397 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
3399 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
3400 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
3402 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
3404 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
3406 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
3408 2012-05-04 Joseph Myers <joseph@codesourcery.com>
3410 * sysdeps/unix/common/bits/dirent.h: Remove file.
3411 * sysdeps/unix/common/bits/fcntl.h: Likewise.
3413 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
3414 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
3415 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
3416 * sysdeps/unix/bsd/isatty.c: Likewise.
3417 * sysdeps/unix/bsd/tcdrain.c: Likewise.
3418 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
3419 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
3421 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3424 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
3425 long double comparison inaccuracies.
3426 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
3427 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3429 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
3431 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
3432 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
3434 2012-05-04 Joseph Myers <joseph@codesourcery.com>
3437 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
3438 nonzero digits before rounding a hex value.
3439 * stdlib/tst-strtod.c (tests): Add another test.
3441 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3443 * sysdeps/s390/fpu/libm-test-ulps: Update.
3445 2012-05-03 Andreas Jaeger <aj@suse.de>
3447 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
3448 does not get optimized out.
3449 (malloc_opt_barrier): New.
3451 2012-05-03 Andreas Jaeger <aj@suse.de>
3452 Roland McGrath <roland@hack.frob.com>
3454 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
3455 intermediate file deletion.
3456 (generated): Add .symlist files.
3458 2012-05-03 Joseph Myers <joseph@codesourcery.com>
3461 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
3462 Redirect under this condition.
3463 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3464 [__USE_GNU] (__dprintf_chk): Not under this condition.
3465 [__USE_GNU] (__vdprintf_chk): Likewise.
3466 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
3467 under this condition.
3468 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3469 [__USE_XOPEN2K8] (dprintf): Define under this condition.
3470 [__USE_XOPEN2K8] (vdprintf): Likewise.
3471 [__USE_GNU] (__dprintf_chk): Not under this condition.
3472 [__USE_GNU] (__vdprintf_chk): Likewise.
3473 [__USE_GNU] (dprintf): Likewise.
3474 [__USE_GNU] (vdprintf): Likewise.
3476 2012-05-03 Roland McGrath <roland@hack.frob.com>
3478 * elf/Makefile (common-generated): Set this instead of generated for
3479 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
3480 $(all-built-dso)-derived lists.
3482 2012-05-03 Andreas Jaeger <aj@suse.de>
3484 * sysdeps/i386/fpu/libm-test-ulps: Update.
3488 * scripts/gen-FAQ.pl: Likewise.
3489 * manual/install.texi (Installation): Point to online location of
3491 * Makefile (files-for-dist): Remove FAQ.
3494 2012-05-02 Allan McRae <allan@archlinux.org>
3496 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
3497 (LDFLAGS-reldepmod5.so): Likewise.
3498 (LDFLAGS-reldep6mod1.so): Likewise.
3499 (LDFLAGS-reldep6mod4.so): Likewise.
3500 (LDFLAGS-reldep8mod3.so): Likewise.
3501 (LDFLAGS-unload4mod1.so): Likewise.
3502 (LDFLAGS-unload4mod2.so): Likewise.
3503 (LDFLAGS-tst-initorder): Likewise.
3504 (LDFLAGS-tst-initordera2.so): Likewise.
3505 (LDFLAGS-tst-initordera3.so): Likewise.
3506 (LDFLAGS-tst-initordera4.so): Likewise.
3507 (LDFLAGS-tst-initorderb2.so): Likewise.
3508 (LDFLAGS-noload): Likewise.
3509 (LDFLAGS-next): Likewise.
3510 (LDFLAGS-order2mod1.so): Likewise.
3511 (LDFLAGS-order2mod2.so): Likewise.
3512 (LDFLAGS-tst-initorder2): Likewise.
3513 (LDFLAGS-tst-initorder2a.so): Likewise.
3514 (LDFLAGS-tst-initorder2b.so): Likewise.
3515 (LDFLAGS-tst-initorder2c.so): Likewise.
3516 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
3518 2012-05-02 David S. Miller <davem@davemloft.net>
3520 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3522 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
3525 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
3527 2012-05-02 Andreas Jaeger <aj@suse.de>
3529 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
3530 since we manipulate rounding mode.
3531 (CPPFLAGS-test-idouble.c): Likewise.
3532 (CPPFLAGS-test-ifloat.c): Likewise.
3533 (CFLAGS-test-ldouble.c): Likewise.
3534 (CFLAGS-test-double.c): Likewise.
3535 (CFLAGS-test-float.c): Likewise.
3536 (CFLAGS-test-misc.c): Likewise.
3537 (CFLAGS-test-test-fenv.c): Likewise.
3539 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3543 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
3544 comparisons to determine direction to adjust input.
3546 2012-05-01 Roland McGrath <roland@hack.frob.com>
3548 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
3549 output to the target.
3551 * scripts/localplt.awk: New file.
3552 * elf/Makefile ($(objpfx)check-localplt): Target removed.
3553 (check-localplt-CFLAGS): Variable removed.
3554 ($(all-built-dso:=.jmprel)): New static pattern rule.
3555 (generated): Add those targets.
3556 (localplt-built-dso): New variable.
3557 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
3559 * elf/check-localplt.c: File removed.
3561 * scripts/check-execstack.awk: New file.
3562 * elf/Makefile ($(objpfx)check-execstack): Target removed.
3563 (check-execstack-CFLAGS): Variable removed.
3564 ($(objpfx)check-execstack.h): Target removed.
3565 ($(objpfx)execstack-default): New target.
3566 (generated): Add that instead of check-execstack.h.
3567 ($(all-built-dso:=.phdr)): New static pattern rule.
3568 (generated): Add those targets.
3569 * elf/check-execstack.c: File removed.
3571 * scripts/check-textrel.awk: New file.
3572 * elf/Makefile ($(objpfx)check-textrel): Target removed.
3573 (check-textrel-CFLAGS): Variable removed.
3574 (all-built-dso): Use := to define.o
3575 ($(all-built-dso:=.dyn)): New static pattern rule.
3576 (generated): Add those targets.
3577 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
3578 * config.make.in (READELF): New substituted variable.
3579 * elf/check-textrel.c: File removed.
3581 2012-05-01 Joseph Myers <joseph@codesourcery.com>
3583 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3585 * conform/data/ctype.h-data [C99-based standards] (isblank):
3587 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
3588 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
3589 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3590 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
3591 Specify type. Require positive value.
3594 [ISO || POSIX] (EILSEQ): Do not expect.
3595 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
3596 Specify type. Require positive value.
3597 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
3598 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
3599 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
3600 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
3601 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
3602 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
3603 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
3604 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
3605 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
3606 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
3607 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
3608 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
3609 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
3610 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
3611 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
3612 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
3613 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
3614 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
3615 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
3616 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
3617 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
3618 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
3619 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
3620 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
3621 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
3622 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
3623 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
3624 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
3625 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
3626 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
3627 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
3628 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
3629 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
3630 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
3631 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
3632 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
3633 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
3634 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
3635 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
3636 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
3637 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
3638 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
3639 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
3640 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
3641 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
3642 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
3643 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
3644 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
3645 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
3646 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
3647 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
3648 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
3649 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
3650 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
3651 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
3652 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
3653 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
3654 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
3655 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
3656 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
3657 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
3658 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
3659 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
3660 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
3661 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
3662 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
3663 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
3664 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
3665 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
3666 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
3667 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
3668 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
3669 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
3670 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
3671 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
3672 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
3673 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
3675 (FLT_ROUNDS): Expect as macro, not constant.
3676 (FLT_MANT_DIG): Use macro-int-constant.
3677 (DBL_MANT_DIG): Likewise.
3678 (LDBL_MANT_DIG): Likewise.
3679 (FLT_DIG): Likewise.
3680 (DBL_DIG): Likewise.
3681 (LDBL_DIG): Likewise.
3682 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
3683 (DBL_MIN_EXP): Likewise.
3684 (LDBL_MIN_EXP): Likewise.
3685 (FLT_MAX_EXP): Use macro-int-constant.
3686 (DBL_MAX_EXP): Likewise.
3687 (LDBL_MAX_EXP): Likewise.
3688 (FLT_MAX_10_EXP): Likewise.
3689 (DBL_MAX_10_EXP): Likewise.
3690 (LDBL_MAX_10_EXP): Likewise.
3691 (FLT_MAX): Use macro-constant.
3692 (DBL_MAX): Likewise.
3693 (LDBL_MAX): Likewise.
3694 (FLT_EPSILON): Use macro-constant. Give upper bound.
3695 (DBL_EPSILON): Likewise.
3696 (LDBL_EPSILON): Likewise.
3697 (FLT_MIN): Likewise.
3698 (DBL_MIN): Likewise.
3699 (LDBL_MIN): Likewise.
3700 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
3701 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
3702 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
3703 [ISO11] (FLT_HAS_SUBNORM): Likewise.
3704 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
3705 [ISO11] (DBL_DECIMAL_DIG): Likewise.
3706 [ISO11] (FLT_DECIMAL_DIG): Likewise.
3707 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
3708 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
3709 [ISO11] (FLT_TRUE_MIN): Likewise.
3710 [ISO11] (LDBL_TRUE_MIN): Likewise.
3711 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3712 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
3713 (SCHAR_MIN): Use macro-int-constant. Specify type.
3714 (SCHAR_MAX): Likewise.
3715 (UCHAR_MAX): Likewise.
3716 (CHAR_MIN): Likewise.
3717 (CHAR_MAX): Likewise.
3718 (MB_LEN_MAX): Use macro-int-constant.
3719 (SHRT_MIN): Use macro-int-constant. Specify type.
3720 (SHRT_MAX): Likewise.
3721 (USHRT_MAX): Likewise.
3722 (INT_MAX): Likewise.
3723 (INT_MIN): Use macro-int-constant. Specify type. Make upper
3725 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
3727 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3729 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
3730 bound negative. Suffix upper bound with "L".
3731 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3733 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
3735 [C99-based standards] (LLONG_MAX): Likewise.
3736 [C99-based standards] (ULLONG_MAX): Likewise.
3737 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
3739 [ISO11] (max_align_t): Require type.
3740 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3742 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
3743 from $CFLAGS, without defining away __attribute__ calls.
3744 (checknamespace): Use $CFLAGS_namespace.
3746 * conform/conformtest.pl (@keywords): Only include C99 keywords
3747 for standards based on C99 or C11.
3749 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
3751 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
3754 * conform/conformtest.pl: Handle "macro-int-constant" and test for
3755 usability of symbols in #if.
3757 * conform/conformtest.pl: If macro or constant types start
3758 "promoted:", expect the symbol to be of the following type
3759 promoted by the integer promotions.
3761 * conform/conformtest.pl: Parse all "constant" and "macro" lines
3762 in one place. Also handle "macro-constant".
3764 * conform/conformtest.pl: Only accept expected macro values with
3765 "==". Parse all "macro" lines in one place.
3766 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
3768 * conform/conformtest.pl: Handle braced types on "constant" lines
3769 instead of handling "typed-constant".
3770 * conform/data/signal.h-data: Use "constant" instead of
3773 * conform/conformtest.pl: Handle "optional-" at start of lines in
3774 one place rather than duplicating several cases. Handle each
3775 format of "macro" line with initial "optional-".
3777 * conform/conformtest.pl: Only accept expected constant or
3778 optional-constant values with "==". Parse all "constant" lines in
3779 one place. Parse all "optional-constant" lines in one place.
3780 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
3781 * conform/data/fmtmsg.h-data: Likewise.
3782 * conform/data/netinet/in.h-data: Likewise.
3783 * conform/data/tar.h-data: Likewise.
3784 * conform/data/limits.h-data: Use "==" form on "constant" and
3785 "optional-constant" lines.
3787 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
3788 Use -std=c99 for XOPEN2K.
3789 (@knownproblems): Remove.
3790 (newtoken): Don't check %isknown.
3792 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
3793 Do not expect macro.
3794 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
3795 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
3796 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
3797 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
3798 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
3799 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
3800 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
3801 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
3802 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
3803 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
3804 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
3805 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
3806 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
3807 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
3808 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
3809 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
3810 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
3811 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
3812 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
3813 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
3814 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
3815 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
3816 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
3817 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
3818 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
3819 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
3820 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
3821 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
3822 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
3823 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
3824 [XPG3] (acosh): Likewise.
3825 [XPG3] (asinh): Likewise.
3826 [XPG3] (atanh): Likewise.
3827 [XPG3] (cbrt): Likewise.
3828 [XPG3] (expm1): Likewise.
3829 [XPG3] (ilogb): Likewise.
3830 [XPG3] (log1p): Likewise.
3831 [XPG3] (logb): Likewise.
3832 [XPG3] (nextafter): Likewise.
3833 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
3834 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
3835 [XPG3] (remainder): Likewise.
3836 [XPG3] (rint): Likewise.
3837 [XPG3 || XPG4 || UNIX98] (round): Likewise.
3838 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
3839 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
3840 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
3841 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
3842 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
3843 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
3844 [UNIX98 || XOPEN2K] (scalb): Expect.
3845 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
3846 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
3847 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
3848 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
3849 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
3850 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
3851 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
3852 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
3853 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
3854 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
3855 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
3856 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
3857 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
3858 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
3859 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
3860 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
3861 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
3862 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
3863 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
3864 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
3865 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
3866 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
3867 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
3868 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
3869 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
3870 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
3871 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
3872 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
3873 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
3874 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
3875 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
3876 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
3877 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
3878 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
3879 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
3880 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
3881 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
3882 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
3883 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
3884 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
3885 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
3886 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
3887 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
3888 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
3889 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
3890 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
3891 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
3892 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
3893 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
3894 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
3895 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
3896 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
3897 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
3898 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
3899 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
3900 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
3901 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
3902 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
3903 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
3904 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
3905 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
3906 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
3907 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
3908 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
3909 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
3910 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
3911 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
3912 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
3913 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
3914 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
3915 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
3916 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
3917 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
3918 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
3919 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
3920 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
3921 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
3922 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
3923 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
3924 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
3925 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
3926 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
3927 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
3928 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
3929 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
3930 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
3931 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
3932 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
3933 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
3934 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
3935 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
3936 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
3937 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
3938 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
3939 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
3940 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
3941 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
3942 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
3943 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
3944 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
3945 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
3946 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
3947 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
3948 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
3949 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
3950 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
3951 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
3952 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
3953 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
3954 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
3955 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
3956 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
3957 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
3958 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
3959 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
3960 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
3961 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
3962 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
3963 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
3964 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
3965 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
3966 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
3967 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
3968 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
3969 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
3970 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
3971 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
3972 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
3973 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
3974 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
3975 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
3976 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
3977 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
3978 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
3979 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
3980 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
3981 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
3983 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
3984 _XOPEN_SOURCE_EXTENDED for XPG4.
3986 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
3988 * Makeconfig (localtime): Remove variable.
3989 (inst_localtime-file): Likewise.
3991 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
3993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
3995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
3999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
4003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
4005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
4009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4012 2012-05-01 Joseph Myers <joseph@codesourcery.com>
4016 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
4017 comparisons to determine direction to adjust input.
4018 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
4019 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
4020 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
4022 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
4024 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4026 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
4027 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
4029 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
4031 * math/libm-test.inc (nexttoward_test): Add more tests.
4033 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
4036 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
4037 in version GLIBC_2.1, not GLIBC_2.0.
4038 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
4041 2012-04-30 Joseph Myers <joseph@codesourcery.com>
4044 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
4046 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4047 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
4048 * math/libm-test.inc (acos_test): Add more tests.
4049 (asin_test): Likewise.
4050 * sysdeps/i386/fpu/libm-test-ulps: Update.
4051 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4054 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
4056 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
4057 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4058 * math/libm-test.inc (acos_test_tonearest): New function.
4059 (acos_test_towardzero): Likewise.
4060 (acos_test_downward): Likewise.
4061 (acos_test_upward): Likewise.
4062 (asin_test_tonearest): Likewise.
4063 (asin_test_towardzero): Likewise.
4064 (asin_test_downward): Likewise.
4065 (asin_test_upward): Likewise.
4066 (main): Call the new functions.
4067 * sysdeps/i386/fpu/libm-test-ulps: Update.
4068 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4072 * math/e_exp10.c: Include <float.h>.
4073 (__ieee754_exp10): Handle underflow here rather than multiplying
4074 large negative argument by M_LN10.
4075 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
4077 * math/e_exp10l.c: Include <float.h>.
4078 (__ieee754_exp10l): Handle underflow here rather than multiplying
4079 large negative argument by M_LN10l.
4080 * math/libm-test.inc (exp10_test): Add another test. Do not allow
4081 spurious overflow exception on underflow.
4083 2012-04-29 Marek Polacek <polacek@redhat.com>
4085 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
4086 (__fortify_function): New macro.
4087 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
4088 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
4089 __extern_always_inline.
4090 * libio/bits/stdio2.h: Likewise.
4091 * libio/bits/stdio.h: Likewise.
4092 * string/string.h: Likewise.
4093 * string/bits/string3.h: Likewise.
4094 * include/stdio.h: Likewise.
4095 * stdlib/bits/stdlib.h: Likewise.
4096 * stdlib/stdlib.h: Likewise.
4097 * rt/bits/mqueue2.h: Likewise.
4098 * rt/mqueue.h: Likewise.
4099 * posix/bits/unistd.h: Likewise.
4100 * posix/unistd.h: Likewise.
4101 * io/bits/poll2.h: Likewise.
4102 * io/bits/fcntl2.h: Likewise.
4103 * io/fcntl.h: Likewise.
4104 * io/sys/poll.h: Likewise.
4105 * misc/bits/syslog.h: Likewise.
4106 * misc/bits/syslog-ldbl.h: Likewise.
4107 * misc/sys/syslog.h: Likewise.
4108 * socket/bits/socket2.h: Likewise.
4109 * socket/sys/socket.h: Likewise.
4110 * debug/tst-chk1.c: Likewise.
4111 * wcsmbs/bits/wchar2.h: Likewise.
4112 * wcsmbs/bits/wchar-ldbl.h: Likewise.
4113 * wcsmbs/wchar.h: Likewise.
4115 2012-04-29 Andreas Jaeger <aj@suse.de>
4117 * Makerules (tests): Remove enable-check-abi protection.
4118 (check-abi-warn): Remove.
4119 (check-abi-%): Remove check-abi-warn usage.
4121 * configure.in: Remove check-abi configure option.
4122 * configure: Regenerated.
4123 * config.make.in (enable-check-abi): Remove.
4125 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
4128 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
4129 double functions to double *_finite functions.
4132 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
4133 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
4135 * stdio-common/Makefile (tests): Add tst-sprintf3.
4136 * stdio-common/tst-sprintf3.c: New file.
4138 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
4139 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
4141 2012-04-28 Joseph Myers <joseph@codesourcery.com>
4143 * conform/conformtest.pl: Remove duplicate typed-constant
4146 2012-04-28 David S. Miller <davem@davemloft.net>
4148 * Makerules (%.abilist): Add vpath on sysdep_dirs.
4149 (check-abi-%): Remove AWK script prerequisite and explicit
4151 (check-abi): Rewrite to just diff the symlist with the abilist.
4152 (config-tls, config-abi-config): Delete, no longer used.
4153 (update-abi-%): Remove AWK script and explicit abilist directory.
4154 (update-abi): Rewrite to simply compare and conditionally copy the
4155 symlist and the sysdep abilist file. Remove update-abi-config
4157 * abilist/ld.abilist: Remove.
4158 * abilist/libBrokenLocale.abilist: Remove.
4159 * abilist/libanl.abilist: Remove.
4160 * abilist/libcrypt.abilist: Remove.
4161 * abilist/libdl.abilist: Remove.
4162 * abilist/librt.abilist: Remove.
4163 * abilist/libthread_db.abilist: Remove.
4164 * abilist/libutil.abilist: Remove.
4165 * scripts/extract-abilist.awk: Remove.
4166 * scripts/merge-abilist.awk: Remove.
4167 * sysdeps/generic/libcidn.abilist: New file.
4168 * sysdeps/generic/libnss_compat.abilist: New file.
4169 * sysdeps/generic/libnss_db.abilist: New file.
4170 * sysdeps/generic/libnss_dns.abilist: New file.
4171 * sysdeps/generic/libnss_files.abilist: New file.
4172 * sysdeps/generic/libnss_hesiod.abilist: New file.
4173 * sysdeps/generic/libnss_nis.abilist: New file.
4174 * sysdeps/generic/libnss_nisplus.abilist: New file.
4175 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
4176 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
4177 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
4179 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
4180 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
4181 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
4182 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
4183 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
4184 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
4185 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
4186 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
4187 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
4189 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
4190 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
4191 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
4192 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
4194 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
4195 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
4196 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
4197 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
4198 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
4199 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
4201 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
4202 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
4203 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
4205 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
4206 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
4208 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
4210 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
4212 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
4214 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
4216 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
4218 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
4220 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
4222 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
4224 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
4226 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
4228 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
4230 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
4232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
4234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
4236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
4238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
4240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
4242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
4244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
4246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
4248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
4252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
4254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
4256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
4258 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
4259 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
4261 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
4263 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
4265 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
4267 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
4269 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
4271 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
4273 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4275 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
4277 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
4279 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4281 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
4283 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
4284 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
4286 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4288 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
4290 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
4292 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
4294 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
4296 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
4298 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4300 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
4302 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
4304 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4306 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
4308 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
4309 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
4310 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
4312 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
4313 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
4314 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
4315 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
4316 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
4317 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
4318 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
4319 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
4320 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
4321 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
4322 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
4323 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
4325 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
4327 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
4329 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
4331 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
4333 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
4335 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
4337 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4339 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
4341 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
4343 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
4345 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
4347 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
4348 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
4350 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
4352 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
4354 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
4356 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
4358 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
4360 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
4362 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4364 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
4366 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
4368 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
4370 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
4373 2012-04-28 Joseph Myers <joseph@codesourcery.com>
4375 * conform/conformtest.pl: Fix typo in handling typed-constant from
4378 2012-04-27 Joseph Myers <joseph@codesourcery.com>
4380 * README: Cut down references to pre-2.6 Linux kernels and
4381 Linuxthreads. Update lists of configurations in libc and ports
4382 and sort alphabetically. Say "or newer" with Linux kernel version
4385 * config.h.in [IS_IN_build]: Allow compiling without optimization.
4387 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4390 * math/libm-test.inc (logb_test_downward): New test to expose
4391 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
4394 2012-04-27 Joseph Myers <joseph@codesourcery.com>
4397 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
4399 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
4400 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
4402 2012-04-26 Joseph Myers <joseph@codesourcery.com>
4404 * sysdeps/unix/i386/brk.S: Remove file.
4405 * sysdeps/unix/i386/dl-brk.S: Likewise.
4406 * sysdeps/unix/i386/pipe.S: Likewise.
4407 * sysdeps/unix/i386/sigreturn.S: Likewise.
4408 * sysdeps/unix/i386/syscall.S: Likewise.
4409 * sysdeps/unix/i386/vfork.S: Likewise.
4410 * sysdeps/unix/i386/wait.S: Likewise.
4412 * sysdeps/unix/common/tcsendbrk.c: Move to ...
4413 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
4415 * configure.in (arm*-none*): Do not allow without
4416 --enable-hacker-mode.
4417 (netbsd*): Remove case setting base_os.
4418 (386bsd*): Likewise.
4419 (freebsd*): Likewise.
4423 (ultrix*): Likewise.
4424 (newsos*): Likewise.
4434 (solaris[2-9]*): Likewise.
4436 * configure: Regenerated.
4438 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4441 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
4442 overflow or cancellation in calculating denominator.
4443 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
4444 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
4445 down expression to avoid unexpected rounding in newer GCCs.
4446 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
4448 2012-04-26 David S. Miller <davem@davemloft.net>
4450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
4451 long-double compat symbols.
4452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
4456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4457 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
4458 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
4459 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
4460 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
4461 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
4462 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
4463 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
4464 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4466 2012-04-25 David S. Miller <davem@davemloft.net>
4468 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
4469 HWCAP_* values only after the memory barriers have been defined.
4470 (atomic_full_barrier): Define.
4471 (atomic_read_barrier): Define.
4472 (atomic_write_barrier): Define.
4474 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4476 * shlib-versions: Add libgcc_s version information.
4477 * sysdeps/generic/libgcc_s.h: Remove.
4478 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
4480 * sysdeps/gnu/unwind-resume.c: Likewise.
4481 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
4483 2012-04-25 David S. Miller <davem@davemloft.net>
4485 * sysdeps/unix/sparc/brk.S: Delete.
4486 * sysdeps/unix/sparc/dl-brk.S: Delete.
4487 * sysdeps/unix/sparc/pipe.S: Delete.
4488 * sysdeps/unix/sparc/sysdep.S: Delete.
4489 * sysdeps/unix/sparc/sysdep.h: Delete.
4490 * sysdeps/unix/sparc/vfork.S: Delete.
4491 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
4492 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
4493 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
4494 ret_ERRVAL, r0, r1, MOVE): Define.
4495 (JUMPTARGET): Remove.
4496 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
4497 sysdeps/unix/sparc/sysdep.h
4498 (ENTRY, END): Remove.
4499 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4501 2012-04-25 Joseph Myers <joseph@codesourcery.com>
4503 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
4504 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
4507 * timezone/README: Update upstream location and email address for
4509 * timezone/zdump.c: Update from tzcode 2012b.
4510 * timezone/zic.c: Likewise.
4512 * configure.in (libc_cv_as_needed): Remove test.
4513 * configure: Regenerated.
4514 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
4515 conditional definition.
4516 [$(have-as-needed) != yes] (no-as-needed): Likewise.
4517 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
4518 * config.make.in (have-as-needed): Remove variable.
4520 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4521 Paul Pluzhnikov <ppluzhnikov@google.com>
4523 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
4526 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
4528 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
4529 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
4530 * sysdeps/sh/strlen.S: Likewise.
4532 2012-04-24 Joseph Myers <joseph@codesourcery.com>
4534 * sysdeps/unix/fork.S: Remove file.
4535 * sysdeps/unix/i386/fork.S: Likewise.
4536 * sysdeps/unix/sparc/fork.S: Likewise.
4538 * sysdeps/unix/system.c: Remove file.
4539 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
4541 * sysdeps/unix/getegid.S: Remove file.
4542 * sysdeps/unix/geteuid.S: Likewise.
4544 2012-04-24 Roland McGrath <roland@hack.frob.com>
4546 * scripts/check-localplt.awk: New file.
4547 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
4549 * scripts/data/localplt-generic.data: Add a comment.
4551 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
4552 NODE when __dir_mkfile failed.
4553 * sysdeps/mach/hurd/symlinkat.c: Likewise.
4554 Reported by Ludovic Courtès <ludo@gnu.org>.
4556 2012-04-24 Andreas Jaeger <aj@suse.de>
4558 * Makerules (common-clean): Also remove gen-as-const-headers
4561 2012-04-24 Joseph Myers <joseph@codesourcery.com>
4563 * Makerules (native-compile): Do not change working directory for
4564 build. Use $(OUTPUT_OPTION) in command.
4565 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
4567 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4570 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
4571 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
4572 * math/libm-test.inc (floor_test): Add more tests.
4573 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
4575 2012-04-24 Joseph Myers <joseph@codesourcery.com>
4577 * sysdeps/unix/getdents.c: Remove file.
4578 * sysdeps/unix/sysv/getdents.c: Likewise.
4579 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
4581 * sysdeps/unix/syscalls.list (madvise): Add syscall from
4582 sysdeps/unix/mman/syscalls.list.
4584 (mprotect): Likewise.
4587 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
4588 * sysdeps/unix/mman/syscalls.list: Remove.
4589 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
4591 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
4592 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
4593 * configure: Regenerated.
4594 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
4596 * config.make.in (libgcc_s_suffix): Remove variable.
4598 2012-04-23 Joseph Myers <joseph@codesourcery.com>
4600 * sysdeps/unix/sysv/gethostname.c: Move to ...
4601 * sysdeps/posix/gethostname.c: ... here.
4603 * sysdeps/unix/execve.S: Remove file.
4605 * sysdeps/unix/_exit.S: Remove file.
4607 2012-04-23 Andreas Jaeger <aj@suse.de>
4610 * manual/Makefile: Remove make dist support, there's no
4611 need for a stand-alone documentation tar ball.
4612 (TEXI2DVI): Define always, it's not in Makeconfig.
4616 (glibc-doc-$(edition).tar): Removed
4620 (ETAGS): Remove, it's in Makeconfig.
4621 (move-if-change): Remove, it's in Makeconfig.
4623 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
4626 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
4627 (strtod, strtof, strtold, strtol, strtoul, strtoq)
4628 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
4629 (strtod_l, strtof_l, strtold_l): Remove __wur.
4630 It is not necessarily an error to ignore strtol's return value.
4631 One can reliably look at the stored endptr to decide whether
4632 the number had valid syntax.
4634 2012-04-21 Andreas Jaeger <aj@suse.de>
4637 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
4639 2012-04-21 Joseph Myers <joseph@codesourcery.com>
4641 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
4642 * sysdeps/unix/sysv/Versions: Remove file.
4644 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
4647 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4649 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
4652 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
4653 version from __vm86.
4655 2012-04-20 Joseph Myers <joseph@codesourcery.com>
4657 * sysdeps/unix/common/lxstat.c: Remove file.
4658 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
4660 * sysdeps/unix/sysv/Makefile: Remove file.
4662 * sysdeps/unix/sysv/direct.h: Remove file.
4664 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
4665 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
4666 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
4667 * sysdeps/unix/sysv/bits/signum.h: Likewise.
4668 * sysdeps/unix/sysv/bits/stat.h: Likewise.
4669 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
4670 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
4672 * sysdeps/unix/sysv/setrlimit.c: Remove file.
4674 * sysdeps/unix/xmknod.c: Remove file.
4675 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
4677 * sysdeps/unix/sysv/settimeofday.c: Remove file.
4679 * sysdeps/unix/sysv/i386/time.S: Remove file.
4681 * sysdeps/unix/fxstat.c: Remove file.
4682 * sysdeps/unix/xstat.c: Likewise.
4683 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
4685 * sysdeps/unix/sysv/sigaction.c: Remove file.
4687 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
4688 (sysdep_headers): Remove variable.
4689 [termio.h not in sysdep_headers] (generated): Likewise.
4690 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
4691 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
4692 * sysdeps/unix/sysv/tcdrain.c: Likewise.
4693 * sysdeps/unix/sysv/tcflow.c: Likewise.
4694 * sysdeps/unix/sysv/tcflush.c: Likewise.
4695 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
4696 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
4697 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
4698 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
4699 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
4701 * sysdeps/unix/siglist.c: Remove file.
4703 * sysdeps/unix/getppid.S: Remove file.
4705 * sysdeps/unix/mkdir.c: Remove file.
4706 * sysdeps/unix/rmdir.c: Likewise.
4708 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
4710 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
4712 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
4713 errlist-compat value.
4715 2012-04-18 David S. Miller <davem@davemloft.net>
4717 * sysdeps/generic/memcopy.h (reg_char): Delete.
4718 * debug/strcat_chk.c: Use char, not reg_char.
4719 * debug/strcpy_chk.c: Likewise.
4720 * debug/strncat_chk.c: Likewise.
4721 * debug/strncpy_chk.c: Likewise.
4722 * string/memchr.c: Likewise.
4723 * string/memrchr.c: Likewise.
4724 * string/rawmemchr.c: Likewise.
4725 * string/strcat.c: Likewise.
4726 * string/strchr.c: Likewise.
4727 * string/strchrnul.c: Likewise.
4728 * string/strcmp.c: Likewise.
4729 * string/strcpy.c: Likewise.
4730 * string/strncat.c: Likewise.
4731 * string/strncmp.c: Likewise.
4732 * string/strncpy.c: Likewise.
4734 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4736 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
4737 __builtin_memcopy is called when src and dest ranges are known to not
4740 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4742 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
4743 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
4744 fwd_align_merge macro call.
4745 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
4746 bwd_align_merge macro call.
4747 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4749 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4751 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
4752 bwd_align_merge macros.
4753 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
4754 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
4755 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4757 2012-04-18 David S. Miller <davem@davemloft.net>
4759 * sysdeps/sparc/sparc64/memcopy.h: Delete.
4761 2012-04-18 Andreas Jaeger <aj@suse.de>
4764 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
4765 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
4766 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4768 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
4769 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
4770 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4772 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
4773 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
4774 Adjust for changed ldbl-128 files.
4776 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
4777 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
4778 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4780 2012-04-17 David S. Miller <davem@davemloft.net>
4782 * sysdeps/sparc/sparc32/memcopy.h: Delete.
4784 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
4786 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
4787 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
4788 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
4789 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
4790 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4791 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
4793 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4796 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
4797 * math/libm-test.inc: Add ilogb errno and exception tests.
4798 * math/w_ilogb.c: New file: ilogb wrapper.
4799 * math/w_ilogbf.c: New file: ilogbf wrapper.
4800 * math/w_ilogbl.c: New file: ilogbl wrapper.
4801 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
4802 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
4803 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
4804 exception being thrown with 0.0 as argument.
4805 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
4806 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
4807 exception being thrown with 0.0 as argument.
4808 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
4809 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4810 exception being thrown with 0.0 as argument.
4811 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
4812 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4813 exception being thrown with 0.0 as argument.
4814 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
4815 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
4816 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
4817 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
4818 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
4819 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
4820 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
4821 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
4822 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
4824 2012-04-17 Petr Baudis <pasky@ucw.cz>
4826 * include/sys/uio.h: Change __vector to __iovec to avoid clash
4829 2012-04-16 Marek Polacek <polacek@redhat.com>
4831 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
4833 2012-04-16 Marek Polacek <polacek@redhat.com>
4835 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
4836 operands of fdivp instruction.
4838 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4840 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
4841 * elf/tst-auditmod3b.c: Likewise.
4842 * elf/tst-auditmod4b.c: Likewise.
4843 * elf/tst-auditmod5b.c: Likewise.
4844 * elf/tst-auditmod6b.c: Likewise.
4845 * elf/tst-auditmod6c.c: Likewise.
4846 * elf/tst-auditmod7b.c: Likewise.
4847 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
4848 * sysdeps/x86_64/preconfigure.in: Likewise.
4849 * sysdeps/x86_64/preconfigure: Regenerated.
4851 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4853 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
4856 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
4858 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4859 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
4861 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
4864 * locale/iso-639.def: Fix gl language name. Spotted by
4867 2012-04-12 Roland McGrath <roland@hack.frob.com>
4870 * libio/libio.h (__io_write_fn): Update comment.
4872 2012-04-12 Petr Baudis <pasky@ucw.cz>
4875 * stdio.texi (Hook Functions): The user provided writer function
4876 is not allowed to return -1.
4878 2012-04-11 David S. Miller <davem@davemloft.net>
4880 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4882 2012-04-11 Mike Frysinger <vapier@gentoo.org>
4884 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
4885 Add a leading slash to rtkaio.
4887 2012-04-11 Jim Meyering <meyering@redhat.com>
4890 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
4891 It is not necessarily an error to ignore fwrite's return
4892 value. One can reliably use ferror to test for errors after
4895 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
4897 * bits/types.h (__snseconds_t): New type.
4898 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
4900 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
4901 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4902 (__SNSECONDS_T_TYPE): Likewise.
4903 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4904 (__SNSECONDS_T_TYPE): Likewise.
4905 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4906 (__SNSECONDS_T_TYPE): Likewise.
4908 2012-04-10 Andreas Jaeger <aj@suse.de>
4911 * manual/time.texi (Processor Time): Return type of times is
4912 elapsed real time since an arbitrary point in the past.
4913 (CPU Time): Move CLK_TCK from here...
4914 (Processor Time): ...to here. Correct description.
4915 * manual/conf.texi (Constants for Sysconf): Correct description of
4918 2012-04-10 David S. Miller <davem@davemloft.net>
4921 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
4922 where the is a gap between DT_REL(A) and DT_JMPREL.
4924 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
4926 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
4927 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
4928 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
4930 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4932 * elf/dl-support.c (_dl_inhibit_cache): New variable.
4933 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
4934 (dl_main): Handle --inhibit-cache.
4935 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
4937 * elf/dl-load.c (_dl_map_object): Use it.
4938 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
4940 2012-04-09 Joseph Myers <joseph@codesourcery.com>
4943 * sysdeps/i386/fpu/e_powl.S (p78): New object.
4944 (__ieee754_powl): Saturate large exponents rather than testing for
4945 overflow of y*log2(x).
4946 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4947 * math/libm-test.inc (pow_test): Do not permit spurious overflow
4951 * math/s_ctan.c: Include <float.h>.
4952 (__ctan): Avoid internal overflow or cancellation in calculating
4954 * math/s_ctanf.c: Likewise.
4955 * math/s_ctanl.c: Likewise.
4956 * math/s_ctanh.c: Likewise.
4957 * math/s_ctanhf.c: Likewise.
4958 * math/s_ctanhl.c: Likewise.
4959 * math/libm-test.inc (ctan_test): Add more tests.
4960 (ctanh_test): Likewise.
4961 * sysdeps/i386/fpu/libm-test-ulps: Update.
4962 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4964 2012-04-09 Andreas Jaeger <aj@suse.de>
4967 * manual/filesys.texi (Directory Entries): Mention that d_namlen
4968 is an optional BSD extension.
4971 * manual/stdio.texi (Opening Streams): Document additional fopen
4974 2012-04-09 Roland McGrath <roland@hack.frob.com>
4976 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
4977 %eax without telling the compiler.
4979 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
4982 * manual/install.texi: Use sourceware.org.
4984 2012-04-09 Joseph Myers <joseph@codesourcery.com>
4987 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
4988 (__ieee754_pow): Generate overflow and underflow using huge*huge
4989 and tiny*tiny rather than just returning constant infinity or zero
4990 for large exponents.
4991 * math/libm-test.inc (pow_test): Require overflow exceptions for
4992 applicable cases of large exponents.
4995 * sysdeps/i386/fpu/e_pow.S (p10): New object.
4996 (__ieee754_pow): Use iterative multiplication algorithm only for
4997 integer exponents with absolute value below 1024. Check for odd
4998 integer exponents when using algorithm for real exponents.
4999 * math/libm-test.inc (pow_test): Add more tests.
5000 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5002 2012-04-08 Joseph Myers <joseph@codesourcery.com>
5005 * math/libm-test.inc (exp_test): Do not allow overflow exception
5008 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
5011 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
5012 instead of __kernel_standard_f.
5014 2012-04-08 Mike Frysinger <vapier@gentoo.org>
5016 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
5017 * sysdeps/x86_64/memset_chk.S: Likewise.
5019 2012-04-08 Andreas Jaeger <aj@suse.de>
5022 * manual/startup.texi (Environment Access): Describe return value
5023 for putenv and setenv.
5026 * manual/filesys.texi (Directory Entries): Add description for
5030 * manual/filesys.texi (Directory Entries): Clarify that it's file
5031 system not operating system in the description of DT_UNKNOWN.
5034 * manual/syslog.texi (closelog): Fix reference, it's openlog.
5036 2012-04-08 Stephen Compall <s11@member.fsf.org>
5039 * manual/llio.texi (Opening and Closing Files): Add cross
5040 reference to explain mode argument.
5042 2012-04-07 Mike Frysinger <vapier@gentoo.org>
5044 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
5045 * sysdeps/x86_64/memset_chk.S: Likewise.
5047 2012-04-07 David S. Miller <davem@davemloft.net>
5049 * elf/elf.h (R_SPARC_WDISP10): Define.
5050 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
5052 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
5053 R_SPARC_SIZE64 and R_SPARC_H34.
5055 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
5057 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
5058 conditions and remove no longer applicable assertion.
5060 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
5062 * bits/byteswap.h: Include <features.h>.
5063 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
5064 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
5066 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
5068 * bits/byteswap.h (__bswap_16): Removed.
5069 Include <bits/byteswap-16.h> to get __bswap_16.
5070 * sysdeps/i386/bits/byteswap.h: Likewise.
5071 * sysdeps/s390/bits/byteswap.h: Likewise.
5072 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5073 * bits/byteswap-16.h: New file.
5074 * sysdeps/i386/bits/byteswap-16.h: Likewise.
5075 * sysdeps/s390/bits/byteswap-16.h: Likewise.
5076 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
5077 * string/Makefile (headers): Add bits/byteswap-16.h.
5079 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5082 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
5084 * nss/Makefile (tests-static, tests): Add tst-nss-static.
5085 * nss/tst-nss-static.c: New.
5087 2012-04-06 Robert Millan <rmh@gnu.org>
5090 * manual/llio.texi (File Position Primitive): lseek
5091 refers to WHENCE when it really means OFFSET.
5093 2012-04-06 Andreas Jaeger <aj@suse.de>
5095 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
5096 strncmp declarations.
5098 * abilist/libc.abilist: Add __poll and __ppoll.
5100 2012-04-05 David S. Miller <davem@davemloft.net>
5102 * scripts/check-local-headers.sh: Accept a host triplet in the
5103 path matched by the exclude regexp.
5105 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
5107 * sysdeps/powerpc/powerpc32/dl-machine.h
5108 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
5109 * sysdeps/s390/s390-32/dl-machine.h
5110 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5111 * sysdeps/sparc/sparc32/dl-machine.h
5112 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5113 * sysdeps/sparc/sparc64/dl-machine.h
5114 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5116 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
5118 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
5119 undefined symbol errors.
5121 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
5124 2012-04-05 Michael Matz <matz@suse.de>
5127 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
5129 2012-04-05 Andreas Jaeger <aj@suse.de>
5132 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
5135 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5137 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
5138 which ROUND is no valid rounding mode.
5140 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5142 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
5144 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
5146 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5148 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
5149 an exception using FPU order intentionally.
5151 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5153 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
5154 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
5155 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
5156 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
5158 2012-04-05 Simon Josefsson <simon@josefsson.org>
5161 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
5162 EINVAL when BUFLEN is too smal.
5164 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
5167 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
5168 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
5170 2012-04-03 Andreas Jaeger <aj@suse.de>
5173 * manual/setjmp.texi (System V contexts): Fix sentence.
5176 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
5177 New macro for this case.
5178 [!__GNUC__] (__bswap_64): New inline function for this case.
5179 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5180 * bits/byteswap.h: Likewise.
5181 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
5182 ull, guard with __GLIBC_HAVE_LONG_LONG.
5184 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
5185 __GLIBC_HAVE_LONG_LONG.
5187 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
5188 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
5190 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5193 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
5194 inptr and inend, rather than using last_ch.
5196 2012-04-02 David S. Miller <davem@davemloft.net>
5198 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
5199 * stdio-common/printf-parse.h (read_int): Change return type to
5200 'int', return -1 on INT_MAX overflow.
5201 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
5202 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
5203 overflows INT_MAX. Check for overflow of in-format-string precision
5204 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
5205 SIZE_MAX not INT_MAX for integer overflow test.
5206 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
5207 skip the construct in the format string but do not record anything.
5208 * stdio-common/bug22.c: Adjust to test both width/prevision
5209 INT_MAX overflow as well as total length INT_MAX overflow. Check
5210 explicitly for proper errno values.
5212 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
5214 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
5216 * string/test-strcmp.c [! WIDE]: Likewise.
5217 * time/tst-mktime2.c: Likewise for INT_MAX.
5218 * string/test-string.h: #include <sys/param.h> for MIN.
5220 * csu/init-first.c (__libc_init_first): Call __ctype_init.
5221 * sysdeps/i386/init-first.c (init): Likewise.
5222 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
5223 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
5224 * sysdeps/sh/init-first.c (init): Likewise.
5226 2012-04-01 Ulrich Drepper <drepper@gmail.com>
5228 * po/ru.po: Update from translation team.
5229 * po/vi.po: Likewise.
5231 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5233 * resolv/nss_dns/dns-host.c: Merge copyright years.
5235 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5237 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5238 Optimize memcpy with prefetch if
5239 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
5240 src, dst pointers have unequal 16 byte alignments.
5242 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5245 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
5246 from a CNAME entry and return the minimum ttl for the query.
5247 (gaih_getanswer_slice): Likewise.
5249 2012-03-30 Jeff Law <law@redhat.com>
5251 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
5253 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
5254 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
5256 * resolv/nss_dns/dns-host.c: Update copyright year.
5258 2012-03-30 Ulrich Drepper <drepper@gmail.com>
5260 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
5261 requests to save a system call. Fix check that all bytes are sent.
5263 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
5264 comments for sendmmsg.
5266 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5269 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
5270 with only 1 character between 0x0041 and 0x01b0.
5271 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
5272 * wcsmbs/tst-mbsnrtowcs.c: New file.
5274 2012-03-29 David S. Miller <davem@davemloft.net>
5276 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
5277 small copies by hand.
5279 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5282 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
5283 _nss_compat_initgroups_dyn): Fall back to malloc/free
5284 for large group memberships.
5286 2012-03-28 David S. Miller <davem@davemloft.net>
5288 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
5289 that branches into memcpy.
5290 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5291 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
5292 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5293 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
5294 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
5296 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
5298 * sysdeps/sparc/mempcpy.S: New file.
5300 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
5301 the IFUNC routine in the libc case.
5302 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5304 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
5305 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
5306 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
5307 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
5308 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
5309 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
5310 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
5311 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
5313 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
5314 loop to 256 bytes instead of 64 bytes and fix test signedness.
5316 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
5317 * sysdeps/sparc/sparc32/Makefile: rather than here...
5318 * sysdeps/sparc/sparc64/Makefile: and here.
5320 2012-03-28 Ulrich Drepper <drepper@gmail.com>
5322 * malloc/mallocbug.c: Avoid warnings about unused variables.
5324 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5327 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
5328 in the right place. Discard and retry query if response is
5329 larger than input buffer size.
5331 2012-03-28 Joseph Myers <joseph@codesourcery.com>
5336 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
5337 x for large integer exponent.
5338 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5339 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
5340 sign of result as needed afterwards.
5341 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
5342 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
5343 result for underflowing pow the same as for overflow.
5344 (__kernel_standard_l): Handle powl overflow and underflow here
5345 rather than calling __kernel_standard.
5346 * math/libm-test.inc (pow_test): Add more tests.
5361 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
5362 * sysdeps/ieee754/k_standard.c: Include <float.h>.
5363 (__kernel_standard_l): New function.
5364 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
5366 * math/w_acosl.c (__acosl): Likewise.
5367 * math/w_asinl.c (__asinl): Likewise.
5368 * math/w_atan2l.c (__atan2l): Likewise.
5369 * math/w_atanhl.c (__atanhl): Likewise.
5370 * math/w_coshl.c (__coshl): Likewise.
5371 * math/w_exp10l.c (__exp10l): Likewise.
5372 * math/w_exp2l.c (__exp2l): Likewise.
5373 * math/w_fmodl.c (__fmodl): Likewise.
5374 * math/w_hypotl.c (__hypotl): Likewise.
5375 * math/w_j0l.c (__j0l, __y0l): Likewise.
5376 * math/w_j1l.c (__j1l, __y1l): Likewise.
5377 * math/w_jnl.c (__jnl, __ynl): Likewise.
5378 * math/w_lgammal.c (__lgammal): Likewise.
5379 * math/w_log10l.c (__log10l): Likewise.
5380 * math/w_log2l.c (__log2l): Likewise.
5381 * math/w_logl.c (__logl): Likewise.
5382 * math/w_powl.c (__powl): Likewise.
5383 * math/w_remainderl.c (__remainderl): Likewise.
5384 * math/w_scalbl.c (sysv_scalbl): Likewise.
5385 * math/w_sinhl.c (__sinhl): Likewise.
5386 * math/w_sqrtl.c (__sqrtl): Likewise.
5387 * math/w_tgammal.c (__tgammal): Likewise.
5388 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
5389 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
5390 * math/libm-test.inc (acos_test): Add more tests.
5391 (acosh_test): Likewise.
5392 (asin_test): Likewise.
5393 (atanh_test): Likewise.
5394 (exp_test): Likewise.
5395 (exp10_test): Likewise.
5396 (exp2_test): Likewise.
5397 (expm1_test): Likewise.
5398 (lgamma_test): Likewise.
5399 (log_test): Likewise.
5400 (log10_test): Likewise.
5401 (log1p_test): Likewise.
5402 (log2_test): Likewise.
5403 (pow_test): Do not allow some spurious overflow exceptions.
5404 (sqrt_test): Add more tests.
5405 (tgamma_test): Likewise.
5406 (y0_test): Likewise.
5407 (y1_test): Likewise.
5408 (yn_test): Likewise.
5410 2012-03-27 Anton Blanchard <anton@samba.org>
5412 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
5414 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5415 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
5416 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5418 2012-03-27 David S. Miller <davem@davemloft.net>
5420 * conform/Makefile: Run run-conformtest.sh using $(BASH).
5422 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
5425 2012-03-27 Andreas Jaeger <aj@suse.de>
5427 * sysdeps/x86_64/elf/configure.in: Moved to ...
5428 * sysdeps/x86_64/configure.in: ... here.
5429 * sysdeps/x86_64/elf/start.S: Moved to ...
5430 * sysdeps/x86_64/start.S: ... here.
5431 * sysdeps/x86_64/elf/configure: Delete.
5433 * sysdeps/x86_64/configure.in: Merge contents from
5434 sysdeps/i386/configure.in (without i686 check).
5436 * sysdeps/i386/elf/Versions: Merge into ...
5437 * sysdeps/i386/Versions: ... this.
5438 * sysdeps/i386/elf/Versions: Delete file.
5439 * sysdeps/i386/elf/start.S: Moved to ...
5440 * sysdeps/i386/start.S: ...here.
5441 * sysdeps/i386/elf/configure.in: Merge into...
5442 * sysdeps/i386/configure.in: ...here.
5443 * sysdeps/i386/elf/configure.in: Delete file.
5444 * sysdeps/i386/elf/configure: Delete file.
5446 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
5447 * debug/backtracesyms.c: ... here.
5448 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
5449 * debug/backtracesymsfd.c: ... here.
5450 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
5451 * sysdeps/generic/ifunc-sel.h: ... here.
5453 * sysdeps/unix/i386/start.c: Delete file.
5454 * sysdeps/unix/sparc/start.c: Delete file.
5455 * sysdeps/unix/start.c: Delete file.
5457 * sysdeps/sh/elf/configure.in: Moved to ...
5458 * sysdeps/sh/configure.in: ... here.
5459 * sysdeps/sh/elf/start.S: Moved to ...
5460 * sysdeps/sh/start.S: ... here.
5461 * sysdeps/sh/elf/configure: Delete file.
5463 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
5464 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
5465 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
5466 * sysdeps/powerpc/powerpc64/entry.h: ... here.
5467 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
5468 * sysdeps/powerpc/powerpc64/start.S: here.
5469 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
5470 * sysdeps/powerpc/powerpc64/Makefile: ... this.
5471 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
5472 * sysdeps/powerpc/powerpc64/configure.in: ... this.
5473 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
5475 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
5476 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
5477 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
5478 * sysdeps/powerpc/powerpc32/start.S: ... here.
5479 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
5480 * sysdeps/powerpc/powerpc32/configure.in: ... this.
5481 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
5483 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
5484 * sysdeps/powerpc/ifunc-sel.h: ... here.
5485 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
5486 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
5488 * sysdeps/sparc/elf/configure.in: Moved to ...
5489 * sysdeps/sparc/configure.in: ... here.
5490 * sysdeps/sparc/elf/configure: Delete file.
5491 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
5492 * sysdeps/sparc/sparc32/start.S: ... here.
5493 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
5494 * sysdeps/sparc/sparc64/start.S: ... here.
5495 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
5496 * sysdeps/sparc/sparc32/Makefile: ... this.
5497 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
5498 * sysdeps/sparc/sparc64/Makefile: ... this.
5500 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
5501 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
5502 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
5503 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
5504 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
5505 * sysdeps/s390/s390-32/setjmp.S: ... here.
5506 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
5507 * sysdeps/s390/s390-32/configure.in: ... here.
5508 * sysdeps/s390/s390-32/elf/configure: Delete file.
5509 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
5510 * sysdeps/s390/s390-32/start.S: ... here.
5512 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
5513 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
5514 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
5515 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
5516 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
5517 * sysdeps/s390/s390-64/setjmp.S: ... here.
5518 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
5519 * sysdeps/s390/s390-64/configure.in: ... here
5520 * sysdeps/s390/s390-64/elf/configure: Delete file.
5521 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
5522 * sysdeps/s390/s390-64/start.S: ... here.
5523 * sysdeps/s390/s390-64/elf/configure: Delete.
5525 * configure.in: Remove support for elf directories in sysdeps.
5527 * configure: Regenerated.
5528 * sysdeps/i386/configure: Regenerated.
5529 * sysdeps/powerpc/powerpc32/configure: Regenerated.
5530 * sysdeps/powerpc/powerpc64/configure: Regenerated.
5531 * sysdeps/s390/s390-32/configure: Regenerated.
5532 * sysdeps/s390/s390-64/configure: Regenerated.
5533 * sysdeps/sh/configure: Regenerated.
5534 * sysdeps/sparc/configure: Regenerated.
5535 * sysdeps/x86_64/configure: Regenerated.
5537 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
5539 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5541 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
5542 denormal result into account.
5544 2012-03-25 Roland McGrath <roland@hack.frob.com>
5546 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
5547 Reported by Allan McRae <allan@archlinux.org>.
5549 2012-03-23 Jeff Law <law@redhat.com>
5551 * nss/getnssent.c (__nss_getent): Fix typo.
5553 2012-03-23 David S. Miller <davem@davemloft.net>
5555 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5557 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
5559 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
5560 to pad to uint64_t for each field.
5561 (dl_tls_index): Replace unsigned long with uint64_t.
5563 2012-03-23 Daniel Jacobowitz <dmj@google.com>
5564 Paul Pluzhnikov <ppluzhnikov@google.com>
5567 * grp/Makefile (otherlibs): Don't set it.
5568 * inet/Makefile (otherlibs): Likewise.
5569 * login/Makefile (otherlibs): Likewise.
5570 * nscd/Makefile (otherlibs): Likewise.
5571 * posix/Makefile (otherlibs): Likewise.
5572 * pwd/Makefile (otherlibs): Likewise.
5573 * rt/Makefile (otherlibs): Likewise.
5574 * sunrpc/Makefile (otherlibs): Likewise.
5575 * nss/Makefile (otherlibs): Likewise.
5576 Add libnss_files to routines and static-only-routines.
5577 ($(objpfx)getent): Remove rule.
5578 * resolv/Makefile: Add libnss_dns and libresolv to routines and
5579 static-only-routines.
5581 2012-03-22 Joseph Myers <joseph@codesourcery.com>
5584 * math/s_cexp.c: Include <float.h>.
5585 (__cexp): Handle exp result overflowing not necessarily
5586 overflowing both real and imaginary parts of result.
5587 * math/s_cexpf.c: Likewise.
5588 * math/s_cexpl.c: Likewise.
5589 * math/libm-test.inc (cexp_test): Add more tests.
5590 * sysdeps/i386/fpu/libm-test-ulps: Update.
5591 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5593 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5595 * include/link.h (ELFW): New macro.
5596 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
5597 Replace ELF64_R_TYPE with ELFW(R_TYPE).
5599 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5601 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
5604 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5606 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
5608 (struct La_x32_retval): Likewise.
5610 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5612 * sysdeps/x86_64/preconfigure.in: New file.
5613 * sysdeps/x86_64/preconfigure: New generated file.
5615 2012-03-22 Joseph Myers <joseph@codesourcery.com>
5618 * math/e_exp2l.c: Include <float.h>.
5619 (__ieee754_exp2l): Handle overflow and underflow cases
5620 separately. Only pass fractional part of argument to
5622 * math/libm-test.inc (exp2_test): Add more tests.
5624 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
5625 negating x to take absolute value.
5626 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
5628 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5629 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
5631 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
5632 computing low part if x was negated.
5633 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5635 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5637 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
5639 (pltexit): Cast int_retval to ptrdiff_t.
5640 * elf/tst-auditmod3b.c: Likewise.
5641 * elf/tst-auditmod4b.c: Likewise.
5642 * elf/tst-auditmod5b.c: Likewise.
5643 * elf/tst-auditmod6b.c: Likewise.
5644 * elf/tst-auditmod6c.c: Likewise.
5645 * elf/tst-auditmod7b.c: Likewise.
5647 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
5648 and x32_gnu_pltexit.
5650 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
5652 (La_x32_regs): New macro.
5653 (La_x32_retval): Likewise.
5654 (la_x32_gnu_pltenter): New function prototype.
5655 (la_x32_gnu_pltexit): Likewise.
5657 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
5659 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
5662 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5664 * configure.in (libc_cv_cc_nofma): Check for option to disable
5665 generation of FMA instructions.
5666 * configure: Regenerate.
5667 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
5668 * sysdeps/ieee754/dbl-64/Makefile: New file.
5669 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
5670 Remove brandred-fma4.
5671 (CFLAGS-brandred-fma4.c): Remove.
5672 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
5673 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
5675 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
5678 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5680 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
5681 LLONG_MAX != LONG_MAX.
5682 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5683 (_fitoa_word): Likewise.
5684 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
5685 LLONG_MAX != LONG_MAX.
5686 * stdio-common/_itowa.h: Include <_itoa.h>.
5687 (_itowa_word): Use _ITOA_WORD_TYPE on value.
5688 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
5689 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
5690 only if not defined.
5691 (_ITOA_WORD_TYPE): Likewise.
5692 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5693 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
5695 2012-03-21 David S. Miller <davem@davemloft.net>
5697 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5699 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5701 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
5702 of x86_64 when setting libc_cv_slibdir, libdir and
5704 * sysdeps/unix/sysv/linux/configure: Regenerated.
5706 2012-03-21 Joseph Myers <joseph@codesourcery.com>
5708 * manual/lang.texi (Old Varargs): Remove section.
5709 (How Variadic): Update menu.
5710 (va_start): Do not mention varargs.h.
5712 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5713 Joseph Myers <joseph@codesourcery.com>
5715 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
5717 * configure: Regenerated.
5719 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5721 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
5722 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
5725 2012-03-21 Joseph Myers <joseph@codesourcery.com>
5728 * Makefile (files-for-dist): Remove NOTES.
5729 (NOTES): Remove rule.
5730 * README: Don't refer to NOTES.
5731 * manual/creature.texi: Don't include macros.texi.
5732 * manual/intro.texi (creature.texi): Remove comment referring to
5735 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
5736 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
5737 * configure: Regenerated.
5738 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
5740 (libc_cv_as_i686): Likewise.
5741 (libc_cv_cc_avx): Likewise.
5742 (libc_cv_cc_sse2avx): Likewise.
5743 (libc_cv_cc_fma4): Likewise.
5744 (libc_cv_cc_novzeroupper): Likewise.
5745 * sysdeps/i386/configure: Regenerated.
5748 * sysdeps/i386/fpu/s_cexp.S: Remove.
5749 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5750 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5751 * math/libm-test.inc (cexp_test): Add more tests.
5752 * sysdeps/i386/fpu/libm-test-ulps: Update.
5753 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5755 2012-03-21 Allan McRae <allan@archlinux.org>
5757 * timezone/Makefile: Do not install iso3166.tab and zone.tab
5759 2012-03-21 Joseph Myers <joseph@codesourcery.com>
5762 * math/w_exp2.c: Do not include <float.h>.
5763 (o_threshold, u_threshold): Remove.
5764 (__exp2): Calculate result before checking finiteness and calling
5766 * math/w_exp2f.c: Likewise.
5767 * math/w_exp2l.c: Likewise.
5768 * math/libm-test.inc (exp2_test): Require overflow exception for
5772 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
5773 range of signed 64-bit integers before using fistpll. Remove
5774 checks for whether integers fit in mantissa bits.
5775 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
5776 the range of signed 32-bit integers before using fistpl. Remove
5777 checks for whether integers fit in mantissa bits.
5778 * sysdeps/i386/fpu/e_powl.S (p64): New object.
5779 (__ieee754_powl): Test for y outside the range of signed 64-bit
5780 integers before using fistpll. Reduce 64-bit values to 63-bit
5782 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
5783 divide-by-zero is raised for zero to large negative powers.
5784 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
5785 (__ieee754_powl): Test for y outside the range of signed 64-bit
5786 integers before using fistpll. Reduce 64-bit values to 63-bit
5788 * math/libm-test.inc (pow_test): Add more tests.
5790 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5792 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
5793 <stdio-common/_itoa.h>.
5794 * debug/segfault.c: Likewise.
5795 * elf/dl-cache.c: Likewise.
5796 * elf/dl-minimal.c: Likewise.
5797 * elf/dl-misc.c: Likewise.
5798 * elf/dl-sysdep.c: Likewise.
5799 * elf/dl-version.c: Likewise.
5800 * elf/rtld.c: Likewise.
5801 * hurd/hurdsock.c: Likewise.
5802 * hurd/lookup-retry.c: Likewise.
5803 * malloc/malloc.c: Likewise.
5804 * malloc/mtrace.c: Likewise.
5805 * nscd/nscd_getgr_r.c: Likewise.
5806 * nscd/nscd_getpw_r.c: Likewise.
5807 * nscd/nscd_getserv_r.c: Likewise.
5808 * posix/getopt_init.c: Likewise.
5809 * posix/wordexp.c: Likewise.
5810 * stdio-common/_itoa.c: Likewise.
5811 * stdio-common/printf_fphex.c: Likewise.
5812 * stdio-common/vfprintf.c: Likewise.
5813 * string/_strerror.c: Likewise.
5814 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
5815 * sysdeps/i386/i686/hp-timing.h: Likewise.
5816 * sysdeps/mach/_strerror.c: Likewise.
5817 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
5818 * sysdeps/mach/hurd/sethostid.c: Likewise.
5819 * sysdeps/mach/hurd/xmknodat.c: Likewise.
5820 * sysdeps/mach/xpg-strerror.c: Likewise.
5821 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5822 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5823 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
5824 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
5825 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5826 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
5827 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
5828 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
5829 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
5830 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
5831 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
5832 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5833 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
5834 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
5835 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
5836 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
5837 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
5838 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
5839 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5840 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5841 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
5843 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
5845 * stdio-common/_itoa.h: Moved to ...
5846 * sysdeps/generic/_itoa.h: Here.
5848 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
5850 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
5851 instead of "_itoa.h" and "_itowa.h".
5852 * stdio-common/vfprintf.: Likewise.
5854 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5856 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
5858 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
5859 (__signbit): Likwise.
5863 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5865 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
5868 2012-03-20 Joseph Myers <joseph@codesourcery.com>
5870 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
5871 OVERFLOW_EXCEPTION_OK.
5872 * math/libm-test.inc ("Philosophy"): Update comment about
5874 (OVERFLOW_EXCEPTION): Define.
5875 (OVERFLOW_EXCEPTION_OK): Likewise.
5876 (INVALID_EXCEPTION_OK): Renumber.
5877 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5878 (IGNORE_ZERO_INF_SIGN): Likewise.
5879 (test_exceptions): Handle FE_OVERFLOW.
5880 (exp10_test): Expect overflow exceptions.
5881 (exp2_test): Likewise.
5882 (expm1_test): Likewise.
5883 (nextafter_test): Likewise.
5884 (pow_test): Likewise.
5885 (scalbn_test): Likewise.
5886 (scalbln_test): Likewise.
5888 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5890 * sysdeps/x86_64/bits/atomic.h
5891 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
5893 (atomic_exchange_acq): Likewise.
5894 (__arch_exchange_and_add_body): Likewise.
5895 (__arch_add_body): Likewise.
5896 (atomic_add_negative): Likewise.
5897 (atomic_add_zero): Likewise.
5899 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5901 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
5902 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
5904 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5906 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
5907 Check __x86_64__ instead of __WORDSIZE.
5909 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5911 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
5913 2012-03-19 David S. Miller <davem@davemloft.net>
5915 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5917 * sysdeps/sparc/fpu/fenv_private.h: New file.
5918 * sysdeps/sparc/fpu/math_private.h: Use it.
5919 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
5921 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
5922 (libc_feholdexcept_setroundl): Remove.
5923 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
5925 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
5926 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
5928 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5930 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
5931 int64_t instead of long int.
5932 (INSERT_WORDS64): Likwise.
5934 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5936 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
5937 _Unwind_GetCFA return to _Unwind_Ptr first.
5939 2012-03-19 Joseph Myers <joseph@codesourcery.com>
5942 * math/s_clog.c: Include <float.h>.
5943 (__clog): Scale large or subnormal inputs.
5944 * math/s_clogf.c: Likewise.
5945 * math/s_clogl.c: Likewise.
5946 * math/s_clog10.c: Include <float.h>.
5947 (M_LOG10_2): Define.
5948 (__clog10): Scale large or subnormal inputs.
5949 * math/s_clog10f.c: Likewise.
5950 * math/s_clog10l.c: Likewise.
5951 * math/libm-test.inc (clog_test): Add more tests.
5952 (clog10_test): Likewise.
5953 * sysdeps/i386/fpu/libm-test-ulps: Update.
5954 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5957 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
5959 * math/libm-test.inc (atan2_test): Add another test.
5961 * Makerules (common-objdir-compile): Remove.
5962 * sysdeps/unix/Makefile (config-generated): Do not add
5963 $(unix-generated) to variable.
5964 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
5965 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
5967 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
5969 [generic bits/local_lim.h] (before-compile): Do not append to
5971 [generic bits/local_lim.h] (common-generated): Likewise.
5972 [generic sys/param.h] (before-compile): Do not append to variable.
5973 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
5974 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
5975 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
5976 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
5978 [generic sys/param.h] (sys/param.h-includes): Remove variable.
5979 [generic sys/param.h] (sys/param.h-includes): Remove rule.
5980 [generic sys/param.h] ($(addprefix
5981 $(common-objpfx),$(sys/param.h-includes))): Likewise.
5982 [generic sys/param.h] (common-generated): Do not append to
5984 [generic sys/param.h] (sysdep_headers): Likewise.
5985 [generic bits/errno.h] (before-compile): Do not append to
5987 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
5989 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
5990 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
5991 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
5992 [generic bits/errno.h] (common-generated): Do not append to
5994 [generic bits/ioctls.h] (before-compile): Do not append to
5996 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
5998 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
5999 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
6000 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
6002 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
6003 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
6004 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
6005 [generic bits/ioctls.h] (common-generated): Do not append to
6007 [generic sys/syscall.h] (syscall.h): Remove variable.
6008 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
6010 [generic sys/syscall.h] (before-compile): Do not append to
6012 [generic sys/syscall.h] (common-generated): Likewise.
6013 * sysdeps/unix/errnos-tmpl.c: Remove file.
6014 * sysdeps/unix/errnos.awk: Likewise.
6015 * sysdeps/unix/ioctls-tmpl.c: Likewise.
6016 * sysdeps/unix/ioctls.awk: Likewise.
6017 * sysdeps/unix/mk-local_lim.c: Likewise.
6018 * sysdeps/unix/snarf-ioctls: Likewise.
6020 2012-03-19 Richard Henderson <rth@twiddle.net>
6022 * sysdeps/i386/fpu/fenv_private.h: New file.
6023 * sysdeps/i386/fpu/math_private.h: Use it.
6024 (math_opt_barrier, math_force_eval): Remove.
6025 (libc_feholdexcept_setround_53bit): Remove.
6026 (libc_feupdateenv_53bit): Remove.
6027 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6028 (math_opt_barrier, math_force_eval): Remove.
6029 (libc_feholdexcept): Remove.
6030 (libc_feholdexcept_setround): Remove.
6031 (libc_fetestexcept, libc_fesetenv): Remove.
6032 (libc_feupdateenv_test): Remove.
6033 (libc_feupdateenv, libc_feholdsetround): Remove.
6034 (libc_feresetround): Remove.
6036 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
6037 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6039 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
6040 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
6041 (libc_feupdateenv_testl): New.
6042 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
6043 (libc_feupdateenv_testf): New.
6044 (libc_feupdateenv): Use libc_feupdateenv_test.
6045 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
6046 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
6048 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
6049 (libc_feholdsetroundf, libc_feholdsetroundl): New.
6050 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
6051 (libc_feresetround_noex): New.
6052 (libc_feresetround_noexf): New.
6053 (libc_feresetround_noexl): New.
6054 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
6055 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
6056 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
6057 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
6059 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
6060 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
6062 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
6063 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
6064 SET_RESTORE_ROUND_NOEX.
6065 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
6066 SET_RESTORE_ROUND_NOEXF.
6067 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
6068 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
6069 (libc_feholdsetroundf): New.
6070 (libc_feresetround, libc_feresetroundf): New.
6072 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
6073 (libc_feholdexcept_setround_53bit): Convert from macro to function.
6074 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
6076 * sysdeps/generic/math_private.h: Include <fenv.h>.
6077 (default_libc_feholdexcept): New.
6078 (default_libc_feholdexcept_setround): New.
6079 (default_libc_fesetenv, default_libc_feupdateenv): New.
6080 (libc_feholdexcept): Only define if undefined.
6081 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
6082 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
6083 (libc_feholdexcept_setroundl): Likewise.
6084 (libc_feholdexcept_setround_53bit): Likewise.
6085 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
6086 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
6087 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
6088 (libc_feupdateenv_53bit): Likewise.
6089 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
6090 (libc_feholdexcept): Convert from macro to inline function.
6091 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
6092 (libc_fesetenv, libc_feupdateenv): Likewise.
6094 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
6095 not previously defined.
6096 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
6097 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
6098 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
6099 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
6100 * sysdeps/ieee754/flt-32/math_private.h: New file.
6101 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
6102 math_private.h below SET_FLOAT_WORD.
6103 (__isnan, __isinf_ns, __finite): Remove.
6104 (__isnanf, __isinf_nsf, __finitef): Remove.
6106 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
6108 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6110 2012-03-17 David S. Miller <davem@davemloft.net>
6113 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
6116 2012-03-16 David S. Miller <davem@davemloft.net>
6118 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
6122 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
6124 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
6125 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
6126 sysdep_routines when subdir is sysvipc.
6127 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
6130 * sysdeps/sparc/fpu/libm-test/ulps: Update.
6132 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6134 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
6137 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6139 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
6140 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
6141 (__lround): Renamed to ...
6142 (__llround): This. Replace long int with long long int.
6143 Define lround functions as aliases of llround functions.
6144 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
6146 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6148 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
6149 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
6150 adresses to uintptr_t. Replace "long int" and "unsigned long
6151 int" with "greg_t" on va_arg.
6153 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6155 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
6156 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
6158 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
6159 Move e_machine check before EI_CLASS check. Handle x32
6160 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
6161 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
6162 SKIP_EM_IA_64 and include
6163 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
6165 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
6166 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
6167 (add_system_dir): New macro.
6169 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
6170 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
6172 2012-03-16 Joseph Myers <joseph@codesourcery.com>
6183 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
6185 * math/w_j0f.c (j0f): Likewise.
6187 * math/w_j0l.c (__j0l): Likewise.
6189 * math/w_j1.c (j1): Likewise.
6191 * math/w_j1f.c (j1f): Likewise.
6193 * math/w_j1l.c (__j1l): Likewise.
6195 * math/w_jn.c (jn): Likewise.
6197 * math/w_jnf.c (jnf): Likewise.
6199 * math/w_jnl.c (__jnl): Likewise.
6201 * math/libm-test.inc (j0_test): Add more tests.
6202 (j1_test): Likewise.
6203 (jn_test): Likewise. Add trailing semicolon to existing test.
6204 (y0_test): Likewise.
6205 (y1_test): Likewise.
6206 * sysdeps/i386/fpu/libm-test-ulps: Update.
6207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6211 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
6212 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
6213 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
6214 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
6215 (__tanl): Set errno for infinite argument.
6216 * sysdeps/i386/fpu/mptan.c: Remove.
6217 * sysdeps/i386/fpu/s_tan.S: Likewise.
6218 * sysdeps/i386/fpu/s_tanl.S: Likewise.
6219 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
6220 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
6221 * math/libm-test.inc (tan_test): Add more tests and enable more
6222 tests for double and long double.
6223 * sysdeps/i386/fpu/libm-test-ulps: Update.
6224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6226 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6228 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
6229 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
6231 2012-03-16 Roland McGrath <roland@hack.frob.com>
6233 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
6234 * configure.in: Use it for both main tree and add-ons.
6235 * configure: Regenerated.
6237 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6239 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
6241 2012-03-16 Joseph Myers <joseph@codesourcery.com>
6243 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
6247 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
6248 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
6249 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
6250 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
6251 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
6253 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
6254 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
6256 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
6257 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
6258 * sysdeps/i386/fpu/s_cosl.S: Likewise.
6259 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
6260 * sysdeps/i386/fpu/s_sinl.S: Likewise.
6261 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
6262 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
6263 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
6264 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
6265 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
6266 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
6267 * math/libm-test.inc (cos_test): Add more tests and enable more
6268 tests for long double.
6269 (sin_test): Likewise.
6270 (sincos_test): Likewise.
6271 * sysdeps/i386/fpu/libm-test-ulps: Update.
6272 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6274 2012-03-16 David S. Miller <davem@davemloft.net>
6276 * sysdeps/sparc/fpu/math_private.h: New file.
6278 2012-03-15 David S. Miller <davem@davemloft.net>
6280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
6282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
6283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
6285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
6286 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
6287 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
6288 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
6289 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
6290 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
6292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6294 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
6295 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
6297 * sysdeps/sparc/sparc-ifunc.h: New file.
6298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
6300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
6301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
6303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
6305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
6306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
6307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
6308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
6310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
6312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
6314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
6316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
6318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
6320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
6321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
6322 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
6323 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
6324 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
6325 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
6326 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
6327 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
6328 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
6329 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
6330 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
6331 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
6332 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
6333 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
6334 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
6335 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
6336 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
6337 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
6338 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
6339 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
6340 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
6341 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
6343 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6345 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
6347 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6349 2012-03-15 Andreas Jaeger <aj@suse.de>
6352 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
6353 ieee754/flt-32 implementation for sin, cos and sincos.
6354 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
6355 * sysdeps/i386/fpu/s_cosf.S: Likewise.
6356 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
6357 * sysdeps/i386/fpu/s_sinf.S: Likewise.
6358 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
6359 ieee754/flt-32 implementation for tan.
6361 * math/libm-test.inc (cos_test): Enable some large input tests for
6363 (sin_test): Likewise.
6364 (sincos_test): Likewise.
6365 (tan_test): Add tests for large input.
6367 * sysdeps/i386/fpu/libm-test-ulps: Update.
6369 2012-03-15 Andreas Jaeger <aj@suse.de>
6372 * math/libm-test.inc (cos_test): Add more test cases.
6373 (sin_test): Likewise.
6374 (sincos_test): Likewise.
6376 2012-03-15 Andreas Jaeger <aj@suse.de>
6379 * math/libm-test.inc (cos_test): Add a test case for large input
6381 (sin_test): Likewise.
6382 (sincos_test): Likewise.
6384 2012-03-15 Andreas Jaeger <aj@suse.de>,
6385 Joseph Myers <joseph@codesourcery.com>
6388 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
6389 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
6390 * sysdeps/i386/fpu/branred.c: Likewise.
6391 * sysdeps/i386/fpu/dosincos.c: Likewise.
6392 * sysdeps/i386/fpu/mpa.c: Likewise.
6393 * sysdeps/i386/fpu/s_cos.S: Likewise.
6394 * sysdeps/i386/fpu/s_sin.S: Likewise.
6395 * sysdeps/i386/fpu/s_sincos.S: Likewise.
6396 * sysdeps/i386/fpu/sincos32.c: Likewise.
6398 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
6400 (libc_feupdateenv_53bit): Define.
6401 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
6403 (libc_feupdateenv_53bit): Define.
6405 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
6406 53 bit (without extend i386 double precision).
6408 * math/libm-test.inc (sincos_test): Add tests for large input.
6412 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6414 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6416 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6418 2012-03-15 David S. Miller <davem@davemloft.net>
6420 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
6421 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
6422 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
6423 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
6424 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
6425 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
6426 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
6427 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
6428 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
6429 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
6430 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
6431 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
6432 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
6433 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
6434 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
6435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
6437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
6438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
6440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
6441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
6443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
6444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
6446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
6447 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
6448 fmin/fmax sysdep routines.
6449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6451 2012-03-14 David S. Miller <davem@davemloft.net>
6453 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
6454 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
6455 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
6456 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
6457 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
6458 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
6459 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
6460 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
6461 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
6462 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
6463 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
6464 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
6465 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
6466 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
6467 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
6468 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
6469 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
6470 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
6471 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
6472 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
6473 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
6474 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
6475 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
6476 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
6477 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
6478 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
6479 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
6480 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
6481 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
6483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
6485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
6486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
6488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
6489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
6491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
6492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
6494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
6495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
6497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
6498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
6500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
6502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
6504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
6506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
6508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
6510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
6512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
6513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
6515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
6516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
6518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
6519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
6521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
6522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
6525 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
6528 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6530 * sysdeps/sparc/configure.in: New file.
6531 * sysdeps/sparc/configure: Generate.
6532 * configure.in (libc_cv_sparc_as_vis3): Substitute.
6533 * configure: Regenerate.
6534 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
6535 * config.make.in (have-as-vis3): New.
6536 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
6537 available use -Av9d instead of -Av9a.
6538 * sysdeps/sparc/sparc64/Makefile: Likewise.
6539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
6540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
6542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
6544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
6546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
6548 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
6549 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
6550 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
6551 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
6552 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
6554 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
6555 fzeros/fnegs to load 0x80000000 into a float register instead of
6557 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
6559 2012-03-14 Joseph Myers <joseph@codesourcery.com>
6561 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6563 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
6564 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
6565 ($(inst_includedir)/bits/syscall.h): Remove rule.
6566 ($(objpfx)bits/syscall.d): Include instead of
6567 $(objpfx)syscall-list.d.
6568 (generated): Change syscall-list.h and syscall-list.d to
6569 bits/syscall.h and bits/syscall.d.
6571 2012-03-14 Roland McGrath <roland@hack.frob.com>
6574 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
6576 2012-03-14 Joseph Myers <joseph@codesourcery.com>
6579 * math/s_csqrt.c: Include <float.h>.
6580 (__csqrt): Scale large or subnormal inputs.
6581 * math/s_csqrtf.c: Likewise.
6582 * math/s_csqrtl.c: Likewise.
6583 * math/libm-test.inc (csqrt_test): Add more tests.
6584 * sysdeps/i386/fpu/libm-test-ulps: Update.
6585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6588 * math/libm-test.inc (hypot_test): Add more tests.
6590 2012-03-13 David S. Miller <davem@davemloft.net>
6593 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
6594 double-precision for the calculation instead of scaling.
6596 2012-03-13 Joseph Myers <joseph@codesourcery.com>
6598 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
6599 manipulate bits before adding and subtracting TWO52[sx].
6600 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
6601 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
6603 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
6605 2012-03-13 David S. Miller <davem@davemloft.net>
6607 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
6608 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
6609 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
6610 rtld-global-offsets.h
6611 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6613 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
6616 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
6618 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
6619 'err' in the ifdef scope in which it is actually used.
6621 * nss/nss_db/db-init.c: Include string.h
6623 2012-03-12 David S. Miller <davem@davemloft.net>
6625 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
6626 masking out of the most significant byte of random value used.
6627 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6628 Fix coding style in previous change.
6630 * sysdeps/unix/sysv/linux/kernel-features.h
6631 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
6632 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
6634 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
6637 2012-03-11 David S. Miller <davem@davemloft.net>
6639 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6640 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
6641 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
6642 for 'resultvar' otherwise things get truncated on 64-bit.
6644 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6645 Fix masking out of the most significant byte of random value used.
6647 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6649 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
6651 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6653 2012-03-09 David S. Miller <davem@davemloft.net>
6655 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
6656 variables with appropriate CPP guards.
6657 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
6658 frame pointer, not the stack pointer. Correct layout comments. Fix test
6659 on resulting framesize and the management of the outregs buffer for pltexit.
6660 Preserve floating point return values across _dl_call_pltexit call.
6661 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
6662 framesize and the management of the outregs buffer for pltexit.
6663 Preserve floating point return values across _dl_call_pltexit
6665 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
6666 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
6667 (print_exit): Fix format string for return register value.
6669 2012-03-10 Joseph Myers <joseph@codesourcery.com>
6671 * sunrpc/Makefile (others): Add rpcgen.
6672 ($(objpfx)rpcgen): Remove special build rule and dependency on
6674 * sunrpc/rpcgen.c: New file.
6676 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
6679 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
6680 * stdio-common/bug-vfprintf-nargs.c: Likewise.
6681 * sysdeps/i386/crti.S: Likewise.
6682 * sysdeps/i386/crtn.S: Likewise.
6683 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
6684 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
6685 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
6686 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
6687 * sysdeps/sh/crti.S: Likewise.
6688 * sysdeps/sh/crtn.S: Likewise.
6689 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
6692 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
6694 * locale/programs/locfile-kw.gperf: Likewise.
6695 * locale/programs/charmap-kw.h: Regenerated.
6696 * locale/programs/locfile-kw.h: Likewise.
6699 * intl/plural.y: Replace FSF snail mail address with URL.
6700 * intl/plural.c: Regenerated.
6702 2012-03-09 Richard Henderson <rth@twiddle.net>
6704 * include/math_private.h: Remove file.
6705 * math/math_private.h: Move file ...
6706 * sysdeps/generic/math_private.h: ... here.
6708 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
6709 * sysdeps/powerpc/fpu/math_private.h: Likewise.
6710 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6712 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
6713 and <math_private.h>.
6714 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6715 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6716 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6717 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6718 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6719 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
6720 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6721 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6722 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6723 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6724 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6725 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6726 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6727 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6728 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6729 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6730 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6731 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6732 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6733 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6734 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6735 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6736 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6737 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6738 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
6739 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6740 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6741 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6742 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6743 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6744 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6745 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6746 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
6747 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6748 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6749 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6750 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6751 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6752 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6753 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6754 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
6755 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6756 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6757 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
6758 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
6759 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6760 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
6761 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6762 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6763 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6764 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6765 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
6766 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
6767 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6768 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
6769 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6770 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6771 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
6772 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
6773 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
6774 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6775 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
6776 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6777 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6778 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
6779 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6780 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6781 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6782 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
6783 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
6784 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
6785 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6786 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6787 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6788 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
6789 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
6790 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
6791 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6792 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
6793 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
6794 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
6795 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
6796 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
6797 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6798 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6799 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
6800 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
6801 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
6802 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6803 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6804 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6805 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6806 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6807 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6808 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6809 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6810 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6811 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6812 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6813 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6814 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6815 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6816 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6817 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6818 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6819 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6820 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6821 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6822 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6823 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6824 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6825 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6826 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6827 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6828 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
6829 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6830 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6831 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6832 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6833 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
6834 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6835 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6836 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6837 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
6838 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6839 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6840 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6841 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
6842 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6843 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
6844 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
6845 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
6846 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6847 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
6848 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
6849 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6850 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6851 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6852 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
6853 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6854 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6855 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6856 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6857 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
6858 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
6859 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6860 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6861 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6862 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
6863 * sysdeps/ieee754/k_standard.c: Likewise.
6864 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6865 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6866 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6867 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6868 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6869 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6870 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6871 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6872 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6873 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6874 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6875 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6876 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6877 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6878 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6879 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6880 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6881 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6882 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6883 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
6884 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
6885 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
6886 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6887 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6888 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6889 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
6890 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6891 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6892 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6893 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6894 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6895 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6896 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6897 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6898 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6899 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6900 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6901 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
6902 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
6903 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6904 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6905 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6906 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6907 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6908 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6909 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6910 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6911 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6912 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6913 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6914 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6915 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6916 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6917 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
6918 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6919 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6920 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
6921 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
6922 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6923 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6924 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6925 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6926 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6927 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6928 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6929 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6930 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6931 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6932 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6933 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6934 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6935 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6936 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6937 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6938 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6939 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6940 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
6941 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6942 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6943 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
6944 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
6945 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
6946 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6947 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6948 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
6949 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6950 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6951 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
6952 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6953 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6954 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
6955 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6956 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
6957 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
6958 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6959 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6960 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
6961 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
6962 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
6963 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
6964 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6965 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6966 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6967 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6968 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
6969 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6970 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6971 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
6972 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
6973 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6974 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6975 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6976 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6977 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6978 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6979 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6980 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6981 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6982 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6983 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6984 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6985 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6986 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6987 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6988 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6989 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
6990 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6991 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6992 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6993 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6994 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6995 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6996 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6997 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
6998 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6999 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
7000 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
7001 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7002 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7003 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
7004 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
7005 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7006 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
7007 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
7008 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
7009 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7010 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7011 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
7012 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
7013 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
7014 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7015 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7016 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7017 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7018 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
7019 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
7020 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
7021 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
7022 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
7023 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7024 * sysdeps/ieee754/s_lib_version.c: Likewise.
7025 * sysdeps/ieee754/s_matherr.c: Likewise.
7026 * sysdeps/ieee754/s_signgam.c: Likewise.
7027 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7028 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7029 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
7030 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
7031 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
7032 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7033 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
7034 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
7035 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
7036 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
7037 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7038 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
7039 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
7040 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7041 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
7042 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
7043 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7044 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
7045 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7046 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7047 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7049 2012-03-09 Joseph Myers <joseph@codesourcery.com>
7051 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
7052 * sunrpc/rpc_main.c: Likewise.
7053 * sunrpc/rpc_svcout.c: Likewise.
7055 2012-03-09 David S. Miller <davem@davemloft.net>
7057 * include/math_private.h: New file.
7059 2012-03-09 Joseph Myers <joseph@codesourcery.com>
7061 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
7062 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
7063 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
7064 from <bits/socket_type.h>.
7065 (enum __socket_type): Don't define here.
7066 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
7067 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7071 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
7074 * Makerules ($(inst_includedir)/%.h): New rule.
7075 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
7076 (install-others): Remove variable setting.
7077 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
7079 2012-03-08 Richard Henderson <rth@twiddle.net>
7081 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
7082 from macro to inline function; merge with the
7083 !__LIBC_INTERNAL_MATH_INLINES version.
7084 (__ieee754_sqrtf): Likewise.
7086 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
7088 (__rintf, __floor, __floorf): Likewise.
7090 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
7091 macro to inline function.
7092 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
7094 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
7095 not <math/math_private.h>.
7097 2012-03-08 David S. Miller <davem@davemloft.net>
7099 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
7101 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
7103 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
7105 * resolv/gai_misc.c (handle_requests): Fix struct timespec
7107 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
7108 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
7110 2012-03-08 Ulrich Drepper <drepper@gmail.com>
7112 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
7113 be defined individually, they must be defined as a block. Define
7114 S for printing a string instead of hidint the different by using a
7115 macro for adding the 'l'.
7116 * stdio-common/tst-fphex-wide.c: Adjust.
7118 2012-03-07 Marek Polacek <polacek@redhat.com>
7120 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
7122 2012-03-08 Marek Polacek <polacek@redhat.com>
7125 * stdio-common/Makefile (tests): Add tst-fphex-wide.
7126 * stdio-common/tst-fphex.c: Define a few macros to make the
7127 test reusable. Use them.
7128 * stdio-common/tst-fphex-wide.c: New file.
7130 2012-03-08 Joseph Myers <joseph@codesourcery.com>
7133 * manual/macros.texi (gnusystems): New macro.
7134 (nongnusystems): Likewise.
7135 (gnulinuxhurdsystems): Likewise.
7136 (gnuhurdsystems): Likewise..
7137 (gnulinuxsystems): Likewise.
7138 * manual/charset.texi: Use new macros or @theglibc{} to refer to
7139 variants of the GNU system, not "GNU system".
7140 * manual/conf.texi: Likewise.
7141 * manual/errno.texi: Likewise. Update example of errno macro
7143 * manual/filesys.texi: Likewise.
7144 (getumask): Document as specific to GNU/Hurd.
7145 * manual/install.texi: Likewise. Reword some references to
7147 * manual/intro.texi: Likewise.
7148 * manual/io.texi: Likewise.
7149 (File Name Portability): Detail which constraints are inapplicable
7150 to all GNU systems and which are only inapplicable to GNU/Hurd.
7151 * manual/job.texi: Likewise.
7152 * manual/llio.texi: Likewise.
7153 (O_NOCTTY): Document as present on GNU/Linux.
7154 * manual/maint.texi: Likewise.
7155 * manual/memory.texi: Likewise.
7156 * manual/pattern.texi: Likewise.
7157 * manual/pipe.texi: Likewise.
7158 * manual/process.texi: Likewise.
7159 * manual/resource.texi: Likewise.
7160 (RUSAGE_CHILDREN): Remove statement about specifying a particular
7162 * manual/setjmp.texi: Likewise.
7163 * manual/signal.texi: Likewise.
7164 * manual/startup.texi: Likewise.
7165 * manual/stdio.texi: Likewise.
7166 * manual/terminal.texi: Likewise.
7167 (ONLCR): Document as POSIX.
7168 (OXTABS): Document availability on GNU/Linux as XTABS.
7169 (ONOEOT): Document availability separately from other bits.
7170 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
7171 * manual/time.texi: Likewise.
7172 * manual/users.texi: Likewise.
7173 * INSTALL: Regenerated.
7174 * sysdeps/gnu/errlist.c: Regenerated.
7176 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
7177 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
7178 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
7180 * configure: Regenerated.
7182 2012-03-07 Joseph Myers <joseph@codesourcery.com>
7184 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
7185 default includes instead of AC_HEADER_CHECK.
7186 * sysdeps/i386/configure: Regenerated.
7189 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
7190 * math/s_cacoshf.c (__cacoshf): Likewise.
7191 * math/s_cacoshl.c (__cacoshl): Likewise.
7192 * math/s_casinh.c (__casinh): Set signs of result from argument.
7193 * math/s_casinhf.c (__casinhf): Likewise.
7194 * math/s_casinhl.c (__casinhl): Likewise.
7195 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
7196 (casinh_test): Add more tests.
7197 * sysdeps/i386/fpu/libm-test-ulps: Update.
7198 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7200 2012-03-07 Ulrich Drepper <drepper@gmail.com>
7202 * po/zh_TW.po: Update from translation team.
7204 * login/Makefile (distribute): Remove variable.
7205 * catgets/Makefile: Likewise.
7206 * mach/Makefile: Likewise.
7207 * malloc/Makefile: Likewise.
7208 * misc/Makefile: Likewise.
7209 * iconv/Makefile: Likewise.
7210 * nscd/Makefile: Likewise.
7211 * hurd/Makefile: Likewise.
7212 * manual/Makefile: Likewise.
7213 * locale/Makefile: Likewise.
7214 * intl/Makefile: Likewise.
7215 * conform/Makefile: Likewise.
7216 * nss/Makefile: Likewise.
7217 * time/Makefile: Likewise.
7218 * soft-fp/Makefile: Likewise.
7219 * dirent/Makefile: Likewise.
7220 * gmon/Makefile: Likewise.
7221 * po/Makefile: Likewise.
7222 * rt/Makefile: Likewise.
7223 * socket/Makefile: Likewise.
7224 * math/Makefile: Likewise.
7225 * signal/Makefile: Likewise.
7226 * debug/Makefile: Likewise.
7227 * elf/Makefile: Likewise.
7228 * timezone/Makefile: Likewise.
7229 * stdlib/Makefile: Likewise.
7230 * iconvdata/Makefile: Likewise.
7231 * sunrpc/Makefile: Likewise.
7232 * io/Makefile: Likewise.
7233 * argp/Makefile: Likewise.
7234 * inet/Makefile: Likewise.
7235 * hesiod/Makefile: Likewise.
7236 * grp/Makefile: Likewise.
7237 * csu/Makefile: Likewise.
7238 * wctype/Makefile: Likewise.
7239 * crypt/Makefile: Likewise.
7240 * libio/Makefile: Likewise.
7241 * string/Makefile: Likewise.
7242 * nis/Makefile: Likewise.
7243 * resolv/Makefile: Likewise.
7244 * stdio-common/Makefile: Likewise.
7245 * wcsmbs/Makefile: Likewise.
7246 * dlfcn/Makefile: Likewise.
7247 * posix/Makefile: Likewise.
7250 * timezone/Makefile: Don't install timezone files, just the programs
7253 2012-03-06 Ulrich Drepper <drepper@gmail.com>
7255 * nss/databases.def: Add missing gshadow entry.
7257 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
7259 2012-03-06 Marek Polacek <polacek@redhat.com>
7262 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
7263 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
7264 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
7265 * stdio-common/tst-long-dbl-fphex.c: New file.
7267 2012-03-06 David S. Miller <davem@davemloft.net>
7269 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7270 (set_obp_int): New function.
7271 (get_obp_int): New function.
7272 (__get_clockfreq_via_dev_openprom): Likewise.
7273 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
7274 Avoid unused variable warnings on 'val' and use builtin_expect.
7275 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
7277 (INLINE_CLONE_SYSCALL): Likewise.
7279 2012-03-05 David S. Miller <davem@davemloft.net>
7281 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7283 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
7285 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7287 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
7289 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7291 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
7293 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
7294 Replace gettimeofday with __vdso_gettimeofday.
7296 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7297 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
7298 __vdso_clock_gettime and __vdso_getcpu.
7300 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
7301 time with __vdso_time.
7303 2012-03-05 Joseph Myers <joseph@codesourcery.com>
7305 * manual/lang.texi (size_t): Note types to which size_t may be
7306 equivalent with the GNU C Library, but do not describe when
7307 differences between them are significant.
7309 2012-03-05 Andreas Jaeger <aj@suse.de>
7311 * sysdeps/i386/fpu/libm-test-ulps: Update.
7313 2012-03-05 Joseph Myers <joseph@codesourcery.com>
7316 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
7317 (__ieee754_pow): Save and restore rounding mode and use
7318 round-to-nearest for main computations.
7319 * math/libm-test.inc (pow_test_tonearest): New function.
7320 (pow_test_towardzero): Likewise.
7321 (pow_test_downward): Likewise.
7322 (pow_test_upward): Likewise.
7323 (main): Call the new functions.
7324 * sysdeps/i386/fpu/libm-test-ulps: Update.
7325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7328 * math/libm-test.inc (cosh_test_tonearest): New function.
7329 (cosh_test_towardzero): Likewise.
7330 (cosh_test_downward): Likewise.
7331 (cosh_test_upward): Likewise.
7332 (sinh_test_tonearest): Likewise.
7333 (sinh_test_towardzero): Likewise.
7334 (sinh_test_downward): Likewise.
7335 (sinh_test_upward): Likewise.
7336 (main): Call the new functions.
7337 * sysdeps/i386/fpu/libm-test-ulps: Update.
7338 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7340 2012-03-05 Tom de Vries <tom@codesourcery.com>
7342 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
7343 default stack guard is set in last bytes.
7344 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
7346 2012-03-05 Kees Cook <keescook@chromium.org>
7348 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
7351 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
7352 possibly allocate from heap instead of stack.
7353 * stdio-common/bug-vfprintf-nargs.c: New file.
7354 * stdio-common/Makefile (tests): Add nargs overflow test.
7356 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
7358 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7360 2012-03-03 Marek Polacek <polacek@redhat.com>
7362 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
7363 * math/math_private.h: Likewise.
7364 * stdlib/tst-strtod.c: Likewise.
7365 * sysdeps/i386/i486/bits/atomic.h: Likewise.
7366 * sysdeps/x86_64/bits/atomic.h: Likewise.
7368 2012-03-02 David S. Miller <davem@davemloft.net>
7370 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
7371 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
7372 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
7373 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
7374 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
7375 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
7376 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
7377 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
7379 2012-03-02 Roland McGrath <roland@hack.frob.com>
7382 * manual/examples/README: New file, says the example source files
7383 can be used under GPL>=2.
7384 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
7385 line containing just "*/".
7386 * manual/examples/add.c: Add copyright header (GPL>=2).
7387 * manual/examples/argp-ex1.c: Likewise.
7388 * manual/examples/argp-ex2.c: Likewise.
7389 * manual/examples/argp-ex3.c: Likewise.
7390 * manual/examples/argp-ex4.c: Likewise.
7391 * manual/examples/atexit.c: Likewise.
7392 * manual/examples/db.c: Likewise.
7393 * manual/examples/dir.c: Likewise.
7394 * manual/examples/dir2.c: Likewise.
7395 * manual/examples/execinfo.c: Likewise.
7396 * manual/examples/filecli.c: Likewise.
7397 * manual/examples/filesrv.c: Likewise.
7398 * manual/examples/fmtmsgexpl.c: Likewise.
7399 * manual/examples/genpass.c: Likewise.
7400 * manual/examples/inetcli.c: Likewise.
7401 * manual/examples/inetsrv.c: Likewise.
7402 * manual/examples/isockad.c: Likewise.
7403 * manual/examples/longopt.c: Likewise.
7404 * manual/examples/memopen.c: Likewise.
7405 * manual/examples/memstrm.c: Likewise.
7406 * manual/examples/mkfsock.c: Likewise.
7407 * manual/examples/mkisock.c: Likewise.
7408 * manual/examples/mygetpass.c: Likewise.
7409 * manual/examples/pipe.c: Likewise.
7410 * manual/examples/popen.c: Likewise.
7411 * manual/examples/rprintf.c: Likewise.
7412 * manual/examples/search.c: Likewise.
7413 * manual/examples/select.c: Likewise.
7414 * manual/examples/setjmp.c: Likewise.
7415 * manual/examples/sigh1.c: Likewise.
7416 * manual/examples/sigusr.c: Likewise.
7417 * manual/examples/stpcpy.c: Likewise.
7418 * manual/examples/strdupa.c: Likewise.
7419 * manual/examples/strftim.c: Likewise.
7420 * manual/examples/strncat.c: Likewise.
7421 * manual/examples/subopt.c: Likewise.
7422 * manual/examples/swapcontext.c: Likewise.
7423 * manual/examples/termios.c: Likewise.
7424 * manual/examples/testopt.c: Likewise.
7425 * manual/examples/testpass.c: Likewise.
7426 * manual/examples/timeval_subtract.c: Likewise.
7429 * manual/time.texi (Elapsed Time): Move timeval_subtract example
7431 * manual/timeval_subtract.c.texi: ... here, new file.
7433 2012-03-02 David S. Miller <davem@davemloft.net>
7435 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
7437 2012-03-02 Joseph Myers <joseph@codesourcery.com>
7440 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
7441 (__sin): Save and restore rounding mode and use round-to-nearest
7442 for all computations.
7443 (__cos): Save and restore rounding mode and use round-to-nearest
7444 for all computations.
7445 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
7447 (tan): Save and restore rounding mode and use round-to-nearest for
7449 * math/libm-test.inc (cos_test_tonearest): New function.
7450 (cos_test_towardzero): Likewise.
7451 (cos_test_downward): Likewise.
7452 (cos_test_upward): Likewise.
7453 (sin_test_tonearest): Likewise.
7454 (sin_test_towardzero): Likewise.
7455 (sin_test_downward): Likewise.
7456 (sin_test_upward): Likewise.
7457 (tan_test_tonearest): Likewise.
7458 (tan_test_towardzero): Likewise.
7459 (tan_test_downward): Likewise.
7460 (tan_test_upward): Likewise.
7461 (main): Call the new functions.
7462 * sysdeps/i386/fpu/libm-test-ulps: Update.
7463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7466 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
7467 small n, then large n, before computing and testing k+n.
7468 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7469 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
7471 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
7473 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
7474 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
7475 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
7476 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
7477 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
7478 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
7479 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
7480 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
7481 * math/libm-test.inc (scalbn_test): Add more tests.
7482 (scalbln_test): Likewise.
7484 * manual/filesys.texi (mode_t): Describe constraints on size and
7485 signedness, not exact equivalence to a particular type.
7487 (ino64_t): Likewise.
7489 (nlink_t): Likewise.
7490 (blkcnt_t): Likewise.
7491 (blkcnt64_t): Likewise.
7492 * manual/llio.texi (off_t): Likewise.
7495 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
7496 (__ieee754_exp): Save and restore rounding mode and use
7497 round-to-nearest for all computations.
7498 * math/libm-test.inc (exp_test_tonearest): New function.
7499 (exp_test_towardzero): Likewise.
7500 (exp_test_downward): Likewise.
7501 (exp_test_upward): Likewise.
7502 (main): Call the new functions.
7503 * sysdeps/i386/fpu/libm-test-ulps: Update.
7504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7506 2012-03-01 Chris Demetriou <cgd@google.com>
7508 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
7509 have predictable order.
7511 2012-03-01 David S. Miller <davem@davemloft.net>
7513 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
7515 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
7516 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
7517 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
7518 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
7520 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
7521 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
7522 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
7523 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
7524 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
7525 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
7526 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
7527 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
7528 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
7530 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7532 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
7533 * sysdeps/sparc/fpu/libm-test-ulps: to here.
7534 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
7536 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
7537 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7538 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
7539 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
7540 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
7541 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
7542 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
7543 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7544 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
7545 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
7546 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
7547 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7548 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7549 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
7550 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7551 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7552 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
7553 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
7554 * sysdeps/sparc/elf/configure: Regenerated.
7556 2012-03-01 Joseph Myers <joseph@codesourcery.com>
7558 * configure.in (AS, LD): Require binutils 2.20 or later.
7559 * configure: Regenerated.
7560 * manual/install.texi (Tools for Compilation): Give binutils 2.20
7561 as required minimum version.
7562 * INSTALL: Regenerated.
7566 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
7567 before squaring exponent.
7568 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
7569 bottom long double and 27 bits of top long double before squaring
7571 * math/libm-test.inc (erfc_test): Add more tests.
7572 * sysdeps/i386/fpu/libm-test-ulps: Update.
7573 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7576 2012-03-01 Kai Tietz <ktietz@redhat.com>
7578 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
7579 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
7580 containing bit-fields.
7581 * soft-fp/extended.h (_FP_UNION_E): Likewise.
7582 * soft-fp/single.h (_FP_UNION_S): Likewise.
7583 * soft-fp/double.h (_FP_UNION_D): Likewise.
7585 2012-02-29 Joseph Myers <joseph@codesourcery.com>
7588 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
7589 not include ../strcmp.S.
7590 [USE_AS_STRNCASECMP_L]: Likewise.
7591 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
7592 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
7593 * sysdeps/i386/i686/multiarch/strncase_l-c.c
7594 (__strncasecmp_l_ia32): Define as alias to
7595 __strncasecmp_l_nonascii.
7598 * math/libm-test.inc (expm1_test): Add test for bug 5794.
7599 * sysdeps/i386/fpu/libm-test-ulps: Update.
7600 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7602 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
7603 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7605 2012-02-29 Jeff Law <law@redhat.com>
7607 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
7610 2012-02-29 Marek Polacek <polacek@redhat.com>
7613 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
7614 * elf/Makefile: Add rules to run tst-unused-dep.out.
7616 2012-02-28 David S. Miller <davem@davemloft.net>
7618 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
7619 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
7620 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
7621 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
7622 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
7623 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
7625 2012-02-29 Joseph Myers <joseph@codesourcery.com>
7627 * math/libm-test.inc (llround_test): Move one test from
7628 lround_test. Use TEST_f_L in moved test.
7629 (lround_test): Move misplaced test to llround_test. Add testcase
7632 2012-02-28 Ulrich Drepper <drepper@gmail.com>
7634 * sysdeps/x86_64/fpu/e_expf.S: New file.
7635 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
7637 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
7640 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
7641 of remain_len that may cause incomplete multi-byte character and
7643 * posix/bug-regex33.c: New file.
7644 * posix/Makefile (tests): Add bug-regex33.
7646 2012-02-28 Joseph Myers <joseph@codesourcery.com>
7648 * manual/macros.texi: New file.
7649 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
7650 * manual/libc.texinfo: Include macros.texi.
7651 * manual/creatute.texi: Likewise.
7652 * manual/install.texi: Likewise.
7653 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
7654 @glibcadj{} in references to the GNU C Library.
7655 * manual/charset.texi: Likewise.
7656 * manual/conf.texi: Likewise.
7657 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
7658 when not using those macros.
7659 * manual/creature.texi: Likewise.
7660 * manual/crypt.texi: Likewise.
7661 * manual/errno.texi: Likewise.
7662 * manual/filesys.texi: Likewise.
7663 * manual/header.texi: Likewise.
7664 * manual/install.texi: Likewise.
7665 * manual/intro.texi: Likewise.
7666 * manual/io.texi: Likewise.
7667 * manual/job.texi: Likewise.
7668 * manual/lang.texi: Likewise.
7669 * manual/libc.texiinfo: Likewise.
7670 * manual/llio.texi: Likewise.
7671 * manual/locale.texi: Likewise.
7672 * manual/maint.texi: Likewise.
7673 * manual/math.texi: Likewise.
7674 * manual/memory.texi: Likewise.
7675 * manual/message.texi: Likewise.
7676 * manual/nss.texi: Likewise.
7677 * manual/pattern.texi: Likewise.
7678 * manual/process.texi: Likewise.
7679 * manual/resource.texi: Likewise.
7680 * manual/search.texi: Likewise.
7681 * manual/setjmp.texi: Likewise.
7682 * manual/signal.texi: Likewise.
7683 * manual/socket.texi: Likewise.
7684 * manual/startup.texi: Likewise.
7685 * manual/stdio.texi: Likewise.
7686 * manual/string.texi: Likewise.
7687 * manual/sysinfo.texi: Likewise.
7688 * manual/syslog.texi: Likewise.
7689 * manual/terminal.texi: Likewise.
7690 * manual/time.texi: Likewise.
7691 * manual/users.texi: Likewise.
7692 * INSTALL: Regenerated.
7693 * NOTES: Regenerated.
7694 * sysdeps/gnu/errlist.c: Regenerated.
7696 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
7698 * include/dirent.h: Include <dirstream.h> before
7701 2012-02-28 David S. Miller <davem@davemloft.net>
7703 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
7704 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
7705 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
7706 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
7708 2012-02-27 David S. Miller <davem@davemloft.net>
7710 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
7711 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
7712 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
7713 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
7715 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
7716 frame pointer instead of stack pointer relative arg slot.
7717 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7718 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7719 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7721 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
7724 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
7726 2012-02-27 David S. Miller <davem@davemloft.net>
7728 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
7729 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7730 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7731 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
7732 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7733 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7734 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
7735 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
7737 2012-02-27 Joseph Myers <joseph@codesourcery.com>
7739 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
7740 later. Allow versions 5-9.
7741 * configure: Regenerated.
7742 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
7743 required minimum version and 4.6 as recommended version. Do not
7744 mention bugs in GCC 2.7 and 2.8.
7745 * INSTALL: Regenerated.
7747 2012-02-27 David S. Miller <davem@davemloft.net>
7749 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
7750 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
7751 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
7752 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
7753 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
7754 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
7755 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
7756 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
7758 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
7759 manipulate bits before adding and subtracting TWO112[sx].
7760 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
7762 2012-02-27 Roland McGrath <roland@hack.frob.com>
7765 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
7766 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
7767 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
7768 being in POSIX, because they are in 1003.1-2008.
7770 * rt/tst-aio.c: Include <fcntl.h>.
7771 * rt/tst-aio7.c: Likewise.
7772 * rt/tst-aio64.c: Likewise.
7774 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
7776 2012-02-27 Joseph Myers <joseph@codesourcery.com>
7778 * manual/install.texi (--with-headers): Describe headers as
7779 interface headers, not private headers.
7780 (Specific advice for GNU/Linux systems): Describe use of headers
7781 from "make headers_install", not private headers from older
7783 * INSTALL: Regenerated.
7784 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
7786 * sysdeps/unix/sysv/linux/configure: Regenerated.
7788 * manual/llio.texi (fclean): Remove documentation.
7790 * manual/Makefile (libc-texi-generated): New variable. Include
7792 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
7793 $(libc-texi-generated), not duplicated list of files.
7794 (version.texi, stamp-version): New rules.
7795 (realclean): Remove $(libc-texi-generated), not individual files
7796 from that list. Do not remove dir-add.texinfo.
7797 * manual/libc.texinfo: Comment out uses of edition numbers and
7798 references to printed manual. Remove last-updated dates.
7799 (EDITION): Comment out.
7801 (VERSION, UPDATED): Remove.
7802 (version.texi): Include.
7804 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
7806 * sysdeps/posix/spawni.c: Include <signal.h>.
7807 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
7808 * sysdeps/pthread/aio_fsync.c: Likewise.
7810 2012-02-26 Ulrich Drepper <drepper@gmail.com>
7812 * conform/Makefile (tests): Run only when not cross-compiling and
7813 when fast-check is not defined.
7815 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
7816 * conform/data/limits.h-data: Fixes for POSIX2008.
7817 * conform/run-conformtest.sh: Run all tests.
7818 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
7820 * include/bits/dlfcn.h: Likewise.
7821 * include/langinfo.h: Likewise.
7822 * include/monetary.h: Likewise.
7823 * include/sys/poll.h: Likewise.
7825 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
7827 * posix/spawn.h: Define __need_sigset_t.
7828 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
7829 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
7830 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
7831 to get sigevent_t only.
7832 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
7834 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7835 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7836 process_vm_writev only for __USE_GNU.
7837 * termios/termios.h: Declare tcgetsid also for POSIX2008.
7839 * conform/Makefile: For now ignore errors from run-conformtest.
7840 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
7841 POSIX to avoid namespace pollution. Don't prepend headers.
7842 * conform/data/aio.h-data: Fixes for POSIX testing.
7843 * conform/data/fcntl.h-data: Likewise.
7844 * conform/data/glob.h-data: Likewise.
7845 * conform/data/grp.h-data: Likewise.
7846 * conform/data/pthread.h-data: Likewise.
7847 * conform/data/pwd.h-data: Likewise.
7848 * conform/data/signal.h-data: Likewise.
7849 * conform/data/spawn.h-data: Likewise.
7850 * conform/data/stdio.h-data: Likewise.
7851 * conform/data/stdlib.h-data: Likewise.
7852 * conform/data/stropts.h-data: Likewise.
7853 * conform/data/sys/mman.h-data: Likewise.
7854 * conform/data/sys/stat.h-data: Likewise.
7855 * conform/data/sys/types.h-data: Likewise.
7856 * conform/data/sys/wait.h-data: Likewise.
7857 * conform/data/time.h-data: Likewise.
7858 * conform/data/unistd.h-data: Likewise.
7859 * conform/data/utime.h-data: Likewise.
7861 * io/sys/stat.h: fchmod was always in POSIX.
7862 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
7863 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
7864 * rt/aio.h: Define __need_timespec before including <time.h>.
7865 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
7866 struct. Add forward declaration of pthread_attr_t and use it in
7868 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
7869 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7870 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
7871 always remove CLK_TCK definition.
7873 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
7875 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
7877 2012-02-25 Ulrich Drepper <drepper@gmail.com>
7879 * conform/run-conformtest.sh: New file.
7880 * conform/Makefile: Run run-conformtest for tests.
7881 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
7884 * conform/data/uchar.h-data: New file.
7885 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
7886 * conform/data/arpa/inet.h-data: Likewise.
7887 * conform/data/assert.h-data: Likewise.
7888 * conform/data/complex.h-data: Likewise.
7889 * conform/data/cpio.h-data: Likewise.
7890 * conform/data/ctype.h-data: Likewise.
7891 * conform/data/dirent.h-data: Likewise.
7892 * conform/data/dlfcn.h-data: Likewise.
7893 * conform/data/errno.h-data: Likewise.
7894 * conform/data/fcntl.h-data: Likewise.
7895 * conform/data/float.h-data: Likewise.
7896 * conform/data/fmtmsg.h-data: Likewise.
7897 * conform/data/fnmatch.h-data: Likewise.
7898 * conform/data/ftw.h-data: Likewise.
7899 * conform/data/glob.h-data: Likewise.
7900 * conform/data/grp.h-data: Likewise.
7901 * conform/data/iconv.h-data: Likewise.
7902 * conform/data/inttypes.h-data: Likewise.
7903 * conform/data/langinfo.h-data: Likewise.
7904 * conform/data/libgen.h-data: Likewise.
7905 * conform/data/limits.h-data: Likewise.
7906 * conform/data/locale.h-data: Likewise.
7907 * conform/data/math.h-data: Likewise.
7908 * conform/data/monetary.h-data: Likewise.
7909 * conform/data/mqueue.h-data: Likewise.
7910 * conform/data/ndbm.h-data: Likewise.
7911 * conform/data/net/if.h-data: Likewise.
7912 * conform/data/netdb.h-data: Likewise.
7913 * conform/data/netinet/in.h-data: Likewise.
7914 * conform/data/nl_types.h-data: Likewise.
7915 * conform/data/poll.h-data: Likewise.
7916 * conform/data/pthread.h-data: Likewise.
7917 * conform/data/pwd.h-data: Likewise.
7918 * conform/data/regex.h-data: Likewise.
7919 * conform/data/sched.h-data: Likewise.
7920 * conform/data/search.h-data: Likewise.
7921 * conform/data/semaphore.h-data: Likewise.
7922 * conform/data/setjmp.h-data: Likewise.
7923 * conform/data/signal.h-data: Likewise.
7924 * conform/data/spawn.h-data: Likewise.
7925 * conform/data/stdarg.h-data: Likewise.
7926 * conform/data/stdio.h-data: Likewise.
7927 * conform/data/stdlib.h-data: Likewise.
7928 * conform/data/string.h-data: Likewise.
7929 * conform/data/strings.h-data: Likewise.
7930 * conform/data/stropts.h-data: Likewise.
7931 * conform/data/sys/ipc.h-data: Likewise.
7932 * conform/data/sys/mman.h-data: Likewise.
7933 * conform/data/sys/msg.h-data: Likewise.
7934 * conform/data/sys/resource.h-data: Likewise.
7935 * conform/data/sys/select.h-data: Likewise.
7936 * conform/data/sys/sem.h-data: Likewise.
7937 * conform/data/sys/shm.h-data: Likewise.
7938 * conform/data/sys/socket.h-data: Likewise.
7939 * conform/data/sys/stat.h-data: Likewise.
7940 * conform/data/sys/statvfs.h-data: Likewise.
7941 * conform/data/sys/time.h-data: Likewise.
7942 * conform/data/sys/timeb.h-data: Likewise.
7943 * conform/data/sys/times.h-data: Likewise.
7944 * conform/data/sys/types.h-data: Likewise.
7945 * conform/data/sys/uio.h-data: Likewise.
7946 * conform/data/sys/un.h-data: Likewise.
7947 * conform/data/sys/utsname.h-data: Likewise.
7948 * conform/data/sys/wait.h-data: Likewise.
7949 * conform/data/syslog.h-data: Likewise.
7950 * conform/data/tar.h-data: Likewise.
7951 * conform/data/termios.h-data: Likewise.
7952 * conform/data/utime.h-data: Likewise.
7953 * conform/data/utmpx.h-data: Likewise.
7954 * conform/data/varargs.h-data: Likewise.
7955 * conform/data/wchar.h-data: Likewise.
7956 * conform/data/wctype.h-data: Likewise.
7957 * conform/data/wordexp.h-data: Likewise.
7959 * include/stropts.h: New file.
7960 * include/uchar.h: New file.
7961 * include/aio.h: Changes to allow conformtest.pl to use the headers.
7962 * include/assert.h: Likewise.
7963 * include/ctype.h: Likewise.
7964 * include/dirent.h: Likewise.
7965 * include/dlfcn.h: Likewise.
7966 * include/fcntl.h: Likewise.
7967 * include/fnmatch.h: Likewise.
7968 * include/glob.h: Likewise.
7969 * include/grp.h: Likewise.
7970 * include/libio.h: Likewise.
7971 * include/locale.h: Likewise.
7972 * include/math.h: Likewise.
7973 * include/net/if.h: Likewise.
7974 * include/netdb.h: Likewise.
7975 * include/netinet/in.h: Likewise.
7976 * include/pthread.h: Likewise.
7977 * include/pwd.h: Likewise.
7978 * include/regex.h: Likewise.
7979 * include/sched.h: Likewise.
7980 * include/search.h: Likewise.
7981 * include/setjmp.h: Likewise.
7982 * include/signal.h: Likewise.
7983 * include/stdio.h: Likewise.
7984 * include/stdlib.h: Likewise.
7985 * include/string.h: Likewise.
7986 * include/sys/cdefs.h: Likewise.
7987 * include/sys/mman.h: Likewise.
7988 * include/sys/msg.h: Likewise.
7989 * include/sys/resource.h: Likewise.
7990 * include/sys/select.h: Likewise.
7991 * include/sys/socket.h: Likewise.
7992 * include/sys/stat.h: Likewise.
7993 * include/sys/statvfs.h: Likewise.
7994 * include/sys/time.h: Likewise.
7995 * include/sys/times.h: Likewise.
7996 * include/sys/uio.h: Likewise.
7997 * include/sys/utsname.h: Likewise.
7998 * include/sys/wait.h: Likewise.
7999 * include/termios.h: Likewise.
8000 * include/time.h: Likewise.
8001 * include/ulimit.h: Likewise.
8002 * include/unistd.h: Likewise.
8003 * include/utime.h: Likewise.
8004 * include/wchar.h: Likewise.
8005 * include/wctype.h: Likewise.
8006 * include/wordexp.h: Likewise.
8008 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
8010 * time/time.h: TIME_UTC must be a macro.
8011 Make timespec_get available for ISO C11 only as well.
8013 2012-02-24 Ulrich Drepper <drepper@gmail.com>
8015 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
8016 Reported by Peng Haitao <penght@cn.fujitsu.com>.
8018 2012-02-24 Joseph Myers <joseph@codesourcery.com>
8020 * configure.in: Use -o not -a in test for unsupported multi-arch.
8022 2012-02-24 Joseph Myers <joseph@codesourcery.com>
8024 * manual/texinfo.tex: Update to version 2012-01-19.16.
8026 2012-02-24 Joseph Myers <joseph@codesourcery.com>
8028 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
8030 2012-02-24 Roland McGrath <roland@hack.frob.com>
8033 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
8034 * manual/fdl-1.3.texi: New file.
8035 * manual/fdl-1.1.texi: File removed.
8038 * manual/libc.texinfo (FDL_VERSION): New @set.
8039 Use it for mention of FDL in cover text.
8040 (Documentation License): Use it in @include file name.
8042 2012-02-22 Joseph Myers <joseph@codesourcery.com>
8043 Roland McGrath <roland@hack.frob.com>
8046 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
8047 not LONG_LONG_MAX and LONG_LONG_MIN.
8048 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
8049 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
8051 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
8053 2012-02-22 Joseph Myers <joseph@codesourcery.com>
8057 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
8058 manipulate bits before adding and subtracting TWO23[sx].
8059 * math/libm-test.inc (nearbyint_test): Add more tests.
8061 2012-02-22 Joseph Myers <joseph@codesourcery.com>
8064 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
8065 bits before adding and subtracting TWO23[sx].
8066 * math/libm-test.inc (rint_test): Add more tests.
8067 (rint_test_tonearest): Likewise.
8068 (rint_test_towardzero): Likewise.
8069 (rint_test_downward): Likewise.
8070 (rint_test_upward: Likewise.
8072 2012-02-22 Joseph Myers <joseph@codesourcery.com>
8075 * include/stdc-predef.h: New file. Extracted from features.h.
8076 * include/features.h: Include stdc-predef.h.
8077 * Makefile (headers): Add stdc-predef.h.
8078 * CONFORMANCE (Compiler limitations): Update.
8080 2012-02-22 Joseph Myers <joseph@codesourcery.com>
8082 * manual/libc.texinfo (VERSION, UPDATED): Revert.
8084 2012-02-21 David S. Miller <davem@davemloft.net>
8086 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
8087 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8089 2012-02-20 David S. Miller <davem@davemloft.net>
8091 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
8092 using a normal save/restore sequence, rather than allocating a
8093 dummy stack frame just to store a frame pointer and restore.
8094 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8096 2012-02-21 Joseph Myers <joseph@codesourcery.com>
8098 * manual/install.texi: Fix stray word in line-wrapped comment.
8100 2012-02-20 David S. Miller <davem@davemloft.net>
8102 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
8103 both binutils and gcc support GOTDATA.
8105 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
8106 "rd %pc" in the PIC register setup sequences.
8108 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
8109 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
8110 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
8111 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
8112 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
8113 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8114 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8115 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8116 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
8117 (SYSCALL_ERROR_HANDLER): Likewise.
8118 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
8119 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8120 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
8121 (SYSCALL_ERROR_HANDLER): Likewise.
8123 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
8124 (HAVE_GCC_GOTDATA): New.
8125 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
8126 relocation support in both binutils and gcc.
8127 * sysdeps/sparc/elf/configure: Regenerate.
8129 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
8130 * sysdeps/sparc/sparc32/elf/configure: Delete.
8131 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
8132 * sysdeps/sparc/sparc64/elf/configure: Delete.
8133 * sysdeps/sparc/elf/configure.in: New file.
8134 * sysdeps/sparc/elf/configure: Generate.
8136 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
8137 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
8138 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
8139 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
8140 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
8142 2012-02-21 Joseph Myers <joseph@codesourcery.com>
8144 * manual/install.texi: Do not mention specific glibc version
8146 * manual/libc.texinfo (VERSION, UPDATED): Update.
8147 (@copying): Use @copyright{} and range of years.
8149 2012-02-21 Joseph Myers <joseph@codesourcery.com>
8152 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
8153 [crti.S not in sysdirs] (generated): Do not append.
8154 [crti.S not in sysdirs] (omit-deps): Likewise.
8155 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
8156 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
8157 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
8158 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
8159 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
8161 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
8162 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
8163 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
8164 * csu/defs.awk: Remove file.
8165 * sysdeps/generic/initfini.c: Likewise.
8166 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
8168 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
8171 2012-02-20 Joseph Myers <joseph@codesourcery.com>
8173 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
8174 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
8175 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
8176 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
8177 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8178 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
8180 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
8181 (__EPOLL_PACKED): Define to empty if not defined by
8183 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
8184 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8187 2012-02-20 Joseph Myers <joseph@codesourcery.com>
8189 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
8190 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
8191 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
8192 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
8194 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
8195 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8198 2012-02-20 Joseph Myers <joseph@codesourcery.com>
8200 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
8202 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8203 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8204 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
8205 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8207 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
8209 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8210 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8212 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
8214 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
8215 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
8217 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
8219 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
8222 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
8224 * math/w_acos.c: Use non-signaling floating-point comparisons.
8225 * math/w_acosf.c: Likewise.
8226 * math/w_acosh.c: Likewise.
8227 * math/w_acoshf.c: Likewise.
8228 * math/w_acoshl.c: Likewise.
8229 * math/w_acosl.c: Likewise.
8230 * math/w_asin.c: Likewise.
8231 * math/w_asinf.c: Likewise.
8232 * math/w_asinl.c: Likewise.
8233 * math/w_atanh.c: Likewise.
8234 * math/w_atanhf.c: Likewise.
8235 * math/w_atanhl.c: Likewise.
8236 * math/w_exp2.c: Likewise.
8237 * math/w_exp2f.c: Likewise.
8238 * math/w_exp2l.c: Likewise.
8239 * math/w_j0.c: Likewise.
8240 * math/w_j0f.c: Likewise.
8241 * math/w_j0l.c: Likewise.
8242 * math/w_j1.c: Likewise.
8243 * math/w_j1f.c: Likewise.
8244 * math/w_j1l.c: Likewise.
8245 * math/w_jn.c: Likewise.
8246 * math/w_jnf.c: Likewise.
8247 * math/w_log.c: Likewise.
8248 * math/w_log10.c: Likewise.
8249 * math/w_log10f.c: Likewise.
8250 * math/w_log10l.c: Likewise.
8251 * math/w_log2.c: Likewise.
8252 * math/w_log2f.c: Likewise.
8253 * math/w_log2l.c: Likewise.
8254 * math/w_logf.c: Likewise.
8255 * math/w_logl.c: Likewise.
8256 * math/w_sqrt.c: Likewise.
8257 * math/w_sqrtf.c: Likewise.
8258 * math/w_sqrtl.c: Likewise.
8259 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8260 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
8261 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8262 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8263 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8265 2012-02-19 Joseph Myers <joseph@codesourcery.com>
8268 * manual/string.texi (strnlen): Use correct parameter name in
8269 equivalent expression.
8271 2012-02-19 Joseph Myers <joseph@codesourcery.com>
8274 * manual/users.texi (seteuid): Consistently use neweuid for
8277 2012-02-19 Joseph Myers <joseph@codesourcery.com>
8280 * manual/nss.texi (Services in the NSS configuration): Correct
8281 list of services in example configuration file.
8283 2012-02-19 Nick Bowler <nbowler@draconx.ca>
8286 * manual/arith.texi: Remove statements about negative zero
8287 behaving identically to zero.
8289 2012-02-18 Joseph Myers <joseph@codesourcery.com>
8292 * manual/install.texi: Do not document upgrading from libc5.
8294 2012-02-18 Joseph Myers <joseph@codesourcery.com>
8297 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
8299 2012-02-18 David S. Miller <davem@davemloft.net>
8301 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
8302 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
8303 %o7 across the call.
8304 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
8306 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
8308 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8309 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
8310 * sysdeps/sparc/crtn.S: Likewise.
8312 2012-02-17 Ulrich Drepper <drepper@gmail.com>
8314 * aout/Makefile: Remove.
8316 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
8319 * manual/examples/argp-ex1.c (main): Format definition in GNU
8321 * manual/examples/argp-ex2.c (main): Likewise.
8322 * manual/examples/argp-ex3.c (main): Likewise.
8323 * manual/examples/argp-ex4.c (main): Likewise.
8324 * manual/examples/longopt.c (main): Use new-style prototype
8326 * manual/examples/strncat.c (main): Specify return type and use
8327 (void) for arguments.
8328 * manual/examples/subopt.c (main): Use char **argv argument.
8330 2012-02-17 Joseph Myers <joseph@codesourcery.com>
8333 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
8336 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
8339 * manual/string.texi (strchr): Change when strchrnul is
8342 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
8345 * manual/locale.texi (setlocale): Document LOCPATH.
8347 2012-02-17 Joseph Myers <joseph@codesourcery.com>
8350 * manual/process.texi (execle): Move @dots{} before last argument.
8352 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
8355 * manual/charset.texi (Generic Charset Conversion): Fix typo
8356 (LC_TYPE -> LC_CTYPE).
8358 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
8361 * manual/arith.texi (scalbn): Use @var{} on parameter names.
8362 (scalbnf): Likewise.
8363 (scalbnl): Likewise.
8364 (scalbln): Likewise.
8365 (scalblnf): Likewise.
8366 (scalblnl): Likewise.
8367 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
8371 * manual/filesys.texi (telldir): Use braces around return type.
8372 * manual/llio.texi (mmap): Add space after comma.
8374 * manual/math.texi (jn): Use @var{} on parameter names.
8380 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
8382 * manual/resource.texi (ulimit): Use @dots{} instead of literal
8384 (sched_get_priority_min): Remove semicolon on @deftypefun line.
8385 (sched_get_priority_max): Likewise.
8386 * manual/signal.texi (sigvec): Add space after comma.
8387 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
8389 (if_indextoname): Likewise.
8390 (if_freenameindex): Likewise.
8391 (sendto): Use ',' instead of '.' in prototype.
8392 * manual/startup.texi (syscall): Use @dots{} instead of literal
8394 * manual/stdio.texi (__fpending): Separate initial words of
8395 paragraph from @deftypefun line.
8396 * manual/syslog.texi (syslog): Use @dots{} instead of literal
8398 (vsyslog): Use @var{} on parameter names.
8399 * manual/terminal.texi (stty): Use @var{} on parameter names.
8400 * manual/users.texi (getutmp): Use @var{} on parameter names.
8401 (getutmpx): Likewise.
8403 2012-02-17 Joseph Myers <joseph@codesourcery.com>
8406 * manual/stdio.texi (fopen): Fix typos in description of
8409 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
8412 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
8413 get clock_id definition.
8415 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
8418 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
8419 (madvise): Cast every argument to void on its own.
8421 2012-02-17 Joseph Myers <joseph@codesourcery.com>
8424 * manual/startup.texi (Exit Status): Fix typo.
8426 2012-02-17 Joseph Myers <joseph@codesourcery.com>
8429 * manual/examples/argp-ex1.c: Include <stdlib.h>.
8430 * manual/examples/argp-ex2.c: Likewise.
8431 * manual/examples/argp-ex3.c: Likewise.
8433 2012-02-16 Richard Henderson <rth@redhat.com>
8435 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
8436 * sysdeps/s390/s390-32/initfini.c: Remove.
8437 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
8438 * sysdeps/s390/s390-64/initfini.c: Remove.
8440 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8442 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
8443 compiler output for sysdeps/generic/initfini.c.
8444 * sysdeps/sh/elf/initfini.c: Remove file.
8446 2012-02-16 David S. Miller <davem@davemloft.net>
8449 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
8451 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
8452 * sysdeps/sparc/crti.S: New file.
8453 * sysdeps/sparc/crtn.S: New file.
8454 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
8455 * sysdeps/sparc/sparc64/Makefile: Likewise.
8457 2012-02-15 Mike Frysinger <vapier@gentoo.org>
8460 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
8462 2012-02-15 Roland McGrath <roland@hack.frob.com>
8465 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
8467 * mach/devstream.c (cookie_io_functions_t): Macro removed.
8468 (write, read, close): Likewise.
8469 Patch by Aurelien Jarno <aurelien@aurel32.net>.
8471 2012-02-15 Joseph Myers <joseph@codesourcery.com>
8473 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
8474 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
8475 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
8476 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
8478 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
8479 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8482 2012-02-14 Marek Polacek <polacek@redhat.com>
8484 * sysdeps/x86_64/crti.S: New file.
8485 * sysdeps/x86_64/crtn.S: New file.
8486 * sysdeps/x86_64/elf/initfini.c: Remove file.
8488 2012-02-13 Joseph Myers <joseph@codesourcery.com>
8490 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
8491 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
8492 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
8493 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
8495 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
8496 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8499 2012-02-13 Joseph Myers <joseph@codesourcery.com>
8501 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
8502 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
8503 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
8504 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
8506 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
8507 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8510 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
8512 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
8513 __feraiseexcept instead of feraiseexcept.
8515 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
8516 nanosleep invocations.
8517 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
8518 strings, and add error checking for a nanosleep invocations.
8520 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
8522 Replace FSF snail mail address with URLs, as per GNU coding standards.
8523 Most of the snail mail addresses were wrong anyway, and omitting
8524 them makes the source code easier to maintain. Almost all of the
8525 changes are to license notices and to locale LC_IDENTIFICATION
8526 addresses, except for this one:
8527 * manual/libc.texinfo: In "Published by", give the FSF's URL,
8528 not its snail mail address.
8530 2012-02-09 Richard Henderson <rth@twiddle.net>
8532 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
8533 of kernel-features.h.
8535 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
8537 2012-02-08 Marek Polacek <polacek@redhat.com>
8539 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
8540 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
8541 * sysdeps/gnu/_G_config.h: Likewise.
8542 * sysdeps/generic/_G_config.h: Likewise.
8544 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
8546 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
8548 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8550 * sysdeps/powerpc/powerpc32/crti.S: New file.
8551 * sysdeps/powerpc/powerpc32/crtn.S: New file.
8552 * sysdeps/powerpc/powerpc64/crti.S: New file.
8553 * sysdeps/powerpc/powerpc64/crtn.S: New file.
8555 * Makeconfig (have-initfini): Don't set.
8556 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
8557 * configure.in (nopic_initfini): Don't substitute.
8558 * config.h.in (HAVE_INITFINI): Don't #undef.
8559 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
8560 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
8562 2012-02-08 Joseph Myers <joseph@codesourcery.com>
8564 Support crti.S and crtn.S provided directly by architectures.
8565 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
8566 [crti.S in sysdirs] (omit-deps): Likewise.
8567 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
8568 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
8569 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
8570 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
8571 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
8572 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
8573 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
8574 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
8575 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
8576 compiler output for sysdeps/generic/initfini.c.
8577 * sysdeps/i386/elf/Makefile: Remove file.
8578 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
8580 2012-02-07 Marek Polacek <polacek@redhat.com>
8582 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
8583 * sysdeps/gnu/_G_config.h: Likewise.
8584 * sysdeps/mach/hurd/_G_config.h: Likewise.
8586 2012-02-07 Marek Polacek <polacek@redhat.com>
8588 * math/Makefile (tests): Add tst-CMPLX2.
8589 * math/tst-CMPLX2.c: New file.
8591 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
8593 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8595 * math/libm-test.inc (jn_test): Add missing L suffix.
8597 2012-02-06 Marek Polacek <polacek@redhat.com>
8599 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
8600 * sysdeps/i386/fpu/e_powf.S: Likewise.
8601 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8602 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8603 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8604 * sysdeps/i386/fpu/e_pow.S: Likewise.
8605 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
8606 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8607 * sysdeps/i386/fpu/s_expm1.S: Likewise.
8608 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8609 * sysdeps/i386/fpu/e_log2.S: Likewise.
8610 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8611 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8612 * sysdeps/i386/fpu/e_powl.S: Likewise.
8613 * sysdeps/i386/fpu/s_log1p.S: Likewise.
8614 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8615 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
8616 * sysdeps/i386/fpu/e_logl.S: Likewise.
8617 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
8618 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
8619 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8620 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
8621 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8622 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8623 * sysdeps/i386/fpu/e_log.S: Likewise.
8624 * sysdeps/i386/fpu/s_cexp.S: Likewise.
8625 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8626 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
8627 * sysdeps/i386/fpu/e_logf.S: Likewise.
8628 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8629 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8630 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
8631 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
8632 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8633 * sysdeps/i386/fpu/e_log10.S: Likewise.
8634 * sysdeps/i386/fpu/s_frexp.S: Likewise.
8635 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8636 * sysdeps/i386/fpu/s_asinh.S: Likewise.
8637 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
8638 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8639 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
8640 * sysdeps/i386/asm-syntax.h: Likewise.
8641 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8642 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8643 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8644 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
8645 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
8646 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8647 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
8648 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
8649 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8650 * sysdeps/powerpc/sysdep.h: Likewise.
8651 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
8652 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8654 2012-02-06 Joseph Myers <joseph@codesourcery.com>
8657 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
8659 2012-02-06 Joseph Myers <joseph@codesourcery.com>
8661 * sysdeps/i386/sysdep.h: Include <features.h>.
8662 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
8665 2012-02-05 Joseph Myers <joseph@codesourcery.com>
8667 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
8669 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
8672 2012-02-03 Joseph Myers <joseph@codesourcery.com>
8674 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
8675 (SETUP_PIC_REG): Use GET_PC_THUNK.
8676 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
8679 2012-02-03 Joseph Myers <joseph@codesourcery.com>
8681 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
8682 for non-PIC compilation.
8683 (SETUP_PIC_REG): Add .p2align directive.
8684 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
8685 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
8686 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8687 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8688 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8689 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8690 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
8691 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8692 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8693 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8694 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8695 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8696 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8697 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8698 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8699 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8700 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8701 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8702 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8703 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8704 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8705 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8706 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8707 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8708 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8709 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8710 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8711 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8712 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8713 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8714 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8715 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8716 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8717 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8718 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8719 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8720 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8721 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8722 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8723 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8724 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8726 2012-02-03 Joseph Myers <joseph@codesourcery.com>
8728 * math/tst-CMPLX.c: Include <stdio.h>.
8730 2012-01-31 Joseph Myers <joseph@codesourcery.com>
8732 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
8734 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8735 * sysdeps/sparc/bits/mathdef.h: Likewise.
8737 2012-01-31 Marek Polacek <polacek@redhat.com>
8739 * libio/libio.h: Don't define _PARAMS.
8740 * locale/programs/config.h: Don't define PARAMS.
8741 * stdlib/strtol_l.c: Likewise.
8742 (__strtol_l): Remove PARAMS from the prototype.
8744 2012-01-31 Ulrich Drepper <drepper@gmail.com>
8746 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
8747 names. Just use the correct names. Remove unnecessary wrapper
8749 * malloc/arena.c: Likewise.
8750 * malloc/hooks.c: Likewise.
8752 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
8753 ARENA_TEST says not to. Simplify test for creation of a new arena.
8754 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
8756 2012-01-30 Ulrich Drepper <drepper@gmail.com>
8758 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
8760 (update_get_addr): New function.
8761 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
8762 GET_ADDR_MODULE parameter.
8764 2012-01-30 Joseph Myers <joseph@codesourcery.com>
8766 * crypt/cert.c: Remove __STDC__ conditionals.
8767 * crypt/crypt-entry.c: Likewise.
8768 * crypt/crypt_util.c: Likewise.
8769 * libio/filedoalloc.c: Likewise.
8770 * libio/fileops.c: Likewise.
8771 * libio/genops.c: Likewise.
8772 * libio/iofclose.c: Likewise.
8773 * libio/iofdopen.c: Likewise.
8774 * libio/iofopen.c: Likewise.
8775 * libio/iofopen64.c: Likewise.
8776 * libio/iogetdelim.c: Likewise.
8777 * libio/iopopen.c: Likewise.
8778 * libio/obprintf.c: Likewise.
8779 * libio/oldfileops.c: Likewise.
8780 * libio/oldiofclose.c: Likewise.
8781 * libio/oldiofdopen.c: Likewise.
8782 * libio/oldiofopen.c: Likewise.
8783 * libio/oldiopopen.c: Likewise.
8784 * libio/wfiledoalloc.c: Likewise.
8785 * libio/wgenops.c: Likewise.
8786 * locale/programs/xmalloc.c: Likewise.
8787 * misc/syslog.c: Likewise.
8788 * stdio-common/xbug.c: Likewise.
8789 * string/memchr.c: Likewise.
8790 * string/memcmp.c: Likewise.
8791 * string/memrchr.c: Likewise.
8792 * string/rawmemchr.c: Likewise.
8793 * sysdeps/posix/getcwd.c: Likewise.
8794 * time/strftime_l.c: Likewise.
8796 2012-01-30 Joseph Myers <joseph@codesourcery.com>
8798 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
8799 * config.make.in (config-cflags-sse2avx): Define.
8800 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
8803 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
8805 * scripts/config.guess: Update from upstream config git repository.
8806 * scripts/config.sub: Likewise.
8808 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
8810 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
8812 (R_TILEPRO_*, R_TILEGX_*): New macros.
8814 * scripts/firstversions.awk: Fix bug in version range handling.
8816 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
8818 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
8820 * include/sys/epoll.h: New file.
8821 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
8824 2012-01-28 Ulrich Drepper <drepper@gmail.com>
8826 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
8827 Avoid unnecessary __WORDSIZE == 64 test.
8828 (fmaxf): Use VEX format if possible.
8833 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
8834 * math/math_private.h: Remove libc_fegetround* and
8836 * sysdeps/i386/configure.in: Check for -msse2avx.
8837 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
8838 also if SSE2AVX is defined.
8839 Remove libc_fegetround* and libc_fesetround*.
8840 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
8841 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
8842 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
8844 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8845 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8846 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8847 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8848 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8850 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
8852 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8854 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
8856 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
8858 2012-01-27 Ulrich Drepper <drepper@gmail.com>
8861 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
8863 * Makeconfig (libm): Define.
8864 * elf/Makefile: Add rules to build and run tst-relsort1.
8865 * elf/tst-relsort1.c: New file.
8866 * elf/tst-relsort1mod1.c: New file.
8867 * elf/tst-relsort1mod2.c: New file.
8869 2012-01-27 Joseph Myers <joseph@codesourcery.com>
8871 * math/s_ldexp.c: Remove __STDC__ conditionals.
8872 * math/s_ldexpf.c: Likewise.
8873 * math/s_ldexpl.c: Likewise.
8874 * math/s_nextafter.c: Likewise.
8875 * math/s_nexttowardf.c: Likewise.
8876 * math/s_significand.c: Likewise.
8877 * math/s_significandf.c: Likewise.
8878 * math/s_significandl.c: Likewise.
8879 * math/w_jnl.c: Likewise.
8880 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8881 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8882 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8883 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8884 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8885 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8886 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
8887 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8888 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8889 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8890 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8891 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8892 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8893 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8894 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8895 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8896 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8897 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8898 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8899 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8900 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8901 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8902 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8903 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8904 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8905 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8906 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8907 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8908 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
8909 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8910 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8911 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
8912 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8913 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
8914 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
8915 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8916 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8917 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
8918 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
8919 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8920 * sysdeps/ieee754/k_standard.c: Likewise.
8921 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8922 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8923 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8924 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8925 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8926 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8927 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8928 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8929 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8930 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8931 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8932 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
8933 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8934 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8935 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8936 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8937 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8938 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8939 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8940 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8941 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8942 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8943 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8944 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8945 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8946 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8947 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8948 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8949 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8950 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
8951 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
8952 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
8953 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8954 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
8955 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
8956 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
8957 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
8958 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8959 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
8960 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
8961 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
8962 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
8963 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8964 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
8965 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8966 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
8967 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
8968 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8969 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
8970 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8971 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
8972 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8973 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8974 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
8975 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
8976 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
8977 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
8978 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8979 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8980 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8981 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8982 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8983 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
8984 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8985 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8986 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8987 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8988 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
8989 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
8990 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8991 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8992 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8993 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8994 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
8995 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
8996 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8997 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
8998 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
8999 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
9000 * sysdeps/ieee754/s_matherr.c: Likewise.
9001 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
9002 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9003 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9004 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9006 2012-01-26 Joseph Myers <joseph@codesourcery.com>
9008 * crypt/md5.h: Remove __STDC__ conditionals.
9009 * libio/libioP.h: Likewise.
9010 * locale/programs/config.h: Likewise.
9011 * sysdeps/generic/sysdep.h: Likewise.
9012 * sysdeps/i386/asm-syntax.h: Likewise.
9013 * sysdeps/s390/asm-syntax.h: Likewise.
9014 * sysdeps/unix/sysdep.h: Likewise.
9015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9018 2012-01-26 Joseph Myers <joseph@codesourcery.com>
9020 * libio/libio.h: Remove __STDC__ conditionals.
9021 * malloc/obstack.h: Likewise.
9022 * math/complex.h: Likewise.
9023 * math/math.h: Likewise.
9024 * sysdeps/generic/_G_config.h: Likewise.
9025 * sysdeps/gnu/_G_config.h: Likewise.
9026 * sysdeps/mach/hurd/_G_config.h: Likewise.
9027 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9028 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
9029 * sysdeps/sparc/bits/mathdef.h: Likewise.
9031 2012-01-26 Ulrich Drepper <drepper@gmail.com>
9034 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
9035 Clean up HAS_* macros.
9036 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
9037 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
9039 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
9041 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9042 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9043 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9044 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9045 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9047 2012-01-25 Joseph Myers <joseph@codesourcery.com>
9049 * elf/tst-unique3.cc (gets): Remove declaration.
9050 * elf/tst-unique3lib.cc (gets): Likewise.
9051 * elf/tst-unique3lib2.cc (gets): Likewise.
9052 * elf/tst-unique4.cc (gets): Likewise.
9054 2012-01-24 Ulrich Drepper <drepper@gmail.com>
9056 * include/stdio.h: Add C++ protection. Add gets declarations and
9058 * debug/tst-chk1.c: Don't declare gets here.
9059 * stdio-common/tst-gets.c: Likewise.
9061 2012-01-24 Joseph Myers <joseph@codesourcery.com>
9063 * posix/glob: Remove directory.
9065 2012-01-24 Joseph Myers <joseph@codesourcery.com>
9067 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
9069 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
9071 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
9072 of the non-standard EPFNOSUPPORT.
9074 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
9076 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
9077 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
9078 ANYWHERE set to 1 only on KERN_NO_SPACE error.
9080 2012-01-21 Ulrich Drepper <drepper@gmail.com>
9082 * wcsmbs/uchar.h: Test __STDC_VERSION__.
9084 2012-01-20 Ulrich Drepper <drepper@gmail.com>
9086 * nscd/aicache.c (addhstaiX): Do not cache negative results of
9088 * nscd/grpcache.c (cache_addgr): Likewise.
9089 * nscd/hstcache.c (cache_addhst): Likewise.
9090 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9091 * nscd/pwdcache.c (cache_addpw): Likewise.
9092 * nscd/servicescache.c (cache_addserv): Likewise.
9094 2012-01-16 Ulrich Drepper <drepper@gmail.com>
9096 * malloc/malloc.c: Various cleanups.
9097 * malloc/hooks.c: Likewise.
9099 * stdlib/Makefile (tests): Add bug-fmtmsg1.
9100 * stdlib/bug-fmtmsg1.c: New file.
9102 * stdlib/fmtmsg.c (init): Add missing unlock.
9103 Patch by Peng Haitao <penght@cn.fujitsu.com>.
9105 2012-01-12 Marek Polacek <polacek@redhat.com>
9107 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
9110 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
9112 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
9113 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
9114 macro to ensure uniqueness of label name.
9115 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9116 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9118 2012-01-11 Ulrich Drepper <drepper@gmail.com>
9120 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
9122 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
9123 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9124 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9125 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
9127 2012-01-10 Ulrich Drepper <drepper@gmail.com>
9129 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
9131 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
9132 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9133 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9135 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
9137 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
9138 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9139 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9140 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
9142 * math/bits/math-finite.h: Add ldexp support.
9144 2012-01-10 Marek Polacek <polacek@redhat.com>
9146 * locale/programs/localedef.h (show_archive_content): Add noreturn
9149 2012-01-09 Ulrich Drepper <drepper@gmail.com>
9151 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
9153 2012-01-08 Ulrich Drepper <drepper@gmail.com>
9155 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
9157 * io/Makefile (headers): Add bits/poll2.h.
9159 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
9161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
9162 typo #include statement.
9164 2012-01-08 Ulrich Drepper <drepper@gmail.com>
9166 * include/sys/cdefs.h: Define __attribute_alloc_size.
9167 * catgets/gencat.c: Add alloc_size attribute and apply consistently
9168 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
9169 * elf/pldd.c: Likewise.
9170 * iconv/iconv_charmap.c: Likewise.
9171 * iconv/iconvconfig.c: Likewise.
9172 * iconv/strtab.c: Likewise.
9173 * locale/programs/locale.c: Likewise.
9174 * locale/programs/localedef.h: Likewise.
9175 * locale/programs/simple-hash.c: Likewise.
9176 * nscd/nscd.h: Likewise.
9177 * nss/makedb.c: Likewise.
9178 * sysdeps/generic/ldconfig.h: Likewise.
9179 * locale/programs/localedef.c: Remove xmalloc prototype.
9180 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
9182 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9184 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
9187 2012-01-08 Ulrich Drepper <drepper@gmail.com>
9189 * math/Makefile (tests): Add tst-CMPLX.
9190 * math/tst-CMPLX.c: New file.
9192 * math/complex.h (CMPLXL): Fix typo.
9194 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
9195 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
9197 * debug/tst-chk1.c: Add poll and ppoll tests.
9198 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
9199 * include/sys/poll.h: Add hidden proto for ppoll.
9200 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
9201 * sysdeps/mach/hurd/ppoll.c: Likewise.
9202 * io/ppoll.c: Likewise.
9203 * debug/poll_chk.c: New file.
9204 * debug/ppoll_chk.c: New file.
9205 * include/bits/poll2.h: New file.
9206 * io/bits/poll2.h: New file.
9209 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
9211 * configure.in: static is always set to yes. Remove.
9212 * config.make.in: Don't set build-static.
9213 * Makeconfig: Remove use of build-static.
9214 * dlfcn/Makefile: Likewise.
9215 * elf/Makefile: Likewise.
9216 * math/Makefile: Likewise.
9217 * misc/Makefile: Likewise.
9218 * nptl/Makefile: Likewise.
9219 * sysdeps/mach/hurd/Makefile: Likewise.
9221 * configure.in: PWD_P is not used anymore.
9222 * config.make.in: Remove PWD_P entry.
9224 * configure.in: Remove last remnants of RANLIB.
9225 No need to check for signed size_t anymore.
9226 Don't set libc_commonpagesize and libc_relro_required here for Alpha
9228 Remove __builtin_expect test because we require at least gcc 3.4.
9229 * aclocal.m4: Likewise.
9231 * wcsmbs/mbrtoc16.c: Implement using towc function.
9232 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
9233 * wcsmbs/wcsmbsload.c: Likewise.
9234 * iconv/gconv_simple.c: Likewise.
9235 * iconv/gconv_int.h: Likewise.
9236 * iconv/gconv_builtin.h: Likewise.
9237 * iconv/iconv_prog.c: Remove CHAR16 handling.
9239 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
9241 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
9243 * configure.in: Remove --with-elf and --enable-bounded options.
9244 Dont set base_machine for ia64. More non-ELF conditions removed.
9245 Remove testing and setting of leading underscore information.
9246 * config.make.in (build-bounded): Set to no.
9247 * config.h.in: Remove NO_UNDERSCORES entry.
9248 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
9250 * csu/start.c: Remove !NO_UNDERSCORE code.
9251 * locale/localeinfo.h: Likewise.
9252 * sysdeps/generic/machine-gmon.h: Likewise.
9253 * sysdeps/generic/sysdep.h: Likewise.
9254 * sysdeps/i386/sysdep.h: Likewise.
9255 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9256 * sysdeps/mach/sysdep.h: Likewise.
9257 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9258 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9259 * sysdeps/sh/sysdep.h: Likewise.
9260 * sysdeps/sparc/sparc32/alloca.S: Likewise.
9261 * sysdeps/unix/i386/sysdep.S: Likewise.
9262 * sysdeps/unix/sparc/start.c: Likewise.
9263 * sysdeps/unix/sparc/sysdep.S: Likewise.
9264 * sysdeps/unix/sparc/sysdep.h: Likewise.
9265 * sysdeps/unix/start.c: Likewise.
9266 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9267 * sysdeps/x86_64/sysdep.h: Likewise.
9269 2012-01-07 Ulrich Drepper <drepper@gmail.com>
9272 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
9274 * argp/argp-fmtstream.h: Use const instead __const.
9275 * argp/argp.h: Likewise.
9276 * assert/assert.h: Likewise.
9277 * bits/fenv.h: Likewise.
9278 * bits/sched.h: Likewise.
9279 * bits/sigset.h: Likewise.
9280 * bits/sigthread.h: Likewise.
9281 * catgets/nl_types.h: Likewise.
9282 * conform/data/pthread.h-data: Likewise.
9283 * crypt/crypt-private.h: Likewise.
9284 * crypt/crypt.h: Likewise.
9285 * crypt/crypt_util.c: Likewise.
9286 * ctype/ctype.h: Likewise.
9287 * debug/execinfo.h: Likewise.
9288 * debug/mbsnrtowcs_chk.c: Likewise.
9289 * debug/mbsrtowcs_chk.c: Likewise.
9290 * debug/wcsnrtombs_chk.c: Likewise.
9291 * debug/wcsrtombs_chk.c: Likewise.
9292 * debug/wcstombs_chk.c: Likewise.
9293 * dirent/dirent.h: Likewise.
9294 * dlfcn/dlfcn.h: Likewise.
9295 * elf/neededtest4.c: Likewise.
9296 * grp/grp.h: Likewise.
9297 * gshadow/gshadow.h: Likewise.
9298 * iconv/gconv.h: Likewise.
9299 * iconv/gconv_int.h: Likewise.
9300 * iconv/gconv_simple.c: Likewise.
9301 * iconv/iconv.h: Likewise.
9302 * iconv/loop.c: Likewise.
9303 * iconv/skeleton.c: Likewise.
9304 * include/aio.h: Likewise.
9305 * include/aliases.h: Likewise.
9306 * include/argz.h: Likewise.
9307 * include/arpa/inet.h: Likewise.
9308 * include/assert.h: Likewise.
9309 * include/dirent.h: Likewise.
9310 * include/dlfcn.h: Likewise.
9311 * include/execinfo.h: Likewise.
9312 * include/fcntl.h: Likewise.
9313 * include/fenv.h: Likewise.
9314 * include/glob.h: Likewise.
9315 * include/grp.h: Likewise.
9316 * include/libintl.h: Likewise.
9317 * include/mntent.h: Likewise.
9318 * include/netdb.h: Likewise.
9319 * include/pwd.h: Likewise.
9320 * include/rpc/netdb.h: Likewise.
9321 * include/sched.h: Likewise.
9322 * include/search.h: Likewise.
9323 * include/shadow.h: Likewise.
9324 * include/signal.h: Likewise.
9325 * include/stdio.h: Likewise.
9326 * include/stdlib.h: Likewise.
9327 * include/string.h: Likewise.
9328 * include/sys/socket.h: Likewise.
9329 * include/sys/stat.h: Likewise.
9330 * include/sys/statfs.h: Likewise.
9331 * include/sys/statvfs.h: Likewise.
9332 * include/sys/syslog.h: Likewise.
9333 * include/sys/time.h: Likewise.
9334 * include/sys/uio.h: Likewise.
9335 * include/time.h: Likewise.
9336 * include/unistd.h: Likewise.
9337 * include/utmp.h: Likewise.
9338 * include/wchar.h: Likewise.
9339 * include/wctype.h: Likewise.
9340 * inet/aliases.h: Likewise.
9341 * inet/arpa/inet.h: Likewise.
9342 * inet/netinet/ether.h: Likewise.
9343 * inet/netinet/in.h: Likewise.
9344 * intl/libintl.h: Likewise.
9345 * io/bits/fcntl2.h: Likewise.
9346 * io/fcntl.h: Likewise.
9347 * io/ftw.h: Likewise.
9348 * io/sys/poll.h: Likewise.
9349 * io/sys/stat.h: Likewise.
9350 * io/sys/statfs.h: Likewise.
9351 * io/sys/statvfs.h: Likewise.
9352 * io/utime.h: Likewise.
9353 * libio/bits/stdio.h: Likewise.
9354 * libio/bits/stdio2.h: Likewise.
9355 * libio/libio.h: Likewise.
9356 * libio/libioP.h: Likewise.
9357 * libio/stdio.h: Likewise.
9358 * locale/lc-ctype.c: Likewise.
9359 * locale/locale.h: Likewise.
9360 * login/utmp.h: Likewise.
9361 * malloc/arena.c: Likewise.
9362 * malloc/malloc.c: Likewise.
9363 * malloc/malloc.h: Likewise.
9364 * malloc/mcheck.c: Likewise.
9365 * malloc/mtrace.c: Likewise.
9366 * math/bits/mathcalls.h: Likewise.
9367 * math/fenv.h: Likewise.
9368 * math/math_private.h: Likewise.
9369 * misc/bits/error.h: Likewise.
9370 * misc/bits/syslog.h: Likewise.
9371 * misc/err.h: Likewise.
9372 * misc/error.h: Likewise.
9373 * misc/fstab.h: Likewise.
9374 * misc/mntent.h: Likewise.
9375 * misc/regexp.h: Likewise.
9376 * misc/search.h: Likewise.
9377 * misc/sgtty.h: Likewise.
9378 * misc/sys/mman.h: Likewise.
9379 * misc/sys/syslog.h: Likewise.
9380 * misc/sys/uio.h: Likewise.
9381 * misc/sys/xattr.h: Likewise.
9382 * misc/ttyent.h: Likewise.
9383 * nis/rpcsvc/ypclnt.h: Likewise.
9384 * nss/nss.h: Likewise.
9385 * posix/bits/unistd.h: Likewise.
9386 * posix/fnmatch.h: Likewise.
9387 * posix/glob.h: Likewise.
9388 * posix/sched.h: Likewise.
9389 * posix/spawn.h: Likewise.
9390 * posix/sys/wait.h: Likewise.
9391 * posix/unistd.h: Likewise.
9392 * posix/wordexp.h: Likewise.
9393 * pwd/pwd.h: Likewise.
9394 * resolv/netdb.h: Likewise.
9395 * resource/sys/resource.h: Likewise.
9396 * rt/aio.h: Likewise.
9397 * rt/bits/mqueue2.h: Likewise.
9398 * rt/mqueue.h: Likewise.
9399 * shadow/shadow.h: Likewise.
9400 * signal/signal.h: Likewise.
9401 * socket/send.c: Likewise.
9402 * socket/sendto.c: Likewise.
9403 * socket/sys/socket.h: Likewise.
9404 * stdio-common/printf.h: Likewise.
9405 * stdlib/bits/stdlib.h: Likewise.
9406 * stdlib/fmtmsg.h: Likewise.
9407 * stdlib/monetary.h: Likewise.
9408 * stdlib/stdlib.h: Likewise.
9409 * stdlib/ucontext.h: Likewise.
9410 * streams/stropts.h: Likewise.
9411 * string/argz.h: Likewise.
9412 * string/bits/string2.h: Likewise.
9413 * string/string.h: Likewise.
9414 * string/strings.h: Likewise.
9415 * sunrpc/rpc/auth.h: Likewise.
9416 * sunrpc/rpc/auth_des.h: Likewise.
9417 * sunrpc/rpc/clnt.h: Likewise.
9418 * sunrpc/rpc/netdb.h: Likewise.
9419 * sunrpc/rpc/pmap_clnt.h: Likewise.
9420 * sunrpc/rpc/xdr.h: Likewise.
9421 * sysdeps/generic/inttypes.h: Likewise.
9422 * sysdeps/generic/net/if.h: Likewise.
9423 * sysdeps/generic/sys/swap.h: Likewise.
9424 * sysdeps/gnu/net/if.h: Likewise.
9425 * sysdeps/gnu/utmpx.h: Likewise.
9426 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
9427 * sysdeps/i386/i486/bits/string.h: Likewise.
9428 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
9429 * sysdeps/s390/bits/string.h: Likewise.
9430 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
9431 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
9432 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
9433 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
9434 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
9435 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
9436 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
9437 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
9438 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
9439 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
9440 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
9441 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9442 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
9443 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9444 * sysdeps/unix/sysv/linux/readv.c: Likewise.
9445 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
9446 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9447 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9448 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9449 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9450 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9451 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
9452 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
9453 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
9454 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
9455 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
9456 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
9457 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9458 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
9459 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
9460 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
9461 * sysvipc/sys/ipc.h: Likewise.
9462 * sysvipc/sys/msg.h: Likewise.
9463 * sysvipc/sys/sem.h: Likewise.
9464 * sysvipc/sys/shm.h: Likewise.
9465 * termios/termios.h: Likewise.
9466 * time/sys/time.h: Likewise.
9467 * time/time.h: Likewise.
9468 * wcsmbs/bits/wchar2.h: Likewise.
9469 * wcsmbs/uchar.h: Likewise.
9470 * wcsmbs/wchar.h: Likewise.
9471 * wctype/wctype.h: Likewise.
9474 * Makeconfig: Remove all but ELF support including AIX support.
9475 * Makerules: Likewise.
9476 * config.h.in: Likewise.
9477 * config.make.in: Likewise.
9478 * configure: Likewise.
9479 * configure.in: Likewise.
9480 * csu/Makefile: Likewise.
9481 * csu/version.c: Likewise.
9482 * debug/Makefile: Likewise.
9483 * dlfcn/Makefile: Likewise.
9484 * elf/Makefile: Likewise.
9485 * extra-lib.mk: Likewise.
9486 * iconv/Makefile: Likewise.
9487 * include/libc-symbols.h: Likewise.
9488 * include/shlib-compat.h: Likewise.
9489 * resolv/Makefile: Likewise.
9490 * resolv/res_libc.c: Likewise.
9491 * rt/Makefile: Likewise.
9492 * sysdeps/i386/asm-syntax.h: Likewise.
9493 * sysdeps/i386/sysdep.h: Likewise.
9494 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9495 * sysdeps/mach/sysdep.h: Likewise.
9496 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
9497 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
9498 * sysdeps/s390/asm-syntax.h: Likewise.
9499 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9500 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9501 * sysdeps/sh/sysdep.h: Likewise.
9502 * sysdeps/unix/sparc/sysdep.h: Likewise.
9503 * sysdeps/wordsize-32/divdi3.c: Likewise.
9504 * sysdeps/x86_64/sysdep.h: Likewise.
9506 * argp/Versions: Remove _argp_unlock_xxx.
9509 * abilist/ld.abilist: Update. Adjust for removal of tls option.
9510 * abilist/libBrokenLocale.abilist: Likewise.
9511 * abilist/libanl.abilist: Likewise.
9512 * abilist/libc.abilist: Likewise.
9513 * abilist/libcrypt.abilist: Likewise.
9514 * abilist/libdl.abilist: Likewise.
9515 * abilist/libm.abilist: Likewise.
9516 * abilist/libnsl.abilist: Likewise.
9517 * abilist/libpthread.abilist: Likewise.
9518 * abilist/libresolv.abilist: Likewise.
9519 * abilist/librt.abilist: Likewise.
9520 * abilist/libthread_db.abilist: Likewise.
9521 * abilist/libutil.abilist: Likewise.
9522 * abilist/libnss_db.abilist: New file.
9524 * scripts/abilist.awk: Add support for indirect functions.
9526 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
9528 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
9530 * shlib-versions: Remove entries for ports architectures.
9532 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
9534 * elf/stackguard-macros.h: Remove support for IA-64.
9535 * elf/tst-auditmod1.c: Likewise.
9536 * sysdeps/generic/ldsodefs.h: Likewise.
9538 * sysdeps/unix/sysv/linux/configure.in: Ports should define
9539 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
9543 * configure.in: Remove --enable-omitfp support.
9545 * config.make.in: Likewise.
9546 * Makeconfig: Likewise.
9547 * manual/install.texi: Likewise.
9549 In case anyone cares, the IA-64 architecture could move to ports.
9550 * sysdeps/ia64/*: Removed.
9551 * sysdeps/unix/sysv/linux/ia64/*: Removed.
9552 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
9555 * configure.in: Remove entries for unsupported architectures.
9558 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
9559 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
9561 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
9562 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
9563 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
9564 fall back to using wcrtomb.
9565 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
9566 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
9568 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
9569 * wcsmbs/tst-c16c32-1.c: New file.
9571 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
9574 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
9576 * elf/tst-unique3.cc: Add explicit declaration of gets.
9577 * elf/tst-unique3lib.cc: Likewise.
9578 * elf/tst-unique3lib2.cc: Likewise.
9579 * elf/tst-unique4.cc: Likewise.
9581 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
9583 2012-01-06 Joseph Myers <joseph@codesourcery.com>
9586 * assert/assert.h (static_assert): Don't define for C++.
9587 * libio/stdio.h (gets): Do declare for C++ <= C++11.
9588 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
9590 2012-01-03 Ulrich Drepper <drepper@gmail.com>
9592 * iconv/loop.c (single loop): Fix assertion in storing of
9595 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
9597 2012-01-01 Ulrich Drepper <drepper@gmail.com>
9599 * posix/getconf.c: Update copyright year.
9600 * nss/getent.c: Likewise.
9601 * nss/makedb.c: Likewise.
9602 * iconv/iconvconfig.c: Likewise.
9603 * iconv/iconv_prog.c: Likewise.
9604 * elf/ldconfig.c: Likewise.
9605 * elf/pldd.c: Likewise.
9606 * elf/sotruss.ksh: Likewise.
9607 * catgets/gencat.c: Likewise.
9608 * csu/version.c: Likewise.
9609 * elf/ldd.bash.in: Likewise.
9610 * elf/sprof.c (print_version): Likewise.
9611 * locale/programs/locale.c: Likewise.
9612 * locale/programs/localedef.c: Likewise.
9613 * login/programs/pt_chown.c: Likewise.
9614 * nscd/nscd.c (print_version): Likewise.
9615 * debug/xtrace.sh: Likewise.
9616 * malloc/memusage.sh: Likewise.
9617 * malloc/mtrace.pl: Likewise.
9618 * debug/catchsegv.sh: Likewise.
9620 2011-12-30 Jakub Jelinek <jakub@redhat.com>
9622 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
9625 2011-12-24 Ulrich Drepper <drepper@gmail.com>
9628 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
9629 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
9631 * iconv/gconv_int.h: Likewise.
9632 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
9633 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
9634 from libc for GLIBC_2.16.
9635 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
9636 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
9637 * wcsmbs/uchar.h: Really define mbstate_t.
9638 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
9639 * wcsmbs/c16rtomb.c: New file.
9640 * wcsmbs/mbrtoc16.c: New file.
9641 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
9643 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
9644 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
9646 * wcsmbs/wchar.h: Add missing __restrict.
9648 2011-12-23 Ulrich Drepper <drepper@gmail.com>
9651 * time/Makefile (routines): Add timespec_get.
9652 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
9653 * time/time.h: Define TIME_UTC and declare timespec_get. Define
9654 timespec for ISO C11.
9655 * time/timespec_get.c: New file.
9656 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
9657 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
9660 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
9661 * stdlib/stdlib.h: Declare aligned_alloc.
9662 * Versions.def: Add GLIBC_2.16 for libc.
9663 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
9666 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
9669 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
9673 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
9676 * assert/assert.h (static_assert): Define.
9678 * version.h: Update for 2.16 development version.
9681 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
9684 * version.h (RELEASE): Bump for 2.15 release.
9685 * include/features.h (__GLIBC_MINOR__): Bump to 15.
9687 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
9688 Patch by Marek Polacek <mpolacek@redhat.com>.
9690 * bits/byteswap.h: Protect long long constants with __extension__.
9691 * sysdeps/i386/bits/byteswap.h: Likewise.
9692 * sysdeps/ia64/bits/byteswap.h: Likewise.
9693 * sysdeps/s390/bits/byteswap.h: Likewise.
9694 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9696 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9699 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
9701 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
9703 2011-12-23 Marek Polacek <polacek@redhat.com>
9705 * elf/dl-addr.c (determine_info): Add inline keyword.
9706 * elf/tst-auditmod4b.c (check_avx): Likewise.
9707 * elf/tst-auditmod6b.c (check_avx): Likewise.
9708 * elf/tst-auditmod6c.c (check_avx): Likewise.
9709 * elf/tst-auditmod7b.c (check_avx): Likewise.
9711 2011-12-23 Ulrich Drepper <drepper@gmail.com>
9713 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
9716 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9719 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
9720 processing for last bytes.
9722 2011-08-06 Bruno Haible <bruno@clisp.org>
9725 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
9726 U+0385, not to U+1FEE.
9729 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
9730 entry for U+00A5 U+0301.
9732 2011-12-22 Ulrich Drepper <drepper@gmail.com>
9735 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
9736 buffer for the output is too small.
9738 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
9742 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
9743 SSE flags if possible.
9745 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9748 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
9749 processing for last bytes.
9751 2011-12-22 Joseph Myers <joseph@codesourcery.com>
9753 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
9754 (syscall-list-default-options, syscall-list-default-condition)
9755 (syscall-list-includes): Define.
9756 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
9757 list of ABIs and options and #if conditions for each ABI. Do not
9758 handle common syscalls between ABIs specially.
9759 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
9761 (syscall-list-variants, syscall-list-32bit-options)
9762 (syscall-list-32bit-condition, syscall-list-64bit-options)
9763 (syscall-list-64bit-condition): Define.
9764 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
9765 (syscall-list-variants, syscall-list-32bit-options)
9766 (syscall-list-32bit-condition, syscall-list-64bit-options)
9767 (syscall-list-64bit-condition): Define.
9768 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
9770 (syscall-list-variants, syscall-list-32bit-options)
9771 (syscall-list-32bit-condition, syscall-list-64bit-options)
9772 (syscall-list-64bit-condition): Define.
9773 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
9775 (syscall-list-variants, syscall-list-32bit-options)
9776 (syscall-list-32bit-condition, syscall-list-64bit-options)
9777 (syscall-list-64bit-condition): Define.
9779 2011-12-22 Ulrich Drepper <drepper@gmail.com>
9781 * locale/iso-639.def: Add brx entry.
9784 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
9785 Proposed by Mariusz_Cukr <marcukr@op.pl>.
9787 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
9788 __feraiseexcept_renamed.
9790 2011-12-21 Ulrich Drepper <drepper@gmail.com>
9793 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
9794 EPOLLET with unsigned values.
9795 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9796 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9798 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
9799 to large cancellation.
9800 * math/s_cacoshf.c: Likewise.
9801 * math/s_cacoshl.c: Likewise.
9803 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
9807 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
9808 * math/s_cacoshf.c: Likewise.
9809 * math/s_cacoshl.c: Likewise.
9811 2011-12-21 Ulrich Drepper <drepper@gmail.com>
9814 * iconv/gconv.h: Define __GCONV_SWAP.
9815 * iconvdata/unicode.c: The swap bit must be stored in __flags.
9816 * iconvdata/utf-16.c: Likewise.
9817 * iconvdata/utf-32.c: Likewise.
9819 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
9822 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
9823 numerator after shifting it by one limb.
9825 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
9827 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
9828 under [__USE_EXTERN_INLINES].
9830 2011-12-17 Ulrich Drepper <drepper@gmail.com>
9833 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
9835 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9837 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
9838 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
9840 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
9841 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
9842 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
9843 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
9844 for strncasecmp/strncasecmp_l compilation.
9845 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
9846 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
9848 2011-12-08 Marek Polacek <mpolacek@redhat.com>
9851 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
9854 2011-12-17 Ulrich Drepper <drepper@gmail.com>
9857 * time/tzfile.c (__tzfile_read): Check values from file header.
9859 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
9861 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
9862 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
9863 * powerpc/powerpc32/dl-start.S: Likewise.
9864 * powerpc/powerpc32/elf/start.S: Likewise.
9865 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9866 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
9867 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
9868 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
9869 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
9870 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
9871 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
9872 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
9873 * powerpc/powerpc32/fpu/s_round.S: Likewise.
9874 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
9875 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
9876 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
9877 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
9878 * powerpc/powerpc32/memset.S: Likewise.
9879 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
9880 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9881 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9882 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9883 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9884 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9885 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9886 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9887 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
9888 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
9889 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
9890 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9891 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9893 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9895 * math/libm-test.inc: Added more nearbyint tests.
9896 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
9897 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
9898 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
9899 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
9901 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
9903 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
9906 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9908 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
9909 Add wcscpy-ssse3 wcscpy-c.
9910 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
9911 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
9912 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
9913 * sysdeps/x86_64/wcschr.S: New file.
9914 * sysdeps/x86_64/wcsrchr.S: New file.
9915 * string/test-strcmp.c: Remove checking of wcscmp function for
9917 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
9918 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
9919 wcsrchr-sse2 wcsrchr-c.
9920 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
9921 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
9922 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
9923 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
9924 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
9925 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
9926 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
9927 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
9928 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
9929 * wcsmbc/wcschr.c (WCSCHR): New macro.
9931 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9933 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
9934 * wcsmbs/test-wcsrchr.c: New file.
9935 * string/test-strrchr.c: Add wcsrchr support.
9937 * wcsmbs/test-wcscpy.c: New file.
9938 * string/test-strcpy.c: Add wcscpy support.
9941 2011-12-10 Ulrich Drepper <drepper@gmail.com>
9943 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
9946 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
9949 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
9951 2011-12-04 Ulrich Drepper <drepper@gmail.com>
9953 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
9954 Minor optimizations.
9956 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
9957 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
9958 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
9960 2011-12-03 Ulrich Drepper <drepper@gmail.com>
9962 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
9963 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
9964 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
9965 for gcc to avoid warnings.
9966 * inet/Makefile (tests): Add tst-checks.
9967 * inet/tst-checks.c: New file.
9969 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
9972 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
9975 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
9976 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
9978 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
9980 2011-12-02 Ulrich Drepper <drepper@gmail.com>
9982 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
9985 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
9987 2011-11-29 Joseph Myers <joseph@codesourcery.com>
9989 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
9990 conditional on GCC version.
9991 (__arch_compare_and_exchange_val_8_acq)
9992 (__arch_compare_and_exchange_val_16_acq)
9993 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
9994 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
9995 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
9997 2011-12-02 Joseph Myers <joseph@codesourcery.com>
9999 * sysdeps/sh/backtrace.c: New file.
10001 2011-12-02 Andreas Schwab <schwab@redhat.com>
10003 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
10006 2011-12-01 Andreas Schwab <schwab@redhat.com>
10008 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
10009 falling back to utime.
10011 2011-11-30 Andreas Schwab <schwab@redhat.com>
10013 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
10014 expectations for float.
10016 2011-11-29 Andreas Schwab <schwab@redhat.com>
10018 * locale/weight.h (findidx): Add parameter len.
10019 * locale/weightwc.h (findidx): Likewise.
10020 * posix/fnmatch_loop.c (FCT): Adjust caller.
10021 * posix/regcomp.c (build_equiv_class): Likewise.
10022 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
10023 * posix/regexec.c (check_node_accept_bytes): Likewise.
10024 * string/strcoll_l.c (STRCOLL): Likewise.
10025 * string/strxfrm_l.c (STRXFRM): Likewise.
10027 2011-11-17 Ulrich Drepper <drepper@gmail.com>
10029 * Makefile.in: Remove CVSOPT handling.
10030 * configure.in: Remove use of AC_REVISION.
10031 * iconvdata/Makefile (distribute): No need to filter out CVS.
10032 * scripts/list-sources.sh: Remove CVS, subversion and monotone
10035 2011-11-16 Andreas Schwab <schwab@redhat.com>
10037 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
10038 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
10039 [USE_AS_STRNCASECMP_L]: Likewise.
10040 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
10041 NO_TLS_DIRECT_SEG_REFS.
10042 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
10043 Fix argument offsets for non-PIC.
10044 [USE_AS_STRNCASECMP_L]: Likewise.
10045 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
10046 NO_TLS_DIRECT_SEG_REFS.
10048 2011-11-15 Ulrich Drepper <drepper@gmail.com>
10050 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
10052 * locale/loadlocale.c (_nl_load_locale): Likewise.
10054 2011-11-15 Andreas Schwab <schwab@redhat.com>
10056 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
10057 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
10058 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
10059 (SYSCALL_GETTIME): Set errno on error.
10061 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
10062 count references to noai6ai_cached.
10064 2011-11-15 Ulrich Drepper <drepper@gmail.com>
10066 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
10068 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
10069 FD_CLOEXEC for /proc/self/maps.
10071 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
10072 FD_CLOEXEC for /proc/meminfo.
10074 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
10077 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
10078 FD_CLOEXEC for given file.
10080 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
10082 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
10083 FD_CLOEXEC for /etc/hosts.
10084 (_gethtent): Likewise.
10086 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
10088 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
10089 cancellation and set FD_CLOEXEC for /etc/netgroup.
10091 * nss/nss_files/files-key.c (search): Don't allow cancellation when
10092 reading /etc/publickey.
10094 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
10095 allow cancellation when reading /etc/group.
10097 * nss/nss_files/files-alias.c (internal_setent): Don't allow
10099 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
10101 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
10102 when using data file.
10104 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
10106 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
10107 (write_nis_obj): Use "c" and "e" in fopen.
10109 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
10111 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
10113 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
10115 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
10117 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
10120 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
10122 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
10124 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
10126 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
10127 file parsing and set FD_CLOEXEC.
10129 2011-11-14 Ulrich Drepper <drepper@gmail.com>
10131 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
10133 2011-11-14 Andreas Schwab <schwab@redhat.com>
10135 * malloc/arena.c (arena_get2): Don't call reused_arena when
10136 _int_new_arena failed.
10138 2011-11-14 Ulrich Drepper <drepper@gmail.com>
10140 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
10141 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
10142 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
10143 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10144 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10145 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
10146 to compile strcasecmp and strncasecmp.
10147 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
10148 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
10150 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
10152 2011-11-13 Ulrich Drepper <drepper@gmail.com>
10154 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
10155 locale-defines.sym to gen-as-const-headers.
10156 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
10157 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
10158 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
10159 to compile strcasecmp and strncasecmp.
10160 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
10161 strcasecmp_l and strncasecmp_l.
10162 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
10163 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
10164 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
10165 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
10166 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
10167 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
10168 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
10169 * sysdeps/i386/i686/multiarch/strncase.S: New file.
10170 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
10171 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
10172 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
10174 2011-11-12 Ulrich Drepper <drepper@gmail.com>
10176 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
10177 result of SYSDEP_GETTIME_CPU to retval.
10178 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
10179 parameter list to macro. Remove trailing semicolon. Adjust users.
10181 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
10184 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
10186 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
10188 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
10189 from unused variable.
10191 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
10193 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
10196 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
10199 * sunrpc/rpc_prot.c (rejected): Fix case value.
10201 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
10202 unsigned long long int to avoid warnings in shift.
10204 * posix/regex_internal.c (re_string_reconstruct): Actually use result
10206 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
10209 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
10210 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
10211 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
10213 * nis/nis_table.c (nis_list): Use variable of correct type for
10214 result of __follow_path call.
10216 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10218 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
10219 of math functions ceil, trunc, floor, round, and sqrt, when
10220 avaliable on the platform.
10221 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
10223 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10224 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
10225 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
10227 2011-10-30 Marek Polacek <mpolacek@redhat.com>
10229 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
10230 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
10232 2011-11-11 Roland McGrath <roland@hack.frob.com>
10234 * include/unistd.h: Fix __readlink return type.
10235 Reported by Chris Metcalf <cmetcalf@tilera.com>.
10237 2011-11-11 Ulrich Drepper <drepper@gmail.com>
10239 * stdlib/ucontext.h: Undo last change for makecontext.
10241 2011-11-11 Andreas Schwab <schwab@redhat.com>
10243 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
10245 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
10246 * setjmp/setjmp.h: Mark functions as non-leaf.
10247 * setjmp/bits/setjmp2.h: Likewise.
10248 * stdlib/ucontext.h: Likewise.
10250 2011-11-10 Andreas Schwab <schwab@redhat.com>
10252 * malloc/arena.c (_int_new_arena): Don't increment narenas.
10253 (reused_arena): Don't check arena limit.
10254 (arena_get2): Atomically check arena limit.
10256 2011-11-08 Ulrich Drepper <drepper@gmail.com>
10258 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
10259 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
10261 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
10264 2011-11-07 Andreas Schwab <schwab@redhat.com>
10266 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
10267 handler when locking.
10269 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10270 Fix size of allocated buffer.
10272 2011-11-04 Andreas Schwab <schwab@redhat.com>
10275 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
10276 declarations for long double functions.
10277 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
10279 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
10281 2011-11-03 Andreas Schwab <schwab@redhat.com>
10283 * nscd/nscd.c (main): Don't start AVC thread until credentials are
10286 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
10289 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
10291 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
10293 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
10295 * include/alloca.h (stackinfo_alloca_round): Define.
10296 (extend_alloca): Use it.
10297 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
10298 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
10301 * scripts/check-local-headers.sh: Ignore libaudit.h.
10303 * nscd/Makefile (extra-objs): Make recursively expanded.
10305 2011-11-01 Ulrich Drepper <drepper@gmail.com>
10307 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
10308 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10310 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
10311 * posix/tst-rfc3484-2.c: Likewise.
10312 * posix/tst-rfc3484-3.c: Likewise.
10314 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10316 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
10318 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
10319 process_vm_writev from libc using GLIBC_2.15 version.
10321 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
10323 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
10325 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
10328 2011-10-31 Ulrich Drepper <drepper@gmail.com>
10331 * nss/getent.c (initgroups_keys): Show error message in case no group
10334 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
10335 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
10336 __bump_nl_timestamp.
10337 * nscd/connections (nscd_init): When host database is served open
10338 netlink socket and request notification about configuration changes.
10339 (main_loop_poll): Track netlink file descriptor and bump timestamp
10340 in case data becomes available.
10341 (main_loop_epoll): Likewise.
10342 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
10343 (database_pers_head): Add extra_data fileds.
10344 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
10345 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
10346 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
10348 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
10349 in6ai data, call __free_in6ai.
10350 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
10351 Add -DHAVE_NETLINK.
10352 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
10353 interface information. Reuse previous data if netlink timestamp
10355 (__bump_nl_timestamp): New function.
10356 (__free_in6ai): New function.
10358 2011-10-30 Ulrich Drepper <drepper@gmail.com>
10360 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
10361 close_not_cancel_no_status here.
10362 (__check_pf): Reorganize code a bit to not call close twice if OOM.
10364 2011-10-29 Ulrich Drepper <drepper@gmail.com>
10367 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
10370 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
10371 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
10372 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
10374 2011-07-03 Andreas Jaeger <aj@suse.de>
10377 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
10378 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
10379 * math/libm-test.inc (sin_test): Add test case.
10381 2011-10-29 Ulrich Drepper <drepper@gmail.com>
10384 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
10385 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10387 * elf/chroot_canon.c (chroot_canon): Cleanups.
10389 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
10392 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
10393 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10395 * string/test-strchr.c: Make usable for strchrnul testing.
10396 * string/test-strchrnul.c: New file.
10397 * string/Makefile (strop-tests): Add strchrnul.
10399 * po/it.po: Update from translation team.
10400 * po/es.po: Likewise.
10402 2011-10-28 Ulrich Drepper <drepper@gmail.com>
10404 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
10405 the three constants needed as parameters. Drop the others.
10406 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
10407 __m128i_strloadu_tolower.
10408 Create and initialize variable zero and use it in all the places
10409 where _mm_setzero_si128 was used.
10411 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
10412 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
10413 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
10414 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
10416 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
10417 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
10418 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
10419 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
10420 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
10421 __mpranred, __mptan.
10422 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
10423 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
10424 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
10425 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
10426 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
10427 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
10428 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
10429 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
10430 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
10432 2011-10-28 Andreas Schwab <schwab@redhat.com>
10434 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
10435 redefine if SHARED.
10436 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
10438 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
10439 wide char related routines to wcsmbs subdir.
10441 2011-10-27 Andreas Schwab <schwab@redhat.com>
10444 * misc/sys/cdefs.h (__THROWNL): Define.
10445 * posix/unistd.h: Use __THREADNL instead of __THREAD
10446 for memory synchronization functions.
10448 2011-10-26 Roland McGrath <roland@hack.frob.com>
10451 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
10453 * manual/stdio.texi (Obstack Streams): Node removed.
10455 2011-10-26 Andreas Schwab <schwab@redhat.com>
10457 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
10458 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10459 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10461 * math/math_private.h (math_force_eval): Allow non-addressable
10463 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
10465 2011-10-25 Ulrich Drepper <drepper@gmail.com>
10467 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
10468 file is not needed.
10470 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
10471 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
10472 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10473 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10474 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10475 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10476 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10477 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
10479 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
10480 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
10481 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
10482 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
10483 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
10484 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
10485 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
10486 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
10487 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
10488 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
10489 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
10490 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
10491 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
10492 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
10493 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
10494 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
10495 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
10496 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
10497 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
10499 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
10500 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
10502 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
10503 place. Use VEX encoding when compiling for AVX.
10505 2011-10-25 Andreas Schwab <schwab@redhat.com>
10507 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
10508 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
10510 * string/test-strchr.c (do_test): Don't generate NUL bytes.
10512 2011-10-25 Ulrich Drepper <drepper@gmail.com>
10514 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
10515 useless if() expression.
10516 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10517 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10518 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10519 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10520 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10521 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10522 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10523 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10524 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10525 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10526 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10527 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10528 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10529 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10530 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10531 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10532 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10533 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10534 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10536 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
10538 2011-10-25 Andreas Schwab <schwab@redhat.com>
10540 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
10542 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10544 2011-10-25 Ulrich Drepper <drepper@gmail.com>
10546 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
10547 .text section. Avoid duplicate constants.
10548 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10549 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10550 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10551 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10552 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10553 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10554 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10555 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10556 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10557 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
10558 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10559 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10560 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
10561 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
10562 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10563 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
10564 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10565 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10566 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10567 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10568 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10569 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10570 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10571 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
10572 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
10573 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
10574 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
10575 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
10576 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
10577 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
10578 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
10579 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
10580 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10581 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
10582 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
10583 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
10584 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
10585 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
10586 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
10587 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
10588 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
10589 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
10590 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
10591 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
10592 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
10594 2011-10-24 Ulrich Drepper <drepper@gmail.com>
10596 * sysdeps/x86_64/dla.h: Move to ...
10597 * sysdeps/x86_64/fpu/dla.h: ...here.
10598 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
10599 situations. Use __builtin_fma only for gcc 4.6 and up.
10601 * config.make.in: Add have-mfma4 entry.
10602 * configure.in: Substitute libc_cv_cc_fma4.
10603 * math/Makefile (dbl-only-routines): Add sincostab.
10604 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
10605 Use __sincostab not sincos.
10606 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
10608 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10609 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10610 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10611 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
10613 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
10614 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
10615 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
10616 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
10618 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
10619 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
10621 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
10622 define aliases when function name is a macro.
10623 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
10624 sysdeps/ieee754/dbl-64/sincos.tbl.
10625 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
10626 fma4-enabled routines.
10627 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
10628 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
10629 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
10630 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
10631 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
10632 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
10633 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
10634 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
10635 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
10636 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
10637 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
10638 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
10639 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
10640 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
10641 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
10642 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
10643 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
10644 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
10645 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
10646 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
10647 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
10648 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
10649 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
10650 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
10651 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
10652 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
10653 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
10654 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
10655 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
10656 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
10658 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
10660 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10661 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10662 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10663 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10664 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10665 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10666 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10667 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10669 2011-10-24 Andreas Schwab <schwab@redhat.com>
10671 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
10673 2011-10-23 Ulrich Drepper <drepper@gmail.com>
10675 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
10677 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
10679 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
10681 * string/strnlen.c: Don't define STRNLEN, reverse logic.
10682 Remove unused variable magic_bits.
10683 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
10685 * string/strnlen.c: Define and use STRNLEN macro.
10686 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
10687 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
10688 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
10689 * wcsmbs/wcslen.c: Define and use WCSLEN.
10690 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
10691 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
10692 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
10693 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
10694 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
10695 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
10696 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
10698 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10700 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10701 strnlen-sse2-no-bsf.
10702 Rename strlen-no-bsf to strlen-sse2-no-bsf.
10703 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
10704 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
10705 Add strnlen support.
10706 (USE_AS_STRNLEN): New macro.
10707 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
10708 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
10709 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
10710 * sysdeps/x86_64/wcslen.S: New file.
10712 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
10714 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
10715 XMM-moves are used for copying on small sizes.
10717 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10719 * wcsmbs/Makefile (strop-tests): Add wcschr.
10720 * wcsmbs/test-wcschr.c: New file.
10721 * string/test-strchr.c: Update.
10722 Add wcschr support.
10725 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10727 * wcsmbs/Makefile (strop-tests): Add wcslen.
10728 * wcsmbs/test-wcslen.c: New file.
10729 * string/test-strlen.c: Update.
10730 Add wcslen support.
10733 2011-10-23 Ulrich Drepper <drepper@gmail.com>
10735 * po/it.po: Update from translation team.
10737 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10739 * sysdeps/x86_64/wcscmp.S: Update.
10740 Fix wrong comparison semantics.
10741 wcscmp shall use signed comparison not unsigned.
10742 Don't use substraction to avoid overflow bug.
10743 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
10744 * wcsmbc/wcscmp.c: Likewise.
10745 * string/test-strcmp.c: Likewise.
10746 Add new tests to check cases with negative values.
10748 2011-10-23 Ulrich Drepper <drepper@gmail.com>
10750 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
10751 * sysdeps/x86_64/dla.h: ...here. New file.
10752 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
10753 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10754 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10755 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10756 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10757 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10758 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10759 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10760 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10762 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
10764 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
10765 __ynl_finite aliases.
10767 2011-10-22 Ulrich Drepper <drepper@gmail.com>
10769 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10771 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
10773 [DLA_FMA] (EMULV): Use DLA_FMA.
10774 [DLA_FMA] (MUL12): Use EMULV.
10775 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
10776 that are not needed.
10777 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10778 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10779 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10780 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10781 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10782 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10783 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10785 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
10787 * math/s_nan.c: Undef __nan.
10788 * math/s_nanf.c: Undef __nanf.
10789 * math/s_nanl.c: Undef __nanl.
10790 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
10793 2011-10-22 Ulrich Drepper <drepper@gmail.com>
10795 * math/s_catan.c: Add branch predictions.
10796 * math/s_catanf.c: Likewise.
10797 * math/s_catanh.c: Likewise.
10798 * math/s_catanhf.c: Likewise.
10799 * math/s_catanhl.c: Likewise.
10800 * math/s_catanl.c: Likewise.
10801 * math/s_cexp.c: Likewise.
10802 * math/s_cexpf.c: Likewise.
10803 * math/s_cexpl.c: Likewise.
10804 * math/s_clog.c: Likewise.
10805 * math/s_clog10.c: Likewise.
10806 * math/s_clog10f.c: Likewise.
10807 * math/s_clog10l.c: Likewise.
10808 * math/s_clogf.c: Likewise.
10809 * math/s_clogl.c: Likewise.
10810 * math/s_csqrt.c: Likewise.
10811 * math/s_csqrtf.c: Likewise.
10812 * math/s_csqrtl.c: Likewise.
10813 * math/s_ctanf.c: Likewise.
10814 * math/s_ctanh.c: Likewise.
10815 * math/s_ctanhf.c: Likewise.
10816 * math/s_ctanhl.c: Likewise.
10817 * math/s_ctanl.c: Likewise.
10819 * math/math_private.h: Define __nan, __nanf, __nanl.
10820 * math/s_cacosh.c: Include <math_private.h>.
10821 * math/s_cacoshl.c: Likewise.
10822 * math/s_casinh.c: Likewise.
10823 * math/s_casinhf.c: Likewise.
10824 * math/s_casinhl.c: Likewise.
10825 * math/s_ccos.c: Rely entire on ccosh.
10826 * math/s_ccosf.c: Rely entire on ccoshf.
10827 * math/s_ccosl.c: Rely entirely on ccoshl.
10828 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
10829 Remove tests for FE_INVALID.
10830 * math/s_ccoshf.c: Likewise.
10831 * math/s_ccoshl.c: Likewise.
10832 * math/s_csin.c: Likewise.
10833 * math/s_csinf.c: Likewise.
10834 * math/s_csinh.c Likewise.
10835 * math/s_csinhf.c: Likewise.
10836 * math/s_csinhl.c: Likewise.
10837 * math/s_csinl.c: Likewise.
10838 * math/s_ctan.c: Likewise.
10839 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
10840 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
10841 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
10843 2011-10-21 Ulrich Drepper <drepper@gmail.com>
10845 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
10846 compilation problems.
10848 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
10851 2011-10-20 Ulrich Drepper <drepper@gmail.com>
10853 * sysdeps/i386/configure.in: Test for -mfma4 option.
10854 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
10855 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
10856 COMMON_CPUID_INDEX_80000001.
10857 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
10858 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
10859 use it if FMA3 is not supported.
10860 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
10862 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
10863 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10865 2011-10-20 Andreas Schwab <schwab@redhat.com>
10868 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
10869 it would create a cycle with a link time dependency.
10871 2011-10-19 Ulrich Drepper <drepper@gmail.com>
10873 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
10875 * string/Makefile (strop-tests): Add rawmemchr.
10876 * string/test-rawmemchr.c: New file.
10878 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
10879 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
10880 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
10881 when compiling str{,n}casecmp and when AVX is available. Hook up
10882 new optimized code in initializers.
10884 2011-10-19 Andreas Schwab <schwab@redhat.com>
10886 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
10887 __feraiseexcept instead of feraiseexcept.
10889 2011-10-18 Ulrich Drepper <drepper@gmail.com>
10891 * math/math_private.h: Define defaults for libc_fetestexcept and
10893 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
10894 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
10895 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
10896 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10897 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10898 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10899 libc_fetestexcept and libc_feupdateenv.
10901 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
10902 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
10903 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
10904 * sysdeps/x86_64/fpu/math_private.h: Define special version of
10905 libc_feholdexcept_setround.
10907 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
10908 Add s_nearbyint-c and s_nearbyintf-c.
10909 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
10910 nearbyintf inlines.
10911 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
10912 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
10913 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
10914 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
10916 * math/math_private.h: Define defaults for libc_fegetround,
10917 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
10918 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
10919 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
10920 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
10921 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
10922 standard functions.
10923 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10924 Remove comments and hacks for old compiler versions.
10925 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10926 libc_fegetround, libc_fesetround, libc_feholdexcept, and
10927 libc_feholdexceptl.
10929 2011-10-18 Andreas Schwab <schwab@redhat.com>
10931 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
10932 (__feraiseexcept_renamed): Add __NTH.
10933 (feraiseexcept): Add __NTH. Rename local variables to fix
10934 namespace violations.
10936 2011-10-17 Ulrich Drepper <drepper@gmail.com>
10938 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
10940 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
10942 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
10943 recently added interfaces.
10944 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
10946 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
10947 about macro parameter expansion.
10949 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
10950 __NO_MATH_INLINES is defined. Cleanups.
10952 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
10953 and __floorf is target has SSE4.1.
10954 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
10955 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
10956 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
10957 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
10959 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
10961 (floorf): Likewise.
10963 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
10965 2011-10-17 Andreas Schwab <schwab@redhat.com>
10967 * misc/sys/cdefs.h: Fix last change.
10969 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
10972 2011-10-16 Ulrich Drepper <drepper@gmail.com>
10974 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
10976 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
10977 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10978 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10979 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10980 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10981 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10982 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10983 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10984 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10985 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
10986 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
10987 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
10988 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
10989 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
10990 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
10991 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
10992 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
10993 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
10994 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
10995 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
10996 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
10997 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
10999 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
11000 ceil, ceilf, floor, floorf.
11002 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
11003 Perform IRELATIVE relocations last.
11005 * elf/do-rel.h: Add another parameter nrelative, replacing the
11006 local variable with the same name. Change name of the function
11007 to end in Rel or Rela (uppercase).
11008 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
11009 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
11010 elf_dynamic_do_##reloc function.
11012 2011-10-15 Ulrich Drepper <drepper@gmail.com>
11014 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
11015 is sufficient, at least on modern CPUs.
11017 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
11019 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
11020 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
11022 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
11024 * math/bits/math-finite.h: Add entries for exp.
11025 * math/e_expl.c: Add __*_finite alias.
11026 * sysdeps/i386/fpu/e_exp.S: Likewise.
11027 * sysdeps/i386/fpu/e_expf.S: Likewise.
11028 * sysdeps/i386/fpu/e_expl.c: Likewise.
11029 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11030 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11031 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11032 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11033 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
11034 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11035 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11037 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
11038 is sufficient, at least on modern CPUs.
11040 * ctype/ctype-info.c (__ctype_init): Define.
11041 * include/ctype.h (__ctype_init): Declare.
11042 (__ctype_b_loc): The variable is always initialized.
11043 (__ctype_toupper_loc): Likewise.
11044 (__ctype_tolower_loc): Likewise.
11045 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
11046 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
11048 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
11050 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
11052 * configure.in: Also look in $cxxmachine/include for C++ system
11055 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11057 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
11058 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
11059 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
11060 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
11061 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
11062 (USE_AS_WMEMCMP): New macro.
11064 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
11065 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
11066 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
11067 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
11068 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11069 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
11070 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
11071 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
11072 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
11073 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
11074 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
11075 (USE_AS_WMEMCMP): New macro.
11076 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
11077 * sysdeps/string/test-memcmp.c: Update.
11078 Fix simple_wmemcmp.
11080 * wcsmbs/wmemcmp.c: Update.
11081 (WMEMCMP): New macro.
11084 2011-10-12 Andreas Jaeger <aj@suse.de>
11087 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
11089 2011-10-15 Ulrich Drepper <drepper@gmail.com>
11091 * libio/iofwide.c (do_length): Avoid warning.
11093 * ctype/ctype.h (__isctype_f): Add missing __THROW.
11095 2011-10-14 Ulrich Drepper <drepper@gmail.com>
11097 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
11099 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
11100 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
11101 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
11102 * sysdeps/i386/i686/fpu/e_log.S: New file.
11103 * sysdeps/i386/i686/fpu/e_logf.S: New file.
11104 * sysdeps/i386/i686/fpu/e_logl.S: New file.
11106 * ctype/ctype.h: Add support for inlined isXXX functions when
11107 compiling C++ code.
11109 2011-10-14 Andreas Schwab <schwab@redhat.com>
11111 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11113 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
11115 2011-10-13 Roland McGrath <roland@hack.frob.com>
11118 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
11120 2011-10-13 Andreas Schwab <schwab@redhat.com>
11122 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
11123 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
11126 * sysdeps/x86_64/memrchr.S: Check for zero size.
11128 * string/stratcliff.c: Add memrchr tests.
11130 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11132 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11133 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
11134 rawmemchr-sse2 rawmemchr-sse2-bsf.
11135 * sysdeps/i386/i686/multiarch/memchr.S: New file.
11136 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
11137 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
11138 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
11139 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
11140 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
11141 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
11142 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
11143 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
11144 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
11145 * string/memrchr.c (MEMRCHR): New macro.
11147 2011-10-12 Ulrich Drepper <drepper@gmail.com>
11149 Add integration with gcc's -ffinite-math-only and optimize wrapper
11151 * Versions.def: Define GLIBC_2.15 version for libm.
11152 * math/Makefile (headers): Add bits/math-finite.h.
11153 * math/bits/math-finite.h: New file.
11154 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
11155 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
11156 * math/e_acoshl.c: Add __*_finite alias.
11157 * math/e_acosl.c: Likewise.
11158 * math/e_asinl.c: Likewise.
11159 * math/e_atan2l.c: Likewise.
11160 * math/e_atanhl.c: Likewise.
11161 * math/e_coshl.c: Likewise.
11162 * math/e_exp10.c: Likewise.
11163 * math/e_exp10f.c: Likewise.
11164 * math/e_exp10l.c: Likewise.
11165 * math/e_exp2l.c: Likewise.
11166 * math/e_fmodl.c: Likewise.
11167 * math/e_gammal_r.c: Likewise.
11168 * math/e_hypotl.c: Likewise.
11169 * math/e_j0l.c: Likewise.
11170 * math/e_j1l.c: Likewise.
11171 * math/e_jnl.c: Likewise.
11172 * math/e_lgammal_r.c: Likewise.
11173 * math/e_log10l.c: Likewise.
11174 * math/e_log2l.c: Likewise.
11175 * math/e_logl.c: Likewise.
11176 * math/e_powl.c: Likewise.
11177 * math/e_sinhl.c: Likewise.
11178 * math/e_sqrtl.c: Likewise.
11179 * math/e_scalb.c: Completely rewritten and optimized.
11180 * math/e_scalbf.c: Likewise.
11181 * math/e_scalbl.c: Likewise.
11182 * math/w_acos.c: Likewise.
11183 * math/w_acosf.c: Likewise.
11184 * math/w_acosl.c: Likewise.
11185 * math/w_acosh.c: Likewise.
11186 * math/w_acoshf.c: Likewise.
11187 * math/w_acoshl.c: Likewise.
11188 * math/w_asin.c: Likewise.
11189 * math/w_asinf.c: Likewise.
11190 * math/w_asinl.c: Likewise.
11191 * math/w_atan2.c: Likewise.
11192 * math/w_atan2f.c: Likewise.
11193 * math/w_atan2l.c: Likewise.
11194 * math/w_atanh.c: Likewise.
11195 * math/w_atanhf.c: Likewise.
11196 * math/w_atanhl.c: Likewise.
11197 * math/w_exp10.c: Likewise.
11198 * math/w_exp10f.c: Likewise.
11199 * math/w_exp10l.c: Likewise.
11200 * math/w_fmod.c: Likewise.
11201 * math/w_fmodf.c: Likewise.
11202 * math/w_fmodl.c: Likewise.
11203 * math/w_j0.c: Likewise.
11204 * math/w_j0f.c: Likewise.
11205 * math/w_j0l.c: Likewise.
11206 * math/w_j1.c: Likewise.
11207 * math/w_j1f.c: Likewise.
11208 * math/w_j1l.c: Likewise.
11209 * math/w_jn.c: Likewise.
11210 * math/w_jnf.c: Likewise.
11211 * math/w_log.c: Likewise.
11212 * math/w_logf.c: Likewise.
11213 * math/w_logl.c: Likewise.
11214 * math/w_log10.c: Likewise.
11215 * math/w_log10f.c: Likewise.
11216 * math/w_log10l.c: Likewise.
11217 * math/w_log2.c: Likewise.
11218 * math/w_log2f.c: Likewise.
11219 * math/w_log2l.c: Likewise.
11220 * math/w_pow.c: Likewise.
11221 * math/w_powf.c: Likewise.
11222 * math/w_powl.c: Likewise.
11223 * math/w_remainder.c: Likewise.
11224 * math/w_remainderf.c: Likewise.
11225 * math/w_remainderl.c: Likewise.
11226 * math/w_scalb.c: Likewise.
11227 * math/w_scalbf.c: Likewise.
11228 * math/w_scalbl.c: Likewise.
11229 * math/w_sqrt.c: Likewise.
11230 * math/w_sqrtf.c: Likewise.
11231 * math/w_sqrtl.c: Likewise.
11232 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
11233 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
11235 * math/math_private.h: Declare __kernel_standard_f.
11236 * math/w_cosh.c: Remove cruft and optimize a bit.
11237 * math/w_coshf.c: Likewise.
11238 * math/w_coshl.c: Likewise.
11239 * math/w_exp2.c: Likewise.
11240 * math/w_exp2f.c: Likewise.
11241 * math/w_exp2l.c: Likewise.
11242 * math/w_hypot.c: Likewise.
11243 * math/w_hypotf.c: Likewise.
11244 * math/w_hypotl.c: Likewise.
11245 * math/w_lgamma.c: Likewise.
11246 * math/w_lgamma_r.c: Likewise.
11247 * math/w_lgammaf.c: Likewise.
11248 * math/w_lgammaf_r.c: Likewise.
11249 * math/w_lgammal.c: Likewise.
11250 * math/w_lgammal_r.c: Likewise.
11251 * math/w_sinh.c: Likewise.
11252 * math/w_sinhf.c: Likewise.
11253 * math/w_sinhl.c: Likewise.
11254 * math/w_tgamma.c: Likewise.
11255 * math/w_tgammaf.c: Likewise.
11256 * math/w_tgammal.c: Likewise.
11257 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11258 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11259 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
11260 Minor optimizations. Pretty printing. Remove cruft.
11261 * sysdeps/i386/fpu/e_acosf.S: Likewise.
11262 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11263 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11264 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11265 * sysdeps/i386/fpu/e_acosl.c: Likewise.
11266 * sysdeps/i386/fpu/e_asin.S: Likewise.
11267 * sysdeps/i386/fpu/e_asinf.S: Likewise.
11268 * sysdeps/i386/fpu/e_atan2.S: Likewise.
11269 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
11270 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
11271 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11272 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11273 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11274 * sysdeps/i386/fpu/e_exp10.S: Likewise.
11275 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
11276 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
11277 * sysdeps/i386/fpu/e_exp2.S: Likewise.
11278 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
11279 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
11280 * sysdeps/i386/fpu/e_fmod.S: Likewise.
11281 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
11282 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
11283 * sysdeps/i386/fpu/e_hypot.S: Likewise.
11284 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
11285 * sysdeps/i386/fpu/e_log.S: Likewise.
11286 * sysdeps/i386/fpu/e_log10.S: Likewise.
11287 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11288 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11289 * sysdeps/i386/fpu/e_log2.S: Likewise.
11290 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11291 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11292 * sysdeps/i386/fpu/e_logf.S: Likewise.
11293 * sysdeps/i386/fpu/e_logl.S: Likewise.
11294 * sysdeps/i386/fpu/e_pow.S: Likewise.
11295 * sysdeps/i386/fpu/e_powf.S: Likewise.
11296 * sysdeps/i386/fpu/e_powl.S: Likewise.
11297 * sysdeps/i386/fpu/e_remainder.S: Likewise.
11298 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
11299 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
11300 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11301 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11302 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11303 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
11304 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
11305 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
11306 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11307 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11308 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11309 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11310 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11311 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11312 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11313 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11314 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11315 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11316 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11317 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11318 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11319 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11320 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11321 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11322 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11323 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11324 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11325 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11326 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11327 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
11328 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11329 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11330 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
11331 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11332 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11333 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
11334 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11335 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
11336 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11337 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11338 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11339 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11340 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
11341 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
11342 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
11343 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
11344 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
11345 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11346 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
11347 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11348 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
11349 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11350 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11351 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11352 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11353 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11354 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11355 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11356 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11357 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11358 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11359 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11360 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11361 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11362 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11363 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11364 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11365 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11366 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11367 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
11368 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11369 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11370 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
11371 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11372 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
11373 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
11374 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
11375 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11376 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11377 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11378 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11379 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11380 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11381 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11382 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11383 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11384 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11385 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11386 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11387 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11388 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
11389 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11390 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11391 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11392 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11393 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11394 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11395 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11396 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11397 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11398 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11399 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11400 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11401 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
11402 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
11403 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
11404 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
11405 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
11406 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
11407 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
11408 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
11409 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
11410 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11411 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11412 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11413 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11414 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
11415 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11416 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
11417 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
11418 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
11419 (__isnanf): Likewise.
11420 (__isinf_ns): Likewise.
11421 (__isinf_nsf): Likewise.
11422 (__finite): Likewise.
11423 (__finitef): Likewise.
11424 (__ieee754_sqrt): Define as macro.
11425 (__ieee754_sqrtf): Define as macro.
11426 (__ieee754_sqrtl): Define as macro.
11427 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
11429 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
11430 __FINITE_MATH_ONLY__ consistent.
11431 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
11433 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
11435 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
11438 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
11440 2011-10-09 Ulrich Drepper <drepper@gmail.com>
11442 * po/ja.po: Update from translation team.
11444 2011-10-08 Roland McGrath <roland@hack.frob.com>
11446 * locale/programs/locarchive.c (prepare_address_space): New function.
11447 (create_archive, enlarge_archive, open_archive): Use it.
11449 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
11450 inside [SHARED], where it is used.
11452 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
11454 * nss/getent.c (netgroup_keys): Remove unused variable.
11455 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
11457 2011-10-08 Ulrich Drepper <drepper@gmail.com>
11459 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
11460 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
11461 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
11462 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
11463 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
11464 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
11465 * math/Makefile (libm-calls): Add s_isinf_ns.
11466 * math/divtc3.c: Use __isinf_nsl instead of isinf.
11467 * math/multc3.c: Likewise.
11468 * math/s_casin.c: Likewise.
11469 * math/s_casinf.c: Likewise.
11470 * math/s_casinl.c: Likewise.
11471 * math/s_ccos.c: Likewise.
11472 * math/s_ccosf.c: Likewise.
11473 * math/s_ccosl.c: Likewise.
11474 * math/s_ctan.c: Likewise.
11475 * math/s_ctanf.c: Likewise.
11476 * math/s_ctanh.c: Likewise.
11477 * math/s_ctanhf.c: Likewise.
11478 * math/s_ctanhl.c: Likewise.
11479 * math/s_ctanl.c: Likewise.
11480 * math/w_fmod.c: Likewise.
11481 * math/w_fmodf.c: Likewise.
11482 * math/w_fmodl.c: Likewise.
11483 * math/w_remainder.c: Likewise.
11484 * math/w_remainderf.c: Likewise.
11485 * math/w_remainderl.c: Likewise.
11486 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
11487 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
11488 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
11489 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
11490 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
11491 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
11492 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
11493 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
11495 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
11497 * stdio-common/printf_fphex.c: Likewise.
11498 * stdio-common/printf_size.c: Likewise.
11500 * math/e_exp10.c: Include math_private.h using <...> not "...".
11501 * math/e_exp10f.c: Likewise.
11502 * math/e_exp10l.c: Likewise.
11503 * math/e_exp2l.c: Likewise.
11504 * math/e_j0l.c: Likewise.
11505 * math/e_j1l.c: Likewise.
11506 * math/e_jnl.c: Likewise.
11507 * math/e_lgammal_r.c: Likewise.
11508 * math/e_rem_pio2l.c: Likewise.
11509 * math/e_scalb.c: Likewise.
11510 * math/e_scalbf.c: Likewise.
11511 * math/e_scalbl.c: Likewise.
11512 * math/k_cosl.c: Likewise.
11513 * math/k_sinl.c: Likewise.
11514 * math/k_tanl.c: Likewise.
11515 * math/s_cacoshf.c: Likewise.
11516 * math/s_catan.c: Likewise.
11517 * math/s_catanf.c: Likewise.
11518 * math/s_catanh.c: Likewise.
11519 * math/s_catanhf.c: Likewise.
11520 * math/s_catanhl.c: Likewise.
11521 * math/s_catanl.c: Likewise.
11522 * math/s_ccosh.c: Likewise.
11523 * math/s_ccoshf.c: Likewise.
11524 * math/s_ccoshl.c: Likewise.
11525 * math/s_cexp.c: Likewise.
11526 * math/s_cexpf.c: Likewise.
11527 * math/s_cexpl.c: Likewise.
11528 * math/s_clog.c: Likewise.
11529 * math/s_clog10.c: Likewise.
11530 * math/s_clog10f.c: Likewise.
11531 * math/s_clog10l.c: Likewise.
11532 * math/s_clogf.c: Likewise.
11533 * math/s_clogl.c: Likewise.
11534 * math/s_csin.c: Likewise.
11535 * math/s_csinf.c: Likewise.
11536 * math/s_csinh.c: Likewise.
11537 * math/s_csinhf.c: Likewise.
11538 * math/s_csinhl.c: Likewise.
11539 * math/s_csinl.c: Likewise.
11540 * math/s_csqrt.c: Likewise.
11541 * math/s_csqrtf.c: Likewise.
11542 * math/s_csqrtl.c: Likewise.
11543 * math/s_ctan.c: Likewise.
11544 * math/s_ctanf.c: Likewise.
11545 * math/s_ctanh.c: Likewise.
11546 * math/s_ctanhf.c: Likewise.
11547 * math/s_ctanhl.c: Likewise.
11548 * math/s_ctanl.c: Likewise.
11549 * math/s_ldexp.c: Likewise.
11550 * math/s_ldexpf.c: Likewise.
11551 * math/s_ldexpl.c: Likewise.
11552 * math/s_significand.c: Likewise.
11553 * math/s_significandf.c: Likewise.
11554 * math/s_significandl.c: Likewise.
11555 * math/w_acos.c: Likewise.
11556 * math/w_acosf.c: Likewise.
11557 * math/w_acosh.c: Likewise.
11558 * math/w_acoshf.c: Likewise.
11559 * math/w_acoshl.c: Likewise.
11560 * math/w_acosl.c: Likewise.
11561 * math/w_asin.c: Likewise.
11562 * math/w_asinf.c: Likewise.
11563 * math/w_asinl.c: Likewise.
11564 * math/w_atan2.c: Likewise.
11565 * math/w_atan2f.c: Likewise.
11566 * math/w_atan2l.c: Likewise.
11567 * math/w_atanh.c: Likewise.
11568 * math/w_atanhf.c: Likewise.
11569 * math/w_atanhl.c: Likewise.
11570 * math/w_cosh.c: Likewise.
11571 * math/w_coshf.c: Likewise.
11572 * math/w_coshl.c: Likewise.
11573 * math/w_dremf.c: Likewise.
11574 * math/w_exp10.c: Likewise.
11575 * math/w_exp10f.c: Likewise.
11576 * math/w_exp10l.c: Likewise.
11577 * math/w_exp2.c: Likewise.
11578 * math/w_exp2f.c: Likewise.
11579 * math/w_fmod.c: Likewise.
11580 * math/w_fmodf.c: Likewise.
11581 * math/w_fmodl.c: Likewise.
11582 * math/w_hypot.c: Likewise.
11583 * math/w_hypotf.c: Likewise.
11584 * math/w_hypotl.c: Likewise.
11585 * math/w_j0.c: Likewise.
11586 * math/w_j0f.c: Likewise.
11587 * math/w_j0l.c: Likewise.
11588 * math/w_j1.c: Likewise.
11589 * math/w_j1f.c: Likewise.
11590 * math/w_j1l.c: Likewise.
11591 * math/w_jn.c: Likewise.
11592 * math/w_jnf.c: Likewise.
11593 * math/w_jnl.c: Likewise.
11594 * math/w_lgamma.c: Likewise.
11595 * math/w_lgamma_r.c: Likewise.
11596 * math/w_lgammaf.c: Likewise.
11597 * math/w_lgammaf_r.c: Likewise.
11598 * math/w_lgammal.c: Likewise.
11599 * math/w_lgammal_r.c: Likewise.
11600 * math/w_log.c: Likewise.
11601 * math/w_log10.c: Likewise.
11602 * math/w_log10f.c: Likewise.
11603 * math/w_log10l.c: Likewise.
11604 * math/w_log2.c: Likewise.
11605 * math/w_log2f.c: Likewise.
11606 * math/w_log2l.c: Likewise.
11607 * math/w_logf.c: Likewise.
11608 * math/w_logl.c: Likewise.
11609 * math/w_pow.c: Likewise.
11610 * math/w_powf.c: Likewise.
11611 * math/w_powl.c: Likewise.
11612 * math/w_remainder.c: Likewise.
11613 * math/w_remainderf.c: Likewise.
11614 * math/w_remainderl.c: Likewise.
11615 * math/w_scalb.c: Likewise.
11616 * math/w_scalbf.c: Likewise.
11617 * math/w_scalbl.c: Likewise.
11618 * math/w_sinh.c: Likewise.
11619 * math/w_sinhf.c: Likewise.
11620 * math/w_sinhl.c: Likewise.
11621 * math/w_sqrt.c: Likewise.
11622 * math/w_sqrtf.c: Likewise.
11623 * math/w_sqrtl.c: Likewise.
11624 * math/w_tgamma.c: Likewise.
11625 * math/w_tgammaf.c: Likewise.
11626 * math/w_tgammal.c: Likewise.
11628 * po/ja.po: Update from translation team.
11630 2011-09-29 Andreas Jaeger <aj@suse.de>
11633 * sunrpc/netname.c (netname2host): Fix logic.
11637 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
11639 * math/w_remainder.c (__remainder): Likewise.
11640 * math/w_remainderf.c (__remainderf): Likewise.
11641 * math/libm-test.inc (remainder_test): Add test cases.
11643 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11645 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
11648 2011-10-07 Ulrich Drepper <drepper@gmail.com>
11650 * string/test-memcmp.c: Avoid unncessary #defines.
11651 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
11653 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11655 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
11656 Use new sse2 version for core i3 - i7 as it's faster
11657 than sse42 version.
11658 (bit_Prefer_PMINUB_for_stringop): New.
11659 * sysdeps/x86_64/rawmemchr.S: Update.
11660 Replace with faster SSE2 version.
11661 * sysdeps/x86_64/memrchr.S: New file.
11662 * sysdeps/x86_64/memchr.S: Update.
11663 Replace with faster SSE2 version.
11665 2011-09-12 Marek Polacek <mpolacek@redhat.com>
11667 * elf/dl-load.c (lose): Add cast to avoid warning.
11669 2011-10-07 Ulrich Drepper <drepper@gmail.com>
11671 * po/ca.po: Update from translation team.
11673 * inet/getnetgrent_r.c: Hook up nscd.
11674 * nscd/Makefile (routines): Add nscd_netgroup.
11675 (nscd-modules): Add netgroupcache.
11676 (CFLAGS-netgroupcache.c): Define.
11677 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
11678 (cache_search): Add const to second parameter.
11679 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
11681 (dbs): Add netgrdb entry.
11682 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
11683 (verify_persistent_db): Handle netgrdb.
11684 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
11685 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
11687 (netgroup_response_header): Define.
11688 (innetgroup_response_header): Define.
11689 (datahead): Add netgroup_response_header and innetgroup_response_header
11691 * nscd/nscd.conf: Add entries for netgroup cache.
11692 * nscd/nscd.h (dbtype): Add netgrdb.
11693 (_PATH_NSCD_NETGROUP_DB): Define.
11694 (netgroup_iov_disabled): Declare.
11695 (xmalloc, xcalloc, xrealloc): Move declarations here.
11696 (cache_search): Adjust prototype.
11697 Add netgroup-related prototypes.
11698 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
11699 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
11700 (__nscd_innetgr): Declare.
11701 * nscd/selinux.c (perms): Use access_vector_t as element type and
11702 add netgroup-related initializers.
11703 * nscd/netgroupcache.c: New file.
11704 * nscd/nscd_netgroup.c: New file.
11705 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
11706 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
11707 For four parameters use innetgr.
11708 * nss/nss_files/files-init.c: Add definition and callback for netgr.
11709 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
11710 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
11711 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
11713 * nscd/connections.c (register_traced_file): Don't register file
11714 for disabled databases.
11716 2011-10-06 Ulrich Drepper <drepper@gmail.com>
11718 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
11720 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
11721 from tree and freeing node.
11723 2011-09-25 Jiri Olsa <jolsa@redhat.com>
11725 * nss/nsswitch.c (__nss_database_lookup): Handle
11726 nss_parse_service_list out of memory case.
11728 2011-09-15 Jiri Olsa <jolsa@redhat.com>
11730 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
11731 out of memory case.
11733 2011-10-04 Andreas Schwab <schwab@redhat.com>
11735 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
11736 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
11738 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
11739 elf_machine_rela, elf_machine_lazy_rel.
11740 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
11741 (ELF_DYNAMIC_DO_REL): Likewise.
11742 (ELF_DYNAMIC_DO_RELA): Likewise.
11743 (ELF_DYNAMIC_RELOCATE): Likewise.
11744 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
11745 to ELF_DYNAMIC_DO_REL.
11746 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
11747 (dl_main): In trace mode always set __RTLD_NOIFUNC.
11748 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
11750 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
11751 skip_ifunc, don't call ifunc function if non-zero.
11752 (elf_machine_rela): Likewise.
11753 (elf_machine_lazy_rel): Likewise.
11754 (elf_machine_lazy_rela): Likewise.
11755 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
11756 (elf_machine_lazy_rel): Likewise.
11757 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
11759 (elf_machine_lazy_rel): Likewise.
11760 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11762 (elf_machine_lazy_rel): Likewise.
11763 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
11764 (elf_machine_lazy_rel): Likewise.
11765 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
11766 (elf_machine_lazy_rel): Likewise.
11767 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11768 (elf_machine_lazy_rel): Likewise.
11769 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
11770 (elf_machine_lazy_rel): Likewise.
11771 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
11772 (elf_machine_lazy_rel): Likewise.
11773 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
11774 (elf_machine_lazy_rel): Likewise.
11776 2011-09-28 Ulrich Drepper <drepper@gmail.com>
11778 * nss/nss_files/files-init.c (_nss_files_init): Use static
11779 initialization for all the *_traced_file variables.
11781 2011-09-28 Andreas Schwab <schwab@redhat.com>
11783 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11785 2011-09-27 Roland McGrath <roland@hack.frob.com>
11788 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
11790 2011-09-27 Andreas Schwab <schwab@redhat.com>
11792 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11793 Reread the line before reparsing it.
11795 2011-09-26 Andreas Schwab <schwab@redhat.com>
11797 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
11799 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
11800 Maxim Kuvyrkov <maxim@codesourcery.com>
11801 Joseph Myers <joseph@codesourcery.com>
11803 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
11804 if needed for __stack_chk_guard.
11806 2011-09-19 Roland McGrath <roland@hack.frob.com>
11808 * sysdeps/posix/spawni.c (script_execute): Always define it.
11809 It will be optimized away if unused.
11810 (maybe_script_execute): New function.
11811 (__spawni): Call it.
11813 * Makerules: Don't include tls.make.
11814 (config-tls): Always set to thread.
11815 * tls.make.c: File removed.
11817 2011-09-19 Mike Frysinger <vapier@gentoo.org>
11819 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
11820 * config.make.in (CPPFLAGS-config): New substituted variable.
11822 2011-09-15 Ulrich Drepper <drepper@gmail.com>
11824 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
11827 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
11828 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
11830 2011-09-15 Roland McGrath <roland@hack.frob.com>
11832 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
11833 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
11834 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
11835 (CALL_FAIL): Likewise.
11836 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
11837 (CALL_FAIL): Macro removed.
11838 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
11840 2011-09-15 Ulrich Drepper <drepper@gmail.com>
11842 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
11843 for __FINITE_MATH_ONLY__ == 1.
11845 2011-09-15 Andreas Schwab <schwab@redhat.com>
11847 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
11848 __ieee754_sqrt instead of sqrt.
11849 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
11850 __ieee754_sqrtf instead of sqrtf.
11851 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
11852 __floorf instead of floorf.
11853 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
11854 __floorf, __truncf instead of floorf, truncf.
11856 2011-09-14 Ulrich Drepper <drepper@gmail.com>
11858 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
11860 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
11861 __extern_always_inline.
11862 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
11865 2011-09-14 Andreas Schwab <schwab@redhat.com>
11867 * elf/rtld.c (dl_main): Also relocate in dependency order when
11868 doing symbol dependency testing.
11870 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
11872 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11873 Always define `refsym'.
11875 2011-09-13 Andreas Schwab <schwab@redhat.com>
11877 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
11878 (__FD_ELT): Renamed from __FDELT.
11879 * misc/bits/select2.h (__FD_ELT): Likewise.
11880 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
11881 __FD_MASK instead of __FDELT, __FDMASK.
11882 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11884 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11887 * elf/Makefile (gen-ldd): Fix pattern.
11889 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
11890 (init_tls): Likewise.
11892 2011-09-12 Ulrich Drepper <drepper@gmail.com>
11894 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
11896 2011-09-12 Andreas Schwab <schwab@redhat.com>
11898 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
11899 `struct cmsghdr *' instead of `void *'.
11900 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
11903 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
11905 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
11907 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
11908 ldd_rewrite_script.
11910 2011-09-11 Ulrich Drepper <drepper@gmail.com>
11912 * configure.in: Remove --with-tls option.
11913 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
11914 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
11915 out in case it is missing.
11916 * sysdeps/ia64/elf/configure.in: Likewise.
11917 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
11918 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
11919 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
11920 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
11921 * sysdeps/sh/elf/configure.in: Likewise.
11922 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
11923 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
11924 * sysdeps/x86_64/elf/configure.in: Likewise.
11925 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
11926 * sysdeps/mach/hurd/tls.h: Likewise.
11929 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
11932 * configure.in: Fix use of AC_INIT.
11934 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
11936 2011-09-10 Ulrich Drepper <drepper@gmail.com>
11938 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
11940 * malloc/hooks.c: Likewise.
11943 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
11944 variables statically.
11945 (narenas): Initialize.
11946 (list_lock): Initialize.
11947 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
11948 initializtion of main_arena and list_lock. Small cleanups.
11949 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
11950 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
11951 Add initializers to main_arena and mp_.
11952 (malloc_state): Remove pagesize member. Change all users to use
11955 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
11956 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
11957 is always initialized.
11959 * malloc/malloc.c: Removed unused configurations and dead code.
11960 * malloc/arena.c: Likewise.
11961 * malloc/hooks.c: Likewise.
11962 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
11964 * include/tls.h: Removed. USE___THREAD must always be defined.
11965 * bits/libc-tsd.h: Don't handle !USE___THREAD.
11966 * elf/dl-libc.c: Likewise.
11967 * elf/dl-tsd.c: Likewise.
11968 * include/errno.h: Likewise.
11969 * include/netdb.h: Likewise.
11970 * include/resolv.h: Likewise.
11971 * inet/herrno-loc.c: Likewise.
11972 * inet/herrno.c: Likewise.
11973 * malloc/arena.c: Likewise.
11974 * malloc/hooks.c: Likewise.
11975 * malloc/malloc.c: Likewise.
11976 * resolv/res-state.c: Likewise.
11977 * resolv/res_libc.c: Likewise.
11978 * sysdeps/i386/dl-machine.h: Likewise.
11979 * sysdeps/ia64/dl-machine.h: Likewise.
11980 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
11981 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11982 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
11983 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
11984 * sysdeps/sh/dl-machine.h: Likewise.
11985 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11986 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11987 * sysdeps/unix/i386/sysdep.S: Likewise.
11988 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11989 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
11990 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
11991 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11992 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
11993 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11994 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11995 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11996 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11997 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11998 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11999 * sysdeps/x86_64/dl-machine.h: Likewise.
12000 * tls.make.c: Likewise.
12002 * configure.in: Remove --with-__thread option. Make tests for
12003 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
12004 tls_model attribute fail if no support is available. Remove
12006 * Makeconfig: Adjust for dropped configure option. All features are
12008 * Makerules: Likewise.
12009 * Versions.def: Likewise.
12010 * argp/argp-fmtstream.c: Likewise.
12011 * argp/argp-fmtstream.h: Likewise.
12012 * argp/argp-help.c: Likewise.
12013 * assert/assert.c: Likewise.
12014 * config.h.in: Likewise.
12015 * config.make.in: Likewise.
12016 * configure: Likewise.
12017 * configure.in: Likewise.
12018 * csu/Versions: Likewise.
12019 * csu/init.c: Likewise.
12020 * elf/tst-audit2.c: Likewise.
12021 * elf/tst-tls10.c: Likewise.
12022 * elf/tst-tls10.h: Likewise.
12023 * elf/tst-tls11.c: Likewise.
12024 * elf/tst-tls12.c: Likewise.
12025 * elf/tst-tls14.c: Likewise.
12026 * elf/tst-tlsmod11.c: Likewise.
12027 * elf/tst-tlsmod12.c: Likewise.
12028 * elf/tst-tlsmod13.c: Likewise.
12029 * elf/tst-tlsmod13a.c: Likewise.
12030 * elf/tst-tlsmod14a.c: Likewise.
12031 * elf/tst-tlsmod15b.c: Likewise.
12032 * elf/tst-tlsmod16a.c: Likewise.
12033 * elf/tst-tlsmod16b.c: Likewise.
12034 * elf/tst-tlsmod7.c: Likewise.
12035 * elf/tst-tlsmod8.c: Likewise.
12036 * elf/tst-tlsmod9.c: Likewise.
12037 * gmon/gmon.c: Likewise.
12038 * grp/fgetgrent_r.c: Likewise.
12039 * grp/putgrent.c: Likewise.
12040 * hurd/fopenport.c: Likewise.
12041 * include/libc-symbols.h: Likewise.
12042 * include/tls.h: Likewise.
12043 * intl/gettextP.h: Likewise.
12044 * intl/loadinfo.h: Likewise.
12045 * locale/global-locale.c: Likewise.
12046 * locale/localeinfo.h: Likewise.
12047 * mach/devstream.c: Likewise.
12048 * malloc/arena.c: Likewise.
12049 * malloc/set-freeres.c: Likewise.
12050 * misc/err.c: Likewise.
12051 * misc/getttyent.c: Likewise.
12052 * misc/mntent_r.c: Likewise.
12053 * posix/getopt.c: Likewise.
12054 * posix/wordexp.c: Likewise.
12055 * pwd/fgetpwent_r.c: Likewise.
12056 * resolv/Versions: Likewise.
12057 * resolv/res_hconf.c: Likewise.
12058 * shadow/fgetspent_r.c: Likewise.
12059 * shadow/putspent.c: Likewise.
12060 * stdio-common/printf_fphex.c: Likewise.
12061 * stdio-common/tmpfile.c: Likewise.
12062 * stdlib/abort.c: Likewise.
12063 * stdlib/fmtmsg.c: Likewise.
12064 * sunrpc/auth_unix.c: Likewise.
12065 * sunrpc/clnt_perr.c: Likewise.
12066 * sunrpc/clnt_tcp.c: Likewise.
12067 * sunrpc/clnt_udp.c: Likewise.
12068 * sunrpc/clnt_unix.c: Likewise.
12069 * sunrpc/openchild.c: Likewise.
12070 * sunrpc/svc_simple.c: Likewise.
12071 * sunrpc/svc_tcp.c: Likewise.
12072 * sunrpc/svc_udp.c: Likewise.
12073 * sunrpc/svc_unix.c: Likewise.
12074 * sunrpc/xdr.c: Likewise.
12075 * sunrpc/xdr_array.c: Likewise.
12076 * sunrpc/xdr_rec.c: Likewise.
12077 * sunrpc/xdr_ref.c: Likewise.
12078 * sunrpc/xdr_stdio.c: Likewise.
12080 2011-09-09 Ulrich Drepper <drepper@gmail.com>
12082 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12084 2011-07-03 Andreas Jaeger <aj@suse.de>
12086 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
12087 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
12088 regenerate with gen-libm-tests.pl.
12090 2010-05-12 Petr Baudis <pasky@suse.cz>
12093 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
12094 around j0() zero points by switching to j1().
12095 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12096 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12097 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12098 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12100 2011-09-09 Ulrich Drepper <drepper@gmail.com>
12102 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
12104 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
12106 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12107 Patch in part by Pavel Roskin <proski@gnu.org>.
12110 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
12112 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
12113 Free memory block if necessary.
12116 * libio/genops.c (INTDEF): For string streams the _lock pointer can
12117 be NULL. Don't lock in this case.
12119 2011-09-09 Roland McGrath <roland@hack.frob.com>
12121 * elf/elf.h (ELFOSABI_GNU): New macro.
12122 (ELFOSABI_LINUX): Define to that.
12124 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
12126 * string/strncat.c (strncat): Undef the symbol in case it has been
12127 defined in bits/string.h.
12129 2011-09-09 Ulrich Drepper <drepper@gmail.com>
12131 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
12133 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
12136 2011-08-17 Andreas Jaeger <aj@suse.de>
12138 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
12140 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
12141 Ian Lance Taylor <iant@google.com>
12143 * math/libm-test.inc (lround_test): New testcase.
12144 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
12146 2011-09-08 Ulrich Drepper <drepper@gmail.com>
12148 * Makefile: Remove support for automatic cvs check-ins.
12149 * Makerules: Likewise.
12150 * config.make.in: Likewise.
12151 * configure.in: Likewise.
12152 * intl/Makefile: Likewise.
12153 * locale/Makefile: Likewise.
12154 * po/Makefile: Likewise.
12155 * posix/Makefile: Likewise.
12156 * sysdeps/gnu/Makefile: Likewise.
12157 * sysdeps/mach/hurd/Makefile: Likewise.
12158 * sysdeps/sparc/sparc32/Makefile: Likewise.
12161 * posix/Makefile (bug-regex32-ENV): Define.
12162 Patch by John Stanley <jpsinthemix@verizon.net>.
12164 * misc/Makefile (headers): Add bits/select2.h.
12165 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
12166 * misc/bits/select2.h: New file.
12167 * include/bits/select2.h: New file.
12168 * debug/Makefile (routines): Add fdelt_chk.
12169 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
12170 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
12172 * debug/fdelt_chk.c: New file.
12174 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
12175 * wcsmbs/test-wmemcmp.c: Likewise.
12176 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
12177 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
12179 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12181 * string/Makefile (strop-tests): Add memcmp.
12182 * string/test-wmemcmp.c: New file.
12183 * string/test-memcmp.c: Add wmemcmp support.
12185 2011-09-08 Roland McGrath <roland@hack.frob.com>
12188 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
12191 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
12192 garbage value in a __mach_port_mod_refs call in the cases of the
12193 task-self and thread-self ports.
12195 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
12197 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
12199 2011-09-08 Andreas Schwab <schwab@redhat.com>
12201 * elf/dl-load.c (lose): Check for non-null L.
12203 2011-09-07 Ulrich Drepper <drepper@gmail.com>
12205 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
12207 * elf/dl-libc.c (dlerror_run): Pass back error code from
12211 * elf/dl-load.c (lose): Free l_origin if it is valid.
12213 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
12215 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
12216 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12217 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12218 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12219 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
12220 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
12222 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12224 * sysdeps/powerpc/fpu/e_hypot.c: New file.
12225 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
12226 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
12227 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
12228 * sysdeps/powerpc/fpu/k_cosf.c: New file.
12229 * sysdeps/powerpc/fpu/k_sinf.c: New file.
12230 * sysdeps/powerpc/fpu/s_cosf.c: New file.
12231 * sysdeps/powerpc/fpu/s_sinf.c: New file.
12232 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
12233 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
12235 2011-08-15 Alan Modra <amodra@gmail.com>
12238 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
12239 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
12240 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
12241 ppc_mcount to static-only-routines.
12242 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
12244 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
12245 __mcount_internal with usual JUMPTARGET. Remove useless nop.
12247 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
12249 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
12250 for finite and infinity parameters.
12252 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
12254 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
12255 and add nop instructions for throughput optimization.
12256 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12258 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
12260 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
12261 aligned copy for power7 with vector-scalar instructions.
12262 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12264 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
12266 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
12269 2011-09-07 Andreas Schwab <schwab@redhat.com>
12272 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
12275 2011-09-07 Ulrich Drepper <drepper@gmail.com>
12277 * sysdeps/unix/sysv/linux/x86_64/init-first.c
12278 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
12279 syscall wrapper around clock_gettime in __vdso_clock_gettime.
12280 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
12283 2011-09-06 Ulrich Drepper <drepper@gmail.com>
12285 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
12286 Forgot to demangle the pointer.
12288 * sysdeps/i386/sysdep.h: Define atom_text_section.
12289 * sysdeps/x86_64/sysdep.h: Likewise.
12290 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
12291 section with atom_text_section.
12292 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12293 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12294 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
12295 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12296 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
12298 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
12299 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
12300 already be defined. Change to take two parameters and don't assign
12301 result to variable. Adjust all users.
12302 Define INTERNAL_GETTIME if not already defined.
12303 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
12305 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
12306 HAVE_CLOCK_GETTIME_VSYSCALL.
12307 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
12309 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
12310 gettimeofday vsyscall, just use time.
12312 2011-09-06 Andreas Schwab <schwab@redhat.com>
12314 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
12317 2011-09-06 Ulrich Drepper <drepper@gmail.com>
12319 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
12321 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
12323 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
12324 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
12325 syscall if possible.
12327 2011-09-05 Ulrich Drepper <drepper@gmail.com>
12329 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
12330 e_ident. Don't pass to find_mapsXX.
12331 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
12333 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12335 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12336 strchr-sse2-no-bsf strrchr-sse2-no-bsf
12337 * sysdeps/x86_64/multiarch/strchr.S: Update.
12338 Check bit_slow_BSF bit.
12339 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12340 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
12341 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
12343 2011-09-05 Ulrich Drepper <drepper@gmail.com>
12346 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
12348 (tryshell): Define.
12349 (__spawni): Change last parameter to be flag. Test
12350 SPAWN_XFLAGS_USE_PATH flag to use path or not.
12351 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
12352 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
12353 * posix/spawni.c: Likewise.
12354 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
12355 * posix/spawnp.c: Likewise. Change normal version to use
12356 SPAWN_XFLAGS_USE_PATH.
12357 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
12358 SPAWN_XFLAGS_TRY_SHELL.
12361 * posix/glob.h: Remove gcc 1.x support.
12364 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
12366 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12368 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12369 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
12371 * sysdeps/i386/i686/multiarch/strchr.S: New file.
12372 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
12373 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
12374 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
12375 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
12376 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
12378 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12380 * sysdeps/x86_64/wcscmp.S: New file.
12382 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
12383 wcscmp-c wcscmp-sse2
12384 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
12385 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
12386 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
12387 * wcsmbs/wcscmp.c: Allow renaming.
12389 2011-09-05 David S. Miller <davem@davemloft.net>
12391 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
12392 stack slot, rather than the struct return pointer slot.
12393 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
12394 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
12395 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
12396 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
12398 2011-09-05 Ulrich Drepper <drepper@gmail.com>
12400 * po/ja.po: Update from translation team.
12403 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
12404 kernel in 64-bit binaries.
12406 2011-09-01 David S. Miller <davem@davemloft.net>
12408 * elf/elf.h (HWCAP_SPARC_*): Move to..
12409 * sysdeps/sparc/sysdep.h: this new file and add new values.
12410 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
12411 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
12412 _DL_HWCAP_COUNT to 24.
12413 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12415 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
12416 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
12417 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
12418 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
12419 instead of magic constants.
12420 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12422 2011-08-31 David S. Miller <davem@davemloft.net>
12424 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
12425 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
12426 Reimplement to do errno handling inline.
12427 (SYSCALL_ERROR_HANDLER): New macro.
12428 (__SYSCALL_STRING): Do not do errno handling in asm.
12429 (__CLONE_SYSCALL_STRING): Delete.
12430 (__INTERNAL_SYSCALL_STRING): Delete.
12431 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
12432 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
12433 (PSEUDO): Reimplement to do errno handling inline.
12434 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
12435 (SYSCALL_ERROR_HANDLER): New macro.
12436 (__SYSCALL_STRING): Do not do errno handling in asm.
12437 (__CLONE_SYSCALL_STRING): Delete.
12438 (__INTERNAL_SYSCALL_STRING): Delete.
12439 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
12440 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
12442 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
12443 (inline_syscall*): Add 'err' argument.
12444 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
12445 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
12446 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
12447 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
12449 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
12450 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
12452 2011-08-30 Andreas Schwab <schwab@redhat.com>
12454 * elf/rtld.c (dl_main): Relocate objects in dependency order.
12456 2011-08-29 Jiri Olsa <jolsa@redhat.com>
12458 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
12461 2011-08-24 David S. Miller <davem@davemloft.net>
12463 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
12465 2011-08-24 Andreas Schwab <schwab@redhat.com>
12467 * elf/Makefile: Add rules to build and run unload8 test.
12468 * elf/unload8.c: New file.
12469 * elf/unload8mod1.c: New file.
12470 * elf/unload8mod1x.c: New file.
12471 * elf/unload8mod2.c: New file.
12472 * elf/unload8mod3.c: New file.
12474 * elf/dl-close.c (_dl_close_worker): Reset private search list if
12477 2011-08-23 David S. Miller <davem@davemloft.net>
12479 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
12480 subtract stack bias.
12481 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
12482 %sp not %fp in calculations.
12483 (_JMPBUF_UNWINDS_ADJ): Likewise.
12485 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
12486 (aio_suspend): Call it to force an exception region around the
12487 AIO_MISC_WAIT() invocation.
12489 2011-08-23 Andreas Schwab <schwab@redhat.com>
12491 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
12494 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
12496 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
12498 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
12499 and <dl-machine.h>.
12500 (Elf64_FuncDesc): Remove.
12502 2011-08-22 David S. Miller <davem@davemloft.net>
12504 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
12505 sigaltstack check, add missing cfi directives.
12506 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
12507 missing cfi directives, and sigaltstack handling.
12509 2011-08-16 Andreas Schwab <schwab@redhat.com>
12512 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
12513 object is seen twice.
12514 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12516 * elf/Makefile (distribute): Add tst-initorder2.c.
12517 (tests): Add tst-initorder2.
12518 (modules-names): Add tst-initorder2a tst-initorder2b
12519 tst-initorder2c tst-initorder2d. Add rules to build them.
12520 ($(objpfx)tst-initorder2.out): New rule.
12521 * elf/tst-initorder2.c: New file.
12522 * elf/tst-initorder2.exp: New file.
12524 2011-08-22 Andreas Schwab <schwab@redhat.com>
12526 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
12528 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
12529 dependencies back to end of function.
12531 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
12532 $(elfobjdir)/ld.so.
12534 2011-08-21 Ulrich Drepper <drepper@gmail.com>
12536 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
12537 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
12538 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
12539 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
12540 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
12541 of __vdso_gettimeofday.
12542 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
12543 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
12545 (_libc_vdso_platform_setup): Remove initialization of
12546 __vdso_gettimeofday and __vdso_time.
12548 2011-08-20 Ulrich Drepper <drepper@gmail.com>
12550 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
12551 and fgetc_unlocked.
12552 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
12555 * elf/dl-open.c (add_to_global): Report additions to the global scope
12556 for LD_DEBUG=scopes.
12557 (dl_open_worker): Also print scope of newly loaded dependencies.
12558 (_dl_show_scope): Indicate if there is no scope.
12561 * stdio-common/Makefile (tests): Add bug24.
12562 * stdio-common/bug24.c: New file.
12564 2011-08-19 Andreas Jaeger <aj@suse.de>
12567 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
12568 non-existant file when using close-on-exec mode.
12570 2011-08-20 Ulrich Drepper <drepper@gmail.com>
12572 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
12573 the very first instruction.
12575 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
12576 the CFI state in the end.
12577 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
12578 inclusion of dl-trampoline.h.
12579 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
12581 2011-08-19 Andreas Schwab <schwab@redhat.com>
12583 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
12584 expectations for long double.
12586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
12587 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
12589 2011-08-14 David S. Miller <davem@davemloft.net>
12591 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
12592 artificual limit depends upon the system page size.
12594 2011-08-17 Ulrich Drepper <drepper@gmail.com>
12596 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
12597 * resolv/Makefile: Define CFLAGS-libresolv.
12599 2011-08-17 Andreas Schwab <schwab@redhat.com>
12601 * nss/makedb.c (compute_tables): Make variables used in nested
12604 2011-08-17 Ulrich Drepper <drepper@gmail.com>
12606 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
12607 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
12608 if buffer was too small.
12610 * elf/pldd.c (main): Attach to all threads in the process.
12611 Rewrite /proc handling to use *at functions.
12613 2011-08-16 Ulrich Drepper <drepper@gmail.com>
12615 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
12616 specifies first scope to show.
12617 (dl_open_worker): Update callers. Move printing scope of new
12618 object to before the relocation.
12619 * elf/rtld.c (dl_main): Update _dl_show_scope call.
12620 * sysdeps/generic/ldsodefs.h: Update declaration.
12622 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
12623 string for the scope number.
12625 2011-08-14 Ulrich Drepper <drepper@gmail.com>
12627 * nscd/servicescache.c (cache_addserv): Make sure written is always
12630 2011-08-14 Roland McGrath <roland@hack.frob.com>
12632 * sysdeps/i386/i486/bits/atomic.h
12633 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
12634 statement expression, so as to suppress "set but not used" warning.
12635 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
12637 * string/strncat.c (STRNCAT): Use prototype definition.
12639 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
12640 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
12642 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
12643 (localedef-modules): Add localedef.
12644 (locale-modules): Add locale.
12646 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
12647 * elf/rtld.c (dl_main): Invert order of assignment in last change,
12648 to avoid a warning.
12650 2011-08-14 David S. Miller <davem@davemloft.net>
12652 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
12653 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
12655 2011-08-13 Ulrich Drepper <drepper@gmail.com>
12657 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
12658 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
12659 * elf/rtld.c (dl_main): Set l_name of vDSO.
12660 Call _dl_show_scope when DL_DEBUG_SCOPES.
12661 (process_dl_debug): Recognize scopes flag and also set it for all.
12662 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
12663 Declare _dl_show_scope.
12665 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
12666 (do_dlopen): Pass caller_dlopen to dl_open.
12667 (__libc_dlopen_mode): Initialize caller_dlopen.
12669 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
12670 of libc. Make tolower call locale-independent. Optimize a bit by
12671 using isdigit instead of isalnum.
12672 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
12674 2011-08-12 Ulrich Drepper <drepper@gmail.com>
12676 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
12677 was a dependency or dynamically loaded.
12679 2011-08-11 Ulrich Drepper <drepper@gmail.com>
12681 * intl/l10nflist.c: Allow architecture-specific pop function.
12682 * sysdeps/x86_64/l10nflist.c: New file.
12684 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
12687 2011-08-10 Andreas Schwab <schwab@redhat.com>
12689 * include/dirent.h: Add libc_hidden_proto for scandirat and
12690 scandirat64. Don't declare __scandirat64.
12691 * dirent/scandirat.c: Add libc_hidden_def.
12692 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
12693 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
12695 2011-08-10 David S. Miller <davem@davemloft.net>
12697 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
12699 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12700 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12701 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12703 2011-08-09 Ulrich Drepper <drepper@gmail.com>
12705 * Versions.def [libc]: Add GLIBC_2.15.
12706 * dirent/Makefile (routines): Add scandirat and scandirat64.
12707 * dirent/Versions [libc]: Export scandirat and scandirat64 for
12709 * dirent/dirent.h: Declare scandirat and scandirat64.
12710 * dirent/scandirat.c: New file.
12711 * dirent/scandirat64.c: New file.
12712 * sysdeps/wordsize-64/scandirat.c: New file.
12713 * sysdeps/wordsize-64/scandirat64.c: New file.
12714 * dirent/opendir.c: Define opendirat.
12715 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
12717 * dirent/scandir64.c: Adjust for scandir.c change.
12718 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
12719 __scandirat64, and __scandir_cancel_handler.
12720 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
12721 additional parameter and use openat instead of open (outside of ld.so).
12722 Add new __opendir as wrapper around __opendirat.
12723 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
12724 here without requiring old scandirat implementation.
12726 2011-08-08 Ulrich Drepper <drepper@gmail.com>
12728 * dirent/scandir.c (cancel_handler): Renamed to
12729 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
12730 defined. Adjust users.
12731 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
12732 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
12734 2011-08-04 Ulrich Drepper <drepper@gmail.com>
12736 * string/test-string.h (IMPL): Use __STRING to expand name and then
12739 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
12742 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12744 * string/Makefile: Update.
12745 (strop-tests): Append strncat.
12746 * string/test-wcscmp.c: New file.
12747 New comprehensive test for wcscmp.
12748 * string/test-strcmp.c: Update.
12749 (WIDE): New define.
12751 2011-07-22 Andreas Schwab <schwab@redhat.com>
12753 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
12756 2011-07-26 Andreas Schwab <schwab@redhat.com>
12758 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12759 encoding to ACE if AI_IDN.
12761 2011-08-01 Jakub Jelinek <jakub@redhat.com>
12763 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
12764 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
12766 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12768 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
12769 Fix overflow bug in strncat.
12770 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
12772 * string/test-strncat.c: Update.
12773 Add new tests for checking overflow bugs.
12775 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12777 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12778 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
12779 * sysdeps/i386/i686/multiarch/strcat.S: New file.
12780 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
12781 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
12782 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
12783 * sysdeps/i386/i686/multiarch/strncat.S: New file.
12784 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
12785 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
12787 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
12788 (USE_AS_STRCAT): Define.
12789 Add strcat and strncat support.
12790 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12792 2011-07-25 Andreas Schwab <schwab@redhat.com>
12794 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
12795 __n bigger than INT_MAX+1.
12796 (__strncmp_g): Likewise.
12798 2011-07-23 Ulrich Drepper <drepper@gmail.com>
12800 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
12801 * libio/stido.h: Likewise.
12803 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
12805 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
12808 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
12809 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12810 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12811 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
12812 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12815 * scripts/test-installation.pl: Don't expect libnss_test1 to be
12818 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
12820 (_dl_x86_64_save_sse): Likewise.
12822 2011-07-22 Ulrich Drepper <drepper@gmail.com>
12824 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
12826 (_dl_x86_64_save_sse): Likewise.
12828 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
12830 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
12832 2011-07-21 Andreas Schwab <schwab@redhat.com>
12834 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
12836 (_dl_x86_64_save_sse): Use correct AVX check.
12838 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12840 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
12841 bug in strncpy/strncat.
12842 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
12844 2011-07-21 Ulrich Drepper <drepper@gmail.com>
12846 * string/tester.c (test_strcat): Add tests for different alignments
12847 of source and destination.
12848 (test_strncat): Likewise.
12850 2011-07-20 Ulrich Drepper <drepper@gmail.com>
12853 * posix/glob.c (glob): Check passed in values before using them in
12854 expressions to avoid some overflows.
12855 (glob_in_dir): Likewise.
12858 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
12859 check for AVX enablement so that we don't crash with old kernels and
12861 * elf/tst-audit4.c: Add same checks here.
12862 * elf/tst-audit6.c: Likewise.
12864 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
12866 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
12868 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
12870 2011-07-20 Ulrich Drepper <drepper@gmail.com>
12872 * po/cs.po: Update from translation team.
12873 * po/bg.po: Likewise.
12875 2011-07-12 Marek Polacek <mpolacek@redhat.com>
12877 * misc/sys/cdefs.h: Add support for const attribute.
12878 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
12879 to gnu_dev_{major,minor,makedev} functions.
12881 2011-07-20 Marek Polacek <mpolacek@redhat.com>
12883 * intl/dcigettext.c (get_output_charset): Add missing bracket.
12885 2011-07-20 Andreas Schwab <schwab@redhat.com>
12887 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
12890 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12892 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
12893 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
12894 register in order to avoid conflicts with the soft frame pointer
12895 being held in r11 when necessary.
12896 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
12897 (INTERNAL_VSYSCALL_NCS): Likewise.
12899 2011-07-14 Marek Polacek <mpolacek@redhat.com>
12901 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
12902 * elf/dl-fini.c (_dl_fini): Adjust caller.
12903 * elf/dl-close.c (_dl_close_worker): Likewise.
12904 * sysdeps/generic/ldsodefs.h: Adjust declaration.
12906 2011-07-15 Marek Polacek <mpolacek@redhat.com>
12908 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
12909 "aux_cache->nlibs < 0".
12911 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
12912 in the reload-count case.
12914 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12916 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12917 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
12918 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
12919 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
12920 * sysdeps/x86_64/multiarch/strcat.S: New file.
12921 * sysdeps/x86_64/multiarch/strncat.S: New file.
12922 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
12923 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
12924 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
12925 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
12926 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
12927 (USE_AS_STRCAT): Define.
12928 Add strcat and strncat support.
12929 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12930 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12931 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
12932 * string/strncat.c: Update.
12933 (USE_AS_STRNCAT): Define.
12934 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12935 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
12937 * sysdeps/x86_64/multiarch/init-arch.h
12938 (bit_Prefer_PMINUB_for_stringop): New.
12939 (index_Prefer_PMINUB_for_stringop): Likewise.
12940 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
12941 bit_Prefer_PMINUB_for_stringop.
12943 2011-07-19 Ulrich Drepper <drepper@gmail.com>
12945 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
12947 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
12948 of casting of buffer.
12949 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
12950 buffer32 and buffer64.
12951 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
12952 writes instead of casting of buffer.
12953 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
12955 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
12958 2011-07-19 Andreas Schwab <schwab@redhat.com>
12960 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
12962 2011-07-19 Ulrich Drepper <drepper@gmail.com>
12964 * nscd/nscd.c (termination_handler): Don't do anything for a database
12965 if it has not yet been initialized.
12967 2011-07-18 Ulrich Drepper <drepper@gmail.com>
12969 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
12971 2011-07-15 Marek Polacek <mpolacek@redhat.com>
12973 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
12975 2011-07-18 Ulrich Drepper <drepper@gmail.com>
12977 * po/nl.po: Update from translation team.
12978 * po/sv.po: Likewise.
12980 2011-07-16 Roland McGrath <roland@hack.frob.com>
12982 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
12983 now disallowed by GCC.
12985 * configure.in (use-default-link): Default to yes if a test -shared
12986 link meets our qualifications.
12987 * configure: Regenerated.
12989 * config.make.in (output-format): New variable.
12990 * configure.in: Check for ld --print-output-format support.
12991 * configure: Regenerated.
12992 * Makerules ($(common-objpfx)format.lds)
12993 [$(output-format) != unknown]: Just use $(output-format),
12994 instead of the linker-script munging.
12996 2011-07-14 Roland McGrath <roland@hack.frob.com>
12998 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
12999 of $(common-objpfx)shlib.lds.
13000 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
13002 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
13003 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
13005 * configure.in (-z relro check): Adjust test code to add a large
13006 writable data section after it.
13007 * configure: Regenerated.
13009 2011-07-11 Roland McGrath <roland@hack.frob.com>
13011 * configure.in (-z relro check): Fix test code to make the variable
13013 * configure: Regenerated.
13015 2011-07-11 Ulrich Drepper <drepper@gmail.com>
13017 * nscd/nscd.h (struct traced_file): Define.
13018 (struct database_dyn): Remove inotify_descr, reset_res, and filename
13019 elements. Add traced_files.
13020 (inotify_fd): Declare.
13021 (register_traced_file): Declare.
13022 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
13023 (inotify_fd): Export.
13024 (resolv_conf_descr): Remove.
13025 (nscd_init): Move inotify descriptor creation to main.
13026 Don't register files for notification here.
13027 (register_traced_file): New function.
13028 (invalidate_cache): Don't use reset_res to determine whether to call
13029 res_init, go through the list of registered files.
13030 (main_loop_poll): The inotify descriptors are now stored in the
13031 structures for the traced files.
13032 (main_loop_epoll): Likewise
13033 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
13034 to __nss_disable_nscd.
13035 * nscd/cache.c (prune_cache): There is no single inotify descriptor
13036 for a database anymore. Check the records for all the registered
13038 * nss/Makefile (libnss_files-routines): Add files-init.
13039 (libnss_db-routines): Add db-init.
13040 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
13041 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
13042 * nss/nss_db/db-init.c: New file.
13043 * nss/nss_files/files-init.c: New file.
13044 * nss/nsswitch.c (nss_load_library): New function. Broken out of
13045 __nss_lookup_function.
13046 (__nss_lookup_function): Call nss_load_library.
13047 (nss_load_all_libraries): New function.
13048 (__nss_disable_nscd): Take parameter with callback function for files
13049 to register. Set is_nscd. Load all the DSOs for the NSS modules
13050 used for the cached services.
13051 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
13052 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
13053 options for features to all the files in nscd.
13055 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
13057 2011-07-10 Roland McGrath <roland@hack.frob.com>
13059 * csu/elf-init.c (__libc_csu_init): Comment typo.
13061 2011-07-09 Ulrich Drepper <drepper@gmail.com>
13063 * po/pl.po: Update from translation team.
13064 * po/ja.po: Likewise.
13065 * po/ru.po: Likewise.
13066 * po/ko.po: Likewise.
13067 * po/fr.po: Likewise.
13069 2011-07-09 Roland McGrath <roland@hack.frob.com>
13071 * configure.in (.ctors/.dtors header and trailer check):
13072 Use an empirical test on a built program.
13073 * configure: Regenerated.
13075 * configure.in (-z relro check): Use an empirical test on a built DSO.
13076 Detect, but do not require, on ia64.
13077 * configure: Regenerated.
13079 * configure.in (READELF): Find it with AC_CHECK_TOOL.
13080 Update tests that use readelf to use $READELF instead.
13081 * configure: Regenerated.
13083 2011-07-08 Ulrich Drepper <drepper@gmail.com>
13085 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
13086 if the result is not used.
13088 2011-07-05 Andreas Jaeger <aj@suse.de>
13091 * stdlib/tst-strtod.c: Add testcase.
13093 2011-07-07 Ulrich Drepper <drepper@gmail.com>
13095 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
13096 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
13097 The latter has a higher limit. Take additional parameter to pass to
13099 (__pathconf): Pass file to __statfs_link_max.
13100 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
13102 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
13106 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
13107 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13109 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
13110 (__statfs_filesize_max): Likewise.
13111 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
13113 2011-07-05 Andreas Jaeger <aj@suse.de>
13115 * resolv/res_comp.c (dn_skipname): Remove unused variable.
13117 2011-07-06 Marek Polacek <mpolacek@redhat.com>
13119 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
13121 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
13124 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
13126 * Makefile (strop-tests): Add strncat.
13127 * string/test-strncat.c: New file.
13129 2011-06-30 Marek Polacek <mpolacek@redhat.com>
13131 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
13133 2011-06-21 Andreas Jaeger <aj@suse.de>
13135 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
13136 Copy rule from iconvdata/Makefile.
13138 2011-07-06 Ulrich Drepper <drepper@gmail.com>
13141 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
13142 but no long options are defined, just return 'W'.
13144 2011-06-22 Marek Polacek <mpolacek@redhat.com>
13147 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
13149 2011-07-06 Ulrich Drepper <drepper@gmail.com>
13151 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
13153 (innetgr): Likewise.
13155 2011-07-05 Roland McGrath <roland@hack.frob.com>
13157 * config.make.in (install_root): Default to $(DESTDIR).
13159 2011-07-05 Ulrich Drepper <drepper@gmail.com>
13161 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
13163 2011-07-02 Roland McGrath <roland@hack.frob.com>
13165 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
13167 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
13168 containing directory rather than embedding absolute directory names.
13170 * scripts/check-local-headers.sh: Rewritten using awk.
13171 Match by word, not by line. Print error messages for matches.
13172 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
13174 * Makerules [shlib-lds-flags empty]:
13175 ($(common-objpfx)libc_pic.opts): New target.
13176 ($(common-objpfx)libc_pic.os.clean): New target.
13177 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
13179 * config.make.in (OBJCOPY): New variable.
13180 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
13181 * configure: Regenerated.
13183 * config.make.in (use-default-link): New variable.
13184 * configure.in (use_default_link): Grok --with-default-link to set it.
13185 * configure: Regenerated.
13186 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
13187 (shlib-lds, shlib-lds-flags): Define to empty.
13189 * Makerules (shlib-lds): New variable.
13190 (shlib-lds-flags): New variable.
13191 (build-shlib, build-moduile, build-module-asneeded): Use it.
13192 ($(common-objpfx)libc.so): Use $(shlib-lds).
13193 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
13194 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
13196 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
13197 DT_FLAGS/DT_FLAGS_1 with zero flags.
13199 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
13200 linker script munging.
13202 2011-07-02 Ulrich Drepper <drepper@gmail.com>
13204 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
13206 * crypt/sha512.c (sha512_process_block): Perform total addition using
13207 128-bit if possible.
13208 (__sha512_finish_ctx): Likewise.
13209 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
13211 * crypt/sha256.c (SWAP64): Define.
13212 (sha256_process_block): Perform total addition using 64-bit if
13214 (__sha256_finish_ctx): Likewise.
13216 2011-07-01 Ulrich Drepper <drepper@gmail.com>
13218 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
13219 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13220 * nscd/hstcache.c (cache_addhst): Likewise.
13221 * nscd/grpcache.c (cache_addgr): Likewise.
13222 * nscd/aicache.c (addhstaiX): Likewise
13223 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
13225 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
13227 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
13228 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13229 * nscd/hstcache.c (cache_addhst): Likewise.
13230 * nscd/grpcache.c (cache_addgr): Likewise.
13231 * nscd/aicache.c (addhstaiX): Likewise
13233 2011-07-01 Andreas Schwab <schwab@redhat.com>
13235 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
13236 domain only when needed.
13238 2011-06-30 Andreas Schwab <schwab@redhat.com>
13240 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
13241 is always restored.
13243 2011-06-29 Ulrich Drepper <drepper@gmail.com>
13245 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
13246 are re-adding the entry.
13247 * nscd/servicescache.c (cache_addserv): Likewise.
13249 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
13251 * sysdeps/generic/dl-irel.h: fix protection against multiple
13253 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
13255 2011-06-28 Ulrich Drepper <drepper@gmail.com>
13258 * malloc/memusage.sh: Fix quoting in message.
13259 * debug/xtrace.sh: Likewise.
13261 * configure.in: Remove support for --experimental-malloc option, make
13263 * config.make.in: Likewise.
13264 * malloc/Makefile: Likewise.
13266 2011-06-27 Andreas Schwab <schwab@redhat.com>
13268 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
13269 two-byte characters.
13271 2011-06-27 Roland McGrath <roland@hack.frob.com>
13273 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
13274 AC_CACHE_CHECK invocation.
13275 * configure: Regenerated.
13277 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
13279 2011-06-27 Ulrich Drepper <drepper@gmail.com>
13282 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
13283 bit from old_res_options.
13285 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
13287 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
13288 value type for setfct.
13290 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
13292 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13293 __gettimeofday instead of gettimeofday.
13295 2011-06-26 Ulrich Drepper <drepper@gmail.com>
13297 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
13299 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
13301 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
13303 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
13306 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13308 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13309 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13310 strcpy-sse2-unaligned strncpy-sse2-unaligned
13311 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
13312 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
13313 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
13314 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
13315 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
13316 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
13317 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
13318 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
13319 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
13320 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
13321 (STRCPY): Support SSE2 and SSSE3 versions.
13323 2011-06-24 Ulrich Drepper <drepper@gmail.com>
13326 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
13327 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
13328 kernels which artificially limit size of requests.
13330 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13332 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13333 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13334 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
13335 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
13336 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
13337 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
13338 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
13339 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
13340 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
13341 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
13342 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
13343 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
13344 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
13345 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
13346 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
13347 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13348 Enable unaligned load optimization for Intel Core i3, i5 and i7
13350 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
13352 (index_Fast_Unaligned_Load): Define.
13353 (HAS_FAST_UNALIGNED_LOAD): Define.
13355 2011-06-23 Marek Polacek <mpolacek@redhat.com>
13357 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
13359 2011-06-22 Ulrich Drepper <drepper@gmail.com>
13362 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
13363 until it is clear that the information is realy needed.
13364 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
13366 2011-06-22 Andreas Schwab <schwab@redhat.com>
13368 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
13370 2011-06-22 Ulrich Drepper <drepper@gmail.com>
13372 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13373 /sys/devices/system/cpu/online if it is usable.
13375 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
13376 reading the information from the /proc filesystem to once a second.
13378 2011-06-21 Andreas Jaeger <aj@suse.de>
13380 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
13381 NULL after inclusion of kernel headers.
13383 2011-06-21 Ulrich Drepper <drepper@gmail.com>
13385 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
13386 calls to internal_setent.
13389 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
13390 addresses using gethostbyname4_r ignore IPv4 addresses.
13392 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
13393 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
13395 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
13397 2011-06-20 David S. Miller <davem@davemloft.net>
13399 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
13401 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
13403 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
13404 (elf_irel): Use it.
13405 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
13406 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
13407 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
13408 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
13409 * sysdeps/x86_64/dl-irel.h: Likewise.
13411 * elf/dl-runtime.c: Use elf_ifunc_invoke.
13412 * elf/dl-sym.c: Likewise.
13414 2011-06-15 Ulrich Drepper <drepper@gmail.com>
13416 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
13417 need to dereference resplen2.
13419 2011-06-14 Andreas Schwab <schwab@redhat.com>
13421 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
13423 2011-06-15 Ulrich Drepper <drepper@gmail.com>
13425 * Makeconfig: Define vardbdir and inst_vardbdir.
13426 * nss/Makefile: Add rules to install db-Makefile.
13428 * nss/nss_db/db-XXX.c: Cleanup.
13430 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
13431 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
13433 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
13434 * nss/makedb.c: Implement -g option to specify that value strings
13435 are generated and should not be added to table iterated over for
13437 * nss/nss_db/db-initgroups.c: New file.
13439 * nss/getent.c: Add support for initgroups lookups through getgrouplist
13442 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
13443 (internal_getgrouplist): Adjust to name change.
13444 Update use_initgroups_entry if this is not the first call.
13445 * nss/databases.def: Add initgroups entry.
13447 * nss/makedb.c (compute_tables): Check result of multiple hash table
13448 sizes to minimize maximum chain length.
13450 2011-06-14 Ulrich Drepper <drepper@gmail.com>
13452 * Versions.def: Add entry for libnss_db.
13453 * shlib-versions: Likewise.
13454 * nss/Makefile: Add rules to build libnss_db.
13455 * nss/Versions: Add libnss_db information. Organize libnss_files
13457 * nss/db-Makefile: Add gshadow support. Change rules for the new
13458 makedb progra. Some minor improvements to generate smaller files.
13459 * nss/nss_db/nss_db.h: Move NSS database header data structures to
13461 * nss/makedb.c: ...here.
13462 Improve database format to be smaller and require less memory at
13464 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
13466 * nss/nss_db/db-netgrp.c: Likewise.
13467 * nss/nss_db/db-open.c: Likewise.
13468 * nss/nss_files/flies-XXX.x: Adjust comments.
13469 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
13470 * nss/nss_files/files-grp.c: Likewise.
13471 * nss/nss_files/files-hosts.c: Likewise.
13472 * nss/nss_files/files-network.c: Likewise.
13473 * nss/nss_files/files-proto.c: Likewise.
13474 * nss/nss_files/files-pwd.c: Likewise.
13475 * nss/nss_files/files-rpc.c: Likewise.
13476 * nss/nss_files/files-service.c: Likewise.
13477 * nss/nss_files/files-sgrp.c: Likewise.
13478 * nss/nss_files/files-spwd.c: Likewise.
13479 * nss/nss_db/db-alias.c: Removed.
13480 * nss/nss_db/dummy-db.h: Removed.
13482 2011-06-02 Ulrich Drepper <drepper@gmail.com>
13484 * nss/makedb.c: Rewritten to not use database library.
13485 * nss/Makefile: Update to build new makedb program.
13487 2011-06-14 Andreas Jaeger <aj@suse.de>
13489 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
13490 memset declaration.
13492 2011-06-10 Andreas Schwab <schwab@redhat.com>
13494 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
13497 2011-06-10 Roland McGrath <roland@hack.frob.com>
13499 * Makerules (shlib.lds): Fail if the linker script comes out empty.
13500 * elf/Makefile ($(objpfx)ld.so): Likewise.
13502 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
13503 Don't list ld.so twice in dependencies.
13505 * posix/bug-regex31.c: Include <stdlib.h>.
13507 * nscd/hstcache.c (cache_addhst): Remove unused variable.
13509 * nis/nss_compat/compat-spwd.c
13510 (getspent_next_nss_netgr): Remove unused variable.
13511 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
13513 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
13514 nonmembers" output to use the right array.
13516 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
13518 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
13520 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
13521 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
13522 * catgets/gencat.c (read_input_file): Likewise.
13523 * locale/programs/locarchive.c (enlarge_archive): Likewise.
13525 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
13526 variable definition inside #if's controlling its use.
13528 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
13530 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
13532 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
13534 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
13537 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
13539 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
13540 * configure: Regenerated.
13542 * Makerules: Revert last change.
13543 * elf/Makefile: Likewise.
13545 2011-06-09 Roland McGrath <roland@hack.frob.com>
13547 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
13548 * elf/Makefile ($(objpfx)librtld.os): Likewise.
13549 (reloc-link): Likewise.
13551 2011-06-09 Ulrich Drepper <drepper@gmail.com>
13553 * elf/Makefile: Add rules to build pldd.
13554 * elf/pldd.c: New file.
13555 * elf/pldd-xx.c: New file.
13557 2011-06-07 Ulrich Drepper <drepper@gmail.com>
13559 * version.h: Update for 2.15 development version.
13561 2011-06-07 David S. Miller <davem@davemloft.net>
13563 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
13565 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
13566 elf_machine_lazy_rel): Likewise.
13567 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
13568 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
13569 elf_machine_lazy_rel): Likewise.
13570 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
13571 dl_hwcap via passed in argument.
13572 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
13575 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13577 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
13579 2011-06-06 Roland McGrath <roland@hack.frob.com>
13582 * manual/fdl-1.1.texi: New file, verbatim from:
13583 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
13584 * manual/lgpl-2.1.texi: New file, verbatim from:
13585 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
13586 * manual/Makefile (licenses): New variable, list those new file names.
13588 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
13590 * manual/fdl.texi: File removed.
13591 * manual/lesser.texi: File removed.
13592 * manual/libc.texinfo (Copying, Documentation License):
13593 Use new @include file names, put @appendix directive before @include.
13595 2011-06-04 Jakub Jelinek <jakub@redhat.com>
13598 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
13599 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
13600 (mq_open): Add __NTH.
13602 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
13604 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13605 Assume Intel Core i3/i5/i7 processor if AVX is available.
13607 2011-05-31 Ulrich Drepper <drepper@gmail.com>
13609 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13612 2011-05-31 Andreas Schwab <schwab@redhat.com>
13614 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
13615 memory. Use alloca_account. Fix memory leak when retrying.
13617 2011-05-31 Ulrich Drepper <drepper@gmail.com>
13619 * version.h (RELEASE): Bump for 2.14 release.
13620 * include/features.h (__GLIBC_MINOR__): Bump to 14.
13622 * config.make.in (RANLIB): Remove entry.
13624 2011-05-30 Ulrich Drepper <drepper@gmail.com>
13626 * po/Makefile (po-sed-cmd): Add ksh to extensions.
13627 (libc.pot): Work around missing support for .ksh extension in xgettext.
13630 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
13631 if both request failed.
13632 (send_dg): In case of server errors clear resplen or *resplen2.
13635 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
13636 when there are multiple maps.
13637 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
13638 (_dl_fini): Remove test here.
13640 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
13642 2011-05-29 Ulrich Drepper <drepper@gmail.com>
13645 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
13646 bit from old_res_options.
13647 (gaih_inet): Likewise.
13650 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
13653 * resolv/res_init.c (res_setoptions): Make the code more compact.
13656 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
13660 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
13662 * malloc/malloc.h: Mark malloc hook variables as deprecated.
13665 * malloc/malloc.h: Declare malloc hook variables as volatile.
13667 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
13671 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
13672 raise in the comment.
13673 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
13674 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13675 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
13677 2011-05-28 Ulrich Drepper <drepper@gmail.com>
13680 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
13681 grow the buffers more if it already has to be sufficient.
13682 (build_wcs_upper_buffer): Likewise.
13683 * posix/regexec.c (check_matching): Likewise.
13684 (clean_state_log_if_needed): Likewise.
13685 (extend_buffers): Don't enlarge buffers beyond size of the input
13687 Patches mostly by Emil Wojak <emil@wojak.eu>.
13688 * posix/bug-regex32.c: New file.
13689 * posix/Makefile (tests): Add bug-regex32.
13691 * locale/findlocale.c (_nl_find_locale): Return right away if
13692 _nl_explode_name failed.
13693 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
13695 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
13697 * debug/xtrace.sh: Unify messages.
13698 * malloc/memusage.sh: Likewise.
13701 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
13702 time symbol from vDSO. Substitute with vsyscall if not available.
13703 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
13706 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
13707 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
13708 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
13709 Add sendmmsg and internal_sendmmsg.
13710 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
13711 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
13712 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
13714 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
13715 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
13716 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
13718 2011-05-27 Ulrich Drepper <drepper@gmail.com>
13721 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
13722 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
13724 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
13728 * iconvdata/Makefile (tests): Add bug-iconv9.
13729 * iconvdata/bug-iconv9.c: New file.
13731 2011-05-27 Andreas Schwab <schwab@redhat.com>
13734 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
13736 2011-05-25 Jakub Jelinek <jakub@redhat.com>
13738 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13739 (struct user_regs_struct): Change intcs field back to cs.
13741 2011-05-25 Ulrich Drepper <drepper@gmail.com>
13743 * po/ja.po: Update from translation team.
13745 2011-05-23 Ulrich Drepper <drepper@gmail.com>
13748 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
13749 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
13751 2011-05-20 Andreas Schwab <schwab@redhat.com>
13753 * stdlib/longlong.h: Update from GCC.
13755 2011-05-23 Andreas Schwab <schwab@redhat.com>
13757 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
13759 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
13760 Add parameter name.
13761 (__sysconf): Pass it down.
13763 2011-05-22 Ulrich Drepper <drepper@gmail.com>
13766 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
13768 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
13769 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
13770 add in in __libc_use_alloca calls. Adjust callers.
13771 (glob): Use malloc in some situations.
13773 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
13774 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
13777 2011-05-21 Ulrich Drepper <drepper@gmail.com>
13779 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
13780 and CLOCK_BOOTTIME_ALARM.
13783 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
13786 * string/_strerror.c (__strerror_r): Print negative errors as signed
13790 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
13791 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
13792 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
13794 * configure.in: Fix typo in redirection and correct removal of test
13795 files in two cases.
13798 * locale/setlocale.c (new_composite_name): Fix test to check for
13799 identical name of all categories.
13802 * libio/filedoalloc.c (local_isatty): New function.
13803 (_IO_file_doallocate): Use local_isatty.
13804 * stdio-common/perror.c (perror): In case a new stream is used
13805 forward the stream error.
13806 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
13809 2011-05-20 Ulrich Drepper <drepper@gmail.com>
13812 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
13814 * include/alloca.h (extend_alloca_account): Define.
13817 * posix/regex.h: Fix comments with documentation of user-accessible
13818 fields after compilation and describe correct free'ing of pattern
13819 after re_compile_pattern.
13820 Patch by Reuben Thomas <rrt@sc3d.org>.
13822 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
13824 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
13825 and -mno-altivec to prevent the compiler from using Altivec and/or
13826 VSX instructions when the corresponding registers are not available.
13828 2011-05-19 Andreas Schwab <schwab@redhat.com>
13830 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
13832 2011-05-19 Ulrich Drepper <drepper@gmail.com>
13834 * libio/freopen.c (freopen): Use __dup2, not dup2.
13835 * libio/freopen64.c (freopen64): Likewise.
13837 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
13840 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
13841 * math/Makefile (tests): Add test-powl.
13842 (CFLAGS-test-powl.c): Define.
13843 * math/test-powl.c: New file.
13845 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
13847 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
13849 2011-05-17 Ulrich Drepper <drepper@gmail.com>
13852 * iconvdata/gb18030.c: Update to GB18020-2005.
13854 2011-05-16 Ulrich Drepper <drepper@gmail.com>
13856 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
13857 RE_SYNTAX_POSIX_AWK): Update to match recent development.
13858 Patch by Aharon Robbins <arnold@skeeve.com>.
13861 * stdlib/putenv.c (putenv): Don't always create copy of the variable
13865 * misc/pselect.c (__pselect): Handle timeout value errors hidden
13866 through underflows.
13869 * misc/error.c (error_at_line): Ensure file_name and old_file_name
13870 point to strings before performing equality test for error_one_per_line
13874 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
13877 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13878 (struct user_fpregs_struct): Avoid __uint*_t types.
13881 * malloc/mtrace.c (tr_where): Add additional parameter to point to
13882 symbol info. Use it instead of calling _dl_addr locally.
13883 (lock_and_info): New function.
13884 (tr_freehook): Call lock_and_info and pass symbol info as additional
13885 parameter to tr_where.
13886 (tr_mallochook): Likewise.
13887 (tr_reallochook): Likewise.
13888 (tr_memalignhook): Likewise.
13890 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
13891 used and couldn't be at all thread-safe.
13893 2011-05-15 Ulrich Drepper <drepper@gmail.com>
13895 * libio/freopen.c (freopen): Don't close old file descriptor
13896 before the new one is opened. Instead dup the new file descriptor
13897 to the old one after the new stream is created.
13898 * libio/freopen64.c (freopen64): Likewise.
13899 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
13900 * libio/fileops.c (_IO_new_file_close_it): Handle new
13901 _IO_FLAGS2_NOCLOSE flag.
13902 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
13903 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
13904 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
13905 _IO_FLAGS2_NOCLOSE flag.
13906 * include/unistd.h: Add hidden_proto for dup3.
13907 Define __have_dup3.
13908 * io/dup3.c: Define hidden symbol.
13909 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
13912 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
13913 when an incomplete long option is used.
13914 * posix/tst-getopt_long1.c: New file.
13915 * posix/Makefile (tests): Add tst-getopt_long1.
13918 * scripts/config.guess: Update from autoconf-2.68.
13919 * scripts/config.sub: Likewise.
13922 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
13924 (has_cpuclock): ...this. New function.
13925 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
13926 macro here based on has_cpuclock code.
13929 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13930 First byte (not low byte) is now always NUL.
13931 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
13933 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13934 Use non-cancelable interfaces.
13937 * locale/iso-639.def: Add entry for Sorani.
13940 * include/stdlib.h: Move include protection to the right place.
13941 Define abort_msg_s. Declare __abort_msg with it.
13942 * stdlib/abort.c (__abort_msg): Adjust type.
13943 * assert/assert.c (__assert_fail_base): New function. Majority
13944 of code from __assert_fail. Allocate memory for __abort_msg with
13946 (__assert_fail): Now call __assert_fail_base.
13947 * assert/assert-perr.c: Remove bulk of implementation. Use
13948 __assert_fail_base.
13949 * include/assert.hL Declare __assert_fail_base.
13950 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
13952 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
13954 2011-05-14 Ulrich Drepper <drepper@gmail.com>
13958 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
13959 until all modules are registered in the DTV.
13960 * elf/Makefile: Add rules to build and run tst-tls19.
13961 * elf/tst-tls19.c: New file.
13962 * elf/tst-tls19mod1.c: New file.
13963 * elf/tst-tls19mod2.c: New file.
13964 * elf/tst-tls19mod3.c: New file.
13965 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
13968 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
13972 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
13973 two-byte sequence errors.
13974 * iconvdata/Makefile (tests): Add bug-iconv8.
13975 * iconvdata/bug-iconv8.c: New file.
13978 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
13981 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
13984 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
13985 (dummy_getcfa): New function.
13986 (init): Get _Unwind_GetCFA address, use dummy if not found.
13987 (backtrace_helper): In recursion check, also check whether CFA changes.
13988 (__backtrace): Completely initialize arg.
13990 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
13991 storing incomplete byte sequence in state object. Avoid testing for
13992 guaranteed too small input if we know there is enough data available.
13994 2011-05-11 Andreas Schwab <schwab@redhat.com>
13996 * Makeconfig (+link-pie): Indent.
13997 * Rules (binaries-pie): Define if $(have-fpie) and
13999 (binaries-shared): Also filter out $(binaries-pie).
14000 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
14001 * nscd/Makefile (others-pie): Add nscd.
14002 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
14003 ($(objpfx)nscd): Remove command override.
14004 * login/Makefile (others-pie): Add pt_chown.
14005 ($(objpfx)pt_chown): Remove command override.
14006 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
14007 remove command overrides.
14009 2011-05-13 Ulrich Drepper <drepper@gmail.com>
14011 * libio/tst_putwc.c: Fix error messages.
14014 * libio/fileops.c (_IO_new_file_close_it): Always flush when
14015 currently writing and seek to current position when not.
14016 * libio/Makefile (tests): Add bug-fclose1.
14017 * libio/bug-fclose1.c: New file.
14019 2011-05-12 Ulrich Drepper <drepper@gmail.com>
14022 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
14023 don't set DF_1_NODELETE here.
14024 (do_lookup_x): When entering new entry test for copy relocation
14025 and if necessary set DF_1_NODELETE flag.
14026 * elf/tst-unique4.cc: New file.
14027 * elf/tst-unique4.h: New file.
14028 * elf/tst-unique4lib.cc: New file.
14029 * elf/Makefile: Add rules to build and run tst-unique4.
14030 Patch by Piotr Bury <pbury@goahead.com>.
14032 2011-05-11 Ulrich Drepper <drepper@gmail.com>
14035 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
14038 * misc/mntent_r.c (addmntent): Flush the stream after the output
14041 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
14042 (is_trusted_path_normalize): Skip initial colon. Append slash
14043 to empty buffer. Duplicate is_trusted_path code but allow
14044 constructed patch to be prefix.
14045 (is_dst): Allow $ORIGIN followed by /.
14046 (_dl_dst_substitute): Correct clearing of check_for_trusted.
14047 Correct testing of result of is_trusted_path_normalize
14048 (decompose_rpath): Fix warning.
14050 2011-05-10 Ulrich Drepper <drepper@gmail.com>
14053 * grp/initgroups.c (internal_getgrouplist): When we found the service
14054 list through the initgroups entry in nsswitch.conf do not always
14055 continue on a successful lookup. Don't always use the
14056 __nss_group_database value if it is set.
14057 * nss/nsswitch.conf (initgroups): Change action for successful db
14058 lookup to continue for compatibility.
14060 2011-05-09 Ulrich Drepper <drepper@gmail.com>
14063 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
14065 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
14067 * iconvdata/tst-tables.sh: Likewise.
14068 * iconvdata/cp770.c: New file.
14069 * iconvdata/cp771.c: New file.
14070 * iconvdata/cp772.c: New file.
14071 * iconvdata/cp773.c: New file.
14072 * iconvdata/cp774.c: New file.
14073 * iconvdata/testdata/CP770: New file.
14074 * iconvdata/testdata/CP770..UTF8: New file.
14075 * iconvdata/testdata/CP771: New file.
14076 * iconvdata/testdata/CP771..UTF8: New file.
14077 * iconvdata/testdata/CP772: New file.
14078 * iconvdata/testdata/CP772..UTF8: New file.
14079 * iconvdata/testdata/CP773: New file.
14080 * iconvdata/testdata/CP773..UTF8: New file.
14081 * iconvdata/testdata/CP774: New file.
14082 * iconvdata/testdata/CP774..UTF8: New file.
14084 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
14086 * iconvdata/gen-8bit-gap.sh: Likewise.
14087 * iconvdata/gen-8bit.sh: Likewise.
14089 * locale/iso-639.def: Add ary entry.
14092 * locale/C-translit.h.in: Add U20A1 transliteration.
14095 * locale/iso-639.def: Add wae entry.
14096 Patch by Kevin Bortis <bortis@translate-wae.ch>.
14099 * locale/programs/localedef.c (construct_output_path): Use ssize_t
14103 * locale/C-translit.h.in: Add entry for U20B9.
14104 Patch by pravin.d.s@gmail.com.
14106 2011-05-08 Ulrich Drepper <drepper@gmail.com>
14109 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
14110 ENAMETOOLONG use generic getcwd.
14111 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
14112 in rtld. Use *stat64.
14113 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
14114 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
14115 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
14116 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
14117 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
14118 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
14119 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
14120 __fstatat64 macros.
14121 * include/dirent.h: Add libc_hidden_proto for rewinddir.
14122 * dirent/rewinddir.c: Add libc_hidden_def.
14123 * sysdeps/mach/hurd/rewinddir.c: Likewise.
14124 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
14126 * include/dirent.h (__alloc_dir): Add flags parameter.
14127 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
14128 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
14130 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
14131 from fdopendir if O_CLOEXEC is already set.
14133 2011-03-15 Alan Modra <amodra@gmail.com>
14135 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
14136 l_tls_firstbyte_offset non-zero. Save padding offset in
14137 l_tls_firstbyte_offset for later use.
14138 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
14139 freeing static tls block.
14141 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
14143 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
14144 where #ifdef was intended. The intent is to prevent ARG_MAX from
14145 being defined by the kernel headers.
14147 2011-05-07 Ulrich Drepper <drepper@gmail.com>
14150 * resolv/resolv.h: Define RES_NOTLDQUERY.
14151 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
14152 no-tld-query and set RES_NOTLDQUERY.
14153 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
14154 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
14155 modern BIND to search name as TLD unless forbidden.
14157 2011-05-07 Petr Baudis <pasky@suse.cz>
14158 Ulrich Drepper <drepper@gmail.com>
14161 * elf/dl-load.c (fillin_rpath): Move trusted path check...
14162 (is_trusted_path): ...to here.
14163 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
14164 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
14165 using is_trusted_path_normalize() in setuid scripts.
14167 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14169 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
14170 __BEGIN/__END_DECLS.
14172 2011-05-06 Ulrich Drepper <drepper@gmail.com>
14174 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
14175 NSS_STATUS_NOTFOUND if no record was found.
14177 2011-05-05 Andreas Schwab <schwab@redhat.com>
14179 * sunrpc/Makefile (headers): Add rpc/netdb.h.
14180 (headers-not-in-tirpc): Remove rpc/netdb.h
14181 * resolv/netdb.h: Revert last change.
14183 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14185 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
14186 circular dependency between libgcc.a and libc.a.
14188 2011-05-05 Andreas Schwab <schwab@redhat.com>
14190 * resolv/netdb.h: Don't include <rpc/netdb.h>.
14191 * nis/Makefile: Don't install rpcsvc/*.
14192 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
14193 instead of <rpc/types.h>.
14194 (MAXHOSTNAMELEN): Define.
14196 2011-05-03 Andreas Schwab <schwab@redhat.com>
14198 * elf/ldconfig.c (add_dir): Don't crash on empty path.
14200 2011-04-28 Maciej Babinski <mbabinski@google.com>
14203 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
14204 gethostbyname4_r when IPv6 results are possible.
14206 2011-05-02 Ulrich Drepper <drepper@gmail.com>
14209 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
14210 _PC_PIPE_BUF handling.
14212 2011-04-30 Bruno Haible <bruno@clisp.org>
14215 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
14216 * resolv/netdb.h (getnameinfo): Change type of flags parameter
14218 * inet/getnameinfo.c (getnameinfo): Likewise.
14220 2011-04-29 Ulrich Drepper <drepper@gmail.com>
14222 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
14223 to groups setting in database lookup.
14224 * nss/nsswitch.conf: Add initgroups entry.
14226 2011-04-22 Ulrich Drepper <drepper@gmail.com>
14229 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
14231 Patch by Eric Blake <eblake@redhat.com>.
14233 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
14235 * sunrpc/Makefile (need-export-routines): Add svc_run.
14236 (routines): Remove svc_run.
14237 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
14238 * sunrpc/clnt_perr.c (clnt_perrno): Export.
14239 * sunrpc/svc_run.c (svc_run): Likewise.
14240 * sunrpc/svc_udp.c (svcudp_create): Likewise.
14242 2011-04-21 Ulrich Drepper <drepper@gmail.com>
14244 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
14245 problem in reallocation in last patch.
14247 2011-04-20 Ulrich Drepper <drepper@gmail.com>
14249 * sunrpc/Makefile: Move inclusion of Rules.
14251 2011-04-19 Ulrich Drepper <drepper@gmail.com>
14253 * nss/nss_files/files-initgroups.c: New file.
14254 * nss/Makefile (libnss_files-routines): Add files-initgroups.
14255 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
14256 _nss_files_initgroups_dyn.
14258 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
14260 * elf/elf.h (R_ARM_IRELATIVE): Define.
14262 2011-04-19 Ulrich Drepper <drepper@gmail.com>
14264 * po/ru.po: Update from translation team.
14266 2011-04-17 Ulrich Drepper <drepper@gmail.com>
14268 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
14271 2011-02-06 Mike Frysinger <vapier@gentoo.org>
14274 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
14275 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
14276 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
14277 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14278 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14280 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
14282 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
14284 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14285 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14286 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14288 2011-04-17 Ulrich Drepper <drepper@gmail.com>
14291 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
14293 * stdlib/bug-getcontext.c: New file.
14294 * stdlib/Makefile: Add rules to build and run bug-getcontext.
14296 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14298 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
14299 instructions into .machine "z9-109".
14300 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
14301 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
14303 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14305 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
14306 between environment variables and auxiliary vector.
14308 2011-04-16 Ulrich Drepper <drepper@gmail.com>
14310 * Makefile: Add rules to build linkobj/libc.so.
14311 * include/libc-symbols.h: Define libc_hidden_nolink.
14312 * include/rpc/auth.h: Mark functions which are to be hidden.
14313 * include/rpc/auth_des.h: Likewise.
14314 * include/rpc/auth_unix.h: Likewise.
14315 * include/rpc/clnt.h: Likewise.
14316 * include/rpc/des_crypt.h: Likewise.
14317 * include/rpc/key_prot.h: Likewise.
14318 * include/rpc/pmap_clnt.h: Likewise.
14319 * include/rpc/pmap_prot.h: Likewise.
14320 * include/rpc/pmap_rmt.h: Likewise.
14321 * include/rpc/rpc_msg.h: Likewise.
14322 * include/rpc/svc.h: Likewise.
14323 * include/rpc/svc_auth.h: Likewise.
14324 * include/rpc/xdr.h: Likewise.
14325 * nis/Makefile: Link all DSOs against linkobj/libc.so.
14326 * nss/Makefile: Likewise.
14327 * sunrpc/Makefile: Don't install headers. Build library with normal
14328 entry points. Don't build rpcinfo. Link RPC tests appropriately.
14329 * sunrpc/auth_des.c: Hide exported symbols by default, export some
14330 for the compat linking library. Remove use of INTDEF/INTUSE.
14331 * sunrpc/auth_none.c: Likewise.
14332 * sunrpc/auth_unix.c: Likewise.
14333 * sunrpc/authdes_prot.c: Likewise.
14334 * sunrpc/authuxprot.c: Likewise.
14335 * sunrpc/clnt_gen.c: Likewise.
14336 * sunrpc/clnt_perr.c: Likewise.
14337 * sunrpc/clnt_raw.c: Likewise.
14338 * sunrpc/clnt_simp.c: Likewise.
14339 * sunrpc/clnt_tcp.c: Likewise.
14340 * sunrpc/clnt_udp.c: Likewise.
14341 * sunrpc/clnt_unix.c: Likewise.
14342 * sunrpc/des_crypt.c: Likewise.
14343 * sunrpc/des_soft.c: Likewise.
14344 * sunrpc/get_myaddr.c: Likewise.
14345 * sunrpc/key_call.c: Likewise.
14346 * sunrpc/key_prot.c: Likewise.
14347 * sunrpc/netname.c: Likewise.
14348 * sunrpc/pm_getmaps.c: Likewise.
14349 * sunrpc/pm_getport.c: Likewise.
14350 * sunrpc/pmap_clnt.c: Likewise.
14351 * sunrpc/pmap_prot.c: Likewise.
14352 * sunrpc/pmap_prot2.c: Likewise.
14353 * sunrpc/pmap_rmt.c: Likewise.
14354 * sunrpc/publickey.c: Likewise.
14355 * sunrpc/rpc_cmsg.c: Likewise.
14356 * sunrpc/rpc_common.c: Likewise.
14357 * sunrpc/rpc_dtable.c: Likewise.
14358 * sunrpc/rpc_prot.c: Likewise.
14359 * sunrpc/rpc_thread.c: Likewise.
14360 * sunrpc/rtime.c: Likewise.
14361 * sunrpc/svc.c: Likewise.
14362 * sunrpc/svc_auth.c: Likewise.
14363 * sunrpc/svc_authux.c: Likewise.
14364 * sunrpc/svc_raw.c: Likewise.
14365 * sunrpc/svc_run.c: Likewise.
14366 * sunrpc/svc_simple.c: Likewise.
14367 * sunrpc/svc_tcp.c: Likewise.
14368 * sunrpc/svc_udp.c: Likewise.
14369 * sunrpc/svc_unix.c: Likewise.
14370 * sunrpc/svcauth_des.c: Likewise.
14371 * sunrpc/xcrypt.c: Likewise.
14372 * sunrpc/xdr.c: Likewise.
14373 * sunrpc/xdr_array.c: Likewise.
14374 * sunrpc/xdr_float.c: Likewise.
14375 * sunrpc/xdr_intXX_t.c: Likewise.
14376 * sunrpc/xdr_mem.c: Likewise.
14377 * sunrpc/xdr_rec.c: Likewise.
14378 * sunrpc/xdr_ref.c: Likewise.
14379 * sunrpc/xdr_sizeof.c: Likewise.
14380 * sunrpc/xdr_stdio.c: Likewise.
14382 2011-04-10 Ulrich Drepper <drepper@gmail.com>
14385 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
14386 * sysdeps/ia64/dl-tls.h: Likewise.
14387 * sysdeps/powerpc/dl-tls.h: Likewise.
14388 * sysdeps/s390/dl-tls.h: Likewise.
14389 * sysdeps/sh/dl-tls.h: Likewise.
14390 * sysdeps/sparc/dl-tls.h: Likewise.
14391 * sysdeps/x86_64/dl-tls.h: Likewise.
14392 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
14394 2011-03-14 Andreas Schwab <schwab@redhat.com>
14396 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
14397 rpath element also skip the following colon.
14398 (expand_dynamic_string_token): Add is_path parameter and pass
14399 down to DL_DST_REQUIRED and _dl_dst_substitute.
14400 (decompose_rpath): Call expand_dynamic_string_token with
14401 non-zero is_path. Ignore empty rpaths.
14402 (_dl_map_object_from_fd): Call expand_dynamic_string_token
14405 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
14407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
14410 2011-04-09 Ulrich Drepper <drepper@gmail.com>
14413 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
14414 Patch by Filipe David Manana <fdmanana@apache.org>.
14416 2011-04-07 Andreas Schwab <schwab@redhat.com>
14418 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
14419 Maintain aligned stack.
14420 (CHECK_RSP): Remove unused macro.
14422 2011-04-03 Ulrich Drepper <drepper@gmail.com>
14424 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
14425 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
14427 2011-04-02 Ulrich Drepper <drepper@gmail.com>
14429 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
14431 * include/features.h: Mention __USE_XOPEN2K8 in comment.
14433 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
14436 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
14437 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
14438 * sysdeps/x86_64/memmove.c: New file.
14439 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
14440 (memcpy): Renamed to ...
14441 (__new_memcpy): This.
14442 (memcpy): Provide GLIBC_2_14 memcpy.
14443 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
14444 (memcpy): Provide GLIBC_2_2_5 memcpy.
14446 2011-04-01 Ulrich Drepper <drepper@gmail.com>
14449 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
14451 2011-03-30 Andreas Schwab <schwab@redhat.com>
14453 * misc/syncfs.c: New file.
14454 * misc/Makefile (routines): Add syncfs.
14455 * posix/unistd.h: Declare syncfs.
14456 * sysdeps/unix/syscalls.list: Add syncfs.
14458 2011-04-01 Andreas Schwab <schwab@redhat.com>
14460 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
14462 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14463 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14464 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14465 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14466 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14467 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
14468 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14470 2011-04-01 Ulrich Drepper <drepper@gmail.com>
14472 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
14473 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14474 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
14475 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14476 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14477 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14478 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14480 * io/Makefile: Compile fallocate.c, fallocate64.c, and
14481 sync_file_range.c with -fexceptions.
14482 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
14483 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
14484 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
14485 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
14486 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
14487 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
14488 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
14489 sync_file_range as cancellation point
14490 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
14491 now a wrapper around __call_sync_file_range with cancellation handling.
14492 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
14493 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
14494 function name to __call_sync_file_range.
14495 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
14496 Add call_sync_file_range.
14498 2011-04-01 Andreas Schwab <schwab@redhat.com>
14500 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14503 2011-04-01 Ulrich Drepper <drepper@gmail.com>
14505 * iconv/iconv.h: Fix typo in comment.
14506 * io/fcntl.h: Likewise.
14507 * libio/stdio.h: Likewise.
14508 * posix/spawn.h: Likewise.
14509 * posix/unistd.h: Likewise.
14510 * stdlib/stdlib.h: Likewise.
14511 * time/time.h: Likewise.
14512 * wcsmbs/wchar.h: Likewise.
14514 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
14515 open_by_handle): Add.
14516 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
14517 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
14518 Augment a few comments.
14519 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14520 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14521 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14522 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14523 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14524 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
14527 * io/fcntl.h (AT_EMPTY_PATH): Define.
14529 2011-03-30 Ulrich Drepper <drepper@gmail.com>
14531 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
14532 * sysdeps/unix/sysv/linux/bits/time.h: New file.
14533 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
14535 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
14536 * Versions.def: Add GLIBC_2.14.
14537 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
14540 2011-03-22 Ulrich Drepper <drepper@gmail.com>
14542 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
14544 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14546 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
14549 * string/test-strncmp.c (do_page_test): New function.
14550 (check2): Likewise.
14551 (test_main): Call check2.
14552 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
14554 2011-03-20 Ulrich Drepper <drepper@gmail.com>
14557 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
14558 Handle cache information in CPU leaf 4.
14559 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14561 2011-03-18 Ulrich Drepper <drepper@gmail.com>
14564 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
14565 character representation.
14566 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
14568 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
14570 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
14571 END(__isnan) to END(__isnanf) to match function entry point/label
14572 EALIGN(__isnanf,...).
14574 2011-03-10 Jakub Jelinek <jakub@redhat.com>
14576 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
14578 2011-03-10 Ulrich Drepper <drepper@gmail.com>
14581 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
14582 copy from the symbol referenced in the relocation to initialize the
14584 Patch by Piotr Bury <pbury@goahead.com>.
14585 * elf/Makefile: Add rules to build and tst-unique3.
14586 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
14587 * elf/tst-unique3.cc: New file.
14588 * elf/tst-unique3.h: New file.
14589 * elf/tst-unique3lib.cc: New file.
14590 * elf/tst-unique3lib2.cc: New file.
14592 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
14594 2011-03-10 Mike Frysinger <vapier@gentoo.org>
14596 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
14597 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
14600 2011-03-06 Ulrich Drepper <drepper@gmail.com>
14602 * elf/dl-load.c (_dl_map_object): If we are looking for the first
14603 to-be-loaded object along a path to loader is ld.so.
14605 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14606 Ulrich Drepper <drepper@gmail.com>
14608 * sysdeps/x86_64/memset.S: After aligning destination, code
14609 branches to different locations depending on the value of
14610 misalignment, when multiarch is enabled. Fix this.
14612 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14614 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
14615 Set _x86_64_preferred_memory_instruction for AMD processsors.
14616 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14617 Set bit_Prefer_SSE_for_memop for AMD processors.
14619 2011-03-04 Ulrich Drepper <drepper@gmail.com>
14621 * libio/fmemopen.c (fmemopen): Optimize a bit.
14623 2011-03-03 Andreas Schwab <schwab@redhat.com>
14625 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
14627 2011-03-03 Roland McGrath <roland@redhat.com>
14629 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
14631 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
14633 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
14634 __bzero_ultra1 instead of __memset_ultra1.
14636 2011-02-23 Andreas Schwab <schwab@redhat.com>
14637 Ulrich Drepper <drepper@gmail.com>
14640 * include/link.h (struct link_map): Add l_orig_initfini.
14641 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
14642 returning unsuccessfully.
14643 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
14644 close of a file loaded at startup, restore the original l_initfini
14646 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
14647 list, store the pointer.
14648 * elf/Makefile ($(objpfx)noload-mem): New rule.
14649 (noload-ENV): Define.
14650 (tests): Add $(objpfx)noload-mem.
14651 * elf/noload.c: Include <memcheck.h>.
14652 (main): Call mtrace. Close all opened handles.
14654 2011-02-17 Andreas Schwab <schwab@redhat.com>
14657 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
14658 dependencies are missing.
14660 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
14662 Fix __if_freereq crash: Unlike the generic version which uses free,
14664 * sysdeps/mach/hurd/ifreq.h: New file.
14666 2011-01-27 Petr Baudis <pasky@suse.cz>
14667 Ulrich Drepper <drepper@gmail.com>
14670 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
14671 to extend_alloca().
14672 * stdio-common/bug23.c: New file.
14673 * stdio-common/Makefile (tests): Add bug23.
14675 2010-09-28 Andreas Schwab <schwab@redhat.com>
14676 Ulrich Drepper <drepper@gmail.com>
14679 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
14680 before performing relro protection. At old place add assertion
14681 to make sure nothing changed.
14683 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
14684 Glauber de Oliveira Costa <glommer@gmail.com>
14686 * elf/elf.h: Add new ARM TLS relocs.
14688 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
14690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14691 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
14693 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
14695 * sysdeps/wordsize-64/tst-writev.c: New file.
14697 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
14699 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
14700 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
14701 insns in _dl_start to prevent a TOC reference before relocs are
14704 2011-02-15 Ulrich Drepper <drepper@gmail.com>
14707 * Makeconfig: Remove RANLIB definition.
14708 * Makerules: Don't use RANLIB.
14709 * aclocal.m4: Remove ranlib test.
14710 * configure.in: No need to check for ranlib.
14711 * elf/rtld-Rules: Don't use RANLIB.
14713 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14715 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
14717 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
14718 inclusion protection macro.
14720 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
14721 SIGRTMIN and SIGRTMAX and print information in that case only when
14722 SIGRTMIN is defined.
14724 2011-02-11 Jakub Jelinek <jakub@redhat.com>
14726 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
14727 arginfo fn returning -1.
14729 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
14730 and thousands string is zero terminated.
14732 2011-02-03 Andreas Schwab <schwab@redhat.com>
14734 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
14735 sysdeps/unix/sysv/linux/bits/socket.h.
14737 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
14739 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
14740 (__CPU_COUNT): Remove old macros.
14741 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
14742 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
14743 (__CPU_ALLOC, __CPU_FREE): Add macros.
14744 (__sched_cpualloc, __sched_cpufree): Add declarations.
14746 2011-02-05 Ulrich Drepper <drepper@gmail.com>
14748 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
14749 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
14750 * nscd/aicache.c (addhstaiX): Return timeout of added value.
14751 (readdhstai): Return value of addhstaiX call.
14752 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
14753 (addgrbyX): Return value returned by cache_addgr.
14754 (readdgrbyname): Return value returned by addgrbyX.
14755 (readdgrbygid): Likewise.
14756 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
14757 (addpwbyX): Return value returned by cache_addpw.
14758 (readdpwbyname): Return value returned by addhstbyX.
14759 (readdpwbyuid): Likewise.
14760 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
14761 (addservbyX): Return value returned by cache_addserv.
14762 (readdservbyname): Return value returned by addservbyX:
14763 (readdservbyport): Likewise.
14764 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
14765 (addhstbyX): Return value returned by cache_addhst.
14766 (readdhstbyname): Return value returned by addhstbyX.
14767 (readdhstbyaddr): Likewise.
14768 (readdhstbynamev6): Likewise.
14769 (readdhstbyaddrv6): Likewise.
14770 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
14771 (readdinitgroups): Return value returned by addinitgroupsX.
14772 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
14773 (prune_cache): Keep track of timeout value of re-added entries.
14774 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
14775 * nscd/nscd.h: Adjust prototypes of readd* functions.
14777 2011-02-04 Roland McGrath <roland@redhat.com>
14779 * nis/nis_server.c (nis_servstate): Use the right name for 0.
14780 (nis_stats): Likewise.
14781 * nis/nis_modify.c (nis_modify): Likewise.
14782 * nis/nis_remove.c (nis_remove): Likewise.
14783 * nis/nis_add.c (nis_add): Likewise.
14785 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
14787 * posix/fnmatch_loop.c: Add some consts.
14789 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
14791 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
14794 * config.make.in (config-cflags-novzeroupper): Define.
14795 * configure.in: Substitute libc_cv_cc_novzeroupper.
14796 * elf/Makefile (AVX-CFLAGS): Define.
14797 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
14798 (CFLAGS-tst-auditmod4a.c): Likewise.
14799 (CFLAGS-tst-auditmod4b.c): Likewise.
14800 (CFLAGS-tst-auditmod6b.c): Likewise.
14801 (CFLAGS-tst-auditmod6c.c): Likewise.
14802 (CFLAGS-tst-auditmod7b.c): Likewise.
14803 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
14805 2011-02-02 Ulrich Drepper <drepper@gmail.com>
14807 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
14808 function to the callback.
14809 Patch partly by Jiri Olsa <jolsa@redhat.com>.
14811 2011-02-02 Andreas Schwab <schwab@redhat.com>
14813 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
14816 2011-01-19 Ulrich Drepper <drepper@gmail.com>
14819 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
14821 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
14823 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
14826 * elf/Makefile: Add rules to build and run new test.
14827 * elf/tst-initorder.c: New file.
14828 * elf/tst-initorder.exp: New file.
14829 * elf/tst-initordera1.c: New file.
14830 * elf/tst-initordera2.c: New file.
14831 * elf/tst-initordera3.c: New file.
14832 * elf/tst-initordera4.c: New file.
14833 * elf/tst-initorderb1.c: New file.
14834 * elf/tst-initorderb2.c: New file.
14835 * elf/tst-order-a1.c: New file.
14836 * elf/tst-order-a2.c: New file.
14837 * elf/tst-order-a3.c: New file.
14838 * elf/tst-order-a4.c: New file.
14839 * elf/tst-order-b1.c: New file.
14840 * elf/tst-order-b2.c: New file.
14841 * elf/tst-order-main.c: New file.
14842 New test case by George Gensure <werkt0@gmail.com>.
14844 2010-10-01 Andreas Schwab <schwab@redhat.com>
14846 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14847 decoding ACE if AI_CANONIDN.
14849 2011-01-18 Ulrich Drepper <drepper@gmail.com>
14851 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
14853 2011-01-17 Ulrich Drepper <drepper@gmail.com>
14855 * version.h (RELEASE): Bump for 2.13 release.
14856 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
14858 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
14860 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
14862 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
14863 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
14864 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
14865 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
14866 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
14867 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
14869 * posix/getconf.c: Update copyright year.
14870 * catgets/gencat.c: Likewise.
14871 * csu/version.c: Likewise.
14872 * debug/catchsegv.sh: Likewise.
14873 * debug/xtrace.sh: Likewise.
14874 * elf/ldconfig.c: Likewise.
14875 * elf/ldd.bash.in: Likewise.
14876 * elf/sprof.c (print_version): Likewise.
14877 * iconv/iconv_prog.c: Likewise.
14878 * iconv/iconvconfig.c: Likewise.
14879 * locale/programs/locale.c: Likewise.
14880 * locale/programs/localedef.c: Likewise.
14881 * malloc/memusage.sh: Likewise.
14882 * malloc/mtrace.pl: Likewise.
14883 * nscd/nscd.c (print_version): Likewise.
14884 * nss/getent.c: Likewise.
14886 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
14887 PF_CAIF, and PF_ALG.
14888 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14890 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
14892 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
14893 (modules-names): Use them.
14894 (ifunc-test-modules, ifunc-pie-tests): Define.
14895 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
14896 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
14897 (test-extras): Likewise.
14898 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
14899 $(compile-command.c).
14900 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
14901 (all-built-dso): Define.
14902 (check-textrel.out, check-execstack.out): Depend on it.
14904 * configure.in: Don't override --enable-multi-arch.
14906 2011-01-15 Ulrich Drepper <drepper@gmail.com>
14909 * nscd/hstcache.c (tryagain): Define.
14910 (cache_addhst): Return tryagain not notfound for temporary errors.
14911 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
14914 2011-01-14 Ulrich Drepper <drepper@gmail.com>
14917 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
14918 to make the syscall.
14919 * sysdeps/unix/sysv/linux/setgroups.c: New file.
14922 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
14923 and fall back to matching as normal character if the string ends before
14924 the matching ']' is found. This is what POSIX requires.
14925 * posix/testfnm.c: Adjust test result.
14926 * posix/globtest.sh: Adjust test result. Add new test.
14927 * posix/tst-fnmatch.input: Likewise.
14928 * posix/tst-fnmatch2.c: Add new test.
14930 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
14932 * elf/Makefile (check-execstack): Revert last change. Depend on
14934 (check-execstack.h): New target.
14935 (generated): Add check-execstack.h.
14936 * elf/check-execstack.c: Include "check-execstack.h".
14937 (main): Revert last change.
14938 (handle_file): Return zero if GNU_STACK is absent and
14939 DEFAULT_STACK_PERMS doesn't include PF_X.
14941 2011-01-13 Ulrich Drepper <drepper@gmail.com>
14943 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
14944 in child fails because the descriptor is already closed.
14945 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
14946 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
14947 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
14950 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
14954 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
14955 temporary buffer used to handle multi lookups locally.
14956 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
14958 2011-01-12 Ulrich Drepper <drepper@gmail.com>
14960 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
14963 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
14965 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
14966 alignment for SSE2.
14968 2011-01-12 Ulrich Drepper <drepper@gmail.com>
14971 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
14972 characters. When rounding increased number of integer digits recompute
14974 * stdio-common/tst-grouping.c: New file.
14975 * stdio-common/Makefile: Add rules to build and run tst-grouping.
14977 2011-01-09 Ulrich Drepper <drepper@gmail.com>
14979 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
14980 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
14982 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
14984 * bits/select.h: Likewise.
14986 2011-01-08 Ulrich Drepper <drepper@gmail.com>
14988 * po/ja.po: Update from translation team.
14990 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
14993 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
14994 implementation just like for lxstat, fxstatat, et al.
14996 2010-12-27 Jim Meyering <meyering@redhat.com>
14999 * posix/regexec.c (build_trtable): Return failure indication upon
15000 calloc failure. Otherwise, re_search_internal could infloop on OOM.
15002 2010-12-25 Ulrich Drepper <drepper@gmail.com>
15005 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
15006 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
15007 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
15008 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
15011 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
15014 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
15015 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
15017 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
15019 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
15020 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
15021 script has SORT_BY_INIT_PRIORITY.
15022 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
15023 NO_CTORS_DTORS_SECTIONS is defined.
15024 * elf/soinit.c: Likewise.
15025 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
15026 NO_CTORS_DTORS_SECTIONS is defined.
15027 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
15028 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
15029 * sysdeps/sh/init-first.c: Likewise.
15030 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
15032 2010-12-24 Ulrich Drepper <drepper@gmail.com>
15034 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
15035 always use the slow path.
15037 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
15039 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
15040 similar rule which adds the sysdep directories to the header search in
15041 order to pick up the correct platform stackinfo.h.
15042 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
15043 perform test if it is, otherwise return successfully without testing.
15044 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
15045 DEFAULT_STACK_PERMS define in stackinfo.h.
15046 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
15047 defined in stackinfo.h.
15048 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
15049 DEFAULT_STACK_PERMS defined in stackinfo.h.
15050 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
15051 * sysdeps/ia64/stackinfo.h: Likewise.
15052 * sysdeps/s390/stackinfo.h: Likewise.
15053 * sysdeps/sh/stackinfo.h: Likewise.
15054 * sysdeps/sparc/stackinfo.h: Likewise.
15055 * sysdeps/x86_64/stackinfo.h: Likewise.
15056 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
15057 PF_X for powerpc64. Retain PF_X for powerpc32.
15059 2010-12-19 Ulrich Drepper <drepper@gmail.com>
15061 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
15063 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
15064 GETDENTS_64BIT_ALIGNED.
15066 2010-12-14 Ulrich Drepper <dreper@gmail.com>
15068 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
15070 2010-12-10 Andreas Schwab <schwab@redhat.com>
15072 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
15075 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
15076 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
15078 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
15079 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
15081 2010-12-09 Ulrich Drepper <drepper@gmail.com>
15084 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
15087 2010-12-09 Jakub Jelinek <jakub@redhat.com>
15089 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
15091 2010-12-03 Ulrich Drepper <drepper@gmail.com>
15093 * po/it.po: Update from translation team.
15095 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
15097 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
15100 2010-11-30 Ulrich Drepper <drepper@gmail.com>
15102 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
15104 2010-11-24 Andreas Schwab <schwab@redhat.com>
15106 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
15108 (gaih_getanswer_slice): Likewise.
15110 2010-10-20 Jakub Jelinek <jakub@redhat.com>
15112 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
15114 2010-05-31 Petr Baudis <pasky@suse.cz>
15117 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
15118 silently even in the chroot mode.
15120 2010-11-22 Ulrich Drepper <drepper@gmail.com>
15122 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
15123 last patch a bit. Pretty printing
15125 2010-05-31 Petr Baudis <pasky@suse.cz>
15128 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
15129 initialization of skip_initgroups_dyn.
15131 2010-11-19 Ulrich Drepper <drepper@gmail.com>
15133 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
15134 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
15136 2010-11-16 Ulrich Drepper <drepper@gmail.com>
15138 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
15140 2010-11-11 Andreas Schwab <schwab@redhat.com>
15142 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
15143 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
15144 (tst-fnmatch-ENV): Set MALLOC_TRACE.
15145 ($(objpfx)tst-fnmatch-mem): New rule.
15146 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
15147 * posix/tst-fnmatch.c (main): Call mtrace.
15149 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
15151 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15152 Support Intel processor model 6 and model 0x2c.
15154 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
15156 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
15159 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
15162 * string/test-strncasecmp.c (check_result): New function.
15163 (do_one_test): Use it.
15164 (check1): New function.
15165 (test_main): Use it.
15166 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
15167 Support strcasecmp and strncasecmp.
15169 2010-11-08 Ulrich Drepper <drepper@gmail.com>
15172 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
15173 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15175 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
15177 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
15179 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15181 * sysdeps/x86_64/multiarch/bzero.S: New file.
15182 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
15183 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
15184 * sysdeps/x86_64/multiarch/memset.S: New file.
15185 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
15186 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15187 Set bit_Prefer_SSE_for_memop for Intel processors.
15188 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
15190 (index_Prefer_SSE_for_memop): Define.
15191 (HAS_PREFER_SSE_FOR_MEMOP): Define.
15193 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
15195 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
15196 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
15198 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
15201 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15202 (__x86_64_raw_data_cache_size_half): Likewise.
15203 (__x86_64_raw_shared_cache_size): Likewise.
15204 (__x86_64_raw_shared_cache_size_half): Likewise.
15206 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15207 (__x86_64_raw_data_cache_size_half): Likewise.
15208 (__x86_64_raw_shared_cache_size): Likewise.
15209 (__x86_64_raw_shared_cache_size_half): Likewise.
15210 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
15211 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
15212 and __x86_64_raw_shared_cache_size_half. Round
15213 __x86_64_data_cache_size_half, __x86_64_data_cache_size
15214 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
15215 to multiple of 256 bytes.
15217 2010-11-03 Ulrich Drepper <drepper@gmail.com>
15220 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
15221 of inacessible symlinks. Verify result of symlink before returning it.
15222 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
15223 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
15225 2010-10-28 Erich Ritz <erichritz@gmail.com>
15227 * math/math.h (isinf): Fix typo in comment.
15229 2010-11-01 Ulrich Drepper <drepper@gmail.com>
15231 * po/da.po: Update from translation team.
15233 2010-10-26 Ulrich Drepper <drepper@gmail.com>
15235 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
15236 is added to the list.
15238 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15239 Ulrich Drepper <drepper@gmail.com>
15241 * elf/dl-object.c (_dl_new_object): Don't append the new object to
15242 the global list here. Move code to...
15243 (_dl_add_to_namespace_list): ...here. New function.
15244 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
15245 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
15246 * elf/dl-load.c (lose): Don't remove the element from the list.
15247 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
15248 (_dl_map_object): Likewise.
15250 2010-10-25 Ulrich Drepper <drepper@gmail.com>
15253 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
15254 into all bytes of SSE register.
15255 Patch by Richard Li <richardpku@gmail.com>.
15257 2010-10-24 Ulrich Drepper <drepper@gmail.com>
15260 * malloc/malloc.c (_int_free): Fill correct number of bytes when
15263 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
15265 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
15266 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
15267 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
15268 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
15271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
15273 2010-10-22 Andreas Schwab <schwab@redhat.com>
15275 * include/dlfcn.h (__RTLD_SECURE): Define.
15276 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
15277 mode & __RTLD_SECURE instead.
15278 (open_path): Rename preloaded parameter to secure.
15279 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
15280 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
15281 * elf/dl-deps.c (openaux): Likewise.
15282 * elf/rtld.c (struct map_args): Remove is_preloaded.
15283 (map_doit): Don't use it.
15284 (dl_main): Likewise.
15285 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
15286 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
15288 2010-09-09 Andreas Schwab <schwab@redhat.com>
15290 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
15291 (sysd-rules-targets): Remove duplicates.
15292 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
15293 rtld-%.$o dependency.
15295 2010-10-18 Andreas Schwab <schwab@redhat.com>
15297 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
15298 _dl_map_object do it.
15300 2010-10-19 Ulrich Drepper <drepper@gmail.com>
15302 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
15303 fast fma builtins, define the macros in the C99 standard.
15304 (FP_FAST_FMAF): Likewise.
15305 (FP_FAST_FMAL): Likewise.
15306 * sysdeps/x86_64/bits/mathdef.h: Likewise.
15308 * bits/mathdef.h: Update copyright year.
15309 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15311 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
15313 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
15314 builtins, define the macros in the C99 standard.
15315 (FP_FAST_FMAF): Likewise.
15316 (FP_FAST_FMAL): Likewise.
15317 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
15319 (FP_FAST_FMAF): Likewise.
15321 2010-10-15 Jakub Jelinek <jakub@redhat.com>
15324 * math/libm-test.inc (fma_test): Some new testcases.
15325 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
15326 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
15327 y and infinite z. Do multiplication by C already in long double.
15328 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
15329 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
15330 y and infinite z. Do bitwise or of inexact bit into u.d.
15331 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
15332 * sysdeps/i386/fpu/s_fmaf.S: Removed.
15333 * sysdeps/i386/fpu/s_fma.S: Removed.
15334 * sysdeps/i386/fpu/s_fmal.S: Removed.
15336 2010-10-16 Jakub Jelinek <jakub@redhat.com>
15339 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
15340 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
15341 computation is not scheduled after fetestexcept. Fix value
15342 of minimum denormal long double.
15344 2010-10-14 Jakub Jelinek <jakub@redhat.com>
15347 * math/libm-test.inc (fma_test): Add some more tests.
15348 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
15351 2010-10-15 Andreas Schwab <schwab@redhat.com>
15353 * scripts/data/localplt-s390-linux-gnu.data: New file.
15354 * scripts/data/localplt-s390x-linux-gnu.data: New file.
15356 2010-10-13 Jakub Jelinek <jakub@redhat.com>
15359 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
15360 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
15362 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
15364 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
15365 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
15366 if one of x and y is very large and the other is subnormal.
15367 * sysdeps/s390/fpu/s_fmaf.c: New file.
15368 * sysdeps/s390/fpu/s_fma.c: New file.
15369 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
15370 * sysdeps/powerpc/fpu/s_fma.S: New file.
15371 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
15372 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
15373 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
15375 2010-10-12 Jakub Jelinek <jakub@redhat.com>
15378 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
15380 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
15381 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
15382 * sysdeps/i386/i686/multiarch/s_fma.c: Include
15383 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
15384 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
15385 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
15386 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
15388 2010-10-12 Ulrich Drepper <drepper@redhat.com>
15391 * posix/regcomp.c (parse_branch): One more memory leak plugged.
15392 * posix/bug-regex31.input: Add test case.
15394 2010-10-11 Ulrich Drepper <drepper@gmail.com>
15396 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
15397 * posix/bug-regex31.input: New file.
15400 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
15401 (parse_sub_exp): Fix last change, use postorder.
15403 * posix/bug-regex31.c: New file.
15404 * posix/Makefile: Add rules to build and run bug-regex31.
15406 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
15409 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
15412 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
15413 to have entries in sys_siglist.
15416 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
15419 2010-10-07 Jakub Jelinek <jakub@redhat.com>
15422 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
15423 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
15424 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
15425 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
15426 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
15427 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
15428 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
15429 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
15430 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
15431 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
15432 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
15433 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
15434 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
15435 * math/ftestexcept.c (fetestexcept): Likewise.
15436 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
15437 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
15438 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
15439 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
15440 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
15441 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
15442 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15444 2010-10-11 Ulrich Drepper <drepper@gmail.com>
15447 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
15450 2010-10-06 Ulrich Drepper <drepper@gmail.com>
15452 * string/bug-strstr1.c: New file.
15453 * string/Makefile: Add rules to build and run bug-strstr1.
15455 2010-10-05 Eric Blake <eblake@redhat.com>
15458 * string/str-two-way.h (two_way_long_needle): Always clear memory
15459 when skipping input due to the shift table.
15461 2010-10-03 Ulrich Drepper <drepper@gmail.com>
15464 * malloc/mcheck.c: Handle large requests.
15467 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
15468 for strncmp and strncasecmp.
15469 * string/stratcliff.c: Add tests for strcmp and strncmp.
15470 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
15472 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15474 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
15477 2010-09-30 Andreas Jaeger <aj@suse.de>
15479 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
15480 (CGROUP_SUPER_MAGIC): Define.
15481 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15482 Handle btrfs and cgroup file systems.
15483 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
15486 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
15488 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
15489 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
15491 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15494 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
15495 trying to locate the ELF header.
15497 2010-09-27 Andreas Schwab <schwab@redhat.com>
15500 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
15501 Mask out sign-bit copies when constructing f_fsid.
15503 2010-09-24 Petr Baudis <pasky@suse.cz>
15505 * debug/stack_chk_fail_local.c: Add missing licence exception.
15506 * debug/warning-nop.c: Likewise.
15508 2010-09-15 Joseph Myers <joseph@codesourcery.com>
15510 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
15511 implementing getdents64 using getdents syscall, set d_type if
15512 __ASSUME_GETDENTS32_D_TYPE.
15514 2010-09-16 Andreas Schwab <schwab@redhat.com>
15516 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
15517 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
15519 2010-09-21 Ulrich Drepper <drepper@redhat.com>
15522 * posix/unistd.h: Undo change of feature selection for ftruncate from
15525 2010-09-20 Ulrich Drepper <drepper@redhat.com>
15527 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
15530 2010-09-20 Andreas Schwab <schwab@redhat.com>
15532 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
15534 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15536 2010-09-14 Andreas Schwab <schwab@redhat.com>
15538 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
15539 variables after CHECK_SP call.
15540 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
15542 2010-09-13 Andreas Schwab <schwab@redhat.com>
15543 Ulrich Drepper <drepper@redhat.com>
15545 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
15546 re-relocationg ld.so.
15547 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
15548 _dl_init_paths call.
15549 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
15552 2010-09-14 Ulrich Drepper <drepper@redhat.com>
15554 * resolv/res_init.c (__res_vinit): Count the default server we added.
15556 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
15557 Ulrich Drepper <drepper@redhat.com>
15560 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15561 (____longjmp_chk): Use %ebx for saving value across system call.
15564 2010-09-06 Andreas Schwab <schwab@redhat.com>
15566 * manual/Makefile: Don't mix pattern rules with normal rules.
15568 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
15570 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
15572 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
15573 * libio/iofopncook.c (_IO_cookie_init): Likewise.
15574 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
15575 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
15576 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15579 2010-09-04 Ulrich Drepper <drepper@redhat.com>
15582 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
15583 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
15585 2010-09-02 Ulrich Drepper <drepper@redhat.com>
15587 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
15588 * sysdeps/x86_64/addmul_1.S: Likewise.
15589 * sysdeps/x86_64/lshift.S: Likewise.
15590 * sysdeps/x86_64/mul_1.S: Likewise.
15591 * sysdeps/x86_64/rshift.S: Likewise.
15592 * sysdeps/x86_64/sub_n.S: Likewise.
15593 * sysdeps/x86_64/submul_1.S: Likewise.
15595 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
15597 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
15598 Define __sched_param instead of SCHED_* and sched_param when
15599 <bits/sched.h> is included with __need_schedparam defined.
15600 * bits/sched.h [__need_schedparam]
15601 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
15602 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
15603 (__defined_schedparam): Define to 1.
15604 (__sched_param): New structure, identical to sched_param.
15605 (__need_schedparam): Undefine.
15607 2010-08-31 Mike Frysinger <vapier@gentoo.org>
15609 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
15610 (epoll_create1): Declare.
15612 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
15614 2010-08-31 Andreas Schwab <schwab@redhat.com>
15617 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
15618 shifting retval into place.
15620 2010-09-01 Ulrich Drepper <drepper@redhat.com>
15622 * nis/rpcsvc/nis.h: Update copyright notice.
15623 * nis/rpcsvc/nis.x: Likewise.
15624 * nis/rpcsvc/nis_callback.h: Likewise.
15625 * nis/rpcsvc/nis_callback.x: Likewise.
15626 * nis/rpcsvc/nis_object.x: Likewise.
15627 * nis/rpcsvc/nis_tags.h: Likewise.
15628 * nis/rpcsvc/yp.h: Likewise.
15629 * nis/rpcsvc/yp.x: Likewise.
15630 * nis/rpcsvc/ypupd.h: Likewise.
15631 * nis/yp_xdr.c: Likewise.
15632 * nis/ypupdate_xdr.c: Likewise.
15634 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
15635 mainly the body of pmap_getport. Add parameters to specify timeouts.
15636 (pmap_getport): Use __libc_rpc_getport.
15637 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
15638 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
15639 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
15641 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
15643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
15646 2010-08-27 Roland McGrath <roland@redhat.com>
15648 * sysdeps/i386/i686/multiarch/Makefile
15649 (CFLAGS-varshift.c): New variable.
15651 2010-08-27 Ulrich Drepper <drepper@redhat.com>
15653 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
15654 * sysdeps/i386/i686/multiarch/varshift.c: New file.
15656 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
15658 * sysdeps/x86_64/strlen.S: Minimal code improvement.
15660 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
15662 * sysdeps/x86_64/strlen.S: Unroll the loop.
15663 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15664 strlen-sse2 strlen-sse2-bsf.
15665 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
15666 __strlen_no_bsf if bit_Slow_BSF is set.
15667 (__strlen_sse42): Removed.
15668 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
15669 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
15671 2010-08-25 Roland McGrath <roland@redhat.com>
15673 * sysdeps/x86_64/multiarch/varshift.S: File removed.
15674 * sysdeps/x86_64/multiarch/varshift.c: New file.
15675 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
15676 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
15677 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
15678 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15680 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
15682 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15683 strlen-sse2 strlen-sse2-bsf.
15684 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
15685 __strlen_sse2_bsf if bit_Slow_BSF is unset.
15686 (__strlen_sse2): Removed.
15687 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
15688 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
15689 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
15690 bit_Slow_BSF for Atom.
15691 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
15692 (index_Slow_BSF): Define.
15693 (HAS_SLOW_BSF): Define.
15695 2010-08-25 Ulrich Drepper <drepper@redhat.com>
15698 * resolv/res_init.c (__res_vinit): When no server address at all
15699 is given default to loopback.
15701 2010-08-24 Roland McGrath <roland@redhat.com>
15703 * configure.in: Remove config-name.h generation.
15704 * configure: Regenerated.
15705 * config-name.in: File removed.
15706 * scripts/config-uname.sh: New file.
15707 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
15708 ($(objdir)config-name.h): New target.
15710 * sunrpc/rpc_parse.h: Avoid nested comment.
15712 2010-08-24 Richard Henderson <rth@redhat.com>
15713 Ulrich Drepper <drepper@redhat.com>
15714 H.J. Lu <hongjiu.lu@intel.com>
15716 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
15717 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
15718 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
15719 Replace _mm_srli_si128 with __m128i_shift_right. Replace
15720 _mm_alignr_epi8 with _mm_loadu_si128.
15721 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
15722 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
15723 (__m128i_shift_right): Removed.
15724 * sysdeps/i386/i686/multiarch/varshift.h: New file.
15725 * sysdeps/i386/i686/multiarch/varshift.S: New file.
15726 * sysdeps/x86_64/multiarch/varshift.h: New file.
15727 * sysdeps/x86_64/multiarch/varshift.S: New file.
15729 2010-08-21 Mike Frysinger <vapier@gentoo.org>
15731 * configure.in: Move assembler checks to before sysdep dir checking.
15733 2010-08-20 Petr Baudis <pasky@suse.cz>
15735 * LICENSES: Sync the sunrpc license.
15737 2010-08-19 Ulrich Drepper <drepper@redhat.com>
15739 * sunrpc/auth_des.c: Update copyright notice once again.
15740 * sunrpc/auth_none.c: Likewise.
15741 * sunrpc/auth_unix.c: Likewise.
15742 * sunrpc/authdes_prot.c: Likewise.
15743 * sunrpc/authuxprot.c: Likewise.
15744 * sunrpc/bindrsvprt.c: Likewise.
15745 * sunrpc/clnt_gen.c: Likewise.
15746 * sunrpc/clnt_perr.c: Likewise.
15747 * sunrpc/clnt_raw.c: Likewise.
15748 * sunrpc/clnt_simp.c: Likewise.
15749 * sunrpc/clnt_tcp.c: Likewise.
15750 * sunrpc/clnt_udp.c: Likewise.
15751 * sunrpc/clnt_unix.c: Likewise.
15752 * sunrpc/des_crypt.c: Likewise.
15753 * sunrpc/des_soft.c: Likewise.
15754 * sunrpc/get_myaddr.c: Likewise.
15755 * sunrpc/getrpcport.c: Likewise.
15756 * sunrpc/key_call.c: Likewise.
15757 * sunrpc/key_prot.c: Likewise.
15758 * sunrpc/openchild.c: Likewise.
15759 * sunrpc/pm_getmaps.c: Likewise.
15760 * sunrpc/pm_getport.c: Likewise.
15761 * sunrpc/pmap_clnt.c: Likewise.
15762 * sunrpc/pmap_prot.c: Likewise.
15763 * sunrpc/pmap_prot2.c: Likewise.
15764 * sunrpc/pmap_rmt.c: Likewise.
15765 * sunrpc/rpc/auth.h: Likewise.
15766 * sunrpc/rpc/auth_unix.h: Likewise.
15767 * sunrpc/rpc/clnt.h: Likewise.
15768 * sunrpc/rpc/des_crypt.h: Likewise.
15769 * sunrpc/rpc/key_prot.h: Likewise.
15770 * sunrpc/rpc/netdb.h: Likewise.
15771 * sunrpc/rpc/pmap_clnt.h: Likewise.
15772 * sunrpc/rpc/pmap_prot.h: Likewise.
15773 * sunrpc/rpc/pmap_rmt.h: Likewise.
15774 * sunrpc/rpc/rpc.h: Likewise.
15775 * sunrpc/rpc/rpc_des.h: Likewise.
15776 * sunrpc/rpc/rpc_msg.h: Likewise.
15777 * sunrpc/rpc/svc.h: Likewise.
15778 * sunrpc/rpc/svc_auth.h: Likewise.
15779 * sunrpc/rpc/types.h: Likewise.
15780 * sunrpc/rpc/xdr.h: Likewise.
15781 * sunrpc/rpc_clntout.c: Likewise.
15782 * sunrpc/rpc_cmsg.c: Likewise.
15783 * sunrpc/rpc_common.c: Likewise.
15784 * sunrpc/rpc_cout.c: Likewise.
15785 * sunrpc/rpc_dtable.c: Likewise.
15786 * sunrpc/rpc_hout.c: Likewise.
15787 * sunrpc/rpc_main.c: Likewise.
15788 * sunrpc/rpc_parse.c: Likewise.
15789 * sunrpc/rpc_parse.h: Likewise.
15790 * sunrpc/rpc_prot.c: Likewise.
15791 * sunrpc/rpc_sample.c: Likewise.
15792 * sunrpc/rpc_scan.c: Likewise.
15793 * sunrpc/rpc_scan.h: Likewise.
15794 * sunrpc/rpc_svcout.c: Likewise.
15795 * sunrpc/rpc_tblout.c: Likewise.
15796 * sunrpc/rpc_util.c: Likewise.
15797 * sunrpc/rpc_util.h: Likewise.
15798 * sunrpc/rpcinfo.c: Likewise.
15799 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
15800 * sunrpc/rpcsvc/key_prot.x: Likewise.
15801 * sunrpc/rpcsvc/klm_prot.x: Likewise.
15802 * sunrpc/rpcsvc/mount.x: Likewise.
15803 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
15804 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
15805 * sunrpc/rpcsvc/rex.x: Likewise.
15806 * sunrpc/rpcsvc/rstat.x: Likewise.
15807 * sunrpc/rpcsvc/rusers.x: Likewise.
15808 * sunrpc/rpcsvc/sm_inter.x: Likewise.
15809 * sunrpc/rpcsvc/spray.x: Likewise.
15810 * sunrpc/rpcsvc/yppasswd.x: Likewise.
15811 * sunrpc/rtime.c: Likewise.
15812 * sunrpc/svc.c: Likewise.
15813 * sunrpc/svc_auth.c: Likewise.
15814 * sunrpc/svc_authux.c: Likewise.
15815 * sunrpc/svc_raw.c: Likewise.
15816 * sunrpc/svc_run.c: Likewise.
15817 * sunrpc/svc_simple.c: Likewise.
15818 * sunrpc/svc_tcp.c: Likewise.
15819 * sunrpc/svc_udp.c: Likewise.
15820 * sunrpc/svc_unix.c: Likewise.
15821 * sunrpc/svcauth_des.c: Likewise.
15822 * sunrpc/xcrypt.c: Likewise.
15823 * sunrpc/xdr.c: Likewise.
15824 * sunrpc/xdr_array.c: Likewise.
15825 * sunrpc/xdr_float.c: Likewise.
15826 * sunrpc/xdr_mem.c: Likewise.
15827 * sunrpc/xdr_rec.c: Likewise.
15828 * sunrpc/xdr_ref.c: Likewise.
15829 * sunrpc/xdr_sizeof.c: Likewise.
15830 * sunrpc/xdr_stdio.c: Likewise.
15832 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
15835 2010-08-19 Andreas Schwab <schwab@redhat.com>
15837 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
15839 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
15841 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
15842 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
15843 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
15844 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
15845 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
15846 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
15847 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
15848 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
15849 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
15850 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
15851 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
15852 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
15853 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
15854 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
15856 2010-07-26 Anton Blanchard <anton@samba.org>
15858 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
15859 * malloc/arena.c (heap_trim): Likewise.
15861 2010-08-16 Ulrich Drepper <drepper@redhat.com>
15863 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
15865 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
15866 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
15868 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
15870 * sysdeps/i386/elf/Makefile: New file.
15872 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
15874 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
15875 from fanotify_init.
15876 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
15877 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15879 2010-08-15 Ulrich Drepper <drepper@redhat.com>
15881 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
15883 * sysdeps/multiarch/strcmp.S: Likewise.
15885 2010-08-14 Ulrich Drepper <drepper@redhat.com>
15887 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
15888 strncase_l-nonascii.
15889 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
15890 Add strncase_l-ssse3.
15891 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
15892 * sysdeps/x86_64/strcmp.S: Likewise.
15893 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
15894 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
15895 * sysdeps/x86_64/strncase.S: New file.
15896 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
15897 * sysdeps/x86_64/strncase_l.S: New file.
15898 * string/Makefile (strop-tests): Add strncasecmp.
15899 * string/test-strncasecmp.c: New file.
15901 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
15904 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
15905 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
15907 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
15909 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
15911 2010-08-12 Ulrich Drepper <drepper@redhat.com>
15913 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
15914 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
15915 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
15917 2010-05-01 Alan Modra <amodra@gmail.com>
15919 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
15920 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
15921 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
15922 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
15923 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
15924 tidying. Don't tail-call __sigjmp_save for static lib.
15925 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
15927 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
15928 (CALL_MCOUNT): Add eh info, and nop after bl.
15929 (TAIL_CALL_SYSCALL_ERROR): New macro.
15930 (PSEUDO_RET): Use it.
15931 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
15932 Correct save location of integer regs and cr.
15933 (_dl_profile_resolve): Correct cr save location. Delete nops
15934 after bl when SHARED. Reduce cfi size a little by better
15935 placement of cfi directives.
15936 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
15937 make a stack frame. Instead use parm save area as a temp.
15938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
15939 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
15940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
15941 Don't make a stack frame for parent, use parm save area.
15942 Increase child stack frame to 112 bytes. Don't save unused reg,
15943 and adjust reg usage. Set up cfi on error recovery and
15944 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
15945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15946 (__makecontext): Add dummy nop after jump to exit.
15947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
15948 Use correct parm save area and cr save, reduce stack frame.
15949 Correct cfi for possible PSEUDO_RET frame setup.
15950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
15951 Branch to local label emitted by PSEUDO_RET rather than
15954 2010-08-12 Andreas Schwab <schwab@redhat.com>
15957 * locale/programs/locale.c (print_assignment): New function.
15958 (show_locale_vars): Use it.
15960 2010-08-11 Ulrich Drepper <drepper@redhat.com>
15962 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
15964 (struct statfs64): Likewise.
15965 (_STATFS_F_FLAGS): Define.
15966 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
15967 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15968 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
15969 (ST_VALID): Define locally.
15970 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
15971 __statvfs_getflags, use the provided value.
15972 * sysdeps/unix/sysv/linux/kernel-features.h: Define
15973 __ASSUME_STATFS_F_FLAGS.
15975 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
15977 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
15978 Add sys/fanotify.h.
15979 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
15980 fanotify_mask for GLIBC_2.13.
15981 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
15982 fanotify_init and fanotify_mark.
15983 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15984 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
15986 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
15988 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
15989 prlimit64 for GLIBC_2.13.
15990 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
15992 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
15994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
15995 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15996 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
15997 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
15998 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
16000 * sysdeps/unix/sysv/linux/prlimit.c: New file.
16003 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
16004 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
16006 * nss/Makefile: Add rules to build and run tst-nss-test1.
16007 * shlib-versions: Add entry for libnss_test1.
16008 * nss/nss_test1.c: New file.
16009 * nss/tst-nss-test1.c: New file.
16011 * nss/nsswitch.c (__nss_database_custom): Define new variable.
16012 (__nss_configure_lookup): Set appropriate entry in
16013 __nss_configure_lookup to true.
16014 * nss/nsswitch.h: Define enum with indeces of databases in
16015 databases and __nss_database_custom arrays. Declare
16016 __nss_database_custom.
16017 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
16018 to avoid using nscd when custom rules are installed.
16019 * nss/getXXbyYY_r.c: Likewise.
16020 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16022 * nss/nss_files/files-parse.c: Whitespace fixes.
16024 2010-08-09 Ulrich Drepper <drepper@redhat.com>
16027 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
16028 * posix/fnmatch_loop.c: Likewise.
16030 2010-07-17 Andi Kleen <ak@linux.intel.com>
16032 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
16033 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
16034 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
16035 * Versions.def [GLIBC_2.13]: Add.
16037 2010-08-06 Ulrich Drepper <drepper@redhat.com>
16039 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16040 Also fail if tpwd after pwuid call is NULL.
16042 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
16044 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
16045 when converting to ms.
16047 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16049 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
16050 EOPNOTSUPP errors with ENOTTY.
16051 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
16052 EOPNOTSUPP errors with ENOTTY.
16054 2010-07-31 Ulrich Drepper <drepper@redhat.com>
16056 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
16057 Add strcasecmp_l-ssse3.
16058 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
16060 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
16061 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
16062 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
16064 2010-07-30 Ulrich Drepper <drepper@redhat.com>
16066 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
16068 * string/Makefile (strop-tests): Add strcasecmp.
16069 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
16070 strcasecmp_l-nonascii.
16071 (gen-as-const-headers): Add locale-defines.sym.
16072 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
16073 * sysdeps/x86_64/strcasecmp.S: New file.
16074 * sysdeps/x86_64/strcasecmp_l.S: New file.
16075 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
16076 * sysdeps/x86_64/locale-defines.sym: New file.
16077 * string/test-strcasecmp.c: New file.
16079 * string/test-strcasestr.c: Test both ends of the range of characters.
16080 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
16082 2010-07-29 Roland McGrath <roland@redhat.com>
16085 * manual/locale.texi (Yes-or-No Questions): Fix example code.
16087 2010-07-27 Ulrich Drepper <drepper@redhat.com>
16089 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
16092 2010-07-27 Andreas Schwab <schwab@redhat.com>
16094 * manual/memory.texi (Malloc Tunable Parameters): Document
16097 2010-07-26 Roland McGrath <roland@redhat.com>
16100 * configure.in (-fgnu89-inline check): Set and substitute
16101 gnu89_inline, not libc_cv_gnu89_inline.
16102 * configure: Regenerated.
16103 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
16105 2010-07-26 Ulrich Drepper <drepper@redhat.com>
16107 * string/test-strnlen.c: New file.
16108 * string/Makefile (strop-tests): Add strnlen.
16109 * string/tester.c (test_strnlen): Add a few more test cases.
16110 * string/tst-strlen.c: Better error reporting.
16112 * sysdeps/x86_64/strnlen.S: New file.
16114 2010-07-24 Ulrich Drepper <drepper@redhat.com>
16116 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
16117 lower-latency instructions.
16119 2010-07-23 Ulrich Drepper <drepper@redhat.com>
16121 * string/test-strcasestr.c: New file.
16122 * string/test-strstr.c: New file.
16123 * string/Makefile (strop-tests): Add strstr and strcasestr.
16124 * string/str-two-way.h: Don't undefine MAX.
16125 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
16127 2010-07-21 Andreas Schwab <schwab@redhat.com>
16129 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16130 strcasestr-nonascii.
16131 (CFLAGS-strcasestr-nonascii.c): Define.
16132 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
16133 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
16134 Remove unused attribute.
16136 2010-07-20 Roland McGrath <roland@redhat.com>
16138 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
16139 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
16140 ld.so.cache was broken. With it, there is no way to disable dsocaps
16141 like LD_HWCAP_MASK can disable hwcaps.
16143 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16145 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
16147 2010-07-16 Ulrich Drepper <drepper@redhat.com>
16149 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
16150 call in strcasestr.
16151 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
16152 __strcasestr_sse42_nonascii.
16153 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
16154 strcasestr-nonascii.c.
16155 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
16157 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
16159 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
16160 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
16161 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
16162 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
16164 2010-07-09 Ulrich Drepper <drepper@redhat.com>
16166 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
16169 2010-07-06 Andreas Schwab <schwab@redhat.com>
16172 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
16175 2010-07-06 Ulrich Drepper <drepper@redhat.com>
16177 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
16178 _PC_PIPE_BUF using F_GETPIPE_SZ.
16180 2010-07-05 Roland McGrath <roland@redhat.com>
16182 * manual/arith.texi (Rounding Functions): Fix rint description
16183 implicit in round description.
16185 2010-07-02 Ulrich Drepper <drepper@redhat.com>
16187 * elf/Makefile: Fix linking for a few tests to make recent linker
16190 2010-06-30 Andreas Schwab <schwab@redhat.com>
16192 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
16193 $(common-objpfx)libc_nonshared.a.
16195 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
16197 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
16198 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
16199 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16200 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16201 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
16202 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
16203 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16204 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
16206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
16207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
16208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
16210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
16212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
16213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
16214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
16215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
16217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
16219 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
16220 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
16221 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
16222 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
16223 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
16224 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
16225 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
16226 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
16227 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
16228 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
16229 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
16230 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
16231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
16232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
16233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
16234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
16235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
16236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
16237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
16238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
16239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
16240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
16241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
16242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
16243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
16244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
16246 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
16248 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
16249 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
16250 * string/memmove.c (memmove): Renamed to ...
16251 (MEMMOVE): ...this. Default to memmove.
16252 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
16253 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
16255 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16256 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
16257 mempcpy-ssse3-back memmove-ssse3-back.
16258 * sysdeps/x86_64/multiarch/bcopy.S: New file .
16259 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
16260 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
16261 * sysdeps/x86_64/multiarch/memcpy.S: New file.
16262 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
16263 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
16264 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
16265 * sysdeps/x86_64/multiarch/memmove.c: New file.
16266 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
16267 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
16268 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
16269 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
16270 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
16271 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
16273 (index_Fast_Copy_Backward): Define.
16274 (HAS_ARCH_FEATURE): Define.
16275 (HAS_FAST_REP_STRING): Define.
16276 (HAS_FAST_COPY_BACKWARD): Define.
16278 2010-06-21 Andreas Schwab <schwab@redhat.com>
16280 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16281 Restore proper fallback handling.
16283 2010-06-19 Ulrich Drepper <drepper@redhat.com>
16286 * posix/group_member.c (__group_member): Correct checking loop.
16288 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
16289 OOM in getpwuid_r correctly. Return error number when the caller
16290 should return, otherwise -1.
16291 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
16292 call returning > 0 value.
16293 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
16295 2010-06-07 Andreas Schwab <schwab@redhat.com>
16297 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
16298 libc_nonshared.a from targets in modules-names.
16300 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
16302 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
16305 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
16307 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
16308 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
16309 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
16310 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
16312 2010-06-02 Andreas Schwab <schwab@redhat.com>
16314 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
16316 2010-06-14 Ulrich Drepper <drepper@redhat.com>
16318 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
16320 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16321 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16322 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16323 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16324 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16325 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
16327 2010-06-14 Roland McGrath <roland@redhat.com>
16329 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
16331 2010-06-07 Jakub Jelinek <jakub@redhat.com>
16333 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
16334 __REDIRECT followed by __THROW.
16335 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
16336 * posix/getopt.h (getopt): Likewise.
16338 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16340 * hurd/lookup-at.c (__file_name_lookup_at): Accept
16341 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
16342 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
16344 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
16345 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
16347 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
16349 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
16351 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
16354 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16355 Properly check family and model.
16357 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
16359 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
16361 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
16363 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
16365 2010-05-21 Ulrich Drepper <drepper@redhat.com>
16367 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
16370 2010-05-19 Andreas Schwab <schwab@redhat.com>
16372 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
16375 2010-05-21 Andreas Schwab <schwab@redhat.com>
16377 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
16378 and internal_recvmmsg.
16379 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
16380 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
16381 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
16382 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
16384 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
16385 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16386 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16388 2010-05-20 Andreas Schwab <schwab@redhat.com>
16390 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
16392 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
16394 POWER7 optimizations.
16395 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
16396 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
16398 2010-05-19 Ulrich Drepper <drepper@redhat.com>
16400 * version.h: Update for 2.13 development version.
16402 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
16404 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
16405 exceptions. Return 0.
16407 2010-05-07 Roland McGrath <roland@redhat.com>
16409 * elf/ldconfig.c (main): Add a const.
16411 2010-05-06 Ulrich Drepper <drepper@redhat.com>
16413 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
16414 (args_options): Add no-idn option.
16415 (ahosts_keys_int): Add idn_flags to ai_flags.
16416 (parse_option): Handle 'i' option to clear idn_flags.
16418 * malloc/malloc.c (_int_free): Possible race in the most recently
16419 added check. Only act on the data if no current modification
16422 See ChangeLog.17 for earlier changes.