1 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
5 character 0xffff that matches the last element of the
8 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
13 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
16 values higher than 25.6283.
18 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
21 subnormal exponent extraction and add some __builtin_expect.
22 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
23 Fix for subnormal mantissa calculation.
25 2012-06-04 Mike Frysinger <vapier@gentoo.org>
27 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
28 cpu2 is -1 and errno is not ENOSYS.
30 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
33 * sysdeps/i386/i486/bits/string.h: Renamed to ...
34 * sysdeps/x86/bits/string.h: This.
35 * sysdeps/x86_64/bits/string.h: Removed.
37 * sysdeps/i386/i486/bits/string.h: Define inline functions only
38 if not compiling for x86-64, but compiling for >= i486.
40 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
41 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
43 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
44 New macro from Linux kernel 3.4.0.
45 (FP_XSTATE_MAGIC2): Likewise.
46 (FP_XSTATE_MAGIC2_SIZE): Likewise.
47 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
48 (struct _fpx_sw_bytes): New struct.
49 (struct _xsave_hdr): Likewise.
50 (struct _ymmh_state): Likewise.
51 (struct _xstate): Likewise.
53 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
54 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
55 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
56 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
57 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
58 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
60 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
61 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
62 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
63 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
64 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
65 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
67 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
70 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
71 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
72 (sysdep_headers): Include sys/platform/ppc.h.
73 * sysdeps/powerpc/test-gettimebase.c: Test for
74 __ppc_get_timebase() to catch future ISA opcode/insn changes.
75 * manual/Makefile (appendices): Include platform.texi.
76 * manual/contrib.texi (Contributors): Update @node pointers.
77 * manual/maint.texi (Maintenance): Likewise.
79 * manual/platform.texi: New file. Document the new features.
81 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
82 Jakub Jelinek <jakub@redhat.com>
85 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
86 where __builtin_expect is unavailable.
88 2012-06-03 David S. Miller <davem@davemloft.net>
90 * stdlib/longlong.h: Updated from GCC.
92 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
95 * sysdeps/powerpc/powerpc32/mcount.c: New file.
96 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
98 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
99 (GLIBC_2.16): Likewise.
101 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
103 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
105 2012-06-01 Joseph Myers <joseph@codesourcery.com>
107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
108 (default-abi): New variable.
109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
110 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
112 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
114 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
116 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
119 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
120 definition. Document in comment.
122 2012-06-01 David S. Miller <davem@davemloft.net>
124 * stdlib/longlong.h: Updated from GCC.
126 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
129 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
130 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
131 sys/debugreg.h sys/io.h here.
132 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
133 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
135 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
136 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
137 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
138 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
139 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
140 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
142 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
143 Define only if __x86_64__ is defined.
145 2012-06-01 Joseph Myers <joseph@codesourcery.com>
148 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
149 Use int64_t for variable i.
150 * math/libm-test.inc (fmod_test): Add more tests.
152 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
153 z computation is not scheduled after fetestexcept.
154 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
155 Use math_force_eval instead of asm to ensure calculation scheduled
156 before exception test.
157 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
158 Ensure a1 + u.d computation is not scheduled after fetestexcept.
160 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
162 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
163 computation is not scheduled after fetestexcept.
165 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
168 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
169 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
171 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
173 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
174 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
176 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
179 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
181 (__WCHAR_MIN): Support __WORDSIZE == 64.
182 (__WCHAR_MAX): Likewise.
184 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
185 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
188 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
189 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
192 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
193 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
195 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
196 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
198 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
199 Defined to 1 if __x86_64__ isn't defined.
200 (_STAT_VER_LINUX_OLD): New.
201 (st_atime): Remove duplicate.
202 (st_mtime): Likewise.
203 (st_ctime): Likewise.
205 2012-05-31 David S. Miller <davem@davemloft.net>
207 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
210 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
212 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
216 * elf/dl-reloc.c: Include <_itoa.h>.
217 (_dl_reloc_bad_type): Remove use of INTUSE.
218 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
219 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
220 * stdio-common/psiginfo.c (psiginfo): Likewise.
221 * stdio-common/psignal.c (psignal): Likewise.
222 * string/strsignal.c (strsignal): Likewise.
223 * include/signal.h (_sys_siglist): Declare hidden proto.
224 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
225 INTVARDEF with libc_hidden_data_def.
226 * stdio-common/itoa-udigits.c: Likewise.
227 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
228 (_itoa_lower_digits_internal): Remove declaration.
229 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
230 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
231 (_sys_sigabbrev_internal): Remove aliases.
232 (_sys_siglist): Define hidden alias.
234 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
236 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
239 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
242 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
243 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
245 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
246 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
247 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
248 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
249 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
250 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
252 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
253 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
254 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
256 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
264 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
265 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
266 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
268 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
269 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
270 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
271 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
272 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
273 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
275 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
276 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
278 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
279 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
281 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
282 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
283 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
285 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
286 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
288 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
290 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
291 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
292 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
294 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
296 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
298 2012-05-31 Joseph Myers <joseph@codesourcery.com>
300 * math/math.h (M_El): Use two more decimal places.
301 (M_LOG2El): Likewise.
302 (M_LOG10El): Likewise.
310 (M_2_SQRTPIl): Likewise.
311 (M_SQRT2l): Likewise.
312 (M_SQRT1_2l): Likewise.
314 2012-05-31 David S. Miller <davem@davemloft.net>
316 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
317 values between float registers.
318 * sysdeps/sparc/sparc64/memset.S: Likewise.
319 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
321 2012-05-31 Mike Frysinger <vapier@gentoo.org>
323 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
325 (CPPFLAGS-tst-longjmp_chk.c): Define.
326 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
327 (CPPFLAGS-tst-longjmp_chk2.c): Define.
328 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
329 CFLAGS-tst-wchar-h.c.
331 2012-05-31 Marek Polacek <polacek@redhat.com>
334 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
335 __endmntent_internal): Remove declaration.
336 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
337 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
338 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
340 2012-05-30 David S. Miller <davem@davemloft.net>
342 * sysdeps/sparc/sparc32/soft-fp/q_util.c
343 (___Q_simulate_exceptions): Use real FP ops rather than writing
345 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
348 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
351 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
352 * sysdeps/x86/bits/xtitypes.h: This.
354 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
355 * sysdeps/x86/bits/wordsize.h: This.
357 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
358 * sysdeps/x86/bits/huge_vall.h: This.
360 * sysdeps/i386/bits/select.h: Removed.
361 * sysdeps/x86_64/bits/select.h: Renamed to ...
362 * sysdeps/x86/bits/select.h: This.
364 * sysdeps/i386/bits/setjmp.h: Removed.
365 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
366 * sysdeps/x86/bits/setjmp.h: This.
368 * sysdeps/i386/bits/mathdef.h: Removed.
369 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
370 * sysdeps/x86/bits/mathdef.h: This.
372 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
375 * include/sys/socket.h (__connect_internal)
376 (__libc_sa_len_internal): Remove declaration.
377 (__connect, __libc_sa_len): Declare hidden_proto.
378 (SA_LEN): Remove use of INTUSE.
379 * socket/connect.c: Add libc_hidden_def.
380 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
381 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
382 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
384 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
385 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
386 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
387 of adding _internal alias.
389 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
392 * sysdeps/i386/bits/link.h: Removed.
393 * sysdeps/i386/bits/linkmap.h: Likewise.
394 * sysdeps/x86_64/bits/link.h: Renamed to ...
395 * sysdeps/x86/bits/link.h: This.
396 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
397 * sysdeps/x86/bits/linkmap.h: This.
399 * sysdeps/i386/bits/endian.h: Removed.
400 * sysdeps/x86_64/bits/endian.h: Renamed to ...
401 * sysdeps/x86/bits/endian.h: This.
403 * sysdeps/i386/bits/byteswap.h: Removed.
404 * sysdeps/i386/bits/byteswap-16.h: Likewise.
405 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
406 * sysdeps/x86/bits/byteswap.h: This.
407 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
408 * sysdeps/x86/bits/byteswap-16.h: This.
409 * sysdeps/i386/Implies: Add x86.
410 * sysdeps/x86_64/Implies: Likewise.
412 2012-05-30 David S. Miller <davem@davemloft.net>
414 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
415 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
416 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
417 (FP_TRAPPING_EXCEPTIONS): Define.
418 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
419 (FP_TRAPPING_EXCEPTIONS): Define.
420 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
421 subnormals only when inexact has been signalled or underflow
422 exceptions are enabled.
423 (_FP_PACK_CANONICAL): Likewise.
425 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
428 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
429 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
431 2012-05-30 Richard Henderson <rth@twiddle.net>
433 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
434 with #ifndef NOT_IN_libc.
436 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
437 marked to avoid plt entry.
439 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
442 * Makeconfig (default-abi): New macro.
443 (abi-includes): Likewise.
444 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
445 $(abi-$(default-abi)-lib-soname) for soname if defined.
446 ($(common-objpfx)gnu/lib-names.stmp): Generate from
448 * Makefile (installed-stubs): Likewise.
449 * include/stubs-biarch.h: Removed.
450 * scripts/lib-names.awk: Only handle one library at a time.
451 * scripts/soversions.awk: Remove WORDSIZE support.
452 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
454 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
456 (syscall-list-default-condition): Likewise.
457 (syscall-list-default-condition): Likewise.
458 (syscall-list-includes): Likewise.
459 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
460 syscall-list-* with abi-*. Handle undefined abi-variants.
461 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
462 * sysdeps/unix/sysv/linux/i386/Implies: New file.
463 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
464 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
465 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
466 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
468 (syscall-list-32-options): Likewise.
469 (syscall-list-32-condition): Likewise.
470 (syscall-list-64-options): Likewise.
471 (syscall-list-64-condition): Likewise.
472 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
474 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
477 (abi-64-ld-soname): New macro.
478 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
479 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
482 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
483 * sysdeps/x86_64/x32/shlib-versions: Likewise.
485 2012-05-30 Joseph Myers <joseph@codesourcery.com>
487 * sysdeps/unix/sysv/linux/kernel-features.h
488 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
489 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
490 include <kernel-features.h>.
491 [!__NR_ftruncate64]: Remove conditional code.
492 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
493 [__NR_ftruncate64]: Make code unconditional.
494 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
495 * sysdeps/unix/sysv/linux/truncate64.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/powerpc/powerpc32/ftruncate64.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/truncate64.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.
514 * configure.in (libc_cv_fpie): Weaken to a compile test using
516 * configure: Regenerated.
518 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
520 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
521 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
522 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
523 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
525 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
526 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
527 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
528 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
529 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
530 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
533 2012-05-27 David S. Miller <davem@davemloft.net>
535 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
537 (__Q_simulate_exceptions): Return void. Change to simulate
538 exceptions by writing into the %fsr.
539 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
540 (__Qp_handle_exceptions): Likewise.
542 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
543 __Qp_handle_exceptions.
544 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
545 __Qp_handle_exceptions.
546 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
547 as unused and give dummy FP_RND_NEAREST initializer.
548 (FP_INHIBIT_RESULTS): Define.
549 (___Q_simulate_exceptions): Update declaration.
550 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
552 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
553 as unused and give dummy FP_RND_NEAREST initializer.
554 (__Qp_handle_exceptions): Update declaration.
555 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
558 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
560 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
561 the temporary FPU control word.
562 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
563 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
564 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
565 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
566 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
567 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
568 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
569 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
570 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
571 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
572 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
574 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
576 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
579 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
581 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
582 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
583 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
584 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
586 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
587 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
590 2012-05-27 Ulrich Drepper <drepper@gmail.com>
592 * po/h.po: Update from translation team.
594 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
596 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
598 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
599 handling of denormals.
600 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
601 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
602 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
603 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
604 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
605 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
606 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
609 2012-05-26 Marek Polacek <polacek@redhat.com>
612 * math/libm-test.inc (fma_test): Don't always expect underflow
615 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
618 * elf/tst-execstack.c: Include stackinfo.h.
619 (do_test): Adjust test case to ensure that pthread_getattr_np
620 behaviour remains the same after marking stack executable.
622 2012-05-25 Joseph Myers <joseph@codesourcery.com>
624 * sysdeps/unix/sysv/linux/kernel-features.h
625 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
626 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
628 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
629 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
630 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
632 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
633 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
635 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
637 * configure.in: Define the default includes to being none.
638 * configure: Regenerated.
640 2012-05-25 Roland McGrath <roland@hack.frob.com>
642 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
643 * sysdeps/x86_64/setjmp.S: Likewise.
644 * sysdeps/i386/bsd-setjmp.S: Likewise.
645 * sysdeps/i386/bsd-_setjmp.S: Likewise.
646 * sysdeps/i386/setjmp.S: Likewise.
647 * sysdeps/i386/__longjmp.S: Likewise.
648 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
649 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
651 * include/stap-probe.h: New file.
652 * configure.in: Handle --enable-systemtap.
653 * configure: Regenerated.
654 * config.h.in (USE_STAP_PROBE): New #undef.
655 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
656 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
657 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
659 2012-05-25 Joseph Myers <joseph@codesourcery.com>
662 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
663 to 2.4.0 where earlier.
664 * sysdeps/unix/sysv/linux/configure: Regenerated.
665 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
667 [__ASSUME_32BITUIDS]: Make code unconditional.
668 [!__ASSUME_32BITUIDS]: Remove conditional code.
669 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
671 [__ASSUME_32BITUIDS]: Make code unconditional.
672 [!__ASSUME_32BITUIDS]: Remove conditional code.
673 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
674 [__ASSUME_32BITUIDS]: Make code unconditional.
675 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
676 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
678 [__ASSUME_32BITUIDS]: Make code unconditional.
679 [!__ASSUME_32BITUIDS]: Remove conditional code.
680 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
682 [__ASSUME_32BITUIDS]: Make code unconditional.
683 [!__ASSUME_32BITUIDS]: Remove conditional code.
684 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
686 [__ASSUME_32BITUIDS]: Make code unconditional.
687 [!__ASSUME_32BITUIDS]: Remove conditional code.
688 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
690 [__ASSUME_32BITUIDS]: Make code unconditional.
691 [!__ASSUME_32BITUIDS]: Remove conditional code.
692 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
694 [__ASSUME_32BITUIDS]: Make code unconditional.
695 [!__ASSUME_32BITUIDS]: Remove conditional code.
696 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
698 [__ASSUME_32BITUIDS]: Make code unconditional.
699 [!__ASSUME_32BITUIDS]: Remove conditional code.
700 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
702 [__ASSUME_32BITUIDS]: Make code unconditional.
703 [!__ASSUME_32BITUIDS]: Remove conditional code.
704 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
706 [__ASSUME_32BITUIDS]: Make code unconditional.
707 [!__ASSUME_32BITUIDS]: Remove conditional code.
708 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
710 [__ASSUME_32BITUIDS]: Make code unconditional.
711 [!__ASSUME_32BITUIDS]: Remove conditional code.
712 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
714 [__ASSUME_32BITUIDS]: Make code unconditional.
715 [!__ASSUME_32BITUIDS]: Remove conditional code.
716 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
718 [__NR_setresgid] (__setresgid): Do not declare.
719 [__ASSUME_32BITUIDS]: Make code unconditional.
720 [!__ASSUME_32BITUIDS]: Remove conditional code.
721 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
723 [__NR_setresuid] (__setresuid): Do not declare.
724 [__ASSUME_32BITUIDS]: Make code unconditional.
725 [!__ASSUME_32BITUIDS]: Remove conditional code.
726 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
728 [__ASSUME_32BITUIDS]: Make code unconditional.
729 [!__ASSUME_32BITUIDS]: Remove conditional code.
730 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
732 [__ASSUME_32BITUIDS]: Make code unconditional.
733 [!__ASSUME_32BITUIDS]: Remove conditional code.
734 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
736 [__ASSUME_32BITUIDS]: Make code unconditional.
737 [!__ASSUME_32BITUIDS]: Remove conditional code.
738 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
740 [__ASSUME_32BITUIDS]: Make code unconditional.
741 [!__ASSUME_32BITUIDS]: Remove conditional code.
742 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
744 [__ASSUME_32BITUIDS]: Make code unconditional.
745 [!__ASSUME_32BITUIDS]: Remove conditional code.
746 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
748 [__ASSUME_32BITUIDS]: Make code unconditional.
749 [!__ASSUME_32BITUIDS]: Remove conditional code.
750 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
752 [__ASSUME_32BITUIDS]: Make code unconditional.
753 [!__ASSUME_32BITUIDS]: Remove conditional code.
754 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
756 [__ASSUME_32BITUIDS]: Make code unconditional.
757 [!__ASSUME_32BITUIDS]: Remove conditional code.
758 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
760 [__ASSUME_32BITUIDS]: Make code unconditional.
761 [!__ASSUME_32BITUIDS]: Remove conditional code.
762 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
764 [__ASSUME_32BITUIDS]: Make code unconditional.
765 [!__ASSUME_32BITUIDS]: Remove conditional code.
766 * sysdeps/unix/sysv/linux/kernel-features.h
767 (__ASSUME_SETRESUID_SYSCALL): Remove.
768 (__ASSUME_SETRESGID_SYSCALL): Likewise.
769 (__ASSUME_32BITUIDS): Likewise.
770 (__ASSUME_LDT_WORKS): Likewise.
771 (__ASSUME_O_DIRECTORY): Likewise.
772 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
773 architecture but not kernel version.
774 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
775 (__ASSUME_MMAP2_SYSCALL): Likewise.
776 (__ASSUME_STAT64_SYSCALL): Likewise.
777 (__ASSUME_IPC64): Likewise.
778 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
780 [__ASSUME_32BITUIDS]: Make code unconditional.
781 [!__ASSUME_32BITUIDS]: Remove conditional code.
782 * sysdeps/unix/sysv/linux/opendir.c: Do not include
784 [__ASSUME_O_DIRECTORY]: Make code unconditional.
785 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
786 132096]: Remove conditional code.
787 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
788 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
790 [__ASSUME_32BITUIDS]: Make code unconditional.
791 [!__ASSUME_32BITUIDS]: Remove conditional code.
792 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
794 [__ASSUME_32BITUIDS]: Make code unconditional.
795 [!__ASSUME_32BITUIDS]: Remove conditional code.
796 * sysdeps/unix/sysv/linux/setegid.c: Do not include
798 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
800 (__setresgid): Do not declare.
801 [__ASSUME_32BITUIDS]: Make code unconditional.
802 [!__ASSUME_32BITUIDS]: Remove conditional code.
803 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
805 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
807 (__setresuid): Do not declare.
808 [__ASSUME_32BITUIDS]: Make code unconditional.
809 [!__ASSUME_32BITUIDS]: Remove conditional code.
810 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
812 [__ASSUME_32BITUIDS]: Make code unconditional.
813 [!__ASSUME_32BITUIDS]: Remove conditional code.
814 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
816 [__ASSUME_32BITUIDS]: Make code unconditional.
817 [!__ASSUME_32BITUIDS]: Remove conditional code.
819 2012-05-25 Richard Henderson <rth@twiddle.net>
821 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
822 dl_hwcap to ifunc resolver.
823 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
825 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
826 dl_hwcap to ifunc resolver.
827 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
829 2012-05-24 Joseph Myers <joseph@codesourcery.com>
832 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
833 for |x| <= 2**-26, not 2**-57.
834 * math/libm-test.inc (acos_test): Do not allow spurious underflow
837 2012-05-24 Jeff Law <law@redhat.com>
839 * stdio-common/Makefile (tests): Add bug25.
840 * stdio-common/bug25.c: New test.
842 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
845 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
846 multiple of MALLOC_ALIGNMENT in size.
847 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
849 2012-05-24 Joseph Myers <joseph@codesourcery.com>
851 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
853 (FILENAME_MAX): Use macro-int-constant.
854 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
855 (_IOFBF): Use macro-int-constant.
858 (SEEK_CUR): Likewise.
859 (SEEK_END): Likewise.
860 (SEEK_SET): Likewise.
862 (EOF): Use macro-int-constant. Require < 0.
863 (NULL): Use macro-constant. Require == 0.
864 (stdin): Require type to be FILE *.
867 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
869 (EXIT_SUCCESS): Likewise.
870 (NULL): Use macro-constant. Require == 0.
871 (RAND_MAX): Use macro-int-constant.
872 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
873 [C99-based standards] (strtof): Require function.
874 [C99-based standards] (strtold): Likewise.
875 [C99-based standards] (strtoll): Likewise.
876 [C99-based standards] (strtoull): Likewise.
877 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
878 [ISO || ISO99 || ISO11] (limits.h): Likewise.
879 [ISO || ISO99 || ISO11] (math.h): Likewise.
880 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
881 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
882 [ISO || ISO99 || ISO11] (*_t): Do not allow.
884 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
887 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
888 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
889 * intl/dgettext.c (DCGETTEXT): Likewise.
890 * intl/gettext.c (DCGETTEXT): Likewise.
891 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
892 * posix/regex_internal.h (gettext): Likewise.
893 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
895 * include/argz.h (__argz_count_internal)
896 (__argz_stringify_internal): Remove declaration.
897 (__argz_count, __argz_stringify): Declare hidden proto.
898 * intl/dcgettext.c: Remove use of INTDEF.
899 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
900 * string/argz-stringify.c: Likewise.
901 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
902 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
903 Declare hidden proto.
904 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
905 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
906 Declare hidden proto.
907 * include/stdio.h (__asprintf_internal): Don't declare.
908 (__asprintf): Don't define as macro. Declare hidden proto.
909 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
910 (__fsetlocking): Declare hidden proto.
911 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
912 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
914 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
915 (_IO_setlinebuf): Remove use of INTUSE.
916 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
917 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
918 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
920 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
921 (_IO_do_flush): Remove use of INTUSE.
922 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
923 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
924 (_IO_adjust_column, _IO_least_wmarker)
925 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
926 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
927 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
928 (_IO_default_doallocate, _IO_wdefault_doallocate)
929 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
930 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
931 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
932 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
933 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
934 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
935 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
936 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
937 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
938 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
939 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
940 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
941 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
943 (_IO_flush_all_internal, _IO_adjust_column_internal)
944 (_IO_default_uflow_internal, _IO_default_finish_internal)
945 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
946 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
947 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
948 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
949 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
950 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
951 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
952 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
953 (_IO_file_close_internal, _IO_file_close_it_internal)
954 (_IO_file_underflow_internal, _IO_file_overflow_internal)
955 (_IO_file_init_internal, _IO_file_attach_internal)
956 (_IO_file_fopen_internal, _IO_file_read_internal)
957 (_IO_file_sync_internal, _IO_file_seek_internal)
958 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
959 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
960 (_IO_str_underflow_internal, _IO_str_overflow_internal)
961 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
962 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
963 (_IO_list_all_internal, _IO_link_in_internal)
964 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
965 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
966 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
967 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
968 (_IO_do_write_internal, _IO_padn_internal)
969 (_IO_getline_info_internal, _IO_getline_internal)
970 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
971 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
972 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
973 (_IO_vfscanf_internal, _IO_vfprintf_internal)
974 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
975 (_IO_init_internal, _IO_un_link_internal): Don't declare.
976 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
977 with libc_hidden_ver, remove use of INTUSE.
978 * libio/genops.c: Likewise.
979 * libio/freopen.c: Likewise.
980 * libio/freopen64.c: Likewise.
981 * libio/iofclose.c: Likewise.
982 * libio/iofdopen.c: Likewise.
983 * libio/iofflush.c: Likewise.
984 * libio/iofflush_u.c: Likewise.
985 * libio/iofgets.c: Likewise.
986 * libio/iofgets_u.c: Likewise.
987 * libio/iofopen.c: Likewise.
988 * libio/iofopncook.c: Likewise.
989 * libio/iofread.c: Likewise.
990 * libio/iofread_u.c: Likewise.
991 * libio/ioftell.c: Likewise.
992 * libio/iofwrite.c: Likewise.
993 * libio/iogetline.c: Likewise.
994 * libio/iogets.c: Likewise.
995 * libio/iogetwline.c: Likewise.
996 * libio/iopadn.c: Likewise.
997 * libio/iopopen.c: Likewise.
998 * libio/ioseekoff.c: Likewise.
999 * libio/ioseekpos.c: Likewise.
1000 * libio/iosetbuffer.c: Likewise.
1001 * libio/iosetvbuf.c: Likewise.
1002 * libio/ioungetc.c: Likewise.
1003 * libio/ioungetwc.c: Likewise.
1004 * libio/iovdprintf.c: Likewise.
1005 * libio/iovsprintf.c: Likewise.
1006 * libio/iovsscanf.c: Likewise.
1007 * libio/memstream.c: Likewise.
1008 * libio/obprintf.c: Likewise.
1009 * libio/oldfileops.c: Likewise.
1010 * libio/oldiofclose.c: Likewise.
1011 * libio/oldiofdopen.c: Likewise.
1012 * libio/oldiofopen.c: Likewise.
1013 * libio/oldiopopen.c: Likewise.
1014 * libio/oldstdfiles.c: Likewise.
1015 * libio/putc.c: Likewise.
1016 * libio/setbuf.c: Likewise.
1017 * libio/setlinebuf.c: Likewise.
1018 * libio/stdfiles.c: Likewise.
1019 * libio/strops.c: Likewise.
1020 * libio/vasprintf.c: Likewise.
1021 * libio/vscanf.c: Likewise.
1022 * libio/vsnprintf.c: Likewise.
1023 * libio/vswprintf.c: Likewise.
1024 * libio/wfiledoalloc.c: Likewise.
1025 * libio/wfileops.c: Likewise.
1026 * libio/wgenops.c: Likewise.
1027 * libio/wmemstream.c: Likewise.
1028 * libio/wstrops.c: Likewise.
1029 * libio/__fpurge.c: Likewise.
1030 * libio/__fsetlocking.c: Likewise.
1031 * assert/assert.c: Likewise.
1032 * debug/fgets_chk.c: Likewise.
1033 * debug/fgets_u_chk.c: Likewise.
1034 * debug/fread_chk.c: Likewise.
1035 * debug/fread_u_chk.c: Likewise.
1036 * debug/gets_chk.c: Likewise.
1037 * debug/obprintf_chk.c: Likewise.
1038 * debug/vasprintf_chk.c: Likewise.
1039 * debug/vdprintf_chk.c: Likewise.
1040 * debug/vsnprintf_chk.c: Likewise.
1041 * debug/vsprintf_chk.c: Likewise.
1042 * malloc/mtrace.c: Likewise.
1043 * misc/error.c: Likewise.
1044 * misc/syslog.c: Likewise.
1045 * stdio-common/asprintf.c: Likewise.
1046 * stdio-common/fxprintf.c: Likewise.
1047 * stdio-common/getw.c: Likewise.
1048 * stdio-common/isoc99_fscanf.c: Likewise.
1049 * stdio-common/isoc99_scanf.c: Likewise.
1050 * stdio-common/isoc99_vfscanf.c: Likewise.
1051 * stdio-common/isoc99_vscanf.c: Likewise.
1052 * stdio-common/isoc99_vsscanf.c: Likewise.
1053 * stdio-common/printf-prs.c: Likewise.
1054 * stdio-common/printf_fp.c: Likewise.
1055 * stdio-common/printf_fphex.c: Likewise.
1056 * stdio-common/printf_size.c: Likewise.
1057 * stdio-common/putw.c: Likewise.
1058 * stdio-common/scanf.c: Likewise.
1059 * stdio-common/sprintf.c: Likewise.
1060 * stdio-common/tmpfile.c: Likewise.
1061 * stdio-common/vfprintf.c: Likewise.
1062 * stdio-common/vfscanf.c: Likewise.
1063 * stdlib/strfmon_l.c: Likewise.
1064 * sunrpc/openchild.c: Likewise.
1065 * sunrpc/xdr_stdio.c: Likewise.
1066 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
1067 * sysdeps/mach/hurd/tmpfile.c: Likewise.
1069 2012-05-24 Roland McGrath <roland@hack.frob.com>
1071 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1073 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
1074 in the third column, to generate for the shared library an IFUNC
1075 that uses _dl_vdso_vsym.
1076 * Makerules (COMPILE.c, compile-stdin.c): New variables.
1077 * Makeconfig (object-suffixes-noshared): New variable.
1079 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
1080 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
1081 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
1082 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
1085 * include/sys/time.h (__gettimeofday): Remove macro.
1086 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
1087 * time/gettimeofday.c (__gettimeofday): Remove #undef.
1089 (__gettimeofday): Add libc_hidden_def.
1090 (gettimeofday): Add libc_hidden_weak.
1091 * sysdeps/mach/gettimeofday.c: Likewise.
1092 * sysdeps/posix/gettimeofday.c: Likewise.
1093 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
1094 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
1095 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
1096 (__gettimeofday_internal): Remove strong_alias.
1097 (__gettimeofday): Add libc_hidden_def.
1098 (gettimeofday): Add libc_hidden_weak.
1099 * sysdeps/unix/syscalls.list (gettimeofday):
1100 Remove __gettimeofday_internal alias.
1102 2012-05-24 Daniel Jacobowitz <drow@false.org>
1103 H.J. Lu <hongjiu.lu@intel.com>
1106 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
1107 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
1108 (largebin_index_32_big): New.
1109 (largebin_index): Use it for 16-byte alignment.
1110 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
1111 correction with front_misalign.
1113 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
1115 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
1116 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
1118 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
1120 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
1122 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
1124 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
1126 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
1128 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
1130 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1132 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
1134 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
1136 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
1138 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
1141 * scripts/data/c++-types-x32-linux-gnu.data: New file.
1142 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
1144 2012-05-24 Joseph Myers <joseph@codesourcery.com>
1148 * math/libm-test.inc (exp_test): Add test from bug 14036.
1149 (pow_test): Add test from bug 10846.
1151 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
1153 (special_function): Do not include flags in test name.
1154 (parse_args): Likewise.
1155 * sysdeps/i386/fpu/libm-test-ulps: Update.
1156 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1157 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1158 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1159 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1161 * math/gen-libm-test.pl (%beautify): Add entries for underflow
1163 * math/libm-test.inc ("Philosophy"): Update comment about
1165 (UNDERFLOW_EXCEPTION): New macro.
1166 (UNDERFLOW_EXCEPTION_OK): Likewise.
1167 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
1168 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
1169 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
1170 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
1171 (INVALID_EXCEPTION_OK): Update value.
1172 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1173 (OVERFLOW_EXCEPTION_OK): Likewise.
1174 (IGNORE_ZERO_INF_SIGN): Likewise.
1175 (test_exceptions): Handle underflow exceptions.
1176 (acos_test): Update for underflow exception expectations.
1177 (cexp_test): Likewise.
1178 (clog_test): Likewise.
1179 (clog10_test): Likewise.
1180 (csqrt_test): Likewise.
1181 (ctan_test): Likewise.
1182 (ctanh_test): Likewise.
1183 (exp_test): Likewise.
1184 (exp10_test): Likewise.
1185 (exp2_test): Likewise.
1186 (expm1_test): Likewise.
1187 (fma_test): Likewise.
1188 (j0_test): Likewise.
1189 (jn_test): Likewise.
1190 (nexttoward_test): Likewise.
1191 (pow_test): Likewise.
1192 (scalbn_test): Likewise.
1193 (scalbln_test): Likewise.
1194 (tan_test): Likewise.
1195 (y1_test): Likewise.
1196 * sysdeps/i386/fpu/libm-test-ulps: Update.
1197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1199 2012-05-23 David S. Miller <davem@davemloft.net>
1201 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1202 (__libc_sigaction): Remove unused local variables.
1204 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1206 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
1208 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
1210 mktime: avoid signed integer overflow
1211 * time/mktime.c (__mktime_internal): Do not mishandle the case
1212 where diff == INT_MIN.
1214 mktime: simplify computation of average
1215 * time/mktime.c (ranged_convert): Use new time_t_avg function
1216 instead of rolling our own (probably-slower) code.
1218 mktime: do not assume signed right shift propagates sign bit
1219 * time/mktime.c (isdst_differ): New static function.
1220 (__mktime_internal): No need to normalize tm_isdst now.
1221 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
1224 mktime: merge another wrapv change from gnulib
1225 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
1226 from some compilers.
1228 mktime: remove incorrect attempt at unusual arithmetics
1229 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
1230 The code didn't really work on such machines anyway.
1231 (TYPE_MINIMUM): Assume two's complement.
1232 (twos_complement_arithmetic): Verify that long_int and time_t
1233 are two's complement (or unsigned, in the latter case).
1235 mktime: check signed shifts on long_int and time_t, too
1236 * time/mktime.c (SHR): Check that shifts work as desired
1237 on the types long_int and time_t too, as SHR is used on
1240 mktime: do not assume 'long' is wide enough
1241 * time/mktime.c (verify): Move decl up.
1242 (long_int): New type.
1243 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
1244 to remove assumption in the code that 'long' is wide enough to
1245 store year values. This assumption is not true on x32 and on
1246 some non-glibc platforms.
1248 mktime: merge wrapv change from gnulib
1249 * time/mktime.c (WRAPV): New macro.
1250 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
1251 (guess_time_tm, __mktime_internal): Do not assume that signed
1252 integer overflow wraps around; modern compilers generate code
1253 where this assumption is no longer valid.
1255 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1257 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1258 Replace "jmp L(pseudo_end)" with "ret".
1259 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
1262 2012-05-23 Andreas Jaeger <aj@suse.de>
1264 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
1265 * sysdeps/unix/sysv/linux/poll.c: Remove file.
1267 2012-05-23 Andreas Jaeger <aj@suse.de>
1268 Maximilian Attems <max@stro.at>
1270 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
1273 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1275 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
1276 code so that pseudo_end is just ret and the stack pointer is
1277 correct also for static library in error case.
1279 2012-05-23 Joseph Myers <joseph@codesourcery.com>
1281 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
1282 move to syscalls.list.
1283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1288 * manual/install.texi (Running make install): Do not mention Linux
1289 kernel version for which pt_chown is not needed.
1290 (Linux): Do not mention problems with nscd with 2.0 kernels.
1291 * INSTALL: Regenerated.
1293 2012-05-23 Andreas Jaeger <aj@suse.de>
1295 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
1296 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
1298 * sysdeps/unix/sysv/linux/s390/bits/mman.h
1299 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1300 * sysdeps/unix/sysv/linux/sh/bits/mman.h
1301 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1302 * sysdeps/unix/sysv/linux/i386/bits/mman.h
1303 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1304 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
1305 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1306 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
1307 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1308 * sysdeps/unix/sysv/linux/bits/in.h
1309 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
1311 2012-05-22 Roland McGrath <roland@hack.frob.com>
1313 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
1314 (PREPARE_VERSION): Just use assert instead, it will be elided
1315 under [NDEBUG] anyway.
1317 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1319 * sysdeps/unix/sysv/linux/Makefile: Include
1320 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
1321 (sysdep_routines): Remove sysctl.
1322 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
1323 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
1324 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
1325 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
1326 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
1328 2012-05-22 Andreas Jaeger <aj@suse.de>
1330 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
1331 that pseudo_end is just ret and the stack pointer is correct also
1332 for static library in error case.
1334 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
1337 * nss/nsswitch.c (defconfig_entries): New variable.
1338 (__nss_database_lookup): Don't leak defconfig entries.
1339 (nss_parse_service_list): Don't leak on error paths.
1340 (free_database_entries): New function.
1341 (free_defconfig): New function.
1342 (free_mem): Move common code to free_database_entries.
1344 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1346 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
1348 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
1350 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1351 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
1352 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
1354 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
1355 (INTERNAL_SYSCALL_TYPES): Likewise.
1356 (LOAD_ARGS_TYPES_[1-6]): Likewise.
1357 (LOAD_REGS_TYPES_[1-6]): Likewise.
1358 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
1359 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
1361 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1363 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
1364 copysignl for GLIBC_2_0.
1365 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
1366 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
1367 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
1368 logbl for GLIBC_2_0.
1369 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1370 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1372 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1374 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
1375 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1377 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1380 * time/mktime.c: Update copyright years.
1382 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
1384 mktime: merge comment-quoting-style change from gnulib
1385 * time/mktime.c: Quote 'like this' in comments.
1386 The GNU coding standards suggest that we no longer quote `like this',
1387 as "`" and "'" are typically rendered asymmetrically nowadays.
1388 The typical gnulib style is to quote 'like this' when quoting
1389 code, and "like this" when quoting English.
1391 * time/mktime.c (compile-command): Add "-I.".
1393 mktime: merge mktime-internal.h change from gnulib
1394 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
1396 mktime: merge time_r change from gnulib
1397 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
1399 mktime: merge DEBUG change from gnulib
1400 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
1401 case system <time.h> has a #define.
1403 mktime: merge <sys/types.h> change from gnulib
1404 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
1405 since <time.t> is now guaranteed to define time_t.
1407 mktime: merge HAVE_CONFIG_H change from gnulib
1408 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
1410 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1412 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1415 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
1417 (struct rusage): Use anonymous union to pad each field to
1420 2012-05-21 David S. Miller <davem@davemloft.net>
1422 * Makefules (o-iterator): Remove .s cases.
1423 (compile-command.s): Delete.
1424 (COMPILE.s): Delete.
1425 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
1427 2012-05-21 Joseph Myers <joseph@codesourcery.com>
1429 * configure.in (libc_cv_predef_stack_protector): Only consider
1430 "foobar" and "__stack_chk_fail" lines in libc_undefs.
1431 * configure: Regenerated.
1433 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1435 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1436 New macro. Use R*LP on int and pointer.
1437 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
1438 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
1439 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
1440 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
1442 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
1443 [__WORDSIZE_TIME64_COMPAT32] instead of
1444 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
1445 (struct utmp): Likewise.
1446 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
1447 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
1449 (__WORDSIZE_TIME64_COMPAT32): This.
1450 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
1451 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
1452 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
1453 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
1454 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
1455 (__WORDSIZE_TIME64_COMPAT32): New macro.
1457 2012-05-21 Andreas Jaeger <aj@suse.de>
1459 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
1460 only if [SHARED]. Add prototype for __wcschr_ia32.
1462 2012-05-21 Roland McGrath <roland@hack.frob.com>
1464 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
1465 of %rbp unmolested in the jmp_buf while mangling the low bits.
1466 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
1467 unmolested high bits of %rbp while demangling the low bits.
1468 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
1470 2012-05-21 Andreas Jaeger <aj@suse.de>
1472 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
1473 * sunrpc/svc_simple.c: Use it for registerrpc.
1474 * sunrpc/xcrypt.c: Use it for passwd2des.
1476 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
1478 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1480 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
1481 Don't define if [__SYSCALL_WORDSIZE != 32].
1482 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
1485 2012-05-21 Bruno Haible <bruno@clisp.org>
1486 Andreas Jaeger <aj@suse.de>
1488 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
1489 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
1490 inptr and inend for must_buffer_ch.
1491 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
1492 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
1493 * stdio-common/Makefile (tests): Remove bug15.
1494 (bug15-ENV): Remove macro.
1495 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
1498 2012-05-19 Andreas Jaeger <aj@suse.de>
1499 Roland McGrath <roland@hack.frob.com>
1501 * manual/contrib.texi: Completely rewritten. It contains now an
1502 alphabetical list of contributors and their contributions.
1504 2012-05-21 Richard Henderson <rth@twiddle.net>
1506 * misc/getauxval.c (__getauxval): Use unsigned long int.
1507 * misc/sys/auxv.h: Include <sys/cdefs.h>.
1508 (getauxval): Use unsigned long int.
1510 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1512 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1514 2012-05-21 Roland McGrath <roland@hack.frob.com>
1516 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
1517 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
1518 __alignof__ (long double).
1520 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1522 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1524 2012-05-20 Richard Henderson <rth@twiddle.net>
1526 * misc/getauxval.c: New file.
1527 * misc/sys/auxv.h: New file.
1528 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
1529 (routines): Add getauxval.
1530 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
1531 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
1532 * elf/dl-sysdep.c (_dl_auxv): Remove.
1533 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
1534 * elf/dl-support.c (_dl_auxv): New variable.
1535 (_dl_aux_init): Initialize it.
1536 * manual/startup.texi (Auxiliary Vector): New node.
1537 * sysdeps/generic/bits/hwcap.h: New file.
1538 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
1539 * sysdeps/powerpc/sysdep.h: ... here. Include it.
1540 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
1541 * sysdeps/sparc/sysdep.h: ... here. Include it.
1542 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
1543 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
1544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
1547 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
1548 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
1549 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
1550 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1551 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1552 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
1553 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
1555 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1557 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1559 2012-05-19 David S. Miller <davem@davemloft.net>
1561 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1563 2012-05-19 Joseph Myers <joseph@codesourcery.com>
1566 * math/s_ccosh.c: Include <float.h>
1567 (__ccosh): Avoid internal overflow calculating sinh and cosh
1568 values before multiplying by sin and cos values.
1569 * math/s_ccoshf.c: Likewise.
1570 * math/s_ccoshl.c: Likewise.
1571 * math/s_csin.c: Likewise.
1572 * math/s_csinf.c: Likewise.
1573 * math/s_csinl.c: Likewise.
1574 * math/s_csinh.c: Likewise.
1575 * math/s_csinhf.c: Likewise.
1576 * math/s_csinhl.c: Likewise.
1577 * math/libm-test.inc (ccos_test): Add more tests.
1578 (ccosh_test): Likewise.
1579 (csin_test): Likewise.
1580 (csinh_test): Likewise.
1581 * sysdeps/i386/fpu/libm-test-ulps: Update.
1582 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1584 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
1586 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
1587 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
1589 * sysdeps/x86_64/x32/_itoa.h: Add comment.
1591 2012-05-19 Joseph Myers <joseph@codesourcery.com>
1593 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
1594 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
1595 * sysdeps/powerpc/soft-fp/Versions: Likewise.
1596 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
1597 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
1598 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
1599 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
1600 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
1601 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
1602 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
1603 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
1604 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
1605 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
1606 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
1607 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
1608 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
1609 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
1610 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
1611 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
1612 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
1613 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
1614 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
1615 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
1616 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
1617 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
1618 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
1619 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
1620 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
1621 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
1622 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
1623 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
1625 2012-05-18 Andreas Jaeger <aj@suse.de>
1627 * csu/.gitignore: Delete.
1629 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1631 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
1632 (timex): Use __syscall_slong_t.
1634 2012-05-18 Andreas Jaeger <aj@suse.de>
1635 Carlos O'Donell <carlos_odonell@mentor.com>
1637 * manual/install.texi (Configuring and compiling): Update
1638 description about files modified in the source directory.
1639 * INSTALL: Regenerated.
1641 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1643 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
1644 value. Use "or" to set return value to -1.
1645 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
1646 negate return value.
1648 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1650 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
1651 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
1652 failure if the compiler has Graphite support disabled.
1653 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
1655 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
1656 CFLAGS-memmove.c): Likewise.
1657 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
1660 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1662 * sysdeps/x86_64/x32/_itoa.h: New file.
1664 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
1665 getdents system call only if kernel and user dirents have the
1666 same d_ino and d_off.
1668 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1669 LLONG_MAX != LONG_MAX.
1670 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1671 (_fitoa_word): Likewise.
1673 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
1675 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
1676 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
1677 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
1679 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
1680 include <bits/wordsize.h>. Check __x86_64__ instead of
1682 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
1683 if __x86_64__ is defined. Use anonymous union on fpstate.
1685 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
1688 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
1690 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
1691 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
1692 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
1693 Refer to _rtld_local_ro instead of _rtld_global_ro.
1694 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
1696 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
1698 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
1700 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
1701 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
1702 of _rtld_global, and rtld_progname instead of _dl_argv[0].
1704 * sysdeps/powerpc/powerpc32/dl-machine.c
1705 (__elf_machine_runtime_setup) [PROF]: Don't reference
1708 2012-05-18 Andreas Jaeger <aj@suse.de>
1710 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
1711 function only available for GCCs before 3.4 since GCC 3.4
1712 introduced a builtin.
1714 (llrintf): Likewise.
1722 (nearbyint): Likewise.
1723 (nearbyintf): Likewise.
1729 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1731 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
1732 on both fields and cast pointer to __syscall_ulong_t.
1734 * bits/types.h (__fsword_t): New type.
1735 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
1736 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
1737 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1738 (__FSWORD_T_TYPE): Likewise.
1739 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1740 (__FSWORD_T_TYPE): Likewise.
1741 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1742 (__FSWORD_T_TYPE): Likewise.
1743 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
1744 (__FSWORD_T_TYPE): Likewise.
1745 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
1746 __SWORD_TYPE with __fsword_t.
1747 (statfs64): Likewise.
1749 2012-05-17 David S. Miller <davem@davemloft.net>
1751 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
1753 2012-05-17 Andreas Jaeger <aj@suse.de>
1755 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
1758 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1760 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
1762 2012-05-17 Andreas Jaeger <aj@suse.de>
1764 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
1767 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1769 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
1771 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1773 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
1774 * sysdeps/x86_64/tst-mallocalign1.c: New file.
1776 2012-05-17 Andreas Jaeger <aj@suse.de>
1777 Carlos O'Donell <carlos_odonell@mentor.com>
1780 * sysdeps/x86_64/multiarch/init-arch.h
1781 (bit_YMM_Usable): Rename to...
1782 (bit_AVX_Usable): ... this.
1783 (bit_FMA4_Usable): New macro.
1784 (bit_XMM_state): New macro.
1785 (bit_YMM_state): New macro.
1786 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
1787 [__ASSEMBLER__] (index_AVX_Usable): ... this.
1788 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
1789 (CPUID_OSXSAVE): New macro.
1790 (CPUID_AVX): New macro.
1791 (CPUID_FMA4): New macro.
1792 (index_YMM_Usable): Rename to...
1793 (index_AVX_Usable): ... this.
1794 (HAS_AVX): Use HAS_ARCH_FEATURE.
1795 (HAS_FMA4): Likewise.
1796 (HAS_YMM_USABLE): Remove.
1797 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1798 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
1800 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
1801 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
1802 * sysdeps/x86_64/multiarch/Makefile: Likewise.
1803 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
1804 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
1806 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1808 * math/libm-test.c: Support platforms without multiple rounding modes.
1809 * math/bug-nextafter.c: Support platforms without FP exceptions.
1810 * math/bug-nexttoward.c: Likewise.
1811 * math/test-fenv.c: Likewise.
1812 * math/test-misc.c: Likewise.
1813 * stdlib/bug-getcontext.c: Likewise.
1815 2012-05-17 Andreas Jaeger <aj@suse.de>
1817 * manual/examples/search.c (critter_cmp): Change signature to
1819 * manual/string.texi (Collation Functions): Likewise.
1821 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1823 * bits/types.h: Fold copyright years.
1824 * bits/typesizes.h: Likewise.
1825 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
1826 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
1827 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
1828 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
1829 * time/time.h: Likewise.
1831 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
1834 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
1835 in instead of returning them. Return void.
1836 (__libc_mallinfo): Accumulate over all arenas.
1837 (__malloc_stats): Adjust for change in int_mallinfo interface.
1839 2012-05-16 Roland McGrath <roland@hack.frob.com>
1842 * configure.in (NM): Add AC_CHECK_TOOL for it.
1843 (libc_extra_cflags): New substituted variable.
1844 Check for -fstack-protector being used implicitly.
1845 * configure: Regenerated.
1846 * config.make.in (config-extra-cflags): New variable,
1847 gets @libc_extra_cflags@.
1848 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
1851 * configure.in: Check for _FORTIFY_SOURCE being predefined.
1852 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
1853 * configure: Regenerated.
1854 * config.make.in (CPPUNDEFS): New substituted variable.
1855 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
1856 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
1857 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
1859 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1861 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
1862 (mq_attr): Use __syscall_slong_t.
1864 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1866 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
1867 Check __x86_64__ instead of __WORDSIZE.
1868 (_STAT_VER_LINUX): Likewise.
1869 (stat): Check __x86_64__ instead of __WORDSIZE. Use
1870 __syscall_ulong_t and __syscall_slong_t.
1873 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1875 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
1877 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1879 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
1881 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1883 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
1886 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
1887 include <bits/wordsize.h>. Check __x86_64__ instead of
1889 (greg_t): Use "__extension__ long long int" if __x86_64__ is
1891 (mcontext_t): Replace "unsigned long" with "unsigned long long".
1893 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
1894 include <bits/wordsize.h>. Check __x86_64__ instead of
1896 (user_regs_struct): Use "__extension__ unsigned long long"
1897 instead of "unsigned long" if __x86_64__ is defined.
1898 (user): Likewise. Pad after pointer field if __ILP32__ is
1901 2012-05-16 Joseph Myers <joseph@codesourcery.com>
1903 * configure.in (makeinfo): Require version 4.5 or later. Allow
1905 * configure: Regenerated.
1906 * manual/install.texi (texinfo): Increase version requirement to
1908 * INSTALL: Regenerated.
1910 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
1912 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1914 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
1916 * sysdeps/x86_64/x32/ffs.c: New file.
1918 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
1920 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
1921 defined. Use __syscall_ulong_t.
1922 (shminfo): Use __syscall_ulong_t.
1923 (shm_info): Likewise.
1925 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
1928 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
1930 (msgqnum_t): Use __syscall_ulong_t.
1931 (msglen_t): Likewise.
1932 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
1935 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
1936 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1938 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
1940 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
1941 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
1943 * sysvipc/sys/msg.h (msgbuf): Replace long int with
1946 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
1947 include <bits/wordsize.h>. Check __x86_64__ instead of
1950 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
1951 "unsigned long long int" if __x86_64__ is defined.
1952 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
1954 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
1955 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1956 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
1958 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
1960 (GET_PC): Cast to uintptr_t first.
1961 (GET_FRAME): Likewise.
1962 (GET_STACK): Likewise.
1964 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
1965 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
1966 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
1967 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
1968 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
1969 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
1970 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
1971 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
1972 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
1973 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
1974 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
1975 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
1976 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1977 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
1978 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
1979 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
1980 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
1981 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
1982 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
1983 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
1984 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
1985 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
1986 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
1987 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
1988 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
1989 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
1990 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
1991 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
1992 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
1994 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
1996 * Makerules (+depfiles): Also collect depfiles from .oS in
1998 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
1999 .oS, $(libnldbl-routines)).
2001 * Makerules (native-compile-mkdep-flags): Define.
2002 * sunrpc/Makefile (extra-objs): Add $(addprefix
2003 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
2004 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
2005 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
2006 calling $(make-target-directory).
2008 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2010 * bits/types.h (__snseconds_t): Removed.
2011 * time/time.h (struct timespec): Replace __snseconds_t with
2013 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
2014 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
2016 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2017 (__SNSECONDS_T_TYPE): Likewise.
2018 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2019 (__SNSECONDS_T_TYPE): Likewise.
2020 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2021 (__SNSECONDS_T_TYPE): Likewise.
2023 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2025 * sysdeps/mach/hurd/bits/typesizes.h
2026 (__SYSCALL_SLONG_TYPE): New macro.
2027 (__SYSCALL_ULONG_TYPE): Likewise.
2029 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2031 * bits/types.h (__syscall_slong_t): New type.
2032 (__syscall_ulong_t): Likewise.
2034 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
2035 (__SYSCALL_ULONG_TYPE): Likewise.
2036 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2037 (__SYSCALL_SLONG_TYPE): Likewise.
2038 (__SYSCALL_ULONG_TYPE): Likewise.
2039 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2040 (__SYSCALL_SLONG_TYPE): Likewise.
2041 (__SYSCALL_ULONG_TYPE): Likewise.
2042 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2043 (__SYSCALL_SLONG_TYPE): Likewise.
2044 (__SYSCALL_ULONG_TYPE): Likewise.
2046 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2048 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
2049 Add sigaltstack-offsets.sym.
2050 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
2051 <sigaltstack-offsets.h>.
2052 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
2053 longjmp_msg pointer.
2054 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
2055 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
2057 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
2059 2012-05-15 Joseph Myers <joseph@codesourcery.com>
2061 * elf/stackguard-macros.h: Remove file.
2062 * sysdeps/generic/stackguard-macros.h: New file.
2063 * sysdeps/i386/stackguard-macros.h: Likewise.
2064 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
2065 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
2066 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2067 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2068 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
2069 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
2070 * sysdeps/x86_64/stackguard-macros.h: Likewise.
2071 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
2072 <elf/stackguard-macros.h>.
2075 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
2076 __aligned__ in attribute.
2077 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
2078 (gregset_t): Likewise.
2080 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2082 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
2083 * sysdeps/x86_64/64/Implies-after: Here. New file.
2084 * sysdeps/x86_64/x32/Implies-after: New file.
2086 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2088 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
2089 and access return value for _dl_profile_fixup. Use R10_LP to
2092 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2094 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
2096 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2098 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
2099 * sysdeps/x86_64/x32/sysdep.h: New file.
2101 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2103 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
2104 * sysdeps/x86_64/setjmp.S: Likewise.
2106 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2108 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
2109 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
2110 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
2111 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
2112 remove unused global constant.
2114 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
2116 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
2117 include of <not-cancel.h>.
2119 2012-05-15 Roland McGrath <roland@hack.frob.com>
2121 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
2123 2012-05-15 Jeff Law <law@redhat.com>
2124 Andreas Jaeger <aj@suse.de>
2127 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
2129 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
2130 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
2131 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
2132 code changing __hst_map_handle.map.
2134 2012-05-15 Roland McGrath <roland@hack.frob.com>
2136 * configure.in (sysnames): Look for Implies-before and Implies-after
2138 * configure: Regenerated.
2140 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2142 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
2143 8-byte data alignment with LP_SIZE alignment.
2145 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2147 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
2150 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2152 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
2154 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2156 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
2157 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
2158 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
2160 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2162 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2164 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
2165 (stackinfo_sub_sp): Likewise.
2167 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2169 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
2172 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2174 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
2177 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2179 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
2182 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2184 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
2186 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2188 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
2189 into R11_LP and load __x86_64_shared_cache_size_half into
2192 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2194 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
2197 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2199 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
2201 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
2203 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
2205 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
2206 powerpc32/power7/fpu/s_logb.c via #include.
2207 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
2208 powerpc32/power7/fpu/s_logbf.c via #include.
2209 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
2210 powerpc32/power7/fpu/s_logbl.c via #include.
2212 2012-05-15 Joseph Myers <joseph@codesourcery.com>
2214 * README.libm: Remove file.
2216 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2218 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
2219 count for x32. Use R*_LP and omit operand-size suffix.
2221 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2223 * shlib-versions: Move x86_64-.*-linux.* entries to ...
2224 * sysdeps/x86_64/64/shlib-versions: Here. New file.
2225 * sysdeps/x86_64/x32/shlib-versions: New file.
2227 2012-05-14 Roland McGrath <roland@hack.frob.com>
2229 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
2230 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
2231 Use _dl_fatal_printf instead.
2233 2012-05-14 Joseph Myers <joseph@codesourcery.com>
2235 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
2236 set if not set by the user. Do not allow for being unset.
2237 * sysdeps/unix/sysv/linux/configure: Regenerated.
2239 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2241 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
2242 the `q' suffix from lea and replace .quad with ASM_ADDR.
2244 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2246 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
2247 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
2249 (PTR_DEMANGLE): Likewise.
2251 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2253 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
2255 (ASM_ADDR): Likewise.
2273 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2275 * sysdeps/x86_64/x32/dl-machine.h: New file.
2277 2012-05-14 Andreas Jaeger <aj@suse.de>
2279 * manual/Makefile (subdir): Remove export of subdir.
2280 (all): Remove target.
2281 (.PHONY): Remove all from list.
2282 (mkinstalldirs): Remove.
2283 (.PHONY): Remove installdirs from list.
2284 ($(inst_infodir)/libc.info): Use make-target-directory.
2285 (installdirs): Remove.
2287 (glibc-targets): Remove.
2290 ($(objpfx)stubs ../po/manual.pot): Remove.
2291 ($(objpfx)stamp%): Remove.
2292 (make-target-directory): Remove.
2293 (subdir_install): Remove.
2301 * manual/.gitignore: Remove, it's not needed anymore.
2302 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
2304 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
2306 (texis): Renamed to $(objpfx)texis.
2307 (texis-path): New, contains path to generated files.
2308 (chapters.%): Use texis-path for complete path, add extra argument
2310 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
2311 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
2312 (summary,texi, stamp-summary): Use complete path of
2313 files. Generate files in build dir.
2314 (dir-add.texi): Build in build dir.
2315 (libm-err.texi,stamp-libm-err): Likewise.
2316 (version.texi, stamp-version): Likewise.
2317 (.%c.texi): Likewise.
2318 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
2319 (mostlyclean): Remove target.
2320 (realclean): Remove target.
2321 (generated): Add new variable with contents from mostlyclean and
2322 realclean, remove entries duplicated in common-mostlyclean, add
2323 stamp-libm-err and stamp-version.
2324 (generated-dirs): Add libc directory.
2325 ($(inst_infodir)/libc.info): Install files from build dir.
2327 * manual/install.texi (Configuring and compiling): Adjust since
2328 the info files are not part of the tar ball anymore.
2330 2012-05-14 Andreas Jaeger <aj@suse.de>
2332 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
2335 2012-05-14 Joseph Myers <joseph@codesourcery.com>
2338 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2339 to 2.2.0 where earlier.
2340 * sysdeps/unix/sysv/linux/configure: Regenerated.
2341 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
2342 Remove conditional code.
2343 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
2344 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
2345 Remove conditional code.
2346 [!__NR_lchown]: Likewise.
2347 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2348 [__NR_lchown]: Likewise.
2349 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
2350 comment referencing __ASSUME_LCHOWN_SYSCALL.
2351 * sysdeps/unix/sysv/linux/i386/sigaction.c
2352 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2353 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2354 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
2355 Remove conditional code.
2356 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
2357 (__protocol_available): Remove #if 0 code.
2358 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
2360 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
2361 * sysdeps/unix/sysv/linux/kernel-features.h
2362 (__ASSUME_GETCWD_SYSCALL): Don't define.
2363 (__ASSUME_REALTIME_SIGNALS): Likewise.
2364 (__ASSUME_PREAD_SYSCALL): Likewise.
2365 (__ASSUME_PWRITE_SYSCALL): Likewise.
2366 (__ASSUME_POLL_SYSCALL): Likewise.
2367 (__ASSUME_LCHOWN_SYSCALL): Likewise.
2368 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
2370 (__ASSUME_SIOCGIFNAME): Don't define.
2371 (__ASSUME_MSG_NOSIGNAL): Likewise.
2372 (__ASSUME_SENDFILE): Define unconditionally.
2373 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
2374 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
2376 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
2377 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
2378 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2379 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2380 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
2381 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2382 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
2384 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2385 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2387 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2388 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
2390 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2391 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2393 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2394 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
2396 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2397 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
2399 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2400 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
2402 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2403 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
2405 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2406 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2407 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
2408 Remove conditional code.
2409 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2410 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2411 Remove conditional code.
2412 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2413 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
2414 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
2415 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2416 Remove conditional code.
2417 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2418 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
2419 Remove conditional code.
2420 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2421 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
2422 Remove conditional code.
2423 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2424 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2425 Remove conditional code.
2426 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2427 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2428 Remove conditional code.
2429 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2430 * sysdeps/unix/sysv/linux/sh/pwrite64.c
2431 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2432 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2433 * sysdeps/unix/sysv/linux/sigaction.c
2434 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2435 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2436 * sysdeps/unix/sysv/linux/sigpending.c
2437 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2438 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2439 * sysdeps/unix/sysv/linux/sigprocmask.c
2440 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2441 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2442 * sysdeps/unix/sysv/linux/sigsuspend.c
2443 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2444 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2445 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2446 (__libc_missing_rt_sigs): Remove.
2447 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
2448 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
2449 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
2450 Remove conditional code.
2451 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
2452 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
2454 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
2455 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
2456 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
2457 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
2459 2012-05-14 Andreas Jaeger <aj@suse.de>
2461 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
2462 it's not used in glibc.
2463 (__coshm1): Likewise.
2464 (__acosh1p): Likewise.
2467 * manual/string.texi (Copying and Concatenation): Add missing
2468 variable in concat example.
2469 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2471 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2474 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
2475 __builtin_clzl with __builtin_clzll.
2477 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2480 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
2483 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2485 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
2486 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
2487 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
2488 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
2490 2012-05-14 Mike Frysinger <vapier@gentoo.org>
2492 * NEWS: Update ia64 info.
2494 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
2496 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
2499 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
2501 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
2502 * sysdeps/unix/syscalls.list (dup3): Likewise.
2503 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
2504 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
2506 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2508 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
2509 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
2511 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2513 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
2515 (TLS_IE): Use mov/add instead of movq/addq to load thread
2517 (TLS_GD_PREFIX): New.
2520 2012-05-11 David S. Miller <davem@davemloft.net>
2522 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
2523 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
2524 (_FPU_SETCW): Likewise.
2526 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2528 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
2531 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
2534 * iconvdata/gb18030.c: Update tables.
2535 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
2536 characters specially.
2537 (BODY for TO_LOOP): Add encoding of missing ranges.
2539 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
2542 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
2543 * sysdeps/mach/hurd/dup3.c: Likewise.
2544 * sysdeps/mach/hurd/readlinkat.c: Likewise.
2545 * sysdeps/powerpc/memmove.c:: Likewise.
2547 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2549 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
2550 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
2552 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2554 * elf/elf.h (R_X86_64_RELATIVE64): New.
2555 (R_X86_64_NUM): Updated.
2556 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
2557 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
2558 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
2559 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
2560 tst-quad1pie tst-quad2pie
2561 (modules-names): Add tst-quadmod1 tst-quadmod2.
2562 ($(objpfx)tst-quad1): New dependency.
2563 ($(objpfx)tst-quad2): Likewise.
2564 ($(objpfx)tst-quad1pie): Likewise.
2565 ($(objpfx)tst-quad2pie): Likewise.
2566 * sysdeps/x86_64/tst-quad1.c: New file.
2567 * sysdeps/x86_64/tst-quad1pie.c: New file.
2568 * sysdeps/x86_64/tst-quad2.c: Likewise.
2569 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
2570 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
2571 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
2572 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
2573 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
2575 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2577 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
2578 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
2579 * streams/stropts.h (t_scalar_t): Define type.
2581 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
2582 (_PATH_PRESERVE): Set to "/var/lib".
2583 (_PATH_RWHODIR): Set to "/var/spool/rwho".
2585 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
2588 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
2589 if __dir_mkfile succeeded.
2591 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
2592 checking for _hurd_dtablesize. Unlock it right after having
2593 finished _hurd_dtable allocation.
2595 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2597 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
2598 * sysdeps/mach/hurd/configure: Regenerated.
2599 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
2600 special-casing to...
2601 * sysdeps/gnu/configure.in: ... this new file.
2602 * sysdeps/unix/sysv/linux/configure: Regenerated.
2603 * sysdeps/gnu/configure: New generated file.
2605 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
2606 for Linux: use nsec instead of usec, as well as:
2607 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
2608 members of type struct timespec.
2609 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
2611 (struct stat64): Likewise.
2612 (_STATBUF_ST_NSEC): New macro.
2613 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
2615 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
2616 __strtoul_internal rather than strtoul.
2618 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2620 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
2623 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2625 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
2626 which preserves existing values.
2627 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
2629 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2631 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
2632 TIMEOUT values. Return EINVAL for NFDS values either negative or
2633 greater than FD_SETSIZE.
2635 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2637 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
2638 allocated, call __vm_protect to finish enabling the existing space, and
2639 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
2640 allocate the remainder.
2642 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2644 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
2645 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
2647 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2649 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
2650 sysdeps/mach/hurd/readlink.c.
2652 * posix/tst-sysconf.c (posix_options): Only use
2653 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
2654 _POSIX_SYNCHRONIZED_IO when they are defined
2655 * sysdeps/mach/hurd/bits/posix_opt.h:
2656 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
2657 (_XOPEN_REALTIME): Undefine macro.
2658 (_XOPEN_REALTIME_THREADS): Undefine macro.
2659 (_XOPEN_SHM): Undefine macro.
2660 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
2662 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
2664 (_POSIX_ASYNC_IO): Undefine macro.
2665 (_POSIX_PRIORITIZED_IO): Undefine macro.
2666 (_POSIX_SPIN_LOCKS): Define macro to -1.
2668 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
2669 SA_NODEFER, SA_RESETHAND.
2670 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
2671 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
2674 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2676 * elf/Makefile (pldd-modules): Define unconditionally.
2678 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2680 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
2682 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2684 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
2685 Return ENOENT when name is empty.
2686 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
2688 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2690 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
2692 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
2694 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2696 Fix mlock in all cases except non-readable pages.
2697 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
2698 instead of VM_PROT_ALL as parameter to __vm_wire function.
2700 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
2701 (__mkdir): When path is `/', just fail with EEXIST.
2702 * sysdeps/mach/hurd/mkdirat.c: Likewise.
2704 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2706 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
2707 <sys/uio.h> (for writev).
2708 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
2709 and <sys/param.h> (for MIN).
2711 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2713 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
2714 REQUESTED_TIME. Properly set the remaining time and return EINTR
2717 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2719 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
2720 Depend on against $(link-rpcuserlibs).
2722 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2724 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
2725 (__libc_stack_end): Do not use attribute_relro.
2726 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
2727 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
2728 to libthread-provided value.
2729 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
2732 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2735 * bits/libc-lock.h (__libc_once_get): New macro.
2736 * sysdeps/mach/bits/libc-lock.h: Likewise.
2737 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
2738 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
2739 instead of using implementation details.
2741 * libio/fileops.c: Unconditionally include <kernel-features.h>.
2742 * libio/freopen.c: Likewise.
2743 * libio/freopen64.c: Likewise.
2744 * misc/syslog.c: Likewise.
2745 * nscd/connections.c: Likewise.
2746 * nscd/netgroupcache.c: Likewise.
2747 * sysdeps/posix/getcwd.c: Likewise.
2749 2012-05-10 Roland McGrath <roland@hack.frob.com>
2751 * math/w_ilogbf.c: Add #include <limits.h>.
2753 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2755 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
2756 path instead of returning without unlocking.
2758 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
2759 immediate-write ioctls.
2760 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
2762 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2764 * sysdeps/mach/hurd/i386/init-first.c (init): Use
2765 __builtin_frame_address instead of making assumptions about the
2766 location of the return address relative to DATA. Force early load of
2768 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
2769 __builtin_frame_address.
2772 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
2773 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
2774 implement dup3 and do some further code clean-ups.
2775 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
2776 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
2778 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2780 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
2782 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
2783 HURD_CRITICAL_END around holding _hurd_dtable_lock.
2784 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
2785 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
2786 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
2789 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
2790 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
2791 when handler == SIG_ERR, not when handler != SIG_ERR.
2793 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2795 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
2796 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
2799 accept4 for GNU Hurd.
2800 * include/sys/socket.h (__libc_accept4): New prototype.
2801 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
2802 to implement __libc_accept4.
2803 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
2805 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
2807 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
2808 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
2809 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
2812 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2814 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
2816 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2818 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
2819 assertion on O_CLOEXEC flag.
2820 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
2821 * hurd/intern-fd.c: Likewise.
2822 * hurd/port2fd.c: Likewise.
2824 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2827 * bits/in.h (IPV6_PKTINFO): Define new macro.
2828 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
2830 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2835 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
2836 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2837 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
2838 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
2839 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2840 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
2841 * math/libm-test.inc (logb_test) : Additional logb tests.
2843 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
2844 Andreas Jaeger <aj@suse.de>
2846 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
2847 * configure: Regenerated.
2848 * config.h.in (LINK_OBSOLETE_RPC): New macro.
2849 * config.make.in (link-obsolete-rpc): New substituted variable.
2850 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
2851 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
2852 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2853 (shared-only-routines): Don't set it under [link-obsolete-rpc],
2854 so that libc.a contains the symbols.
2855 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2856 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
2857 * sunrpc/auth_none.c: Likewise.
2858 * sunrpc/auth_unix.c: Likewise.
2859 * sunrpc/authdes_prot.c: Likewise.
2860 * sunrpc/authuxprot.c: Likewise.
2861 * sunrpc/clnt_gen.c: Likewise.
2862 * sunrpc/clnt_perr.c: Likewise.
2863 * sunrpc/clnt_raw.c: Likewise.
2864 * sunrpc/clnt_simp.c: Likewise.
2865 * sunrpc/clnt_tcp.c: Likewise.
2866 * sunrpc/clnt_udp.c: Likewise.
2867 * sunrpc/clnt_unix.c: Likewise.
2868 * sunrpc/des_crypt.c: Likewise.
2869 * sunrpc/des_soft.c: Likewise.
2870 * sunrpc/get_myaddr.c: Likewise.
2871 * sunrpc/key_call.c: Likewise.
2872 * sunrpc/key_prot.c: Likewise.
2873 * sunrpc/netname.c: Likewise.
2874 * sunrpc/pm_getmaps.c: Likewise.
2875 * sunrpc/pm_getport.c: Likewise.
2876 * sunrpc/pmap_clnt.c: Likewise.
2877 * sunrpc/pmap_prot.c: Likewise.
2878 * sunrpc/pmap_prot2.c: Likewise.
2879 * sunrpc/pmap_rmt.c: Likewise.
2880 * sunrpc/publickey.c: Likewise.
2881 * sunrpc/rpc_cmsg.c: Likewise.
2882 * sunrpc/rpc_common.c: Likewise.
2883 * sunrpc/rpc_dtable.c: Likewise.
2884 * sunrpc/rpc_prot.c: Likewise.
2885 * sunrpc/rpc_thread.c: Likewise.
2886 * sunrpc/rtime.c: Likewise.
2887 * sunrpc/svc.c: Likewise.
2888 * sunrpc/svc_auth.c: Likewise.
2889 * sunrpc/svc_raw.c: Likewise.
2890 * sunrpc/svc_run.c: Likewise.
2891 * sunrpc/svc_tcp.c: Likewise.
2892 * sunrpc/svc_udp.c: Likewise.
2893 * sunrpc/svc_unix.c: Likewise.
2894 * sunrpc/svcauth_des.c: Likewise.
2895 * sunrpc/xcrypt.c: Likewise.
2896 * sunrpc/xdr.c: Likewise.
2897 * sunrpc/xdr_array.c: Likewise.
2898 * sunrpc/xdr_float.c: Likewise.
2899 * sunrpc/xdr_intXX_t.c: Likewise.
2900 * sunrpc/xdr_mem.c: Likewise.
2901 * sunrpc/xdr_rec.c: Likewise.
2902 * sunrpc/xdr_ref.c: Likewise.
2903 * sunrpc/xdr_sizeof.c: Likewise.
2904 * sunrpc/xdr_stdio.c: Likewise.
2906 2012-05-10 Roland McGrath <roland@hack.frob.com>
2908 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
2909 change. Update copyright years.
2911 2012-05-10 Joseph Myers <joseph@codesourcery.com>
2913 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
2915 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
2916 Joseph Myers <joseph@codesourcery.com>
2917 Paul Pluzhnikov <ppluzhnikov@google.com>
2920 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
2922 [cross-compiling] (extra-libs): Likewise.
2923 [cross-compiling] (extra-libs-others): Likewise.
2924 [cross-compiling] (librpcsvc-routines): Likewise.
2925 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
2926 [cross-compiling] (omit-deps): Likewise.
2927 (sunrpc-CPPFLAGS): New variable.
2928 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
2929 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
2930 (cross-rpcgen-objs): New variable.
2931 (extra-objs): Append $(cross-rpcgen-objs).
2932 ($(cross-rpcgen-objs)): New rule.
2933 ($(objpfx)cross-rpcgen): Likewise.
2934 (rpcgen-cmd): Define to use $(built-program-file). Expand
2936 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
2937 ($(objpfx)x%.stmp): Likewise.
2938 * sunrpc/proto.h [IS_IN_build] (_): Define.
2939 [IS_IN_build] (_libc_intl_domainname): Likewise.
2941 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2943 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
2944 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
2945 and R_X86_64_TPOFF64.
2947 2012-05-10 Joseph Myers <joseph@codesourcery.com>
2949 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
2950 sysdeps/unix/sysv/syscalls.list.
2953 * sysdeps/unix/sysv/syscalls.list: Remove file.
2955 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
2958 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
2959 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
2960 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
2961 (__LC_IDENTIFICATION): Make these macros useful in #if
2962 expressions, as required by C99.
2964 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
2966 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
2967 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
2970 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
2972 * stdlib/longlong.h: Updated from GCC.
2974 2012-05-09 Andreas Jaeger <aj@suse.de>
2976 * nscd/nscd.c (run_modes): Make named enum, reorder so that
2977 default is first entry.
2978 (run_mode): Set type.
2979 (main): Remove informal message about syslog.
2980 (options): Fix typo.
2983 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
2986 (llrintf): Likewise.
2990 (nearbyint): Likewise.
2991 (nearbyintf): Likewise.
2993 2012-05-09 Andreas Jaeger <aj@suse.de>
2994 Pedro Alves <palves@redhat.com>
2996 * nscd/nscd.c (run_mode): Use enum.
2997 (main): Cleanup coding style issue.
2999 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
3000 Andreas Jaeger <aj@suse.de>
3002 * nscd/nscd.c (go_background): Replaced with...
3003 (run_mode): ... this.
3004 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
3005 (options): Add -F --foreground.
3006 (main): Implement it.
3007 (parse_opt): Parse it.
3009 2012-05-09 Andreas Jaeger <aj@suse.de>
3012 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
3013 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
3014 -Wconversion warning.
3015 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
3018 2012-05-09 Joseph Myers <joseph@codesourcery.com>
3020 * conform/data/locale.h-data (NULL): Use macro-constant. Require
3022 (LC_ALL): Use macro-int-constant.
3023 (LC_COLLATE): Likewise.
3024 (LC_CTYPE): Likewise.
3025 (LC_MESSAGES): Likewise.
3026 (LC_MONETARY): Likewise.
3027 (LC_NUMERIC): Likewise.
3028 (LC_TIME): Likewise.
3029 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
3030 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3031 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3032 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
3034 [C99-based standards] (float_t): Expect type.
3035 [C99-based standards] (double_t): Expect type.
3036 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
3038 [C99-based standards] (HUGE_VALL): Likewise.
3039 [C99-based standards] (INFINITY): Likewise.
3040 [C99-based standards] (NAN): Likewise.
3041 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
3042 [C99-based standards] (FP_NAN): Likewise.
3043 [C99-based standards] (FP_NORMAL): Likewise.
3044 [C99-based standards] (FP_SUBNORMAL): Likewise.
3045 [C99-based standards] (FP_ZERO): Likewise.
3046 [C99-based standards] (FP_FAST_FMA): Use
3047 optional-macro-int-constant. Specify type. Require == 1.
3048 [C99-based standards] (FP_FAST_FMAF): Likewise.
3049 [C99-based standards] (FP_FAST_FMAL): Likewise.
3050 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
3051 [C99-based standards] (FP_ILOGBNAN): Likewise.
3052 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
3054 [C99-based standards] (MATH_ERREXCEPT): Likewise.
3055 [C99-based standards] (math_errhandling): Specify type.
3056 [ISO99 || ISO11] (signgam): Do not allow.
3057 [non-C99-based standards] (copysignf): Do not allow.
3058 [non-C99-based standards] (exp2f): Likewise.
3059 [non-C99-based standards] (log2f): Likewise.
3060 [non-C99-based standards] (modff): Allow.
3061 [non-C99-based standards] (erff): Do not allow.
3062 [non-C99-based standards] (erfcf): Likewise.
3063 [non-C99-based standards] (gammaf): Likewise.
3064 [non-C99-based standards] (hypotf): Likewise.
3065 [non-C99-based standards] (j0f): Likewise.
3066 [non-C99-based standards] (j1f): Likewise.
3067 [non-C99-based standards] (jnf): Likewise.
3068 [non-C99-based standards] (lgammaf): Likewise.
3069 [non-C99-based standards] (tgammaf): Likewise.
3070 [non-C99-based standards] (y0f): Likewise.
3071 [non-C99-based standards] (y1f): Likewise.
3072 [non-C99-based standards] (ynf): Likewise.
3073 [non-C99-based standards] (isnanf): Likewise.
3074 [non-C99-based standards] (acoshf): Likewise.
3075 [non-C99-based standards] (asinhf): Likewise.
3076 [non-C99-based standards] (atanhf): Likewise.
3077 [non-C99-based standards] (cbrtf): Likewise.
3078 [non-C99-based standards] (expm1f): Likewise.
3079 [non-C99-based standards] (ilogbf): Likewise.
3080 [non-C99-based standards] (log1pf): Likewise.
3081 [non-C99-based standards] (logbf): Likewise.
3082 [non-C99-based standards] (nextafterf): Likewise.
3083 [non-C99-based standards] (remainderf): Likewise.
3084 [non-C99-based standards] (rintf): Likewise.
3085 [non-C99-based standards] (scalbf): Likewise.
3086 [non-C99-based standards] (copysignl): Likewise.
3087 [non-C99-based standards] (exp2l): Likewise.
3088 [non-C99-based standards] (log2l): Likewise.
3089 [non-C99-based standards] (modfl): Allow.
3090 [non-C99-based standards] (erfl): Do not allow.
3091 [non-C99-based standards] (erfcl): Likewise.
3092 [non-C99-based standards] (gammal): Likewise.
3093 [non-C99-based standards] (hypotl): Likewise.
3094 [non-C99-based standards] (j0l): Likewise.
3095 [non-C99-based standards] (j1l): Likewise.
3096 [non-C99-based standards] (jnl): Likewise.
3097 [non-C99-based standards] (lgammal): Likewise.
3098 [non-C99-based standards] (tgammal): Likewise.
3099 [non-C99-based standards] (y0l): Likewise.
3100 [non-C99-based standards] (y1l): Likewise.
3101 [non-C99-based standards] (ynl): Likewise.
3102 [non-C99-based standards] (isnanl): Likewise.
3103 [non-C99-based standards] (acoshl): Likewise.
3104 [non-C99-based standards] (asinhl): Likewise.
3105 [non-C99-based standards] (atanhl): Likewise.
3106 [non-C99-based standards] (cbrtl): Likewise.
3107 [non-C99-based standards] (expm1l): Likewise.
3108 [non-C99-based standards] (ilogbl): Likewise.
3109 [non-C99-based standards] (log1pl): Likewise.
3110 [non-C99-based standards] (logbl): Likewise.
3111 [non-C99-based standards] (nextafterl): Likewise.
3112 [non-C99-based standards] (remainderl): Likewise.
3113 [non-C99-based standards] (rintl): Likewise.
3114 [non-C99-based standards] (scalbl): Likewise.
3115 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3116 [non-C99-based standards] (FP_*): Do not allow.
3117 [C99-based standards] (FP_*): Change to
3118 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3119 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3121 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
3122 (SIG_ERR): Likewise.
3123 [X/Open-based standards] (SIG_HOLD): Likewise.
3124 (SIG_IGN): Likewise.
3125 (SIGABRT): Use macro-int-constant. Specify type. Require
3130 (SIGSEGV): Likewise.
3132 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
3133 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
3134 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
3135 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
3136 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
3137 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
3138 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
3139 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
3140 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
3141 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
3142 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
3143 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
3144 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
3145 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
3146 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
3147 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
3148 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
3149 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
3150 [X/Open-based standards] (SIGTRAP): Likewise.
3151 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
3152 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
3153 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
3154 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
3155 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3158 2012-05-08 Ian Wienand <ianw@vmware.com>
3161 * time/tzset.c (__tzset_parse_tz): Update default rules for
3162 daylight time changes in the Energy Policy Act of 2005.
3164 2012-05-09 Andreas Jaeger <aj@suse.de>
3167 * elf/ldconfig.c (parse_conf): Change string to make clear that
3168 ldconfig only issued a warning if ld.so.conf does not exist.
3170 2012-05-08 David S. Miller <davem@davemloft.net>
3172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
3173 movxtod instead of popping the value on the stack.
3175 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3177 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
3179 * config.h.in: Add HAVE_ARM_PCS_VFP.
3181 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
3184 * include/features.h: Warn if user requests __FORTIFY_SOURCE
3185 checking but the checks are disabled for any reason.
3187 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
3189 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
3190 and ELF64_R_TYPE with ELFW(R_TYPE).
3192 2012-05-08 Joseph Myers <joseph@codesourcery.com>
3194 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
3197 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
3198 (settimeofday): Likewise.
3200 2012-05-08 Mike Frysinger <vapier@gentoo.org>
3202 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
3203 a struct th_u2 inside the union, and move tu_block/tu_code into
3204 a new th_u3 union of tu_block/tu_code inside of that. Move
3205 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
3206 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
3207 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
3208 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
3209 (th_stuff): Change to th_u1.tu_stuff.
3211 (th_msg): Change to th_u1.th_u2.tu_data.
3213 2012-05-07 David S. Miller <davem@davemloft.net>
3215 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3218 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
3219 (SETUP_PIC_REG): Use it.
3220 (SETUP_PIC_REG_LEAF): Use it.
3222 2012-05-07 Joseph Myers <joseph@codesourcery.com>
3226 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3228 (EXPL_FINITE): Likewise.
3230 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3231 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3233 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3235 (EXPL_FINITE): Likewise.
3237 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3238 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3240 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
3241 test of -max_value argument for long double.
3242 * sysdeps/i386/fpu/libm-test-ulps: Update.
3243 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3245 2012-05-06 David S. Miller <davem@davemloft.net>
3247 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
3248 quad soft-float symbols whose references which are compiler
3250 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
3252 2012-05-06 Joseph Myers <joseph@codesourcery.com>
3256 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3258 (EXPL_FINITE): Likewise.
3262 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3263 Adjust comments for base varying.
3264 (__expl_finite): Change alias to EXPL_FINITE.
3265 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
3267 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
3268 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
3269 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3270 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
3271 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3273 (EXPL_FINITE): Likewise.
3277 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3278 Adjust comments for base varying.
3279 (__expl_finite): Change alias to EXPL_FINITE.
3280 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
3282 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3285 * math/libm-test.inc (check_float_internal): Correct ulp
3286 calculation for subnormal expected results.
3288 2012-05-06 Andreas Jaeger <aj@suse.de>
3290 * Makeconfig (+math-flags): New, set to -frounding-math.
3291 (+cflags): Add +math-flags so that all of glibc gets compiled with
3294 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
3296 2012-05-05 Joseph Myers <joseph@codesourcery.com>
3298 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
3304 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
3305 (__ieee754_expl): Allow for and saturate large arguments.
3306 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
3307 (u_threshold): Likewise.
3308 (__exp): Call __ieee754_exp before checking for overflow and
3310 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
3311 (u_threshold): Likewise.
3312 (__expf): Call __ieee754_expf before checking for overflow and
3314 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
3315 (u_threshold): Likewise.
3316 (__expl): Call __ieee754_expl before checking for overflow and
3318 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
3319 (__ieee754_expl): Allow for and saturate large arguments.
3320 * math/libm-test.inc (exp_test): Add another test. Do not allow
3321 missing overflow exception on overflow.
3322 (expm1_test): Do not allow missing overflow exception on overflow.
3324 * sysdeps/i386/fpu/e_expl.c: Move to ...
3325 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
3326 rather than using inline asm.
3327 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
3328 * sysdeps/x86_64/fpu/e_expl.S: Copy from
3329 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
3331 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
3338 2012-05-04 Joseph Myers <joseph@codesourcery.com>
3340 * sysdeps/unix/syscalls.list (adjtime): Add entry from
3341 sysdeps/unix/common/syscalls.list.
3344 (ftruncate): Likewise.
3345 (getrusage): Likewise.
3346 (gettimeofday): Likewise.
3347 (setpgid): Likewise.
3348 (setregid): Likewise.
3349 (setreuid): Likewise.
3350 (sigaction): Likewise.
3351 (truncate): Likewise.
3352 (vhangup): Likewise.
3353 * sysdeps/unix/common/syscalls.list: Remove file.
3354 * sysdeps/unix/bsd/Implies: Don't include unix/common.
3355 * sysdeps/unix/sysv/linux/Implies: Likewise.
3357 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
3359 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
3360 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
3361 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
3363 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3365 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
3367 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
3368 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
3370 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
3371 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
3373 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
3374 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
3376 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
3377 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
3379 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
3380 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
3382 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
3383 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
3385 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3387 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
3389 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
3391 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
3393 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
3394 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
3396 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
3398 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
3400 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
3402 2012-05-04 Joseph Myers <joseph@codesourcery.com>
3404 * sysdeps/unix/common/bits/dirent.h: Remove file.
3405 * sysdeps/unix/common/bits/fcntl.h: Likewise.
3407 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
3408 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
3409 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
3410 * sysdeps/unix/bsd/isatty.c: Likewise.
3411 * sysdeps/unix/bsd/tcdrain.c: Likewise.
3412 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
3413 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
3415 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3418 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
3419 long double comparison inaccuracies.
3420 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
3421 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3423 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
3425 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
3426 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
3428 2012-05-04 Joseph Myers <joseph@codesourcery.com>
3431 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
3432 nonzero digits before rounding a hex value.
3433 * stdlib/tst-strtod.c (tests): Add another test.
3435 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3437 * sysdeps/s390/fpu/libm-test-ulps: Update.
3439 2012-05-03 Andreas Jaeger <aj@suse.de>
3441 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
3442 does not get optimized out.
3443 (malloc_opt_barrier): New.
3445 2012-05-03 Andreas Jaeger <aj@suse.de>
3446 Roland McGrath <roland@hack.frob.com>
3448 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
3449 intermediate file deletion.
3450 (generated): Add .symlist files.
3452 2012-05-03 Joseph Myers <joseph@codesourcery.com>
3455 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
3456 Redirect under this condition.
3457 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3458 [__USE_GNU] (__dprintf_chk): Not under this condition.
3459 [__USE_GNU] (__vdprintf_chk): Likewise.
3460 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
3461 under this condition.
3462 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3463 [__USE_XOPEN2K8] (dprintf): Define under this condition.
3464 [__USE_XOPEN2K8] (vdprintf): Likewise.
3465 [__USE_GNU] (__dprintf_chk): Not under this condition.
3466 [__USE_GNU] (__vdprintf_chk): Likewise.
3467 [__USE_GNU] (dprintf): Likewise.
3468 [__USE_GNU] (vdprintf): Likewise.
3470 2012-05-03 Roland McGrath <roland@hack.frob.com>
3472 * elf/Makefile (common-generated): Set this instead of generated for
3473 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
3474 $(all-built-dso)-derived lists.
3476 2012-05-03 Andreas Jaeger <aj@suse.de>
3478 * sysdeps/i386/fpu/libm-test-ulps: Update.
3482 * scripts/gen-FAQ.pl: Likewise.
3483 * manual/install.texi (Installation): Point to online location of
3485 * Makefile (files-for-dist): Remove FAQ.
3488 2012-05-02 Allan McRae <allan@archlinux.org>
3490 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
3491 (LDFLAGS-reldepmod5.so): Likewise.
3492 (LDFLAGS-reldep6mod1.so): Likewise.
3493 (LDFLAGS-reldep6mod4.so): Likewise.
3494 (LDFLAGS-reldep8mod3.so): Likewise.
3495 (LDFLAGS-unload4mod1.so): Likewise.
3496 (LDFLAGS-unload4mod2.so): Likewise.
3497 (LDFLAGS-tst-initorder): Likewise.
3498 (LDFLAGS-tst-initordera2.so): Likewise.
3499 (LDFLAGS-tst-initordera3.so): Likewise.
3500 (LDFLAGS-tst-initordera4.so): Likewise.
3501 (LDFLAGS-tst-initorderb2.so): Likewise.
3502 (LDFLAGS-noload): Likewise.
3503 (LDFLAGS-next): Likewise.
3504 (LDFLAGS-order2mod1.so): Likewise.
3505 (LDFLAGS-order2mod2.so): Likewise.
3506 (LDFLAGS-tst-initorder2): Likewise.
3507 (LDFLAGS-tst-initorder2a.so): Likewise.
3508 (LDFLAGS-tst-initorder2b.so): Likewise.
3509 (LDFLAGS-tst-initorder2c.so): Likewise.
3510 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
3512 2012-05-02 David S. Miller <davem@davemloft.net>
3514 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3516 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
3519 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
3521 2012-05-02 Andreas Jaeger <aj@suse.de>
3523 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
3524 since we manipulate rounding mode.
3525 (CPPFLAGS-test-idouble.c): Likewise.
3526 (CPPFLAGS-test-ifloat.c): Likewise.
3527 (CFLAGS-test-ldouble.c): Likewise.
3528 (CFLAGS-test-double.c): Likewise.
3529 (CFLAGS-test-float.c): Likewise.
3530 (CFLAGS-test-misc.c): Likewise.
3531 (CFLAGS-test-test-fenv.c): Likewise.
3533 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3537 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
3538 comparisons to determine direction to adjust input.
3540 2012-05-01 Roland McGrath <roland@hack.frob.com>
3542 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
3543 output to the target.
3545 * scripts/localplt.awk: New file.
3546 * elf/Makefile ($(objpfx)check-localplt): Target removed.
3547 (check-localplt-CFLAGS): Variable removed.
3548 ($(all-built-dso:=.jmprel)): New static pattern rule.
3549 (generated): Add those targets.
3550 (localplt-built-dso): New variable.
3551 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
3553 * elf/check-localplt.c: File removed.
3555 * scripts/check-execstack.awk: New file.
3556 * elf/Makefile ($(objpfx)check-execstack): Target removed.
3557 (check-execstack-CFLAGS): Variable removed.
3558 ($(objpfx)check-execstack.h): Target removed.
3559 ($(objpfx)execstack-default): New target.
3560 (generated): Add that instead of check-execstack.h.
3561 ($(all-built-dso:=.phdr)): New static pattern rule.
3562 (generated): Add those targets.
3563 * elf/check-execstack.c: File removed.
3565 * scripts/check-textrel.awk: New file.
3566 * elf/Makefile ($(objpfx)check-textrel): Target removed.
3567 (check-textrel-CFLAGS): Variable removed.
3568 (all-built-dso): Use := to define.o
3569 ($(all-built-dso:=.dyn)): New static pattern rule.
3570 (generated): Add those targets.
3571 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
3572 * config.make.in (READELF): New substituted variable.
3573 * elf/check-textrel.c: File removed.
3575 2012-05-01 Joseph Myers <joseph@codesourcery.com>
3577 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3579 * conform/data/ctype.h-data [C99-based standards] (isblank):
3581 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
3582 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
3583 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3584 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
3585 Specify type. Require positive value.
3588 [ISO || POSIX] (EILSEQ): Do not expect.
3589 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
3590 Specify type. Require positive value.
3591 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
3592 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
3593 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
3594 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
3595 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
3596 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
3597 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
3598 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
3599 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
3600 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
3601 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
3602 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
3603 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
3604 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
3605 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
3606 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
3607 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
3608 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
3609 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
3610 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
3611 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
3612 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
3613 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
3614 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
3615 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
3616 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
3617 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
3618 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
3619 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
3620 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
3621 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
3622 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
3623 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
3624 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
3625 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
3626 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
3627 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
3628 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
3629 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
3630 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
3631 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
3632 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
3633 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
3634 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
3635 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
3636 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
3637 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
3638 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
3639 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
3640 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
3641 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
3642 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
3643 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
3644 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
3645 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
3646 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
3647 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
3648 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
3649 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
3650 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
3651 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
3652 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
3653 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
3654 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
3655 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
3656 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
3657 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
3658 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
3659 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
3660 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
3661 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
3662 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
3663 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
3664 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
3665 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
3666 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
3667 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
3669 (FLT_ROUNDS): Expect as macro, not constant.
3670 (FLT_MANT_DIG): Use macro-int-constant.
3671 (DBL_MANT_DIG): Likewise.
3672 (LDBL_MANT_DIG): Likewise.
3673 (FLT_DIG): Likewise.
3674 (DBL_DIG): Likewise.
3675 (LDBL_DIG): Likewise.
3676 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
3677 (DBL_MIN_EXP): Likewise.
3678 (LDBL_MIN_EXP): Likewise.
3679 (FLT_MAX_EXP): Use macro-int-constant.
3680 (DBL_MAX_EXP): Likewise.
3681 (LDBL_MAX_EXP): Likewise.
3682 (FLT_MAX_10_EXP): Likewise.
3683 (DBL_MAX_10_EXP): Likewise.
3684 (LDBL_MAX_10_EXP): Likewise.
3685 (FLT_MAX): Use macro-constant.
3686 (DBL_MAX): Likewise.
3687 (LDBL_MAX): Likewise.
3688 (FLT_EPSILON): Use macro-constant. Give upper bound.
3689 (DBL_EPSILON): Likewise.
3690 (LDBL_EPSILON): Likewise.
3691 (FLT_MIN): Likewise.
3692 (DBL_MIN): Likewise.
3693 (LDBL_MIN): Likewise.
3694 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
3695 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
3696 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
3697 [ISO11] (FLT_HAS_SUBNORM): Likewise.
3698 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
3699 [ISO11] (DBL_DECIMAL_DIG): Likewise.
3700 [ISO11] (FLT_DECIMAL_DIG): Likewise.
3701 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
3702 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
3703 [ISO11] (FLT_TRUE_MIN): Likewise.
3704 [ISO11] (LDBL_TRUE_MIN): Likewise.
3705 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3706 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
3707 (SCHAR_MIN): Use macro-int-constant. Specify type.
3708 (SCHAR_MAX): Likewise.
3709 (UCHAR_MAX): Likewise.
3710 (CHAR_MIN): Likewise.
3711 (CHAR_MAX): Likewise.
3712 (MB_LEN_MAX): Use macro-int-constant.
3713 (SHRT_MIN): Use macro-int-constant. Specify type.
3714 (SHRT_MAX): Likewise.
3715 (USHRT_MAX): Likewise.
3716 (INT_MAX): Likewise.
3717 (INT_MIN): Use macro-int-constant. Specify type. Make upper
3719 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
3721 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3723 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
3724 bound negative. Suffix upper bound with "L".
3725 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3727 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
3729 [C99-based standards] (LLONG_MAX): Likewise.
3730 [C99-based standards] (ULLONG_MAX): Likewise.
3731 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
3733 [ISO11] (max_align_t): Require type.
3734 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3736 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
3737 from $CFLAGS, without defining away __attribute__ calls.
3738 (checknamespace): Use $CFLAGS_namespace.
3740 * conform/conformtest.pl (@keywords): Only include C99 keywords
3741 for standards based on C99 or C11.
3743 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
3745 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
3748 * conform/conformtest.pl: Handle "macro-int-constant" and test for
3749 usability of symbols in #if.
3751 * conform/conformtest.pl: If macro or constant types start
3752 "promoted:", expect the symbol to be of the following type
3753 promoted by the integer promotions.
3755 * conform/conformtest.pl: Parse all "constant" and "macro" lines
3756 in one place. Also handle "macro-constant".
3758 * conform/conformtest.pl: Only accept expected macro values with
3759 "==". Parse all "macro" lines in one place.
3760 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
3762 * conform/conformtest.pl: Handle braced types on "constant" lines
3763 instead of handling "typed-constant".
3764 * conform/data/signal.h-data: Use "constant" instead of
3767 * conform/conformtest.pl: Handle "optional-" at start of lines in
3768 one place rather than duplicating several cases. Handle each
3769 format of "macro" line with initial "optional-".
3771 * conform/conformtest.pl: Only accept expected constant or
3772 optional-constant values with "==". Parse all "constant" lines in
3773 one place. Parse all "optional-constant" lines in one place.
3774 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
3775 * conform/data/fmtmsg.h-data: Likewise.
3776 * conform/data/netinet/in.h-data: Likewise.
3777 * conform/data/tar.h-data: Likewise.
3778 * conform/data/limits.h-data: Use "==" form on "constant" and
3779 "optional-constant" lines.
3781 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
3782 Use -std=c99 for XOPEN2K.
3783 (@knownproblems): Remove.
3784 (newtoken): Don't check %isknown.
3786 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
3787 Do not expect macro.
3788 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
3789 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
3790 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
3791 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
3792 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
3793 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
3794 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
3795 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
3796 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
3797 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
3798 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
3799 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
3800 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
3801 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
3802 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
3803 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
3804 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
3805 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
3806 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
3807 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
3808 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
3809 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
3810 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
3811 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
3812 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
3813 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
3814 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
3815 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
3816 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
3817 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
3818 [XPG3] (acosh): Likewise.
3819 [XPG3] (asinh): Likewise.
3820 [XPG3] (atanh): Likewise.
3821 [XPG3] (cbrt): Likewise.
3822 [XPG3] (expm1): Likewise.
3823 [XPG3] (ilogb): Likewise.
3824 [XPG3] (log1p): Likewise.
3825 [XPG3] (logb): Likewise.
3826 [XPG3] (nextafter): Likewise.
3827 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
3828 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
3829 [XPG3] (remainder): Likewise.
3830 [XPG3] (rint): Likewise.
3831 [XPG3 || XPG4 || UNIX98] (round): Likewise.
3832 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
3833 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
3834 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
3835 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
3836 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
3837 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
3838 [UNIX98 || XOPEN2K] (scalb): Expect.
3839 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
3840 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
3841 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
3842 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
3843 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
3844 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
3845 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
3846 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
3847 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
3848 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
3849 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
3850 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
3851 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
3852 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
3853 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
3854 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
3855 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
3856 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
3857 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
3858 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
3859 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
3860 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
3861 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
3862 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
3863 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
3864 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
3865 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
3866 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
3867 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
3868 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
3869 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
3870 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
3871 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
3872 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
3873 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
3874 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
3875 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
3876 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
3877 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
3878 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
3879 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
3880 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
3881 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
3882 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
3883 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
3884 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
3885 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
3886 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
3887 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
3888 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
3889 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
3890 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
3891 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
3892 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
3893 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
3894 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
3895 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
3896 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
3897 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
3898 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
3899 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
3900 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
3901 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
3902 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
3903 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
3904 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
3905 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
3906 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
3907 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
3908 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
3909 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
3910 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
3911 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
3912 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
3913 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
3914 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
3915 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
3916 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
3917 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
3918 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
3919 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
3920 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
3921 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
3922 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
3923 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
3924 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
3925 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
3926 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
3927 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
3928 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
3929 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
3930 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
3931 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
3932 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
3933 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
3934 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
3935 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
3936 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
3937 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
3938 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
3939 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
3940 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
3941 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
3942 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
3943 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
3944 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
3945 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
3946 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
3947 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
3948 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
3949 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
3950 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
3951 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
3952 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
3953 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
3954 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
3955 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
3956 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
3957 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
3958 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
3959 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
3960 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
3961 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
3962 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
3963 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
3964 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
3965 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
3966 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
3967 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
3968 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
3969 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
3970 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
3971 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
3972 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
3973 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
3974 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
3975 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
3977 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
3978 _XOPEN_SOURCE_EXTENDED for XPG4.
3980 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
3982 * Makeconfig (localtime): Remove variable.
3983 (inst_localtime-file): Likewise.
3985 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
3987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
3989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
3993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
3997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
3999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
4003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4006 2012-05-01 Joseph Myers <joseph@codesourcery.com>
4010 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
4011 comparisons to determine direction to adjust input.
4012 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
4013 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
4014 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
4016 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
4018 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4020 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
4021 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
4023 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
4025 * math/libm-test.inc (nexttoward_test): Add more tests.
4027 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
4030 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
4031 in version GLIBC_2.1, not GLIBC_2.0.
4032 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
4035 2012-04-30 Joseph Myers <joseph@codesourcery.com>
4038 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
4040 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4041 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
4042 * math/libm-test.inc (acos_test): Add more tests.
4043 (asin_test): Likewise.
4044 * sysdeps/i386/fpu/libm-test-ulps: Update.
4045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4048 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
4050 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
4051 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4052 * math/libm-test.inc (acos_test_tonearest): New function.
4053 (acos_test_towardzero): Likewise.
4054 (acos_test_downward): Likewise.
4055 (acos_test_upward): Likewise.
4056 (asin_test_tonearest): Likewise.
4057 (asin_test_towardzero): Likewise.
4058 (asin_test_downward): Likewise.
4059 (asin_test_upward): Likewise.
4060 (main): Call the new functions.
4061 * sysdeps/i386/fpu/libm-test-ulps: Update.
4062 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4066 * math/e_exp10.c: Include <float.h>.
4067 (__ieee754_exp10): Handle underflow here rather than multiplying
4068 large negative argument by M_LN10.
4069 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
4071 * math/e_exp10l.c: Include <float.h>.
4072 (__ieee754_exp10l): Handle underflow here rather than multiplying
4073 large negative argument by M_LN10l.
4074 * math/libm-test.inc (exp10_test): Add another test. Do not allow
4075 spurious overflow exception on underflow.
4077 2012-04-29 Marek Polacek <polacek@redhat.com>
4079 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
4080 (__fortify_function): New macro.
4081 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
4082 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
4083 __extern_always_inline.
4084 * libio/bits/stdio2.h: Likewise.
4085 * libio/bits/stdio.h: Likewise.
4086 * string/string.h: Likewise.
4087 * string/bits/string3.h: Likewise.
4088 * include/stdio.h: Likewise.
4089 * stdlib/bits/stdlib.h: Likewise.
4090 * stdlib/stdlib.h: Likewise.
4091 * rt/bits/mqueue2.h: Likewise.
4092 * rt/mqueue.h: Likewise.
4093 * posix/bits/unistd.h: Likewise.
4094 * posix/unistd.h: Likewise.
4095 * io/bits/poll2.h: Likewise.
4096 * io/bits/fcntl2.h: Likewise.
4097 * io/fcntl.h: Likewise.
4098 * io/sys/poll.h: Likewise.
4099 * misc/bits/syslog.h: Likewise.
4100 * misc/bits/syslog-ldbl.h: Likewise.
4101 * misc/sys/syslog.h: Likewise.
4102 * socket/bits/socket2.h: Likewise.
4103 * socket/sys/socket.h: Likewise.
4104 * debug/tst-chk1.c: Likewise.
4105 * wcsmbs/bits/wchar2.h: Likewise.
4106 * wcsmbs/bits/wchar-ldbl.h: Likewise.
4107 * wcsmbs/wchar.h: Likewise.
4109 2012-04-29 Andreas Jaeger <aj@suse.de>
4111 * Makerules (tests): Remove enable-check-abi protection.
4112 (check-abi-warn): Remove.
4113 (check-abi-%): Remove check-abi-warn usage.
4115 * configure.in: Remove check-abi configure option.
4116 * configure: Regenerated.
4117 * config.make.in (enable-check-abi): Remove.
4119 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
4122 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
4123 double functions to double *_finite functions.
4126 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
4127 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
4129 * stdio-common/Makefile (tests): Add tst-sprintf3.
4130 * stdio-common/tst-sprintf3.c: New file.
4132 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
4133 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
4135 2012-04-28 Joseph Myers <joseph@codesourcery.com>
4137 * conform/conformtest.pl: Remove duplicate typed-constant
4140 2012-04-28 David S. Miller <davem@davemloft.net>
4142 * Makerules (%.abilist): Add vpath on sysdep_dirs.
4143 (check-abi-%): Remove AWK script prerequisite and explicit
4145 (check-abi): Rewrite to just diff the symlist with the abilist.
4146 (config-tls, config-abi-config): Delete, no longer used.
4147 (update-abi-%): Remove AWK script and explicit abilist directory.
4148 (update-abi): Rewrite to simply compare and conditionally copy the
4149 symlist and the sysdep abilist file. Remove update-abi-config
4151 * abilist/ld.abilist: Remove.
4152 * abilist/libBrokenLocale.abilist: Remove.
4153 * abilist/libanl.abilist: Remove.
4154 * abilist/libcrypt.abilist: Remove.
4155 * abilist/libdl.abilist: Remove.
4156 * abilist/librt.abilist: Remove.
4157 * abilist/libthread_db.abilist: Remove.
4158 * abilist/libutil.abilist: Remove.
4159 * scripts/extract-abilist.awk: Remove.
4160 * scripts/merge-abilist.awk: Remove.
4161 * sysdeps/generic/libcidn.abilist: New file.
4162 * sysdeps/generic/libnss_compat.abilist: New file.
4163 * sysdeps/generic/libnss_db.abilist: New file.
4164 * sysdeps/generic/libnss_dns.abilist: New file.
4165 * sysdeps/generic/libnss_files.abilist: New file.
4166 * sysdeps/generic/libnss_hesiod.abilist: New file.
4167 * sysdeps/generic/libnss_nis.abilist: New file.
4168 * sysdeps/generic/libnss_nisplus.abilist: New file.
4169 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
4170 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
4171 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
4173 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
4174 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
4175 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
4176 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
4177 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
4178 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
4179 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
4180 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
4181 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
4183 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
4184 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
4185 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
4186 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
4188 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
4189 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
4190 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
4191 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
4192 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
4193 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
4195 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
4196 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
4197 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
4199 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
4200 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
4202 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
4204 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
4206 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
4208 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
4210 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
4212 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
4214 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
4216 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
4218 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
4220 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
4222 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
4224 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
4226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
4228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
4230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
4232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
4234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
4236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
4238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
4240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
4242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
4246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
4248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
4250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
4252 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
4253 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
4255 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
4257 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
4259 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
4261 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
4263 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
4265 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
4267 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4269 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
4271 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
4273 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4275 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
4277 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
4278 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
4280 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4282 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
4284 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
4286 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
4288 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
4290 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
4292 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4294 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
4296 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
4298 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4300 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
4302 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
4303 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
4304 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
4306 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
4307 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
4308 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
4309 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
4310 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
4311 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
4312 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
4313 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
4314 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
4315 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
4316 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
4317 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
4319 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
4321 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
4323 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
4325 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
4327 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
4329 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
4331 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4333 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
4335 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
4337 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
4339 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
4341 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
4342 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
4344 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
4346 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
4348 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
4350 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
4352 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
4354 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
4356 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4358 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
4360 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
4362 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
4364 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
4367 2012-04-28 Joseph Myers <joseph@codesourcery.com>
4369 * conform/conformtest.pl: Fix typo in handling typed-constant from
4372 2012-04-27 Joseph Myers <joseph@codesourcery.com>
4374 * README: Cut down references to pre-2.6 Linux kernels and
4375 Linuxthreads. Update lists of configurations in libc and ports
4376 and sort alphabetically. Say "or newer" with Linux kernel version
4379 * config.h.in [IS_IN_build]: Allow compiling without optimization.
4381 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4384 * math/libm-test.inc (logb_test_downward): New test to expose
4385 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
4388 2012-04-27 Joseph Myers <joseph@codesourcery.com>
4391 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
4393 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
4394 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
4396 2012-04-26 Joseph Myers <joseph@codesourcery.com>
4398 * sysdeps/unix/i386/brk.S: Remove file.
4399 * sysdeps/unix/i386/dl-brk.S: Likewise.
4400 * sysdeps/unix/i386/pipe.S: Likewise.
4401 * sysdeps/unix/i386/sigreturn.S: Likewise.
4402 * sysdeps/unix/i386/syscall.S: Likewise.
4403 * sysdeps/unix/i386/vfork.S: Likewise.
4404 * sysdeps/unix/i386/wait.S: Likewise.
4406 * sysdeps/unix/common/tcsendbrk.c: Move to ...
4407 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
4409 * configure.in (arm*-none*): Do not allow without
4410 --enable-hacker-mode.
4411 (netbsd*): Remove case setting base_os.
4412 (386bsd*): Likewise.
4413 (freebsd*): Likewise.
4417 (ultrix*): Likewise.
4418 (newsos*): Likewise.
4428 (solaris[2-9]*): Likewise.
4430 * configure: Regenerated.
4432 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4435 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
4436 overflow or cancellation in calculating denominator.
4437 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
4438 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
4439 down expression to avoid unexpected rounding in newer GCCs.
4440 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
4442 2012-04-26 David S. Miller <davem@davemloft.net>
4444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
4445 long-double compat symbols.
4446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
4450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4451 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
4452 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
4453 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
4454 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
4455 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
4456 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
4457 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
4458 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4460 2012-04-25 David S. Miller <davem@davemloft.net>
4462 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
4463 HWCAP_* values only after the memory barriers have been defined.
4464 (atomic_full_barrier): Define.
4465 (atomic_read_barrier): Define.
4466 (atomic_write_barrier): Define.
4468 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4470 * shlib-versions: Add libgcc_s version information.
4471 * sysdeps/generic/libgcc_s.h: Remove.
4472 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
4474 * sysdeps/gnu/unwind-resume.c: Likewise.
4475 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
4477 2012-04-25 David S. Miller <davem@davemloft.net>
4479 * sysdeps/unix/sparc/brk.S: Delete.
4480 * sysdeps/unix/sparc/dl-brk.S: Delete.
4481 * sysdeps/unix/sparc/pipe.S: Delete.
4482 * sysdeps/unix/sparc/sysdep.S: Delete.
4483 * sysdeps/unix/sparc/sysdep.h: Delete.
4484 * sysdeps/unix/sparc/vfork.S: Delete.
4485 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
4486 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
4487 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
4488 ret_ERRVAL, r0, r1, MOVE): Define.
4489 (JUMPTARGET): Remove.
4490 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
4491 sysdeps/unix/sparc/sysdep.h
4492 (ENTRY, END): Remove.
4493 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4495 2012-04-25 Joseph Myers <joseph@codesourcery.com>
4497 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
4498 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
4501 * timezone/README: Update upstream location and email address for
4503 * timezone/zdump.c: Update from tzcode 2012b.
4504 * timezone/zic.c: Likewise.
4506 * configure.in (libc_cv_as_needed): Remove test.
4507 * configure: Regenerated.
4508 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
4509 conditional definition.
4510 [$(have-as-needed) != yes] (no-as-needed): Likewise.
4511 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
4512 * config.make.in (have-as-needed): Remove variable.
4514 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4515 Paul Pluzhnikov <ppluzhnikov@google.com>
4517 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
4520 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
4522 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
4523 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
4524 * sysdeps/sh/strlen.S: Likewise.
4526 2012-04-24 Joseph Myers <joseph@codesourcery.com>
4528 * sysdeps/unix/fork.S: Remove file.
4529 * sysdeps/unix/i386/fork.S: Likewise.
4530 * sysdeps/unix/sparc/fork.S: Likewise.
4532 * sysdeps/unix/system.c: Remove file.
4533 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
4535 * sysdeps/unix/getegid.S: Remove file.
4536 * sysdeps/unix/geteuid.S: Likewise.
4538 2012-04-24 Roland McGrath <roland@hack.frob.com>
4540 * scripts/check-localplt.awk: New file.
4541 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
4543 * scripts/data/localplt-generic.data: Add a comment.
4545 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
4546 NODE when __dir_mkfile failed.
4547 * sysdeps/mach/hurd/symlinkat.c: Likewise.
4548 Reported by Ludovic Courtès <ludo@gnu.org>.
4550 2012-04-24 Andreas Jaeger <aj@suse.de>
4552 * Makerules (common-clean): Also remove gen-as-const-headers
4555 2012-04-24 Joseph Myers <joseph@codesourcery.com>
4557 * Makerules (native-compile): Do not change working directory for
4558 build. Use $(OUTPUT_OPTION) in command.
4559 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
4561 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4564 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
4565 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
4566 * math/libm-test.inc (floor_test): Add more tests.
4567 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
4569 2012-04-24 Joseph Myers <joseph@codesourcery.com>
4571 * sysdeps/unix/getdents.c: Remove file.
4572 * sysdeps/unix/sysv/getdents.c: Likewise.
4573 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
4575 * sysdeps/unix/syscalls.list (madvise): Add syscall from
4576 sysdeps/unix/mman/syscalls.list.
4578 (mprotect): Likewise.
4581 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
4582 * sysdeps/unix/mman/syscalls.list: Remove.
4583 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
4585 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
4586 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
4587 * configure: Regenerated.
4588 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
4590 * config.make.in (libgcc_s_suffix): Remove variable.
4592 2012-04-23 Joseph Myers <joseph@codesourcery.com>
4594 * sysdeps/unix/sysv/gethostname.c: Move to ...
4595 * sysdeps/posix/gethostname.c: ... here.
4597 * sysdeps/unix/execve.S: Remove file.
4599 * sysdeps/unix/_exit.S: Remove file.
4601 2012-04-23 Andreas Jaeger <aj@suse.de>
4604 * manual/Makefile: Remove make dist support, there's no
4605 need for a stand-alone documentation tar ball.
4606 (TEXI2DVI): Define always, it's not in Makeconfig.
4610 (glibc-doc-$(edition).tar): Removed
4614 (ETAGS): Remove, it's in Makeconfig.
4615 (move-if-change): Remove, it's in Makeconfig.
4617 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
4620 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
4621 (strtod, strtof, strtold, strtol, strtoul, strtoq)
4622 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
4623 (strtod_l, strtof_l, strtold_l): Remove __wur.
4624 It is not necessarily an error to ignore strtol's return value.
4625 One can reliably look at the stored endptr to decide whether
4626 the number had valid syntax.
4628 2012-04-21 Andreas Jaeger <aj@suse.de>
4631 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
4633 2012-04-21 Joseph Myers <joseph@codesourcery.com>
4635 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
4636 * sysdeps/unix/sysv/Versions: Remove file.
4638 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
4641 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4643 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
4646 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
4647 version from __vm86.
4649 2012-04-20 Joseph Myers <joseph@codesourcery.com>
4651 * sysdeps/unix/common/lxstat.c: Remove file.
4652 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
4654 * sysdeps/unix/sysv/Makefile: Remove file.
4656 * sysdeps/unix/sysv/direct.h: Remove file.
4658 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
4659 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
4660 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
4661 * sysdeps/unix/sysv/bits/signum.h: Likewise.
4662 * sysdeps/unix/sysv/bits/stat.h: Likewise.
4663 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
4664 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
4666 * sysdeps/unix/sysv/setrlimit.c: Remove file.
4668 * sysdeps/unix/xmknod.c: Remove file.
4669 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
4671 * sysdeps/unix/sysv/settimeofday.c: Remove file.
4673 * sysdeps/unix/sysv/i386/time.S: Remove file.
4675 * sysdeps/unix/fxstat.c: Remove file.
4676 * sysdeps/unix/xstat.c: Likewise.
4677 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
4679 * sysdeps/unix/sysv/sigaction.c: Remove file.
4681 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
4682 (sysdep_headers): Remove variable.
4683 [termio.h not in sysdep_headers] (generated): Likewise.
4684 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
4685 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
4686 * sysdeps/unix/sysv/tcdrain.c: Likewise.
4687 * sysdeps/unix/sysv/tcflow.c: Likewise.
4688 * sysdeps/unix/sysv/tcflush.c: Likewise.
4689 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
4690 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
4691 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
4692 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
4693 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
4695 * sysdeps/unix/siglist.c: Remove file.
4697 * sysdeps/unix/getppid.S: Remove file.
4699 * sysdeps/unix/mkdir.c: Remove file.
4700 * sysdeps/unix/rmdir.c: Likewise.
4702 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
4704 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
4706 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
4707 errlist-compat value.
4709 2012-04-18 David S. Miller <davem@davemloft.net>
4711 * sysdeps/generic/memcopy.h (reg_char): Delete.
4712 * debug/strcat_chk.c: Use char, not reg_char.
4713 * debug/strcpy_chk.c: Likewise.
4714 * debug/strncat_chk.c: Likewise.
4715 * debug/strncpy_chk.c: Likewise.
4716 * string/memchr.c: Likewise.
4717 * string/memrchr.c: Likewise.
4718 * string/rawmemchr.c: Likewise.
4719 * string/strcat.c: Likewise.
4720 * string/strchr.c: Likewise.
4721 * string/strchrnul.c: Likewise.
4722 * string/strcmp.c: Likewise.
4723 * string/strcpy.c: Likewise.
4724 * string/strncat.c: Likewise.
4725 * string/strncmp.c: Likewise.
4726 * string/strncpy.c: Likewise.
4728 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4730 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
4731 __builtin_memcopy is called when src and dest ranges are known to not
4734 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4736 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
4737 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
4738 fwd_align_merge macro call.
4739 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
4740 bwd_align_merge macro call.
4741 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4743 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4745 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
4746 bwd_align_merge macros.
4747 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
4748 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
4749 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4751 2012-04-18 David S. Miller <davem@davemloft.net>
4753 * sysdeps/sparc/sparc64/memcopy.h: Delete.
4755 2012-04-18 Andreas Jaeger <aj@suse.de>
4758 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
4759 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
4760 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4762 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
4763 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
4764 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4766 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
4767 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
4768 Adjust for changed ldbl-128 files.
4770 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
4771 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
4772 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4774 2012-04-17 David S. Miller <davem@davemloft.net>
4776 * sysdeps/sparc/sparc32/memcopy.h: Delete.
4778 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
4780 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
4781 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
4782 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
4783 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
4784 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4785 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
4787 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4790 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
4791 * math/libm-test.inc: Add ilogb errno and exception tests.
4792 * math/w_ilogb.c: New file: ilogb wrapper.
4793 * math/w_ilogbf.c: New file: ilogbf wrapper.
4794 * math/w_ilogbl.c: New file: ilogbl wrapper.
4795 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
4796 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
4797 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
4798 exception being thrown with 0.0 as argument.
4799 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
4800 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
4801 exception being thrown with 0.0 as argument.
4802 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
4803 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4804 exception being thrown with 0.0 as argument.
4805 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
4806 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4807 exception being thrown with 0.0 as argument.
4808 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
4809 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
4810 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
4811 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
4812 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
4813 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
4814 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
4815 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
4816 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
4818 2012-04-17 Petr Baudis <pasky@ucw.cz>
4820 * include/sys/uio.h: Change __vector to __iovec to avoid clash
4823 2012-04-16 Marek Polacek <polacek@redhat.com>
4825 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
4827 2012-04-16 Marek Polacek <polacek@redhat.com>
4829 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
4830 operands of fdivp instruction.
4832 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4834 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
4835 * elf/tst-auditmod3b.c: Likewise.
4836 * elf/tst-auditmod4b.c: Likewise.
4837 * elf/tst-auditmod5b.c: Likewise.
4838 * elf/tst-auditmod6b.c: Likewise.
4839 * elf/tst-auditmod6c.c: Likewise.
4840 * elf/tst-auditmod7b.c: Likewise.
4841 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
4842 * sysdeps/x86_64/preconfigure.in: Likewise.
4843 * sysdeps/x86_64/preconfigure: Regenerated.
4845 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4847 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
4850 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
4852 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4853 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
4855 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
4858 * locale/iso-639.def: Fix gl language name. Spotted by
4861 2012-04-12 Roland McGrath <roland@hack.frob.com>
4864 * libio/libio.h (__io_write_fn): Update comment.
4866 2012-04-12 Petr Baudis <pasky@ucw.cz>
4869 * stdio.texi (Hook Functions): The user provided writer function
4870 is not allowed to return -1.
4872 2012-04-11 David S. Miller <davem@davemloft.net>
4874 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4876 2012-04-11 Mike Frysinger <vapier@gentoo.org>
4878 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
4879 Add a leading slash to rtkaio.
4881 2012-04-11 Jim Meyering <meyering@redhat.com>
4884 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
4885 It is not necessarily an error to ignore fwrite's return
4886 value. One can reliably use ferror to test for errors after
4889 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
4891 * bits/types.h (__snseconds_t): New type.
4892 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
4894 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
4895 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4896 (__SNSECONDS_T_TYPE): Likewise.
4897 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4898 (__SNSECONDS_T_TYPE): Likewise.
4899 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4900 (__SNSECONDS_T_TYPE): Likewise.
4902 2012-04-10 Andreas Jaeger <aj@suse.de>
4905 * manual/time.texi (Processor Time): Return type of times is
4906 elapsed real time since an arbitrary point in the past.
4907 (CPU Time): Move CLK_TCK from here...
4908 (Processor Time): ...to here. Correct description.
4909 * manual/conf.texi (Constants for Sysconf): Correct description of
4912 2012-04-10 David S. Miller <davem@davemloft.net>
4915 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
4916 where the is a gap between DT_REL(A) and DT_JMPREL.
4918 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
4920 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
4921 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
4922 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
4924 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4926 * elf/dl-support.c (_dl_inhibit_cache): New variable.
4927 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
4928 (dl_main): Handle --inhibit-cache.
4929 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
4931 * elf/dl-load.c (_dl_map_object): Use it.
4932 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
4934 2012-04-09 Joseph Myers <joseph@codesourcery.com>
4937 * sysdeps/i386/fpu/e_powl.S (p78): New object.
4938 (__ieee754_powl): Saturate large exponents rather than testing for
4939 overflow of y*log2(x).
4940 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4941 * math/libm-test.inc (pow_test): Do not permit spurious overflow
4945 * math/s_ctan.c: Include <float.h>.
4946 (__ctan): Avoid internal overflow or cancellation in calculating
4948 * math/s_ctanf.c: Likewise.
4949 * math/s_ctanl.c: Likewise.
4950 * math/s_ctanh.c: Likewise.
4951 * math/s_ctanhf.c: Likewise.
4952 * math/s_ctanhl.c: Likewise.
4953 * math/libm-test.inc (ctan_test): Add more tests.
4954 (ctanh_test): Likewise.
4955 * sysdeps/i386/fpu/libm-test-ulps: Update.
4956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4958 2012-04-09 Andreas Jaeger <aj@suse.de>
4961 * manual/filesys.texi (Directory Entries): Mention that d_namlen
4962 is an optional BSD extension.
4965 * manual/stdio.texi (Opening Streams): Document additional fopen
4968 2012-04-09 Roland McGrath <roland@hack.frob.com>
4970 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
4971 %eax without telling the compiler.
4973 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
4976 * manual/install.texi: Use sourceware.org.
4978 2012-04-09 Joseph Myers <joseph@codesourcery.com>
4981 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
4982 (__ieee754_pow): Generate overflow and underflow using huge*huge
4983 and tiny*tiny rather than just returning constant infinity or zero
4984 for large exponents.
4985 * math/libm-test.inc (pow_test): Require overflow exceptions for
4986 applicable cases of large exponents.
4989 * sysdeps/i386/fpu/e_pow.S (p10): New object.
4990 (__ieee754_pow): Use iterative multiplication algorithm only for
4991 integer exponents with absolute value below 1024. Check for odd
4992 integer exponents when using algorithm for real exponents.
4993 * math/libm-test.inc (pow_test): Add more tests.
4994 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4996 2012-04-08 Joseph Myers <joseph@codesourcery.com>
4999 * math/libm-test.inc (exp_test): Do not allow overflow exception
5002 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
5005 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
5006 instead of __kernel_standard_f.
5008 2012-04-08 Mike Frysinger <vapier@gentoo.org>
5010 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
5011 * sysdeps/x86_64/memset_chk.S: Likewise.
5013 2012-04-08 Andreas Jaeger <aj@suse.de>
5016 * manual/startup.texi (Environment Access): Describe return value
5017 for putenv and setenv.
5020 * manual/filesys.texi (Directory Entries): Add description for
5024 * manual/filesys.texi (Directory Entries): Clarify that it's file
5025 system not operating system in the description of DT_UNKNOWN.
5028 * manual/syslog.texi (closelog): Fix reference, it's openlog.
5030 2012-04-08 Stephen Compall <s11@member.fsf.org>
5033 * manual/llio.texi (Opening and Closing Files): Add cross
5034 reference to explain mode argument.
5036 2012-04-07 Mike Frysinger <vapier@gentoo.org>
5038 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
5039 * sysdeps/x86_64/memset_chk.S: Likewise.
5041 2012-04-07 David S. Miller <davem@davemloft.net>
5043 * elf/elf.h (R_SPARC_WDISP10): Define.
5044 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
5046 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
5047 R_SPARC_SIZE64 and R_SPARC_H34.
5049 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
5051 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
5052 conditions and remove no longer applicable assertion.
5054 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
5056 * bits/byteswap.h: Include <features.h>.
5057 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
5058 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
5060 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
5062 * bits/byteswap.h (__bswap_16): Removed.
5063 Include <bits/byteswap-16.h> to get __bswap_16.
5064 * sysdeps/i386/bits/byteswap.h: Likewise.
5065 * sysdeps/s390/bits/byteswap.h: Likewise.
5066 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5067 * bits/byteswap-16.h: New file.
5068 * sysdeps/i386/bits/byteswap-16.h: Likewise.
5069 * sysdeps/s390/bits/byteswap-16.h: Likewise.
5070 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
5071 * string/Makefile (headers): Add bits/byteswap-16.h.
5073 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5076 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
5078 * nss/Makefile (tests-static, tests): Add tst-nss-static.
5079 * nss/tst-nss-static.c: New.
5081 2012-04-06 Robert Millan <rmh@gnu.org>
5084 * manual/llio.texi (File Position Primitive): lseek
5085 refers to WHENCE when it really means OFFSET.
5087 2012-04-06 Andreas Jaeger <aj@suse.de>
5089 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
5090 strncmp declarations.
5092 * abilist/libc.abilist: Add __poll and __ppoll.
5094 2012-04-05 David S. Miller <davem@davemloft.net>
5096 * scripts/check-local-headers.sh: Accept a host triplet in the
5097 path matched by the exclude regexp.
5099 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
5101 * sysdeps/powerpc/powerpc32/dl-machine.h
5102 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
5103 * sysdeps/s390/s390-32/dl-machine.h
5104 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5105 * sysdeps/sparc/sparc32/dl-machine.h
5106 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5107 * sysdeps/sparc/sparc64/dl-machine.h
5108 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5110 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
5112 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
5113 undefined symbol errors.
5115 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
5118 2012-04-05 Michael Matz <matz@suse.de>
5121 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
5123 2012-04-05 Andreas Jaeger <aj@suse.de>
5126 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
5129 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5131 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
5132 which ROUND is no valid rounding mode.
5134 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5136 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
5138 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
5140 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5142 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
5143 an exception using FPU order intentionally.
5145 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5147 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
5148 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
5149 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
5150 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
5152 2012-04-05 Simon Josefsson <simon@josefsson.org>
5155 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
5156 EINVAL when BUFLEN is too smal.
5158 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
5161 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
5162 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
5164 2012-04-03 Andreas Jaeger <aj@suse.de>
5167 * manual/setjmp.texi (System V contexts): Fix sentence.
5170 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
5171 New macro for this case.
5172 [!__GNUC__] (__bswap_64): New inline function for this case.
5173 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5174 * bits/byteswap.h: Likewise.
5175 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
5176 ull, guard with __GLIBC_HAVE_LONG_LONG.
5178 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
5179 __GLIBC_HAVE_LONG_LONG.
5181 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
5182 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
5184 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5187 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
5188 inptr and inend, rather than using last_ch.
5190 2012-04-02 David S. Miller <davem@davemloft.net>
5192 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
5193 * stdio-common/printf-parse.h (read_int): Change return type to
5194 'int', return -1 on INT_MAX overflow.
5195 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
5196 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
5197 overflows INT_MAX. Check for overflow of in-format-string precision
5198 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
5199 SIZE_MAX not INT_MAX for integer overflow test.
5200 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
5201 skip the construct in the format string but do not record anything.
5202 * stdio-common/bug22.c: Adjust to test both width/prevision
5203 INT_MAX overflow as well as total length INT_MAX overflow. Check
5204 explicitly for proper errno values.
5206 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
5208 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
5210 * string/test-strcmp.c [! WIDE]: Likewise.
5211 * time/tst-mktime2.c: Likewise for INT_MAX.
5212 * string/test-string.h: #include <sys/param.h> for MIN.
5214 * csu/init-first.c (__libc_init_first): Call __ctype_init.
5215 * sysdeps/i386/init-first.c (init): Likewise.
5216 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
5217 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
5218 * sysdeps/sh/init-first.c (init): Likewise.
5220 2012-04-01 Ulrich Drepper <drepper@gmail.com>
5222 * po/ru.po: Update from translation team.
5223 * po/vi.po: Likewise.
5225 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5227 * resolv/nss_dns/dns-host.c: Merge copyright years.
5229 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5231 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5232 Optimize memcpy with prefetch if
5233 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
5234 src, dst pointers have unequal 16 byte alignments.
5236 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5239 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
5240 from a CNAME entry and return the minimum ttl for the query.
5241 (gaih_getanswer_slice): Likewise.
5243 2012-03-30 Jeff Law <law@redhat.com>
5245 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
5247 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
5248 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
5250 * resolv/nss_dns/dns-host.c: Update copyright year.
5252 2012-03-30 Ulrich Drepper <drepper@gmail.com>
5254 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
5255 requests to save a system call. Fix check that all bytes are sent.
5257 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
5258 comments for sendmmsg.
5260 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5263 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
5264 with only 1 character between 0x0041 and 0x01b0.
5265 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
5266 * wcsmbs/tst-mbsnrtowcs.c: New file.
5268 2012-03-29 David S. Miller <davem@davemloft.net>
5270 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
5271 small copies by hand.
5273 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5276 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
5277 _nss_compat_initgroups_dyn): Fall back to malloc/free
5278 for large group memberships.
5280 2012-03-28 David S. Miller <davem@davemloft.net>
5282 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
5283 that branches into memcpy.
5284 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5285 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
5286 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5287 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
5288 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
5290 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
5292 * sysdeps/sparc/mempcpy.S: New file.
5294 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
5295 the IFUNC routine in the libc case.
5296 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5298 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
5299 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
5300 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
5301 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
5302 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
5303 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
5304 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
5305 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
5307 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
5308 loop to 256 bytes instead of 64 bytes and fix test signedness.
5310 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
5311 * sysdeps/sparc/sparc32/Makefile: rather than here...
5312 * sysdeps/sparc/sparc64/Makefile: and here.
5314 2012-03-28 Ulrich Drepper <drepper@gmail.com>
5316 * malloc/mallocbug.c: Avoid warnings about unused variables.
5318 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5321 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
5322 in the right place. Discard and retry query if response is
5323 larger than input buffer size.
5325 2012-03-28 Joseph Myers <joseph@codesourcery.com>
5330 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
5331 x for large integer exponent.
5332 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5333 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
5334 sign of result as needed afterwards.
5335 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
5336 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
5337 result for underflowing pow the same as for overflow.
5338 (__kernel_standard_l): Handle powl overflow and underflow here
5339 rather than calling __kernel_standard.
5340 * math/libm-test.inc (pow_test): Add more tests.
5355 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
5356 * sysdeps/ieee754/k_standard.c: Include <float.h>.
5357 (__kernel_standard_l): New function.
5358 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
5360 * math/w_acosl.c (__acosl): Likewise.
5361 * math/w_asinl.c (__asinl): Likewise.
5362 * math/w_atan2l.c (__atan2l): Likewise.
5363 * math/w_atanhl.c (__atanhl): Likewise.
5364 * math/w_coshl.c (__coshl): Likewise.
5365 * math/w_exp10l.c (__exp10l): Likewise.
5366 * math/w_exp2l.c (__exp2l): Likewise.
5367 * math/w_fmodl.c (__fmodl): Likewise.
5368 * math/w_hypotl.c (__hypotl): Likewise.
5369 * math/w_j0l.c (__j0l, __y0l): Likewise.
5370 * math/w_j1l.c (__j1l, __y1l): Likewise.
5371 * math/w_jnl.c (__jnl, __ynl): Likewise.
5372 * math/w_lgammal.c (__lgammal): Likewise.
5373 * math/w_log10l.c (__log10l): Likewise.
5374 * math/w_log2l.c (__log2l): Likewise.
5375 * math/w_logl.c (__logl): Likewise.
5376 * math/w_powl.c (__powl): Likewise.
5377 * math/w_remainderl.c (__remainderl): Likewise.
5378 * math/w_scalbl.c (sysv_scalbl): Likewise.
5379 * math/w_sinhl.c (__sinhl): Likewise.
5380 * math/w_sqrtl.c (__sqrtl): Likewise.
5381 * math/w_tgammal.c (__tgammal): Likewise.
5382 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
5383 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
5384 * math/libm-test.inc (acos_test): Add more tests.
5385 (acosh_test): Likewise.
5386 (asin_test): Likewise.
5387 (atanh_test): Likewise.
5388 (exp_test): Likewise.
5389 (exp10_test): Likewise.
5390 (exp2_test): Likewise.
5391 (expm1_test): Likewise.
5392 (lgamma_test): Likewise.
5393 (log_test): Likewise.
5394 (log10_test): Likewise.
5395 (log1p_test): Likewise.
5396 (log2_test): Likewise.
5397 (pow_test): Do not allow some spurious overflow exceptions.
5398 (sqrt_test): Add more tests.
5399 (tgamma_test): Likewise.
5400 (y0_test): Likewise.
5401 (y1_test): Likewise.
5402 (yn_test): Likewise.
5404 2012-03-27 Anton Blanchard <anton@samba.org>
5406 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
5408 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5409 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
5410 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5412 2012-03-27 David S. Miller <davem@davemloft.net>
5414 * conform/Makefile: Run run-conformtest.sh using $(BASH).
5416 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
5419 2012-03-27 Andreas Jaeger <aj@suse.de>
5421 * sysdeps/x86_64/elf/configure.in: Moved to ...
5422 * sysdeps/x86_64/configure.in: ... here.
5423 * sysdeps/x86_64/elf/start.S: Moved to ...
5424 * sysdeps/x86_64/start.S: ... here.
5425 * sysdeps/x86_64/elf/configure: Delete.
5427 * sysdeps/x86_64/configure.in: Merge contents from
5428 sysdeps/i386/configure.in (without i686 check).
5430 * sysdeps/i386/elf/Versions: Merge into ...
5431 * sysdeps/i386/Versions: ... this.
5432 * sysdeps/i386/elf/Versions: Delete file.
5433 * sysdeps/i386/elf/start.S: Moved to ...
5434 * sysdeps/i386/start.S: ...here.
5435 * sysdeps/i386/elf/configure.in: Merge into...
5436 * sysdeps/i386/configure.in: ...here.
5437 * sysdeps/i386/elf/configure.in: Delete file.
5438 * sysdeps/i386/elf/configure: Delete file.
5440 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
5441 * debug/backtracesyms.c: ... here.
5442 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
5443 * debug/backtracesymsfd.c: ... here.
5444 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
5445 * sysdeps/generic/ifunc-sel.h: ... here.
5447 * sysdeps/unix/i386/start.c: Delete file.
5448 * sysdeps/unix/sparc/start.c: Delete file.
5449 * sysdeps/unix/start.c: Delete file.
5451 * sysdeps/sh/elf/configure.in: Moved to ...
5452 * sysdeps/sh/configure.in: ... here.
5453 * sysdeps/sh/elf/start.S: Moved to ...
5454 * sysdeps/sh/start.S: ... here.
5455 * sysdeps/sh/elf/configure: Delete file.
5457 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
5458 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
5459 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
5460 * sysdeps/powerpc/powerpc64/entry.h: ... here.
5461 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
5462 * sysdeps/powerpc/powerpc64/start.S: here.
5463 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
5464 * sysdeps/powerpc/powerpc64/Makefile: ... this.
5465 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
5466 * sysdeps/powerpc/powerpc64/configure.in: ... this.
5467 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
5469 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
5470 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
5471 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
5472 * sysdeps/powerpc/powerpc32/start.S: ... here.
5473 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
5474 * sysdeps/powerpc/powerpc32/configure.in: ... this.
5475 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
5477 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
5478 * sysdeps/powerpc/ifunc-sel.h: ... here.
5479 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
5480 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
5482 * sysdeps/sparc/elf/configure.in: Moved to ...
5483 * sysdeps/sparc/configure.in: ... here.
5484 * sysdeps/sparc/elf/configure: Delete file.
5485 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
5486 * sysdeps/sparc/sparc32/start.S: ... here.
5487 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
5488 * sysdeps/sparc/sparc64/start.S: ... here.
5489 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
5490 * sysdeps/sparc/sparc32/Makefile: ... this.
5491 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
5492 * sysdeps/sparc/sparc64/Makefile: ... this.
5494 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
5495 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
5496 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
5497 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
5498 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
5499 * sysdeps/s390/s390-32/setjmp.S: ... here.
5500 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
5501 * sysdeps/s390/s390-32/configure.in: ... here.
5502 * sysdeps/s390/s390-32/elf/configure: Delete file.
5503 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
5504 * sysdeps/s390/s390-32/start.S: ... here.
5506 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
5507 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
5508 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
5509 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
5510 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
5511 * sysdeps/s390/s390-64/setjmp.S: ... here.
5512 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
5513 * sysdeps/s390/s390-64/configure.in: ... here
5514 * sysdeps/s390/s390-64/elf/configure: Delete file.
5515 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
5516 * sysdeps/s390/s390-64/start.S: ... here.
5517 * sysdeps/s390/s390-64/elf/configure: Delete.
5519 * configure.in: Remove support for elf directories in sysdeps.
5521 * configure: Regenerated.
5522 * sysdeps/i386/configure: Regenerated.
5523 * sysdeps/powerpc/powerpc32/configure: Regenerated.
5524 * sysdeps/powerpc/powerpc64/configure: Regenerated.
5525 * sysdeps/s390/s390-32/configure: Regenerated.
5526 * sysdeps/s390/s390-64/configure: Regenerated.
5527 * sysdeps/sh/configure: Regenerated.
5528 * sysdeps/sparc/configure: Regenerated.
5529 * sysdeps/x86_64/configure: Regenerated.
5531 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
5533 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5535 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
5536 denormal result into account.
5538 2012-03-25 Roland McGrath <roland@hack.frob.com>
5540 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
5541 Reported by Allan McRae <allan@archlinux.org>.
5543 2012-03-23 Jeff Law <law@redhat.com>
5545 * nss/getnssent.c (__nss_getent): Fix typo.
5547 2012-03-23 David S. Miller <davem@davemloft.net>
5549 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5551 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
5553 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
5554 to pad to uint64_t for each field.
5555 (dl_tls_index): Replace unsigned long with uint64_t.
5557 2012-03-23 Daniel Jacobowitz <dmj@google.com>
5558 Paul Pluzhnikov <ppluzhnikov@google.com>
5561 * grp/Makefile (otherlibs): Don't set it.
5562 * inet/Makefile (otherlibs): Likewise.
5563 * login/Makefile (otherlibs): Likewise.
5564 * nscd/Makefile (otherlibs): Likewise.
5565 * posix/Makefile (otherlibs): Likewise.
5566 * pwd/Makefile (otherlibs): Likewise.
5567 * rt/Makefile (otherlibs): Likewise.
5568 * sunrpc/Makefile (otherlibs): Likewise.
5569 * nss/Makefile (otherlibs): Likewise.
5570 Add libnss_files to routines and static-only-routines.
5571 ($(objpfx)getent): Remove rule.
5572 * resolv/Makefile: Add libnss_dns and libresolv to routines and
5573 static-only-routines.
5575 2012-03-22 Joseph Myers <joseph@codesourcery.com>
5578 * math/s_cexp.c: Include <float.h>.
5579 (__cexp): Handle exp result overflowing not necessarily
5580 overflowing both real and imaginary parts of result.
5581 * math/s_cexpf.c: Likewise.
5582 * math/s_cexpl.c: Likewise.
5583 * math/libm-test.inc (cexp_test): Add more tests.
5584 * sysdeps/i386/fpu/libm-test-ulps: Update.
5585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5587 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5589 * include/link.h (ELFW): New macro.
5590 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
5591 Replace ELF64_R_TYPE with ELFW(R_TYPE).
5593 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5595 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
5598 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5600 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
5602 (struct La_x32_retval): Likewise.
5604 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5606 * sysdeps/x86_64/preconfigure.in: New file.
5607 * sysdeps/x86_64/preconfigure: New generated file.
5609 2012-03-22 Joseph Myers <joseph@codesourcery.com>
5612 * math/e_exp2l.c: Include <float.h>.
5613 (__ieee754_exp2l): Handle overflow and underflow cases
5614 separately. Only pass fractional part of argument to
5616 * math/libm-test.inc (exp2_test): Add more tests.
5618 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
5619 negating x to take absolute value.
5620 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
5622 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5623 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
5625 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
5626 computing low part if x was negated.
5627 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5629 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5631 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
5633 (pltexit): Cast int_retval to ptrdiff_t.
5634 * elf/tst-auditmod3b.c: Likewise.
5635 * elf/tst-auditmod4b.c: Likewise.
5636 * elf/tst-auditmod5b.c: Likewise.
5637 * elf/tst-auditmod6b.c: Likewise.
5638 * elf/tst-auditmod6c.c: Likewise.
5639 * elf/tst-auditmod7b.c: Likewise.
5641 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
5642 and x32_gnu_pltexit.
5644 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
5646 (La_x32_regs): New macro.
5647 (La_x32_retval): Likewise.
5648 (la_x32_gnu_pltenter): New function prototype.
5649 (la_x32_gnu_pltexit): Likewise.
5651 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
5653 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
5656 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5658 * configure.in (libc_cv_cc_nofma): Check for option to disable
5659 generation of FMA instructions.
5660 * configure: Regenerate.
5661 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
5662 * sysdeps/ieee754/dbl-64/Makefile: New file.
5663 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
5664 Remove brandred-fma4.
5665 (CFLAGS-brandred-fma4.c): Remove.
5666 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
5667 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
5669 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
5672 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5674 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
5675 LLONG_MAX != LONG_MAX.
5676 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5677 (_fitoa_word): Likewise.
5678 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
5679 LLONG_MAX != LONG_MAX.
5680 * stdio-common/_itowa.h: Include <_itoa.h>.
5681 (_itowa_word): Use _ITOA_WORD_TYPE on value.
5682 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
5683 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
5684 only if not defined.
5685 (_ITOA_WORD_TYPE): Likewise.
5686 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5687 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
5689 2012-03-21 David S. Miller <davem@davemloft.net>
5691 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5693 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5695 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
5696 of x86_64 when setting libc_cv_slibdir, libdir and
5698 * sysdeps/unix/sysv/linux/configure: Regenerated.
5700 2012-03-21 Joseph Myers <joseph@codesourcery.com>
5702 * manual/lang.texi (Old Varargs): Remove section.
5703 (How Variadic): Update menu.
5704 (va_start): Do not mention varargs.h.
5706 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5707 Joseph Myers <joseph@codesourcery.com>
5709 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
5711 * configure: Regenerated.
5713 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5715 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
5716 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
5719 2012-03-21 Joseph Myers <joseph@codesourcery.com>
5722 * Makefile (files-for-dist): Remove NOTES.
5723 (NOTES): Remove rule.
5724 * README: Don't refer to NOTES.
5725 * manual/creature.texi: Don't include macros.texi.
5726 * manual/intro.texi (creature.texi): Remove comment referring to
5729 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
5730 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
5731 * configure: Regenerated.
5732 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
5734 (libc_cv_as_i686): Likewise.
5735 (libc_cv_cc_avx): Likewise.
5736 (libc_cv_cc_sse2avx): Likewise.
5737 (libc_cv_cc_fma4): Likewise.
5738 (libc_cv_cc_novzeroupper): Likewise.
5739 * sysdeps/i386/configure: Regenerated.
5742 * sysdeps/i386/fpu/s_cexp.S: Remove.
5743 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5744 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5745 * math/libm-test.inc (cexp_test): Add more tests.
5746 * sysdeps/i386/fpu/libm-test-ulps: Update.
5747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5749 2012-03-21 Allan McRae <allan@archlinux.org>
5751 * timezone/Makefile: Do not install iso3166.tab and zone.tab
5753 2012-03-21 Joseph Myers <joseph@codesourcery.com>
5756 * math/w_exp2.c: Do not include <float.h>.
5757 (o_threshold, u_threshold): Remove.
5758 (__exp2): Calculate result before checking finiteness and calling
5760 * math/w_exp2f.c: Likewise.
5761 * math/w_exp2l.c: Likewise.
5762 * math/libm-test.inc (exp2_test): Require overflow exception for
5766 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
5767 range of signed 64-bit integers before using fistpll. Remove
5768 checks for whether integers fit in mantissa bits.
5769 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
5770 the range of signed 32-bit integers before using fistpl. Remove
5771 checks for whether integers fit in mantissa bits.
5772 * sysdeps/i386/fpu/e_powl.S (p64): New object.
5773 (__ieee754_powl): Test for y outside the range of signed 64-bit
5774 integers before using fistpll. Reduce 64-bit values to 63-bit
5776 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
5777 divide-by-zero is raised for zero to large negative powers.
5778 * sysdeps/x86_64/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 * math/libm-test.inc (pow_test): Add more tests.
5784 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5786 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
5787 <stdio-common/_itoa.h>.
5788 * debug/segfault.c: Likewise.
5789 * elf/dl-cache.c: Likewise.
5790 * elf/dl-minimal.c: Likewise.
5791 * elf/dl-misc.c: Likewise.
5792 * elf/dl-sysdep.c: Likewise.
5793 * elf/dl-version.c: Likewise.
5794 * elf/rtld.c: Likewise.
5795 * hurd/hurdsock.c: Likewise.
5796 * hurd/lookup-retry.c: Likewise.
5797 * malloc/malloc.c: Likewise.
5798 * malloc/mtrace.c: Likewise.
5799 * nscd/nscd_getgr_r.c: Likewise.
5800 * nscd/nscd_getpw_r.c: Likewise.
5801 * nscd/nscd_getserv_r.c: Likewise.
5802 * posix/getopt_init.c: Likewise.
5803 * posix/wordexp.c: Likewise.
5804 * stdio-common/_itoa.c: Likewise.
5805 * stdio-common/printf_fphex.c: Likewise.
5806 * stdio-common/vfprintf.c: Likewise.
5807 * string/_strerror.c: Likewise.
5808 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
5809 * sysdeps/i386/i686/hp-timing.h: Likewise.
5810 * sysdeps/mach/_strerror.c: Likewise.
5811 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
5812 * sysdeps/mach/hurd/sethostid.c: Likewise.
5813 * sysdeps/mach/hurd/xmknodat.c: Likewise.
5814 * sysdeps/mach/xpg-strerror.c: Likewise.
5815 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5816 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5817 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
5818 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
5819 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5820 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
5821 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
5822 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
5823 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
5824 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
5825 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
5826 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5827 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
5828 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
5829 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
5830 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
5831 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
5832 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
5833 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5834 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5835 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
5837 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
5839 * stdio-common/_itoa.h: Moved to ...
5840 * sysdeps/generic/_itoa.h: Here.
5842 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
5844 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
5845 instead of "_itoa.h" and "_itowa.h".
5846 * stdio-common/vfprintf.: Likewise.
5848 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5850 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
5852 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
5853 (__signbit): Likwise.
5857 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5859 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
5862 2012-03-20 Joseph Myers <joseph@codesourcery.com>
5864 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
5865 OVERFLOW_EXCEPTION_OK.
5866 * math/libm-test.inc ("Philosophy"): Update comment about
5868 (OVERFLOW_EXCEPTION): Define.
5869 (OVERFLOW_EXCEPTION_OK): Likewise.
5870 (INVALID_EXCEPTION_OK): Renumber.
5871 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5872 (IGNORE_ZERO_INF_SIGN): Likewise.
5873 (test_exceptions): Handle FE_OVERFLOW.
5874 (exp10_test): Expect overflow exceptions.
5875 (exp2_test): Likewise.
5876 (expm1_test): Likewise.
5877 (nextafter_test): Likewise.
5878 (pow_test): Likewise.
5879 (scalbn_test): Likewise.
5880 (scalbln_test): Likewise.
5882 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5884 * sysdeps/x86_64/bits/atomic.h
5885 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
5887 (atomic_exchange_acq): Likewise.
5888 (__arch_exchange_and_add_body): Likewise.
5889 (__arch_add_body): Likewise.
5890 (atomic_add_negative): Likewise.
5891 (atomic_add_zero): Likewise.
5893 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5895 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
5896 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
5898 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5900 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
5901 Check __x86_64__ instead of __WORDSIZE.
5903 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5905 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
5907 2012-03-19 David S. Miller <davem@davemloft.net>
5909 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5911 * sysdeps/sparc/fpu/fenv_private.h: New file.
5912 * sysdeps/sparc/fpu/math_private.h: Use it.
5913 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
5915 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
5916 (libc_feholdexcept_setroundl): Remove.
5917 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
5919 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
5920 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
5922 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5924 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
5925 int64_t instead of long int.
5926 (INSERT_WORDS64): Likwise.
5928 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5930 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
5931 _Unwind_GetCFA return to _Unwind_Ptr first.
5933 2012-03-19 Joseph Myers <joseph@codesourcery.com>
5936 * math/s_clog.c: Include <float.h>.
5937 (__clog): Scale large or subnormal inputs.
5938 * math/s_clogf.c: Likewise.
5939 * math/s_clogl.c: Likewise.
5940 * math/s_clog10.c: Include <float.h>.
5941 (M_LOG10_2): Define.
5942 (__clog10): Scale large or subnormal inputs.
5943 * math/s_clog10f.c: Likewise.
5944 * math/s_clog10l.c: Likewise.
5945 * math/libm-test.inc (clog_test): Add more tests.
5946 (clog10_test): Likewise.
5947 * sysdeps/i386/fpu/libm-test-ulps: Update.
5948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5951 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
5953 * math/libm-test.inc (atan2_test): Add another test.
5955 * Makerules (common-objdir-compile): Remove.
5956 * sysdeps/unix/Makefile (config-generated): Do not add
5957 $(unix-generated) to variable.
5958 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
5959 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
5961 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
5963 [generic bits/local_lim.h] (before-compile): Do not append to
5965 [generic bits/local_lim.h] (common-generated): Likewise.
5966 [generic sys/param.h] (before-compile): Do not append to variable.
5967 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
5968 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
5969 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
5970 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
5972 [generic sys/param.h] (sys/param.h-includes): Remove variable.
5973 [generic sys/param.h] (sys/param.h-includes): Remove rule.
5974 [generic sys/param.h] ($(addprefix
5975 $(common-objpfx),$(sys/param.h-includes))): Likewise.
5976 [generic sys/param.h] (common-generated): Do not append to
5978 [generic sys/param.h] (sysdep_headers): Likewise.
5979 [generic bits/errno.h] (before-compile): Do not append to
5981 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
5983 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
5984 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
5985 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
5986 [generic bits/errno.h] (common-generated): Do not append to
5988 [generic bits/ioctls.h] (before-compile): Do not append to
5990 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
5992 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
5993 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
5994 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
5996 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
5997 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
5998 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
5999 [generic bits/ioctls.h] (common-generated): Do not append to
6001 [generic sys/syscall.h] (syscall.h): Remove variable.
6002 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
6004 [generic sys/syscall.h] (before-compile): Do not append to
6006 [generic sys/syscall.h] (common-generated): Likewise.
6007 * sysdeps/unix/errnos-tmpl.c: Remove file.
6008 * sysdeps/unix/errnos.awk: Likewise.
6009 * sysdeps/unix/ioctls-tmpl.c: Likewise.
6010 * sysdeps/unix/ioctls.awk: Likewise.
6011 * sysdeps/unix/mk-local_lim.c: Likewise.
6012 * sysdeps/unix/snarf-ioctls: Likewise.
6014 2012-03-19 Richard Henderson <rth@twiddle.net>
6016 * sysdeps/i386/fpu/fenv_private.h: New file.
6017 * sysdeps/i386/fpu/math_private.h: Use it.
6018 (math_opt_barrier, math_force_eval): Remove.
6019 (libc_feholdexcept_setround_53bit): Remove.
6020 (libc_feupdateenv_53bit): Remove.
6021 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6022 (math_opt_barrier, math_force_eval): Remove.
6023 (libc_feholdexcept): Remove.
6024 (libc_feholdexcept_setround): Remove.
6025 (libc_fetestexcept, libc_fesetenv): Remove.
6026 (libc_feupdateenv_test): Remove.
6027 (libc_feupdateenv, libc_feholdsetround): Remove.
6028 (libc_feresetround): Remove.
6030 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
6031 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6033 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
6034 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
6035 (libc_feupdateenv_testl): New.
6036 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
6037 (libc_feupdateenv_testf): New.
6038 (libc_feupdateenv): Use libc_feupdateenv_test.
6039 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
6040 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
6042 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
6043 (libc_feholdsetroundf, libc_feholdsetroundl): New.
6044 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
6045 (libc_feresetround_noex): New.
6046 (libc_feresetround_noexf): New.
6047 (libc_feresetround_noexl): New.
6048 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
6049 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
6050 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
6051 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
6053 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
6054 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
6056 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
6057 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
6058 SET_RESTORE_ROUND_NOEX.
6059 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
6060 SET_RESTORE_ROUND_NOEXF.
6061 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
6062 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
6063 (libc_feholdsetroundf): New.
6064 (libc_feresetround, libc_feresetroundf): New.
6066 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
6067 (libc_feholdexcept_setround_53bit): Convert from macro to function.
6068 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
6070 * sysdeps/generic/math_private.h: Include <fenv.h>.
6071 (default_libc_feholdexcept): New.
6072 (default_libc_feholdexcept_setround): New.
6073 (default_libc_fesetenv, default_libc_feupdateenv): New.
6074 (libc_feholdexcept): Only define if undefined.
6075 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
6076 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
6077 (libc_feholdexcept_setroundl): Likewise.
6078 (libc_feholdexcept_setround_53bit): Likewise.
6079 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
6080 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
6081 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
6082 (libc_feupdateenv_53bit): Likewise.
6083 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
6084 (libc_feholdexcept): Convert from macro to inline function.
6085 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
6086 (libc_fesetenv, libc_feupdateenv): Likewise.
6088 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
6089 not previously defined.
6090 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
6091 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
6092 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
6093 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
6094 * sysdeps/ieee754/flt-32/math_private.h: New file.
6095 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
6096 math_private.h below SET_FLOAT_WORD.
6097 (__isnan, __isinf_ns, __finite): Remove.
6098 (__isnanf, __isinf_nsf, __finitef): Remove.
6100 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
6102 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6104 2012-03-17 David S. Miller <davem@davemloft.net>
6107 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
6110 2012-03-16 David S. Miller <davem@davemloft.net>
6112 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
6116 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
6118 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
6119 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
6120 sysdep_routines when subdir is sysvipc.
6121 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
6124 * sysdeps/sparc/fpu/libm-test/ulps: Update.
6126 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6128 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
6131 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6133 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
6134 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
6135 (__lround): Renamed to ...
6136 (__llround): This. Replace long int with long long int.
6137 Define lround functions as aliases of llround functions.
6138 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
6140 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6142 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
6143 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
6144 adresses to uintptr_t. Replace "long int" and "unsigned long
6145 int" with "greg_t" on va_arg.
6147 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6149 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
6150 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
6152 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
6153 Move e_machine check before EI_CLASS check. Handle x32
6154 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
6155 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
6156 SKIP_EM_IA_64 and include
6157 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
6159 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
6160 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
6161 (add_system_dir): New macro.
6163 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
6164 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
6166 2012-03-16 Joseph Myers <joseph@codesourcery.com>
6177 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
6179 * math/w_j0f.c (j0f): Likewise.
6181 * math/w_j0l.c (__j0l): Likewise.
6183 * math/w_j1.c (j1): Likewise.
6185 * math/w_j1f.c (j1f): Likewise.
6187 * math/w_j1l.c (__j1l): Likewise.
6189 * math/w_jn.c (jn): Likewise.
6191 * math/w_jnf.c (jnf): Likewise.
6193 * math/w_jnl.c (__jnl): Likewise.
6195 * math/libm-test.inc (j0_test): Add more tests.
6196 (j1_test): Likewise.
6197 (jn_test): Likewise. Add trailing semicolon to existing test.
6198 (y0_test): Likewise.
6199 (y1_test): Likewise.
6200 * sysdeps/i386/fpu/libm-test-ulps: Update.
6201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6205 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
6206 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
6207 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
6208 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
6209 (__tanl): Set errno for infinite argument.
6210 * sysdeps/i386/fpu/mptan.c: Remove.
6211 * sysdeps/i386/fpu/s_tan.S: Likewise.
6212 * sysdeps/i386/fpu/s_tanl.S: Likewise.
6213 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
6214 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
6215 * math/libm-test.inc (tan_test): Add more tests and enable more
6216 tests for double and long double.
6217 * sysdeps/i386/fpu/libm-test-ulps: Update.
6218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6220 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6222 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
6223 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
6225 2012-03-16 Roland McGrath <roland@hack.frob.com>
6227 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
6228 * configure.in: Use it for both main tree and add-ons.
6229 * configure: Regenerated.
6231 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6233 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
6235 2012-03-16 Joseph Myers <joseph@codesourcery.com>
6237 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
6241 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
6242 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
6243 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
6244 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
6245 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
6247 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
6248 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
6250 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
6251 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
6252 * sysdeps/i386/fpu/s_cosl.S: Likewise.
6253 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
6254 * sysdeps/i386/fpu/s_sinl.S: Likewise.
6255 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
6256 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
6257 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
6258 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
6259 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
6260 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
6261 * math/libm-test.inc (cos_test): Add more tests and enable more
6262 tests for long double.
6263 (sin_test): Likewise.
6264 (sincos_test): Likewise.
6265 * sysdeps/i386/fpu/libm-test-ulps: Update.
6266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6268 2012-03-16 David S. Miller <davem@davemloft.net>
6270 * sysdeps/sparc/fpu/math_private.h: New file.
6272 2012-03-15 David S. Miller <davem@davemloft.net>
6274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
6276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
6277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
6279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
6280 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
6281 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
6282 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
6283 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
6284 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
6286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6288 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
6289 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
6291 * sysdeps/sparc/sparc-ifunc.h: New file.
6292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
6294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
6295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
6297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
6299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
6300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
6301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
6302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
6304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
6306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
6308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
6310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
6312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
6314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
6315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
6316 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
6317 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
6318 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
6319 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
6320 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
6321 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
6322 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
6323 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
6324 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
6325 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
6326 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
6327 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
6328 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
6329 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
6330 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
6331 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
6332 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
6333 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
6334 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
6335 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
6337 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6339 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
6341 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6343 2012-03-15 Andreas Jaeger <aj@suse.de>
6346 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
6347 ieee754/flt-32 implementation for sin, cos and sincos.
6348 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
6349 * sysdeps/i386/fpu/s_cosf.S: Likewise.
6350 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
6351 * sysdeps/i386/fpu/s_sinf.S: Likewise.
6352 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
6353 ieee754/flt-32 implementation for tan.
6355 * math/libm-test.inc (cos_test): Enable some large input tests for
6357 (sin_test): Likewise.
6358 (sincos_test): Likewise.
6359 (tan_test): Add tests for large input.
6361 * sysdeps/i386/fpu/libm-test-ulps: Update.
6363 2012-03-15 Andreas Jaeger <aj@suse.de>
6366 * math/libm-test.inc (cos_test): Add more test cases.
6367 (sin_test): Likewise.
6368 (sincos_test): Likewise.
6370 2012-03-15 Andreas Jaeger <aj@suse.de>
6373 * math/libm-test.inc (cos_test): Add a test case for large input
6375 (sin_test): Likewise.
6376 (sincos_test): Likewise.
6378 2012-03-15 Andreas Jaeger <aj@suse.de>,
6379 Joseph Myers <joseph@codesourcery.com>
6382 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
6383 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
6384 * sysdeps/i386/fpu/branred.c: Likewise.
6385 * sysdeps/i386/fpu/dosincos.c: Likewise.
6386 * sysdeps/i386/fpu/mpa.c: Likewise.
6387 * sysdeps/i386/fpu/s_cos.S: Likewise.
6388 * sysdeps/i386/fpu/s_sin.S: Likewise.
6389 * sysdeps/i386/fpu/s_sincos.S: Likewise.
6390 * sysdeps/i386/fpu/sincos32.c: Likewise.
6392 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
6394 (libc_feupdateenv_53bit): Define.
6395 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
6397 (libc_feupdateenv_53bit): Define.
6399 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
6400 53 bit (without extend i386 double precision).
6402 * math/libm-test.inc (sincos_test): Add tests for large input.
6406 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6408 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6410 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6412 2012-03-15 David S. Miller <davem@davemloft.net>
6414 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
6415 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
6416 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
6417 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
6418 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
6419 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
6420 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
6421 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
6422 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
6423 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
6424 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
6425 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
6426 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
6427 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
6428 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
6429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
6431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
6432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
6434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
6435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
6437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
6438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
6440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
6441 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
6442 fmin/fmax sysdep routines.
6443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6445 2012-03-14 David S. Miller <davem@davemloft.net>
6447 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
6448 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
6449 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
6450 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
6451 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
6452 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
6453 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
6454 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
6455 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
6456 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
6457 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
6458 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
6459 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
6460 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
6461 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
6462 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
6463 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
6464 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
6465 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
6466 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
6467 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
6468 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
6469 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
6470 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
6471 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
6472 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
6473 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
6474 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
6475 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
6477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
6479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
6480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
6482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
6483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
6485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
6486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
6488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
6489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
6491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
6492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
6494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
6496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
6498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
6500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
6502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
6504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
6506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
6507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
6509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
6510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
6512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
6513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
6515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
6516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
6519 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
6522 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6524 * sysdeps/sparc/configure.in: New file.
6525 * sysdeps/sparc/configure: Generate.
6526 * configure.in (libc_cv_sparc_as_vis3): Substitute.
6527 * configure: Regenerate.
6528 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
6529 * config.make.in (have-as-vis3): New.
6530 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
6531 available use -Av9d instead of -Av9a.
6532 * sysdeps/sparc/sparc64/Makefile: Likewise.
6533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
6534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
6536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
6538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
6540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
6542 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
6543 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
6544 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
6545 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
6546 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
6548 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
6549 fzeros/fnegs to load 0x80000000 into a float register instead of
6551 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
6553 2012-03-14 Joseph Myers <joseph@codesourcery.com>
6555 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6557 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
6558 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
6559 ($(inst_includedir)/bits/syscall.h): Remove rule.
6560 ($(objpfx)bits/syscall.d): Include instead of
6561 $(objpfx)syscall-list.d.
6562 (generated): Change syscall-list.h and syscall-list.d to
6563 bits/syscall.h and bits/syscall.d.
6565 2012-03-14 Roland McGrath <roland@hack.frob.com>
6568 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
6570 2012-03-14 Joseph Myers <joseph@codesourcery.com>
6573 * math/s_csqrt.c: Include <float.h>.
6574 (__csqrt): Scale large or subnormal inputs.
6575 * math/s_csqrtf.c: Likewise.
6576 * math/s_csqrtl.c: Likewise.
6577 * math/libm-test.inc (csqrt_test): Add more tests.
6578 * sysdeps/i386/fpu/libm-test-ulps: Update.
6579 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6582 * math/libm-test.inc (hypot_test): Add more tests.
6584 2012-03-13 David S. Miller <davem@davemloft.net>
6587 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
6588 double-precision for the calculation instead of scaling.
6590 2012-03-13 Joseph Myers <joseph@codesourcery.com>
6592 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
6593 manipulate bits before adding and subtracting TWO52[sx].
6594 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
6595 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
6597 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
6599 2012-03-13 David S. Miller <davem@davemloft.net>
6601 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
6602 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
6603 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
6604 rtld-global-offsets.h
6605 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6607 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
6610 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
6612 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
6613 'err' in the ifdef scope in which it is actually used.
6615 * nss/nss_db/db-init.c: Include string.h
6617 2012-03-12 David S. Miller <davem@davemloft.net>
6619 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
6620 masking out of the most significant byte of random value used.
6621 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6622 Fix coding style in previous change.
6624 * sysdeps/unix/sysv/linux/kernel-features.h
6625 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
6626 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
6628 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
6631 2012-03-11 David S. Miller <davem@davemloft.net>
6633 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6634 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
6635 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
6636 for 'resultvar' otherwise things get truncated on 64-bit.
6638 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6639 Fix masking out of the most significant byte of random value used.
6641 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6643 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
6645 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6647 2012-03-09 David S. Miller <davem@davemloft.net>
6649 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
6650 variables with appropriate CPP guards.
6651 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
6652 frame pointer, not the stack pointer. Correct layout comments. Fix test
6653 on resulting framesize and the management of the outregs buffer for pltexit.
6654 Preserve floating point return values across _dl_call_pltexit call.
6655 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
6656 framesize and the management of the outregs buffer for pltexit.
6657 Preserve floating point return values across _dl_call_pltexit
6659 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
6660 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
6661 (print_exit): Fix format string for return register value.
6663 2012-03-10 Joseph Myers <joseph@codesourcery.com>
6665 * sunrpc/Makefile (others): Add rpcgen.
6666 ($(objpfx)rpcgen): Remove special build rule and dependency on
6668 * sunrpc/rpcgen.c: New file.
6670 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
6673 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
6674 * stdio-common/bug-vfprintf-nargs.c: Likewise.
6675 * sysdeps/i386/crti.S: Likewise.
6676 * sysdeps/i386/crtn.S: Likewise.
6677 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
6678 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
6679 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
6680 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
6681 * sysdeps/sh/crti.S: Likewise.
6682 * sysdeps/sh/crtn.S: Likewise.
6683 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
6686 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
6688 * locale/programs/locfile-kw.gperf: Likewise.
6689 * locale/programs/charmap-kw.h: Regenerated.
6690 * locale/programs/locfile-kw.h: Likewise.
6693 * intl/plural.y: Replace FSF snail mail address with URL.
6694 * intl/plural.c: Regenerated.
6696 2012-03-09 Richard Henderson <rth@twiddle.net>
6698 * include/math_private.h: Remove file.
6699 * math/math_private.h: Move file ...
6700 * sysdeps/generic/math_private.h: ... here.
6702 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
6703 * sysdeps/powerpc/fpu/math_private.h: Likewise.
6704 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6706 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
6707 and <math_private.h>.
6708 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6709 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6710 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6711 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6712 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6713 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
6714 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6715 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6716 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6717 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6718 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6719 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6720 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6721 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6722 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6723 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6724 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6725 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6726 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6727 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6728 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6729 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6730 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6731 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6732 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
6733 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6734 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6735 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6736 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6737 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6738 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6739 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6740 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
6741 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6742 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6743 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6744 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6745 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6746 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6747 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6748 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
6749 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6750 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6751 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
6752 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
6753 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6754 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
6755 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6756 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6757 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6758 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6759 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
6760 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
6761 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6762 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
6763 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6764 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6765 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
6766 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
6767 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
6768 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6769 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
6770 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6771 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6772 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
6773 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6774 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6775 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6776 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
6777 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
6778 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
6779 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6780 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6781 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6782 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
6783 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
6784 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
6785 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6786 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
6787 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
6788 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
6789 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
6790 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
6791 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6792 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6793 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
6794 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
6795 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
6796 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6797 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6798 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6799 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6800 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6801 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6802 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6803 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6804 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6805 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6806 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6807 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6808 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6809 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6810 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6811 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6812 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6813 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6814 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6815 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6816 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6817 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6818 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6819 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6820 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6821 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6822 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
6823 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6824 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6825 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6826 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6827 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
6828 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6829 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6830 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6831 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
6832 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6833 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6834 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6835 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
6836 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6837 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
6838 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
6839 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
6840 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6841 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
6842 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
6843 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6844 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6845 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6846 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
6847 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6848 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6849 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6850 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6851 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
6852 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
6853 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6854 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6855 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6856 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
6857 * sysdeps/ieee754/k_standard.c: Likewise.
6858 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6859 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6860 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6861 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6862 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6863 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6864 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6865 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6866 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6867 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6868 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6869 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6870 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6871 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6872 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6873 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6874 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6875 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6876 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6877 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
6878 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
6879 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
6880 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6881 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6882 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6883 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
6884 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6885 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6886 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6887 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6888 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6889 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6890 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6891 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6892 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6893 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6894 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6895 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
6896 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
6897 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6898 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6899 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6900 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6901 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6902 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6903 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6904 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6905 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6906 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6907 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6908 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6909 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6910 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6911 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
6912 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6913 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6914 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
6915 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
6916 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6917 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6918 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6919 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6920 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6921 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6922 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6923 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6924 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6925 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6926 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6927 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6928 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6929 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6930 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6931 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6932 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6933 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6934 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
6935 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6936 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6937 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
6938 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
6939 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
6940 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6941 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6942 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
6943 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6944 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6945 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
6946 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6947 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6948 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
6949 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6950 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
6951 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
6952 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6953 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6954 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
6955 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
6956 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
6957 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
6958 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6959 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6960 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6961 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6962 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
6963 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6964 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6965 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
6966 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
6967 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6968 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6969 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6970 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6971 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6972 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6973 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6974 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6975 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6976 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6977 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6978 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6979 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6980 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6981 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6982 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6983 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
6984 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6985 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6986 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6987 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6988 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6989 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6990 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6991 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
6992 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6993 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6994 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
6995 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
6996 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6997 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
6998 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
6999 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7000 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
7001 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
7002 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
7003 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7004 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7005 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
7006 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
7007 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
7008 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7009 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7010 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7011 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7012 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
7013 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
7014 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
7015 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
7016 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
7017 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7018 * sysdeps/ieee754/s_lib_version.c: Likewise.
7019 * sysdeps/ieee754/s_matherr.c: Likewise.
7020 * sysdeps/ieee754/s_signgam.c: Likewise.
7021 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7022 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7023 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
7024 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
7025 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
7026 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7027 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
7028 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
7029 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
7030 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
7031 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7032 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
7033 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
7034 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7035 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
7036 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
7037 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7038 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
7039 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7040 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7041 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7043 2012-03-09 Joseph Myers <joseph@codesourcery.com>
7045 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
7046 * sunrpc/rpc_main.c: Likewise.
7047 * sunrpc/rpc_svcout.c: Likewise.
7049 2012-03-09 David S. Miller <davem@davemloft.net>
7051 * include/math_private.h: New file.
7053 2012-03-09 Joseph Myers <joseph@codesourcery.com>
7055 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
7056 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
7057 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
7058 from <bits/socket_type.h>.
7059 (enum __socket_type): Don't define here.
7060 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
7061 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7065 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
7068 * Makerules ($(inst_includedir)/%.h): New rule.
7069 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
7070 (install-others): Remove variable setting.
7071 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
7073 2012-03-08 Richard Henderson <rth@twiddle.net>
7075 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
7076 from macro to inline function; merge with the
7077 !__LIBC_INTERNAL_MATH_INLINES version.
7078 (__ieee754_sqrtf): Likewise.
7080 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
7082 (__rintf, __floor, __floorf): Likewise.
7084 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
7085 macro to inline function.
7086 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
7088 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
7089 not <math/math_private.h>.
7091 2012-03-08 David S. Miller <davem@davemloft.net>
7093 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
7095 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
7097 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
7099 * resolv/gai_misc.c (handle_requests): Fix struct timespec
7101 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
7102 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
7104 2012-03-08 Ulrich Drepper <drepper@gmail.com>
7106 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
7107 be defined individually, they must be defined as a block. Define
7108 S for printing a string instead of hidint the different by using a
7109 macro for adding the 'l'.
7110 * stdio-common/tst-fphex-wide.c: Adjust.
7112 2012-03-07 Marek Polacek <polacek@redhat.com>
7114 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
7116 2012-03-08 Marek Polacek <polacek@redhat.com>
7119 * stdio-common/Makefile (tests): Add tst-fphex-wide.
7120 * stdio-common/tst-fphex.c: Define a few macros to make the
7121 test reusable. Use them.
7122 * stdio-common/tst-fphex-wide.c: New file.
7124 2012-03-08 Joseph Myers <joseph@codesourcery.com>
7127 * manual/macros.texi (gnusystems): New macro.
7128 (nongnusystems): Likewise.
7129 (gnulinuxhurdsystems): Likewise.
7130 (gnuhurdsystems): Likewise..
7131 (gnulinuxsystems): Likewise.
7132 * manual/charset.texi: Use new macros or @theglibc{} to refer to
7133 variants of the GNU system, not "GNU system".
7134 * manual/conf.texi: Likewise.
7135 * manual/errno.texi: Likewise. Update example of errno macro
7137 * manual/filesys.texi: Likewise.
7138 (getumask): Document as specific to GNU/Hurd.
7139 * manual/install.texi: Likewise. Reword some references to
7141 * manual/intro.texi: Likewise.
7142 * manual/io.texi: Likewise.
7143 (File Name Portability): Detail which constraints are inapplicable
7144 to all GNU systems and which are only inapplicable to GNU/Hurd.
7145 * manual/job.texi: Likewise.
7146 * manual/llio.texi: Likewise.
7147 (O_NOCTTY): Document as present on GNU/Linux.
7148 * manual/maint.texi: Likewise.
7149 * manual/memory.texi: Likewise.
7150 * manual/pattern.texi: Likewise.
7151 * manual/pipe.texi: Likewise.
7152 * manual/process.texi: Likewise.
7153 * manual/resource.texi: Likewise.
7154 (RUSAGE_CHILDREN): Remove statement about specifying a particular
7156 * manual/setjmp.texi: Likewise.
7157 * manual/signal.texi: Likewise.
7158 * manual/startup.texi: Likewise.
7159 * manual/stdio.texi: Likewise.
7160 * manual/terminal.texi: Likewise.
7161 (ONLCR): Document as POSIX.
7162 (OXTABS): Document availability on GNU/Linux as XTABS.
7163 (ONOEOT): Document availability separately from other bits.
7164 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
7165 * manual/time.texi: Likewise.
7166 * manual/users.texi: Likewise.
7167 * INSTALL: Regenerated.
7168 * sysdeps/gnu/errlist.c: Regenerated.
7170 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
7171 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
7172 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
7174 * configure: Regenerated.
7176 2012-03-07 Joseph Myers <joseph@codesourcery.com>
7178 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
7179 default includes instead of AC_HEADER_CHECK.
7180 * sysdeps/i386/configure: Regenerated.
7183 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
7184 * math/s_cacoshf.c (__cacoshf): Likewise.
7185 * math/s_cacoshl.c (__cacoshl): Likewise.
7186 * math/s_casinh.c (__casinh): Set signs of result from argument.
7187 * math/s_casinhf.c (__casinhf): Likewise.
7188 * math/s_casinhl.c (__casinhl): Likewise.
7189 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
7190 (casinh_test): Add more tests.
7191 * sysdeps/i386/fpu/libm-test-ulps: Update.
7192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7194 2012-03-07 Ulrich Drepper <drepper@gmail.com>
7196 * po/zh_TW.po: Update from translation team.
7198 * login/Makefile (distribute): Remove variable.
7199 * catgets/Makefile: Likewise.
7200 * mach/Makefile: Likewise.
7201 * malloc/Makefile: Likewise.
7202 * misc/Makefile: Likewise.
7203 * iconv/Makefile: Likewise.
7204 * nscd/Makefile: Likewise.
7205 * hurd/Makefile: Likewise.
7206 * manual/Makefile: Likewise.
7207 * locale/Makefile: Likewise.
7208 * intl/Makefile: Likewise.
7209 * conform/Makefile: Likewise.
7210 * nss/Makefile: Likewise.
7211 * time/Makefile: Likewise.
7212 * soft-fp/Makefile: Likewise.
7213 * dirent/Makefile: Likewise.
7214 * gmon/Makefile: Likewise.
7215 * po/Makefile: Likewise.
7216 * rt/Makefile: Likewise.
7217 * socket/Makefile: Likewise.
7218 * math/Makefile: Likewise.
7219 * signal/Makefile: Likewise.
7220 * debug/Makefile: Likewise.
7221 * elf/Makefile: Likewise.
7222 * timezone/Makefile: Likewise.
7223 * stdlib/Makefile: Likewise.
7224 * iconvdata/Makefile: Likewise.
7225 * sunrpc/Makefile: Likewise.
7226 * io/Makefile: Likewise.
7227 * argp/Makefile: Likewise.
7228 * inet/Makefile: Likewise.
7229 * hesiod/Makefile: Likewise.
7230 * grp/Makefile: Likewise.
7231 * csu/Makefile: Likewise.
7232 * wctype/Makefile: Likewise.
7233 * crypt/Makefile: Likewise.
7234 * libio/Makefile: Likewise.
7235 * string/Makefile: Likewise.
7236 * nis/Makefile: Likewise.
7237 * resolv/Makefile: Likewise.
7238 * stdio-common/Makefile: Likewise.
7239 * wcsmbs/Makefile: Likewise.
7240 * dlfcn/Makefile: Likewise.
7241 * posix/Makefile: Likewise.
7244 * timezone/Makefile: Don't install timezone files, just the programs
7247 2012-03-06 Ulrich Drepper <drepper@gmail.com>
7249 * nss/databases.def: Add missing gshadow entry.
7251 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
7253 2012-03-06 Marek Polacek <polacek@redhat.com>
7256 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
7257 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
7258 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
7259 * stdio-common/tst-long-dbl-fphex.c: New file.
7261 2012-03-06 David S. Miller <davem@davemloft.net>
7263 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7264 (set_obp_int): New function.
7265 (get_obp_int): New function.
7266 (__get_clockfreq_via_dev_openprom): Likewise.
7267 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
7268 Avoid unused variable warnings on 'val' and use builtin_expect.
7269 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
7271 (INLINE_CLONE_SYSCALL): Likewise.
7273 2012-03-05 David S. Miller <davem@davemloft.net>
7275 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7277 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
7279 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7281 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
7283 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7285 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
7287 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
7288 Replace gettimeofday with __vdso_gettimeofday.
7290 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7291 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
7292 __vdso_clock_gettime and __vdso_getcpu.
7294 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
7295 time with __vdso_time.
7297 2012-03-05 Joseph Myers <joseph@codesourcery.com>
7299 * manual/lang.texi (size_t): Note types to which size_t may be
7300 equivalent with the GNU C Library, but do not describe when
7301 differences between them are significant.
7303 2012-03-05 Andreas Jaeger <aj@suse.de>
7305 * sysdeps/i386/fpu/libm-test-ulps: Update.
7307 2012-03-05 Joseph Myers <joseph@codesourcery.com>
7310 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
7311 (__ieee754_pow): Save and restore rounding mode and use
7312 round-to-nearest for main computations.
7313 * math/libm-test.inc (pow_test_tonearest): New function.
7314 (pow_test_towardzero): Likewise.
7315 (pow_test_downward): Likewise.
7316 (pow_test_upward): Likewise.
7317 (main): Call the new functions.
7318 * sysdeps/i386/fpu/libm-test-ulps: Update.
7319 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7322 * math/libm-test.inc (cosh_test_tonearest): New function.
7323 (cosh_test_towardzero): Likewise.
7324 (cosh_test_downward): Likewise.
7325 (cosh_test_upward): Likewise.
7326 (sinh_test_tonearest): Likewise.
7327 (sinh_test_towardzero): Likewise.
7328 (sinh_test_downward): Likewise.
7329 (sinh_test_upward): Likewise.
7330 (main): Call the new functions.
7331 * sysdeps/i386/fpu/libm-test-ulps: Update.
7332 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7334 2012-03-05 Tom de Vries <tom@codesourcery.com>
7336 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
7337 default stack guard is set in last bytes.
7338 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
7340 2012-03-05 Kees Cook <keescook@chromium.org>
7342 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
7345 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
7346 possibly allocate from heap instead of stack.
7347 * stdio-common/bug-vfprintf-nargs.c: New file.
7348 * stdio-common/Makefile (tests): Add nargs overflow test.
7350 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
7352 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7354 2012-03-03 Marek Polacek <polacek@redhat.com>
7356 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
7357 * math/math_private.h: Likewise.
7358 * stdlib/tst-strtod.c: Likewise.
7359 * sysdeps/i386/i486/bits/atomic.h: Likewise.
7360 * sysdeps/x86_64/bits/atomic.h: Likewise.
7362 2012-03-02 David S. Miller <davem@davemloft.net>
7364 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
7365 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
7366 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
7367 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
7368 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
7369 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
7370 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
7371 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
7373 2012-03-02 Roland McGrath <roland@hack.frob.com>
7376 * manual/examples/README: New file, says the example source files
7377 can be used under GPL>=2.
7378 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
7379 line containing just "*/".
7380 * manual/examples/add.c: Add copyright header (GPL>=2).
7381 * manual/examples/argp-ex1.c: Likewise.
7382 * manual/examples/argp-ex2.c: Likewise.
7383 * manual/examples/argp-ex3.c: Likewise.
7384 * manual/examples/argp-ex4.c: Likewise.
7385 * manual/examples/atexit.c: Likewise.
7386 * manual/examples/db.c: Likewise.
7387 * manual/examples/dir.c: Likewise.
7388 * manual/examples/dir2.c: Likewise.
7389 * manual/examples/execinfo.c: Likewise.
7390 * manual/examples/filecli.c: Likewise.
7391 * manual/examples/filesrv.c: Likewise.
7392 * manual/examples/fmtmsgexpl.c: Likewise.
7393 * manual/examples/genpass.c: Likewise.
7394 * manual/examples/inetcli.c: Likewise.
7395 * manual/examples/inetsrv.c: Likewise.
7396 * manual/examples/isockad.c: Likewise.
7397 * manual/examples/longopt.c: Likewise.
7398 * manual/examples/memopen.c: Likewise.
7399 * manual/examples/memstrm.c: Likewise.
7400 * manual/examples/mkfsock.c: Likewise.
7401 * manual/examples/mkisock.c: Likewise.
7402 * manual/examples/mygetpass.c: Likewise.
7403 * manual/examples/pipe.c: Likewise.
7404 * manual/examples/popen.c: Likewise.
7405 * manual/examples/rprintf.c: Likewise.
7406 * manual/examples/search.c: Likewise.
7407 * manual/examples/select.c: Likewise.
7408 * manual/examples/setjmp.c: Likewise.
7409 * manual/examples/sigh1.c: Likewise.
7410 * manual/examples/sigusr.c: Likewise.
7411 * manual/examples/stpcpy.c: Likewise.
7412 * manual/examples/strdupa.c: Likewise.
7413 * manual/examples/strftim.c: Likewise.
7414 * manual/examples/strncat.c: Likewise.
7415 * manual/examples/subopt.c: Likewise.
7416 * manual/examples/swapcontext.c: Likewise.
7417 * manual/examples/termios.c: Likewise.
7418 * manual/examples/testopt.c: Likewise.
7419 * manual/examples/testpass.c: Likewise.
7420 * manual/examples/timeval_subtract.c: Likewise.
7423 * manual/time.texi (Elapsed Time): Move timeval_subtract example
7425 * manual/timeval_subtract.c.texi: ... here, new file.
7427 2012-03-02 David S. Miller <davem@davemloft.net>
7429 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
7431 2012-03-02 Joseph Myers <joseph@codesourcery.com>
7434 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
7435 (__sin): Save and restore rounding mode and use round-to-nearest
7436 for all computations.
7437 (__cos): Save and restore rounding mode and use round-to-nearest
7438 for all computations.
7439 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
7441 (tan): Save and restore rounding mode and use round-to-nearest for
7443 * math/libm-test.inc (cos_test_tonearest): New function.
7444 (cos_test_towardzero): Likewise.
7445 (cos_test_downward): Likewise.
7446 (cos_test_upward): Likewise.
7447 (sin_test_tonearest): Likewise.
7448 (sin_test_towardzero): Likewise.
7449 (sin_test_downward): Likewise.
7450 (sin_test_upward): Likewise.
7451 (tan_test_tonearest): Likewise.
7452 (tan_test_towardzero): Likewise.
7453 (tan_test_downward): Likewise.
7454 (tan_test_upward): Likewise.
7455 (main): Call the new functions.
7456 * sysdeps/i386/fpu/libm-test-ulps: Update.
7457 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7460 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
7461 small n, then large n, before computing and testing k+n.
7462 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7463 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
7465 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
7467 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
7468 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
7469 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
7470 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
7471 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
7472 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
7473 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
7474 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
7475 * math/libm-test.inc (scalbn_test): Add more tests.
7476 (scalbln_test): Likewise.
7478 * manual/filesys.texi (mode_t): Describe constraints on size and
7479 signedness, not exact equivalence to a particular type.
7481 (ino64_t): Likewise.
7483 (nlink_t): Likewise.
7484 (blkcnt_t): Likewise.
7485 (blkcnt64_t): Likewise.
7486 * manual/llio.texi (off_t): Likewise.
7489 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
7490 (__ieee754_exp): Save and restore rounding mode and use
7491 round-to-nearest for all computations.
7492 * math/libm-test.inc (exp_test_tonearest): New function.
7493 (exp_test_towardzero): Likewise.
7494 (exp_test_downward): Likewise.
7495 (exp_test_upward): Likewise.
7496 (main): Call the new functions.
7497 * sysdeps/i386/fpu/libm-test-ulps: Update.
7498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7500 2012-03-01 Chris Demetriou <cgd@google.com>
7502 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
7503 have predictable order.
7505 2012-03-01 David S. Miller <davem@davemloft.net>
7507 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
7509 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
7510 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
7511 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
7512 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
7514 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
7515 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
7516 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
7517 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
7518 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
7519 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
7520 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
7521 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
7522 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
7524 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7526 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
7527 * sysdeps/sparc/fpu/libm-test-ulps: to here.
7528 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
7530 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
7531 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7532 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
7533 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
7534 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
7535 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
7536 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
7537 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7538 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
7539 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
7540 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
7541 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7542 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7543 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
7544 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7545 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7546 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
7547 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
7548 * sysdeps/sparc/elf/configure: Regenerated.
7550 2012-03-01 Joseph Myers <joseph@codesourcery.com>
7552 * configure.in (AS, LD): Require binutils 2.20 or later.
7553 * configure: Regenerated.
7554 * manual/install.texi (Tools for Compilation): Give binutils 2.20
7555 as required minimum version.
7556 * INSTALL: Regenerated.
7560 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
7561 before squaring exponent.
7562 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
7563 bottom long double and 27 bits of top long double before squaring
7565 * math/libm-test.inc (erfc_test): Add more tests.
7566 * sysdeps/i386/fpu/libm-test-ulps: Update.
7567 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7570 2012-03-01 Kai Tietz <ktietz@redhat.com>
7572 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
7573 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
7574 containing bit-fields.
7575 * soft-fp/extended.h (_FP_UNION_E): Likewise.
7576 * soft-fp/single.h (_FP_UNION_S): Likewise.
7577 * soft-fp/double.h (_FP_UNION_D): Likewise.
7579 2012-02-29 Joseph Myers <joseph@codesourcery.com>
7582 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
7583 not include ../strcmp.S.
7584 [USE_AS_STRNCASECMP_L]: Likewise.
7585 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
7586 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
7587 * sysdeps/i386/i686/multiarch/strncase_l-c.c
7588 (__strncasecmp_l_ia32): Define as alias to
7589 __strncasecmp_l_nonascii.
7592 * math/libm-test.inc (expm1_test): Add test for bug 5794.
7593 * sysdeps/i386/fpu/libm-test-ulps: Update.
7594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7596 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
7597 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7599 2012-02-29 Jeff Law <law@redhat.com>
7601 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
7604 2012-02-29 Marek Polacek <polacek@redhat.com>
7607 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
7608 * elf/Makefile: Add rules to run tst-unused-dep.out.
7610 2012-02-28 David S. Miller <davem@davemloft.net>
7612 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
7613 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
7614 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
7615 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
7616 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
7617 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
7619 2012-02-29 Joseph Myers <joseph@codesourcery.com>
7621 * math/libm-test.inc (llround_test): Move one test from
7622 lround_test. Use TEST_f_L in moved test.
7623 (lround_test): Move misplaced test to llround_test. Add testcase
7626 2012-02-28 Ulrich Drepper <drepper@gmail.com>
7628 * sysdeps/x86_64/fpu/e_expf.S: New file.
7629 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
7631 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
7634 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
7635 of remain_len that may cause incomplete multi-byte character and
7637 * posix/bug-regex33.c: New file.
7638 * posix/Makefile (tests): Add bug-regex33.
7640 2012-02-28 Joseph Myers <joseph@codesourcery.com>
7642 * manual/macros.texi: New file.
7643 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
7644 * manual/libc.texinfo: Include macros.texi.
7645 * manual/creatute.texi: Likewise.
7646 * manual/install.texi: Likewise.
7647 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
7648 @glibcadj{} in references to the GNU C Library.
7649 * manual/charset.texi: Likewise.
7650 * manual/conf.texi: Likewise.
7651 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
7652 when not using those macros.
7653 * manual/creature.texi: Likewise.
7654 * manual/crypt.texi: Likewise.
7655 * manual/errno.texi: Likewise.
7656 * manual/filesys.texi: Likewise.
7657 * manual/header.texi: Likewise.
7658 * manual/install.texi: Likewise.
7659 * manual/intro.texi: Likewise.
7660 * manual/io.texi: Likewise.
7661 * manual/job.texi: Likewise.
7662 * manual/lang.texi: Likewise.
7663 * manual/libc.texiinfo: Likewise.
7664 * manual/llio.texi: Likewise.
7665 * manual/locale.texi: Likewise.
7666 * manual/maint.texi: Likewise.
7667 * manual/math.texi: Likewise.
7668 * manual/memory.texi: Likewise.
7669 * manual/message.texi: Likewise.
7670 * manual/nss.texi: Likewise.
7671 * manual/pattern.texi: Likewise.
7672 * manual/process.texi: Likewise.
7673 * manual/resource.texi: Likewise.
7674 * manual/search.texi: Likewise.
7675 * manual/setjmp.texi: Likewise.
7676 * manual/signal.texi: Likewise.
7677 * manual/socket.texi: Likewise.
7678 * manual/startup.texi: Likewise.
7679 * manual/stdio.texi: Likewise.
7680 * manual/string.texi: Likewise.
7681 * manual/sysinfo.texi: Likewise.
7682 * manual/syslog.texi: Likewise.
7683 * manual/terminal.texi: Likewise.
7684 * manual/time.texi: Likewise.
7685 * manual/users.texi: Likewise.
7686 * INSTALL: Regenerated.
7687 * NOTES: Regenerated.
7688 * sysdeps/gnu/errlist.c: Regenerated.
7690 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
7692 * include/dirent.h: Include <dirstream.h> before
7695 2012-02-28 David S. Miller <davem@davemloft.net>
7697 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
7698 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
7699 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
7700 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
7702 2012-02-27 David S. Miller <davem@davemloft.net>
7704 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
7705 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
7706 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
7707 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
7709 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
7710 frame pointer instead of stack pointer relative arg slot.
7711 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7712 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7713 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7715 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
7718 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
7720 2012-02-27 David S. Miller <davem@davemloft.net>
7722 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
7723 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7724 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7725 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
7726 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7727 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7728 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
7729 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
7731 2012-02-27 Joseph Myers <joseph@codesourcery.com>
7733 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
7734 later. Allow versions 5-9.
7735 * configure: Regenerated.
7736 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
7737 required minimum version and 4.6 as recommended version. Do not
7738 mention bugs in GCC 2.7 and 2.8.
7739 * INSTALL: Regenerated.
7741 2012-02-27 David S. Miller <davem@davemloft.net>
7743 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
7744 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
7745 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
7746 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
7747 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
7748 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
7749 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
7750 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
7752 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
7753 manipulate bits before adding and subtracting TWO112[sx].
7754 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
7756 2012-02-27 Roland McGrath <roland@hack.frob.com>
7759 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
7760 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
7761 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
7762 being in POSIX, because they are in 1003.1-2008.
7764 * rt/tst-aio.c: Include <fcntl.h>.
7765 * rt/tst-aio7.c: Likewise.
7766 * rt/tst-aio64.c: Likewise.
7768 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
7770 2012-02-27 Joseph Myers <joseph@codesourcery.com>
7772 * manual/install.texi (--with-headers): Describe headers as
7773 interface headers, not private headers.
7774 (Specific advice for GNU/Linux systems): Describe use of headers
7775 from "make headers_install", not private headers from older
7777 * INSTALL: Regenerated.
7778 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
7780 * sysdeps/unix/sysv/linux/configure: Regenerated.
7782 * manual/llio.texi (fclean): Remove documentation.
7784 * manual/Makefile (libc-texi-generated): New variable. Include
7786 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
7787 $(libc-texi-generated), not duplicated list of files.
7788 (version.texi, stamp-version): New rules.
7789 (realclean): Remove $(libc-texi-generated), not individual files
7790 from that list. Do not remove dir-add.texinfo.
7791 * manual/libc.texinfo: Comment out uses of edition numbers and
7792 references to printed manual. Remove last-updated dates.
7793 (EDITION): Comment out.
7795 (VERSION, UPDATED): Remove.
7796 (version.texi): Include.
7798 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
7800 * sysdeps/posix/spawni.c: Include <signal.h>.
7801 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
7802 * sysdeps/pthread/aio_fsync.c: Likewise.
7804 2012-02-26 Ulrich Drepper <drepper@gmail.com>
7806 * conform/Makefile (tests): Run only when not cross-compiling and
7807 when fast-check is not defined.
7809 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
7810 * conform/data/limits.h-data: Fixes for POSIX2008.
7811 * conform/run-conformtest.sh: Run all tests.
7812 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
7814 * include/bits/dlfcn.h: Likewise.
7815 * include/langinfo.h: Likewise.
7816 * include/monetary.h: Likewise.
7817 * include/sys/poll.h: Likewise.
7819 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
7821 * posix/spawn.h: Define __need_sigset_t.
7822 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
7823 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
7824 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
7825 to get sigevent_t only.
7826 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
7828 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7829 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7830 process_vm_writev only for __USE_GNU.
7831 * termios/termios.h: Declare tcgetsid also for POSIX2008.
7833 * conform/Makefile: For now ignore errors from run-conformtest.
7834 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
7835 POSIX to avoid namespace pollution. Don't prepend headers.
7836 * conform/data/aio.h-data: Fixes for POSIX testing.
7837 * conform/data/fcntl.h-data: Likewise.
7838 * conform/data/glob.h-data: Likewise.
7839 * conform/data/grp.h-data: Likewise.
7840 * conform/data/pthread.h-data: Likewise.
7841 * conform/data/pwd.h-data: Likewise.
7842 * conform/data/signal.h-data: Likewise.
7843 * conform/data/spawn.h-data: Likewise.
7844 * conform/data/stdio.h-data: Likewise.
7845 * conform/data/stdlib.h-data: Likewise.
7846 * conform/data/stropts.h-data: Likewise.
7847 * conform/data/sys/mman.h-data: Likewise.
7848 * conform/data/sys/stat.h-data: Likewise.
7849 * conform/data/sys/types.h-data: Likewise.
7850 * conform/data/sys/wait.h-data: Likewise.
7851 * conform/data/time.h-data: Likewise.
7852 * conform/data/unistd.h-data: Likewise.
7853 * conform/data/utime.h-data: Likewise.
7855 * io/sys/stat.h: fchmod was always in POSIX.
7856 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
7857 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
7858 * rt/aio.h: Define __need_timespec before including <time.h>.
7859 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
7860 struct. Add forward declaration of pthread_attr_t and use it in
7862 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
7863 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7864 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
7865 always remove CLK_TCK definition.
7867 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
7869 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
7871 2012-02-25 Ulrich Drepper <drepper@gmail.com>
7873 * conform/run-conformtest.sh: New file.
7874 * conform/Makefile: Run run-conformtest for tests.
7875 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
7878 * conform/data/uchar.h-data: New file.
7879 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
7880 * conform/data/arpa/inet.h-data: Likewise.
7881 * conform/data/assert.h-data: Likewise.
7882 * conform/data/complex.h-data: Likewise.
7883 * conform/data/cpio.h-data: Likewise.
7884 * conform/data/ctype.h-data: Likewise.
7885 * conform/data/dirent.h-data: Likewise.
7886 * conform/data/dlfcn.h-data: Likewise.
7887 * conform/data/errno.h-data: Likewise.
7888 * conform/data/fcntl.h-data: Likewise.
7889 * conform/data/float.h-data: Likewise.
7890 * conform/data/fmtmsg.h-data: Likewise.
7891 * conform/data/fnmatch.h-data: Likewise.
7892 * conform/data/ftw.h-data: Likewise.
7893 * conform/data/glob.h-data: Likewise.
7894 * conform/data/grp.h-data: Likewise.
7895 * conform/data/iconv.h-data: Likewise.
7896 * conform/data/inttypes.h-data: Likewise.
7897 * conform/data/langinfo.h-data: Likewise.
7898 * conform/data/libgen.h-data: Likewise.
7899 * conform/data/limits.h-data: Likewise.
7900 * conform/data/locale.h-data: Likewise.
7901 * conform/data/math.h-data: Likewise.
7902 * conform/data/monetary.h-data: Likewise.
7903 * conform/data/mqueue.h-data: Likewise.
7904 * conform/data/ndbm.h-data: Likewise.
7905 * conform/data/net/if.h-data: Likewise.
7906 * conform/data/netdb.h-data: Likewise.
7907 * conform/data/netinet/in.h-data: Likewise.
7908 * conform/data/nl_types.h-data: Likewise.
7909 * conform/data/poll.h-data: Likewise.
7910 * conform/data/pthread.h-data: Likewise.
7911 * conform/data/pwd.h-data: Likewise.
7912 * conform/data/regex.h-data: Likewise.
7913 * conform/data/sched.h-data: Likewise.
7914 * conform/data/search.h-data: Likewise.
7915 * conform/data/semaphore.h-data: Likewise.
7916 * conform/data/setjmp.h-data: Likewise.
7917 * conform/data/signal.h-data: Likewise.
7918 * conform/data/spawn.h-data: Likewise.
7919 * conform/data/stdarg.h-data: Likewise.
7920 * conform/data/stdio.h-data: Likewise.
7921 * conform/data/stdlib.h-data: Likewise.
7922 * conform/data/string.h-data: Likewise.
7923 * conform/data/strings.h-data: Likewise.
7924 * conform/data/stropts.h-data: Likewise.
7925 * conform/data/sys/ipc.h-data: Likewise.
7926 * conform/data/sys/mman.h-data: Likewise.
7927 * conform/data/sys/msg.h-data: Likewise.
7928 * conform/data/sys/resource.h-data: Likewise.
7929 * conform/data/sys/select.h-data: Likewise.
7930 * conform/data/sys/sem.h-data: Likewise.
7931 * conform/data/sys/shm.h-data: Likewise.
7932 * conform/data/sys/socket.h-data: Likewise.
7933 * conform/data/sys/stat.h-data: Likewise.
7934 * conform/data/sys/statvfs.h-data: Likewise.
7935 * conform/data/sys/time.h-data: Likewise.
7936 * conform/data/sys/timeb.h-data: Likewise.
7937 * conform/data/sys/times.h-data: Likewise.
7938 * conform/data/sys/types.h-data: Likewise.
7939 * conform/data/sys/uio.h-data: Likewise.
7940 * conform/data/sys/un.h-data: Likewise.
7941 * conform/data/sys/utsname.h-data: Likewise.
7942 * conform/data/sys/wait.h-data: Likewise.
7943 * conform/data/syslog.h-data: Likewise.
7944 * conform/data/tar.h-data: Likewise.
7945 * conform/data/termios.h-data: Likewise.
7946 * conform/data/utime.h-data: Likewise.
7947 * conform/data/utmpx.h-data: Likewise.
7948 * conform/data/varargs.h-data: Likewise.
7949 * conform/data/wchar.h-data: Likewise.
7950 * conform/data/wctype.h-data: Likewise.
7951 * conform/data/wordexp.h-data: Likewise.
7953 * include/stropts.h: New file.
7954 * include/uchar.h: New file.
7955 * include/aio.h: Changes to allow conformtest.pl to use the headers.
7956 * include/assert.h: Likewise.
7957 * include/ctype.h: Likewise.
7958 * include/dirent.h: Likewise.
7959 * include/dlfcn.h: Likewise.
7960 * include/fcntl.h: Likewise.
7961 * include/fnmatch.h: Likewise.
7962 * include/glob.h: Likewise.
7963 * include/grp.h: Likewise.
7964 * include/libio.h: Likewise.
7965 * include/locale.h: Likewise.
7966 * include/math.h: Likewise.
7967 * include/net/if.h: Likewise.
7968 * include/netdb.h: Likewise.
7969 * include/netinet/in.h: Likewise.
7970 * include/pthread.h: Likewise.
7971 * include/pwd.h: Likewise.
7972 * include/regex.h: Likewise.
7973 * include/sched.h: Likewise.
7974 * include/search.h: Likewise.
7975 * include/setjmp.h: Likewise.
7976 * include/signal.h: Likewise.
7977 * include/stdio.h: Likewise.
7978 * include/stdlib.h: Likewise.
7979 * include/string.h: Likewise.
7980 * include/sys/cdefs.h: Likewise.
7981 * include/sys/mman.h: Likewise.
7982 * include/sys/msg.h: Likewise.
7983 * include/sys/resource.h: Likewise.
7984 * include/sys/select.h: Likewise.
7985 * include/sys/socket.h: Likewise.
7986 * include/sys/stat.h: Likewise.
7987 * include/sys/statvfs.h: Likewise.
7988 * include/sys/time.h: Likewise.
7989 * include/sys/times.h: Likewise.
7990 * include/sys/uio.h: Likewise.
7991 * include/sys/utsname.h: Likewise.
7992 * include/sys/wait.h: Likewise.
7993 * include/termios.h: Likewise.
7994 * include/time.h: Likewise.
7995 * include/ulimit.h: Likewise.
7996 * include/unistd.h: Likewise.
7997 * include/utime.h: Likewise.
7998 * include/wchar.h: Likewise.
7999 * include/wctype.h: Likewise.
8000 * include/wordexp.h: Likewise.
8002 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
8004 * time/time.h: TIME_UTC must be a macro.
8005 Make timespec_get available for ISO C11 only as well.
8007 2012-02-24 Ulrich Drepper <drepper@gmail.com>
8009 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
8010 Reported by Peng Haitao <penght@cn.fujitsu.com>.
8012 2012-02-24 Joseph Myers <joseph@codesourcery.com>
8014 * configure.in: Use -o not -a in test for unsupported multi-arch.
8016 2012-02-24 Joseph Myers <joseph@codesourcery.com>
8018 * manual/texinfo.tex: Update to version 2012-01-19.16.
8020 2012-02-24 Joseph Myers <joseph@codesourcery.com>
8022 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
8024 2012-02-24 Roland McGrath <roland@hack.frob.com>
8027 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
8028 * manual/fdl-1.3.texi: New file.
8029 * manual/fdl-1.1.texi: File removed.
8032 * manual/libc.texinfo (FDL_VERSION): New @set.
8033 Use it for mention of FDL in cover text.
8034 (Documentation License): Use it in @include file name.
8036 2012-02-22 Joseph Myers <joseph@codesourcery.com>
8037 Roland McGrath <roland@hack.frob.com>
8040 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
8041 not LONG_LONG_MAX and LONG_LONG_MIN.
8042 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
8043 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
8045 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
8047 2012-02-22 Joseph Myers <joseph@codesourcery.com>
8051 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
8052 manipulate bits before adding and subtracting TWO23[sx].
8053 * math/libm-test.inc (nearbyint_test): Add more tests.
8055 2012-02-22 Joseph Myers <joseph@codesourcery.com>
8058 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
8059 bits before adding and subtracting TWO23[sx].
8060 * math/libm-test.inc (rint_test): Add more tests.
8061 (rint_test_tonearest): Likewise.
8062 (rint_test_towardzero): Likewise.
8063 (rint_test_downward): Likewise.
8064 (rint_test_upward: Likewise.
8066 2012-02-22 Joseph Myers <joseph@codesourcery.com>
8069 * include/stdc-predef.h: New file. Extracted from features.h.
8070 * include/features.h: Include stdc-predef.h.
8071 * Makefile (headers): Add stdc-predef.h.
8072 * CONFORMANCE (Compiler limitations): Update.
8074 2012-02-22 Joseph Myers <joseph@codesourcery.com>
8076 * manual/libc.texinfo (VERSION, UPDATED): Revert.
8078 2012-02-21 David S. Miller <davem@davemloft.net>
8080 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
8081 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8083 2012-02-20 David S. Miller <davem@davemloft.net>
8085 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
8086 using a normal save/restore sequence, rather than allocating a
8087 dummy stack frame just to store a frame pointer and restore.
8088 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8090 2012-02-21 Joseph Myers <joseph@codesourcery.com>
8092 * manual/install.texi: Fix stray word in line-wrapped comment.
8094 2012-02-20 David S. Miller <davem@davemloft.net>
8096 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
8097 both binutils and gcc support GOTDATA.
8099 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
8100 "rd %pc" in the PIC register setup sequences.
8102 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
8103 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
8104 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
8105 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
8106 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
8107 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8108 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8109 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8110 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
8111 (SYSCALL_ERROR_HANDLER): Likewise.
8112 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
8113 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8114 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
8115 (SYSCALL_ERROR_HANDLER): Likewise.
8117 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
8118 (HAVE_GCC_GOTDATA): New.
8119 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
8120 relocation support in both binutils and gcc.
8121 * sysdeps/sparc/elf/configure: Regenerate.
8123 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
8124 * sysdeps/sparc/sparc32/elf/configure: Delete.
8125 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
8126 * sysdeps/sparc/sparc64/elf/configure: Delete.
8127 * sysdeps/sparc/elf/configure.in: New file.
8128 * sysdeps/sparc/elf/configure: Generate.
8130 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
8131 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
8132 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
8133 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
8134 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
8136 2012-02-21 Joseph Myers <joseph@codesourcery.com>
8138 * manual/install.texi: Do not mention specific glibc version
8140 * manual/libc.texinfo (VERSION, UPDATED): Update.
8141 (@copying): Use @copyright{} and range of years.
8143 2012-02-21 Joseph Myers <joseph@codesourcery.com>
8146 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
8147 [crti.S not in sysdirs] (generated): Do not append.
8148 [crti.S not in sysdirs] (omit-deps): Likewise.
8149 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
8150 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
8151 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
8152 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
8153 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
8155 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
8156 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
8157 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
8158 * csu/defs.awk: Remove file.
8159 * sysdeps/generic/initfini.c: Likewise.
8160 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
8162 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
8165 2012-02-20 Joseph Myers <joseph@codesourcery.com>
8167 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
8168 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
8169 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
8170 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
8171 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8172 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
8174 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
8175 (__EPOLL_PACKED): Define to empty if not defined by
8177 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
8178 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8181 2012-02-20 Joseph Myers <joseph@codesourcery.com>
8183 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
8184 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
8185 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
8186 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
8188 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
8189 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8192 2012-02-20 Joseph Myers <joseph@codesourcery.com>
8194 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
8196 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8197 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8198 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
8199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8201 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
8203 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8204 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8206 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
8208 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
8209 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
8211 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
8213 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
8216 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
8218 * math/w_acos.c: Use non-signaling floating-point comparisons.
8219 * math/w_acosf.c: Likewise.
8220 * math/w_acosh.c: Likewise.
8221 * math/w_acoshf.c: Likewise.
8222 * math/w_acoshl.c: Likewise.
8223 * math/w_acosl.c: Likewise.
8224 * math/w_asin.c: Likewise.
8225 * math/w_asinf.c: Likewise.
8226 * math/w_asinl.c: Likewise.
8227 * math/w_atanh.c: Likewise.
8228 * math/w_atanhf.c: Likewise.
8229 * math/w_atanhl.c: Likewise.
8230 * math/w_exp2.c: Likewise.
8231 * math/w_exp2f.c: Likewise.
8232 * math/w_exp2l.c: Likewise.
8233 * math/w_j0.c: Likewise.
8234 * math/w_j0f.c: Likewise.
8235 * math/w_j0l.c: Likewise.
8236 * math/w_j1.c: Likewise.
8237 * math/w_j1f.c: Likewise.
8238 * math/w_j1l.c: Likewise.
8239 * math/w_jn.c: Likewise.
8240 * math/w_jnf.c: Likewise.
8241 * math/w_log.c: Likewise.
8242 * math/w_log10.c: Likewise.
8243 * math/w_log10f.c: Likewise.
8244 * math/w_log10l.c: Likewise.
8245 * math/w_log2.c: Likewise.
8246 * math/w_log2f.c: Likewise.
8247 * math/w_log2l.c: Likewise.
8248 * math/w_logf.c: Likewise.
8249 * math/w_logl.c: Likewise.
8250 * math/w_sqrt.c: Likewise.
8251 * math/w_sqrtf.c: Likewise.
8252 * math/w_sqrtl.c: Likewise.
8253 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8254 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
8255 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8256 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8257 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8259 2012-02-19 Joseph Myers <joseph@codesourcery.com>
8262 * manual/string.texi (strnlen): Use correct parameter name in
8263 equivalent expression.
8265 2012-02-19 Joseph Myers <joseph@codesourcery.com>
8268 * manual/users.texi (seteuid): Consistently use neweuid for
8271 2012-02-19 Joseph Myers <joseph@codesourcery.com>
8274 * manual/nss.texi (Services in the NSS configuration): Correct
8275 list of services in example configuration file.
8277 2012-02-19 Nick Bowler <nbowler@draconx.ca>
8280 * manual/arith.texi: Remove statements about negative zero
8281 behaving identically to zero.
8283 2012-02-18 Joseph Myers <joseph@codesourcery.com>
8286 * manual/install.texi: Do not document upgrading from libc5.
8288 2012-02-18 Joseph Myers <joseph@codesourcery.com>
8291 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
8293 2012-02-18 David S. Miller <davem@davemloft.net>
8295 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
8296 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
8297 %o7 across the call.
8298 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
8300 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
8302 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8303 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
8304 * sysdeps/sparc/crtn.S: Likewise.
8306 2012-02-17 Ulrich Drepper <drepper@gmail.com>
8308 * aout/Makefile: Remove.
8310 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
8313 * manual/examples/argp-ex1.c (main): Format definition in GNU
8315 * manual/examples/argp-ex2.c (main): Likewise.
8316 * manual/examples/argp-ex3.c (main): Likewise.
8317 * manual/examples/argp-ex4.c (main): Likewise.
8318 * manual/examples/longopt.c (main): Use new-style prototype
8320 * manual/examples/strncat.c (main): Specify return type and use
8321 (void) for arguments.
8322 * manual/examples/subopt.c (main): Use char **argv argument.
8324 2012-02-17 Joseph Myers <joseph@codesourcery.com>
8327 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
8330 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
8333 * manual/string.texi (strchr): Change when strchrnul is
8336 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
8339 * manual/locale.texi (setlocale): Document LOCPATH.
8341 2012-02-17 Joseph Myers <joseph@codesourcery.com>
8344 * manual/process.texi (execle): Move @dots{} before last argument.
8346 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
8349 * manual/charset.texi (Generic Charset Conversion): Fix typo
8350 (LC_TYPE -> LC_CTYPE).
8352 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
8355 * manual/arith.texi (scalbn): Use @var{} on parameter names.
8356 (scalbnf): Likewise.
8357 (scalbnl): Likewise.
8358 (scalbln): Likewise.
8359 (scalblnf): Likewise.
8360 (scalblnl): Likewise.
8361 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
8365 * manual/filesys.texi (telldir): Use braces around return type.
8366 * manual/llio.texi (mmap): Add space after comma.
8368 * manual/math.texi (jn): Use @var{} on parameter names.
8374 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
8376 * manual/resource.texi (ulimit): Use @dots{} instead of literal
8378 (sched_get_priority_min): Remove semicolon on @deftypefun line.
8379 (sched_get_priority_max): Likewise.
8380 * manual/signal.texi (sigvec): Add space after comma.
8381 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
8383 (if_indextoname): Likewise.
8384 (if_freenameindex): Likewise.
8385 (sendto): Use ',' instead of '.' in prototype.
8386 * manual/startup.texi (syscall): Use @dots{} instead of literal
8388 * manual/stdio.texi (__fpending): Separate initial words of
8389 paragraph from @deftypefun line.
8390 * manual/syslog.texi (syslog): Use @dots{} instead of literal
8392 (vsyslog): Use @var{} on parameter names.
8393 * manual/terminal.texi (stty): Use @var{} on parameter names.
8394 * manual/users.texi (getutmp): Use @var{} on parameter names.
8395 (getutmpx): Likewise.
8397 2012-02-17 Joseph Myers <joseph@codesourcery.com>
8400 * manual/stdio.texi (fopen): Fix typos in description of
8403 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
8406 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
8407 get clock_id definition.
8409 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
8412 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
8413 (madvise): Cast every argument to void on its own.
8415 2012-02-17 Joseph Myers <joseph@codesourcery.com>
8418 * manual/startup.texi (Exit Status): Fix typo.
8420 2012-02-17 Joseph Myers <joseph@codesourcery.com>
8423 * manual/examples/argp-ex1.c: Include <stdlib.h>.
8424 * manual/examples/argp-ex2.c: Likewise.
8425 * manual/examples/argp-ex3.c: Likewise.
8427 2012-02-16 Richard Henderson <rth@redhat.com>
8429 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
8430 * sysdeps/s390/s390-32/initfini.c: Remove.
8431 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
8432 * sysdeps/s390/s390-64/initfini.c: Remove.
8434 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8436 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
8437 compiler output for sysdeps/generic/initfini.c.
8438 * sysdeps/sh/elf/initfini.c: Remove file.
8440 2012-02-16 David S. Miller <davem@davemloft.net>
8443 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
8445 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
8446 * sysdeps/sparc/crti.S: New file.
8447 * sysdeps/sparc/crtn.S: New file.
8448 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
8449 * sysdeps/sparc/sparc64/Makefile: Likewise.
8451 2012-02-15 Mike Frysinger <vapier@gentoo.org>
8454 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
8456 2012-02-15 Roland McGrath <roland@hack.frob.com>
8459 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
8461 * mach/devstream.c (cookie_io_functions_t): Macro removed.
8462 (write, read, close): Likewise.
8463 Patch by Aurelien Jarno <aurelien@aurel32.net>.
8465 2012-02-15 Joseph Myers <joseph@codesourcery.com>
8467 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
8468 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
8469 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
8470 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
8472 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
8473 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8476 2012-02-14 Marek Polacek <polacek@redhat.com>
8478 * sysdeps/x86_64/crti.S: New file.
8479 * sysdeps/x86_64/crtn.S: New file.
8480 * sysdeps/x86_64/elf/initfini.c: Remove file.
8482 2012-02-13 Joseph Myers <joseph@codesourcery.com>
8484 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
8485 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
8486 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
8487 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
8489 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
8490 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8493 2012-02-13 Joseph Myers <joseph@codesourcery.com>
8495 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
8496 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
8497 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
8498 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
8500 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
8501 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8504 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
8506 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
8507 __feraiseexcept instead of feraiseexcept.
8509 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
8510 nanosleep invocations.
8511 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
8512 strings, and add error checking for a nanosleep invocations.
8514 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
8516 Replace FSF snail mail address with URLs, as per GNU coding standards.
8517 Most of the snail mail addresses were wrong anyway, and omitting
8518 them makes the source code easier to maintain. Almost all of the
8519 changes are to license notices and to locale LC_IDENTIFICATION
8520 addresses, except for this one:
8521 * manual/libc.texinfo: In "Published by", give the FSF's URL,
8522 not its snail mail address.
8524 2012-02-09 Richard Henderson <rth@twiddle.net>
8526 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
8527 of kernel-features.h.
8529 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
8531 2012-02-08 Marek Polacek <polacek@redhat.com>
8533 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
8534 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
8535 * sysdeps/gnu/_G_config.h: Likewise.
8536 * sysdeps/generic/_G_config.h: Likewise.
8538 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
8540 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
8542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8544 * sysdeps/powerpc/powerpc32/crti.S: New file.
8545 * sysdeps/powerpc/powerpc32/crtn.S: New file.
8546 * sysdeps/powerpc/powerpc64/crti.S: New file.
8547 * sysdeps/powerpc/powerpc64/crtn.S: New file.
8549 * Makeconfig (have-initfini): Don't set.
8550 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
8551 * configure.in (nopic_initfini): Don't substitute.
8552 * config.h.in (HAVE_INITFINI): Don't #undef.
8553 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
8554 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
8556 2012-02-08 Joseph Myers <joseph@codesourcery.com>
8558 Support crti.S and crtn.S provided directly by architectures.
8559 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
8560 [crti.S in sysdirs] (omit-deps): Likewise.
8561 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
8562 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
8563 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
8564 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
8565 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
8566 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
8567 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
8568 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
8569 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
8570 compiler output for sysdeps/generic/initfini.c.
8571 * sysdeps/i386/elf/Makefile: Remove file.
8572 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
8574 2012-02-07 Marek Polacek <polacek@redhat.com>
8576 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
8577 * sysdeps/gnu/_G_config.h: Likewise.
8578 * sysdeps/mach/hurd/_G_config.h: Likewise.
8580 2012-02-07 Marek Polacek <polacek@redhat.com>
8582 * math/Makefile (tests): Add tst-CMPLX2.
8583 * math/tst-CMPLX2.c: New file.
8585 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
8587 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8589 * math/libm-test.inc (jn_test): Add missing L suffix.
8591 2012-02-06 Marek Polacek <polacek@redhat.com>
8593 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
8594 * sysdeps/i386/fpu/e_powf.S: Likewise.
8595 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8596 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8597 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8598 * sysdeps/i386/fpu/e_pow.S: Likewise.
8599 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
8600 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8601 * sysdeps/i386/fpu/s_expm1.S: Likewise.
8602 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8603 * sysdeps/i386/fpu/e_log2.S: Likewise.
8604 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8605 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8606 * sysdeps/i386/fpu/e_powl.S: Likewise.
8607 * sysdeps/i386/fpu/s_log1p.S: Likewise.
8608 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8609 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
8610 * sysdeps/i386/fpu/e_logl.S: Likewise.
8611 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
8612 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
8613 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8614 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
8615 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8616 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8617 * sysdeps/i386/fpu/e_log.S: Likewise.
8618 * sysdeps/i386/fpu/s_cexp.S: Likewise.
8619 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8620 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
8621 * sysdeps/i386/fpu/e_logf.S: Likewise.
8622 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8623 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8624 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
8625 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
8626 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8627 * sysdeps/i386/fpu/e_log10.S: Likewise.
8628 * sysdeps/i386/fpu/s_frexp.S: Likewise.
8629 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8630 * sysdeps/i386/fpu/s_asinh.S: Likewise.
8631 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
8632 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8633 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
8634 * sysdeps/i386/asm-syntax.h: Likewise.
8635 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8636 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8637 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8638 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
8639 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
8640 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8641 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
8642 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
8643 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8644 * sysdeps/powerpc/sysdep.h: Likewise.
8645 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
8646 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8648 2012-02-06 Joseph Myers <joseph@codesourcery.com>
8651 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
8653 2012-02-06 Joseph Myers <joseph@codesourcery.com>
8655 * sysdeps/i386/sysdep.h: Include <features.h>.
8656 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
8659 2012-02-05 Joseph Myers <joseph@codesourcery.com>
8661 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
8663 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
8666 2012-02-03 Joseph Myers <joseph@codesourcery.com>
8668 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
8669 (SETUP_PIC_REG): Use GET_PC_THUNK.
8670 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
8673 2012-02-03 Joseph Myers <joseph@codesourcery.com>
8675 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
8676 for non-PIC compilation.
8677 (SETUP_PIC_REG): Add .p2align directive.
8678 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
8679 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
8680 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8681 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8682 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8683 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8684 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
8685 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8686 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8687 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8688 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8689 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8690 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8691 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8692 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8693 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8694 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8695 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8696 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8697 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8698 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8699 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8700 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8701 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8702 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8703 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8704 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8705 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8706 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8707 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8708 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8709 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8710 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8711 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8712 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8713 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8714 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8715 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8716 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8717 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8718 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8720 2012-02-03 Joseph Myers <joseph@codesourcery.com>
8722 * math/tst-CMPLX.c: Include <stdio.h>.
8724 2012-01-31 Joseph Myers <joseph@codesourcery.com>
8726 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
8728 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8729 * sysdeps/sparc/bits/mathdef.h: Likewise.
8731 2012-01-31 Marek Polacek <polacek@redhat.com>
8733 * libio/libio.h: Don't define _PARAMS.
8734 * locale/programs/config.h: Don't define PARAMS.
8735 * stdlib/strtol_l.c: Likewise.
8736 (__strtol_l): Remove PARAMS from the prototype.
8738 2012-01-31 Ulrich Drepper <drepper@gmail.com>
8740 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
8741 names. Just use the correct names. Remove unnecessary wrapper
8743 * malloc/arena.c: Likewise.
8744 * malloc/hooks.c: Likewise.
8746 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
8747 ARENA_TEST says not to. Simplify test for creation of a new arena.
8748 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
8750 2012-01-30 Ulrich Drepper <drepper@gmail.com>
8752 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
8754 (update_get_addr): New function.
8755 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
8756 GET_ADDR_MODULE parameter.
8758 2012-01-30 Joseph Myers <joseph@codesourcery.com>
8760 * crypt/cert.c: Remove __STDC__ conditionals.
8761 * crypt/crypt-entry.c: Likewise.
8762 * crypt/crypt_util.c: Likewise.
8763 * libio/filedoalloc.c: Likewise.
8764 * libio/fileops.c: Likewise.
8765 * libio/genops.c: Likewise.
8766 * libio/iofclose.c: Likewise.
8767 * libio/iofdopen.c: Likewise.
8768 * libio/iofopen.c: Likewise.
8769 * libio/iofopen64.c: Likewise.
8770 * libio/iogetdelim.c: Likewise.
8771 * libio/iopopen.c: Likewise.
8772 * libio/obprintf.c: Likewise.
8773 * libio/oldfileops.c: Likewise.
8774 * libio/oldiofclose.c: Likewise.
8775 * libio/oldiofdopen.c: Likewise.
8776 * libio/oldiofopen.c: Likewise.
8777 * libio/oldiopopen.c: Likewise.
8778 * libio/wfiledoalloc.c: Likewise.
8779 * libio/wgenops.c: Likewise.
8780 * locale/programs/xmalloc.c: Likewise.
8781 * misc/syslog.c: Likewise.
8782 * stdio-common/xbug.c: Likewise.
8783 * string/memchr.c: Likewise.
8784 * string/memcmp.c: Likewise.
8785 * string/memrchr.c: Likewise.
8786 * string/rawmemchr.c: Likewise.
8787 * sysdeps/posix/getcwd.c: Likewise.
8788 * time/strftime_l.c: Likewise.
8790 2012-01-30 Joseph Myers <joseph@codesourcery.com>
8792 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
8793 * config.make.in (config-cflags-sse2avx): Define.
8794 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
8797 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
8799 * scripts/config.guess: Update from upstream config git repository.
8800 * scripts/config.sub: Likewise.
8802 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
8804 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
8806 (R_TILEPRO_*, R_TILEGX_*): New macros.
8808 * scripts/firstversions.awk: Fix bug in version range handling.
8810 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
8812 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
8814 * include/sys/epoll.h: New file.
8815 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
8818 2012-01-28 Ulrich Drepper <drepper@gmail.com>
8820 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
8821 Avoid unnecessary __WORDSIZE == 64 test.
8822 (fmaxf): Use VEX format if possible.
8827 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
8828 * math/math_private.h: Remove libc_fegetround* and
8830 * sysdeps/i386/configure.in: Check for -msse2avx.
8831 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
8832 also if SSE2AVX is defined.
8833 Remove libc_fegetround* and libc_fesetround*.
8834 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
8835 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
8836 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
8838 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8839 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8840 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8841 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8842 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8844 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
8846 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8848 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
8850 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
8852 2012-01-27 Ulrich Drepper <drepper@gmail.com>
8855 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
8857 * Makeconfig (libm): Define.
8858 * elf/Makefile: Add rules to build and run tst-relsort1.
8859 * elf/tst-relsort1.c: New file.
8860 * elf/tst-relsort1mod1.c: New file.
8861 * elf/tst-relsort1mod2.c: New file.
8863 2012-01-27 Joseph Myers <joseph@codesourcery.com>
8865 * math/s_ldexp.c: Remove __STDC__ conditionals.
8866 * math/s_ldexpf.c: Likewise.
8867 * math/s_ldexpl.c: Likewise.
8868 * math/s_nextafter.c: Likewise.
8869 * math/s_nexttowardf.c: Likewise.
8870 * math/s_significand.c: Likewise.
8871 * math/s_significandf.c: Likewise.
8872 * math/s_significandl.c: Likewise.
8873 * math/w_jnl.c: Likewise.
8874 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8875 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8876 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8877 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8878 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8879 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8880 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
8881 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8882 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8883 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8884 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8885 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8886 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8887 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8888 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8889 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8890 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8891 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8892 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8893 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8894 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8895 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8896 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8897 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8898 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8899 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8900 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8901 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8902 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
8903 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8904 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8905 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
8906 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8907 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
8908 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
8909 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8910 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8911 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
8912 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
8913 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8914 * sysdeps/ieee754/k_standard.c: Likewise.
8915 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8916 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8917 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8918 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8919 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8920 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8921 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8922 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8923 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8924 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8925 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8926 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
8927 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8928 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8929 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8930 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8931 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8932 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8933 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8934 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8935 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8936 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8937 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8938 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8939 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8940 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8941 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8942 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8943 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8944 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
8945 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
8946 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
8947 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8948 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
8949 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
8950 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
8951 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
8952 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8953 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
8954 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
8955 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
8956 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
8957 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8958 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
8959 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8960 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
8961 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
8962 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8963 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
8964 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8965 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
8966 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8967 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8968 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
8969 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
8970 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
8971 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
8972 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8973 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8974 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8975 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8976 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8977 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
8978 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8979 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8980 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8981 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8982 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
8983 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
8984 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8985 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8986 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8987 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8988 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
8989 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
8990 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8991 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
8992 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
8993 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
8994 * sysdeps/ieee754/s_matherr.c: Likewise.
8995 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
8996 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8997 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8998 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9000 2012-01-26 Joseph Myers <joseph@codesourcery.com>
9002 * crypt/md5.h: Remove __STDC__ conditionals.
9003 * libio/libioP.h: Likewise.
9004 * locale/programs/config.h: Likewise.
9005 * sysdeps/generic/sysdep.h: Likewise.
9006 * sysdeps/i386/asm-syntax.h: Likewise.
9007 * sysdeps/s390/asm-syntax.h: Likewise.
9008 * sysdeps/unix/sysdep.h: Likewise.
9009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9012 2012-01-26 Joseph Myers <joseph@codesourcery.com>
9014 * libio/libio.h: Remove __STDC__ conditionals.
9015 * malloc/obstack.h: Likewise.
9016 * math/complex.h: Likewise.
9017 * math/math.h: Likewise.
9018 * sysdeps/generic/_G_config.h: Likewise.
9019 * sysdeps/gnu/_G_config.h: Likewise.
9020 * sysdeps/mach/hurd/_G_config.h: Likewise.
9021 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9022 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
9023 * sysdeps/sparc/bits/mathdef.h: Likewise.
9025 2012-01-26 Ulrich Drepper <drepper@gmail.com>
9028 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
9029 Clean up HAS_* macros.
9030 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
9031 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
9033 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
9035 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9036 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9037 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9038 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9039 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9041 2012-01-25 Joseph Myers <joseph@codesourcery.com>
9043 * elf/tst-unique3.cc (gets): Remove declaration.
9044 * elf/tst-unique3lib.cc (gets): Likewise.
9045 * elf/tst-unique3lib2.cc (gets): Likewise.
9046 * elf/tst-unique4.cc (gets): Likewise.
9048 2012-01-24 Ulrich Drepper <drepper@gmail.com>
9050 * include/stdio.h: Add C++ protection. Add gets declarations and
9052 * debug/tst-chk1.c: Don't declare gets here.
9053 * stdio-common/tst-gets.c: Likewise.
9055 2012-01-24 Joseph Myers <joseph@codesourcery.com>
9057 * posix/glob: Remove directory.
9059 2012-01-24 Joseph Myers <joseph@codesourcery.com>
9061 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
9063 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
9065 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
9066 of the non-standard EPFNOSUPPORT.
9068 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
9070 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
9071 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
9072 ANYWHERE set to 1 only on KERN_NO_SPACE error.
9074 2012-01-21 Ulrich Drepper <drepper@gmail.com>
9076 * wcsmbs/uchar.h: Test __STDC_VERSION__.
9078 2012-01-20 Ulrich Drepper <drepper@gmail.com>
9080 * nscd/aicache.c (addhstaiX): Do not cache negative results of
9082 * nscd/grpcache.c (cache_addgr): Likewise.
9083 * nscd/hstcache.c (cache_addhst): Likewise.
9084 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9085 * nscd/pwdcache.c (cache_addpw): Likewise.
9086 * nscd/servicescache.c (cache_addserv): Likewise.
9088 2012-01-16 Ulrich Drepper <drepper@gmail.com>
9090 * malloc/malloc.c: Various cleanups.
9091 * malloc/hooks.c: Likewise.
9093 * stdlib/Makefile (tests): Add bug-fmtmsg1.
9094 * stdlib/bug-fmtmsg1.c: New file.
9096 * stdlib/fmtmsg.c (init): Add missing unlock.
9097 Patch by Peng Haitao <penght@cn.fujitsu.com>.
9099 2012-01-12 Marek Polacek <polacek@redhat.com>
9101 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
9104 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
9106 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
9107 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
9108 macro to ensure uniqueness of label name.
9109 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9110 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9112 2012-01-11 Ulrich Drepper <drepper@gmail.com>
9114 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
9116 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
9117 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9118 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9119 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
9121 2012-01-10 Ulrich Drepper <drepper@gmail.com>
9123 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
9125 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
9126 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9127 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9129 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
9131 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
9132 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9133 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9134 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
9136 * math/bits/math-finite.h: Add ldexp support.
9138 2012-01-10 Marek Polacek <polacek@redhat.com>
9140 * locale/programs/localedef.h (show_archive_content): Add noreturn
9143 2012-01-09 Ulrich Drepper <drepper@gmail.com>
9145 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
9147 2012-01-08 Ulrich Drepper <drepper@gmail.com>
9149 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
9151 * io/Makefile (headers): Add bits/poll2.h.
9153 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
9155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
9156 typo #include statement.
9158 2012-01-08 Ulrich Drepper <drepper@gmail.com>
9160 * include/sys/cdefs.h: Define __attribute_alloc_size.
9161 * catgets/gencat.c: Add alloc_size attribute and apply consistently
9162 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
9163 * elf/pldd.c: Likewise.
9164 * iconv/iconv_charmap.c: Likewise.
9165 * iconv/iconvconfig.c: Likewise.
9166 * iconv/strtab.c: Likewise.
9167 * locale/programs/locale.c: Likewise.
9168 * locale/programs/localedef.h: Likewise.
9169 * locale/programs/simple-hash.c: Likewise.
9170 * nscd/nscd.h: Likewise.
9171 * nss/makedb.c: Likewise.
9172 * sysdeps/generic/ldconfig.h: Likewise.
9173 * locale/programs/localedef.c: Remove xmalloc prototype.
9174 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
9176 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9178 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
9181 2012-01-08 Ulrich Drepper <drepper@gmail.com>
9183 * math/Makefile (tests): Add tst-CMPLX.
9184 * math/tst-CMPLX.c: New file.
9186 * math/complex.h (CMPLXL): Fix typo.
9188 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
9189 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
9191 * debug/tst-chk1.c: Add poll and ppoll tests.
9192 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
9193 * include/sys/poll.h: Add hidden proto for ppoll.
9194 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
9195 * sysdeps/mach/hurd/ppoll.c: Likewise.
9196 * io/ppoll.c: Likewise.
9197 * debug/poll_chk.c: New file.
9198 * debug/ppoll_chk.c: New file.
9199 * include/bits/poll2.h: New file.
9200 * io/bits/poll2.h: New file.
9203 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
9205 * configure.in: static is always set to yes. Remove.
9206 * config.make.in: Don't set build-static.
9207 * Makeconfig: Remove use of build-static.
9208 * dlfcn/Makefile: Likewise.
9209 * elf/Makefile: Likewise.
9210 * math/Makefile: Likewise.
9211 * misc/Makefile: Likewise.
9212 * nptl/Makefile: Likewise.
9213 * sysdeps/mach/hurd/Makefile: Likewise.
9215 * configure.in: PWD_P is not used anymore.
9216 * config.make.in: Remove PWD_P entry.
9218 * configure.in: Remove last remnants of RANLIB.
9219 No need to check for signed size_t anymore.
9220 Don't set libc_commonpagesize and libc_relro_required here for Alpha
9222 Remove __builtin_expect test because we require at least gcc 3.4.
9223 * aclocal.m4: Likewise.
9225 * wcsmbs/mbrtoc16.c: Implement using towc function.
9226 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
9227 * wcsmbs/wcsmbsload.c: Likewise.
9228 * iconv/gconv_simple.c: Likewise.
9229 * iconv/gconv_int.h: Likewise.
9230 * iconv/gconv_builtin.h: Likewise.
9231 * iconv/iconv_prog.c: Remove CHAR16 handling.
9233 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
9235 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
9237 * configure.in: Remove --with-elf and --enable-bounded options.
9238 Dont set base_machine for ia64. More non-ELF conditions removed.
9239 Remove testing and setting of leading underscore information.
9240 * config.make.in (build-bounded): Set to no.
9241 * config.h.in: Remove NO_UNDERSCORES entry.
9242 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
9244 * csu/start.c: Remove !NO_UNDERSCORE code.
9245 * locale/localeinfo.h: Likewise.
9246 * sysdeps/generic/machine-gmon.h: Likewise.
9247 * sysdeps/generic/sysdep.h: Likewise.
9248 * sysdeps/i386/sysdep.h: Likewise.
9249 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9250 * sysdeps/mach/sysdep.h: Likewise.
9251 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9252 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9253 * sysdeps/sh/sysdep.h: Likewise.
9254 * sysdeps/sparc/sparc32/alloca.S: Likewise.
9255 * sysdeps/unix/i386/sysdep.S: Likewise.
9256 * sysdeps/unix/sparc/start.c: Likewise.
9257 * sysdeps/unix/sparc/sysdep.S: Likewise.
9258 * sysdeps/unix/sparc/sysdep.h: Likewise.
9259 * sysdeps/unix/start.c: Likewise.
9260 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9261 * sysdeps/x86_64/sysdep.h: Likewise.
9263 2012-01-07 Ulrich Drepper <drepper@gmail.com>
9266 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
9268 * argp/argp-fmtstream.h: Use const instead __const.
9269 * argp/argp.h: Likewise.
9270 * assert/assert.h: Likewise.
9271 * bits/fenv.h: Likewise.
9272 * bits/sched.h: Likewise.
9273 * bits/sigset.h: Likewise.
9274 * bits/sigthread.h: Likewise.
9275 * catgets/nl_types.h: Likewise.
9276 * conform/data/pthread.h-data: Likewise.
9277 * crypt/crypt-private.h: Likewise.
9278 * crypt/crypt.h: Likewise.
9279 * crypt/crypt_util.c: Likewise.
9280 * ctype/ctype.h: Likewise.
9281 * debug/execinfo.h: Likewise.
9282 * debug/mbsnrtowcs_chk.c: Likewise.
9283 * debug/mbsrtowcs_chk.c: Likewise.
9284 * debug/wcsnrtombs_chk.c: Likewise.
9285 * debug/wcsrtombs_chk.c: Likewise.
9286 * debug/wcstombs_chk.c: Likewise.
9287 * dirent/dirent.h: Likewise.
9288 * dlfcn/dlfcn.h: Likewise.
9289 * elf/neededtest4.c: Likewise.
9290 * grp/grp.h: Likewise.
9291 * gshadow/gshadow.h: Likewise.
9292 * iconv/gconv.h: Likewise.
9293 * iconv/gconv_int.h: Likewise.
9294 * iconv/gconv_simple.c: Likewise.
9295 * iconv/iconv.h: Likewise.
9296 * iconv/loop.c: Likewise.
9297 * iconv/skeleton.c: Likewise.
9298 * include/aio.h: Likewise.
9299 * include/aliases.h: Likewise.
9300 * include/argz.h: Likewise.
9301 * include/arpa/inet.h: Likewise.
9302 * include/assert.h: Likewise.
9303 * include/dirent.h: Likewise.
9304 * include/dlfcn.h: Likewise.
9305 * include/execinfo.h: Likewise.
9306 * include/fcntl.h: Likewise.
9307 * include/fenv.h: Likewise.
9308 * include/glob.h: Likewise.
9309 * include/grp.h: Likewise.
9310 * include/libintl.h: Likewise.
9311 * include/mntent.h: Likewise.
9312 * include/netdb.h: Likewise.
9313 * include/pwd.h: Likewise.
9314 * include/rpc/netdb.h: Likewise.
9315 * include/sched.h: Likewise.
9316 * include/search.h: Likewise.
9317 * include/shadow.h: Likewise.
9318 * include/signal.h: Likewise.
9319 * include/stdio.h: Likewise.
9320 * include/stdlib.h: Likewise.
9321 * include/string.h: Likewise.
9322 * include/sys/socket.h: Likewise.
9323 * include/sys/stat.h: Likewise.
9324 * include/sys/statfs.h: Likewise.
9325 * include/sys/statvfs.h: Likewise.
9326 * include/sys/syslog.h: Likewise.
9327 * include/sys/time.h: Likewise.
9328 * include/sys/uio.h: Likewise.
9329 * include/time.h: Likewise.
9330 * include/unistd.h: Likewise.
9331 * include/utmp.h: Likewise.
9332 * include/wchar.h: Likewise.
9333 * include/wctype.h: Likewise.
9334 * inet/aliases.h: Likewise.
9335 * inet/arpa/inet.h: Likewise.
9336 * inet/netinet/ether.h: Likewise.
9337 * inet/netinet/in.h: Likewise.
9338 * intl/libintl.h: Likewise.
9339 * io/bits/fcntl2.h: Likewise.
9340 * io/fcntl.h: Likewise.
9341 * io/ftw.h: Likewise.
9342 * io/sys/poll.h: Likewise.
9343 * io/sys/stat.h: Likewise.
9344 * io/sys/statfs.h: Likewise.
9345 * io/sys/statvfs.h: Likewise.
9346 * io/utime.h: Likewise.
9347 * libio/bits/stdio.h: Likewise.
9348 * libio/bits/stdio2.h: Likewise.
9349 * libio/libio.h: Likewise.
9350 * libio/libioP.h: Likewise.
9351 * libio/stdio.h: Likewise.
9352 * locale/lc-ctype.c: Likewise.
9353 * locale/locale.h: Likewise.
9354 * login/utmp.h: Likewise.
9355 * malloc/arena.c: Likewise.
9356 * malloc/malloc.c: Likewise.
9357 * malloc/malloc.h: Likewise.
9358 * malloc/mcheck.c: Likewise.
9359 * malloc/mtrace.c: Likewise.
9360 * math/bits/mathcalls.h: Likewise.
9361 * math/fenv.h: Likewise.
9362 * math/math_private.h: Likewise.
9363 * misc/bits/error.h: Likewise.
9364 * misc/bits/syslog.h: Likewise.
9365 * misc/err.h: Likewise.
9366 * misc/error.h: Likewise.
9367 * misc/fstab.h: Likewise.
9368 * misc/mntent.h: Likewise.
9369 * misc/regexp.h: Likewise.
9370 * misc/search.h: Likewise.
9371 * misc/sgtty.h: Likewise.
9372 * misc/sys/mman.h: Likewise.
9373 * misc/sys/syslog.h: Likewise.
9374 * misc/sys/uio.h: Likewise.
9375 * misc/sys/xattr.h: Likewise.
9376 * misc/ttyent.h: Likewise.
9377 * nis/rpcsvc/ypclnt.h: Likewise.
9378 * nss/nss.h: Likewise.
9379 * posix/bits/unistd.h: Likewise.
9380 * posix/fnmatch.h: Likewise.
9381 * posix/glob.h: Likewise.
9382 * posix/sched.h: Likewise.
9383 * posix/spawn.h: Likewise.
9384 * posix/sys/wait.h: Likewise.
9385 * posix/unistd.h: Likewise.
9386 * posix/wordexp.h: Likewise.
9387 * pwd/pwd.h: Likewise.
9388 * resolv/netdb.h: Likewise.
9389 * resource/sys/resource.h: Likewise.
9390 * rt/aio.h: Likewise.
9391 * rt/bits/mqueue2.h: Likewise.
9392 * rt/mqueue.h: Likewise.
9393 * shadow/shadow.h: Likewise.
9394 * signal/signal.h: Likewise.
9395 * socket/send.c: Likewise.
9396 * socket/sendto.c: Likewise.
9397 * socket/sys/socket.h: Likewise.
9398 * stdio-common/printf.h: Likewise.
9399 * stdlib/bits/stdlib.h: Likewise.
9400 * stdlib/fmtmsg.h: Likewise.
9401 * stdlib/monetary.h: Likewise.
9402 * stdlib/stdlib.h: Likewise.
9403 * stdlib/ucontext.h: Likewise.
9404 * streams/stropts.h: Likewise.
9405 * string/argz.h: Likewise.
9406 * string/bits/string2.h: Likewise.
9407 * string/string.h: Likewise.
9408 * string/strings.h: Likewise.
9409 * sunrpc/rpc/auth.h: Likewise.
9410 * sunrpc/rpc/auth_des.h: Likewise.
9411 * sunrpc/rpc/clnt.h: Likewise.
9412 * sunrpc/rpc/netdb.h: Likewise.
9413 * sunrpc/rpc/pmap_clnt.h: Likewise.
9414 * sunrpc/rpc/xdr.h: Likewise.
9415 * sysdeps/generic/inttypes.h: Likewise.
9416 * sysdeps/generic/net/if.h: Likewise.
9417 * sysdeps/generic/sys/swap.h: Likewise.
9418 * sysdeps/gnu/net/if.h: Likewise.
9419 * sysdeps/gnu/utmpx.h: Likewise.
9420 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
9421 * sysdeps/i386/i486/bits/string.h: Likewise.
9422 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
9423 * sysdeps/s390/bits/string.h: Likewise.
9424 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
9425 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
9426 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
9427 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
9428 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
9429 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
9430 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
9431 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
9432 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
9433 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
9434 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
9435 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9436 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
9437 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9438 * sysdeps/unix/sysv/linux/readv.c: Likewise.
9439 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
9440 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9441 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9442 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9443 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9444 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9445 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
9446 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
9447 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
9448 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
9449 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
9450 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
9451 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9452 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
9453 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
9454 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
9455 * sysvipc/sys/ipc.h: Likewise.
9456 * sysvipc/sys/msg.h: Likewise.
9457 * sysvipc/sys/sem.h: Likewise.
9458 * sysvipc/sys/shm.h: Likewise.
9459 * termios/termios.h: Likewise.
9460 * time/sys/time.h: Likewise.
9461 * time/time.h: Likewise.
9462 * wcsmbs/bits/wchar2.h: Likewise.
9463 * wcsmbs/uchar.h: Likewise.
9464 * wcsmbs/wchar.h: Likewise.
9465 * wctype/wctype.h: Likewise.
9468 * Makeconfig: Remove all but ELF support including AIX support.
9469 * Makerules: Likewise.
9470 * config.h.in: Likewise.
9471 * config.make.in: Likewise.
9472 * configure: Likewise.
9473 * configure.in: Likewise.
9474 * csu/Makefile: Likewise.
9475 * csu/version.c: Likewise.
9476 * debug/Makefile: Likewise.
9477 * dlfcn/Makefile: Likewise.
9478 * elf/Makefile: Likewise.
9479 * extra-lib.mk: Likewise.
9480 * iconv/Makefile: Likewise.
9481 * include/libc-symbols.h: Likewise.
9482 * include/shlib-compat.h: Likewise.
9483 * resolv/Makefile: Likewise.
9484 * resolv/res_libc.c: Likewise.
9485 * rt/Makefile: Likewise.
9486 * sysdeps/i386/asm-syntax.h: Likewise.
9487 * sysdeps/i386/sysdep.h: Likewise.
9488 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9489 * sysdeps/mach/sysdep.h: Likewise.
9490 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
9491 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
9492 * sysdeps/s390/asm-syntax.h: Likewise.
9493 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9494 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9495 * sysdeps/sh/sysdep.h: Likewise.
9496 * sysdeps/unix/sparc/sysdep.h: Likewise.
9497 * sysdeps/wordsize-32/divdi3.c: Likewise.
9498 * sysdeps/x86_64/sysdep.h: Likewise.
9500 * argp/Versions: Remove _argp_unlock_xxx.
9503 * abilist/ld.abilist: Update. Adjust for removal of tls option.
9504 * abilist/libBrokenLocale.abilist: Likewise.
9505 * abilist/libanl.abilist: Likewise.
9506 * abilist/libc.abilist: Likewise.
9507 * abilist/libcrypt.abilist: Likewise.
9508 * abilist/libdl.abilist: Likewise.
9509 * abilist/libm.abilist: Likewise.
9510 * abilist/libnsl.abilist: Likewise.
9511 * abilist/libpthread.abilist: Likewise.
9512 * abilist/libresolv.abilist: Likewise.
9513 * abilist/librt.abilist: Likewise.
9514 * abilist/libthread_db.abilist: Likewise.
9515 * abilist/libutil.abilist: Likewise.
9516 * abilist/libnss_db.abilist: New file.
9518 * scripts/abilist.awk: Add support for indirect functions.
9520 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
9522 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
9524 * shlib-versions: Remove entries for ports architectures.
9526 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
9528 * elf/stackguard-macros.h: Remove support for IA-64.
9529 * elf/tst-auditmod1.c: Likewise.
9530 * sysdeps/generic/ldsodefs.h: Likewise.
9532 * sysdeps/unix/sysv/linux/configure.in: Ports should define
9533 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
9537 * configure.in: Remove --enable-omitfp support.
9539 * config.make.in: Likewise.
9540 * Makeconfig: Likewise.
9541 * manual/install.texi: Likewise.
9543 In case anyone cares, the IA-64 architecture could move to ports.
9544 * sysdeps/ia64/*: Removed.
9545 * sysdeps/unix/sysv/linux/ia64/*: Removed.
9546 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
9549 * configure.in: Remove entries for unsupported architectures.
9552 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
9553 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
9555 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
9556 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
9557 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
9558 fall back to using wcrtomb.
9559 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
9560 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
9562 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
9563 * wcsmbs/tst-c16c32-1.c: New file.
9565 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
9568 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
9570 * elf/tst-unique3.cc: Add explicit declaration of gets.
9571 * elf/tst-unique3lib.cc: Likewise.
9572 * elf/tst-unique3lib2.cc: Likewise.
9573 * elf/tst-unique4.cc: Likewise.
9575 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
9577 2012-01-06 Joseph Myers <joseph@codesourcery.com>
9580 * assert/assert.h (static_assert): Don't define for C++.
9581 * libio/stdio.h (gets): Do declare for C++ <= C++11.
9582 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
9584 2012-01-03 Ulrich Drepper <drepper@gmail.com>
9586 * iconv/loop.c (single loop): Fix assertion in storing of
9589 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
9591 2012-01-01 Ulrich Drepper <drepper@gmail.com>
9593 * posix/getconf.c: Update copyright year.
9594 * nss/getent.c: Likewise.
9595 * nss/makedb.c: Likewise.
9596 * iconv/iconvconfig.c: Likewise.
9597 * iconv/iconv_prog.c: Likewise.
9598 * elf/ldconfig.c: Likewise.
9599 * elf/pldd.c: Likewise.
9600 * elf/sotruss.ksh: Likewise.
9601 * catgets/gencat.c: Likewise.
9602 * csu/version.c: Likewise.
9603 * elf/ldd.bash.in: Likewise.
9604 * elf/sprof.c (print_version): Likewise.
9605 * locale/programs/locale.c: Likewise.
9606 * locale/programs/localedef.c: Likewise.
9607 * login/programs/pt_chown.c: Likewise.
9608 * nscd/nscd.c (print_version): Likewise.
9609 * debug/xtrace.sh: Likewise.
9610 * malloc/memusage.sh: Likewise.
9611 * malloc/mtrace.pl: Likewise.
9612 * debug/catchsegv.sh: Likewise.
9614 2011-12-30 Jakub Jelinek <jakub@redhat.com>
9616 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
9619 2011-12-24 Ulrich Drepper <drepper@gmail.com>
9622 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
9623 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
9625 * iconv/gconv_int.h: Likewise.
9626 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
9627 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
9628 from libc for GLIBC_2.16.
9629 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
9630 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
9631 * wcsmbs/uchar.h: Really define mbstate_t.
9632 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
9633 * wcsmbs/c16rtomb.c: New file.
9634 * wcsmbs/mbrtoc16.c: New file.
9635 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
9637 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
9638 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
9640 * wcsmbs/wchar.h: Add missing __restrict.
9642 2011-12-23 Ulrich Drepper <drepper@gmail.com>
9645 * time/Makefile (routines): Add timespec_get.
9646 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
9647 * time/time.h: Define TIME_UTC and declare timespec_get. Define
9648 timespec for ISO C11.
9649 * time/timespec_get.c: New file.
9650 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
9651 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
9654 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
9655 * stdlib/stdlib.h: Declare aligned_alloc.
9656 * Versions.def: Add GLIBC_2.16 for libc.
9657 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
9660 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
9663 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
9667 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
9670 * assert/assert.h (static_assert): Define.
9672 * version.h: Update for 2.16 development version.
9675 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
9678 * version.h (RELEASE): Bump for 2.15 release.
9679 * include/features.h (__GLIBC_MINOR__): Bump to 15.
9681 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
9682 Patch by Marek Polacek <mpolacek@redhat.com>.
9684 * bits/byteswap.h: Protect long long constants with __extension__.
9685 * sysdeps/i386/bits/byteswap.h: Likewise.
9686 * sysdeps/ia64/bits/byteswap.h: Likewise.
9687 * sysdeps/s390/bits/byteswap.h: Likewise.
9688 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9690 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9693 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
9695 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
9697 2011-12-23 Marek Polacek <polacek@redhat.com>
9699 * elf/dl-addr.c (determine_info): Add inline keyword.
9700 * elf/tst-auditmod4b.c (check_avx): Likewise.
9701 * elf/tst-auditmod6b.c (check_avx): Likewise.
9702 * elf/tst-auditmod6c.c (check_avx): Likewise.
9703 * elf/tst-auditmod7b.c (check_avx): Likewise.
9705 2011-12-23 Ulrich Drepper <drepper@gmail.com>
9707 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
9710 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9713 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
9714 processing for last bytes.
9716 2011-08-06 Bruno Haible <bruno@clisp.org>
9719 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
9720 U+0385, not to U+1FEE.
9723 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
9724 entry for U+00A5 U+0301.
9726 2011-12-22 Ulrich Drepper <drepper@gmail.com>
9729 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
9730 buffer for the output is too small.
9732 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
9736 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
9737 SSE flags if possible.
9739 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9742 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
9743 processing for last bytes.
9745 2011-12-22 Joseph Myers <joseph@codesourcery.com>
9747 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
9748 (syscall-list-default-options, syscall-list-default-condition)
9749 (syscall-list-includes): Define.
9750 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
9751 list of ABIs and options and #if conditions for each ABI. Do not
9752 handle common syscalls between ABIs specially.
9753 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
9755 (syscall-list-variants, syscall-list-32bit-options)
9756 (syscall-list-32bit-condition, syscall-list-64bit-options)
9757 (syscall-list-64bit-condition): Define.
9758 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
9759 (syscall-list-variants, syscall-list-32bit-options)
9760 (syscall-list-32bit-condition, syscall-list-64bit-options)
9761 (syscall-list-64bit-condition): Define.
9762 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
9764 (syscall-list-variants, syscall-list-32bit-options)
9765 (syscall-list-32bit-condition, syscall-list-64bit-options)
9766 (syscall-list-64bit-condition): Define.
9767 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
9769 (syscall-list-variants, syscall-list-32bit-options)
9770 (syscall-list-32bit-condition, syscall-list-64bit-options)
9771 (syscall-list-64bit-condition): Define.
9773 2011-12-22 Ulrich Drepper <drepper@gmail.com>
9775 * locale/iso-639.def: Add brx entry.
9778 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
9779 Proposed by Mariusz_Cukr <marcukr@op.pl>.
9781 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
9782 __feraiseexcept_renamed.
9784 2011-12-21 Ulrich Drepper <drepper@gmail.com>
9787 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
9788 EPOLLET with unsigned values.
9789 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9790 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9792 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
9793 to large cancellation.
9794 * math/s_cacoshf.c: Likewise.
9795 * math/s_cacoshl.c: Likewise.
9797 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
9801 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
9802 * math/s_cacoshf.c: Likewise.
9803 * math/s_cacoshl.c: Likewise.
9805 2011-12-21 Ulrich Drepper <drepper@gmail.com>
9808 * iconv/gconv.h: Define __GCONV_SWAP.
9809 * iconvdata/unicode.c: The swap bit must be stored in __flags.
9810 * iconvdata/utf-16.c: Likewise.
9811 * iconvdata/utf-32.c: Likewise.
9813 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
9816 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
9817 numerator after shifting it by one limb.
9819 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
9821 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
9822 under [__USE_EXTERN_INLINES].
9824 2011-12-17 Ulrich Drepper <drepper@gmail.com>
9827 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
9829 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9831 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
9832 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
9834 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
9835 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
9836 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
9837 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
9838 for strncasecmp/strncasecmp_l compilation.
9839 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
9840 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
9842 2011-12-08 Marek Polacek <mpolacek@redhat.com>
9845 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
9848 2011-12-17 Ulrich Drepper <drepper@gmail.com>
9851 * time/tzfile.c (__tzfile_read): Check values from file header.
9853 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
9855 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
9856 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
9857 * powerpc/powerpc32/dl-start.S: Likewise.
9858 * powerpc/powerpc32/elf/start.S: Likewise.
9859 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9860 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
9861 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
9862 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
9863 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
9864 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
9865 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
9866 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
9867 * powerpc/powerpc32/fpu/s_round.S: Likewise.
9868 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
9869 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
9870 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
9871 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
9872 * powerpc/powerpc32/memset.S: Likewise.
9873 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
9874 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9875 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9876 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9877 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9878 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9879 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9880 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9881 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
9882 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
9883 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
9884 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9885 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9887 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9889 * math/libm-test.inc: Added more nearbyint tests.
9890 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
9891 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
9892 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
9893 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
9895 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
9897 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
9900 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9902 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
9903 Add wcscpy-ssse3 wcscpy-c.
9904 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
9905 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
9906 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
9907 * sysdeps/x86_64/wcschr.S: New file.
9908 * sysdeps/x86_64/wcsrchr.S: New file.
9909 * string/test-strcmp.c: Remove checking of wcscmp function for
9911 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
9912 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
9913 wcsrchr-sse2 wcsrchr-c.
9914 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
9915 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
9916 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
9917 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
9918 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
9919 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
9920 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
9921 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
9922 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
9923 * wcsmbc/wcschr.c (WCSCHR): New macro.
9925 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9927 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
9928 * wcsmbs/test-wcsrchr.c: New file.
9929 * string/test-strrchr.c: Add wcsrchr support.
9931 * wcsmbs/test-wcscpy.c: New file.
9932 * string/test-strcpy.c: Add wcscpy support.
9935 2011-12-10 Ulrich Drepper <drepper@gmail.com>
9937 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
9940 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
9943 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
9945 2011-12-04 Ulrich Drepper <drepper@gmail.com>
9947 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
9948 Minor optimizations.
9950 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
9951 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
9952 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
9954 2011-12-03 Ulrich Drepper <drepper@gmail.com>
9956 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
9957 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
9958 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
9959 for gcc to avoid warnings.
9960 * inet/Makefile (tests): Add tst-checks.
9961 * inet/tst-checks.c: New file.
9963 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
9966 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
9969 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
9970 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
9972 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
9974 2011-12-02 Ulrich Drepper <drepper@gmail.com>
9976 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
9979 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
9981 2011-11-29 Joseph Myers <joseph@codesourcery.com>
9983 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
9984 conditional on GCC version.
9985 (__arch_compare_and_exchange_val_8_acq)
9986 (__arch_compare_and_exchange_val_16_acq)
9987 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
9988 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
9989 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
9991 2011-12-02 Joseph Myers <joseph@codesourcery.com>
9993 * sysdeps/sh/backtrace.c: New file.
9995 2011-12-02 Andreas Schwab <schwab@redhat.com>
9997 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
10000 2011-12-01 Andreas Schwab <schwab@redhat.com>
10002 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
10003 falling back to utime.
10005 2011-11-30 Andreas Schwab <schwab@redhat.com>
10007 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
10008 expectations for float.
10010 2011-11-29 Andreas Schwab <schwab@redhat.com>
10012 * locale/weight.h (findidx): Add parameter len.
10013 * locale/weightwc.h (findidx): Likewise.
10014 * posix/fnmatch_loop.c (FCT): Adjust caller.
10015 * posix/regcomp.c (build_equiv_class): Likewise.
10016 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
10017 * posix/regexec.c (check_node_accept_bytes): Likewise.
10018 * string/strcoll_l.c (STRCOLL): Likewise.
10019 * string/strxfrm_l.c (STRXFRM): Likewise.
10021 2011-11-17 Ulrich Drepper <drepper@gmail.com>
10023 * Makefile.in: Remove CVSOPT handling.
10024 * configure.in: Remove use of AC_REVISION.
10025 * iconvdata/Makefile (distribute): No need to filter out CVS.
10026 * scripts/list-sources.sh: Remove CVS, subversion and monotone
10029 2011-11-16 Andreas Schwab <schwab@redhat.com>
10031 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
10032 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
10033 [USE_AS_STRNCASECMP_L]: Likewise.
10034 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
10035 NO_TLS_DIRECT_SEG_REFS.
10036 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
10037 Fix argument offsets for non-PIC.
10038 [USE_AS_STRNCASECMP_L]: Likewise.
10039 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
10040 NO_TLS_DIRECT_SEG_REFS.
10042 2011-11-15 Ulrich Drepper <drepper@gmail.com>
10044 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
10046 * locale/loadlocale.c (_nl_load_locale): Likewise.
10048 2011-11-15 Andreas Schwab <schwab@redhat.com>
10050 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
10051 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
10052 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
10053 (SYSCALL_GETTIME): Set errno on error.
10055 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
10056 count references to noai6ai_cached.
10058 2011-11-15 Ulrich Drepper <drepper@gmail.com>
10060 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
10062 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
10063 FD_CLOEXEC for /proc/self/maps.
10065 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
10066 FD_CLOEXEC for /proc/meminfo.
10068 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
10071 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
10072 FD_CLOEXEC for given file.
10074 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
10076 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
10077 FD_CLOEXEC for /etc/hosts.
10078 (_gethtent): Likewise.
10080 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
10082 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
10083 cancellation and set FD_CLOEXEC for /etc/netgroup.
10085 * nss/nss_files/files-key.c (search): Don't allow cancellation when
10086 reading /etc/publickey.
10088 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
10089 allow cancellation when reading /etc/group.
10091 * nss/nss_files/files-alias.c (internal_setent): Don't allow
10093 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
10095 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
10096 when using data file.
10098 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
10100 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
10101 (write_nis_obj): Use "c" and "e" in fopen.
10103 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
10105 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
10107 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
10109 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
10111 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
10114 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
10116 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
10118 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
10120 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
10121 file parsing and set FD_CLOEXEC.
10123 2011-11-14 Ulrich Drepper <drepper@gmail.com>
10125 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
10127 2011-11-14 Andreas Schwab <schwab@redhat.com>
10129 * malloc/arena.c (arena_get2): Don't call reused_arena when
10130 _int_new_arena failed.
10132 2011-11-14 Ulrich Drepper <drepper@gmail.com>
10134 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
10135 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
10136 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
10137 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10138 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10139 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
10140 to compile strcasecmp and strncasecmp.
10141 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
10142 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
10144 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
10146 2011-11-13 Ulrich Drepper <drepper@gmail.com>
10148 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
10149 locale-defines.sym to gen-as-const-headers.
10150 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
10151 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
10152 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
10153 to compile strcasecmp and strncasecmp.
10154 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
10155 strcasecmp_l and strncasecmp_l.
10156 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
10157 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
10158 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
10159 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
10160 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
10161 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
10162 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
10163 * sysdeps/i386/i686/multiarch/strncase.S: New file.
10164 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
10165 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
10166 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
10168 2011-11-12 Ulrich Drepper <drepper@gmail.com>
10170 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
10171 result of SYSDEP_GETTIME_CPU to retval.
10172 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
10173 parameter list to macro. Remove trailing semicolon. Adjust users.
10175 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
10178 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
10180 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
10182 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
10183 from unused variable.
10185 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
10187 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
10190 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
10193 * sunrpc/rpc_prot.c (rejected): Fix case value.
10195 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
10196 unsigned long long int to avoid warnings in shift.
10198 * posix/regex_internal.c (re_string_reconstruct): Actually use result
10200 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
10203 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
10204 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
10205 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
10207 * nis/nis_table.c (nis_list): Use variable of correct type for
10208 result of __follow_path call.
10210 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10212 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
10213 of math functions ceil, trunc, floor, round, and sqrt, when
10214 avaliable on the platform.
10215 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
10217 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10218 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
10219 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
10221 2011-10-30 Marek Polacek <mpolacek@redhat.com>
10223 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
10224 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
10226 2011-11-11 Roland McGrath <roland@hack.frob.com>
10228 * include/unistd.h: Fix __readlink return type.
10229 Reported by Chris Metcalf <cmetcalf@tilera.com>.
10231 2011-11-11 Ulrich Drepper <drepper@gmail.com>
10233 * stdlib/ucontext.h: Undo last change for makecontext.
10235 2011-11-11 Andreas Schwab <schwab@redhat.com>
10237 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
10239 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
10240 * setjmp/setjmp.h: Mark functions as non-leaf.
10241 * setjmp/bits/setjmp2.h: Likewise.
10242 * stdlib/ucontext.h: Likewise.
10244 2011-11-10 Andreas Schwab <schwab@redhat.com>
10246 * malloc/arena.c (_int_new_arena): Don't increment narenas.
10247 (reused_arena): Don't check arena limit.
10248 (arena_get2): Atomically check arena limit.
10250 2011-11-08 Ulrich Drepper <drepper@gmail.com>
10252 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
10253 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
10255 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
10258 2011-11-07 Andreas Schwab <schwab@redhat.com>
10260 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
10261 handler when locking.
10263 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10264 Fix size of allocated buffer.
10266 2011-11-04 Andreas Schwab <schwab@redhat.com>
10269 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
10270 declarations for long double functions.
10271 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
10273 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
10275 2011-11-03 Andreas Schwab <schwab@redhat.com>
10277 * nscd/nscd.c (main): Don't start AVC thread until credentials are
10280 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
10283 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
10285 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
10287 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
10289 * include/alloca.h (stackinfo_alloca_round): Define.
10290 (extend_alloca): Use it.
10291 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
10292 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
10295 * scripts/check-local-headers.sh: Ignore libaudit.h.
10297 * nscd/Makefile (extra-objs): Make recursively expanded.
10299 2011-11-01 Ulrich Drepper <drepper@gmail.com>
10301 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
10302 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10304 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
10305 * posix/tst-rfc3484-2.c: Likewise.
10306 * posix/tst-rfc3484-3.c: Likewise.
10308 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10310 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
10312 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
10313 process_vm_writev from libc using GLIBC_2.15 version.
10315 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
10317 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
10319 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
10322 2011-10-31 Ulrich Drepper <drepper@gmail.com>
10325 * nss/getent.c (initgroups_keys): Show error message in case no group
10328 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
10329 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
10330 __bump_nl_timestamp.
10331 * nscd/connections (nscd_init): When host database is served open
10332 netlink socket and request notification about configuration changes.
10333 (main_loop_poll): Track netlink file descriptor and bump timestamp
10334 in case data becomes available.
10335 (main_loop_epoll): Likewise.
10336 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
10337 (database_pers_head): Add extra_data fileds.
10338 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
10339 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
10340 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
10342 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
10343 in6ai data, call __free_in6ai.
10344 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
10345 Add -DHAVE_NETLINK.
10346 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
10347 interface information. Reuse previous data if netlink timestamp
10349 (__bump_nl_timestamp): New function.
10350 (__free_in6ai): New function.
10352 2011-10-30 Ulrich Drepper <drepper@gmail.com>
10354 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
10355 close_not_cancel_no_status here.
10356 (__check_pf): Reorganize code a bit to not call close twice if OOM.
10358 2011-10-29 Ulrich Drepper <drepper@gmail.com>
10361 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
10364 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
10365 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
10366 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
10368 2011-07-03 Andreas Jaeger <aj@suse.de>
10371 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
10372 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
10373 * math/libm-test.inc (sin_test): Add test case.
10375 2011-10-29 Ulrich Drepper <drepper@gmail.com>
10378 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
10379 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10381 * elf/chroot_canon.c (chroot_canon): Cleanups.
10383 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
10386 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
10387 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10389 * string/test-strchr.c: Make usable for strchrnul testing.
10390 * string/test-strchrnul.c: New file.
10391 * string/Makefile (strop-tests): Add strchrnul.
10393 * po/it.po: Update from translation team.
10394 * po/es.po: Likewise.
10396 2011-10-28 Ulrich Drepper <drepper@gmail.com>
10398 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
10399 the three constants needed as parameters. Drop the others.
10400 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
10401 __m128i_strloadu_tolower.
10402 Create and initialize variable zero and use it in all the places
10403 where _mm_setzero_si128 was used.
10405 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
10406 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
10407 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
10408 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
10410 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
10411 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
10412 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
10413 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
10414 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
10415 __mpranred, __mptan.
10416 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
10417 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
10418 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
10419 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
10420 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
10421 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
10422 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
10423 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
10424 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
10426 2011-10-28 Andreas Schwab <schwab@redhat.com>
10428 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
10429 redefine if SHARED.
10430 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
10432 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
10433 wide char related routines to wcsmbs subdir.
10435 2011-10-27 Andreas Schwab <schwab@redhat.com>
10438 * misc/sys/cdefs.h (__THROWNL): Define.
10439 * posix/unistd.h: Use __THREADNL instead of __THREAD
10440 for memory synchronization functions.
10442 2011-10-26 Roland McGrath <roland@hack.frob.com>
10445 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
10447 * manual/stdio.texi (Obstack Streams): Node removed.
10449 2011-10-26 Andreas Schwab <schwab@redhat.com>
10451 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
10452 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10453 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10455 * math/math_private.h (math_force_eval): Allow non-addressable
10457 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
10459 2011-10-25 Ulrich Drepper <drepper@gmail.com>
10461 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
10462 file is not needed.
10464 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
10465 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
10466 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10467 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10468 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10469 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10470 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10471 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
10473 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
10474 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
10475 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
10476 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
10477 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
10478 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
10479 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
10480 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
10481 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
10482 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
10483 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
10484 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
10485 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
10486 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
10487 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
10488 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
10489 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
10490 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
10491 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
10493 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
10494 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
10496 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
10497 place. Use VEX encoding when compiling for AVX.
10499 2011-10-25 Andreas Schwab <schwab@redhat.com>
10501 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
10502 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
10504 * string/test-strchr.c (do_test): Don't generate NUL bytes.
10506 2011-10-25 Ulrich Drepper <drepper@gmail.com>
10508 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
10509 useless if() expression.
10510 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10511 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10512 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10513 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10514 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10515 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10516 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10517 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10518 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10519 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10520 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10521 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10522 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10523 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10524 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10525 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10526 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10527 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10528 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10530 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
10532 2011-10-25 Andreas Schwab <schwab@redhat.com>
10534 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
10536 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10538 2011-10-25 Ulrich Drepper <drepper@gmail.com>
10540 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
10541 .text section. Avoid duplicate constants.
10542 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10543 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10544 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10545 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10546 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10547 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10548 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10549 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10550 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10551 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
10552 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10553 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10554 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
10555 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
10556 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10557 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
10558 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10559 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10560 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10561 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10562 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10563 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10564 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10565 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
10566 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
10567 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
10568 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
10569 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
10570 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
10571 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
10572 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
10573 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
10574 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10575 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
10576 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
10577 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
10578 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
10579 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
10580 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
10581 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
10582 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
10583 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
10584 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
10585 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
10586 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
10588 2011-10-24 Ulrich Drepper <drepper@gmail.com>
10590 * sysdeps/x86_64/dla.h: Move to ...
10591 * sysdeps/x86_64/fpu/dla.h: ...here.
10592 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
10593 situations. Use __builtin_fma only for gcc 4.6 and up.
10595 * config.make.in: Add have-mfma4 entry.
10596 * configure.in: Substitute libc_cv_cc_fma4.
10597 * math/Makefile (dbl-only-routines): Add sincostab.
10598 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
10599 Use __sincostab not sincos.
10600 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
10602 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10603 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10604 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10605 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
10607 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
10608 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
10609 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
10610 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
10612 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
10613 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
10615 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
10616 define aliases when function name is a macro.
10617 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
10618 sysdeps/ieee754/dbl-64/sincos.tbl.
10619 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
10620 fma4-enabled routines.
10621 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
10622 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
10623 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
10624 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
10625 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
10626 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
10627 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
10628 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
10629 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
10630 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
10631 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
10632 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
10633 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
10634 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
10635 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
10636 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
10637 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
10638 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
10639 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
10640 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
10641 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
10642 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
10643 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
10644 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
10645 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
10646 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
10647 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
10648 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
10649 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
10650 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
10652 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
10654 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10655 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10656 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10657 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10658 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10659 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10660 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10661 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10663 2011-10-24 Andreas Schwab <schwab@redhat.com>
10665 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
10667 2011-10-23 Ulrich Drepper <drepper@gmail.com>
10669 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
10671 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
10673 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
10675 * string/strnlen.c: Don't define STRNLEN, reverse logic.
10676 Remove unused variable magic_bits.
10677 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
10679 * string/strnlen.c: Define and use STRNLEN macro.
10680 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
10681 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
10682 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
10683 * wcsmbs/wcslen.c: Define and use WCSLEN.
10684 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
10685 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
10686 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
10687 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
10688 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
10689 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
10690 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
10692 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10694 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10695 strnlen-sse2-no-bsf.
10696 Rename strlen-no-bsf to strlen-sse2-no-bsf.
10697 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
10698 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
10699 Add strnlen support.
10700 (USE_AS_STRNLEN): New macro.
10701 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
10702 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
10703 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
10704 * sysdeps/x86_64/wcslen.S: New file.
10706 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
10708 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
10709 XMM-moves are used for copying on small sizes.
10711 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10713 * wcsmbs/Makefile (strop-tests): Add wcschr.
10714 * wcsmbs/test-wcschr.c: New file.
10715 * string/test-strchr.c: Update.
10716 Add wcschr support.
10719 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10721 * wcsmbs/Makefile (strop-tests): Add wcslen.
10722 * wcsmbs/test-wcslen.c: New file.
10723 * string/test-strlen.c: Update.
10724 Add wcslen support.
10727 2011-10-23 Ulrich Drepper <drepper@gmail.com>
10729 * po/it.po: Update from translation team.
10731 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10733 * sysdeps/x86_64/wcscmp.S: Update.
10734 Fix wrong comparison semantics.
10735 wcscmp shall use signed comparison not unsigned.
10736 Don't use substraction to avoid overflow bug.
10737 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
10738 * wcsmbc/wcscmp.c: Likewise.
10739 * string/test-strcmp.c: Likewise.
10740 Add new tests to check cases with negative values.
10742 2011-10-23 Ulrich Drepper <drepper@gmail.com>
10744 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
10745 * sysdeps/x86_64/dla.h: ...here. New file.
10746 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
10747 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10748 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10749 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10750 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10751 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10752 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10753 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10754 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10756 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
10758 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
10759 __ynl_finite aliases.
10761 2011-10-22 Ulrich Drepper <drepper@gmail.com>
10763 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10765 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
10767 [DLA_FMA] (EMULV): Use DLA_FMA.
10768 [DLA_FMA] (MUL12): Use EMULV.
10769 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
10770 that are not needed.
10771 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10772 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10773 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10774 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10775 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10776 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10777 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10779 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
10781 * math/s_nan.c: Undef __nan.
10782 * math/s_nanf.c: Undef __nanf.
10783 * math/s_nanl.c: Undef __nanl.
10784 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
10787 2011-10-22 Ulrich Drepper <drepper@gmail.com>
10789 * math/s_catan.c: Add branch predictions.
10790 * math/s_catanf.c: Likewise.
10791 * math/s_catanh.c: Likewise.
10792 * math/s_catanhf.c: Likewise.
10793 * math/s_catanhl.c: Likewise.
10794 * math/s_catanl.c: Likewise.
10795 * math/s_cexp.c: Likewise.
10796 * math/s_cexpf.c: Likewise.
10797 * math/s_cexpl.c: Likewise.
10798 * math/s_clog.c: Likewise.
10799 * math/s_clog10.c: Likewise.
10800 * math/s_clog10f.c: Likewise.
10801 * math/s_clog10l.c: Likewise.
10802 * math/s_clogf.c: Likewise.
10803 * math/s_clogl.c: Likewise.
10804 * math/s_csqrt.c: Likewise.
10805 * math/s_csqrtf.c: Likewise.
10806 * math/s_csqrtl.c: Likewise.
10807 * math/s_ctanf.c: Likewise.
10808 * math/s_ctanh.c: Likewise.
10809 * math/s_ctanhf.c: Likewise.
10810 * math/s_ctanhl.c: Likewise.
10811 * math/s_ctanl.c: Likewise.
10813 * math/math_private.h: Define __nan, __nanf, __nanl.
10814 * math/s_cacosh.c: Include <math_private.h>.
10815 * math/s_cacoshl.c: Likewise.
10816 * math/s_casinh.c: Likewise.
10817 * math/s_casinhf.c: Likewise.
10818 * math/s_casinhl.c: Likewise.
10819 * math/s_ccos.c: Rely entire on ccosh.
10820 * math/s_ccosf.c: Rely entire on ccoshf.
10821 * math/s_ccosl.c: Rely entirely on ccoshl.
10822 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
10823 Remove tests for FE_INVALID.
10824 * math/s_ccoshf.c: Likewise.
10825 * math/s_ccoshl.c: Likewise.
10826 * math/s_csin.c: Likewise.
10827 * math/s_csinf.c: Likewise.
10828 * math/s_csinh.c Likewise.
10829 * math/s_csinhf.c: Likewise.
10830 * math/s_csinhl.c: Likewise.
10831 * math/s_csinl.c: Likewise.
10832 * math/s_ctan.c: Likewise.
10833 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
10834 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
10835 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
10837 2011-10-21 Ulrich Drepper <drepper@gmail.com>
10839 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
10840 compilation problems.
10842 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
10845 2011-10-20 Ulrich Drepper <drepper@gmail.com>
10847 * sysdeps/i386/configure.in: Test for -mfma4 option.
10848 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
10849 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
10850 COMMON_CPUID_INDEX_80000001.
10851 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
10852 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
10853 use it if FMA3 is not supported.
10854 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
10856 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
10857 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10859 2011-10-20 Andreas Schwab <schwab@redhat.com>
10862 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
10863 it would create a cycle with a link time dependency.
10865 2011-10-19 Ulrich Drepper <drepper@gmail.com>
10867 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
10869 * string/Makefile (strop-tests): Add rawmemchr.
10870 * string/test-rawmemchr.c: New file.
10872 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
10873 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
10874 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
10875 when compiling str{,n}casecmp and when AVX is available. Hook up
10876 new optimized code in initializers.
10878 2011-10-19 Andreas Schwab <schwab@redhat.com>
10880 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
10881 __feraiseexcept instead of feraiseexcept.
10883 2011-10-18 Ulrich Drepper <drepper@gmail.com>
10885 * math/math_private.h: Define defaults for libc_fetestexcept and
10887 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
10888 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
10889 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
10890 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10891 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10892 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10893 libc_fetestexcept and libc_feupdateenv.
10895 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
10896 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
10897 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
10898 * sysdeps/x86_64/fpu/math_private.h: Define special version of
10899 libc_feholdexcept_setround.
10901 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
10902 Add s_nearbyint-c and s_nearbyintf-c.
10903 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
10904 nearbyintf inlines.
10905 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
10906 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
10907 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
10908 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
10910 * math/math_private.h: Define defaults for libc_fegetround,
10911 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
10912 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
10913 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
10914 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
10915 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
10916 standard functions.
10917 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10918 Remove comments and hacks for old compiler versions.
10919 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10920 libc_fegetround, libc_fesetround, libc_feholdexcept, and
10921 libc_feholdexceptl.
10923 2011-10-18 Andreas Schwab <schwab@redhat.com>
10925 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
10926 (__feraiseexcept_renamed): Add __NTH.
10927 (feraiseexcept): Add __NTH. Rename local variables to fix
10928 namespace violations.
10930 2011-10-17 Ulrich Drepper <drepper@gmail.com>
10932 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
10934 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
10936 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
10937 recently added interfaces.
10938 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
10940 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
10941 about macro parameter expansion.
10943 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
10944 __NO_MATH_INLINES is defined. Cleanups.
10946 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
10947 and __floorf is target has SSE4.1.
10948 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
10949 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
10950 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
10951 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
10953 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
10955 (floorf): Likewise.
10957 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
10959 2011-10-17 Andreas Schwab <schwab@redhat.com>
10961 * misc/sys/cdefs.h: Fix last change.
10963 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
10966 2011-10-16 Ulrich Drepper <drepper@gmail.com>
10968 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
10970 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
10971 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10972 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10973 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10974 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10975 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10976 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10977 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10978 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10979 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
10980 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
10981 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
10982 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
10983 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
10984 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
10985 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
10986 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
10987 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
10988 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
10989 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
10990 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
10991 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
10993 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
10994 ceil, ceilf, floor, floorf.
10996 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
10997 Perform IRELATIVE relocations last.
10999 * elf/do-rel.h: Add another parameter nrelative, replacing the
11000 local variable with the same name. Change name of the function
11001 to end in Rel or Rela (uppercase).
11002 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
11003 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
11004 elf_dynamic_do_##reloc function.
11006 2011-10-15 Ulrich Drepper <drepper@gmail.com>
11008 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
11009 is sufficient, at least on modern CPUs.
11011 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
11013 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
11014 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
11016 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
11018 * math/bits/math-finite.h: Add entries for exp.
11019 * math/e_expl.c: Add __*_finite alias.
11020 * sysdeps/i386/fpu/e_exp.S: Likewise.
11021 * sysdeps/i386/fpu/e_expf.S: Likewise.
11022 * sysdeps/i386/fpu/e_expl.c: Likewise.
11023 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11024 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11025 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11026 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11027 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
11028 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11029 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11031 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
11032 is sufficient, at least on modern CPUs.
11034 * ctype/ctype-info.c (__ctype_init): Define.
11035 * include/ctype.h (__ctype_init): Declare.
11036 (__ctype_b_loc): The variable is always initialized.
11037 (__ctype_toupper_loc): Likewise.
11038 (__ctype_tolower_loc): Likewise.
11039 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
11040 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
11042 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
11044 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
11046 * configure.in: Also look in $cxxmachine/include for C++ system
11049 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11051 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
11052 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
11053 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
11054 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
11055 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
11056 (USE_AS_WMEMCMP): New macro.
11058 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
11059 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
11060 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
11061 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
11062 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11063 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
11064 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
11065 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
11066 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
11067 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
11068 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
11069 (USE_AS_WMEMCMP): New macro.
11070 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
11071 * sysdeps/string/test-memcmp.c: Update.
11072 Fix simple_wmemcmp.
11074 * wcsmbs/wmemcmp.c: Update.
11075 (WMEMCMP): New macro.
11078 2011-10-12 Andreas Jaeger <aj@suse.de>
11081 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
11083 2011-10-15 Ulrich Drepper <drepper@gmail.com>
11085 * libio/iofwide.c (do_length): Avoid warning.
11087 * ctype/ctype.h (__isctype_f): Add missing __THROW.
11089 2011-10-14 Ulrich Drepper <drepper@gmail.com>
11091 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
11093 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
11094 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
11095 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
11096 * sysdeps/i386/i686/fpu/e_log.S: New file.
11097 * sysdeps/i386/i686/fpu/e_logf.S: New file.
11098 * sysdeps/i386/i686/fpu/e_logl.S: New file.
11100 * ctype/ctype.h: Add support for inlined isXXX functions when
11101 compiling C++ code.
11103 2011-10-14 Andreas Schwab <schwab@redhat.com>
11105 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11107 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
11109 2011-10-13 Roland McGrath <roland@hack.frob.com>
11112 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
11114 2011-10-13 Andreas Schwab <schwab@redhat.com>
11116 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
11117 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
11120 * sysdeps/x86_64/memrchr.S: Check for zero size.
11122 * string/stratcliff.c: Add memrchr tests.
11124 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11126 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11127 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
11128 rawmemchr-sse2 rawmemchr-sse2-bsf.
11129 * sysdeps/i386/i686/multiarch/memchr.S: New file.
11130 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
11131 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
11132 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
11133 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
11134 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
11135 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
11136 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
11137 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
11138 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
11139 * string/memrchr.c (MEMRCHR): New macro.
11141 2011-10-12 Ulrich Drepper <drepper@gmail.com>
11143 Add integration with gcc's -ffinite-math-only and optimize wrapper
11145 * Versions.def: Define GLIBC_2.15 version for libm.
11146 * math/Makefile (headers): Add bits/math-finite.h.
11147 * math/bits/math-finite.h: New file.
11148 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
11149 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
11150 * math/e_acoshl.c: Add __*_finite alias.
11151 * math/e_acosl.c: Likewise.
11152 * math/e_asinl.c: Likewise.
11153 * math/e_atan2l.c: Likewise.
11154 * math/e_atanhl.c: Likewise.
11155 * math/e_coshl.c: Likewise.
11156 * math/e_exp10.c: Likewise.
11157 * math/e_exp10f.c: Likewise.
11158 * math/e_exp10l.c: Likewise.
11159 * math/e_exp2l.c: Likewise.
11160 * math/e_fmodl.c: Likewise.
11161 * math/e_gammal_r.c: Likewise.
11162 * math/e_hypotl.c: Likewise.
11163 * math/e_j0l.c: Likewise.
11164 * math/e_j1l.c: Likewise.
11165 * math/e_jnl.c: Likewise.
11166 * math/e_lgammal_r.c: Likewise.
11167 * math/e_log10l.c: Likewise.
11168 * math/e_log2l.c: Likewise.
11169 * math/e_logl.c: Likewise.
11170 * math/e_powl.c: Likewise.
11171 * math/e_sinhl.c: Likewise.
11172 * math/e_sqrtl.c: Likewise.
11173 * math/e_scalb.c: Completely rewritten and optimized.
11174 * math/e_scalbf.c: Likewise.
11175 * math/e_scalbl.c: Likewise.
11176 * math/w_acos.c: Likewise.
11177 * math/w_acosf.c: Likewise.
11178 * math/w_acosl.c: Likewise.
11179 * math/w_acosh.c: Likewise.
11180 * math/w_acoshf.c: Likewise.
11181 * math/w_acoshl.c: Likewise.
11182 * math/w_asin.c: Likewise.
11183 * math/w_asinf.c: Likewise.
11184 * math/w_asinl.c: Likewise.
11185 * math/w_atan2.c: Likewise.
11186 * math/w_atan2f.c: Likewise.
11187 * math/w_atan2l.c: Likewise.
11188 * math/w_atanh.c: Likewise.
11189 * math/w_atanhf.c: Likewise.
11190 * math/w_atanhl.c: Likewise.
11191 * math/w_exp10.c: Likewise.
11192 * math/w_exp10f.c: Likewise.
11193 * math/w_exp10l.c: Likewise.
11194 * math/w_fmod.c: Likewise.
11195 * math/w_fmodf.c: Likewise.
11196 * math/w_fmodl.c: Likewise.
11197 * math/w_j0.c: Likewise.
11198 * math/w_j0f.c: Likewise.
11199 * math/w_j0l.c: Likewise.
11200 * math/w_j1.c: Likewise.
11201 * math/w_j1f.c: Likewise.
11202 * math/w_j1l.c: Likewise.
11203 * math/w_jn.c: Likewise.
11204 * math/w_jnf.c: Likewise.
11205 * math/w_log.c: Likewise.
11206 * math/w_logf.c: Likewise.
11207 * math/w_logl.c: Likewise.
11208 * math/w_log10.c: Likewise.
11209 * math/w_log10f.c: Likewise.
11210 * math/w_log10l.c: Likewise.
11211 * math/w_log2.c: Likewise.
11212 * math/w_log2f.c: Likewise.
11213 * math/w_log2l.c: Likewise.
11214 * math/w_pow.c: Likewise.
11215 * math/w_powf.c: Likewise.
11216 * math/w_powl.c: Likewise.
11217 * math/w_remainder.c: Likewise.
11218 * math/w_remainderf.c: Likewise.
11219 * math/w_remainderl.c: Likewise.
11220 * math/w_scalb.c: Likewise.
11221 * math/w_scalbf.c: Likewise.
11222 * math/w_scalbl.c: Likewise.
11223 * math/w_sqrt.c: Likewise.
11224 * math/w_sqrtf.c: Likewise.
11225 * math/w_sqrtl.c: Likewise.
11226 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
11227 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
11229 * math/math_private.h: Declare __kernel_standard_f.
11230 * math/w_cosh.c: Remove cruft and optimize a bit.
11231 * math/w_coshf.c: Likewise.
11232 * math/w_coshl.c: Likewise.
11233 * math/w_exp2.c: Likewise.
11234 * math/w_exp2f.c: Likewise.
11235 * math/w_exp2l.c: Likewise.
11236 * math/w_hypot.c: Likewise.
11237 * math/w_hypotf.c: Likewise.
11238 * math/w_hypotl.c: Likewise.
11239 * math/w_lgamma.c: Likewise.
11240 * math/w_lgamma_r.c: Likewise.
11241 * math/w_lgammaf.c: Likewise.
11242 * math/w_lgammaf_r.c: Likewise.
11243 * math/w_lgammal.c: Likewise.
11244 * math/w_lgammal_r.c: Likewise.
11245 * math/w_sinh.c: Likewise.
11246 * math/w_sinhf.c: Likewise.
11247 * math/w_sinhl.c: Likewise.
11248 * math/w_tgamma.c: Likewise.
11249 * math/w_tgammaf.c: Likewise.
11250 * math/w_tgammal.c: Likewise.
11251 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11252 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11253 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
11254 Minor optimizations. Pretty printing. Remove cruft.
11255 * sysdeps/i386/fpu/e_acosf.S: Likewise.
11256 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11257 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11258 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11259 * sysdeps/i386/fpu/e_acosl.c: Likewise.
11260 * sysdeps/i386/fpu/e_asin.S: Likewise.
11261 * sysdeps/i386/fpu/e_asinf.S: Likewise.
11262 * sysdeps/i386/fpu/e_atan2.S: Likewise.
11263 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
11264 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
11265 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11266 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11267 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11268 * sysdeps/i386/fpu/e_exp10.S: Likewise.
11269 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
11270 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
11271 * sysdeps/i386/fpu/e_exp2.S: Likewise.
11272 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
11273 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
11274 * sysdeps/i386/fpu/e_fmod.S: Likewise.
11275 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
11276 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
11277 * sysdeps/i386/fpu/e_hypot.S: Likewise.
11278 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
11279 * sysdeps/i386/fpu/e_log.S: Likewise.
11280 * sysdeps/i386/fpu/e_log10.S: Likewise.
11281 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11282 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11283 * sysdeps/i386/fpu/e_log2.S: Likewise.
11284 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11285 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11286 * sysdeps/i386/fpu/e_logf.S: Likewise.
11287 * sysdeps/i386/fpu/e_logl.S: Likewise.
11288 * sysdeps/i386/fpu/e_pow.S: Likewise.
11289 * sysdeps/i386/fpu/e_powf.S: Likewise.
11290 * sysdeps/i386/fpu/e_powl.S: Likewise.
11291 * sysdeps/i386/fpu/e_remainder.S: Likewise.
11292 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
11293 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
11294 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11295 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11296 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11297 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
11298 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
11299 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
11300 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11301 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11302 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11303 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11304 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11305 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11306 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11307 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11308 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11309 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11310 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11311 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11312 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11313 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11314 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11315 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11316 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11317 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11318 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11319 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11320 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11321 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
11322 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11323 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11324 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
11325 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11326 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11327 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
11328 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11329 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
11330 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11331 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11332 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11333 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11334 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
11335 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
11336 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
11337 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
11338 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
11339 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11340 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
11341 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11342 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
11343 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11344 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11345 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11346 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11347 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11348 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11349 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11350 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11351 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11352 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11353 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11354 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11355 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11356 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11357 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11358 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11359 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11360 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11361 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
11362 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11363 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11364 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
11365 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11366 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
11367 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
11368 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
11369 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11370 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11371 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11372 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11373 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11374 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11375 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11376 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11377 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11378 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11379 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11380 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11381 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11382 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
11383 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11384 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11385 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11386 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11387 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11388 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11389 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11390 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11391 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11392 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11393 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11394 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11395 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
11396 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
11397 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
11398 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
11399 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
11400 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
11401 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
11402 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
11403 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
11404 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11405 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11406 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11407 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11408 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
11409 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11410 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
11411 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
11412 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
11413 (__isnanf): Likewise.
11414 (__isinf_ns): Likewise.
11415 (__isinf_nsf): Likewise.
11416 (__finite): Likewise.
11417 (__finitef): Likewise.
11418 (__ieee754_sqrt): Define as macro.
11419 (__ieee754_sqrtf): Define as macro.
11420 (__ieee754_sqrtl): Define as macro.
11421 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
11423 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
11424 __FINITE_MATH_ONLY__ consistent.
11425 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
11427 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
11429 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
11432 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
11434 2011-10-09 Ulrich Drepper <drepper@gmail.com>
11436 * po/ja.po: Update from translation team.
11438 2011-10-08 Roland McGrath <roland@hack.frob.com>
11440 * locale/programs/locarchive.c (prepare_address_space): New function.
11441 (create_archive, enlarge_archive, open_archive): Use it.
11443 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
11444 inside [SHARED], where it is used.
11446 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
11448 * nss/getent.c (netgroup_keys): Remove unused variable.
11449 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
11451 2011-10-08 Ulrich Drepper <drepper@gmail.com>
11453 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
11454 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
11455 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
11456 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
11457 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
11458 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
11459 * math/Makefile (libm-calls): Add s_isinf_ns.
11460 * math/divtc3.c: Use __isinf_nsl instead of isinf.
11461 * math/multc3.c: Likewise.
11462 * math/s_casin.c: Likewise.
11463 * math/s_casinf.c: Likewise.
11464 * math/s_casinl.c: Likewise.
11465 * math/s_ccos.c: Likewise.
11466 * math/s_ccosf.c: Likewise.
11467 * math/s_ccosl.c: Likewise.
11468 * math/s_ctan.c: Likewise.
11469 * math/s_ctanf.c: Likewise.
11470 * math/s_ctanh.c: Likewise.
11471 * math/s_ctanhf.c: Likewise.
11472 * math/s_ctanhl.c: Likewise.
11473 * math/s_ctanl.c: Likewise.
11474 * math/w_fmod.c: Likewise.
11475 * math/w_fmodf.c: Likewise.
11476 * math/w_fmodl.c: Likewise.
11477 * math/w_remainder.c: Likewise.
11478 * math/w_remainderf.c: Likewise.
11479 * math/w_remainderl.c: Likewise.
11480 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
11481 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
11482 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
11483 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
11484 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
11485 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
11486 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
11487 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
11489 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
11491 * stdio-common/printf_fphex.c: Likewise.
11492 * stdio-common/printf_size.c: Likewise.
11494 * math/e_exp10.c: Include math_private.h using <...> not "...".
11495 * math/e_exp10f.c: Likewise.
11496 * math/e_exp10l.c: Likewise.
11497 * math/e_exp2l.c: Likewise.
11498 * math/e_j0l.c: Likewise.
11499 * math/e_j1l.c: Likewise.
11500 * math/e_jnl.c: Likewise.
11501 * math/e_lgammal_r.c: Likewise.
11502 * math/e_rem_pio2l.c: Likewise.
11503 * math/e_scalb.c: Likewise.
11504 * math/e_scalbf.c: Likewise.
11505 * math/e_scalbl.c: Likewise.
11506 * math/k_cosl.c: Likewise.
11507 * math/k_sinl.c: Likewise.
11508 * math/k_tanl.c: Likewise.
11509 * math/s_cacoshf.c: Likewise.
11510 * math/s_catan.c: Likewise.
11511 * math/s_catanf.c: Likewise.
11512 * math/s_catanh.c: Likewise.
11513 * math/s_catanhf.c: Likewise.
11514 * math/s_catanhl.c: Likewise.
11515 * math/s_catanl.c: Likewise.
11516 * math/s_ccosh.c: Likewise.
11517 * math/s_ccoshf.c: Likewise.
11518 * math/s_ccoshl.c: Likewise.
11519 * math/s_cexp.c: Likewise.
11520 * math/s_cexpf.c: Likewise.
11521 * math/s_cexpl.c: Likewise.
11522 * math/s_clog.c: Likewise.
11523 * math/s_clog10.c: Likewise.
11524 * math/s_clog10f.c: Likewise.
11525 * math/s_clog10l.c: Likewise.
11526 * math/s_clogf.c: Likewise.
11527 * math/s_clogl.c: Likewise.
11528 * math/s_csin.c: Likewise.
11529 * math/s_csinf.c: Likewise.
11530 * math/s_csinh.c: Likewise.
11531 * math/s_csinhf.c: Likewise.
11532 * math/s_csinhl.c: Likewise.
11533 * math/s_csinl.c: Likewise.
11534 * math/s_csqrt.c: Likewise.
11535 * math/s_csqrtf.c: Likewise.
11536 * math/s_csqrtl.c: Likewise.
11537 * math/s_ctan.c: Likewise.
11538 * math/s_ctanf.c: Likewise.
11539 * math/s_ctanh.c: Likewise.
11540 * math/s_ctanhf.c: Likewise.
11541 * math/s_ctanhl.c: Likewise.
11542 * math/s_ctanl.c: Likewise.
11543 * math/s_ldexp.c: Likewise.
11544 * math/s_ldexpf.c: Likewise.
11545 * math/s_ldexpl.c: Likewise.
11546 * math/s_significand.c: Likewise.
11547 * math/s_significandf.c: Likewise.
11548 * math/s_significandl.c: Likewise.
11549 * math/w_acos.c: Likewise.
11550 * math/w_acosf.c: Likewise.
11551 * math/w_acosh.c: Likewise.
11552 * math/w_acoshf.c: Likewise.
11553 * math/w_acoshl.c: Likewise.
11554 * math/w_acosl.c: Likewise.
11555 * math/w_asin.c: Likewise.
11556 * math/w_asinf.c: Likewise.
11557 * math/w_asinl.c: Likewise.
11558 * math/w_atan2.c: Likewise.
11559 * math/w_atan2f.c: Likewise.
11560 * math/w_atan2l.c: Likewise.
11561 * math/w_atanh.c: Likewise.
11562 * math/w_atanhf.c: Likewise.
11563 * math/w_atanhl.c: Likewise.
11564 * math/w_cosh.c: Likewise.
11565 * math/w_coshf.c: Likewise.
11566 * math/w_coshl.c: Likewise.
11567 * math/w_dremf.c: Likewise.
11568 * math/w_exp10.c: Likewise.
11569 * math/w_exp10f.c: Likewise.
11570 * math/w_exp10l.c: Likewise.
11571 * math/w_exp2.c: Likewise.
11572 * math/w_exp2f.c: Likewise.
11573 * math/w_fmod.c: Likewise.
11574 * math/w_fmodf.c: Likewise.
11575 * math/w_fmodl.c: Likewise.
11576 * math/w_hypot.c: Likewise.
11577 * math/w_hypotf.c: Likewise.
11578 * math/w_hypotl.c: Likewise.
11579 * math/w_j0.c: Likewise.
11580 * math/w_j0f.c: Likewise.
11581 * math/w_j0l.c: Likewise.
11582 * math/w_j1.c: Likewise.
11583 * math/w_j1f.c: Likewise.
11584 * math/w_j1l.c: Likewise.
11585 * math/w_jn.c: Likewise.
11586 * math/w_jnf.c: Likewise.
11587 * math/w_jnl.c: Likewise.
11588 * math/w_lgamma.c: Likewise.
11589 * math/w_lgamma_r.c: Likewise.
11590 * math/w_lgammaf.c: Likewise.
11591 * math/w_lgammaf_r.c: Likewise.
11592 * math/w_lgammal.c: Likewise.
11593 * math/w_lgammal_r.c: Likewise.
11594 * math/w_log.c: Likewise.
11595 * math/w_log10.c: Likewise.
11596 * math/w_log10f.c: Likewise.
11597 * math/w_log10l.c: Likewise.
11598 * math/w_log2.c: Likewise.
11599 * math/w_log2f.c: Likewise.
11600 * math/w_log2l.c: Likewise.
11601 * math/w_logf.c: Likewise.
11602 * math/w_logl.c: Likewise.
11603 * math/w_pow.c: Likewise.
11604 * math/w_powf.c: Likewise.
11605 * math/w_powl.c: Likewise.
11606 * math/w_remainder.c: Likewise.
11607 * math/w_remainderf.c: Likewise.
11608 * math/w_remainderl.c: Likewise.
11609 * math/w_scalb.c: Likewise.
11610 * math/w_scalbf.c: Likewise.
11611 * math/w_scalbl.c: Likewise.
11612 * math/w_sinh.c: Likewise.
11613 * math/w_sinhf.c: Likewise.
11614 * math/w_sinhl.c: Likewise.
11615 * math/w_sqrt.c: Likewise.
11616 * math/w_sqrtf.c: Likewise.
11617 * math/w_sqrtl.c: Likewise.
11618 * math/w_tgamma.c: Likewise.
11619 * math/w_tgammaf.c: Likewise.
11620 * math/w_tgammal.c: Likewise.
11622 * po/ja.po: Update from translation team.
11624 2011-09-29 Andreas Jaeger <aj@suse.de>
11627 * sunrpc/netname.c (netname2host): Fix logic.
11631 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
11633 * math/w_remainder.c (__remainder): Likewise.
11634 * math/w_remainderf.c (__remainderf): Likewise.
11635 * math/libm-test.inc (remainder_test): Add test cases.
11637 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11639 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
11642 2011-10-07 Ulrich Drepper <drepper@gmail.com>
11644 * string/test-memcmp.c: Avoid unncessary #defines.
11645 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
11647 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11649 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
11650 Use new sse2 version for core i3 - i7 as it's faster
11651 than sse42 version.
11652 (bit_Prefer_PMINUB_for_stringop): New.
11653 * sysdeps/x86_64/rawmemchr.S: Update.
11654 Replace with faster SSE2 version.
11655 * sysdeps/x86_64/memrchr.S: New file.
11656 * sysdeps/x86_64/memchr.S: Update.
11657 Replace with faster SSE2 version.
11659 2011-09-12 Marek Polacek <mpolacek@redhat.com>
11661 * elf/dl-load.c (lose): Add cast to avoid warning.
11663 2011-10-07 Ulrich Drepper <drepper@gmail.com>
11665 * po/ca.po: Update from translation team.
11667 * inet/getnetgrent_r.c: Hook up nscd.
11668 * nscd/Makefile (routines): Add nscd_netgroup.
11669 (nscd-modules): Add netgroupcache.
11670 (CFLAGS-netgroupcache.c): Define.
11671 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
11672 (cache_search): Add const to second parameter.
11673 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
11675 (dbs): Add netgrdb entry.
11676 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
11677 (verify_persistent_db): Handle netgrdb.
11678 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
11679 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
11681 (netgroup_response_header): Define.
11682 (innetgroup_response_header): Define.
11683 (datahead): Add netgroup_response_header and innetgroup_response_header
11685 * nscd/nscd.conf: Add entries for netgroup cache.
11686 * nscd/nscd.h (dbtype): Add netgrdb.
11687 (_PATH_NSCD_NETGROUP_DB): Define.
11688 (netgroup_iov_disabled): Declare.
11689 (xmalloc, xcalloc, xrealloc): Move declarations here.
11690 (cache_search): Adjust prototype.
11691 Add netgroup-related prototypes.
11692 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
11693 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
11694 (__nscd_innetgr): Declare.
11695 * nscd/selinux.c (perms): Use access_vector_t as element type and
11696 add netgroup-related initializers.
11697 * nscd/netgroupcache.c: New file.
11698 * nscd/nscd_netgroup.c: New file.
11699 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
11700 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
11701 For four parameters use innetgr.
11702 * nss/nss_files/files-init.c: Add definition and callback for netgr.
11703 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
11704 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
11705 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
11707 * nscd/connections.c (register_traced_file): Don't register file
11708 for disabled databases.
11710 2011-10-06 Ulrich Drepper <drepper@gmail.com>
11712 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
11714 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
11715 from tree and freeing node.
11717 2011-09-25 Jiri Olsa <jolsa@redhat.com>
11719 * nss/nsswitch.c (__nss_database_lookup): Handle
11720 nss_parse_service_list out of memory case.
11722 2011-09-15 Jiri Olsa <jolsa@redhat.com>
11724 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
11725 out of memory case.
11727 2011-10-04 Andreas Schwab <schwab@redhat.com>
11729 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
11730 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
11732 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
11733 elf_machine_rela, elf_machine_lazy_rel.
11734 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
11735 (ELF_DYNAMIC_DO_REL): Likewise.
11736 (ELF_DYNAMIC_DO_RELA): Likewise.
11737 (ELF_DYNAMIC_RELOCATE): Likewise.
11738 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
11739 to ELF_DYNAMIC_DO_REL.
11740 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
11741 (dl_main): In trace mode always set __RTLD_NOIFUNC.
11742 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
11744 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
11745 skip_ifunc, don't call ifunc function if non-zero.
11746 (elf_machine_rela): Likewise.
11747 (elf_machine_lazy_rel): Likewise.
11748 (elf_machine_lazy_rela): Likewise.
11749 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
11750 (elf_machine_lazy_rel): Likewise.
11751 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
11753 (elf_machine_lazy_rel): Likewise.
11754 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11756 (elf_machine_lazy_rel): Likewise.
11757 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
11758 (elf_machine_lazy_rel): Likewise.
11759 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
11760 (elf_machine_lazy_rel): Likewise.
11761 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11762 (elf_machine_lazy_rel): Likewise.
11763 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
11764 (elf_machine_lazy_rel): Likewise.
11765 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
11766 (elf_machine_lazy_rel): Likewise.
11767 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
11768 (elf_machine_lazy_rel): Likewise.
11770 2011-09-28 Ulrich Drepper <drepper@gmail.com>
11772 * nss/nss_files/files-init.c (_nss_files_init): Use static
11773 initialization for all the *_traced_file variables.
11775 2011-09-28 Andreas Schwab <schwab@redhat.com>
11777 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11779 2011-09-27 Roland McGrath <roland@hack.frob.com>
11782 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
11784 2011-09-27 Andreas Schwab <schwab@redhat.com>
11786 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11787 Reread the line before reparsing it.
11789 2011-09-26 Andreas Schwab <schwab@redhat.com>
11791 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
11793 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
11794 Maxim Kuvyrkov <maxim@codesourcery.com>
11795 Joseph Myers <joseph@codesourcery.com>
11797 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
11798 if needed for __stack_chk_guard.
11800 2011-09-19 Roland McGrath <roland@hack.frob.com>
11802 * sysdeps/posix/spawni.c (script_execute): Always define it.
11803 It will be optimized away if unused.
11804 (maybe_script_execute): New function.
11805 (__spawni): Call it.
11807 * Makerules: Don't include tls.make.
11808 (config-tls): Always set to thread.
11809 * tls.make.c: File removed.
11811 2011-09-19 Mike Frysinger <vapier@gentoo.org>
11813 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
11814 * config.make.in (CPPFLAGS-config): New substituted variable.
11816 2011-09-15 Ulrich Drepper <drepper@gmail.com>
11818 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
11821 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
11822 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
11824 2011-09-15 Roland McGrath <roland@hack.frob.com>
11826 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
11827 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
11828 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
11829 (CALL_FAIL): Likewise.
11830 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
11831 (CALL_FAIL): Macro removed.
11832 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
11834 2011-09-15 Ulrich Drepper <drepper@gmail.com>
11836 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
11837 for __FINITE_MATH_ONLY__ == 1.
11839 2011-09-15 Andreas Schwab <schwab@redhat.com>
11841 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
11842 __ieee754_sqrt instead of sqrt.
11843 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
11844 __ieee754_sqrtf instead of sqrtf.
11845 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
11846 __floorf instead of floorf.
11847 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
11848 __floorf, __truncf instead of floorf, truncf.
11850 2011-09-14 Ulrich Drepper <drepper@gmail.com>
11852 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
11854 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
11855 __extern_always_inline.
11856 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
11859 2011-09-14 Andreas Schwab <schwab@redhat.com>
11861 * elf/rtld.c (dl_main): Also relocate in dependency order when
11862 doing symbol dependency testing.
11864 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
11866 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11867 Always define `refsym'.
11869 2011-09-13 Andreas Schwab <schwab@redhat.com>
11871 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
11872 (__FD_ELT): Renamed from __FDELT.
11873 * misc/bits/select2.h (__FD_ELT): Likewise.
11874 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
11875 __FD_MASK instead of __FDELT, __FDMASK.
11876 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11878 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11881 * elf/Makefile (gen-ldd): Fix pattern.
11883 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
11884 (init_tls): Likewise.
11886 2011-09-12 Ulrich Drepper <drepper@gmail.com>
11888 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
11890 2011-09-12 Andreas Schwab <schwab@redhat.com>
11892 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
11893 `struct cmsghdr *' instead of `void *'.
11894 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
11897 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
11899 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
11901 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
11902 ldd_rewrite_script.
11904 2011-09-11 Ulrich Drepper <drepper@gmail.com>
11906 * configure.in: Remove --with-tls option.
11907 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
11908 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
11909 out in case it is missing.
11910 * sysdeps/ia64/elf/configure.in: Likewise.
11911 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
11912 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
11913 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
11914 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
11915 * sysdeps/sh/elf/configure.in: Likewise.
11916 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
11917 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
11918 * sysdeps/x86_64/elf/configure.in: Likewise.
11919 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
11920 * sysdeps/mach/hurd/tls.h: Likewise.
11923 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
11926 * configure.in: Fix use of AC_INIT.
11928 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
11930 2011-09-10 Ulrich Drepper <drepper@gmail.com>
11932 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
11934 * malloc/hooks.c: Likewise.
11937 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
11938 variables statically.
11939 (narenas): Initialize.
11940 (list_lock): Initialize.
11941 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
11942 initializtion of main_arena and list_lock. Small cleanups.
11943 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
11944 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
11945 Add initializers to main_arena and mp_.
11946 (malloc_state): Remove pagesize member. Change all users to use
11949 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
11950 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
11951 is always initialized.
11953 * malloc/malloc.c: Removed unused configurations and dead code.
11954 * malloc/arena.c: Likewise.
11955 * malloc/hooks.c: Likewise.
11956 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
11958 * include/tls.h: Removed. USE___THREAD must always be defined.
11959 * bits/libc-tsd.h: Don't handle !USE___THREAD.
11960 * elf/dl-libc.c: Likewise.
11961 * elf/dl-tsd.c: Likewise.
11962 * include/errno.h: Likewise.
11963 * include/netdb.h: Likewise.
11964 * include/resolv.h: Likewise.
11965 * inet/herrno-loc.c: Likewise.
11966 * inet/herrno.c: Likewise.
11967 * malloc/arena.c: Likewise.
11968 * malloc/hooks.c: Likewise.
11969 * malloc/malloc.c: Likewise.
11970 * resolv/res-state.c: Likewise.
11971 * resolv/res_libc.c: Likewise.
11972 * sysdeps/i386/dl-machine.h: Likewise.
11973 * sysdeps/ia64/dl-machine.h: Likewise.
11974 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
11975 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11976 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
11977 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
11978 * sysdeps/sh/dl-machine.h: Likewise.
11979 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11980 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11981 * sysdeps/unix/i386/sysdep.S: Likewise.
11982 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11983 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
11984 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
11985 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11986 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
11987 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11988 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11989 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11990 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11991 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11992 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11993 * sysdeps/x86_64/dl-machine.h: Likewise.
11994 * tls.make.c: Likewise.
11996 * configure.in: Remove --with-__thread option. Make tests for
11997 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
11998 tls_model attribute fail if no support is available. Remove
12000 * Makeconfig: Adjust for dropped configure option. All features are
12002 * Makerules: Likewise.
12003 * Versions.def: Likewise.
12004 * argp/argp-fmtstream.c: Likewise.
12005 * argp/argp-fmtstream.h: Likewise.
12006 * argp/argp-help.c: Likewise.
12007 * assert/assert.c: Likewise.
12008 * config.h.in: Likewise.
12009 * config.make.in: Likewise.
12010 * configure: Likewise.
12011 * configure.in: Likewise.
12012 * csu/Versions: Likewise.
12013 * csu/init.c: Likewise.
12014 * elf/tst-audit2.c: Likewise.
12015 * elf/tst-tls10.c: Likewise.
12016 * elf/tst-tls10.h: Likewise.
12017 * elf/tst-tls11.c: Likewise.
12018 * elf/tst-tls12.c: Likewise.
12019 * elf/tst-tls14.c: Likewise.
12020 * elf/tst-tlsmod11.c: Likewise.
12021 * elf/tst-tlsmod12.c: Likewise.
12022 * elf/tst-tlsmod13.c: Likewise.
12023 * elf/tst-tlsmod13a.c: Likewise.
12024 * elf/tst-tlsmod14a.c: Likewise.
12025 * elf/tst-tlsmod15b.c: Likewise.
12026 * elf/tst-tlsmod16a.c: Likewise.
12027 * elf/tst-tlsmod16b.c: Likewise.
12028 * elf/tst-tlsmod7.c: Likewise.
12029 * elf/tst-tlsmod8.c: Likewise.
12030 * elf/tst-tlsmod9.c: Likewise.
12031 * gmon/gmon.c: Likewise.
12032 * grp/fgetgrent_r.c: Likewise.
12033 * grp/putgrent.c: Likewise.
12034 * hurd/fopenport.c: Likewise.
12035 * include/libc-symbols.h: Likewise.
12036 * include/tls.h: Likewise.
12037 * intl/gettextP.h: Likewise.
12038 * intl/loadinfo.h: Likewise.
12039 * locale/global-locale.c: Likewise.
12040 * locale/localeinfo.h: Likewise.
12041 * mach/devstream.c: Likewise.
12042 * malloc/arena.c: Likewise.
12043 * malloc/set-freeres.c: Likewise.
12044 * misc/err.c: Likewise.
12045 * misc/getttyent.c: Likewise.
12046 * misc/mntent_r.c: Likewise.
12047 * posix/getopt.c: Likewise.
12048 * posix/wordexp.c: Likewise.
12049 * pwd/fgetpwent_r.c: Likewise.
12050 * resolv/Versions: Likewise.
12051 * resolv/res_hconf.c: Likewise.
12052 * shadow/fgetspent_r.c: Likewise.
12053 * shadow/putspent.c: Likewise.
12054 * stdio-common/printf_fphex.c: Likewise.
12055 * stdio-common/tmpfile.c: Likewise.
12056 * stdlib/abort.c: Likewise.
12057 * stdlib/fmtmsg.c: Likewise.
12058 * sunrpc/auth_unix.c: Likewise.
12059 * sunrpc/clnt_perr.c: Likewise.
12060 * sunrpc/clnt_tcp.c: Likewise.
12061 * sunrpc/clnt_udp.c: Likewise.
12062 * sunrpc/clnt_unix.c: Likewise.
12063 * sunrpc/openchild.c: Likewise.
12064 * sunrpc/svc_simple.c: Likewise.
12065 * sunrpc/svc_tcp.c: Likewise.
12066 * sunrpc/svc_udp.c: Likewise.
12067 * sunrpc/svc_unix.c: Likewise.
12068 * sunrpc/xdr.c: Likewise.
12069 * sunrpc/xdr_array.c: Likewise.
12070 * sunrpc/xdr_rec.c: Likewise.
12071 * sunrpc/xdr_ref.c: Likewise.
12072 * sunrpc/xdr_stdio.c: Likewise.
12074 2011-09-09 Ulrich Drepper <drepper@gmail.com>
12076 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12078 2011-07-03 Andreas Jaeger <aj@suse.de>
12080 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
12081 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
12082 regenerate with gen-libm-tests.pl.
12084 2010-05-12 Petr Baudis <pasky@suse.cz>
12087 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
12088 around j0() zero points by switching to j1().
12089 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12090 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12091 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12092 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12094 2011-09-09 Ulrich Drepper <drepper@gmail.com>
12096 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
12098 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
12100 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12101 Patch in part by Pavel Roskin <proski@gnu.org>.
12104 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
12106 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
12107 Free memory block if necessary.
12110 * libio/genops.c (INTDEF): For string streams the _lock pointer can
12111 be NULL. Don't lock in this case.
12113 2011-09-09 Roland McGrath <roland@hack.frob.com>
12115 * elf/elf.h (ELFOSABI_GNU): New macro.
12116 (ELFOSABI_LINUX): Define to that.
12118 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
12120 * string/strncat.c (strncat): Undef the symbol in case it has been
12121 defined in bits/string.h.
12123 2011-09-09 Ulrich Drepper <drepper@gmail.com>
12125 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
12127 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
12130 2011-08-17 Andreas Jaeger <aj@suse.de>
12132 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
12134 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
12135 Ian Lance Taylor <iant@google.com>
12137 * math/libm-test.inc (lround_test): New testcase.
12138 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
12140 2011-09-08 Ulrich Drepper <drepper@gmail.com>
12142 * Makefile: Remove support for automatic cvs check-ins.
12143 * Makerules: Likewise.
12144 * config.make.in: Likewise.
12145 * configure.in: Likewise.
12146 * intl/Makefile: Likewise.
12147 * locale/Makefile: Likewise.
12148 * po/Makefile: Likewise.
12149 * posix/Makefile: Likewise.
12150 * sysdeps/gnu/Makefile: Likewise.
12151 * sysdeps/mach/hurd/Makefile: Likewise.
12152 * sysdeps/sparc/sparc32/Makefile: Likewise.
12155 * posix/Makefile (bug-regex32-ENV): Define.
12156 Patch by John Stanley <jpsinthemix@verizon.net>.
12158 * misc/Makefile (headers): Add bits/select2.h.
12159 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
12160 * misc/bits/select2.h: New file.
12161 * include/bits/select2.h: New file.
12162 * debug/Makefile (routines): Add fdelt_chk.
12163 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
12164 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
12166 * debug/fdelt_chk.c: New file.
12168 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
12169 * wcsmbs/test-wmemcmp.c: Likewise.
12170 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
12171 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
12173 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12175 * string/Makefile (strop-tests): Add memcmp.
12176 * string/test-wmemcmp.c: New file.
12177 * string/test-memcmp.c: Add wmemcmp support.
12179 2011-09-08 Roland McGrath <roland@hack.frob.com>
12182 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
12185 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
12186 garbage value in a __mach_port_mod_refs call in the cases of the
12187 task-self and thread-self ports.
12189 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
12191 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
12193 2011-09-08 Andreas Schwab <schwab@redhat.com>
12195 * elf/dl-load.c (lose): Check for non-null L.
12197 2011-09-07 Ulrich Drepper <drepper@gmail.com>
12199 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
12201 * elf/dl-libc.c (dlerror_run): Pass back error code from
12205 * elf/dl-load.c (lose): Free l_origin if it is valid.
12207 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
12209 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
12210 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12211 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12212 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12213 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
12214 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
12216 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12218 * sysdeps/powerpc/fpu/e_hypot.c: New file.
12219 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
12220 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
12221 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
12222 * sysdeps/powerpc/fpu/k_cosf.c: New file.
12223 * sysdeps/powerpc/fpu/k_sinf.c: New file.
12224 * sysdeps/powerpc/fpu/s_cosf.c: New file.
12225 * sysdeps/powerpc/fpu/s_sinf.c: New file.
12226 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
12227 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
12229 2011-08-15 Alan Modra <amodra@gmail.com>
12232 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
12233 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
12234 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
12235 ppc_mcount to static-only-routines.
12236 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
12238 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
12239 __mcount_internal with usual JUMPTARGET. Remove useless nop.
12241 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
12243 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
12244 for finite and infinity parameters.
12246 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
12248 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
12249 and add nop instructions for throughput optimization.
12250 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12252 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
12254 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
12255 aligned copy for power7 with vector-scalar instructions.
12256 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12258 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
12260 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
12263 2011-09-07 Andreas Schwab <schwab@redhat.com>
12266 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
12269 2011-09-07 Ulrich Drepper <drepper@gmail.com>
12271 * sysdeps/unix/sysv/linux/x86_64/init-first.c
12272 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
12273 syscall wrapper around clock_gettime in __vdso_clock_gettime.
12274 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
12277 2011-09-06 Ulrich Drepper <drepper@gmail.com>
12279 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
12280 Forgot to demangle the pointer.
12282 * sysdeps/i386/sysdep.h: Define atom_text_section.
12283 * sysdeps/x86_64/sysdep.h: Likewise.
12284 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
12285 section with atom_text_section.
12286 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12287 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12288 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
12289 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12290 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
12292 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
12293 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
12294 already be defined. Change to take two parameters and don't assign
12295 result to variable. Adjust all users.
12296 Define INTERNAL_GETTIME if not already defined.
12297 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
12299 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
12300 HAVE_CLOCK_GETTIME_VSYSCALL.
12301 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
12303 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
12304 gettimeofday vsyscall, just use time.
12306 2011-09-06 Andreas Schwab <schwab@redhat.com>
12308 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
12311 2011-09-06 Ulrich Drepper <drepper@gmail.com>
12313 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
12315 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
12317 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
12318 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
12319 syscall if possible.
12321 2011-09-05 Ulrich Drepper <drepper@gmail.com>
12323 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
12324 e_ident. Don't pass to find_mapsXX.
12325 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
12327 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12329 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12330 strchr-sse2-no-bsf strrchr-sse2-no-bsf
12331 * sysdeps/x86_64/multiarch/strchr.S: Update.
12332 Check bit_slow_BSF bit.
12333 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12334 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
12335 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
12337 2011-09-05 Ulrich Drepper <drepper@gmail.com>
12340 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
12342 (tryshell): Define.
12343 (__spawni): Change last parameter to be flag. Test
12344 SPAWN_XFLAGS_USE_PATH flag to use path or not.
12345 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
12346 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
12347 * posix/spawni.c: Likewise.
12348 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
12349 * posix/spawnp.c: Likewise. Change normal version to use
12350 SPAWN_XFLAGS_USE_PATH.
12351 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
12352 SPAWN_XFLAGS_TRY_SHELL.
12355 * posix/glob.h: Remove gcc 1.x support.
12358 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
12360 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12362 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12363 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
12365 * sysdeps/i386/i686/multiarch/strchr.S: New file.
12366 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
12367 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
12368 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
12369 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
12370 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
12372 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12374 * sysdeps/x86_64/wcscmp.S: New file.
12376 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
12377 wcscmp-c wcscmp-sse2
12378 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
12379 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
12380 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
12381 * wcsmbs/wcscmp.c: Allow renaming.
12383 2011-09-05 David S. Miller <davem@davemloft.net>
12385 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
12386 stack slot, rather than the struct return pointer slot.
12387 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
12388 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
12389 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
12390 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
12392 2011-09-05 Ulrich Drepper <drepper@gmail.com>
12394 * po/ja.po: Update from translation team.
12397 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
12398 kernel in 64-bit binaries.
12400 2011-09-01 David S. Miller <davem@davemloft.net>
12402 * elf/elf.h (HWCAP_SPARC_*): Move to..
12403 * sysdeps/sparc/sysdep.h: this new file and add new values.
12404 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
12405 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
12406 _DL_HWCAP_COUNT to 24.
12407 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12409 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
12410 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
12411 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
12412 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
12413 instead of magic constants.
12414 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12416 2011-08-31 David S. Miller <davem@davemloft.net>
12418 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
12419 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
12420 Reimplement to do errno handling inline.
12421 (SYSCALL_ERROR_HANDLER): New macro.
12422 (__SYSCALL_STRING): Do not do errno handling in asm.
12423 (__CLONE_SYSCALL_STRING): Delete.
12424 (__INTERNAL_SYSCALL_STRING): Delete.
12425 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
12426 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
12427 (PSEUDO): Reimplement to do errno handling inline.
12428 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
12429 (SYSCALL_ERROR_HANDLER): New macro.
12430 (__SYSCALL_STRING): Do not do errno handling in asm.
12431 (__CLONE_SYSCALL_STRING): Delete.
12432 (__INTERNAL_SYSCALL_STRING): Delete.
12433 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
12434 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
12436 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
12437 (inline_syscall*): Add 'err' argument.
12438 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
12439 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
12440 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
12441 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
12443 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
12444 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
12446 2011-08-30 Andreas Schwab <schwab@redhat.com>
12448 * elf/rtld.c (dl_main): Relocate objects in dependency order.
12450 2011-08-29 Jiri Olsa <jolsa@redhat.com>
12452 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
12455 2011-08-24 David S. Miller <davem@davemloft.net>
12457 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
12459 2011-08-24 Andreas Schwab <schwab@redhat.com>
12461 * elf/Makefile: Add rules to build and run unload8 test.
12462 * elf/unload8.c: New file.
12463 * elf/unload8mod1.c: New file.
12464 * elf/unload8mod1x.c: New file.
12465 * elf/unload8mod2.c: New file.
12466 * elf/unload8mod3.c: New file.
12468 * elf/dl-close.c (_dl_close_worker): Reset private search list if
12471 2011-08-23 David S. Miller <davem@davemloft.net>
12473 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
12474 subtract stack bias.
12475 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
12476 %sp not %fp in calculations.
12477 (_JMPBUF_UNWINDS_ADJ): Likewise.
12479 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
12480 (aio_suspend): Call it to force an exception region around the
12481 AIO_MISC_WAIT() invocation.
12483 2011-08-23 Andreas Schwab <schwab@redhat.com>
12485 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
12488 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
12490 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
12492 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
12493 and <dl-machine.h>.
12494 (Elf64_FuncDesc): Remove.
12496 2011-08-22 David S. Miller <davem@davemloft.net>
12498 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
12499 sigaltstack check, add missing cfi directives.
12500 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
12501 missing cfi directives, and sigaltstack handling.
12503 2011-08-16 Andreas Schwab <schwab@redhat.com>
12506 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
12507 object is seen twice.
12508 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12510 * elf/Makefile (distribute): Add tst-initorder2.c.
12511 (tests): Add tst-initorder2.
12512 (modules-names): Add tst-initorder2a tst-initorder2b
12513 tst-initorder2c tst-initorder2d. Add rules to build them.
12514 ($(objpfx)tst-initorder2.out): New rule.
12515 * elf/tst-initorder2.c: New file.
12516 * elf/tst-initorder2.exp: New file.
12518 2011-08-22 Andreas Schwab <schwab@redhat.com>
12520 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
12522 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
12523 dependencies back to end of function.
12525 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
12526 $(elfobjdir)/ld.so.
12528 2011-08-21 Ulrich Drepper <drepper@gmail.com>
12530 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
12531 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
12532 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
12533 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
12534 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
12535 of __vdso_gettimeofday.
12536 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
12537 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
12539 (_libc_vdso_platform_setup): Remove initialization of
12540 __vdso_gettimeofday and __vdso_time.
12542 2011-08-20 Ulrich Drepper <drepper@gmail.com>
12544 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
12545 and fgetc_unlocked.
12546 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
12549 * elf/dl-open.c (add_to_global): Report additions to the global scope
12550 for LD_DEBUG=scopes.
12551 (dl_open_worker): Also print scope of newly loaded dependencies.
12552 (_dl_show_scope): Indicate if there is no scope.
12555 * stdio-common/Makefile (tests): Add bug24.
12556 * stdio-common/bug24.c: New file.
12558 2011-08-19 Andreas Jaeger <aj@suse.de>
12561 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
12562 non-existant file when using close-on-exec mode.
12564 2011-08-20 Ulrich Drepper <drepper@gmail.com>
12566 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
12567 the very first instruction.
12569 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
12570 the CFI state in the end.
12571 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
12572 inclusion of dl-trampoline.h.
12573 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
12575 2011-08-19 Andreas Schwab <schwab@redhat.com>
12577 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
12578 expectations for long double.
12580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
12581 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
12583 2011-08-14 David S. Miller <davem@davemloft.net>
12585 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
12586 artificual limit depends upon the system page size.
12588 2011-08-17 Ulrich Drepper <drepper@gmail.com>
12590 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
12591 * resolv/Makefile: Define CFLAGS-libresolv.
12593 2011-08-17 Andreas Schwab <schwab@redhat.com>
12595 * nss/makedb.c (compute_tables): Make variables used in nested
12598 2011-08-17 Ulrich Drepper <drepper@gmail.com>
12600 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
12601 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
12602 if buffer was too small.
12604 * elf/pldd.c (main): Attach to all threads in the process.
12605 Rewrite /proc handling to use *at functions.
12607 2011-08-16 Ulrich Drepper <drepper@gmail.com>
12609 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
12610 specifies first scope to show.
12611 (dl_open_worker): Update callers. Move printing scope of new
12612 object to before the relocation.
12613 * elf/rtld.c (dl_main): Update _dl_show_scope call.
12614 * sysdeps/generic/ldsodefs.h: Update declaration.
12616 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
12617 string for the scope number.
12619 2011-08-14 Ulrich Drepper <drepper@gmail.com>
12621 * nscd/servicescache.c (cache_addserv): Make sure written is always
12624 2011-08-14 Roland McGrath <roland@hack.frob.com>
12626 * sysdeps/i386/i486/bits/atomic.h
12627 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
12628 statement expression, so as to suppress "set but not used" warning.
12629 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
12631 * string/strncat.c (STRNCAT): Use prototype definition.
12633 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
12634 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
12636 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
12637 (localedef-modules): Add localedef.
12638 (locale-modules): Add locale.
12640 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
12641 * elf/rtld.c (dl_main): Invert order of assignment in last change,
12642 to avoid a warning.
12644 2011-08-14 David S. Miller <davem@davemloft.net>
12646 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
12647 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
12649 2011-08-13 Ulrich Drepper <drepper@gmail.com>
12651 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
12652 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
12653 * elf/rtld.c (dl_main): Set l_name of vDSO.
12654 Call _dl_show_scope when DL_DEBUG_SCOPES.
12655 (process_dl_debug): Recognize scopes flag and also set it for all.
12656 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
12657 Declare _dl_show_scope.
12659 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
12660 (do_dlopen): Pass caller_dlopen to dl_open.
12661 (__libc_dlopen_mode): Initialize caller_dlopen.
12663 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
12664 of libc. Make tolower call locale-independent. Optimize a bit by
12665 using isdigit instead of isalnum.
12666 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
12668 2011-08-12 Ulrich Drepper <drepper@gmail.com>
12670 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
12671 was a dependency or dynamically loaded.
12673 2011-08-11 Ulrich Drepper <drepper@gmail.com>
12675 * intl/l10nflist.c: Allow architecture-specific pop function.
12676 * sysdeps/x86_64/l10nflist.c: New file.
12678 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
12681 2011-08-10 Andreas Schwab <schwab@redhat.com>
12683 * include/dirent.h: Add libc_hidden_proto for scandirat and
12684 scandirat64. Don't declare __scandirat64.
12685 * dirent/scandirat.c: Add libc_hidden_def.
12686 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
12687 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
12689 2011-08-10 David S. Miller <davem@davemloft.net>
12691 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
12693 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12694 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12695 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12697 2011-08-09 Ulrich Drepper <drepper@gmail.com>
12699 * Versions.def [libc]: Add GLIBC_2.15.
12700 * dirent/Makefile (routines): Add scandirat and scandirat64.
12701 * dirent/Versions [libc]: Export scandirat and scandirat64 for
12703 * dirent/dirent.h: Declare scandirat and scandirat64.
12704 * dirent/scandirat.c: New file.
12705 * dirent/scandirat64.c: New file.
12706 * sysdeps/wordsize-64/scandirat.c: New file.
12707 * sysdeps/wordsize-64/scandirat64.c: New file.
12708 * dirent/opendir.c: Define opendirat.
12709 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
12711 * dirent/scandir64.c: Adjust for scandir.c change.
12712 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
12713 __scandirat64, and __scandir_cancel_handler.
12714 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
12715 additional parameter and use openat instead of open (outside of ld.so).
12716 Add new __opendir as wrapper around __opendirat.
12717 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
12718 here without requiring old scandirat implementation.
12720 2011-08-08 Ulrich Drepper <drepper@gmail.com>
12722 * dirent/scandir.c (cancel_handler): Renamed to
12723 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
12724 defined. Adjust users.
12725 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
12726 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
12728 2011-08-04 Ulrich Drepper <drepper@gmail.com>
12730 * string/test-string.h (IMPL): Use __STRING to expand name and then
12733 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
12736 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12738 * string/Makefile: Update.
12739 (strop-tests): Append strncat.
12740 * string/test-wcscmp.c: New file.
12741 New comprehensive test for wcscmp.
12742 * string/test-strcmp.c: Update.
12743 (WIDE): New define.
12745 2011-07-22 Andreas Schwab <schwab@redhat.com>
12747 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
12750 2011-07-26 Andreas Schwab <schwab@redhat.com>
12752 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12753 encoding to ACE if AI_IDN.
12755 2011-08-01 Jakub Jelinek <jakub@redhat.com>
12757 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
12758 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
12760 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12762 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
12763 Fix overflow bug in strncat.
12764 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
12766 * string/test-strncat.c: Update.
12767 Add new tests for checking overflow bugs.
12769 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12771 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12772 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
12773 * sysdeps/i386/i686/multiarch/strcat.S: New file.
12774 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
12775 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
12776 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
12777 * sysdeps/i386/i686/multiarch/strncat.S: New file.
12778 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
12779 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
12781 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
12782 (USE_AS_STRCAT): Define.
12783 Add strcat and strncat support.
12784 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12786 2011-07-25 Andreas Schwab <schwab@redhat.com>
12788 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
12789 __n bigger than INT_MAX+1.
12790 (__strncmp_g): Likewise.
12792 2011-07-23 Ulrich Drepper <drepper@gmail.com>
12794 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
12795 * libio/stido.h: Likewise.
12797 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
12799 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
12802 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
12803 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12804 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12805 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
12806 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12809 * scripts/test-installation.pl: Don't expect libnss_test1 to be
12812 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
12814 (_dl_x86_64_save_sse): Likewise.
12816 2011-07-22 Ulrich Drepper <drepper@gmail.com>
12818 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
12820 (_dl_x86_64_save_sse): Likewise.
12822 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
12824 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
12826 2011-07-21 Andreas Schwab <schwab@redhat.com>
12828 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
12830 (_dl_x86_64_save_sse): Use correct AVX check.
12832 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12834 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
12835 bug in strncpy/strncat.
12836 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
12838 2011-07-21 Ulrich Drepper <drepper@gmail.com>
12840 * string/tester.c (test_strcat): Add tests for different alignments
12841 of source and destination.
12842 (test_strncat): Likewise.
12844 2011-07-20 Ulrich Drepper <drepper@gmail.com>
12847 * posix/glob.c (glob): Check passed in values before using them in
12848 expressions to avoid some overflows.
12849 (glob_in_dir): Likewise.
12852 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
12853 check for AVX enablement so that we don't crash with old kernels and
12855 * elf/tst-audit4.c: Add same checks here.
12856 * elf/tst-audit6.c: Likewise.
12858 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
12860 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
12862 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
12864 2011-07-20 Ulrich Drepper <drepper@gmail.com>
12866 * po/cs.po: Update from translation team.
12867 * po/bg.po: Likewise.
12869 2011-07-12 Marek Polacek <mpolacek@redhat.com>
12871 * misc/sys/cdefs.h: Add support for const attribute.
12872 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
12873 to gnu_dev_{major,minor,makedev} functions.
12875 2011-07-20 Marek Polacek <mpolacek@redhat.com>
12877 * intl/dcigettext.c (get_output_charset): Add missing bracket.
12879 2011-07-20 Andreas Schwab <schwab@redhat.com>
12881 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
12884 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12886 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
12887 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
12888 register in order to avoid conflicts with the soft frame pointer
12889 being held in r11 when necessary.
12890 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
12891 (INTERNAL_VSYSCALL_NCS): Likewise.
12893 2011-07-14 Marek Polacek <mpolacek@redhat.com>
12895 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
12896 * elf/dl-fini.c (_dl_fini): Adjust caller.
12897 * elf/dl-close.c (_dl_close_worker): Likewise.
12898 * sysdeps/generic/ldsodefs.h: Adjust declaration.
12900 2011-07-15 Marek Polacek <mpolacek@redhat.com>
12902 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
12903 "aux_cache->nlibs < 0".
12905 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
12906 in the reload-count case.
12908 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12910 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12911 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
12912 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
12913 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
12914 * sysdeps/x86_64/multiarch/strcat.S: New file.
12915 * sysdeps/x86_64/multiarch/strncat.S: New file.
12916 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
12917 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
12918 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
12919 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
12920 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
12921 (USE_AS_STRCAT): Define.
12922 Add strcat and strncat support.
12923 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12924 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12925 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
12926 * string/strncat.c: Update.
12927 (USE_AS_STRNCAT): Define.
12928 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12929 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
12931 * sysdeps/x86_64/multiarch/init-arch.h
12932 (bit_Prefer_PMINUB_for_stringop): New.
12933 (index_Prefer_PMINUB_for_stringop): Likewise.
12934 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
12935 bit_Prefer_PMINUB_for_stringop.
12937 2011-07-19 Ulrich Drepper <drepper@gmail.com>
12939 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
12941 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
12942 of casting of buffer.
12943 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
12944 buffer32 and buffer64.
12945 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
12946 writes instead of casting of buffer.
12947 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
12949 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
12952 2011-07-19 Andreas Schwab <schwab@redhat.com>
12954 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
12956 2011-07-19 Ulrich Drepper <drepper@gmail.com>
12958 * nscd/nscd.c (termination_handler): Don't do anything for a database
12959 if it has not yet been initialized.
12961 2011-07-18 Ulrich Drepper <drepper@gmail.com>
12963 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
12965 2011-07-15 Marek Polacek <mpolacek@redhat.com>
12967 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
12969 2011-07-18 Ulrich Drepper <drepper@gmail.com>
12971 * po/nl.po: Update from translation team.
12972 * po/sv.po: Likewise.
12974 2011-07-16 Roland McGrath <roland@hack.frob.com>
12976 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
12977 now disallowed by GCC.
12979 * configure.in (use-default-link): Default to yes if a test -shared
12980 link meets our qualifications.
12981 * configure: Regenerated.
12983 * config.make.in (output-format): New variable.
12984 * configure.in: Check for ld --print-output-format support.
12985 * configure: Regenerated.
12986 * Makerules ($(common-objpfx)format.lds)
12987 [$(output-format) != unknown]: Just use $(output-format),
12988 instead of the linker-script munging.
12990 2011-07-14 Roland McGrath <roland@hack.frob.com>
12992 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
12993 of $(common-objpfx)shlib.lds.
12994 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
12996 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
12997 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
12999 * configure.in (-z relro check): Adjust test code to add a large
13000 writable data section after it.
13001 * configure: Regenerated.
13003 2011-07-11 Roland McGrath <roland@hack.frob.com>
13005 * configure.in (-z relro check): Fix test code to make the variable
13007 * configure: Regenerated.
13009 2011-07-11 Ulrich Drepper <drepper@gmail.com>
13011 * nscd/nscd.h (struct traced_file): Define.
13012 (struct database_dyn): Remove inotify_descr, reset_res, and filename
13013 elements. Add traced_files.
13014 (inotify_fd): Declare.
13015 (register_traced_file): Declare.
13016 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
13017 (inotify_fd): Export.
13018 (resolv_conf_descr): Remove.
13019 (nscd_init): Move inotify descriptor creation to main.
13020 Don't register files for notification here.
13021 (register_traced_file): New function.
13022 (invalidate_cache): Don't use reset_res to determine whether to call
13023 res_init, go through the list of registered files.
13024 (main_loop_poll): The inotify descriptors are now stored in the
13025 structures for the traced files.
13026 (main_loop_epoll): Likewise
13027 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
13028 to __nss_disable_nscd.
13029 * nscd/cache.c (prune_cache): There is no single inotify descriptor
13030 for a database anymore. Check the records for all the registered
13032 * nss/Makefile (libnss_files-routines): Add files-init.
13033 (libnss_db-routines): Add db-init.
13034 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
13035 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
13036 * nss/nss_db/db-init.c: New file.
13037 * nss/nss_files/files-init.c: New file.
13038 * nss/nsswitch.c (nss_load_library): New function. Broken out of
13039 __nss_lookup_function.
13040 (__nss_lookup_function): Call nss_load_library.
13041 (nss_load_all_libraries): New function.
13042 (__nss_disable_nscd): Take parameter with callback function for files
13043 to register. Set is_nscd. Load all the DSOs for the NSS modules
13044 used for the cached services.
13045 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
13046 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
13047 options for features to all the files in nscd.
13049 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
13051 2011-07-10 Roland McGrath <roland@hack.frob.com>
13053 * csu/elf-init.c (__libc_csu_init): Comment typo.
13055 2011-07-09 Ulrich Drepper <drepper@gmail.com>
13057 * po/pl.po: Update from translation team.
13058 * po/ja.po: Likewise.
13059 * po/ru.po: Likewise.
13060 * po/ko.po: Likewise.
13061 * po/fr.po: Likewise.
13063 2011-07-09 Roland McGrath <roland@hack.frob.com>
13065 * configure.in (.ctors/.dtors header and trailer check):
13066 Use an empirical test on a built program.
13067 * configure: Regenerated.
13069 * configure.in (-z relro check): Use an empirical test on a built DSO.
13070 Detect, but do not require, on ia64.
13071 * configure: Regenerated.
13073 * configure.in (READELF): Find it with AC_CHECK_TOOL.
13074 Update tests that use readelf to use $READELF instead.
13075 * configure: Regenerated.
13077 2011-07-08 Ulrich Drepper <drepper@gmail.com>
13079 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
13080 if the result is not used.
13082 2011-07-05 Andreas Jaeger <aj@suse.de>
13085 * stdlib/tst-strtod.c: Add testcase.
13087 2011-07-07 Ulrich Drepper <drepper@gmail.com>
13089 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
13090 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
13091 The latter has a higher limit. Take additional parameter to pass to
13093 (__pathconf): Pass file to __statfs_link_max.
13094 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
13096 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
13100 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
13101 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13103 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
13104 (__statfs_filesize_max): Likewise.
13105 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
13107 2011-07-05 Andreas Jaeger <aj@suse.de>
13109 * resolv/res_comp.c (dn_skipname): Remove unused variable.
13111 2011-07-06 Marek Polacek <mpolacek@redhat.com>
13113 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
13115 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
13118 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
13120 * Makefile (strop-tests): Add strncat.
13121 * string/test-strncat.c: New file.
13123 2011-06-30 Marek Polacek <mpolacek@redhat.com>
13125 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
13127 2011-06-21 Andreas Jaeger <aj@suse.de>
13129 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
13130 Copy rule from iconvdata/Makefile.
13132 2011-07-06 Ulrich Drepper <drepper@gmail.com>
13135 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
13136 but no long options are defined, just return 'W'.
13138 2011-06-22 Marek Polacek <mpolacek@redhat.com>
13141 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
13143 2011-07-06 Ulrich Drepper <drepper@gmail.com>
13145 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
13147 (innetgr): Likewise.
13149 2011-07-05 Roland McGrath <roland@hack.frob.com>
13151 * config.make.in (install_root): Default to $(DESTDIR).
13153 2011-07-05 Ulrich Drepper <drepper@gmail.com>
13155 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
13157 2011-07-02 Roland McGrath <roland@hack.frob.com>
13159 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
13161 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
13162 containing directory rather than embedding absolute directory names.
13164 * scripts/check-local-headers.sh: Rewritten using awk.
13165 Match by word, not by line. Print error messages for matches.
13166 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
13168 * Makerules [shlib-lds-flags empty]:
13169 ($(common-objpfx)libc_pic.opts): New target.
13170 ($(common-objpfx)libc_pic.os.clean): New target.
13171 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
13173 * config.make.in (OBJCOPY): New variable.
13174 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
13175 * configure: Regenerated.
13177 * config.make.in (use-default-link): New variable.
13178 * configure.in (use_default_link): Grok --with-default-link to set it.
13179 * configure: Regenerated.
13180 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
13181 (shlib-lds, shlib-lds-flags): Define to empty.
13183 * Makerules (shlib-lds): New variable.
13184 (shlib-lds-flags): New variable.
13185 (build-shlib, build-moduile, build-module-asneeded): Use it.
13186 ($(common-objpfx)libc.so): Use $(shlib-lds).
13187 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
13188 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
13190 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
13191 DT_FLAGS/DT_FLAGS_1 with zero flags.
13193 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
13194 linker script munging.
13196 2011-07-02 Ulrich Drepper <drepper@gmail.com>
13198 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
13200 * crypt/sha512.c (sha512_process_block): Perform total addition using
13201 128-bit if possible.
13202 (__sha512_finish_ctx): Likewise.
13203 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
13205 * crypt/sha256.c (SWAP64): Define.
13206 (sha256_process_block): Perform total addition using 64-bit if
13208 (__sha256_finish_ctx): Likewise.
13210 2011-07-01 Ulrich Drepper <drepper@gmail.com>
13212 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
13213 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13214 * nscd/hstcache.c (cache_addhst): Likewise.
13215 * nscd/grpcache.c (cache_addgr): Likewise.
13216 * nscd/aicache.c (addhstaiX): Likewise
13217 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
13219 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
13221 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
13222 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13223 * nscd/hstcache.c (cache_addhst): Likewise.
13224 * nscd/grpcache.c (cache_addgr): Likewise.
13225 * nscd/aicache.c (addhstaiX): Likewise
13227 2011-07-01 Andreas Schwab <schwab@redhat.com>
13229 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
13230 domain only when needed.
13232 2011-06-30 Andreas Schwab <schwab@redhat.com>
13234 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
13235 is always restored.
13237 2011-06-29 Ulrich Drepper <drepper@gmail.com>
13239 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
13240 are re-adding the entry.
13241 * nscd/servicescache.c (cache_addserv): Likewise.
13243 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
13245 * sysdeps/generic/dl-irel.h: fix protection against multiple
13247 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
13249 2011-06-28 Ulrich Drepper <drepper@gmail.com>
13252 * malloc/memusage.sh: Fix quoting in message.
13253 * debug/xtrace.sh: Likewise.
13255 * configure.in: Remove support for --experimental-malloc option, make
13257 * config.make.in: Likewise.
13258 * malloc/Makefile: Likewise.
13260 2011-06-27 Andreas Schwab <schwab@redhat.com>
13262 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
13263 two-byte characters.
13265 2011-06-27 Roland McGrath <roland@hack.frob.com>
13267 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
13268 AC_CACHE_CHECK invocation.
13269 * configure: Regenerated.
13271 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
13273 2011-06-27 Ulrich Drepper <drepper@gmail.com>
13276 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
13277 bit from old_res_options.
13279 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
13281 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
13282 value type for setfct.
13284 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
13286 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13287 __gettimeofday instead of gettimeofday.
13289 2011-06-26 Ulrich Drepper <drepper@gmail.com>
13291 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
13293 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
13295 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
13297 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
13300 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13302 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13303 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13304 strcpy-sse2-unaligned strncpy-sse2-unaligned
13305 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
13306 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
13307 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
13308 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
13309 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
13310 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
13311 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
13312 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
13313 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
13314 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
13315 (STRCPY): Support SSE2 and SSSE3 versions.
13317 2011-06-24 Ulrich Drepper <drepper@gmail.com>
13320 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
13321 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
13322 kernels which artificially limit size of requests.
13324 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13326 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13327 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13328 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
13329 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
13330 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
13331 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
13332 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
13333 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
13334 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
13335 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
13336 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
13337 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
13338 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
13339 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
13340 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
13341 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13342 Enable unaligned load optimization for Intel Core i3, i5 and i7
13344 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
13346 (index_Fast_Unaligned_Load): Define.
13347 (HAS_FAST_UNALIGNED_LOAD): Define.
13349 2011-06-23 Marek Polacek <mpolacek@redhat.com>
13351 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
13353 2011-06-22 Ulrich Drepper <drepper@gmail.com>
13356 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
13357 until it is clear that the information is realy needed.
13358 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
13360 2011-06-22 Andreas Schwab <schwab@redhat.com>
13362 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
13364 2011-06-22 Ulrich Drepper <drepper@gmail.com>
13366 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13367 /sys/devices/system/cpu/online if it is usable.
13369 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
13370 reading the information from the /proc filesystem to once a second.
13372 2011-06-21 Andreas Jaeger <aj@suse.de>
13374 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
13375 NULL after inclusion of kernel headers.
13377 2011-06-21 Ulrich Drepper <drepper@gmail.com>
13379 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
13380 calls to internal_setent.
13383 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
13384 addresses using gethostbyname4_r ignore IPv4 addresses.
13386 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
13387 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
13389 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
13391 2011-06-20 David S. Miller <davem@davemloft.net>
13393 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
13395 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
13397 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
13398 (elf_irel): Use it.
13399 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
13400 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
13401 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
13402 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
13403 * sysdeps/x86_64/dl-irel.h: Likewise.
13405 * elf/dl-runtime.c: Use elf_ifunc_invoke.
13406 * elf/dl-sym.c: Likewise.
13408 2011-06-15 Ulrich Drepper <drepper@gmail.com>
13410 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
13411 need to dereference resplen2.
13413 2011-06-14 Andreas Schwab <schwab@redhat.com>
13415 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
13417 2011-06-15 Ulrich Drepper <drepper@gmail.com>
13419 * Makeconfig: Define vardbdir and inst_vardbdir.
13420 * nss/Makefile: Add rules to install db-Makefile.
13422 * nss/nss_db/db-XXX.c: Cleanup.
13424 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
13425 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
13427 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
13428 * nss/makedb.c: Implement -g option to specify that value strings
13429 are generated and should not be added to table iterated over for
13431 * nss/nss_db/db-initgroups.c: New file.
13433 * nss/getent.c: Add support for initgroups lookups through getgrouplist
13436 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
13437 (internal_getgrouplist): Adjust to name change.
13438 Update use_initgroups_entry if this is not the first call.
13439 * nss/databases.def: Add initgroups entry.
13441 * nss/makedb.c (compute_tables): Check result of multiple hash table
13442 sizes to minimize maximum chain length.
13444 2011-06-14 Ulrich Drepper <drepper@gmail.com>
13446 * Versions.def: Add entry for libnss_db.
13447 * shlib-versions: Likewise.
13448 * nss/Makefile: Add rules to build libnss_db.
13449 * nss/Versions: Add libnss_db information. Organize libnss_files
13451 * nss/db-Makefile: Add gshadow support. Change rules for the new
13452 makedb progra. Some minor improvements to generate smaller files.
13453 * nss/nss_db/nss_db.h: Move NSS database header data structures to
13455 * nss/makedb.c: ...here.
13456 Improve database format to be smaller and require less memory at
13458 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
13460 * nss/nss_db/db-netgrp.c: Likewise.
13461 * nss/nss_db/db-open.c: Likewise.
13462 * nss/nss_files/flies-XXX.x: Adjust comments.
13463 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
13464 * nss/nss_files/files-grp.c: Likewise.
13465 * nss/nss_files/files-hosts.c: Likewise.
13466 * nss/nss_files/files-network.c: Likewise.
13467 * nss/nss_files/files-proto.c: Likewise.
13468 * nss/nss_files/files-pwd.c: Likewise.
13469 * nss/nss_files/files-rpc.c: Likewise.
13470 * nss/nss_files/files-service.c: Likewise.
13471 * nss/nss_files/files-sgrp.c: Likewise.
13472 * nss/nss_files/files-spwd.c: Likewise.
13473 * nss/nss_db/db-alias.c: Removed.
13474 * nss/nss_db/dummy-db.h: Removed.
13476 2011-06-02 Ulrich Drepper <drepper@gmail.com>
13478 * nss/makedb.c: Rewritten to not use database library.
13479 * nss/Makefile: Update to build new makedb program.
13481 2011-06-14 Andreas Jaeger <aj@suse.de>
13483 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
13484 memset declaration.
13486 2011-06-10 Andreas Schwab <schwab@redhat.com>
13488 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
13491 2011-06-10 Roland McGrath <roland@hack.frob.com>
13493 * Makerules (shlib.lds): Fail if the linker script comes out empty.
13494 * elf/Makefile ($(objpfx)ld.so): Likewise.
13496 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
13497 Don't list ld.so twice in dependencies.
13499 * posix/bug-regex31.c: Include <stdlib.h>.
13501 * nscd/hstcache.c (cache_addhst): Remove unused variable.
13503 * nis/nss_compat/compat-spwd.c
13504 (getspent_next_nss_netgr): Remove unused variable.
13505 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
13507 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
13508 nonmembers" output to use the right array.
13510 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
13512 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
13514 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
13515 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
13516 * catgets/gencat.c (read_input_file): Likewise.
13517 * locale/programs/locarchive.c (enlarge_archive): Likewise.
13519 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
13520 variable definition inside #if's controlling its use.
13522 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
13524 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
13526 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
13528 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
13531 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
13533 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
13534 * configure: Regenerated.
13536 * Makerules: Revert last change.
13537 * elf/Makefile: Likewise.
13539 2011-06-09 Roland McGrath <roland@hack.frob.com>
13541 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
13542 * elf/Makefile ($(objpfx)librtld.os): Likewise.
13543 (reloc-link): Likewise.
13545 2011-06-09 Ulrich Drepper <drepper@gmail.com>
13547 * elf/Makefile: Add rules to build pldd.
13548 * elf/pldd.c: New file.
13549 * elf/pldd-xx.c: New file.
13551 2011-06-07 Ulrich Drepper <drepper@gmail.com>
13553 * version.h: Update for 2.15 development version.
13555 2011-06-07 David S. Miller <davem@davemloft.net>
13557 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
13559 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
13560 elf_machine_lazy_rel): Likewise.
13561 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
13562 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
13563 elf_machine_lazy_rel): Likewise.
13564 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
13565 dl_hwcap via passed in argument.
13566 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
13569 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13571 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
13573 2011-06-06 Roland McGrath <roland@hack.frob.com>
13576 * manual/fdl-1.1.texi: New file, verbatim from:
13577 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
13578 * manual/lgpl-2.1.texi: New file, verbatim from:
13579 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
13580 * manual/Makefile (licenses): New variable, list those new file names.
13582 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
13584 * manual/fdl.texi: File removed.
13585 * manual/lesser.texi: File removed.
13586 * manual/libc.texinfo (Copying, Documentation License):
13587 Use new @include file names, put @appendix directive before @include.
13589 2011-06-04 Jakub Jelinek <jakub@redhat.com>
13592 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
13593 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
13594 (mq_open): Add __NTH.
13596 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
13598 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13599 Assume Intel Core i3/i5/i7 processor if AVX is available.
13601 2011-05-31 Ulrich Drepper <drepper@gmail.com>
13603 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13606 2011-05-31 Andreas Schwab <schwab@redhat.com>
13608 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
13609 memory. Use alloca_account. Fix memory leak when retrying.
13611 2011-05-31 Ulrich Drepper <drepper@gmail.com>
13613 * version.h (RELEASE): Bump for 2.14 release.
13614 * include/features.h (__GLIBC_MINOR__): Bump to 14.
13616 * config.make.in (RANLIB): Remove entry.
13618 2011-05-30 Ulrich Drepper <drepper@gmail.com>
13620 * po/Makefile (po-sed-cmd): Add ksh to extensions.
13621 (libc.pot): Work around missing support for .ksh extension in xgettext.
13624 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
13625 if both request failed.
13626 (send_dg): In case of server errors clear resplen or *resplen2.
13629 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
13630 when there are multiple maps.
13631 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
13632 (_dl_fini): Remove test here.
13634 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
13636 2011-05-29 Ulrich Drepper <drepper@gmail.com>
13639 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
13640 bit from old_res_options.
13641 (gaih_inet): Likewise.
13644 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
13647 * resolv/res_init.c (res_setoptions): Make the code more compact.
13650 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
13654 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
13656 * malloc/malloc.h: Mark malloc hook variables as deprecated.
13659 * malloc/malloc.h: Declare malloc hook variables as volatile.
13661 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
13665 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
13666 raise in the comment.
13667 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
13668 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13669 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
13671 2011-05-28 Ulrich Drepper <drepper@gmail.com>
13674 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
13675 grow the buffers more if it already has to be sufficient.
13676 (build_wcs_upper_buffer): Likewise.
13677 * posix/regexec.c (check_matching): Likewise.
13678 (clean_state_log_if_needed): Likewise.
13679 (extend_buffers): Don't enlarge buffers beyond size of the input
13681 Patches mostly by Emil Wojak <emil@wojak.eu>.
13682 * posix/bug-regex32.c: New file.
13683 * posix/Makefile (tests): Add bug-regex32.
13685 * locale/findlocale.c (_nl_find_locale): Return right away if
13686 _nl_explode_name failed.
13687 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
13689 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
13691 * debug/xtrace.sh: Unify messages.
13692 * malloc/memusage.sh: Likewise.
13695 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
13696 time symbol from vDSO. Substitute with vsyscall if not available.
13697 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
13700 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
13701 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
13702 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
13703 Add sendmmsg and internal_sendmmsg.
13704 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
13705 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
13706 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
13708 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
13709 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
13710 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
13712 2011-05-27 Ulrich Drepper <drepper@gmail.com>
13715 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
13716 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
13718 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
13722 * iconvdata/Makefile (tests): Add bug-iconv9.
13723 * iconvdata/bug-iconv9.c: New file.
13725 2011-05-27 Andreas Schwab <schwab@redhat.com>
13728 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
13730 2011-05-25 Jakub Jelinek <jakub@redhat.com>
13732 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13733 (struct user_regs_struct): Change intcs field back to cs.
13735 2011-05-25 Ulrich Drepper <drepper@gmail.com>
13737 * po/ja.po: Update from translation team.
13739 2011-05-23 Ulrich Drepper <drepper@gmail.com>
13742 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
13743 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
13745 2011-05-20 Andreas Schwab <schwab@redhat.com>
13747 * stdlib/longlong.h: Update from GCC.
13749 2011-05-23 Andreas Schwab <schwab@redhat.com>
13751 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
13753 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
13754 Add parameter name.
13755 (__sysconf): Pass it down.
13757 2011-05-22 Ulrich Drepper <drepper@gmail.com>
13760 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
13762 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
13763 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
13764 add in in __libc_use_alloca calls. Adjust callers.
13765 (glob): Use malloc in some situations.
13767 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
13768 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
13771 2011-05-21 Ulrich Drepper <drepper@gmail.com>
13773 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
13774 and CLOCK_BOOTTIME_ALARM.
13777 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
13780 * string/_strerror.c (__strerror_r): Print negative errors as signed
13784 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
13785 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
13786 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
13788 * configure.in: Fix typo in redirection and correct removal of test
13789 files in two cases.
13792 * locale/setlocale.c (new_composite_name): Fix test to check for
13793 identical name of all categories.
13796 * libio/filedoalloc.c (local_isatty): New function.
13797 (_IO_file_doallocate): Use local_isatty.
13798 * stdio-common/perror.c (perror): In case a new stream is used
13799 forward the stream error.
13800 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
13803 2011-05-20 Ulrich Drepper <drepper@gmail.com>
13806 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
13808 * include/alloca.h (extend_alloca_account): Define.
13811 * posix/regex.h: Fix comments with documentation of user-accessible
13812 fields after compilation and describe correct free'ing of pattern
13813 after re_compile_pattern.
13814 Patch by Reuben Thomas <rrt@sc3d.org>.
13816 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
13818 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
13819 and -mno-altivec to prevent the compiler from using Altivec and/or
13820 VSX instructions when the corresponding registers are not available.
13822 2011-05-19 Andreas Schwab <schwab@redhat.com>
13824 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
13826 2011-05-19 Ulrich Drepper <drepper@gmail.com>
13828 * libio/freopen.c (freopen): Use __dup2, not dup2.
13829 * libio/freopen64.c (freopen64): Likewise.
13831 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
13834 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
13835 * math/Makefile (tests): Add test-powl.
13836 (CFLAGS-test-powl.c): Define.
13837 * math/test-powl.c: New file.
13839 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
13841 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
13843 2011-05-17 Ulrich Drepper <drepper@gmail.com>
13846 * iconvdata/gb18030.c: Update to GB18020-2005.
13848 2011-05-16 Ulrich Drepper <drepper@gmail.com>
13850 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
13851 RE_SYNTAX_POSIX_AWK): Update to match recent development.
13852 Patch by Aharon Robbins <arnold@skeeve.com>.
13855 * stdlib/putenv.c (putenv): Don't always create copy of the variable
13859 * misc/pselect.c (__pselect): Handle timeout value errors hidden
13860 through underflows.
13863 * misc/error.c (error_at_line): Ensure file_name and old_file_name
13864 point to strings before performing equality test for error_one_per_line
13868 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
13871 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13872 (struct user_fpregs_struct): Avoid __uint*_t types.
13875 * malloc/mtrace.c (tr_where): Add additional parameter to point to
13876 symbol info. Use it instead of calling _dl_addr locally.
13877 (lock_and_info): New function.
13878 (tr_freehook): Call lock_and_info and pass symbol info as additional
13879 parameter to tr_where.
13880 (tr_mallochook): Likewise.
13881 (tr_reallochook): Likewise.
13882 (tr_memalignhook): Likewise.
13884 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
13885 used and couldn't be at all thread-safe.
13887 2011-05-15 Ulrich Drepper <drepper@gmail.com>
13889 * libio/freopen.c (freopen): Don't close old file descriptor
13890 before the new one is opened. Instead dup the new file descriptor
13891 to the old one after the new stream is created.
13892 * libio/freopen64.c (freopen64): Likewise.
13893 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
13894 * libio/fileops.c (_IO_new_file_close_it): Handle new
13895 _IO_FLAGS2_NOCLOSE flag.
13896 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
13897 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
13898 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
13899 _IO_FLAGS2_NOCLOSE flag.
13900 * include/unistd.h: Add hidden_proto for dup3.
13901 Define __have_dup3.
13902 * io/dup3.c: Define hidden symbol.
13903 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
13906 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
13907 when an incomplete long option is used.
13908 * posix/tst-getopt_long1.c: New file.
13909 * posix/Makefile (tests): Add tst-getopt_long1.
13912 * scripts/config.guess: Update from autoconf-2.68.
13913 * scripts/config.sub: Likewise.
13916 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
13918 (has_cpuclock): ...this. New function.
13919 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
13920 macro here based on has_cpuclock code.
13923 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13924 First byte (not low byte) is now always NUL.
13925 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
13927 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13928 Use non-cancelable interfaces.
13931 * locale/iso-639.def: Add entry for Sorani.
13934 * include/stdlib.h: Move include protection to the right place.
13935 Define abort_msg_s. Declare __abort_msg with it.
13936 * stdlib/abort.c (__abort_msg): Adjust type.
13937 * assert/assert.c (__assert_fail_base): New function. Majority
13938 of code from __assert_fail. Allocate memory for __abort_msg with
13940 (__assert_fail): Now call __assert_fail_base.
13941 * assert/assert-perr.c: Remove bulk of implementation. Use
13942 __assert_fail_base.
13943 * include/assert.hL Declare __assert_fail_base.
13944 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
13946 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
13948 2011-05-14 Ulrich Drepper <drepper@gmail.com>
13952 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
13953 until all modules are registered in the DTV.
13954 * elf/Makefile: Add rules to build and run tst-tls19.
13955 * elf/tst-tls19.c: New file.
13956 * elf/tst-tls19mod1.c: New file.
13957 * elf/tst-tls19mod2.c: New file.
13958 * elf/tst-tls19mod3.c: New file.
13959 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
13962 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
13966 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
13967 two-byte sequence errors.
13968 * iconvdata/Makefile (tests): Add bug-iconv8.
13969 * iconvdata/bug-iconv8.c: New file.
13972 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
13975 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
13978 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
13979 (dummy_getcfa): New function.
13980 (init): Get _Unwind_GetCFA address, use dummy if not found.
13981 (backtrace_helper): In recursion check, also check whether CFA changes.
13982 (__backtrace): Completely initialize arg.
13984 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
13985 storing incomplete byte sequence in state object. Avoid testing for
13986 guaranteed too small input if we know there is enough data available.
13988 2011-05-11 Andreas Schwab <schwab@redhat.com>
13990 * Makeconfig (+link-pie): Indent.
13991 * Rules (binaries-pie): Define if $(have-fpie) and
13993 (binaries-shared): Also filter out $(binaries-pie).
13994 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
13995 * nscd/Makefile (others-pie): Add nscd.
13996 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
13997 ($(objpfx)nscd): Remove command override.
13998 * login/Makefile (others-pie): Add pt_chown.
13999 ($(objpfx)pt_chown): Remove command override.
14000 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
14001 remove command overrides.
14003 2011-05-13 Ulrich Drepper <drepper@gmail.com>
14005 * libio/tst_putwc.c: Fix error messages.
14008 * libio/fileops.c (_IO_new_file_close_it): Always flush when
14009 currently writing and seek to current position when not.
14010 * libio/Makefile (tests): Add bug-fclose1.
14011 * libio/bug-fclose1.c: New file.
14013 2011-05-12 Ulrich Drepper <drepper@gmail.com>
14016 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
14017 don't set DF_1_NODELETE here.
14018 (do_lookup_x): When entering new entry test for copy relocation
14019 and if necessary set DF_1_NODELETE flag.
14020 * elf/tst-unique4.cc: New file.
14021 * elf/tst-unique4.h: New file.
14022 * elf/tst-unique4lib.cc: New file.
14023 * elf/Makefile: Add rules to build and run tst-unique4.
14024 Patch by Piotr Bury <pbury@goahead.com>.
14026 2011-05-11 Ulrich Drepper <drepper@gmail.com>
14029 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
14032 * misc/mntent_r.c (addmntent): Flush the stream after the output
14035 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
14036 (is_trusted_path_normalize): Skip initial colon. Append slash
14037 to empty buffer. Duplicate is_trusted_path code but allow
14038 constructed patch to be prefix.
14039 (is_dst): Allow $ORIGIN followed by /.
14040 (_dl_dst_substitute): Correct clearing of check_for_trusted.
14041 Correct testing of result of is_trusted_path_normalize
14042 (decompose_rpath): Fix warning.
14044 2011-05-10 Ulrich Drepper <drepper@gmail.com>
14047 * grp/initgroups.c (internal_getgrouplist): When we found the service
14048 list through the initgroups entry in nsswitch.conf do not always
14049 continue on a successful lookup. Don't always use the
14050 __nss_group_database value if it is set.
14051 * nss/nsswitch.conf (initgroups): Change action for successful db
14052 lookup to continue for compatibility.
14054 2011-05-09 Ulrich Drepper <drepper@gmail.com>
14057 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
14059 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
14061 * iconvdata/tst-tables.sh: Likewise.
14062 * iconvdata/cp770.c: New file.
14063 * iconvdata/cp771.c: New file.
14064 * iconvdata/cp772.c: New file.
14065 * iconvdata/cp773.c: New file.
14066 * iconvdata/cp774.c: New file.
14067 * iconvdata/testdata/CP770: New file.
14068 * iconvdata/testdata/CP770..UTF8: New file.
14069 * iconvdata/testdata/CP771: New file.
14070 * iconvdata/testdata/CP771..UTF8: New file.
14071 * iconvdata/testdata/CP772: New file.
14072 * iconvdata/testdata/CP772..UTF8: New file.
14073 * iconvdata/testdata/CP773: New file.
14074 * iconvdata/testdata/CP773..UTF8: New file.
14075 * iconvdata/testdata/CP774: New file.
14076 * iconvdata/testdata/CP774..UTF8: New file.
14078 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
14080 * iconvdata/gen-8bit-gap.sh: Likewise.
14081 * iconvdata/gen-8bit.sh: Likewise.
14083 * locale/iso-639.def: Add ary entry.
14086 * locale/C-translit.h.in: Add U20A1 transliteration.
14089 * locale/iso-639.def: Add wae entry.
14090 Patch by Kevin Bortis <bortis@translate-wae.ch>.
14093 * locale/programs/localedef.c (construct_output_path): Use ssize_t
14097 * locale/C-translit.h.in: Add entry for U20B9.
14098 Patch by pravin.d.s@gmail.com.
14100 2011-05-08 Ulrich Drepper <drepper@gmail.com>
14103 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
14104 ENAMETOOLONG use generic getcwd.
14105 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
14106 in rtld. Use *stat64.
14107 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
14108 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
14109 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
14110 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
14111 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
14112 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
14113 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
14114 __fstatat64 macros.
14115 * include/dirent.h: Add libc_hidden_proto for rewinddir.
14116 * dirent/rewinddir.c: Add libc_hidden_def.
14117 * sysdeps/mach/hurd/rewinddir.c: Likewise.
14118 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
14120 * include/dirent.h (__alloc_dir): Add flags parameter.
14121 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
14122 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
14124 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
14125 from fdopendir if O_CLOEXEC is already set.
14127 2011-03-15 Alan Modra <amodra@gmail.com>
14129 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
14130 l_tls_firstbyte_offset non-zero. Save padding offset in
14131 l_tls_firstbyte_offset for later use.
14132 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
14133 freeing static tls block.
14135 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
14137 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
14138 where #ifdef was intended. The intent is to prevent ARG_MAX from
14139 being defined by the kernel headers.
14141 2011-05-07 Ulrich Drepper <drepper@gmail.com>
14144 * resolv/resolv.h: Define RES_NOTLDQUERY.
14145 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
14146 no-tld-query and set RES_NOTLDQUERY.
14147 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
14148 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
14149 modern BIND to search name as TLD unless forbidden.
14151 2011-05-07 Petr Baudis <pasky@suse.cz>
14152 Ulrich Drepper <drepper@gmail.com>
14155 * elf/dl-load.c (fillin_rpath): Move trusted path check...
14156 (is_trusted_path): ...to here.
14157 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
14158 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
14159 using is_trusted_path_normalize() in setuid scripts.
14161 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14163 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
14164 __BEGIN/__END_DECLS.
14166 2011-05-06 Ulrich Drepper <drepper@gmail.com>
14168 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
14169 NSS_STATUS_NOTFOUND if no record was found.
14171 2011-05-05 Andreas Schwab <schwab@redhat.com>
14173 * sunrpc/Makefile (headers): Add rpc/netdb.h.
14174 (headers-not-in-tirpc): Remove rpc/netdb.h
14175 * resolv/netdb.h: Revert last change.
14177 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14179 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
14180 circular dependency between libgcc.a and libc.a.
14182 2011-05-05 Andreas Schwab <schwab@redhat.com>
14184 * resolv/netdb.h: Don't include <rpc/netdb.h>.
14185 * nis/Makefile: Don't install rpcsvc/*.
14186 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
14187 instead of <rpc/types.h>.
14188 (MAXHOSTNAMELEN): Define.
14190 2011-05-03 Andreas Schwab <schwab@redhat.com>
14192 * elf/ldconfig.c (add_dir): Don't crash on empty path.
14194 2011-04-28 Maciej Babinski <mbabinski@google.com>
14197 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
14198 gethostbyname4_r when IPv6 results are possible.
14200 2011-05-02 Ulrich Drepper <drepper@gmail.com>
14203 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
14204 _PC_PIPE_BUF handling.
14206 2011-04-30 Bruno Haible <bruno@clisp.org>
14209 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
14210 * resolv/netdb.h (getnameinfo): Change type of flags parameter
14212 * inet/getnameinfo.c (getnameinfo): Likewise.
14214 2011-04-29 Ulrich Drepper <drepper@gmail.com>
14216 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
14217 to groups setting in database lookup.
14218 * nss/nsswitch.conf: Add initgroups entry.
14220 2011-04-22 Ulrich Drepper <drepper@gmail.com>
14223 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
14225 Patch by Eric Blake <eblake@redhat.com>.
14227 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
14229 * sunrpc/Makefile (need-export-routines): Add svc_run.
14230 (routines): Remove svc_run.
14231 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
14232 * sunrpc/clnt_perr.c (clnt_perrno): Export.
14233 * sunrpc/svc_run.c (svc_run): Likewise.
14234 * sunrpc/svc_udp.c (svcudp_create): Likewise.
14236 2011-04-21 Ulrich Drepper <drepper@gmail.com>
14238 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
14239 problem in reallocation in last patch.
14241 2011-04-20 Ulrich Drepper <drepper@gmail.com>
14243 * sunrpc/Makefile: Move inclusion of Rules.
14245 2011-04-19 Ulrich Drepper <drepper@gmail.com>
14247 * nss/nss_files/files-initgroups.c: New file.
14248 * nss/Makefile (libnss_files-routines): Add files-initgroups.
14249 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
14250 _nss_files_initgroups_dyn.
14252 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
14254 * elf/elf.h (R_ARM_IRELATIVE): Define.
14256 2011-04-19 Ulrich Drepper <drepper@gmail.com>
14258 * po/ru.po: Update from translation team.
14260 2011-04-17 Ulrich Drepper <drepper@gmail.com>
14262 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
14265 2011-02-06 Mike Frysinger <vapier@gentoo.org>
14268 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
14269 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
14270 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
14271 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14272 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14274 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
14276 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
14278 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14279 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14280 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14282 2011-04-17 Ulrich Drepper <drepper@gmail.com>
14285 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
14287 * stdlib/bug-getcontext.c: New file.
14288 * stdlib/Makefile: Add rules to build and run bug-getcontext.
14290 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14292 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
14293 instructions into .machine "z9-109".
14294 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
14295 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
14297 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14299 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
14300 between environment variables and auxiliary vector.
14302 2011-04-16 Ulrich Drepper <drepper@gmail.com>
14304 * Makefile: Add rules to build linkobj/libc.so.
14305 * include/libc-symbols.h: Define libc_hidden_nolink.
14306 * include/rpc/auth.h: Mark functions which are to be hidden.
14307 * include/rpc/auth_des.h: Likewise.
14308 * include/rpc/auth_unix.h: Likewise.
14309 * include/rpc/clnt.h: Likewise.
14310 * include/rpc/des_crypt.h: Likewise.
14311 * include/rpc/key_prot.h: Likewise.
14312 * include/rpc/pmap_clnt.h: Likewise.
14313 * include/rpc/pmap_prot.h: Likewise.
14314 * include/rpc/pmap_rmt.h: Likewise.
14315 * include/rpc/rpc_msg.h: Likewise.
14316 * include/rpc/svc.h: Likewise.
14317 * include/rpc/svc_auth.h: Likewise.
14318 * include/rpc/xdr.h: Likewise.
14319 * nis/Makefile: Link all DSOs against linkobj/libc.so.
14320 * nss/Makefile: Likewise.
14321 * sunrpc/Makefile: Don't install headers. Build library with normal
14322 entry points. Don't build rpcinfo. Link RPC tests appropriately.
14323 * sunrpc/auth_des.c: Hide exported symbols by default, export some
14324 for the compat linking library. Remove use of INTDEF/INTUSE.
14325 * sunrpc/auth_none.c: Likewise.
14326 * sunrpc/auth_unix.c: Likewise.
14327 * sunrpc/authdes_prot.c: Likewise.
14328 * sunrpc/authuxprot.c: Likewise.
14329 * sunrpc/clnt_gen.c: Likewise.
14330 * sunrpc/clnt_perr.c: Likewise.
14331 * sunrpc/clnt_raw.c: Likewise.
14332 * sunrpc/clnt_simp.c: Likewise.
14333 * sunrpc/clnt_tcp.c: Likewise.
14334 * sunrpc/clnt_udp.c: Likewise.
14335 * sunrpc/clnt_unix.c: Likewise.
14336 * sunrpc/des_crypt.c: Likewise.
14337 * sunrpc/des_soft.c: Likewise.
14338 * sunrpc/get_myaddr.c: Likewise.
14339 * sunrpc/key_call.c: Likewise.
14340 * sunrpc/key_prot.c: Likewise.
14341 * sunrpc/netname.c: Likewise.
14342 * sunrpc/pm_getmaps.c: Likewise.
14343 * sunrpc/pm_getport.c: Likewise.
14344 * sunrpc/pmap_clnt.c: Likewise.
14345 * sunrpc/pmap_prot.c: Likewise.
14346 * sunrpc/pmap_prot2.c: Likewise.
14347 * sunrpc/pmap_rmt.c: Likewise.
14348 * sunrpc/publickey.c: Likewise.
14349 * sunrpc/rpc_cmsg.c: Likewise.
14350 * sunrpc/rpc_common.c: Likewise.
14351 * sunrpc/rpc_dtable.c: Likewise.
14352 * sunrpc/rpc_prot.c: Likewise.
14353 * sunrpc/rpc_thread.c: Likewise.
14354 * sunrpc/rtime.c: Likewise.
14355 * sunrpc/svc.c: Likewise.
14356 * sunrpc/svc_auth.c: Likewise.
14357 * sunrpc/svc_authux.c: Likewise.
14358 * sunrpc/svc_raw.c: Likewise.
14359 * sunrpc/svc_run.c: Likewise.
14360 * sunrpc/svc_simple.c: Likewise.
14361 * sunrpc/svc_tcp.c: Likewise.
14362 * sunrpc/svc_udp.c: Likewise.
14363 * sunrpc/svc_unix.c: Likewise.
14364 * sunrpc/svcauth_des.c: Likewise.
14365 * sunrpc/xcrypt.c: Likewise.
14366 * sunrpc/xdr.c: Likewise.
14367 * sunrpc/xdr_array.c: Likewise.
14368 * sunrpc/xdr_float.c: Likewise.
14369 * sunrpc/xdr_intXX_t.c: Likewise.
14370 * sunrpc/xdr_mem.c: Likewise.
14371 * sunrpc/xdr_rec.c: Likewise.
14372 * sunrpc/xdr_ref.c: Likewise.
14373 * sunrpc/xdr_sizeof.c: Likewise.
14374 * sunrpc/xdr_stdio.c: Likewise.
14376 2011-04-10 Ulrich Drepper <drepper@gmail.com>
14379 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
14380 * sysdeps/ia64/dl-tls.h: Likewise.
14381 * sysdeps/powerpc/dl-tls.h: Likewise.
14382 * sysdeps/s390/dl-tls.h: Likewise.
14383 * sysdeps/sh/dl-tls.h: Likewise.
14384 * sysdeps/sparc/dl-tls.h: Likewise.
14385 * sysdeps/x86_64/dl-tls.h: Likewise.
14386 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
14388 2011-03-14 Andreas Schwab <schwab@redhat.com>
14390 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
14391 rpath element also skip the following colon.
14392 (expand_dynamic_string_token): Add is_path parameter and pass
14393 down to DL_DST_REQUIRED and _dl_dst_substitute.
14394 (decompose_rpath): Call expand_dynamic_string_token with
14395 non-zero is_path. Ignore empty rpaths.
14396 (_dl_map_object_from_fd): Call expand_dynamic_string_token
14399 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
14401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
14404 2011-04-09 Ulrich Drepper <drepper@gmail.com>
14407 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
14408 Patch by Filipe David Manana <fdmanana@apache.org>.
14410 2011-04-07 Andreas Schwab <schwab@redhat.com>
14412 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
14413 Maintain aligned stack.
14414 (CHECK_RSP): Remove unused macro.
14416 2011-04-03 Ulrich Drepper <drepper@gmail.com>
14418 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
14419 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
14421 2011-04-02 Ulrich Drepper <drepper@gmail.com>
14423 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
14425 * include/features.h: Mention __USE_XOPEN2K8 in comment.
14427 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
14430 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
14431 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
14432 * sysdeps/x86_64/memmove.c: New file.
14433 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
14434 (memcpy): Renamed to ...
14435 (__new_memcpy): This.
14436 (memcpy): Provide GLIBC_2_14 memcpy.
14437 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
14438 (memcpy): Provide GLIBC_2_2_5 memcpy.
14440 2011-04-01 Ulrich Drepper <drepper@gmail.com>
14443 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
14445 2011-03-30 Andreas Schwab <schwab@redhat.com>
14447 * misc/syncfs.c: New file.
14448 * misc/Makefile (routines): Add syncfs.
14449 * posix/unistd.h: Declare syncfs.
14450 * sysdeps/unix/syscalls.list: Add syncfs.
14452 2011-04-01 Andreas Schwab <schwab@redhat.com>
14454 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
14456 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14457 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14458 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14459 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14460 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14461 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
14462 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14464 2011-04-01 Ulrich Drepper <drepper@gmail.com>
14466 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
14467 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14468 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
14469 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14470 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14471 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14472 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14474 * io/Makefile: Compile fallocate.c, fallocate64.c, and
14475 sync_file_range.c with -fexceptions.
14476 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
14477 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
14478 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
14479 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
14480 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
14481 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
14482 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
14483 sync_file_range as cancellation point
14484 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
14485 now a wrapper around __call_sync_file_range with cancellation handling.
14486 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
14487 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
14488 function name to __call_sync_file_range.
14489 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
14490 Add call_sync_file_range.
14492 2011-04-01 Andreas Schwab <schwab@redhat.com>
14494 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14497 2011-04-01 Ulrich Drepper <drepper@gmail.com>
14499 * iconv/iconv.h: Fix typo in comment.
14500 * io/fcntl.h: Likewise.
14501 * libio/stdio.h: Likewise.
14502 * posix/spawn.h: Likewise.
14503 * posix/unistd.h: Likewise.
14504 * stdlib/stdlib.h: Likewise.
14505 * time/time.h: Likewise.
14506 * wcsmbs/wchar.h: Likewise.
14508 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
14509 open_by_handle): Add.
14510 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
14511 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
14512 Augment a few comments.
14513 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14514 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14515 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14516 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14517 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14518 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
14521 * io/fcntl.h (AT_EMPTY_PATH): Define.
14523 2011-03-30 Ulrich Drepper <drepper@gmail.com>
14525 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
14526 * sysdeps/unix/sysv/linux/bits/time.h: New file.
14527 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
14529 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
14530 * Versions.def: Add GLIBC_2.14.
14531 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
14534 2011-03-22 Ulrich Drepper <drepper@gmail.com>
14536 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
14538 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14540 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
14543 * string/test-strncmp.c (do_page_test): New function.
14544 (check2): Likewise.
14545 (test_main): Call check2.
14546 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
14548 2011-03-20 Ulrich Drepper <drepper@gmail.com>
14551 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
14552 Handle cache information in CPU leaf 4.
14553 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14555 2011-03-18 Ulrich Drepper <drepper@gmail.com>
14558 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
14559 character representation.
14560 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
14562 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
14564 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
14565 END(__isnan) to END(__isnanf) to match function entry point/label
14566 EALIGN(__isnanf,...).
14568 2011-03-10 Jakub Jelinek <jakub@redhat.com>
14570 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
14572 2011-03-10 Ulrich Drepper <drepper@gmail.com>
14575 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
14576 copy from the symbol referenced in the relocation to initialize the
14578 Patch by Piotr Bury <pbury@goahead.com>.
14579 * elf/Makefile: Add rules to build and tst-unique3.
14580 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
14581 * elf/tst-unique3.cc: New file.
14582 * elf/tst-unique3.h: New file.
14583 * elf/tst-unique3lib.cc: New file.
14584 * elf/tst-unique3lib2.cc: New file.
14586 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
14588 2011-03-10 Mike Frysinger <vapier@gentoo.org>
14590 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
14591 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
14594 2011-03-06 Ulrich Drepper <drepper@gmail.com>
14596 * elf/dl-load.c (_dl_map_object): If we are looking for the first
14597 to-be-loaded object along a path to loader is ld.so.
14599 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14600 Ulrich Drepper <drepper@gmail.com>
14602 * sysdeps/x86_64/memset.S: After aligning destination, code
14603 branches to different locations depending on the value of
14604 misalignment, when multiarch is enabled. Fix this.
14606 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14608 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
14609 Set _x86_64_preferred_memory_instruction for AMD processsors.
14610 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14611 Set bit_Prefer_SSE_for_memop for AMD processors.
14613 2011-03-04 Ulrich Drepper <drepper@gmail.com>
14615 * libio/fmemopen.c (fmemopen): Optimize a bit.
14617 2011-03-03 Andreas Schwab <schwab@redhat.com>
14619 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
14621 2011-03-03 Roland McGrath <roland@redhat.com>
14623 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
14625 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
14627 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
14628 __bzero_ultra1 instead of __memset_ultra1.
14630 2011-02-23 Andreas Schwab <schwab@redhat.com>
14631 Ulrich Drepper <drepper@gmail.com>
14634 * include/link.h (struct link_map): Add l_orig_initfini.
14635 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
14636 returning unsuccessfully.
14637 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
14638 close of a file loaded at startup, restore the original l_initfini
14640 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
14641 list, store the pointer.
14642 * elf/Makefile ($(objpfx)noload-mem): New rule.
14643 (noload-ENV): Define.
14644 (tests): Add $(objpfx)noload-mem.
14645 * elf/noload.c: Include <memcheck.h>.
14646 (main): Call mtrace. Close all opened handles.
14648 2011-02-17 Andreas Schwab <schwab@redhat.com>
14651 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
14652 dependencies are missing.
14654 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
14656 Fix __if_freereq crash: Unlike the generic version which uses free,
14658 * sysdeps/mach/hurd/ifreq.h: New file.
14660 2011-01-27 Petr Baudis <pasky@suse.cz>
14661 Ulrich Drepper <drepper@gmail.com>
14664 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
14665 to extend_alloca().
14666 * stdio-common/bug23.c: New file.
14667 * stdio-common/Makefile (tests): Add bug23.
14669 2010-09-28 Andreas Schwab <schwab@redhat.com>
14670 Ulrich Drepper <drepper@gmail.com>
14673 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
14674 before performing relro protection. At old place add assertion
14675 to make sure nothing changed.
14677 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
14678 Glauber de Oliveira Costa <glommer@gmail.com>
14680 * elf/elf.h: Add new ARM TLS relocs.
14682 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
14684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14685 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
14687 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
14689 * sysdeps/wordsize-64/tst-writev.c: New file.
14691 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
14693 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
14694 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
14695 insns in _dl_start to prevent a TOC reference before relocs are
14698 2011-02-15 Ulrich Drepper <drepper@gmail.com>
14701 * Makeconfig: Remove RANLIB definition.
14702 * Makerules: Don't use RANLIB.
14703 * aclocal.m4: Remove ranlib test.
14704 * configure.in: No need to check for ranlib.
14705 * elf/rtld-Rules: Don't use RANLIB.
14707 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14709 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
14711 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
14712 inclusion protection macro.
14714 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
14715 SIGRTMIN and SIGRTMAX and print information in that case only when
14716 SIGRTMIN is defined.
14718 2011-02-11 Jakub Jelinek <jakub@redhat.com>
14720 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
14721 arginfo fn returning -1.
14723 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
14724 and thousands string is zero terminated.
14726 2011-02-03 Andreas Schwab <schwab@redhat.com>
14728 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
14729 sysdeps/unix/sysv/linux/bits/socket.h.
14731 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
14733 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
14734 (__CPU_COUNT): Remove old macros.
14735 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
14736 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
14737 (__CPU_ALLOC, __CPU_FREE): Add macros.
14738 (__sched_cpualloc, __sched_cpufree): Add declarations.
14740 2011-02-05 Ulrich Drepper <drepper@gmail.com>
14742 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
14743 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
14744 * nscd/aicache.c (addhstaiX): Return timeout of added value.
14745 (readdhstai): Return value of addhstaiX call.
14746 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
14747 (addgrbyX): Return value returned by cache_addgr.
14748 (readdgrbyname): Return value returned by addgrbyX.
14749 (readdgrbygid): Likewise.
14750 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
14751 (addpwbyX): Return value returned by cache_addpw.
14752 (readdpwbyname): Return value returned by addhstbyX.
14753 (readdpwbyuid): Likewise.
14754 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
14755 (addservbyX): Return value returned by cache_addserv.
14756 (readdservbyname): Return value returned by addservbyX:
14757 (readdservbyport): Likewise.
14758 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
14759 (addhstbyX): Return value returned by cache_addhst.
14760 (readdhstbyname): Return value returned by addhstbyX.
14761 (readdhstbyaddr): Likewise.
14762 (readdhstbynamev6): Likewise.
14763 (readdhstbyaddrv6): Likewise.
14764 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
14765 (readdinitgroups): Return value returned by addinitgroupsX.
14766 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
14767 (prune_cache): Keep track of timeout value of re-added entries.
14768 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
14769 * nscd/nscd.h: Adjust prototypes of readd* functions.
14771 2011-02-04 Roland McGrath <roland@redhat.com>
14773 * nis/nis_server.c (nis_servstate): Use the right name for 0.
14774 (nis_stats): Likewise.
14775 * nis/nis_modify.c (nis_modify): Likewise.
14776 * nis/nis_remove.c (nis_remove): Likewise.
14777 * nis/nis_add.c (nis_add): Likewise.
14779 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
14781 * posix/fnmatch_loop.c: Add some consts.
14783 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
14785 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
14788 * config.make.in (config-cflags-novzeroupper): Define.
14789 * configure.in: Substitute libc_cv_cc_novzeroupper.
14790 * elf/Makefile (AVX-CFLAGS): Define.
14791 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
14792 (CFLAGS-tst-auditmod4a.c): Likewise.
14793 (CFLAGS-tst-auditmod4b.c): Likewise.
14794 (CFLAGS-tst-auditmod6b.c): Likewise.
14795 (CFLAGS-tst-auditmod6c.c): Likewise.
14796 (CFLAGS-tst-auditmod7b.c): Likewise.
14797 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
14799 2011-02-02 Ulrich Drepper <drepper@gmail.com>
14801 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
14802 function to the callback.
14803 Patch partly by Jiri Olsa <jolsa@redhat.com>.
14805 2011-02-02 Andreas Schwab <schwab@redhat.com>
14807 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
14810 2011-01-19 Ulrich Drepper <drepper@gmail.com>
14813 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
14815 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
14817 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
14820 * elf/Makefile: Add rules to build and run new test.
14821 * elf/tst-initorder.c: New file.
14822 * elf/tst-initorder.exp: New file.
14823 * elf/tst-initordera1.c: New file.
14824 * elf/tst-initordera2.c: New file.
14825 * elf/tst-initordera3.c: New file.
14826 * elf/tst-initordera4.c: New file.
14827 * elf/tst-initorderb1.c: New file.
14828 * elf/tst-initorderb2.c: New file.
14829 * elf/tst-order-a1.c: New file.
14830 * elf/tst-order-a2.c: New file.
14831 * elf/tst-order-a3.c: New file.
14832 * elf/tst-order-a4.c: New file.
14833 * elf/tst-order-b1.c: New file.
14834 * elf/tst-order-b2.c: New file.
14835 * elf/tst-order-main.c: New file.
14836 New test case by George Gensure <werkt0@gmail.com>.
14838 2010-10-01 Andreas Schwab <schwab@redhat.com>
14840 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14841 decoding ACE if AI_CANONIDN.
14843 2011-01-18 Ulrich Drepper <drepper@gmail.com>
14845 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
14847 2011-01-17 Ulrich Drepper <drepper@gmail.com>
14849 * version.h (RELEASE): Bump for 2.13 release.
14850 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
14852 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
14854 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
14856 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
14857 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
14858 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
14859 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
14860 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
14861 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
14863 * posix/getconf.c: Update copyright year.
14864 * catgets/gencat.c: Likewise.
14865 * csu/version.c: Likewise.
14866 * debug/catchsegv.sh: Likewise.
14867 * debug/xtrace.sh: Likewise.
14868 * elf/ldconfig.c: Likewise.
14869 * elf/ldd.bash.in: Likewise.
14870 * elf/sprof.c (print_version): Likewise.
14871 * iconv/iconv_prog.c: Likewise.
14872 * iconv/iconvconfig.c: Likewise.
14873 * locale/programs/locale.c: Likewise.
14874 * locale/programs/localedef.c: Likewise.
14875 * malloc/memusage.sh: Likewise.
14876 * malloc/mtrace.pl: Likewise.
14877 * nscd/nscd.c (print_version): Likewise.
14878 * nss/getent.c: Likewise.
14880 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
14881 PF_CAIF, and PF_ALG.
14882 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14884 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
14886 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
14887 (modules-names): Use them.
14888 (ifunc-test-modules, ifunc-pie-tests): Define.
14889 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
14890 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
14891 (test-extras): Likewise.
14892 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
14893 $(compile-command.c).
14894 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
14895 (all-built-dso): Define.
14896 (check-textrel.out, check-execstack.out): Depend on it.
14898 * configure.in: Don't override --enable-multi-arch.
14900 2011-01-15 Ulrich Drepper <drepper@gmail.com>
14903 * nscd/hstcache.c (tryagain): Define.
14904 (cache_addhst): Return tryagain not notfound for temporary errors.
14905 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
14908 2011-01-14 Ulrich Drepper <drepper@gmail.com>
14911 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
14912 to make the syscall.
14913 * sysdeps/unix/sysv/linux/setgroups.c: New file.
14916 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
14917 and fall back to matching as normal character if the string ends before
14918 the matching ']' is found. This is what POSIX requires.
14919 * posix/testfnm.c: Adjust test result.
14920 * posix/globtest.sh: Adjust test result. Add new test.
14921 * posix/tst-fnmatch.input: Likewise.
14922 * posix/tst-fnmatch2.c: Add new test.
14924 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
14926 * elf/Makefile (check-execstack): Revert last change. Depend on
14928 (check-execstack.h): New target.
14929 (generated): Add check-execstack.h.
14930 * elf/check-execstack.c: Include "check-execstack.h".
14931 (main): Revert last change.
14932 (handle_file): Return zero if GNU_STACK is absent and
14933 DEFAULT_STACK_PERMS doesn't include PF_X.
14935 2011-01-13 Ulrich Drepper <drepper@gmail.com>
14937 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
14938 in child fails because the descriptor is already closed.
14939 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
14940 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
14941 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
14944 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
14948 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
14949 temporary buffer used to handle multi lookups locally.
14950 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
14952 2011-01-12 Ulrich Drepper <drepper@gmail.com>
14954 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
14957 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
14959 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
14960 alignment for SSE2.
14962 2011-01-12 Ulrich Drepper <drepper@gmail.com>
14965 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
14966 characters. When rounding increased number of integer digits recompute
14968 * stdio-common/tst-grouping.c: New file.
14969 * stdio-common/Makefile: Add rules to build and run tst-grouping.
14971 2011-01-09 Ulrich Drepper <drepper@gmail.com>
14973 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
14974 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
14976 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
14978 * bits/select.h: Likewise.
14980 2011-01-08 Ulrich Drepper <drepper@gmail.com>
14982 * po/ja.po: Update from translation team.
14984 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
14987 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
14988 implementation just like for lxstat, fxstatat, et al.
14990 2010-12-27 Jim Meyering <meyering@redhat.com>
14993 * posix/regexec.c (build_trtable): Return failure indication upon
14994 calloc failure. Otherwise, re_search_internal could infloop on OOM.
14996 2010-12-25 Ulrich Drepper <drepper@gmail.com>
14999 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
15000 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
15001 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
15002 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
15005 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
15008 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
15009 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
15011 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
15013 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
15014 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
15015 script has SORT_BY_INIT_PRIORITY.
15016 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
15017 NO_CTORS_DTORS_SECTIONS is defined.
15018 * elf/soinit.c: Likewise.
15019 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
15020 NO_CTORS_DTORS_SECTIONS is defined.
15021 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
15022 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
15023 * sysdeps/sh/init-first.c: Likewise.
15024 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
15026 2010-12-24 Ulrich Drepper <drepper@gmail.com>
15028 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
15029 always use the slow path.
15031 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
15033 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
15034 similar rule which adds the sysdep directories to the header search in
15035 order to pick up the correct platform stackinfo.h.
15036 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
15037 perform test if it is, otherwise return successfully without testing.
15038 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
15039 DEFAULT_STACK_PERMS define in stackinfo.h.
15040 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
15041 defined in stackinfo.h.
15042 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
15043 DEFAULT_STACK_PERMS defined in stackinfo.h.
15044 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
15045 * sysdeps/ia64/stackinfo.h: Likewise.
15046 * sysdeps/s390/stackinfo.h: Likewise.
15047 * sysdeps/sh/stackinfo.h: Likewise.
15048 * sysdeps/sparc/stackinfo.h: Likewise.
15049 * sysdeps/x86_64/stackinfo.h: Likewise.
15050 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
15051 PF_X for powerpc64. Retain PF_X for powerpc32.
15053 2010-12-19 Ulrich Drepper <drepper@gmail.com>
15055 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
15057 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
15058 GETDENTS_64BIT_ALIGNED.
15060 2010-12-14 Ulrich Drepper <dreper@gmail.com>
15062 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
15064 2010-12-10 Andreas Schwab <schwab@redhat.com>
15066 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
15069 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
15070 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
15072 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
15073 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
15075 2010-12-09 Ulrich Drepper <drepper@gmail.com>
15078 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
15081 2010-12-09 Jakub Jelinek <jakub@redhat.com>
15083 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
15085 2010-12-03 Ulrich Drepper <drepper@gmail.com>
15087 * po/it.po: Update from translation team.
15089 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
15091 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
15094 2010-11-30 Ulrich Drepper <drepper@gmail.com>
15096 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
15098 2010-11-24 Andreas Schwab <schwab@redhat.com>
15100 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
15102 (gaih_getanswer_slice): Likewise.
15104 2010-10-20 Jakub Jelinek <jakub@redhat.com>
15106 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
15108 2010-05-31 Petr Baudis <pasky@suse.cz>
15111 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
15112 silently even in the chroot mode.
15114 2010-11-22 Ulrich Drepper <drepper@gmail.com>
15116 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
15117 last patch a bit. Pretty printing
15119 2010-05-31 Petr Baudis <pasky@suse.cz>
15122 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
15123 initialization of skip_initgroups_dyn.
15125 2010-11-19 Ulrich Drepper <drepper@gmail.com>
15127 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
15128 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
15130 2010-11-16 Ulrich Drepper <drepper@gmail.com>
15132 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
15134 2010-11-11 Andreas Schwab <schwab@redhat.com>
15136 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
15137 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
15138 (tst-fnmatch-ENV): Set MALLOC_TRACE.
15139 ($(objpfx)tst-fnmatch-mem): New rule.
15140 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
15141 * posix/tst-fnmatch.c (main): Call mtrace.
15143 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
15145 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15146 Support Intel processor model 6 and model 0x2c.
15148 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
15150 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
15153 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
15156 * string/test-strncasecmp.c (check_result): New function.
15157 (do_one_test): Use it.
15158 (check1): New function.
15159 (test_main): Use it.
15160 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
15161 Support strcasecmp and strncasecmp.
15163 2010-11-08 Ulrich Drepper <drepper@gmail.com>
15166 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
15167 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15169 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
15171 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
15173 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15175 * sysdeps/x86_64/multiarch/bzero.S: New file.
15176 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
15177 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
15178 * sysdeps/x86_64/multiarch/memset.S: New file.
15179 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
15180 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15181 Set bit_Prefer_SSE_for_memop for Intel processors.
15182 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
15184 (index_Prefer_SSE_for_memop): Define.
15185 (HAS_PREFER_SSE_FOR_MEMOP): Define.
15187 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
15189 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
15190 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
15192 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
15195 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15196 (__x86_64_raw_data_cache_size_half): Likewise.
15197 (__x86_64_raw_shared_cache_size): Likewise.
15198 (__x86_64_raw_shared_cache_size_half): Likewise.
15200 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15201 (__x86_64_raw_data_cache_size_half): Likewise.
15202 (__x86_64_raw_shared_cache_size): Likewise.
15203 (__x86_64_raw_shared_cache_size_half): Likewise.
15204 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
15205 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
15206 and __x86_64_raw_shared_cache_size_half. Round
15207 __x86_64_data_cache_size_half, __x86_64_data_cache_size
15208 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
15209 to multiple of 256 bytes.
15211 2010-11-03 Ulrich Drepper <drepper@gmail.com>
15214 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
15215 of inacessible symlinks. Verify result of symlink before returning it.
15216 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
15217 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
15219 2010-10-28 Erich Ritz <erichritz@gmail.com>
15221 * math/math.h (isinf): Fix typo in comment.
15223 2010-11-01 Ulrich Drepper <drepper@gmail.com>
15225 * po/da.po: Update from translation team.
15227 2010-10-26 Ulrich Drepper <drepper@gmail.com>
15229 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
15230 is added to the list.
15232 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15233 Ulrich Drepper <drepper@gmail.com>
15235 * elf/dl-object.c (_dl_new_object): Don't append the new object to
15236 the global list here. Move code to...
15237 (_dl_add_to_namespace_list): ...here. New function.
15238 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
15239 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
15240 * elf/dl-load.c (lose): Don't remove the element from the list.
15241 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
15242 (_dl_map_object): Likewise.
15244 2010-10-25 Ulrich Drepper <drepper@gmail.com>
15247 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
15248 into all bytes of SSE register.
15249 Patch by Richard Li <richardpku@gmail.com>.
15251 2010-10-24 Ulrich Drepper <drepper@gmail.com>
15254 * malloc/malloc.c (_int_free): Fill correct number of bytes when
15257 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
15259 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
15260 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
15261 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
15262 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
15265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
15267 2010-10-22 Andreas Schwab <schwab@redhat.com>
15269 * include/dlfcn.h (__RTLD_SECURE): Define.
15270 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
15271 mode & __RTLD_SECURE instead.
15272 (open_path): Rename preloaded parameter to secure.
15273 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
15274 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
15275 * elf/dl-deps.c (openaux): Likewise.
15276 * elf/rtld.c (struct map_args): Remove is_preloaded.
15277 (map_doit): Don't use it.
15278 (dl_main): Likewise.
15279 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
15280 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
15282 2010-09-09 Andreas Schwab <schwab@redhat.com>
15284 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
15285 (sysd-rules-targets): Remove duplicates.
15286 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
15287 rtld-%.$o dependency.
15289 2010-10-18 Andreas Schwab <schwab@redhat.com>
15291 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
15292 _dl_map_object do it.
15294 2010-10-19 Ulrich Drepper <drepper@gmail.com>
15296 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
15297 fast fma builtins, define the macros in the C99 standard.
15298 (FP_FAST_FMAF): Likewise.
15299 (FP_FAST_FMAL): Likewise.
15300 * sysdeps/x86_64/bits/mathdef.h: Likewise.
15302 * bits/mathdef.h: Update copyright year.
15303 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15305 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
15307 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
15308 builtins, define the macros in the C99 standard.
15309 (FP_FAST_FMAF): Likewise.
15310 (FP_FAST_FMAL): Likewise.
15311 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
15313 (FP_FAST_FMAF): Likewise.
15315 2010-10-15 Jakub Jelinek <jakub@redhat.com>
15318 * math/libm-test.inc (fma_test): Some new testcases.
15319 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
15320 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
15321 y and infinite z. Do multiplication by C already in long double.
15322 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
15323 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
15324 y and infinite z. Do bitwise or of inexact bit into u.d.
15325 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
15326 * sysdeps/i386/fpu/s_fmaf.S: Removed.
15327 * sysdeps/i386/fpu/s_fma.S: Removed.
15328 * sysdeps/i386/fpu/s_fmal.S: Removed.
15330 2010-10-16 Jakub Jelinek <jakub@redhat.com>
15333 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
15334 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
15335 computation is not scheduled after fetestexcept. Fix value
15336 of minimum denormal long double.
15338 2010-10-14 Jakub Jelinek <jakub@redhat.com>
15341 * math/libm-test.inc (fma_test): Add some more tests.
15342 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
15345 2010-10-15 Andreas Schwab <schwab@redhat.com>
15347 * scripts/data/localplt-s390-linux-gnu.data: New file.
15348 * scripts/data/localplt-s390x-linux-gnu.data: New file.
15350 2010-10-13 Jakub Jelinek <jakub@redhat.com>
15353 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
15354 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
15356 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
15358 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
15359 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
15360 if one of x and y is very large and the other is subnormal.
15361 * sysdeps/s390/fpu/s_fmaf.c: New file.
15362 * sysdeps/s390/fpu/s_fma.c: New file.
15363 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
15364 * sysdeps/powerpc/fpu/s_fma.S: New file.
15365 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
15366 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
15367 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
15369 2010-10-12 Jakub Jelinek <jakub@redhat.com>
15372 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
15374 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
15375 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
15376 * sysdeps/i386/i686/multiarch/s_fma.c: Include
15377 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
15378 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
15379 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
15380 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
15382 2010-10-12 Ulrich Drepper <drepper@redhat.com>
15385 * posix/regcomp.c (parse_branch): One more memory leak plugged.
15386 * posix/bug-regex31.input: Add test case.
15388 2010-10-11 Ulrich Drepper <drepper@gmail.com>
15390 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
15391 * posix/bug-regex31.input: New file.
15394 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
15395 (parse_sub_exp): Fix last change, use postorder.
15397 * posix/bug-regex31.c: New file.
15398 * posix/Makefile: Add rules to build and run bug-regex31.
15400 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
15403 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
15406 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
15407 to have entries in sys_siglist.
15410 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
15413 2010-10-07 Jakub Jelinek <jakub@redhat.com>
15416 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
15417 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
15418 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
15419 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
15420 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
15421 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
15422 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
15423 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
15424 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
15425 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
15426 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
15427 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
15428 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
15429 * math/ftestexcept.c (fetestexcept): Likewise.
15430 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
15431 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
15432 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
15433 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
15434 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
15435 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
15436 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15438 2010-10-11 Ulrich Drepper <drepper@gmail.com>
15441 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
15444 2010-10-06 Ulrich Drepper <drepper@gmail.com>
15446 * string/bug-strstr1.c: New file.
15447 * string/Makefile: Add rules to build and run bug-strstr1.
15449 2010-10-05 Eric Blake <eblake@redhat.com>
15452 * string/str-two-way.h (two_way_long_needle): Always clear memory
15453 when skipping input due to the shift table.
15455 2010-10-03 Ulrich Drepper <drepper@gmail.com>
15458 * malloc/mcheck.c: Handle large requests.
15461 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
15462 for strncmp and strncasecmp.
15463 * string/stratcliff.c: Add tests for strcmp and strncmp.
15464 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
15466 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15468 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
15471 2010-09-30 Andreas Jaeger <aj@suse.de>
15473 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
15474 (CGROUP_SUPER_MAGIC): Define.
15475 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15476 Handle btrfs and cgroup file systems.
15477 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
15480 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
15482 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
15483 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
15485 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15488 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
15489 trying to locate the ELF header.
15491 2010-09-27 Andreas Schwab <schwab@redhat.com>
15494 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
15495 Mask out sign-bit copies when constructing f_fsid.
15497 2010-09-24 Petr Baudis <pasky@suse.cz>
15499 * debug/stack_chk_fail_local.c: Add missing licence exception.
15500 * debug/warning-nop.c: Likewise.
15502 2010-09-15 Joseph Myers <joseph@codesourcery.com>
15504 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
15505 implementing getdents64 using getdents syscall, set d_type if
15506 __ASSUME_GETDENTS32_D_TYPE.
15508 2010-09-16 Andreas Schwab <schwab@redhat.com>
15510 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
15511 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
15513 2010-09-21 Ulrich Drepper <drepper@redhat.com>
15516 * posix/unistd.h: Undo change of feature selection for ftruncate from
15519 2010-09-20 Ulrich Drepper <drepper@redhat.com>
15521 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
15524 2010-09-20 Andreas Schwab <schwab@redhat.com>
15526 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
15528 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15530 2010-09-14 Andreas Schwab <schwab@redhat.com>
15532 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
15533 variables after CHECK_SP call.
15534 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
15536 2010-09-13 Andreas Schwab <schwab@redhat.com>
15537 Ulrich Drepper <drepper@redhat.com>
15539 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
15540 re-relocationg ld.so.
15541 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
15542 _dl_init_paths call.
15543 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
15546 2010-09-14 Ulrich Drepper <drepper@redhat.com>
15548 * resolv/res_init.c (__res_vinit): Count the default server we added.
15550 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
15551 Ulrich Drepper <drepper@redhat.com>
15554 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15555 (____longjmp_chk): Use %ebx for saving value across system call.
15558 2010-09-06 Andreas Schwab <schwab@redhat.com>
15560 * manual/Makefile: Don't mix pattern rules with normal rules.
15562 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
15564 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
15566 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
15567 * libio/iofopncook.c (_IO_cookie_init): Likewise.
15568 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
15569 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
15570 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15573 2010-09-04 Ulrich Drepper <drepper@redhat.com>
15576 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
15577 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
15579 2010-09-02 Ulrich Drepper <drepper@redhat.com>
15581 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
15582 * sysdeps/x86_64/addmul_1.S: Likewise.
15583 * sysdeps/x86_64/lshift.S: Likewise.
15584 * sysdeps/x86_64/mul_1.S: Likewise.
15585 * sysdeps/x86_64/rshift.S: Likewise.
15586 * sysdeps/x86_64/sub_n.S: Likewise.
15587 * sysdeps/x86_64/submul_1.S: Likewise.
15589 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
15591 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
15592 Define __sched_param instead of SCHED_* and sched_param when
15593 <bits/sched.h> is included with __need_schedparam defined.
15594 * bits/sched.h [__need_schedparam]
15595 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
15596 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
15597 (__defined_schedparam): Define to 1.
15598 (__sched_param): New structure, identical to sched_param.
15599 (__need_schedparam): Undefine.
15601 2010-08-31 Mike Frysinger <vapier@gentoo.org>
15603 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
15604 (epoll_create1): Declare.
15606 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
15608 2010-08-31 Andreas Schwab <schwab@redhat.com>
15611 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
15612 shifting retval into place.
15614 2010-09-01 Ulrich Drepper <drepper@redhat.com>
15616 * nis/rpcsvc/nis.h: Update copyright notice.
15617 * nis/rpcsvc/nis.x: Likewise.
15618 * nis/rpcsvc/nis_callback.h: Likewise.
15619 * nis/rpcsvc/nis_callback.x: Likewise.
15620 * nis/rpcsvc/nis_object.x: Likewise.
15621 * nis/rpcsvc/nis_tags.h: Likewise.
15622 * nis/rpcsvc/yp.h: Likewise.
15623 * nis/rpcsvc/yp.x: Likewise.
15624 * nis/rpcsvc/ypupd.h: Likewise.
15625 * nis/yp_xdr.c: Likewise.
15626 * nis/ypupdate_xdr.c: Likewise.
15628 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
15629 mainly the body of pmap_getport. Add parameters to specify timeouts.
15630 (pmap_getport): Use __libc_rpc_getport.
15631 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
15632 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
15633 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
15635 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
15637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
15640 2010-08-27 Roland McGrath <roland@redhat.com>
15642 * sysdeps/i386/i686/multiarch/Makefile
15643 (CFLAGS-varshift.c): New variable.
15645 2010-08-27 Ulrich Drepper <drepper@redhat.com>
15647 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
15648 * sysdeps/i386/i686/multiarch/varshift.c: New file.
15650 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
15652 * sysdeps/x86_64/strlen.S: Minimal code improvement.
15654 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
15656 * sysdeps/x86_64/strlen.S: Unroll the loop.
15657 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15658 strlen-sse2 strlen-sse2-bsf.
15659 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
15660 __strlen_no_bsf if bit_Slow_BSF is set.
15661 (__strlen_sse42): Removed.
15662 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
15663 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
15665 2010-08-25 Roland McGrath <roland@redhat.com>
15667 * sysdeps/x86_64/multiarch/varshift.S: File removed.
15668 * sysdeps/x86_64/multiarch/varshift.c: New file.
15669 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
15670 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
15671 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
15672 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15674 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
15676 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15677 strlen-sse2 strlen-sse2-bsf.
15678 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
15679 __strlen_sse2_bsf if bit_Slow_BSF is unset.
15680 (__strlen_sse2): Removed.
15681 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
15682 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
15683 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
15684 bit_Slow_BSF for Atom.
15685 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
15686 (index_Slow_BSF): Define.
15687 (HAS_SLOW_BSF): Define.
15689 2010-08-25 Ulrich Drepper <drepper@redhat.com>
15692 * resolv/res_init.c (__res_vinit): When no server address at all
15693 is given default to loopback.
15695 2010-08-24 Roland McGrath <roland@redhat.com>
15697 * configure.in: Remove config-name.h generation.
15698 * configure: Regenerated.
15699 * config-name.in: File removed.
15700 * scripts/config-uname.sh: New file.
15701 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
15702 ($(objdir)config-name.h): New target.
15704 * sunrpc/rpc_parse.h: Avoid nested comment.
15706 2010-08-24 Richard Henderson <rth@redhat.com>
15707 Ulrich Drepper <drepper@redhat.com>
15708 H.J. Lu <hongjiu.lu@intel.com>
15710 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
15711 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
15712 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
15713 Replace _mm_srli_si128 with __m128i_shift_right. Replace
15714 _mm_alignr_epi8 with _mm_loadu_si128.
15715 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
15716 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
15717 (__m128i_shift_right): Removed.
15718 * sysdeps/i386/i686/multiarch/varshift.h: New file.
15719 * sysdeps/i386/i686/multiarch/varshift.S: New file.
15720 * sysdeps/x86_64/multiarch/varshift.h: New file.
15721 * sysdeps/x86_64/multiarch/varshift.S: New file.
15723 2010-08-21 Mike Frysinger <vapier@gentoo.org>
15725 * configure.in: Move assembler checks to before sysdep dir checking.
15727 2010-08-20 Petr Baudis <pasky@suse.cz>
15729 * LICENSES: Sync the sunrpc license.
15731 2010-08-19 Ulrich Drepper <drepper@redhat.com>
15733 * sunrpc/auth_des.c: Update copyright notice once again.
15734 * sunrpc/auth_none.c: Likewise.
15735 * sunrpc/auth_unix.c: Likewise.
15736 * sunrpc/authdes_prot.c: Likewise.
15737 * sunrpc/authuxprot.c: Likewise.
15738 * sunrpc/bindrsvprt.c: Likewise.
15739 * sunrpc/clnt_gen.c: Likewise.
15740 * sunrpc/clnt_perr.c: Likewise.
15741 * sunrpc/clnt_raw.c: Likewise.
15742 * sunrpc/clnt_simp.c: Likewise.
15743 * sunrpc/clnt_tcp.c: Likewise.
15744 * sunrpc/clnt_udp.c: Likewise.
15745 * sunrpc/clnt_unix.c: Likewise.
15746 * sunrpc/des_crypt.c: Likewise.
15747 * sunrpc/des_soft.c: Likewise.
15748 * sunrpc/get_myaddr.c: Likewise.
15749 * sunrpc/getrpcport.c: Likewise.
15750 * sunrpc/key_call.c: Likewise.
15751 * sunrpc/key_prot.c: Likewise.
15752 * sunrpc/openchild.c: Likewise.
15753 * sunrpc/pm_getmaps.c: Likewise.
15754 * sunrpc/pm_getport.c: Likewise.
15755 * sunrpc/pmap_clnt.c: Likewise.
15756 * sunrpc/pmap_prot.c: Likewise.
15757 * sunrpc/pmap_prot2.c: Likewise.
15758 * sunrpc/pmap_rmt.c: Likewise.
15759 * sunrpc/rpc/auth.h: Likewise.
15760 * sunrpc/rpc/auth_unix.h: Likewise.
15761 * sunrpc/rpc/clnt.h: Likewise.
15762 * sunrpc/rpc/des_crypt.h: Likewise.
15763 * sunrpc/rpc/key_prot.h: Likewise.
15764 * sunrpc/rpc/netdb.h: Likewise.
15765 * sunrpc/rpc/pmap_clnt.h: Likewise.
15766 * sunrpc/rpc/pmap_prot.h: Likewise.
15767 * sunrpc/rpc/pmap_rmt.h: Likewise.
15768 * sunrpc/rpc/rpc.h: Likewise.
15769 * sunrpc/rpc/rpc_des.h: Likewise.
15770 * sunrpc/rpc/rpc_msg.h: Likewise.
15771 * sunrpc/rpc/svc.h: Likewise.
15772 * sunrpc/rpc/svc_auth.h: Likewise.
15773 * sunrpc/rpc/types.h: Likewise.
15774 * sunrpc/rpc/xdr.h: Likewise.
15775 * sunrpc/rpc_clntout.c: Likewise.
15776 * sunrpc/rpc_cmsg.c: Likewise.
15777 * sunrpc/rpc_common.c: Likewise.
15778 * sunrpc/rpc_cout.c: Likewise.
15779 * sunrpc/rpc_dtable.c: Likewise.
15780 * sunrpc/rpc_hout.c: Likewise.
15781 * sunrpc/rpc_main.c: Likewise.
15782 * sunrpc/rpc_parse.c: Likewise.
15783 * sunrpc/rpc_parse.h: Likewise.
15784 * sunrpc/rpc_prot.c: Likewise.
15785 * sunrpc/rpc_sample.c: Likewise.
15786 * sunrpc/rpc_scan.c: Likewise.
15787 * sunrpc/rpc_scan.h: Likewise.
15788 * sunrpc/rpc_svcout.c: Likewise.
15789 * sunrpc/rpc_tblout.c: Likewise.
15790 * sunrpc/rpc_util.c: Likewise.
15791 * sunrpc/rpc_util.h: Likewise.
15792 * sunrpc/rpcinfo.c: Likewise.
15793 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
15794 * sunrpc/rpcsvc/key_prot.x: Likewise.
15795 * sunrpc/rpcsvc/klm_prot.x: Likewise.
15796 * sunrpc/rpcsvc/mount.x: Likewise.
15797 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
15798 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
15799 * sunrpc/rpcsvc/rex.x: Likewise.
15800 * sunrpc/rpcsvc/rstat.x: Likewise.
15801 * sunrpc/rpcsvc/rusers.x: Likewise.
15802 * sunrpc/rpcsvc/sm_inter.x: Likewise.
15803 * sunrpc/rpcsvc/spray.x: Likewise.
15804 * sunrpc/rpcsvc/yppasswd.x: Likewise.
15805 * sunrpc/rtime.c: Likewise.
15806 * sunrpc/svc.c: Likewise.
15807 * sunrpc/svc_auth.c: Likewise.
15808 * sunrpc/svc_authux.c: Likewise.
15809 * sunrpc/svc_raw.c: Likewise.
15810 * sunrpc/svc_run.c: Likewise.
15811 * sunrpc/svc_simple.c: Likewise.
15812 * sunrpc/svc_tcp.c: Likewise.
15813 * sunrpc/svc_udp.c: Likewise.
15814 * sunrpc/svc_unix.c: Likewise.
15815 * sunrpc/svcauth_des.c: Likewise.
15816 * sunrpc/xcrypt.c: Likewise.
15817 * sunrpc/xdr.c: Likewise.
15818 * sunrpc/xdr_array.c: Likewise.
15819 * sunrpc/xdr_float.c: Likewise.
15820 * sunrpc/xdr_mem.c: Likewise.
15821 * sunrpc/xdr_rec.c: Likewise.
15822 * sunrpc/xdr_ref.c: Likewise.
15823 * sunrpc/xdr_sizeof.c: Likewise.
15824 * sunrpc/xdr_stdio.c: Likewise.
15826 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
15829 2010-08-19 Andreas Schwab <schwab@redhat.com>
15831 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
15833 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
15835 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
15836 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
15837 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
15838 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
15839 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
15840 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
15841 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
15842 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
15843 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
15844 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
15845 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
15846 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
15847 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
15848 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
15850 2010-07-26 Anton Blanchard <anton@samba.org>
15852 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
15853 * malloc/arena.c (heap_trim): Likewise.
15855 2010-08-16 Ulrich Drepper <drepper@redhat.com>
15857 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
15859 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
15860 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
15862 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
15864 * sysdeps/i386/elf/Makefile: New file.
15866 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
15868 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
15869 from fanotify_init.
15870 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
15871 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15873 2010-08-15 Ulrich Drepper <drepper@redhat.com>
15875 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
15877 * sysdeps/multiarch/strcmp.S: Likewise.
15879 2010-08-14 Ulrich Drepper <drepper@redhat.com>
15881 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
15882 strncase_l-nonascii.
15883 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
15884 Add strncase_l-ssse3.
15885 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
15886 * sysdeps/x86_64/strcmp.S: Likewise.
15887 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
15888 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
15889 * sysdeps/x86_64/strncase.S: New file.
15890 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
15891 * sysdeps/x86_64/strncase_l.S: New file.
15892 * string/Makefile (strop-tests): Add strncasecmp.
15893 * string/test-strncasecmp.c: New file.
15895 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
15898 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
15899 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
15901 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
15903 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
15905 2010-08-12 Ulrich Drepper <drepper@redhat.com>
15907 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
15908 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
15909 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
15911 2010-05-01 Alan Modra <amodra@gmail.com>
15913 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
15914 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
15915 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
15916 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
15917 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
15918 tidying. Don't tail-call __sigjmp_save for static lib.
15919 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
15921 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
15922 (CALL_MCOUNT): Add eh info, and nop after bl.
15923 (TAIL_CALL_SYSCALL_ERROR): New macro.
15924 (PSEUDO_RET): Use it.
15925 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
15926 Correct save location of integer regs and cr.
15927 (_dl_profile_resolve): Correct cr save location. Delete nops
15928 after bl when SHARED. Reduce cfi size a little by better
15929 placement of cfi directives.
15930 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
15931 make a stack frame. Instead use parm save area as a temp.
15932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
15933 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
15934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
15935 Don't make a stack frame for parent, use parm save area.
15936 Increase child stack frame to 112 bytes. Don't save unused reg,
15937 and adjust reg usage. Set up cfi on error recovery and
15938 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
15939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15940 (__makecontext): Add dummy nop after jump to exit.
15941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
15942 Use correct parm save area and cr save, reduce stack frame.
15943 Correct cfi for possible PSEUDO_RET frame setup.
15944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
15945 Branch to local label emitted by PSEUDO_RET rather than
15948 2010-08-12 Andreas Schwab <schwab@redhat.com>
15951 * locale/programs/locale.c (print_assignment): New function.
15952 (show_locale_vars): Use it.
15954 2010-08-11 Ulrich Drepper <drepper@redhat.com>
15956 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
15958 (struct statfs64): Likewise.
15959 (_STATFS_F_FLAGS): Define.
15960 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
15961 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15962 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
15963 (ST_VALID): Define locally.
15964 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
15965 __statvfs_getflags, use the provided value.
15966 * sysdeps/unix/sysv/linux/kernel-features.h: Define
15967 __ASSUME_STATFS_F_FLAGS.
15969 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
15971 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
15972 Add sys/fanotify.h.
15973 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
15974 fanotify_mask for GLIBC_2.13.
15975 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
15976 fanotify_init and fanotify_mark.
15977 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15978 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
15980 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
15982 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
15983 prlimit64 for GLIBC_2.13.
15984 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
15986 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
15988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
15989 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15990 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
15991 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
15992 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
15994 * sysdeps/unix/sysv/linux/prlimit.c: New file.
15997 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
15998 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
16000 * nss/Makefile: Add rules to build and run tst-nss-test1.
16001 * shlib-versions: Add entry for libnss_test1.
16002 * nss/nss_test1.c: New file.
16003 * nss/tst-nss-test1.c: New file.
16005 * nss/nsswitch.c (__nss_database_custom): Define new variable.
16006 (__nss_configure_lookup): Set appropriate entry in
16007 __nss_configure_lookup to true.
16008 * nss/nsswitch.h: Define enum with indeces of databases in
16009 databases and __nss_database_custom arrays. Declare
16010 __nss_database_custom.
16011 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
16012 to avoid using nscd when custom rules are installed.
16013 * nss/getXXbyYY_r.c: Likewise.
16014 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16016 * nss/nss_files/files-parse.c: Whitespace fixes.
16018 2010-08-09 Ulrich Drepper <drepper@redhat.com>
16021 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
16022 * posix/fnmatch_loop.c: Likewise.
16024 2010-07-17 Andi Kleen <ak@linux.intel.com>
16026 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
16027 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
16028 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
16029 * Versions.def [GLIBC_2.13]: Add.
16031 2010-08-06 Ulrich Drepper <drepper@redhat.com>
16033 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16034 Also fail if tpwd after pwuid call is NULL.
16036 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
16038 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
16039 when converting to ms.
16041 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16043 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
16044 EOPNOTSUPP errors with ENOTTY.
16045 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
16046 EOPNOTSUPP errors with ENOTTY.
16048 2010-07-31 Ulrich Drepper <drepper@redhat.com>
16050 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
16051 Add strcasecmp_l-ssse3.
16052 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
16054 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
16055 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
16056 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
16058 2010-07-30 Ulrich Drepper <drepper@redhat.com>
16060 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
16062 * string/Makefile (strop-tests): Add strcasecmp.
16063 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
16064 strcasecmp_l-nonascii.
16065 (gen-as-const-headers): Add locale-defines.sym.
16066 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
16067 * sysdeps/x86_64/strcasecmp.S: New file.
16068 * sysdeps/x86_64/strcasecmp_l.S: New file.
16069 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
16070 * sysdeps/x86_64/locale-defines.sym: New file.
16071 * string/test-strcasecmp.c: New file.
16073 * string/test-strcasestr.c: Test both ends of the range of characters.
16074 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
16076 2010-07-29 Roland McGrath <roland@redhat.com>
16079 * manual/locale.texi (Yes-or-No Questions): Fix example code.
16081 2010-07-27 Ulrich Drepper <drepper@redhat.com>
16083 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
16086 2010-07-27 Andreas Schwab <schwab@redhat.com>
16088 * manual/memory.texi (Malloc Tunable Parameters): Document
16091 2010-07-26 Roland McGrath <roland@redhat.com>
16094 * configure.in (-fgnu89-inline check): Set and substitute
16095 gnu89_inline, not libc_cv_gnu89_inline.
16096 * configure: Regenerated.
16097 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
16099 2010-07-26 Ulrich Drepper <drepper@redhat.com>
16101 * string/test-strnlen.c: New file.
16102 * string/Makefile (strop-tests): Add strnlen.
16103 * string/tester.c (test_strnlen): Add a few more test cases.
16104 * string/tst-strlen.c: Better error reporting.
16106 * sysdeps/x86_64/strnlen.S: New file.
16108 2010-07-24 Ulrich Drepper <drepper@redhat.com>
16110 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
16111 lower-latency instructions.
16113 2010-07-23 Ulrich Drepper <drepper@redhat.com>
16115 * string/test-strcasestr.c: New file.
16116 * string/test-strstr.c: New file.
16117 * string/Makefile (strop-tests): Add strstr and strcasestr.
16118 * string/str-two-way.h: Don't undefine MAX.
16119 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
16121 2010-07-21 Andreas Schwab <schwab@redhat.com>
16123 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16124 strcasestr-nonascii.
16125 (CFLAGS-strcasestr-nonascii.c): Define.
16126 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
16127 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
16128 Remove unused attribute.
16130 2010-07-20 Roland McGrath <roland@redhat.com>
16132 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
16133 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
16134 ld.so.cache was broken. With it, there is no way to disable dsocaps
16135 like LD_HWCAP_MASK can disable hwcaps.
16137 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16139 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
16141 2010-07-16 Ulrich Drepper <drepper@redhat.com>
16143 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
16144 call in strcasestr.
16145 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
16146 __strcasestr_sse42_nonascii.
16147 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
16148 strcasestr-nonascii.c.
16149 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
16151 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
16153 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
16154 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
16155 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
16156 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
16158 2010-07-09 Ulrich Drepper <drepper@redhat.com>
16160 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
16163 2010-07-06 Andreas Schwab <schwab@redhat.com>
16166 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
16169 2010-07-06 Ulrich Drepper <drepper@redhat.com>
16171 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
16172 _PC_PIPE_BUF using F_GETPIPE_SZ.
16174 2010-07-05 Roland McGrath <roland@redhat.com>
16176 * manual/arith.texi (Rounding Functions): Fix rint description
16177 implicit in round description.
16179 2010-07-02 Ulrich Drepper <drepper@redhat.com>
16181 * elf/Makefile: Fix linking for a few tests to make recent linker
16184 2010-06-30 Andreas Schwab <schwab@redhat.com>
16186 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
16187 $(common-objpfx)libc_nonshared.a.
16189 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
16191 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
16192 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
16193 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16194 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16195 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
16196 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
16197 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16198 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
16200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
16201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
16202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
16204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
16206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
16207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
16208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
16209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
16211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
16213 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
16214 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
16215 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
16216 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
16217 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
16218 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
16219 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
16220 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
16221 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
16222 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
16223 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
16224 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
16225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
16226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
16227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
16228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
16229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
16230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
16231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
16232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
16233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
16234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
16235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
16236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
16237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
16238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
16240 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
16242 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
16243 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
16244 * string/memmove.c (memmove): Renamed to ...
16245 (MEMMOVE): ...this. Default to memmove.
16246 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
16247 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
16249 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16250 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
16251 mempcpy-ssse3-back memmove-ssse3-back.
16252 * sysdeps/x86_64/multiarch/bcopy.S: New file .
16253 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
16254 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
16255 * sysdeps/x86_64/multiarch/memcpy.S: New file.
16256 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
16257 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
16258 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
16259 * sysdeps/x86_64/multiarch/memmove.c: New file.
16260 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
16261 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
16262 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
16263 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
16264 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
16265 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
16267 (index_Fast_Copy_Backward): Define.
16268 (HAS_ARCH_FEATURE): Define.
16269 (HAS_FAST_REP_STRING): Define.
16270 (HAS_FAST_COPY_BACKWARD): Define.
16272 2010-06-21 Andreas Schwab <schwab@redhat.com>
16274 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16275 Restore proper fallback handling.
16277 2010-06-19 Ulrich Drepper <drepper@redhat.com>
16280 * posix/group_member.c (__group_member): Correct checking loop.
16282 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
16283 OOM in getpwuid_r correctly. Return error number when the caller
16284 should return, otherwise -1.
16285 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
16286 call returning > 0 value.
16287 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
16289 2010-06-07 Andreas Schwab <schwab@redhat.com>
16291 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
16292 libc_nonshared.a from targets in modules-names.
16294 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
16296 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
16299 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
16301 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
16302 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
16303 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
16304 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
16306 2010-06-02 Andreas Schwab <schwab@redhat.com>
16308 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
16310 2010-06-14 Ulrich Drepper <drepper@redhat.com>
16312 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
16314 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16315 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16316 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16317 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16318 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16319 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
16321 2010-06-14 Roland McGrath <roland@redhat.com>
16323 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
16325 2010-06-07 Jakub Jelinek <jakub@redhat.com>
16327 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
16328 __REDIRECT followed by __THROW.
16329 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
16330 * posix/getopt.h (getopt): Likewise.
16332 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16334 * hurd/lookup-at.c (__file_name_lookup_at): Accept
16335 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
16336 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
16338 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
16339 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
16341 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
16343 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
16345 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
16348 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16349 Properly check family and model.
16351 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
16353 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
16355 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
16357 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
16359 2010-05-21 Ulrich Drepper <drepper@redhat.com>
16361 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
16364 2010-05-19 Andreas Schwab <schwab@redhat.com>
16366 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
16369 2010-05-21 Andreas Schwab <schwab@redhat.com>
16371 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
16372 and internal_recvmmsg.
16373 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
16374 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
16375 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
16376 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
16378 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
16379 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16380 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16382 2010-05-20 Andreas Schwab <schwab@redhat.com>
16384 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
16386 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
16388 POWER7 optimizations.
16389 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
16390 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
16392 2010-05-19 Ulrich Drepper <drepper@redhat.com>
16394 * version.h: Update for 2.13 development version.
16396 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
16398 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
16399 exceptions. Return 0.
16401 2010-05-07 Roland McGrath <roland@redhat.com>
16403 * elf/ldconfig.c (main): Add a const.
16405 2010-05-06 Ulrich Drepper <drepper@redhat.com>
16407 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
16408 (args_options): Add no-idn option.
16409 (ahosts_keys_int): Add idn_flags to ai_flags.
16410 (parse_option): Handle 'i' option to clear idn_flags.
16412 * malloc/malloc.c (_int_free): Possible race in the most recently
16413 added check. Only act on the data if no current modification
16416 See ChangeLog.17 for earlier changes.