1 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
3 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
6 2012-06-11 Roland McGrath <roland@hack.frob.com>
9 * manual/argp.texi (Argp): Reword argp_parse description slightly.
11 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
13 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
14 (FE_UPWARD, FE_DOWNWARD): Don't define.
15 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
16 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
18 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
20 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
21 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
23 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
27 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
28 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
30 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
33 * sysdeps/i386/fpu/bits/fenv.h: Removed.
34 * sysdeps/i386/fpu/Implies: New file.
35 * sysdeps/x86_64/fpu/Implies: Likewise.
36 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
37 * sysdeps/x86/fpu/bits/fenv.h: This.
39 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
42 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
45 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
46 character 0xffff that matches the last element of the
49 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
54 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
57 values higher than 25.6283.
59 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
62 subnormal exponent extraction and add some __builtin_expect.
63 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
64 Fix for subnormal mantissa calculation.
66 2012-06-04 Mike Frysinger <vapier@gentoo.org>
68 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
69 cpu2 is -1 and errno is not ENOSYS.
71 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
74 * sysdeps/i386/i486/bits/string.h: Renamed to ...
75 * sysdeps/x86/bits/string.h: This.
76 * sysdeps/x86_64/bits/string.h: Removed.
78 * sysdeps/i386/i486/bits/string.h: Define inline functions only
79 if not compiling for x86-64, but compiling for >= i486.
81 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
82 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
84 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
85 New macro from Linux kernel 3.4.0.
86 (FP_XSTATE_MAGIC2): Likewise.
87 (FP_XSTATE_MAGIC2_SIZE): Likewise.
88 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
89 (struct _fpx_sw_bytes): New struct.
90 (struct _xsave_hdr): Likewise.
91 (struct _ymmh_state): Likewise.
92 (struct _xstate): Likewise.
94 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
95 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
96 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
97 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
98 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
99 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
101 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
102 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
103 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
104 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
105 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
106 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
108 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
111 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
112 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
113 (sysdep_headers): Include sys/platform/ppc.h.
114 * sysdeps/powerpc/test-gettimebase.c: Test for
115 __ppc_get_timebase() to catch future ISA opcode/insn changes.
116 * manual/Makefile (appendices): Include platform.texi.
117 * manual/contrib.texi (Contributors): Update @node pointers.
118 * manual/maint.texi (Maintenance): Likewise.
119 (Platform): New node.
120 * manual/platform.texi: New file. Document the new features.
122 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
123 Jakub Jelinek <jakub@redhat.com>
126 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
127 where __builtin_expect is unavailable.
129 2012-06-03 David S. Miller <davem@davemloft.net>
131 * stdlib/longlong.h: Updated from GCC.
133 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
136 * sysdeps/powerpc/powerpc32/mcount.c: New file.
137 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
140 (GLIBC_2.16): Likewise.
142 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
144 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
146 2012-06-01 Joseph Myers <joseph@codesourcery.com>
148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
149 (default-abi): New variable.
150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
151 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
153 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
155 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
157 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
160 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
161 definition. Document in comment.
163 2012-06-01 David S. Miller <davem@davemloft.net>
165 * stdlib/longlong.h: Updated from GCC.
167 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
170 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
171 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
172 sys/debugreg.h sys/io.h here.
173 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
174 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
176 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
177 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
178 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
179 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
180 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
181 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
183 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
184 Define only if __x86_64__ is defined.
186 2012-06-01 Joseph Myers <joseph@codesourcery.com>
189 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
190 Use int64_t for variable i.
191 * math/libm-test.inc (fmod_test): Add more tests.
193 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
194 z computation is not scheduled after fetestexcept.
195 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
196 Use math_force_eval instead of asm to ensure calculation scheduled
197 before exception test.
198 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
199 Ensure a1 + u.d computation is not scheduled after fetestexcept.
201 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
203 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
204 computation is not scheduled after fetestexcept.
206 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
209 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
210 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
212 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
214 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
215 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
217 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
220 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
222 (__WCHAR_MIN): Support __WORDSIZE == 64.
223 (__WCHAR_MAX): Likewise.
225 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
226 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
229 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
230 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
233 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
234 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
236 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
237 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
239 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
240 Defined to 1 if __x86_64__ isn't defined.
241 (_STAT_VER_LINUX_OLD): New.
242 (st_atime): Remove duplicate.
243 (st_mtime): Likewise.
244 (st_ctime): Likewise.
246 2012-05-31 David S. Miller <davem@davemloft.net>
248 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
251 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
253 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
257 * elf/dl-reloc.c: Include <_itoa.h>.
258 (_dl_reloc_bad_type): Remove use of INTUSE.
259 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
260 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
261 * stdio-common/psiginfo.c (psiginfo): Likewise.
262 * stdio-common/psignal.c (psignal): Likewise.
263 * string/strsignal.c (strsignal): Likewise.
264 * include/signal.h (_sys_siglist): Declare hidden proto.
265 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
266 INTVARDEF with libc_hidden_data_def.
267 * stdio-common/itoa-udigits.c: Likewise.
268 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
269 (_itoa_lower_digits_internal): Remove declaration.
270 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
271 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
272 (_sys_sigabbrev_internal): Remove aliases.
273 (_sys_siglist): Define hidden alias.
275 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
277 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
280 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
283 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
284 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
286 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
287 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
288 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
289 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
290 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
291 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
293 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
294 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
295 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
297 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
305 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
306 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
307 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
309 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
310 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
311 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
312 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
313 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
314 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
316 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
317 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
319 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
320 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
322 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
323 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
324 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
326 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
327 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
329 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
331 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
332 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
333 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
335 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
337 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
339 2012-05-31 Joseph Myers <joseph@codesourcery.com>
341 * math/math.h (M_El): Use two more decimal places.
342 (M_LOG2El): Likewise.
343 (M_LOG10El): Likewise.
351 (M_2_SQRTPIl): Likewise.
352 (M_SQRT2l): Likewise.
353 (M_SQRT1_2l): Likewise.
355 2012-05-31 David S. Miller <davem@davemloft.net>
357 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
358 values between float registers.
359 * sysdeps/sparc/sparc64/memset.S: Likewise.
360 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
362 2012-05-31 Mike Frysinger <vapier@gentoo.org>
364 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
366 (CPPFLAGS-tst-longjmp_chk.c): Define.
367 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
368 (CPPFLAGS-tst-longjmp_chk2.c): Define.
369 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
370 CFLAGS-tst-wchar-h.c.
372 2012-05-31 Marek Polacek <polacek@redhat.com>
375 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
376 __endmntent_internal): Remove declaration.
377 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
378 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
379 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
381 2012-05-30 David S. Miller <davem@davemloft.net>
383 * sysdeps/sparc/sparc32/soft-fp/q_util.c
384 (___Q_simulate_exceptions): Use real FP ops rather than writing
386 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
389 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
392 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
393 * sysdeps/x86/bits/xtitypes.h: This.
395 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
396 * sysdeps/x86/bits/wordsize.h: This.
398 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
399 * sysdeps/x86/bits/huge_vall.h: This.
401 * sysdeps/i386/bits/select.h: Removed.
402 * sysdeps/x86_64/bits/select.h: Renamed to ...
403 * sysdeps/x86/bits/select.h: This.
405 * sysdeps/i386/bits/setjmp.h: Removed.
406 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
407 * sysdeps/x86/bits/setjmp.h: This.
409 * sysdeps/i386/bits/mathdef.h: Removed.
410 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
411 * sysdeps/x86/bits/mathdef.h: This.
413 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
416 * include/sys/socket.h (__connect_internal)
417 (__libc_sa_len_internal): Remove declaration.
418 (__connect, __libc_sa_len): Declare hidden_proto.
419 (SA_LEN): Remove use of INTUSE.
420 * socket/connect.c: Add libc_hidden_def.
421 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
422 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
423 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
425 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
426 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
427 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
428 of adding _internal alias.
430 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
433 * sysdeps/i386/bits/link.h: Removed.
434 * sysdeps/i386/bits/linkmap.h: Likewise.
435 * sysdeps/x86_64/bits/link.h: Renamed to ...
436 * sysdeps/x86/bits/link.h: This.
437 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
438 * sysdeps/x86/bits/linkmap.h: This.
440 * sysdeps/i386/bits/endian.h: Removed.
441 * sysdeps/x86_64/bits/endian.h: Renamed to ...
442 * sysdeps/x86/bits/endian.h: This.
444 * sysdeps/i386/bits/byteswap.h: Removed.
445 * sysdeps/i386/bits/byteswap-16.h: Likewise.
446 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
447 * sysdeps/x86/bits/byteswap.h: This.
448 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
449 * sysdeps/x86/bits/byteswap-16.h: This.
450 * sysdeps/i386/Implies: Add x86.
451 * sysdeps/x86_64/Implies: Likewise.
453 2012-05-30 David S. Miller <davem@davemloft.net>
455 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
456 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
457 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
458 (FP_TRAPPING_EXCEPTIONS): Define.
459 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
460 (FP_TRAPPING_EXCEPTIONS): Define.
461 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
462 subnormals only when inexact has been signalled or underflow
463 exceptions are enabled.
464 (_FP_PACK_CANONICAL): Likewise.
466 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
469 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
470 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
472 2012-05-30 Richard Henderson <rth@twiddle.net>
474 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
475 with #ifndef NOT_IN_libc.
477 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
478 marked to avoid plt entry.
480 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
483 * Makeconfig (default-abi): New macro.
484 (abi-includes): Likewise.
485 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
486 $(abi-$(default-abi)-lib-soname) for soname if defined.
487 ($(common-objpfx)gnu/lib-names.stmp): Generate from
489 * Makefile (installed-stubs): Likewise.
490 * include/stubs-biarch.h: Removed.
491 * scripts/lib-names.awk: Only handle one library at a time.
492 * scripts/soversions.awk: Remove WORDSIZE support.
493 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
495 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
497 (syscall-list-default-condition): Likewise.
498 (syscall-list-default-condition): Likewise.
499 (syscall-list-includes): Likewise.
500 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
501 syscall-list-* with abi-*. Handle undefined abi-variants.
502 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
503 * sysdeps/unix/sysv/linux/i386/Implies: New file.
504 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
505 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
506 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
507 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
509 (syscall-list-32-options): Likewise.
510 (syscall-list-32-condition): Likewise.
511 (syscall-list-64-options): Likewise.
512 (syscall-list-64-condition): Likewise.
513 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
515 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
518 (abi-64-ld-soname): New macro.
519 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
520 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
523 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
524 * sysdeps/x86_64/x32/shlib-versions: Likewise.
526 2012-05-30 Joseph Myers <joseph@codesourcery.com>
528 * sysdeps/unix/sysv/linux/kernel-features.h
529 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
530 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
531 include <kernel-features.h>.
532 [!__NR_ftruncate64]: Remove conditional code.
533 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
534 [__NR_ftruncate64]: Make code unconditional.
535 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
536 * sysdeps/unix/sysv/linux/truncate64.c: Do not
537 include <kernel-features.h>.
538 [!__NR_ftruncate64]: Remove conditional code.
539 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
540 [__NR_ftruncate64]: Make code unconditional.
541 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
543 include <kernel-features.h>.
544 [!__NR_ftruncate64]: Remove conditional code.
545 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
546 [__NR_ftruncate64]: Make code unconditional.
547 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
549 include <kernel-features.h>.
550 [!__NR_ftruncate64]: Remove conditional code.
551 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
552 [__NR_ftruncate64]: Make code unconditional.
553 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
555 * configure.in (libc_cv_fpie): Weaken to a compile test using
557 * configure: Regenerated.
559 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
561 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
562 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
563 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
564 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
566 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
567 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
568 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
569 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
570 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
571 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
574 2012-05-27 David S. Miller <davem@davemloft.net>
576 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
578 (__Q_simulate_exceptions): Return void. Change to simulate
579 exceptions by writing into the %fsr.
580 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
581 (__Qp_handle_exceptions): Likewise.
583 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
584 __Qp_handle_exceptions.
585 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
586 __Qp_handle_exceptions.
587 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
588 as unused and give dummy FP_RND_NEAREST initializer.
589 (FP_INHIBIT_RESULTS): Define.
590 (___Q_simulate_exceptions): Update declaration.
591 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
593 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
594 as unused and give dummy FP_RND_NEAREST initializer.
595 (__Qp_handle_exceptions): Update declaration.
596 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
599 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
601 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
602 the temporary FPU control word.
603 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
604 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
605 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
606 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
607 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
608 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
609 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
610 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
611 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
612 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
613 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
615 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
617 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
620 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
622 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
623 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
624 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
625 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
627 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
628 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
631 2012-05-27 Ulrich Drepper <drepper@gmail.com>
633 * po/h.po: Update from translation team.
635 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
637 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
639 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
640 handling of denormals.
641 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
642 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
643 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
644 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
645 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
646 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
647 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
650 2012-05-26 Marek Polacek <polacek@redhat.com>
653 * math/libm-test.inc (fma_test): Don't always expect underflow
656 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
659 * elf/tst-execstack.c: Include stackinfo.h.
660 (do_test): Adjust test case to ensure that pthread_getattr_np
661 behaviour remains the same after marking stack executable.
663 2012-05-25 Joseph Myers <joseph@codesourcery.com>
665 * sysdeps/unix/sysv/linux/kernel-features.h
666 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
667 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
669 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
670 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
671 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
673 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
674 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
676 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
678 * configure.in: Define the default includes to being none.
679 * configure: Regenerated.
681 2012-05-25 Roland McGrath <roland@hack.frob.com>
683 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
684 * sysdeps/x86_64/setjmp.S: Likewise.
685 * sysdeps/i386/bsd-setjmp.S: Likewise.
686 * sysdeps/i386/bsd-_setjmp.S: Likewise.
687 * sysdeps/i386/setjmp.S: Likewise.
688 * sysdeps/i386/__longjmp.S: Likewise.
689 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
690 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
692 * include/stap-probe.h: New file.
693 * configure.in: Handle --enable-systemtap.
694 * configure: Regenerated.
695 * config.h.in (USE_STAP_PROBE): New #undef.
696 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
697 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
698 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
700 2012-05-25 Joseph Myers <joseph@codesourcery.com>
703 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
704 to 2.4.0 where earlier.
705 * sysdeps/unix/sysv/linux/configure: Regenerated.
706 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
708 [__ASSUME_32BITUIDS]: Make code unconditional.
709 [!__ASSUME_32BITUIDS]: Remove conditional code.
710 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
712 [__ASSUME_32BITUIDS]: Make code unconditional.
713 [!__ASSUME_32BITUIDS]: Remove conditional code.
714 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
715 [__ASSUME_32BITUIDS]: Make code unconditional.
716 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
717 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
719 [__ASSUME_32BITUIDS]: Make code unconditional.
720 [!__ASSUME_32BITUIDS]: Remove conditional code.
721 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
723 [__ASSUME_32BITUIDS]: Make code unconditional.
724 [!__ASSUME_32BITUIDS]: Remove conditional code.
725 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
727 [__ASSUME_32BITUIDS]: Make code unconditional.
728 [!__ASSUME_32BITUIDS]: Remove conditional code.
729 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
731 [__ASSUME_32BITUIDS]: Make code unconditional.
732 [!__ASSUME_32BITUIDS]: Remove conditional code.
733 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
735 [__ASSUME_32BITUIDS]: Make code unconditional.
736 [!__ASSUME_32BITUIDS]: Remove conditional code.
737 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
739 [__ASSUME_32BITUIDS]: Make code unconditional.
740 [!__ASSUME_32BITUIDS]: Remove conditional code.
741 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
743 [__ASSUME_32BITUIDS]: Make code unconditional.
744 [!__ASSUME_32BITUIDS]: Remove conditional code.
745 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
747 [__ASSUME_32BITUIDS]: Make code unconditional.
748 [!__ASSUME_32BITUIDS]: Remove conditional code.
749 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
751 [__ASSUME_32BITUIDS]: Make code unconditional.
752 [!__ASSUME_32BITUIDS]: Remove conditional code.
753 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
755 [__ASSUME_32BITUIDS]: Make code unconditional.
756 [!__ASSUME_32BITUIDS]: Remove conditional code.
757 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
759 [__NR_setresgid] (__setresgid): Do not declare.
760 [__ASSUME_32BITUIDS]: Make code unconditional.
761 [!__ASSUME_32BITUIDS]: Remove conditional code.
762 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
764 [__NR_setresuid] (__setresuid): Do not declare.
765 [__ASSUME_32BITUIDS]: Make code unconditional.
766 [!__ASSUME_32BITUIDS]: Remove conditional code.
767 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
769 [__ASSUME_32BITUIDS]: Make code unconditional.
770 [!__ASSUME_32BITUIDS]: Remove conditional code.
771 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
773 [__ASSUME_32BITUIDS]: Make code unconditional.
774 [!__ASSUME_32BITUIDS]: Remove conditional code.
775 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
777 [__ASSUME_32BITUIDS]: Make code unconditional.
778 [!__ASSUME_32BITUIDS]: Remove conditional code.
779 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
781 [__ASSUME_32BITUIDS]: Make code unconditional.
782 [!__ASSUME_32BITUIDS]: Remove conditional code.
783 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
785 [__ASSUME_32BITUIDS]: Make code unconditional.
786 [!__ASSUME_32BITUIDS]: Remove conditional code.
787 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
789 [__ASSUME_32BITUIDS]: Make code unconditional.
790 [!__ASSUME_32BITUIDS]: Remove conditional code.
791 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
793 [__ASSUME_32BITUIDS]: Make code unconditional.
794 [!__ASSUME_32BITUIDS]: Remove conditional code.
795 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
797 [__ASSUME_32BITUIDS]: Make code unconditional.
798 [!__ASSUME_32BITUIDS]: Remove conditional code.
799 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
801 [__ASSUME_32BITUIDS]: Make code unconditional.
802 [!__ASSUME_32BITUIDS]: Remove conditional code.
803 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
805 [__ASSUME_32BITUIDS]: Make code unconditional.
806 [!__ASSUME_32BITUIDS]: Remove conditional code.
807 * sysdeps/unix/sysv/linux/kernel-features.h
808 (__ASSUME_SETRESUID_SYSCALL): Remove.
809 (__ASSUME_SETRESGID_SYSCALL): Likewise.
810 (__ASSUME_32BITUIDS): Likewise.
811 (__ASSUME_LDT_WORKS): Likewise.
812 (__ASSUME_O_DIRECTORY): Likewise.
813 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
814 architecture but not kernel version.
815 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
816 (__ASSUME_MMAP2_SYSCALL): Likewise.
817 (__ASSUME_STAT64_SYSCALL): Likewise.
818 (__ASSUME_IPC64): Likewise.
819 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
821 [__ASSUME_32BITUIDS]: Make code unconditional.
822 [!__ASSUME_32BITUIDS]: Remove conditional code.
823 * sysdeps/unix/sysv/linux/opendir.c: Do not include
825 [__ASSUME_O_DIRECTORY]: Make code unconditional.
826 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
827 132096]: Remove conditional code.
828 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
829 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
831 [__ASSUME_32BITUIDS]: Make code unconditional.
832 [!__ASSUME_32BITUIDS]: Remove conditional code.
833 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
835 [__ASSUME_32BITUIDS]: Make code unconditional.
836 [!__ASSUME_32BITUIDS]: Remove conditional code.
837 * sysdeps/unix/sysv/linux/setegid.c: Do not include
839 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
841 (__setresgid): Do not declare.
842 [__ASSUME_32BITUIDS]: Make code unconditional.
843 [!__ASSUME_32BITUIDS]: Remove conditional code.
844 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
846 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
848 (__setresuid): Do not declare.
849 [__ASSUME_32BITUIDS]: Make code unconditional.
850 [!__ASSUME_32BITUIDS]: Remove conditional code.
851 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
853 [__ASSUME_32BITUIDS]: Make code unconditional.
854 [!__ASSUME_32BITUIDS]: Remove conditional code.
855 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
857 [__ASSUME_32BITUIDS]: Make code unconditional.
858 [!__ASSUME_32BITUIDS]: Remove conditional code.
860 2012-05-25 Richard Henderson <rth@twiddle.net>
862 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
863 dl_hwcap to ifunc resolver.
864 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
866 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
867 dl_hwcap to ifunc resolver.
868 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
870 2012-05-24 Joseph Myers <joseph@codesourcery.com>
873 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
874 for |x| <= 2**-26, not 2**-57.
875 * math/libm-test.inc (acos_test): Do not allow spurious underflow
878 2012-05-24 Jeff Law <law@redhat.com>
880 * stdio-common/Makefile (tests): Add bug25.
881 * stdio-common/bug25.c: New test.
883 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
886 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
887 multiple of MALLOC_ALIGNMENT in size.
888 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
890 2012-05-24 Joseph Myers <joseph@codesourcery.com>
892 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
894 (FILENAME_MAX): Use macro-int-constant.
895 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
896 (_IOFBF): Use macro-int-constant.
899 (SEEK_CUR): Likewise.
900 (SEEK_END): Likewise.
901 (SEEK_SET): Likewise.
903 (EOF): Use macro-int-constant. Require < 0.
904 (NULL): Use macro-constant. Require == 0.
905 (stdin): Require type to be FILE *.
908 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
910 (EXIT_SUCCESS): Likewise.
911 (NULL): Use macro-constant. Require == 0.
912 (RAND_MAX): Use macro-int-constant.
913 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
914 [C99-based standards] (strtof): Require function.
915 [C99-based standards] (strtold): Likewise.
916 [C99-based standards] (strtoll): Likewise.
917 [C99-based standards] (strtoull): Likewise.
918 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
919 [ISO || ISO99 || ISO11] (limits.h): Likewise.
920 [ISO || ISO99 || ISO11] (math.h): Likewise.
921 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
922 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
923 [ISO || ISO99 || ISO11] (*_t): Do not allow.
925 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
928 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
929 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
930 * intl/dgettext.c (DCGETTEXT): Likewise.
931 * intl/gettext.c (DCGETTEXT): Likewise.
932 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
933 * posix/regex_internal.h (gettext): Likewise.
934 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
936 * include/argz.h (__argz_count_internal)
937 (__argz_stringify_internal): Remove declaration.
938 (__argz_count, __argz_stringify): Declare hidden proto.
939 * intl/dcgettext.c: Remove use of INTDEF.
940 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
941 * string/argz-stringify.c: Likewise.
942 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
943 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
944 Declare hidden proto.
945 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
946 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
947 Declare hidden proto.
948 * include/stdio.h (__asprintf_internal): Don't declare.
949 (__asprintf): Don't define as macro. Declare hidden proto.
950 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
951 (__fsetlocking): Declare hidden proto.
952 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
953 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
955 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
956 (_IO_setlinebuf): Remove use of INTUSE.
957 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
958 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
959 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
961 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
962 (_IO_do_flush): Remove use of INTUSE.
963 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
964 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
965 (_IO_adjust_column, _IO_least_wmarker)
966 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
967 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
968 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
969 (_IO_default_doallocate, _IO_wdefault_doallocate)
970 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
971 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
972 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
973 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
974 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
975 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
976 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
977 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
978 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
979 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
980 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
981 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
982 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
984 (_IO_flush_all_internal, _IO_adjust_column_internal)
985 (_IO_default_uflow_internal, _IO_default_finish_internal)
986 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
987 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
988 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
989 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
990 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
991 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
992 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
993 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
994 (_IO_file_close_internal, _IO_file_close_it_internal)
995 (_IO_file_underflow_internal, _IO_file_overflow_internal)
996 (_IO_file_init_internal, _IO_file_attach_internal)
997 (_IO_file_fopen_internal, _IO_file_read_internal)
998 (_IO_file_sync_internal, _IO_file_seek_internal)
999 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
1000 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
1001 (_IO_str_underflow_internal, _IO_str_overflow_internal)
1002 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
1003 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
1004 (_IO_list_all_internal, _IO_link_in_internal)
1005 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
1006 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
1007 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
1008 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
1009 (_IO_do_write_internal, _IO_padn_internal)
1010 (_IO_getline_info_internal, _IO_getline_internal)
1011 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
1012 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
1013 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
1014 (_IO_vfscanf_internal, _IO_vfprintf_internal)
1015 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
1016 (_IO_init_internal, _IO_un_link_internal): Don't declare.
1017 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
1018 with libc_hidden_ver, remove use of INTUSE.
1019 * libio/genops.c: Likewise.
1020 * libio/freopen.c: Likewise.
1021 * libio/freopen64.c: Likewise.
1022 * libio/iofclose.c: Likewise.
1023 * libio/iofdopen.c: Likewise.
1024 * libio/iofflush.c: Likewise.
1025 * libio/iofflush_u.c: Likewise.
1026 * libio/iofgets.c: Likewise.
1027 * libio/iofgets_u.c: Likewise.
1028 * libio/iofopen.c: Likewise.
1029 * libio/iofopncook.c: Likewise.
1030 * libio/iofread.c: Likewise.
1031 * libio/iofread_u.c: Likewise.
1032 * libio/ioftell.c: Likewise.
1033 * libio/iofwrite.c: Likewise.
1034 * libio/iogetline.c: Likewise.
1035 * libio/iogets.c: Likewise.
1036 * libio/iogetwline.c: Likewise.
1037 * libio/iopadn.c: Likewise.
1038 * libio/iopopen.c: Likewise.
1039 * libio/ioseekoff.c: Likewise.
1040 * libio/ioseekpos.c: Likewise.
1041 * libio/iosetbuffer.c: Likewise.
1042 * libio/iosetvbuf.c: Likewise.
1043 * libio/ioungetc.c: Likewise.
1044 * libio/ioungetwc.c: Likewise.
1045 * libio/iovdprintf.c: Likewise.
1046 * libio/iovsprintf.c: Likewise.
1047 * libio/iovsscanf.c: Likewise.
1048 * libio/memstream.c: Likewise.
1049 * libio/obprintf.c: Likewise.
1050 * libio/oldfileops.c: Likewise.
1051 * libio/oldiofclose.c: Likewise.
1052 * libio/oldiofdopen.c: Likewise.
1053 * libio/oldiofopen.c: Likewise.
1054 * libio/oldiopopen.c: Likewise.
1055 * libio/oldstdfiles.c: Likewise.
1056 * libio/putc.c: Likewise.
1057 * libio/setbuf.c: Likewise.
1058 * libio/setlinebuf.c: Likewise.
1059 * libio/stdfiles.c: Likewise.
1060 * libio/strops.c: Likewise.
1061 * libio/vasprintf.c: Likewise.
1062 * libio/vscanf.c: Likewise.
1063 * libio/vsnprintf.c: Likewise.
1064 * libio/vswprintf.c: Likewise.
1065 * libio/wfiledoalloc.c: Likewise.
1066 * libio/wfileops.c: Likewise.
1067 * libio/wgenops.c: Likewise.
1068 * libio/wmemstream.c: Likewise.
1069 * libio/wstrops.c: Likewise.
1070 * libio/__fpurge.c: Likewise.
1071 * libio/__fsetlocking.c: Likewise.
1072 * assert/assert.c: Likewise.
1073 * debug/fgets_chk.c: Likewise.
1074 * debug/fgets_u_chk.c: Likewise.
1075 * debug/fread_chk.c: Likewise.
1076 * debug/fread_u_chk.c: Likewise.
1077 * debug/gets_chk.c: Likewise.
1078 * debug/obprintf_chk.c: Likewise.
1079 * debug/vasprintf_chk.c: Likewise.
1080 * debug/vdprintf_chk.c: Likewise.
1081 * debug/vsnprintf_chk.c: Likewise.
1082 * debug/vsprintf_chk.c: Likewise.
1083 * malloc/mtrace.c: Likewise.
1084 * misc/error.c: Likewise.
1085 * misc/syslog.c: Likewise.
1086 * stdio-common/asprintf.c: Likewise.
1087 * stdio-common/fxprintf.c: Likewise.
1088 * stdio-common/getw.c: Likewise.
1089 * stdio-common/isoc99_fscanf.c: Likewise.
1090 * stdio-common/isoc99_scanf.c: Likewise.
1091 * stdio-common/isoc99_vfscanf.c: Likewise.
1092 * stdio-common/isoc99_vscanf.c: Likewise.
1093 * stdio-common/isoc99_vsscanf.c: Likewise.
1094 * stdio-common/printf-prs.c: Likewise.
1095 * stdio-common/printf_fp.c: Likewise.
1096 * stdio-common/printf_fphex.c: Likewise.
1097 * stdio-common/printf_size.c: Likewise.
1098 * stdio-common/putw.c: Likewise.
1099 * stdio-common/scanf.c: Likewise.
1100 * stdio-common/sprintf.c: Likewise.
1101 * stdio-common/tmpfile.c: Likewise.
1102 * stdio-common/vfprintf.c: Likewise.
1103 * stdio-common/vfscanf.c: Likewise.
1104 * stdlib/strfmon_l.c: Likewise.
1105 * sunrpc/openchild.c: Likewise.
1106 * sunrpc/xdr_stdio.c: Likewise.
1107 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
1108 * sysdeps/mach/hurd/tmpfile.c: Likewise.
1110 2012-05-24 Roland McGrath <roland@hack.frob.com>
1112 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1114 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
1115 in the third column, to generate for the shared library an IFUNC
1116 that uses _dl_vdso_vsym.
1117 * Makerules (COMPILE.c, compile-stdin.c): New variables.
1118 * Makeconfig (object-suffixes-noshared): New variable.
1120 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
1121 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
1122 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
1123 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
1126 * include/sys/time.h (__gettimeofday): Remove macro.
1127 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
1128 * time/gettimeofday.c (__gettimeofday): Remove #undef.
1130 (__gettimeofday): Add libc_hidden_def.
1131 (gettimeofday): Add libc_hidden_weak.
1132 * sysdeps/mach/gettimeofday.c: Likewise.
1133 * sysdeps/posix/gettimeofday.c: Likewise.
1134 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
1135 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
1136 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
1137 (__gettimeofday_internal): Remove strong_alias.
1138 (__gettimeofday): Add libc_hidden_def.
1139 (gettimeofday): Add libc_hidden_weak.
1140 * sysdeps/unix/syscalls.list (gettimeofday):
1141 Remove __gettimeofday_internal alias.
1143 2012-05-24 Daniel Jacobowitz <drow@false.org>
1144 H.J. Lu <hongjiu.lu@intel.com>
1147 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
1148 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
1149 (largebin_index_32_big): New.
1150 (largebin_index): Use it for 16-byte alignment.
1151 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
1152 correction with front_misalign.
1154 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
1156 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
1157 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
1159 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
1161 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
1163 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
1165 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
1167 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
1169 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
1171 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1173 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
1175 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
1177 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
1179 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
1182 * scripts/data/c++-types-x32-linux-gnu.data: New file.
1183 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
1185 2012-05-24 Joseph Myers <joseph@codesourcery.com>
1189 * math/libm-test.inc (exp_test): Add test from bug 14036.
1190 (pow_test): Add test from bug 10846.
1192 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
1194 (special_function): Do not include flags in test name.
1195 (parse_args): Likewise.
1196 * sysdeps/i386/fpu/libm-test-ulps: Update.
1197 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1198 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1199 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1200 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1202 * math/gen-libm-test.pl (%beautify): Add entries for underflow
1204 * math/libm-test.inc ("Philosophy"): Update comment about
1206 (UNDERFLOW_EXCEPTION): New macro.
1207 (UNDERFLOW_EXCEPTION_OK): Likewise.
1208 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
1209 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
1210 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
1211 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
1212 (INVALID_EXCEPTION_OK): Update value.
1213 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1214 (OVERFLOW_EXCEPTION_OK): Likewise.
1215 (IGNORE_ZERO_INF_SIGN): Likewise.
1216 (test_exceptions): Handle underflow exceptions.
1217 (acos_test): Update for underflow exception expectations.
1218 (cexp_test): Likewise.
1219 (clog_test): Likewise.
1220 (clog10_test): Likewise.
1221 (csqrt_test): Likewise.
1222 (ctan_test): Likewise.
1223 (ctanh_test): Likewise.
1224 (exp_test): Likewise.
1225 (exp10_test): Likewise.
1226 (exp2_test): Likewise.
1227 (expm1_test): Likewise.
1228 (fma_test): Likewise.
1229 (j0_test): Likewise.
1230 (jn_test): Likewise.
1231 (nexttoward_test): Likewise.
1232 (pow_test): Likewise.
1233 (scalbn_test): Likewise.
1234 (scalbln_test): Likewise.
1235 (tan_test): Likewise.
1236 (y1_test): Likewise.
1237 * sysdeps/i386/fpu/libm-test-ulps: Update.
1238 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1240 2012-05-23 David S. Miller <davem@davemloft.net>
1242 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1243 (__libc_sigaction): Remove unused local variables.
1245 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1247 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
1249 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
1251 mktime: avoid signed integer overflow
1252 * time/mktime.c (__mktime_internal): Do not mishandle the case
1253 where diff == INT_MIN.
1255 mktime: simplify computation of average
1256 * time/mktime.c (ranged_convert): Use new time_t_avg function
1257 instead of rolling our own (probably-slower) code.
1259 mktime: do not assume signed right shift propagates sign bit
1260 * time/mktime.c (isdst_differ): New static function.
1261 (__mktime_internal): No need to normalize tm_isdst now.
1262 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
1265 mktime: merge another wrapv change from gnulib
1266 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
1267 from some compilers.
1269 mktime: remove incorrect attempt at unusual arithmetics
1270 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
1271 The code didn't really work on such machines anyway.
1272 (TYPE_MINIMUM): Assume two's complement.
1273 (twos_complement_arithmetic): Verify that long_int and time_t
1274 are two's complement (or unsigned, in the latter case).
1276 mktime: check signed shifts on long_int and time_t, too
1277 * time/mktime.c (SHR): Check that shifts work as desired
1278 on the types long_int and time_t too, as SHR is used on
1281 mktime: do not assume 'long' is wide enough
1282 * time/mktime.c (verify): Move decl up.
1283 (long_int): New type.
1284 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
1285 to remove assumption in the code that 'long' is wide enough to
1286 store year values. This assumption is not true on x32 and on
1287 some non-glibc platforms.
1289 mktime: merge wrapv change from gnulib
1290 * time/mktime.c (WRAPV): New macro.
1291 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
1292 (guess_time_tm, __mktime_internal): Do not assume that signed
1293 integer overflow wraps around; modern compilers generate code
1294 where this assumption is no longer valid.
1296 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1298 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1299 Replace "jmp L(pseudo_end)" with "ret".
1300 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
1303 2012-05-23 Andreas Jaeger <aj@suse.de>
1305 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
1306 * sysdeps/unix/sysv/linux/poll.c: Remove file.
1308 2012-05-23 Andreas Jaeger <aj@suse.de>
1309 Maximilian Attems <max@stro.at>
1311 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
1314 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1316 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
1317 code so that pseudo_end is just ret and the stack pointer is
1318 correct also for static library in error case.
1320 2012-05-23 Joseph Myers <joseph@codesourcery.com>
1322 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
1323 move to syscalls.list.
1324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1329 * manual/install.texi (Running make install): Do not mention Linux
1330 kernel version for which pt_chown is not needed.
1331 (Linux): Do not mention problems with nscd with 2.0 kernels.
1332 * INSTALL: Regenerated.
1334 2012-05-23 Andreas Jaeger <aj@suse.de>
1336 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
1337 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
1339 * sysdeps/unix/sysv/linux/s390/bits/mman.h
1340 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1341 * sysdeps/unix/sysv/linux/sh/bits/mman.h
1342 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1343 * sysdeps/unix/sysv/linux/i386/bits/mman.h
1344 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1345 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
1346 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1347 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
1348 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1349 * sysdeps/unix/sysv/linux/bits/in.h
1350 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
1352 2012-05-22 Roland McGrath <roland@hack.frob.com>
1354 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
1355 (PREPARE_VERSION): Just use assert instead, it will be elided
1356 under [NDEBUG] anyway.
1358 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1360 * sysdeps/unix/sysv/linux/Makefile: Include
1361 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
1362 (sysdep_routines): Remove sysctl.
1363 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
1364 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
1365 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
1366 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
1367 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
1369 2012-05-22 Andreas Jaeger <aj@suse.de>
1371 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
1372 that pseudo_end is just ret and the stack pointer is correct also
1373 for static library in error case.
1375 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
1378 * nss/nsswitch.c (defconfig_entries): New variable.
1379 (__nss_database_lookup): Don't leak defconfig entries.
1380 (nss_parse_service_list): Don't leak on error paths.
1381 (free_database_entries): New function.
1382 (free_defconfig): New function.
1383 (free_mem): Move common code to free_database_entries.
1385 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1387 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
1389 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
1391 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1392 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
1393 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
1395 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
1396 (INTERNAL_SYSCALL_TYPES): Likewise.
1397 (LOAD_ARGS_TYPES_[1-6]): Likewise.
1398 (LOAD_REGS_TYPES_[1-6]): Likewise.
1399 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
1400 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
1402 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1404 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
1405 copysignl for GLIBC_2_0.
1406 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
1407 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
1408 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
1409 logbl for GLIBC_2_0.
1410 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1411 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1413 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1415 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
1416 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1418 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1421 * time/mktime.c: Update copyright years.
1423 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
1425 mktime: merge comment-quoting-style change from gnulib
1426 * time/mktime.c: Quote 'like this' in comments.
1427 The GNU coding standards suggest that we no longer quote `like this',
1428 as "`" and "'" are typically rendered asymmetrically nowadays.
1429 The typical gnulib style is to quote 'like this' when quoting
1430 code, and "like this" when quoting English.
1432 * time/mktime.c (compile-command): Add "-I.".
1434 mktime: merge mktime-internal.h change from gnulib
1435 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
1437 mktime: merge time_r change from gnulib
1438 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
1440 mktime: merge DEBUG change from gnulib
1441 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
1442 case system <time.h> has a #define.
1444 mktime: merge <sys/types.h> change from gnulib
1445 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
1446 since <time.t> is now guaranteed to define time_t.
1448 mktime: merge HAVE_CONFIG_H change from gnulib
1449 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
1451 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1453 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1456 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
1458 (struct rusage): Use anonymous union to pad each field to
1461 2012-05-21 David S. Miller <davem@davemloft.net>
1463 * Makefules (o-iterator): Remove .s cases.
1464 (compile-command.s): Delete.
1465 (COMPILE.s): Delete.
1466 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
1468 2012-05-21 Joseph Myers <joseph@codesourcery.com>
1470 * configure.in (libc_cv_predef_stack_protector): Only consider
1471 "foobar" and "__stack_chk_fail" lines in libc_undefs.
1472 * configure: Regenerated.
1474 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1476 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1477 New macro. Use R*LP on int and pointer.
1478 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
1479 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
1480 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
1481 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
1483 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
1484 [__WORDSIZE_TIME64_COMPAT32] instead of
1485 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
1486 (struct utmp): Likewise.
1487 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
1488 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
1490 (__WORDSIZE_TIME64_COMPAT32): This.
1491 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
1492 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
1493 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
1494 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
1495 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
1496 (__WORDSIZE_TIME64_COMPAT32): New macro.
1498 2012-05-21 Andreas Jaeger <aj@suse.de>
1500 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
1501 only if [SHARED]. Add prototype for __wcschr_ia32.
1503 2012-05-21 Roland McGrath <roland@hack.frob.com>
1505 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
1506 of %rbp unmolested in the jmp_buf while mangling the low bits.
1507 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
1508 unmolested high bits of %rbp while demangling the low bits.
1509 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
1511 2012-05-21 Andreas Jaeger <aj@suse.de>
1513 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
1514 * sunrpc/svc_simple.c: Use it for registerrpc.
1515 * sunrpc/xcrypt.c: Use it for passwd2des.
1517 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
1519 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1521 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
1522 Don't define if [__SYSCALL_WORDSIZE != 32].
1523 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
1526 2012-05-21 Bruno Haible <bruno@clisp.org>
1527 Andreas Jaeger <aj@suse.de>
1529 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
1530 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
1531 inptr and inend for must_buffer_ch.
1532 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
1533 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
1534 * stdio-common/Makefile (tests): Remove bug15.
1535 (bug15-ENV): Remove macro.
1536 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
1539 2012-05-19 Andreas Jaeger <aj@suse.de>
1540 Roland McGrath <roland@hack.frob.com>
1542 * manual/contrib.texi: Completely rewritten. It contains now an
1543 alphabetical list of contributors and their contributions.
1545 2012-05-21 Richard Henderson <rth@twiddle.net>
1547 * misc/getauxval.c (__getauxval): Use unsigned long int.
1548 * misc/sys/auxv.h: Include <sys/cdefs.h>.
1549 (getauxval): Use unsigned long int.
1551 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1553 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1555 2012-05-21 Roland McGrath <roland@hack.frob.com>
1557 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
1558 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
1559 __alignof__ (long double).
1561 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1563 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1565 2012-05-20 Richard Henderson <rth@twiddle.net>
1567 * misc/getauxval.c: New file.
1568 * misc/sys/auxv.h: New file.
1569 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
1570 (routines): Add getauxval.
1571 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
1572 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
1573 * elf/dl-sysdep.c (_dl_auxv): Remove.
1574 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
1575 * elf/dl-support.c (_dl_auxv): New variable.
1576 (_dl_aux_init): Initialize it.
1577 * manual/startup.texi (Auxiliary Vector): New node.
1578 * sysdeps/generic/bits/hwcap.h: New file.
1579 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
1580 * sysdeps/powerpc/sysdep.h: ... here. Include it.
1581 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
1582 * sysdeps/sparc/sysdep.h: ... here. Include it.
1583 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
1584 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
1585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
1588 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
1589 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
1590 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
1591 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1592 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1593 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
1594 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
1596 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1598 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1600 2012-05-19 David S. Miller <davem@davemloft.net>
1602 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1604 2012-05-19 Joseph Myers <joseph@codesourcery.com>
1607 * math/s_ccosh.c: Include <float.h>
1608 (__ccosh): Avoid internal overflow calculating sinh and cosh
1609 values before multiplying by sin and cos values.
1610 * math/s_ccoshf.c: Likewise.
1611 * math/s_ccoshl.c: Likewise.
1612 * math/s_csin.c: Likewise.
1613 * math/s_csinf.c: Likewise.
1614 * math/s_csinl.c: Likewise.
1615 * math/s_csinh.c: Likewise.
1616 * math/s_csinhf.c: Likewise.
1617 * math/s_csinhl.c: Likewise.
1618 * math/libm-test.inc (ccos_test): Add more tests.
1619 (ccosh_test): Likewise.
1620 (csin_test): Likewise.
1621 (csinh_test): Likewise.
1622 * sysdeps/i386/fpu/libm-test-ulps: Update.
1623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1625 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
1627 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
1628 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
1630 * sysdeps/x86_64/x32/_itoa.h: Add comment.
1632 2012-05-19 Joseph Myers <joseph@codesourcery.com>
1634 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
1635 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
1636 * sysdeps/powerpc/soft-fp/Versions: Likewise.
1637 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
1638 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
1639 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
1640 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
1641 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
1642 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
1643 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
1644 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
1645 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
1646 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
1647 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
1648 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
1649 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
1650 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
1651 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
1652 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
1653 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
1654 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
1655 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
1656 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
1657 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
1658 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
1659 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
1660 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
1661 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
1662 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
1663 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
1664 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
1666 2012-05-18 Andreas Jaeger <aj@suse.de>
1668 * csu/.gitignore: Delete.
1670 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1672 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
1673 (timex): Use __syscall_slong_t.
1675 2012-05-18 Andreas Jaeger <aj@suse.de>
1676 Carlos O'Donell <carlos_odonell@mentor.com>
1678 * manual/install.texi (Configuring and compiling): Update
1679 description about files modified in the source directory.
1680 * INSTALL: Regenerated.
1682 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1684 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
1685 value. Use "or" to set return value to -1.
1686 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
1687 negate return value.
1689 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1691 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
1692 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
1693 failure if the compiler has Graphite support disabled.
1694 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
1696 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
1697 CFLAGS-memmove.c): Likewise.
1698 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
1701 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1703 * sysdeps/x86_64/x32/_itoa.h: New file.
1705 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
1706 getdents system call only if kernel and user dirents have the
1707 same d_ino and d_off.
1709 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1710 LLONG_MAX != LONG_MAX.
1711 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1712 (_fitoa_word): Likewise.
1714 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
1716 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
1717 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
1718 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
1720 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
1721 include <bits/wordsize.h>. Check __x86_64__ instead of
1723 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
1724 if __x86_64__ is defined. Use anonymous union on fpstate.
1726 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
1729 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
1731 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
1732 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
1733 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
1734 Refer to _rtld_local_ro instead of _rtld_global_ro.
1735 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
1737 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
1739 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
1741 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
1742 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
1743 of _rtld_global, and rtld_progname instead of _dl_argv[0].
1745 * sysdeps/powerpc/powerpc32/dl-machine.c
1746 (__elf_machine_runtime_setup) [PROF]: Don't reference
1749 2012-05-18 Andreas Jaeger <aj@suse.de>
1751 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
1752 function only available for GCCs before 3.4 since GCC 3.4
1753 introduced a builtin.
1755 (llrintf): Likewise.
1763 (nearbyint): Likewise.
1764 (nearbyintf): Likewise.
1770 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1772 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
1773 on both fields and cast pointer to __syscall_ulong_t.
1775 * bits/types.h (__fsword_t): New type.
1776 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
1777 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
1778 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1779 (__FSWORD_T_TYPE): Likewise.
1780 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1781 (__FSWORD_T_TYPE): Likewise.
1782 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1783 (__FSWORD_T_TYPE): Likewise.
1784 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
1785 (__FSWORD_T_TYPE): Likewise.
1786 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
1787 __SWORD_TYPE with __fsword_t.
1788 (statfs64): Likewise.
1790 2012-05-17 David S. Miller <davem@davemloft.net>
1792 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
1794 2012-05-17 Andreas Jaeger <aj@suse.de>
1796 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
1799 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1801 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
1803 2012-05-17 Andreas Jaeger <aj@suse.de>
1805 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
1808 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1810 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
1812 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1814 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
1815 * sysdeps/x86_64/tst-mallocalign1.c: New file.
1817 2012-05-17 Andreas Jaeger <aj@suse.de>
1818 Carlos O'Donell <carlos_odonell@mentor.com>
1821 * sysdeps/x86_64/multiarch/init-arch.h
1822 (bit_YMM_Usable): Rename to...
1823 (bit_AVX_Usable): ... this.
1824 (bit_FMA4_Usable): New macro.
1825 (bit_XMM_state): New macro.
1826 (bit_YMM_state): New macro.
1827 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
1828 [__ASSEMBLER__] (index_AVX_Usable): ... this.
1829 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
1830 (CPUID_OSXSAVE): New macro.
1831 (CPUID_AVX): New macro.
1832 (CPUID_FMA4): New macro.
1833 (index_YMM_Usable): Rename to...
1834 (index_AVX_Usable): ... this.
1835 (HAS_AVX): Use HAS_ARCH_FEATURE.
1836 (HAS_FMA4): Likewise.
1837 (HAS_YMM_USABLE): Remove.
1838 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1839 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
1841 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
1842 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
1843 * sysdeps/x86_64/multiarch/Makefile: Likewise.
1844 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
1845 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
1847 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1849 * math/libm-test.c: Support platforms without multiple rounding modes.
1850 * math/bug-nextafter.c: Support platforms without FP exceptions.
1851 * math/bug-nexttoward.c: Likewise.
1852 * math/test-fenv.c: Likewise.
1853 * math/test-misc.c: Likewise.
1854 * stdlib/bug-getcontext.c: Likewise.
1856 2012-05-17 Andreas Jaeger <aj@suse.de>
1858 * manual/examples/search.c (critter_cmp): Change signature to
1860 * manual/string.texi (Collation Functions): Likewise.
1862 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1864 * bits/types.h: Fold copyright years.
1865 * bits/typesizes.h: Likewise.
1866 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
1867 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
1868 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
1869 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
1870 * time/time.h: Likewise.
1872 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
1875 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
1876 in instead of returning them. Return void.
1877 (__libc_mallinfo): Accumulate over all arenas.
1878 (__malloc_stats): Adjust for change in int_mallinfo interface.
1880 2012-05-16 Roland McGrath <roland@hack.frob.com>
1883 * configure.in (NM): Add AC_CHECK_TOOL for it.
1884 (libc_extra_cflags): New substituted variable.
1885 Check for -fstack-protector being used implicitly.
1886 * configure: Regenerated.
1887 * config.make.in (config-extra-cflags): New variable,
1888 gets @libc_extra_cflags@.
1889 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
1892 * configure.in: Check for _FORTIFY_SOURCE being predefined.
1893 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
1894 * configure: Regenerated.
1895 * config.make.in (CPPUNDEFS): New substituted variable.
1896 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
1897 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
1898 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
1900 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1902 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
1903 (mq_attr): Use __syscall_slong_t.
1905 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1907 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
1908 Check __x86_64__ instead of __WORDSIZE.
1909 (_STAT_VER_LINUX): Likewise.
1910 (stat): Check __x86_64__ instead of __WORDSIZE. Use
1911 __syscall_ulong_t and __syscall_slong_t.
1914 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1916 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
1918 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1920 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
1922 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1924 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
1927 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
1928 include <bits/wordsize.h>. Check __x86_64__ instead of
1930 (greg_t): Use "__extension__ long long int" if __x86_64__ is
1932 (mcontext_t): Replace "unsigned long" with "unsigned long long".
1934 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
1935 include <bits/wordsize.h>. Check __x86_64__ instead of
1937 (user_regs_struct): Use "__extension__ unsigned long long"
1938 instead of "unsigned long" if __x86_64__ is defined.
1939 (user): Likewise. Pad after pointer field if __ILP32__ is
1942 2012-05-16 Joseph Myers <joseph@codesourcery.com>
1944 * configure.in (makeinfo): Require version 4.5 or later. Allow
1946 * configure: Regenerated.
1947 * manual/install.texi (texinfo): Increase version requirement to
1949 * INSTALL: Regenerated.
1951 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
1953 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1955 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
1957 * sysdeps/x86_64/x32/ffs.c: New file.
1959 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
1961 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
1962 defined. Use __syscall_ulong_t.
1963 (shminfo): Use __syscall_ulong_t.
1964 (shm_info): Likewise.
1966 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
1969 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
1971 (msgqnum_t): Use __syscall_ulong_t.
1972 (msglen_t): Likewise.
1973 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
1976 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
1977 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1979 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
1981 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
1982 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
1984 * sysvipc/sys/msg.h (msgbuf): Replace long int with
1987 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
1988 include <bits/wordsize.h>. Check __x86_64__ instead of
1991 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
1992 "unsigned long long int" if __x86_64__ is defined.
1993 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
1995 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
1996 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1997 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
1999 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
2001 (GET_PC): Cast to uintptr_t first.
2002 (GET_FRAME): Likewise.
2003 (GET_STACK): Likewise.
2005 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
2006 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
2007 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
2008 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
2009 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
2010 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
2011 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
2012 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
2013 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
2014 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
2015 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
2016 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
2017 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
2018 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
2019 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
2020 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
2021 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
2022 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
2023 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
2024 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
2025 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
2026 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
2027 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
2028 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
2029 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
2030 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
2031 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
2032 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
2033 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
2035 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
2037 * Makerules (+depfiles): Also collect depfiles from .oS in
2039 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
2040 .oS, $(libnldbl-routines)).
2042 * Makerules (native-compile-mkdep-flags): Define.
2043 * sunrpc/Makefile (extra-objs): Add $(addprefix
2044 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
2045 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
2046 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
2047 calling $(make-target-directory).
2049 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2051 * bits/types.h (__snseconds_t): Removed.
2052 * time/time.h (struct timespec): Replace __snseconds_t with
2054 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
2055 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
2057 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2058 (__SNSECONDS_T_TYPE): Likewise.
2059 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2060 (__SNSECONDS_T_TYPE): Likewise.
2061 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2062 (__SNSECONDS_T_TYPE): Likewise.
2064 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2066 * sysdeps/mach/hurd/bits/typesizes.h
2067 (__SYSCALL_SLONG_TYPE): New macro.
2068 (__SYSCALL_ULONG_TYPE): Likewise.
2070 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2072 * bits/types.h (__syscall_slong_t): New type.
2073 (__syscall_ulong_t): Likewise.
2075 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
2076 (__SYSCALL_ULONG_TYPE): Likewise.
2077 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2078 (__SYSCALL_SLONG_TYPE): Likewise.
2079 (__SYSCALL_ULONG_TYPE): Likewise.
2080 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2081 (__SYSCALL_SLONG_TYPE): Likewise.
2082 (__SYSCALL_ULONG_TYPE): Likewise.
2083 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2084 (__SYSCALL_SLONG_TYPE): Likewise.
2085 (__SYSCALL_ULONG_TYPE): Likewise.
2087 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2089 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
2090 Add sigaltstack-offsets.sym.
2091 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
2092 <sigaltstack-offsets.h>.
2093 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
2094 longjmp_msg pointer.
2095 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
2096 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
2098 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
2100 2012-05-15 Joseph Myers <joseph@codesourcery.com>
2102 * elf/stackguard-macros.h: Remove file.
2103 * sysdeps/generic/stackguard-macros.h: New file.
2104 * sysdeps/i386/stackguard-macros.h: Likewise.
2105 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
2106 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
2107 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2108 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2109 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
2110 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
2111 * sysdeps/x86_64/stackguard-macros.h: Likewise.
2112 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
2113 <elf/stackguard-macros.h>.
2116 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
2117 __aligned__ in attribute.
2118 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
2119 (gregset_t): Likewise.
2121 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2123 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
2124 * sysdeps/x86_64/64/Implies-after: Here. New file.
2125 * sysdeps/x86_64/x32/Implies-after: New file.
2127 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2129 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
2130 and access return value for _dl_profile_fixup. Use R10_LP to
2133 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2135 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
2137 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2139 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
2140 * sysdeps/x86_64/x32/sysdep.h: New file.
2142 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2144 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
2145 * sysdeps/x86_64/setjmp.S: Likewise.
2147 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2149 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
2150 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
2151 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
2152 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
2153 remove unused global constant.
2155 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
2157 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
2158 include of <not-cancel.h>.
2160 2012-05-15 Roland McGrath <roland@hack.frob.com>
2162 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
2164 2012-05-15 Jeff Law <law@redhat.com>
2165 Andreas Jaeger <aj@suse.de>
2168 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
2170 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
2171 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
2172 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
2173 code changing __hst_map_handle.map.
2175 2012-05-15 Roland McGrath <roland@hack.frob.com>
2177 * configure.in (sysnames): Look for Implies-before and Implies-after
2179 * configure: Regenerated.
2181 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2183 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
2184 8-byte data alignment with LP_SIZE alignment.
2186 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2188 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
2191 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2193 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
2195 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2197 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
2198 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
2199 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
2201 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2203 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2205 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
2206 (stackinfo_sub_sp): Likewise.
2208 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2210 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
2213 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2215 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
2218 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2220 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
2223 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2225 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
2227 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2229 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
2230 into R11_LP and load __x86_64_shared_cache_size_half into
2233 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2235 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
2238 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2240 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
2242 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
2244 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
2246 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
2247 powerpc32/power7/fpu/s_logb.c via #include.
2248 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
2249 powerpc32/power7/fpu/s_logbf.c via #include.
2250 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
2251 powerpc32/power7/fpu/s_logbl.c via #include.
2253 2012-05-15 Joseph Myers <joseph@codesourcery.com>
2255 * README.libm: Remove file.
2257 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2259 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
2260 count for x32. Use R*_LP and omit operand-size suffix.
2262 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2264 * shlib-versions: Move x86_64-.*-linux.* entries to ...
2265 * sysdeps/x86_64/64/shlib-versions: Here. New file.
2266 * sysdeps/x86_64/x32/shlib-versions: New file.
2268 2012-05-14 Roland McGrath <roland@hack.frob.com>
2270 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
2271 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
2272 Use _dl_fatal_printf instead.
2274 2012-05-14 Joseph Myers <joseph@codesourcery.com>
2276 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
2277 set if not set by the user. Do not allow for being unset.
2278 * sysdeps/unix/sysv/linux/configure: Regenerated.
2280 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2282 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
2283 the `q' suffix from lea and replace .quad with ASM_ADDR.
2285 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2287 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
2288 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
2290 (PTR_DEMANGLE): Likewise.
2292 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2294 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
2296 (ASM_ADDR): Likewise.
2314 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2316 * sysdeps/x86_64/x32/dl-machine.h: New file.
2318 2012-05-14 Andreas Jaeger <aj@suse.de>
2320 * manual/Makefile (subdir): Remove export of subdir.
2321 (all): Remove target.
2322 (.PHONY): Remove all from list.
2323 (mkinstalldirs): Remove.
2324 (.PHONY): Remove installdirs from list.
2325 ($(inst_infodir)/libc.info): Use make-target-directory.
2326 (installdirs): Remove.
2328 (glibc-targets): Remove.
2331 ($(objpfx)stubs ../po/manual.pot): Remove.
2332 ($(objpfx)stamp%): Remove.
2333 (make-target-directory): Remove.
2334 (subdir_install): Remove.
2342 * manual/.gitignore: Remove, it's not needed anymore.
2343 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
2345 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
2347 (texis): Renamed to $(objpfx)texis.
2348 (texis-path): New, contains path to generated files.
2349 (chapters.%): Use texis-path for complete path, add extra argument
2351 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
2352 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
2353 (summary,texi, stamp-summary): Use complete path of
2354 files. Generate files in build dir.
2355 (dir-add.texi): Build in build dir.
2356 (libm-err.texi,stamp-libm-err): Likewise.
2357 (version.texi, stamp-version): Likewise.
2358 (.%c.texi): Likewise.
2359 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
2360 (mostlyclean): Remove target.
2361 (realclean): Remove target.
2362 (generated): Add new variable with contents from mostlyclean and
2363 realclean, remove entries duplicated in common-mostlyclean, add
2364 stamp-libm-err and stamp-version.
2365 (generated-dirs): Add libc directory.
2366 ($(inst_infodir)/libc.info): Install files from build dir.
2368 * manual/install.texi (Configuring and compiling): Adjust since
2369 the info files are not part of the tar ball anymore.
2371 2012-05-14 Andreas Jaeger <aj@suse.de>
2373 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
2376 2012-05-14 Joseph Myers <joseph@codesourcery.com>
2379 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2380 to 2.2.0 where earlier.
2381 * sysdeps/unix/sysv/linux/configure: Regenerated.
2382 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
2383 Remove conditional code.
2384 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
2385 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
2386 Remove conditional code.
2387 [!__NR_lchown]: Likewise.
2388 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2389 [__NR_lchown]: Likewise.
2390 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
2391 comment referencing __ASSUME_LCHOWN_SYSCALL.
2392 * sysdeps/unix/sysv/linux/i386/sigaction.c
2393 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2394 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2395 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
2396 Remove conditional code.
2397 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
2398 (__protocol_available): Remove #if 0 code.
2399 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
2401 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
2402 * sysdeps/unix/sysv/linux/kernel-features.h
2403 (__ASSUME_GETCWD_SYSCALL): Don't define.
2404 (__ASSUME_REALTIME_SIGNALS): Likewise.
2405 (__ASSUME_PREAD_SYSCALL): Likewise.
2406 (__ASSUME_PWRITE_SYSCALL): Likewise.
2407 (__ASSUME_POLL_SYSCALL): Likewise.
2408 (__ASSUME_LCHOWN_SYSCALL): Likewise.
2409 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
2411 (__ASSUME_SIOCGIFNAME): Don't define.
2412 (__ASSUME_MSG_NOSIGNAL): Likewise.
2413 (__ASSUME_SENDFILE): Define unconditionally.
2414 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
2415 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
2417 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
2418 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
2419 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2420 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2421 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
2422 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2423 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
2425 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2426 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2428 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2429 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
2431 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2432 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2434 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2435 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
2437 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2438 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
2440 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2441 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
2443 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2444 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
2446 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2447 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2448 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
2449 Remove conditional code.
2450 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2451 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2452 Remove conditional code.
2453 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2454 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
2455 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
2456 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2457 Remove conditional code.
2458 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2459 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
2460 Remove conditional code.
2461 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2462 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
2463 Remove conditional code.
2464 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2465 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2466 Remove conditional code.
2467 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2468 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2469 Remove conditional code.
2470 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2471 * sysdeps/unix/sysv/linux/sh/pwrite64.c
2472 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2473 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2474 * sysdeps/unix/sysv/linux/sigaction.c
2475 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2476 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2477 * sysdeps/unix/sysv/linux/sigpending.c
2478 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2479 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2480 * sysdeps/unix/sysv/linux/sigprocmask.c
2481 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2482 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2483 * sysdeps/unix/sysv/linux/sigsuspend.c
2484 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2485 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2486 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2487 (__libc_missing_rt_sigs): Remove.
2488 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
2489 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
2490 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
2491 Remove conditional code.
2492 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
2493 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
2495 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
2496 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
2497 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
2498 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
2500 2012-05-14 Andreas Jaeger <aj@suse.de>
2502 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
2503 it's not used in glibc.
2504 (__coshm1): Likewise.
2505 (__acosh1p): Likewise.
2508 * manual/string.texi (Copying and Concatenation): Add missing
2509 variable in concat example.
2510 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2512 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2515 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
2516 __builtin_clzl with __builtin_clzll.
2518 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2521 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
2524 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2526 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
2527 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
2528 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
2529 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
2531 2012-05-14 Mike Frysinger <vapier@gentoo.org>
2533 * NEWS: Update ia64 info.
2535 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
2537 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
2540 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
2542 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
2543 * sysdeps/unix/syscalls.list (dup3): Likewise.
2544 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
2545 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
2547 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2549 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
2550 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
2552 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2554 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
2556 (TLS_IE): Use mov/add instead of movq/addq to load thread
2558 (TLS_GD_PREFIX): New.
2561 2012-05-11 David S. Miller <davem@davemloft.net>
2563 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
2564 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
2565 (_FPU_SETCW): Likewise.
2567 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2569 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
2572 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
2575 * iconvdata/gb18030.c: Update tables.
2576 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
2577 characters specially.
2578 (BODY for TO_LOOP): Add encoding of missing ranges.
2580 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
2583 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
2584 * sysdeps/mach/hurd/dup3.c: Likewise.
2585 * sysdeps/mach/hurd/readlinkat.c: Likewise.
2586 * sysdeps/powerpc/memmove.c:: Likewise.
2588 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2590 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
2591 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
2593 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2595 * elf/elf.h (R_X86_64_RELATIVE64): New.
2596 (R_X86_64_NUM): Updated.
2597 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
2598 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
2599 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
2600 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
2601 tst-quad1pie tst-quad2pie
2602 (modules-names): Add tst-quadmod1 tst-quadmod2.
2603 ($(objpfx)tst-quad1): New dependency.
2604 ($(objpfx)tst-quad2): Likewise.
2605 ($(objpfx)tst-quad1pie): Likewise.
2606 ($(objpfx)tst-quad2pie): Likewise.
2607 * sysdeps/x86_64/tst-quad1.c: New file.
2608 * sysdeps/x86_64/tst-quad1pie.c: New file.
2609 * sysdeps/x86_64/tst-quad2.c: Likewise.
2610 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
2611 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
2612 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
2613 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
2614 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
2616 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2618 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
2619 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
2620 * streams/stropts.h (t_scalar_t): Define type.
2622 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
2623 (_PATH_PRESERVE): Set to "/var/lib".
2624 (_PATH_RWHODIR): Set to "/var/spool/rwho".
2626 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
2629 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
2630 if __dir_mkfile succeeded.
2632 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
2633 checking for _hurd_dtablesize. Unlock it right after having
2634 finished _hurd_dtable allocation.
2636 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2638 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
2639 * sysdeps/mach/hurd/configure: Regenerated.
2640 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
2641 special-casing to...
2642 * sysdeps/gnu/configure.in: ... this new file.
2643 * sysdeps/unix/sysv/linux/configure: Regenerated.
2644 * sysdeps/gnu/configure: New generated file.
2646 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
2647 for Linux: use nsec instead of usec, as well as:
2648 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
2649 members of type struct timespec.
2650 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
2652 (struct stat64): Likewise.
2653 (_STATBUF_ST_NSEC): New macro.
2654 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
2656 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
2657 __strtoul_internal rather than strtoul.
2659 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2661 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
2664 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2666 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
2667 which preserves existing values.
2668 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
2670 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2672 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
2673 TIMEOUT values. Return EINVAL for NFDS values either negative or
2674 greater than FD_SETSIZE.
2676 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2678 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
2679 allocated, call __vm_protect to finish enabling the existing space, and
2680 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
2681 allocate the remainder.
2683 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2685 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
2686 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
2688 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2690 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
2691 sysdeps/mach/hurd/readlink.c.
2693 * posix/tst-sysconf.c (posix_options): Only use
2694 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
2695 _POSIX_SYNCHRONIZED_IO when they are defined
2696 * sysdeps/mach/hurd/bits/posix_opt.h:
2697 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
2698 (_XOPEN_REALTIME): Undefine macro.
2699 (_XOPEN_REALTIME_THREADS): Undefine macro.
2700 (_XOPEN_SHM): Undefine macro.
2701 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
2703 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
2705 (_POSIX_ASYNC_IO): Undefine macro.
2706 (_POSIX_PRIORITIZED_IO): Undefine macro.
2707 (_POSIX_SPIN_LOCKS): Define macro to -1.
2709 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
2710 SA_NODEFER, SA_RESETHAND.
2711 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
2712 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
2715 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2717 * elf/Makefile (pldd-modules): Define unconditionally.
2719 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2721 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
2723 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2725 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
2726 Return ENOENT when name is empty.
2727 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
2729 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2731 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
2733 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
2735 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2737 Fix mlock in all cases except non-readable pages.
2738 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
2739 instead of VM_PROT_ALL as parameter to __vm_wire function.
2741 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
2742 (__mkdir): When path is `/', just fail with EEXIST.
2743 * sysdeps/mach/hurd/mkdirat.c: Likewise.
2745 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2747 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
2748 <sys/uio.h> (for writev).
2749 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
2750 and <sys/param.h> (for MIN).
2752 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2754 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
2755 REQUESTED_TIME. Properly set the remaining time and return EINTR
2758 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2760 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
2761 Depend on against $(link-rpcuserlibs).
2763 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2765 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
2766 (__libc_stack_end): Do not use attribute_relro.
2767 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
2768 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
2769 to libthread-provided value.
2770 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
2773 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2776 * bits/libc-lock.h (__libc_once_get): New macro.
2777 * sysdeps/mach/bits/libc-lock.h: Likewise.
2778 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
2779 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
2780 instead of using implementation details.
2782 * libio/fileops.c: Unconditionally include <kernel-features.h>.
2783 * libio/freopen.c: Likewise.
2784 * libio/freopen64.c: Likewise.
2785 * misc/syslog.c: Likewise.
2786 * nscd/connections.c: Likewise.
2787 * nscd/netgroupcache.c: Likewise.
2788 * sysdeps/posix/getcwd.c: Likewise.
2790 2012-05-10 Roland McGrath <roland@hack.frob.com>
2792 * math/w_ilogbf.c: Add #include <limits.h>.
2794 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2796 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
2797 path instead of returning without unlocking.
2799 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
2800 immediate-write ioctls.
2801 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
2803 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2805 * sysdeps/mach/hurd/i386/init-first.c (init): Use
2806 __builtin_frame_address instead of making assumptions about the
2807 location of the return address relative to DATA. Force early load of
2809 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
2810 __builtin_frame_address.
2813 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
2814 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
2815 implement dup3 and do some further code clean-ups.
2816 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
2817 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
2819 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2821 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
2823 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
2824 HURD_CRITICAL_END around holding _hurd_dtable_lock.
2825 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
2826 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
2827 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
2830 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
2831 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
2832 when handler == SIG_ERR, not when handler != SIG_ERR.
2834 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2836 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
2837 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
2840 accept4 for GNU Hurd.
2841 * include/sys/socket.h (__libc_accept4): New prototype.
2842 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
2843 to implement __libc_accept4.
2844 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
2846 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
2848 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
2849 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
2850 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
2853 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2855 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
2857 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2859 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
2860 assertion on O_CLOEXEC flag.
2861 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
2862 * hurd/intern-fd.c: Likewise.
2863 * hurd/port2fd.c: Likewise.
2865 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2868 * bits/in.h (IPV6_PKTINFO): Define new macro.
2869 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
2871 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2876 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
2877 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2878 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
2879 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
2880 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2881 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
2882 * math/libm-test.inc (logb_test) : Additional logb tests.
2884 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
2885 Andreas Jaeger <aj@suse.de>
2887 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
2888 * configure: Regenerated.
2889 * config.h.in (LINK_OBSOLETE_RPC): New macro.
2890 * config.make.in (link-obsolete-rpc): New substituted variable.
2891 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
2892 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
2893 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2894 (shared-only-routines): Don't set it under [link-obsolete-rpc],
2895 so that libc.a contains the symbols.
2896 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2897 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
2898 * sunrpc/auth_none.c: Likewise.
2899 * sunrpc/auth_unix.c: Likewise.
2900 * sunrpc/authdes_prot.c: Likewise.
2901 * sunrpc/authuxprot.c: Likewise.
2902 * sunrpc/clnt_gen.c: Likewise.
2903 * sunrpc/clnt_perr.c: Likewise.
2904 * sunrpc/clnt_raw.c: Likewise.
2905 * sunrpc/clnt_simp.c: Likewise.
2906 * sunrpc/clnt_tcp.c: Likewise.
2907 * sunrpc/clnt_udp.c: Likewise.
2908 * sunrpc/clnt_unix.c: Likewise.
2909 * sunrpc/des_crypt.c: Likewise.
2910 * sunrpc/des_soft.c: Likewise.
2911 * sunrpc/get_myaddr.c: Likewise.
2912 * sunrpc/key_call.c: Likewise.
2913 * sunrpc/key_prot.c: Likewise.
2914 * sunrpc/netname.c: Likewise.
2915 * sunrpc/pm_getmaps.c: Likewise.
2916 * sunrpc/pm_getport.c: Likewise.
2917 * sunrpc/pmap_clnt.c: Likewise.
2918 * sunrpc/pmap_prot.c: Likewise.
2919 * sunrpc/pmap_prot2.c: Likewise.
2920 * sunrpc/pmap_rmt.c: Likewise.
2921 * sunrpc/publickey.c: Likewise.
2922 * sunrpc/rpc_cmsg.c: Likewise.
2923 * sunrpc/rpc_common.c: Likewise.
2924 * sunrpc/rpc_dtable.c: Likewise.
2925 * sunrpc/rpc_prot.c: Likewise.
2926 * sunrpc/rpc_thread.c: Likewise.
2927 * sunrpc/rtime.c: Likewise.
2928 * sunrpc/svc.c: Likewise.
2929 * sunrpc/svc_auth.c: Likewise.
2930 * sunrpc/svc_raw.c: Likewise.
2931 * sunrpc/svc_run.c: Likewise.
2932 * sunrpc/svc_tcp.c: Likewise.
2933 * sunrpc/svc_udp.c: Likewise.
2934 * sunrpc/svc_unix.c: Likewise.
2935 * sunrpc/svcauth_des.c: Likewise.
2936 * sunrpc/xcrypt.c: Likewise.
2937 * sunrpc/xdr.c: Likewise.
2938 * sunrpc/xdr_array.c: Likewise.
2939 * sunrpc/xdr_float.c: Likewise.
2940 * sunrpc/xdr_intXX_t.c: Likewise.
2941 * sunrpc/xdr_mem.c: Likewise.
2942 * sunrpc/xdr_rec.c: Likewise.
2943 * sunrpc/xdr_ref.c: Likewise.
2944 * sunrpc/xdr_sizeof.c: Likewise.
2945 * sunrpc/xdr_stdio.c: Likewise.
2947 2012-05-10 Roland McGrath <roland@hack.frob.com>
2949 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
2950 change. Update copyright years.
2952 2012-05-10 Joseph Myers <joseph@codesourcery.com>
2954 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
2956 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
2957 Joseph Myers <joseph@codesourcery.com>
2958 Paul Pluzhnikov <ppluzhnikov@google.com>
2961 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
2963 [cross-compiling] (extra-libs): Likewise.
2964 [cross-compiling] (extra-libs-others): Likewise.
2965 [cross-compiling] (librpcsvc-routines): Likewise.
2966 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
2967 [cross-compiling] (omit-deps): Likewise.
2968 (sunrpc-CPPFLAGS): New variable.
2969 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
2970 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
2971 (cross-rpcgen-objs): New variable.
2972 (extra-objs): Append $(cross-rpcgen-objs).
2973 ($(cross-rpcgen-objs)): New rule.
2974 ($(objpfx)cross-rpcgen): Likewise.
2975 (rpcgen-cmd): Define to use $(built-program-file). Expand
2977 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
2978 ($(objpfx)x%.stmp): Likewise.
2979 * sunrpc/proto.h [IS_IN_build] (_): Define.
2980 [IS_IN_build] (_libc_intl_domainname): Likewise.
2982 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2984 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
2985 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
2986 and R_X86_64_TPOFF64.
2988 2012-05-10 Joseph Myers <joseph@codesourcery.com>
2990 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
2991 sysdeps/unix/sysv/syscalls.list.
2994 * sysdeps/unix/sysv/syscalls.list: Remove file.
2996 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
2999 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
3000 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
3001 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
3002 (__LC_IDENTIFICATION): Make these macros useful in #if
3003 expressions, as required by C99.
3005 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
3007 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
3008 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
3011 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
3013 * stdlib/longlong.h: Updated from GCC.
3015 2012-05-09 Andreas Jaeger <aj@suse.de>
3017 * nscd/nscd.c (run_modes): Make named enum, reorder so that
3018 default is first entry.
3019 (run_mode): Set type.
3020 (main): Remove informal message about syslog.
3021 (options): Fix typo.
3024 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
3027 (llrintf): Likewise.
3031 (nearbyint): Likewise.
3032 (nearbyintf): Likewise.
3034 2012-05-09 Andreas Jaeger <aj@suse.de>
3035 Pedro Alves <palves@redhat.com>
3037 * nscd/nscd.c (run_mode): Use enum.
3038 (main): Cleanup coding style issue.
3040 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
3041 Andreas Jaeger <aj@suse.de>
3043 * nscd/nscd.c (go_background): Replaced with...
3044 (run_mode): ... this.
3045 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
3046 (options): Add -F --foreground.
3047 (main): Implement it.
3048 (parse_opt): Parse it.
3050 2012-05-09 Andreas Jaeger <aj@suse.de>
3053 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
3054 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
3055 -Wconversion warning.
3056 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
3059 2012-05-09 Joseph Myers <joseph@codesourcery.com>
3061 * conform/data/locale.h-data (NULL): Use macro-constant. Require
3063 (LC_ALL): Use macro-int-constant.
3064 (LC_COLLATE): Likewise.
3065 (LC_CTYPE): Likewise.
3066 (LC_MESSAGES): Likewise.
3067 (LC_MONETARY): Likewise.
3068 (LC_NUMERIC): Likewise.
3069 (LC_TIME): Likewise.
3070 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
3071 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3072 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3073 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
3075 [C99-based standards] (float_t): Expect type.
3076 [C99-based standards] (double_t): Expect type.
3077 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
3079 [C99-based standards] (HUGE_VALL): Likewise.
3080 [C99-based standards] (INFINITY): Likewise.
3081 [C99-based standards] (NAN): Likewise.
3082 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
3083 [C99-based standards] (FP_NAN): Likewise.
3084 [C99-based standards] (FP_NORMAL): Likewise.
3085 [C99-based standards] (FP_SUBNORMAL): Likewise.
3086 [C99-based standards] (FP_ZERO): Likewise.
3087 [C99-based standards] (FP_FAST_FMA): Use
3088 optional-macro-int-constant. Specify type. Require == 1.
3089 [C99-based standards] (FP_FAST_FMAF): Likewise.
3090 [C99-based standards] (FP_FAST_FMAL): Likewise.
3091 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
3092 [C99-based standards] (FP_ILOGBNAN): Likewise.
3093 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
3095 [C99-based standards] (MATH_ERREXCEPT): Likewise.
3096 [C99-based standards] (math_errhandling): Specify type.
3097 [ISO99 || ISO11] (signgam): Do not allow.
3098 [non-C99-based standards] (copysignf): Do not allow.
3099 [non-C99-based standards] (exp2f): Likewise.
3100 [non-C99-based standards] (log2f): Likewise.
3101 [non-C99-based standards] (modff): Allow.
3102 [non-C99-based standards] (erff): Do not allow.
3103 [non-C99-based standards] (erfcf): Likewise.
3104 [non-C99-based standards] (gammaf): Likewise.
3105 [non-C99-based standards] (hypotf): Likewise.
3106 [non-C99-based standards] (j0f): Likewise.
3107 [non-C99-based standards] (j1f): Likewise.
3108 [non-C99-based standards] (jnf): Likewise.
3109 [non-C99-based standards] (lgammaf): Likewise.
3110 [non-C99-based standards] (tgammaf): Likewise.
3111 [non-C99-based standards] (y0f): Likewise.
3112 [non-C99-based standards] (y1f): Likewise.
3113 [non-C99-based standards] (ynf): Likewise.
3114 [non-C99-based standards] (isnanf): Likewise.
3115 [non-C99-based standards] (acoshf): Likewise.
3116 [non-C99-based standards] (asinhf): Likewise.
3117 [non-C99-based standards] (atanhf): Likewise.
3118 [non-C99-based standards] (cbrtf): Likewise.
3119 [non-C99-based standards] (expm1f): Likewise.
3120 [non-C99-based standards] (ilogbf): Likewise.
3121 [non-C99-based standards] (log1pf): Likewise.
3122 [non-C99-based standards] (logbf): Likewise.
3123 [non-C99-based standards] (nextafterf): Likewise.
3124 [non-C99-based standards] (remainderf): Likewise.
3125 [non-C99-based standards] (rintf): Likewise.
3126 [non-C99-based standards] (scalbf): Likewise.
3127 [non-C99-based standards] (copysignl): Likewise.
3128 [non-C99-based standards] (exp2l): Likewise.
3129 [non-C99-based standards] (log2l): Likewise.
3130 [non-C99-based standards] (modfl): Allow.
3131 [non-C99-based standards] (erfl): Do not allow.
3132 [non-C99-based standards] (erfcl): Likewise.
3133 [non-C99-based standards] (gammal): Likewise.
3134 [non-C99-based standards] (hypotl): Likewise.
3135 [non-C99-based standards] (j0l): Likewise.
3136 [non-C99-based standards] (j1l): Likewise.
3137 [non-C99-based standards] (jnl): Likewise.
3138 [non-C99-based standards] (lgammal): Likewise.
3139 [non-C99-based standards] (tgammal): Likewise.
3140 [non-C99-based standards] (y0l): Likewise.
3141 [non-C99-based standards] (y1l): Likewise.
3142 [non-C99-based standards] (ynl): Likewise.
3143 [non-C99-based standards] (isnanl): Likewise.
3144 [non-C99-based standards] (acoshl): Likewise.
3145 [non-C99-based standards] (asinhl): Likewise.
3146 [non-C99-based standards] (atanhl): Likewise.
3147 [non-C99-based standards] (cbrtl): Likewise.
3148 [non-C99-based standards] (expm1l): Likewise.
3149 [non-C99-based standards] (ilogbl): Likewise.
3150 [non-C99-based standards] (log1pl): Likewise.
3151 [non-C99-based standards] (logbl): Likewise.
3152 [non-C99-based standards] (nextafterl): Likewise.
3153 [non-C99-based standards] (remainderl): Likewise.
3154 [non-C99-based standards] (rintl): Likewise.
3155 [non-C99-based standards] (scalbl): Likewise.
3156 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3157 [non-C99-based standards] (FP_*): Do not allow.
3158 [C99-based standards] (FP_*): Change to
3159 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3160 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3162 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
3163 (SIG_ERR): Likewise.
3164 [X/Open-based standards] (SIG_HOLD): Likewise.
3165 (SIG_IGN): Likewise.
3166 (SIGABRT): Use macro-int-constant. Specify type. Require
3171 (SIGSEGV): Likewise.
3173 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
3174 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
3175 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
3176 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
3177 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
3178 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
3179 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
3180 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
3181 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
3182 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
3183 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
3184 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
3185 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
3186 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
3187 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
3188 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
3189 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
3190 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
3191 [X/Open-based standards] (SIGTRAP): Likewise.
3192 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
3193 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
3194 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
3195 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
3196 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3199 2012-05-08 Ian Wienand <ianw@vmware.com>
3202 * time/tzset.c (__tzset_parse_tz): Update default rules for
3203 daylight time changes in the Energy Policy Act of 2005.
3205 2012-05-09 Andreas Jaeger <aj@suse.de>
3208 * elf/ldconfig.c (parse_conf): Change string to make clear that
3209 ldconfig only issued a warning if ld.so.conf does not exist.
3211 2012-05-08 David S. Miller <davem@davemloft.net>
3213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
3214 movxtod instead of popping the value on the stack.
3216 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3218 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
3220 * config.h.in: Add HAVE_ARM_PCS_VFP.
3222 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
3225 * include/features.h: Warn if user requests __FORTIFY_SOURCE
3226 checking but the checks are disabled for any reason.
3228 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
3230 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
3231 and ELF64_R_TYPE with ELFW(R_TYPE).
3233 2012-05-08 Joseph Myers <joseph@codesourcery.com>
3235 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
3238 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
3239 (settimeofday): Likewise.
3241 2012-05-08 Mike Frysinger <vapier@gentoo.org>
3243 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
3244 a struct th_u2 inside the union, and move tu_block/tu_code into
3245 a new th_u3 union of tu_block/tu_code inside of that. Move
3246 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
3247 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
3248 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
3249 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
3250 (th_stuff): Change to th_u1.tu_stuff.
3252 (th_msg): Change to th_u1.th_u2.tu_data.
3254 2012-05-07 David S. Miller <davem@davemloft.net>
3256 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3259 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
3260 (SETUP_PIC_REG): Use it.
3261 (SETUP_PIC_REG_LEAF): Use it.
3263 2012-05-07 Joseph Myers <joseph@codesourcery.com>
3267 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3269 (EXPL_FINITE): Likewise.
3271 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3272 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3274 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3276 (EXPL_FINITE): Likewise.
3278 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3279 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3281 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
3282 test of -max_value argument for long double.
3283 * sysdeps/i386/fpu/libm-test-ulps: Update.
3284 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3286 2012-05-06 David S. Miller <davem@davemloft.net>
3288 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
3289 quad soft-float symbols whose references which are compiler
3291 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
3293 2012-05-06 Joseph Myers <joseph@codesourcery.com>
3297 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3299 (EXPL_FINITE): Likewise.
3303 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3304 Adjust comments for base varying.
3305 (__expl_finite): Change alias to EXPL_FINITE.
3306 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
3308 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
3309 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
3310 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3311 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
3312 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3314 (EXPL_FINITE): Likewise.
3318 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3319 Adjust comments for base varying.
3320 (__expl_finite): Change alias to EXPL_FINITE.
3321 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
3323 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3326 * math/libm-test.inc (check_float_internal): Correct ulp
3327 calculation for subnormal expected results.
3329 2012-05-06 Andreas Jaeger <aj@suse.de>
3331 * Makeconfig (+math-flags): New, set to -frounding-math.
3332 (+cflags): Add +math-flags so that all of glibc gets compiled with
3335 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
3337 2012-05-05 Joseph Myers <joseph@codesourcery.com>
3339 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
3345 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
3346 (__ieee754_expl): Allow for and saturate large arguments.
3347 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
3348 (u_threshold): Likewise.
3349 (__exp): Call __ieee754_exp before checking for overflow and
3351 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
3352 (u_threshold): Likewise.
3353 (__expf): Call __ieee754_expf before checking for overflow and
3355 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
3356 (u_threshold): Likewise.
3357 (__expl): Call __ieee754_expl before checking for overflow and
3359 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
3360 (__ieee754_expl): Allow for and saturate large arguments.
3361 * math/libm-test.inc (exp_test): Add another test. Do not allow
3362 missing overflow exception on overflow.
3363 (expm1_test): Do not allow missing overflow exception on overflow.
3365 * sysdeps/i386/fpu/e_expl.c: Move to ...
3366 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
3367 rather than using inline asm.
3368 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
3369 * sysdeps/x86_64/fpu/e_expl.S: Copy from
3370 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
3372 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
3379 2012-05-04 Joseph Myers <joseph@codesourcery.com>
3381 * sysdeps/unix/syscalls.list (adjtime): Add entry from
3382 sysdeps/unix/common/syscalls.list.
3385 (ftruncate): Likewise.
3386 (getrusage): Likewise.
3387 (gettimeofday): Likewise.
3388 (setpgid): Likewise.
3389 (setregid): Likewise.
3390 (setreuid): Likewise.
3391 (sigaction): Likewise.
3392 (truncate): Likewise.
3393 (vhangup): Likewise.
3394 * sysdeps/unix/common/syscalls.list: Remove file.
3395 * sysdeps/unix/bsd/Implies: Don't include unix/common.
3396 * sysdeps/unix/sysv/linux/Implies: Likewise.
3398 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
3400 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
3401 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
3402 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
3404 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3406 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
3408 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
3409 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
3411 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
3412 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
3414 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
3415 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
3417 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
3418 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
3420 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
3421 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
3423 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
3424 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
3426 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3428 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
3430 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
3432 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
3434 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
3435 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
3437 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
3439 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
3441 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
3443 2012-05-04 Joseph Myers <joseph@codesourcery.com>
3445 * sysdeps/unix/common/bits/dirent.h: Remove file.
3446 * sysdeps/unix/common/bits/fcntl.h: Likewise.
3448 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
3449 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
3450 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
3451 * sysdeps/unix/bsd/isatty.c: Likewise.
3452 * sysdeps/unix/bsd/tcdrain.c: Likewise.
3453 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
3454 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
3456 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3459 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
3460 long double comparison inaccuracies.
3461 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
3462 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3464 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
3466 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
3467 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
3469 2012-05-04 Joseph Myers <joseph@codesourcery.com>
3472 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
3473 nonzero digits before rounding a hex value.
3474 * stdlib/tst-strtod.c (tests): Add another test.
3476 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3478 * sysdeps/s390/fpu/libm-test-ulps: Update.
3480 2012-05-03 Andreas Jaeger <aj@suse.de>
3482 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
3483 does not get optimized out.
3484 (malloc_opt_barrier): New.
3486 2012-05-03 Andreas Jaeger <aj@suse.de>
3487 Roland McGrath <roland@hack.frob.com>
3489 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
3490 intermediate file deletion.
3491 (generated): Add .symlist files.
3493 2012-05-03 Joseph Myers <joseph@codesourcery.com>
3496 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
3497 Redirect under this condition.
3498 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3499 [__USE_GNU] (__dprintf_chk): Not under this condition.
3500 [__USE_GNU] (__vdprintf_chk): Likewise.
3501 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
3502 under this condition.
3503 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3504 [__USE_XOPEN2K8] (dprintf): Define under this condition.
3505 [__USE_XOPEN2K8] (vdprintf): Likewise.
3506 [__USE_GNU] (__dprintf_chk): Not under this condition.
3507 [__USE_GNU] (__vdprintf_chk): Likewise.
3508 [__USE_GNU] (dprintf): Likewise.
3509 [__USE_GNU] (vdprintf): Likewise.
3511 2012-05-03 Roland McGrath <roland@hack.frob.com>
3513 * elf/Makefile (common-generated): Set this instead of generated for
3514 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
3515 $(all-built-dso)-derived lists.
3517 2012-05-03 Andreas Jaeger <aj@suse.de>
3519 * sysdeps/i386/fpu/libm-test-ulps: Update.
3523 * scripts/gen-FAQ.pl: Likewise.
3524 * manual/install.texi (Installation): Point to online location of
3526 * Makefile (files-for-dist): Remove FAQ.
3529 2012-05-02 Allan McRae <allan@archlinux.org>
3531 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
3532 (LDFLAGS-reldepmod5.so): Likewise.
3533 (LDFLAGS-reldep6mod1.so): Likewise.
3534 (LDFLAGS-reldep6mod4.so): Likewise.
3535 (LDFLAGS-reldep8mod3.so): Likewise.
3536 (LDFLAGS-unload4mod1.so): Likewise.
3537 (LDFLAGS-unload4mod2.so): Likewise.
3538 (LDFLAGS-tst-initorder): Likewise.
3539 (LDFLAGS-tst-initordera2.so): Likewise.
3540 (LDFLAGS-tst-initordera3.so): Likewise.
3541 (LDFLAGS-tst-initordera4.so): Likewise.
3542 (LDFLAGS-tst-initorderb2.so): Likewise.
3543 (LDFLAGS-noload): Likewise.
3544 (LDFLAGS-next): Likewise.
3545 (LDFLAGS-order2mod1.so): Likewise.
3546 (LDFLAGS-order2mod2.so): Likewise.
3547 (LDFLAGS-tst-initorder2): Likewise.
3548 (LDFLAGS-tst-initorder2a.so): Likewise.
3549 (LDFLAGS-tst-initorder2b.so): Likewise.
3550 (LDFLAGS-tst-initorder2c.so): Likewise.
3551 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
3553 2012-05-02 David S. Miller <davem@davemloft.net>
3555 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3557 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
3560 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
3562 2012-05-02 Andreas Jaeger <aj@suse.de>
3564 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
3565 since we manipulate rounding mode.
3566 (CPPFLAGS-test-idouble.c): Likewise.
3567 (CPPFLAGS-test-ifloat.c): Likewise.
3568 (CFLAGS-test-ldouble.c): Likewise.
3569 (CFLAGS-test-double.c): Likewise.
3570 (CFLAGS-test-float.c): Likewise.
3571 (CFLAGS-test-misc.c): Likewise.
3572 (CFLAGS-test-test-fenv.c): Likewise.
3574 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3578 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
3579 comparisons to determine direction to adjust input.
3581 2012-05-01 Roland McGrath <roland@hack.frob.com>
3583 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
3584 output to the target.
3586 * scripts/localplt.awk: New file.
3587 * elf/Makefile ($(objpfx)check-localplt): Target removed.
3588 (check-localplt-CFLAGS): Variable removed.
3589 ($(all-built-dso:=.jmprel)): New static pattern rule.
3590 (generated): Add those targets.
3591 (localplt-built-dso): New variable.
3592 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
3594 * elf/check-localplt.c: File removed.
3596 * scripts/check-execstack.awk: New file.
3597 * elf/Makefile ($(objpfx)check-execstack): Target removed.
3598 (check-execstack-CFLAGS): Variable removed.
3599 ($(objpfx)check-execstack.h): Target removed.
3600 ($(objpfx)execstack-default): New target.
3601 (generated): Add that instead of check-execstack.h.
3602 ($(all-built-dso:=.phdr)): New static pattern rule.
3603 (generated): Add those targets.
3604 * elf/check-execstack.c: File removed.
3606 * scripts/check-textrel.awk: New file.
3607 * elf/Makefile ($(objpfx)check-textrel): Target removed.
3608 (check-textrel-CFLAGS): Variable removed.
3609 (all-built-dso): Use := to define.o
3610 ($(all-built-dso:=.dyn)): New static pattern rule.
3611 (generated): Add those targets.
3612 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
3613 * config.make.in (READELF): New substituted variable.
3614 * elf/check-textrel.c: File removed.
3616 2012-05-01 Joseph Myers <joseph@codesourcery.com>
3618 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3620 * conform/data/ctype.h-data [C99-based standards] (isblank):
3622 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
3623 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
3624 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3625 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
3626 Specify type. Require positive value.
3629 [ISO || POSIX] (EILSEQ): Do not expect.
3630 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
3631 Specify type. Require positive value.
3632 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
3633 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
3634 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
3635 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
3636 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
3637 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
3638 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
3639 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
3640 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
3641 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
3642 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
3643 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
3644 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
3645 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
3646 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
3647 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
3648 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
3649 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
3650 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
3651 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
3652 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
3653 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
3654 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
3655 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
3656 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
3657 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
3658 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
3659 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
3660 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
3661 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
3662 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
3663 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
3664 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
3665 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
3666 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
3667 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
3668 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
3669 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
3670 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
3671 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
3672 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
3673 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
3674 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
3675 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
3676 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
3677 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
3678 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
3679 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
3680 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
3681 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
3682 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
3683 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
3684 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
3685 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
3686 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
3687 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
3688 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
3689 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
3690 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
3691 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
3692 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
3693 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
3694 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
3695 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
3696 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
3697 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
3698 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
3699 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
3700 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
3701 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
3702 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
3703 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
3704 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
3705 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
3706 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
3707 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
3708 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
3710 (FLT_ROUNDS): Expect as macro, not constant.
3711 (FLT_MANT_DIG): Use macro-int-constant.
3712 (DBL_MANT_DIG): Likewise.
3713 (LDBL_MANT_DIG): Likewise.
3714 (FLT_DIG): Likewise.
3715 (DBL_DIG): Likewise.
3716 (LDBL_DIG): Likewise.
3717 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
3718 (DBL_MIN_EXP): Likewise.
3719 (LDBL_MIN_EXP): Likewise.
3720 (FLT_MAX_EXP): Use macro-int-constant.
3721 (DBL_MAX_EXP): Likewise.
3722 (LDBL_MAX_EXP): Likewise.
3723 (FLT_MAX_10_EXP): Likewise.
3724 (DBL_MAX_10_EXP): Likewise.
3725 (LDBL_MAX_10_EXP): Likewise.
3726 (FLT_MAX): Use macro-constant.
3727 (DBL_MAX): Likewise.
3728 (LDBL_MAX): Likewise.
3729 (FLT_EPSILON): Use macro-constant. Give upper bound.
3730 (DBL_EPSILON): Likewise.
3731 (LDBL_EPSILON): Likewise.
3732 (FLT_MIN): Likewise.
3733 (DBL_MIN): Likewise.
3734 (LDBL_MIN): Likewise.
3735 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
3736 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
3737 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
3738 [ISO11] (FLT_HAS_SUBNORM): Likewise.
3739 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
3740 [ISO11] (DBL_DECIMAL_DIG): Likewise.
3741 [ISO11] (FLT_DECIMAL_DIG): Likewise.
3742 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
3743 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
3744 [ISO11] (FLT_TRUE_MIN): Likewise.
3745 [ISO11] (LDBL_TRUE_MIN): Likewise.
3746 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3747 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
3748 (SCHAR_MIN): Use macro-int-constant. Specify type.
3749 (SCHAR_MAX): Likewise.
3750 (UCHAR_MAX): Likewise.
3751 (CHAR_MIN): Likewise.
3752 (CHAR_MAX): Likewise.
3753 (MB_LEN_MAX): Use macro-int-constant.
3754 (SHRT_MIN): Use macro-int-constant. Specify type.
3755 (SHRT_MAX): Likewise.
3756 (USHRT_MAX): Likewise.
3757 (INT_MAX): Likewise.
3758 (INT_MIN): Use macro-int-constant. Specify type. Make upper
3760 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
3762 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3764 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
3765 bound negative. Suffix upper bound with "L".
3766 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3768 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
3770 [C99-based standards] (LLONG_MAX): Likewise.
3771 [C99-based standards] (ULLONG_MAX): Likewise.
3772 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
3774 [ISO11] (max_align_t): Require type.
3775 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3777 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
3778 from $CFLAGS, without defining away __attribute__ calls.
3779 (checknamespace): Use $CFLAGS_namespace.
3781 * conform/conformtest.pl (@keywords): Only include C99 keywords
3782 for standards based on C99 or C11.
3784 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
3786 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
3789 * conform/conformtest.pl: Handle "macro-int-constant" and test for
3790 usability of symbols in #if.
3792 * conform/conformtest.pl: If macro or constant types start
3793 "promoted:", expect the symbol to be of the following type
3794 promoted by the integer promotions.
3796 * conform/conformtest.pl: Parse all "constant" and "macro" lines
3797 in one place. Also handle "macro-constant".
3799 * conform/conformtest.pl: Only accept expected macro values with
3800 "==". Parse all "macro" lines in one place.
3801 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
3803 * conform/conformtest.pl: Handle braced types on "constant" lines
3804 instead of handling "typed-constant".
3805 * conform/data/signal.h-data: Use "constant" instead of
3808 * conform/conformtest.pl: Handle "optional-" at start of lines in
3809 one place rather than duplicating several cases. Handle each
3810 format of "macro" line with initial "optional-".
3812 * conform/conformtest.pl: Only accept expected constant or
3813 optional-constant values with "==". Parse all "constant" lines in
3814 one place. Parse all "optional-constant" lines in one place.
3815 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
3816 * conform/data/fmtmsg.h-data: Likewise.
3817 * conform/data/netinet/in.h-data: Likewise.
3818 * conform/data/tar.h-data: Likewise.
3819 * conform/data/limits.h-data: Use "==" form on "constant" and
3820 "optional-constant" lines.
3822 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
3823 Use -std=c99 for XOPEN2K.
3824 (@knownproblems): Remove.
3825 (newtoken): Don't check %isknown.
3827 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
3828 Do not expect macro.
3829 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
3830 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
3831 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
3832 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
3833 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
3834 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
3835 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
3836 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
3837 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
3838 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
3839 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
3840 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
3841 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
3842 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
3843 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
3844 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
3845 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
3846 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
3847 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
3848 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
3849 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
3850 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
3851 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
3852 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
3853 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
3854 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
3855 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
3856 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
3857 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
3858 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
3859 [XPG3] (acosh): Likewise.
3860 [XPG3] (asinh): Likewise.
3861 [XPG3] (atanh): Likewise.
3862 [XPG3] (cbrt): Likewise.
3863 [XPG3] (expm1): Likewise.
3864 [XPG3] (ilogb): Likewise.
3865 [XPG3] (log1p): Likewise.
3866 [XPG3] (logb): Likewise.
3867 [XPG3] (nextafter): Likewise.
3868 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
3869 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
3870 [XPG3] (remainder): Likewise.
3871 [XPG3] (rint): Likewise.
3872 [XPG3 || XPG4 || UNIX98] (round): Likewise.
3873 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
3874 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
3875 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
3876 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
3877 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
3878 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
3879 [UNIX98 || XOPEN2K] (scalb): Expect.
3880 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
3881 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
3882 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
3883 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
3884 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
3885 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
3886 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
3887 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
3888 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
3889 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
3890 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
3891 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
3892 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
3893 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
3894 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
3895 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
3896 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
3897 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
3898 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
3899 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
3900 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
3901 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
3902 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
3903 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
3904 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
3905 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
3906 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
3907 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
3908 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
3909 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
3910 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
3911 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
3912 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
3913 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
3914 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
3915 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
3916 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
3917 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
3918 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
3919 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
3920 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
3921 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
3922 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
3923 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
3924 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
3925 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
3926 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
3927 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
3928 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
3929 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
3930 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
3931 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
3932 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
3933 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
3934 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
3935 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
3936 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
3937 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
3938 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
3939 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
3940 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
3941 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
3942 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
3943 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
3944 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
3945 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
3946 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
3947 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
3948 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
3949 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
3950 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
3951 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
3952 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
3953 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
3954 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
3955 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
3956 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
3957 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
3958 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
3959 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
3960 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
3961 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
3962 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
3963 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
3964 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
3965 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
3966 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
3967 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
3968 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
3969 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
3970 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
3971 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
3972 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
3973 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
3974 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
3975 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
3976 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
3977 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
3978 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
3979 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
3980 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
3981 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
3982 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
3983 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
3984 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
3985 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
3986 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
3987 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
3988 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
3989 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
3990 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
3991 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
3992 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
3993 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
3994 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
3995 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
3996 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
3997 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
3998 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
3999 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
4000 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
4001 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
4002 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
4003 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
4004 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
4005 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
4006 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
4007 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
4008 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
4009 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
4010 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
4011 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
4012 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
4013 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
4014 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
4015 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
4016 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
4018 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
4019 _XOPEN_SOURCE_EXTENDED for XPG4.
4021 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
4023 * Makeconfig (localtime): Remove variable.
4024 (inst_localtime-file): Likewise.
4026 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
4028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
4030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
4034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
4038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
4040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
4044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4047 2012-05-01 Joseph Myers <joseph@codesourcery.com>
4051 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
4052 comparisons to determine direction to adjust input.
4053 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
4054 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
4055 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
4057 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
4059 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4061 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
4062 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
4064 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
4066 * math/libm-test.inc (nexttoward_test): Add more tests.
4068 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
4071 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
4072 in version GLIBC_2.1, not GLIBC_2.0.
4073 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
4076 2012-04-30 Joseph Myers <joseph@codesourcery.com>
4079 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
4081 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4082 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
4083 * math/libm-test.inc (acos_test): Add more tests.
4084 (asin_test): Likewise.
4085 * sysdeps/i386/fpu/libm-test-ulps: Update.
4086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4089 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
4091 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
4092 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4093 * math/libm-test.inc (acos_test_tonearest): New function.
4094 (acos_test_towardzero): Likewise.
4095 (acos_test_downward): Likewise.
4096 (acos_test_upward): Likewise.
4097 (asin_test_tonearest): Likewise.
4098 (asin_test_towardzero): Likewise.
4099 (asin_test_downward): Likewise.
4100 (asin_test_upward): Likewise.
4101 (main): Call the new functions.
4102 * sysdeps/i386/fpu/libm-test-ulps: Update.
4103 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4107 * math/e_exp10.c: Include <float.h>.
4108 (__ieee754_exp10): Handle underflow here rather than multiplying
4109 large negative argument by M_LN10.
4110 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
4112 * math/e_exp10l.c: Include <float.h>.
4113 (__ieee754_exp10l): Handle underflow here rather than multiplying
4114 large negative argument by M_LN10l.
4115 * math/libm-test.inc (exp10_test): Add another test. Do not allow
4116 spurious overflow exception on underflow.
4118 2012-04-29 Marek Polacek <polacek@redhat.com>
4120 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
4121 (__fortify_function): New macro.
4122 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
4123 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
4124 __extern_always_inline.
4125 * libio/bits/stdio2.h: Likewise.
4126 * libio/bits/stdio.h: Likewise.
4127 * string/string.h: Likewise.
4128 * string/bits/string3.h: Likewise.
4129 * include/stdio.h: Likewise.
4130 * stdlib/bits/stdlib.h: Likewise.
4131 * stdlib/stdlib.h: Likewise.
4132 * rt/bits/mqueue2.h: Likewise.
4133 * rt/mqueue.h: Likewise.
4134 * posix/bits/unistd.h: Likewise.
4135 * posix/unistd.h: Likewise.
4136 * io/bits/poll2.h: Likewise.
4137 * io/bits/fcntl2.h: Likewise.
4138 * io/fcntl.h: Likewise.
4139 * io/sys/poll.h: Likewise.
4140 * misc/bits/syslog.h: Likewise.
4141 * misc/bits/syslog-ldbl.h: Likewise.
4142 * misc/sys/syslog.h: Likewise.
4143 * socket/bits/socket2.h: Likewise.
4144 * socket/sys/socket.h: Likewise.
4145 * debug/tst-chk1.c: Likewise.
4146 * wcsmbs/bits/wchar2.h: Likewise.
4147 * wcsmbs/bits/wchar-ldbl.h: Likewise.
4148 * wcsmbs/wchar.h: Likewise.
4150 2012-04-29 Andreas Jaeger <aj@suse.de>
4152 * Makerules (tests): Remove enable-check-abi protection.
4153 (check-abi-warn): Remove.
4154 (check-abi-%): Remove check-abi-warn usage.
4156 * configure.in: Remove check-abi configure option.
4157 * configure: Regenerated.
4158 * config.make.in (enable-check-abi): Remove.
4160 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
4163 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
4164 double functions to double *_finite functions.
4167 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
4168 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
4170 * stdio-common/Makefile (tests): Add tst-sprintf3.
4171 * stdio-common/tst-sprintf3.c: New file.
4173 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
4174 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
4176 2012-04-28 Joseph Myers <joseph@codesourcery.com>
4178 * conform/conformtest.pl: Remove duplicate typed-constant
4181 2012-04-28 David S. Miller <davem@davemloft.net>
4183 * Makerules (%.abilist): Add vpath on sysdep_dirs.
4184 (check-abi-%): Remove AWK script prerequisite and explicit
4186 (check-abi): Rewrite to just diff the symlist with the abilist.
4187 (config-tls, config-abi-config): Delete, no longer used.
4188 (update-abi-%): Remove AWK script and explicit abilist directory.
4189 (update-abi): Rewrite to simply compare and conditionally copy the
4190 symlist and the sysdep abilist file. Remove update-abi-config
4192 * abilist/ld.abilist: Remove.
4193 * abilist/libBrokenLocale.abilist: Remove.
4194 * abilist/libanl.abilist: Remove.
4195 * abilist/libcrypt.abilist: Remove.
4196 * abilist/libdl.abilist: Remove.
4197 * abilist/librt.abilist: Remove.
4198 * abilist/libthread_db.abilist: Remove.
4199 * abilist/libutil.abilist: Remove.
4200 * scripts/extract-abilist.awk: Remove.
4201 * scripts/merge-abilist.awk: Remove.
4202 * sysdeps/generic/libcidn.abilist: New file.
4203 * sysdeps/generic/libnss_compat.abilist: New file.
4204 * sysdeps/generic/libnss_db.abilist: New file.
4205 * sysdeps/generic/libnss_dns.abilist: New file.
4206 * sysdeps/generic/libnss_files.abilist: New file.
4207 * sysdeps/generic/libnss_hesiod.abilist: New file.
4208 * sysdeps/generic/libnss_nis.abilist: New file.
4209 * sysdeps/generic/libnss_nisplus.abilist: New file.
4210 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
4211 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
4212 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
4214 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
4215 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
4216 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
4217 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
4218 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
4219 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
4220 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
4221 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
4222 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
4224 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
4225 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
4226 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
4227 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
4229 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
4230 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
4231 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
4232 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
4233 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
4234 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
4236 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
4237 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
4238 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
4240 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
4241 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
4243 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
4245 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
4247 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
4249 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
4251 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
4253 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
4255 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
4257 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
4259 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
4261 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
4263 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
4265 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
4267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
4269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
4271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
4273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
4275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
4277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
4279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
4281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
4283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
4287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
4289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
4291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
4293 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
4294 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
4296 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
4298 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
4300 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
4302 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
4304 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
4306 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
4308 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4310 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
4312 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
4314 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4316 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
4318 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
4319 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
4321 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4323 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
4325 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
4327 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
4329 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
4331 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
4333 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4335 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
4337 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
4339 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4341 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
4343 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
4344 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
4345 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
4347 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
4348 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
4349 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
4350 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
4351 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
4352 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
4353 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
4354 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
4355 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
4356 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
4357 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
4358 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
4360 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
4362 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
4364 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
4366 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
4368 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
4370 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
4372 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4374 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
4376 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
4378 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
4380 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
4382 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
4383 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
4385 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
4387 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
4389 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
4391 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
4393 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
4395 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
4397 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4399 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
4401 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
4403 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
4405 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
4408 2012-04-28 Joseph Myers <joseph@codesourcery.com>
4410 * conform/conformtest.pl: Fix typo in handling typed-constant from
4413 2012-04-27 Joseph Myers <joseph@codesourcery.com>
4415 * README: Cut down references to pre-2.6 Linux kernels and
4416 Linuxthreads. Update lists of configurations in libc and ports
4417 and sort alphabetically. Say "or newer" with Linux kernel version
4420 * config.h.in [IS_IN_build]: Allow compiling without optimization.
4422 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4425 * math/libm-test.inc (logb_test_downward): New test to expose
4426 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
4429 2012-04-27 Joseph Myers <joseph@codesourcery.com>
4432 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
4434 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
4435 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
4437 2012-04-26 Joseph Myers <joseph@codesourcery.com>
4439 * sysdeps/unix/i386/brk.S: Remove file.
4440 * sysdeps/unix/i386/dl-brk.S: Likewise.
4441 * sysdeps/unix/i386/pipe.S: Likewise.
4442 * sysdeps/unix/i386/sigreturn.S: Likewise.
4443 * sysdeps/unix/i386/syscall.S: Likewise.
4444 * sysdeps/unix/i386/vfork.S: Likewise.
4445 * sysdeps/unix/i386/wait.S: Likewise.
4447 * sysdeps/unix/common/tcsendbrk.c: Move to ...
4448 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
4450 * configure.in (arm*-none*): Do not allow without
4451 --enable-hacker-mode.
4452 (netbsd*): Remove case setting base_os.
4453 (386bsd*): Likewise.
4454 (freebsd*): Likewise.
4458 (ultrix*): Likewise.
4459 (newsos*): Likewise.
4469 (solaris[2-9]*): Likewise.
4471 * configure: Regenerated.
4473 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4476 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
4477 overflow or cancellation in calculating denominator.
4478 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
4479 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
4480 down expression to avoid unexpected rounding in newer GCCs.
4481 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
4483 2012-04-26 David S. Miller <davem@davemloft.net>
4485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
4486 long-double compat symbols.
4487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
4491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4492 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
4493 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
4494 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
4495 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
4496 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
4497 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
4498 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
4499 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4501 2012-04-25 David S. Miller <davem@davemloft.net>
4503 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
4504 HWCAP_* values only after the memory barriers have been defined.
4505 (atomic_full_barrier): Define.
4506 (atomic_read_barrier): Define.
4507 (atomic_write_barrier): Define.
4509 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4511 * shlib-versions: Add libgcc_s version information.
4512 * sysdeps/generic/libgcc_s.h: Remove.
4513 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
4515 * sysdeps/gnu/unwind-resume.c: Likewise.
4516 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
4518 2012-04-25 David S. Miller <davem@davemloft.net>
4520 * sysdeps/unix/sparc/brk.S: Delete.
4521 * sysdeps/unix/sparc/dl-brk.S: Delete.
4522 * sysdeps/unix/sparc/pipe.S: Delete.
4523 * sysdeps/unix/sparc/sysdep.S: Delete.
4524 * sysdeps/unix/sparc/sysdep.h: Delete.
4525 * sysdeps/unix/sparc/vfork.S: Delete.
4526 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
4527 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
4528 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
4529 ret_ERRVAL, r0, r1, MOVE): Define.
4530 (JUMPTARGET): Remove.
4531 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
4532 sysdeps/unix/sparc/sysdep.h
4533 (ENTRY, END): Remove.
4534 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4536 2012-04-25 Joseph Myers <joseph@codesourcery.com>
4538 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
4539 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
4542 * timezone/README: Update upstream location and email address for
4544 * timezone/zdump.c: Update from tzcode 2012b.
4545 * timezone/zic.c: Likewise.
4547 * configure.in (libc_cv_as_needed): Remove test.
4548 * configure: Regenerated.
4549 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
4550 conditional definition.
4551 [$(have-as-needed) != yes] (no-as-needed): Likewise.
4552 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
4553 * config.make.in (have-as-needed): Remove variable.
4555 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4556 Paul Pluzhnikov <ppluzhnikov@google.com>
4558 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
4561 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
4563 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
4564 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
4565 * sysdeps/sh/strlen.S: Likewise.
4567 2012-04-24 Joseph Myers <joseph@codesourcery.com>
4569 * sysdeps/unix/fork.S: Remove file.
4570 * sysdeps/unix/i386/fork.S: Likewise.
4571 * sysdeps/unix/sparc/fork.S: Likewise.
4573 * sysdeps/unix/system.c: Remove file.
4574 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
4576 * sysdeps/unix/getegid.S: Remove file.
4577 * sysdeps/unix/geteuid.S: Likewise.
4579 2012-04-24 Roland McGrath <roland@hack.frob.com>
4581 * scripts/check-localplt.awk: New file.
4582 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
4584 * scripts/data/localplt-generic.data: Add a comment.
4586 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
4587 NODE when __dir_mkfile failed.
4588 * sysdeps/mach/hurd/symlinkat.c: Likewise.
4589 Reported by Ludovic Courtès <ludo@gnu.org>.
4591 2012-04-24 Andreas Jaeger <aj@suse.de>
4593 * Makerules (common-clean): Also remove gen-as-const-headers
4596 2012-04-24 Joseph Myers <joseph@codesourcery.com>
4598 * Makerules (native-compile): Do not change working directory for
4599 build. Use $(OUTPUT_OPTION) in command.
4600 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
4602 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4605 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
4606 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
4607 * math/libm-test.inc (floor_test): Add more tests.
4608 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
4610 2012-04-24 Joseph Myers <joseph@codesourcery.com>
4612 * sysdeps/unix/getdents.c: Remove file.
4613 * sysdeps/unix/sysv/getdents.c: Likewise.
4614 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
4616 * sysdeps/unix/syscalls.list (madvise): Add syscall from
4617 sysdeps/unix/mman/syscalls.list.
4619 (mprotect): Likewise.
4622 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
4623 * sysdeps/unix/mman/syscalls.list: Remove.
4624 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
4626 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
4627 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
4628 * configure: Regenerated.
4629 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
4631 * config.make.in (libgcc_s_suffix): Remove variable.
4633 2012-04-23 Joseph Myers <joseph@codesourcery.com>
4635 * sysdeps/unix/sysv/gethostname.c: Move to ...
4636 * sysdeps/posix/gethostname.c: ... here.
4638 * sysdeps/unix/execve.S: Remove file.
4640 * sysdeps/unix/_exit.S: Remove file.
4642 2012-04-23 Andreas Jaeger <aj@suse.de>
4645 * manual/Makefile: Remove make dist support, there's no
4646 need for a stand-alone documentation tar ball.
4647 (TEXI2DVI): Define always, it's not in Makeconfig.
4651 (glibc-doc-$(edition).tar): Removed
4655 (ETAGS): Remove, it's in Makeconfig.
4656 (move-if-change): Remove, it's in Makeconfig.
4658 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
4661 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
4662 (strtod, strtof, strtold, strtol, strtoul, strtoq)
4663 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
4664 (strtod_l, strtof_l, strtold_l): Remove __wur.
4665 It is not necessarily an error to ignore strtol's return value.
4666 One can reliably look at the stored endptr to decide whether
4667 the number had valid syntax.
4669 2012-04-21 Andreas Jaeger <aj@suse.de>
4672 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
4674 2012-04-21 Joseph Myers <joseph@codesourcery.com>
4676 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
4677 * sysdeps/unix/sysv/Versions: Remove file.
4679 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
4682 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4684 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
4687 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
4688 version from __vm86.
4690 2012-04-20 Joseph Myers <joseph@codesourcery.com>
4692 * sysdeps/unix/common/lxstat.c: Remove file.
4693 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
4695 * sysdeps/unix/sysv/Makefile: Remove file.
4697 * sysdeps/unix/sysv/direct.h: Remove file.
4699 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
4700 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
4701 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
4702 * sysdeps/unix/sysv/bits/signum.h: Likewise.
4703 * sysdeps/unix/sysv/bits/stat.h: Likewise.
4704 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
4705 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
4707 * sysdeps/unix/sysv/setrlimit.c: Remove file.
4709 * sysdeps/unix/xmknod.c: Remove file.
4710 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
4712 * sysdeps/unix/sysv/settimeofday.c: Remove file.
4714 * sysdeps/unix/sysv/i386/time.S: Remove file.
4716 * sysdeps/unix/fxstat.c: Remove file.
4717 * sysdeps/unix/xstat.c: Likewise.
4718 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
4720 * sysdeps/unix/sysv/sigaction.c: Remove file.
4722 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
4723 (sysdep_headers): Remove variable.
4724 [termio.h not in sysdep_headers] (generated): Likewise.
4725 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
4726 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
4727 * sysdeps/unix/sysv/tcdrain.c: Likewise.
4728 * sysdeps/unix/sysv/tcflow.c: Likewise.
4729 * sysdeps/unix/sysv/tcflush.c: Likewise.
4730 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
4731 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
4732 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
4733 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
4734 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
4736 * sysdeps/unix/siglist.c: Remove file.
4738 * sysdeps/unix/getppid.S: Remove file.
4740 * sysdeps/unix/mkdir.c: Remove file.
4741 * sysdeps/unix/rmdir.c: Likewise.
4743 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
4745 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
4747 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
4748 errlist-compat value.
4750 2012-04-18 David S. Miller <davem@davemloft.net>
4752 * sysdeps/generic/memcopy.h (reg_char): Delete.
4753 * debug/strcat_chk.c: Use char, not reg_char.
4754 * debug/strcpy_chk.c: Likewise.
4755 * debug/strncat_chk.c: Likewise.
4756 * debug/strncpy_chk.c: Likewise.
4757 * string/memchr.c: Likewise.
4758 * string/memrchr.c: Likewise.
4759 * string/rawmemchr.c: Likewise.
4760 * string/strcat.c: Likewise.
4761 * string/strchr.c: Likewise.
4762 * string/strchrnul.c: Likewise.
4763 * string/strcmp.c: Likewise.
4764 * string/strcpy.c: Likewise.
4765 * string/strncat.c: Likewise.
4766 * string/strncmp.c: Likewise.
4767 * string/strncpy.c: Likewise.
4769 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4771 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
4772 __builtin_memcopy is called when src and dest ranges are known to not
4775 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4777 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
4778 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
4779 fwd_align_merge macro call.
4780 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
4781 bwd_align_merge macro call.
4782 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4784 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4786 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
4787 bwd_align_merge macros.
4788 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
4789 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
4790 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4792 2012-04-18 David S. Miller <davem@davemloft.net>
4794 * sysdeps/sparc/sparc64/memcopy.h: Delete.
4796 2012-04-18 Andreas Jaeger <aj@suse.de>
4799 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
4800 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
4801 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4803 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
4804 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
4805 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4807 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
4808 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
4809 Adjust for changed ldbl-128 files.
4811 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
4812 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
4813 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4815 2012-04-17 David S. Miller <davem@davemloft.net>
4817 * sysdeps/sparc/sparc32/memcopy.h: Delete.
4819 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
4821 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
4822 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
4823 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
4824 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
4825 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4826 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
4828 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4831 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
4832 * math/libm-test.inc: Add ilogb errno and exception tests.
4833 * math/w_ilogb.c: New file: ilogb wrapper.
4834 * math/w_ilogbf.c: New file: ilogbf wrapper.
4835 * math/w_ilogbl.c: New file: ilogbl wrapper.
4836 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
4837 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
4838 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
4839 exception being thrown with 0.0 as argument.
4840 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
4841 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
4842 exception being thrown with 0.0 as argument.
4843 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
4844 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4845 exception being thrown with 0.0 as argument.
4846 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
4847 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4848 exception being thrown with 0.0 as argument.
4849 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
4850 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
4851 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
4852 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
4853 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
4854 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
4855 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
4856 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
4857 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
4859 2012-04-17 Petr Baudis <pasky@ucw.cz>
4861 * include/sys/uio.h: Change __vector to __iovec to avoid clash
4864 2012-04-16 Marek Polacek <polacek@redhat.com>
4866 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
4868 2012-04-16 Marek Polacek <polacek@redhat.com>
4870 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
4871 operands of fdivp instruction.
4873 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4875 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
4876 * elf/tst-auditmod3b.c: Likewise.
4877 * elf/tst-auditmod4b.c: Likewise.
4878 * elf/tst-auditmod5b.c: Likewise.
4879 * elf/tst-auditmod6b.c: Likewise.
4880 * elf/tst-auditmod6c.c: Likewise.
4881 * elf/tst-auditmod7b.c: Likewise.
4882 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
4883 * sysdeps/x86_64/preconfigure.in: Likewise.
4884 * sysdeps/x86_64/preconfigure: Regenerated.
4886 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4888 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
4891 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
4893 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4894 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
4896 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
4899 * locale/iso-639.def: Fix gl language name. Spotted by
4902 2012-04-12 Roland McGrath <roland@hack.frob.com>
4905 * libio/libio.h (__io_write_fn): Update comment.
4907 2012-04-12 Petr Baudis <pasky@ucw.cz>
4910 * stdio.texi (Hook Functions): The user provided writer function
4911 is not allowed to return -1.
4913 2012-04-11 David S. Miller <davem@davemloft.net>
4915 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4917 2012-04-11 Mike Frysinger <vapier@gentoo.org>
4919 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
4920 Add a leading slash to rtkaio.
4922 2012-04-11 Jim Meyering <meyering@redhat.com>
4925 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
4926 It is not necessarily an error to ignore fwrite's return
4927 value. One can reliably use ferror to test for errors after
4930 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
4932 * bits/types.h (__snseconds_t): New type.
4933 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
4935 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
4936 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4937 (__SNSECONDS_T_TYPE): Likewise.
4938 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4939 (__SNSECONDS_T_TYPE): Likewise.
4940 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4941 (__SNSECONDS_T_TYPE): Likewise.
4943 2012-04-10 Andreas Jaeger <aj@suse.de>
4946 * manual/time.texi (Processor Time): Return type of times is
4947 elapsed real time since an arbitrary point in the past.
4948 (CPU Time): Move CLK_TCK from here...
4949 (Processor Time): ...to here. Correct description.
4950 * manual/conf.texi (Constants for Sysconf): Correct description of
4953 2012-04-10 David S. Miller <davem@davemloft.net>
4956 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
4957 where the is a gap between DT_REL(A) and DT_JMPREL.
4959 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
4961 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
4962 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
4963 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
4965 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4967 * elf/dl-support.c (_dl_inhibit_cache): New variable.
4968 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
4969 (dl_main): Handle --inhibit-cache.
4970 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
4972 * elf/dl-load.c (_dl_map_object): Use it.
4973 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
4975 2012-04-09 Joseph Myers <joseph@codesourcery.com>
4978 * sysdeps/i386/fpu/e_powl.S (p78): New object.
4979 (__ieee754_powl): Saturate large exponents rather than testing for
4980 overflow of y*log2(x).
4981 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4982 * math/libm-test.inc (pow_test): Do not permit spurious overflow
4986 * math/s_ctan.c: Include <float.h>.
4987 (__ctan): Avoid internal overflow or cancellation in calculating
4989 * math/s_ctanf.c: Likewise.
4990 * math/s_ctanl.c: Likewise.
4991 * math/s_ctanh.c: Likewise.
4992 * math/s_ctanhf.c: Likewise.
4993 * math/s_ctanhl.c: Likewise.
4994 * math/libm-test.inc (ctan_test): Add more tests.
4995 (ctanh_test): Likewise.
4996 * sysdeps/i386/fpu/libm-test-ulps: Update.
4997 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4999 2012-04-09 Andreas Jaeger <aj@suse.de>
5002 * manual/filesys.texi (Directory Entries): Mention that d_namlen
5003 is an optional BSD extension.
5006 * manual/stdio.texi (Opening Streams): Document additional fopen
5009 2012-04-09 Roland McGrath <roland@hack.frob.com>
5011 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
5012 %eax without telling the compiler.
5014 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
5017 * manual/install.texi: Use sourceware.org.
5019 2012-04-09 Joseph Myers <joseph@codesourcery.com>
5022 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
5023 (__ieee754_pow): Generate overflow and underflow using huge*huge
5024 and tiny*tiny rather than just returning constant infinity or zero
5025 for large exponents.
5026 * math/libm-test.inc (pow_test): Require overflow exceptions for
5027 applicable cases of large exponents.
5030 * sysdeps/i386/fpu/e_pow.S (p10): New object.
5031 (__ieee754_pow): Use iterative multiplication algorithm only for
5032 integer exponents with absolute value below 1024. Check for odd
5033 integer exponents when using algorithm for real exponents.
5034 * math/libm-test.inc (pow_test): Add more tests.
5035 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5037 2012-04-08 Joseph Myers <joseph@codesourcery.com>
5040 * math/libm-test.inc (exp_test): Do not allow overflow exception
5043 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
5046 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
5047 instead of __kernel_standard_f.
5049 2012-04-08 Mike Frysinger <vapier@gentoo.org>
5051 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
5052 * sysdeps/x86_64/memset_chk.S: Likewise.
5054 2012-04-08 Andreas Jaeger <aj@suse.de>
5057 * manual/startup.texi (Environment Access): Describe return value
5058 for putenv and setenv.
5061 * manual/filesys.texi (Directory Entries): Add description for
5065 * manual/filesys.texi (Directory Entries): Clarify that it's file
5066 system not operating system in the description of DT_UNKNOWN.
5069 * manual/syslog.texi (closelog): Fix reference, it's openlog.
5071 2012-04-08 Stephen Compall <s11@member.fsf.org>
5074 * manual/llio.texi (Opening and Closing Files): Add cross
5075 reference to explain mode argument.
5077 2012-04-07 Mike Frysinger <vapier@gentoo.org>
5079 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
5080 * sysdeps/x86_64/memset_chk.S: Likewise.
5082 2012-04-07 David S. Miller <davem@davemloft.net>
5084 * elf/elf.h (R_SPARC_WDISP10): Define.
5085 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
5087 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
5088 R_SPARC_SIZE64 and R_SPARC_H34.
5090 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
5092 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
5093 conditions and remove no longer applicable assertion.
5095 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
5097 * bits/byteswap.h: Include <features.h>.
5098 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
5099 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
5101 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
5103 * bits/byteswap.h (__bswap_16): Removed.
5104 Include <bits/byteswap-16.h> to get __bswap_16.
5105 * sysdeps/i386/bits/byteswap.h: Likewise.
5106 * sysdeps/s390/bits/byteswap.h: Likewise.
5107 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5108 * bits/byteswap-16.h: New file.
5109 * sysdeps/i386/bits/byteswap-16.h: Likewise.
5110 * sysdeps/s390/bits/byteswap-16.h: Likewise.
5111 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
5112 * string/Makefile (headers): Add bits/byteswap-16.h.
5114 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5117 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
5119 * nss/Makefile (tests-static, tests): Add tst-nss-static.
5120 * nss/tst-nss-static.c: New.
5122 2012-04-06 Robert Millan <rmh@gnu.org>
5125 * manual/llio.texi (File Position Primitive): lseek
5126 refers to WHENCE when it really means OFFSET.
5128 2012-04-06 Andreas Jaeger <aj@suse.de>
5130 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
5131 strncmp declarations.
5133 * abilist/libc.abilist: Add __poll and __ppoll.
5135 2012-04-05 David S. Miller <davem@davemloft.net>
5137 * scripts/check-local-headers.sh: Accept a host triplet in the
5138 path matched by the exclude regexp.
5140 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
5142 * sysdeps/powerpc/powerpc32/dl-machine.h
5143 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
5144 * sysdeps/s390/s390-32/dl-machine.h
5145 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5146 * sysdeps/sparc/sparc32/dl-machine.h
5147 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5148 * sysdeps/sparc/sparc64/dl-machine.h
5149 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5151 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
5153 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
5154 undefined symbol errors.
5156 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
5159 2012-04-05 Michael Matz <matz@suse.de>
5162 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
5164 2012-04-05 Andreas Jaeger <aj@suse.de>
5167 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
5170 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5172 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
5173 which ROUND is no valid rounding mode.
5175 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5177 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
5179 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
5181 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5183 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
5184 an exception using FPU order intentionally.
5186 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5188 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
5189 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
5190 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
5191 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
5193 2012-04-05 Simon Josefsson <simon@josefsson.org>
5196 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
5197 EINVAL when BUFLEN is too smal.
5199 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
5202 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
5203 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
5205 2012-04-03 Andreas Jaeger <aj@suse.de>
5208 * manual/setjmp.texi (System V contexts): Fix sentence.
5211 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
5212 New macro for this case.
5213 [!__GNUC__] (__bswap_64): New inline function for this case.
5214 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5215 * bits/byteswap.h: Likewise.
5216 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
5217 ull, guard with __GLIBC_HAVE_LONG_LONG.
5219 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
5220 __GLIBC_HAVE_LONG_LONG.
5222 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
5223 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
5225 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5228 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
5229 inptr and inend, rather than using last_ch.
5231 2012-04-02 David S. Miller <davem@davemloft.net>
5233 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
5234 * stdio-common/printf-parse.h (read_int): Change return type to
5235 'int', return -1 on INT_MAX overflow.
5236 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
5237 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
5238 overflows INT_MAX. Check for overflow of in-format-string precision
5239 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
5240 SIZE_MAX not INT_MAX for integer overflow test.
5241 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
5242 skip the construct in the format string but do not record anything.
5243 * stdio-common/bug22.c: Adjust to test both width/prevision
5244 INT_MAX overflow as well as total length INT_MAX overflow. Check
5245 explicitly for proper errno values.
5247 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
5249 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
5251 * string/test-strcmp.c [! WIDE]: Likewise.
5252 * time/tst-mktime2.c: Likewise for INT_MAX.
5253 * string/test-string.h: #include <sys/param.h> for MIN.
5255 * csu/init-first.c (__libc_init_first): Call __ctype_init.
5256 * sysdeps/i386/init-first.c (init): Likewise.
5257 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
5258 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
5259 * sysdeps/sh/init-first.c (init): Likewise.
5261 2012-04-01 Ulrich Drepper <drepper@gmail.com>
5263 * po/ru.po: Update from translation team.
5264 * po/vi.po: Likewise.
5266 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5268 * resolv/nss_dns/dns-host.c: Merge copyright years.
5270 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5272 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5273 Optimize memcpy with prefetch if
5274 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
5275 src, dst pointers have unequal 16 byte alignments.
5277 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5280 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
5281 from a CNAME entry and return the minimum ttl for the query.
5282 (gaih_getanswer_slice): Likewise.
5284 2012-03-30 Jeff Law <law@redhat.com>
5286 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
5288 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
5289 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
5291 * resolv/nss_dns/dns-host.c: Update copyright year.
5293 2012-03-30 Ulrich Drepper <drepper@gmail.com>
5295 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
5296 requests to save a system call. Fix check that all bytes are sent.
5298 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
5299 comments for sendmmsg.
5301 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5304 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
5305 with only 1 character between 0x0041 and 0x01b0.
5306 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
5307 * wcsmbs/tst-mbsnrtowcs.c: New file.
5309 2012-03-29 David S. Miller <davem@davemloft.net>
5311 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
5312 small copies by hand.
5314 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5317 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
5318 _nss_compat_initgroups_dyn): Fall back to malloc/free
5319 for large group memberships.
5321 2012-03-28 David S. Miller <davem@davemloft.net>
5323 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
5324 that branches into memcpy.
5325 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5326 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
5327 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5328 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
5329 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
5331 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
5333 * sysdeps/sparc/mempcpy.S: New file.
5335 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
5336 the IFUNC routine in the libc case.
5337 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5339 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
5340 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
5341 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
5342 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
5343 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
5344 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
5345 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
5346 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
5348 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
5349 loop to 256 bytes instead of 64 bytes and fix test signedness.
5351 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
5352 * sysdeps/sparc/sparc32/Makefile: rather than here...
5353 * sysdeps/sparc/sparc64/Makefile: and here.
5355 2012-03-28 Ulrich Drepper <drepper@gmail.com>
5357 * malloc/mallocbug.c: Avoid warnings about unused variables.
5359 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5362 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
5363 in the right place. Discard and retry query if response is
5364 larger than input buffer size.
5366 2012-03-28 Joseph Myers <joseph@codesourcery.com>
5371 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
5372 x for large integer exponent.
5373 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5374 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
5375 sign of result as needed afterwards.
5376 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
5377 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
5378 result for underflowing pow the same as for overflow.
5379 (__kernel_standard_l): Handle powl overflow and underflow here
5380 rather than calling __kernel_standard.
5381 * math/libm-test.inc (pow_test): Add more tests.
5396 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
5397 * sysdeps/ieee754/k_standard.c: Include <float.h>.
5398 (__kernel_standard_l): New function.
5399 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
5401 * math/w_acosl.c (__acosl): Likewise.
5402 * math/w_asinl.c (__asinl): Likewise.
5403 * math/w_atan2l.c (__atan2l): Likewise.
5404 * math/w_atanhl.c (__atanhl): Likewise.
5405 * math/w_coshl.c (__coshl): Likewise.
5406 * math/w_exp10l.c (__exp10l): Likewise.
5407 * math/w_exp2l.c (__exp2l): Likewise.
5408 * math/w_fmodl.c (__fmodl): Likewise.
5409 * math/w_hypotl.c (__hypotl): Likewise.
5410 * math/w_j0l.c (__j0l, __y0l): Likewise.
5411 * math/w_j1l.c (__j1l, __y1l): Likewise.
5412 * math/w_jnl.c (__jnl, __ynl): Likewise.
5413 * math/w_lgammal.c (__lgammal): Likewise.
5414 * math/w_log10l.c (__log10l): Likewise.
5415 * math/w_log2l.c (__log2l): Likewise.
5416 * math/w_logl.c (__logl): Likewise.
5417 * math/w_powl.c (__powl): Likewise.
5418 * math/w_remainderl.c (__remainderl): Likewise.
5419 * math/w_scalbl.c (sysv_scalbl): Likewise.
5420 * math/w_sinhl.c (__sinhl): Likewise.
5421 * math/w_sqrtl.c (__sqrtl): Likewise.
5422 * math/w_tgammal.c (__tgammal): Likewise.
5423 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
5424 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
5425 * math/libm-test.inc (acos_test): Add more tests.
5426 (acosh_test): Likewise.
5427 (asin_test): Likewise.
5428 (atanh_test): Likewise.
5429 (exp_test): Likewise.
5430 (exp10_test): Likewise.
5431 (exp2_test): Likewise.
5432 (expm1_test): Likewise.
5433 (lgamma_test): Likewise.
5434 (log_test): Likewise.
5435 (log10_test): Likewise.
5436 (log1p_test): Likewise.
5437 (log2_test): Likewise.
5438 (pow_test): Do not allow some spurious overflow exceptions.
5439 (sqrt_test): Add more tests.
5440 (tgamma_test): Likewise.
5441 (y0_test): Likewise.
5442 (y1_test): Likewise.
5443 (yn_test): Likewise.
5445 2012-03-27 Anton Blanchard <anton@samba.org>
5447 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
5449 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5450 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
5451 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5453 2012-03-27 David S. Miller <davem@davemloft.net>
5455 * conform/Makefile: Run run-conformtest.sh using $(BASH).
5457 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
5460 2012-03-27 Andreas Jaeger <aj@suse.de>
5462 * sysdeps/x86_64/elf/configure.in: Moved to ...
5463 * sysdeps/x86_64/configure.in: ... here.
5464 * sysdeps/x86_64/elf/start.S: Moved to ...
5465 * sysdeps/x86_64/start.S: ... here.
5466 * sysdeps/x86_64/elf/configure: Delete.
5468 * sysdeps/x86_64/configure.in: Merge contents from
5469 sysdeps/i386/configure.in (without i686 check).
5471 * sysdeps/i386/elf/Versions: Merge into ...
5472 * sysdeps/i386/Versions: ... this.
5473 * sysdeps/i386/elf/Versions: Delete file.
5474 * sysdeps/i386/elf/start.S: Moved to ...
5475 * sysdeps/i386/start.S: ...here.
5476 * sysdeps/i386/elf/configure.in: Merge into...
5477 * sysdeps/i386/configure.in: ...here.
5478 * sysdeps/i386/elf/configure.in: Delete file.
5479 * sysdeps/i386/elf/configure: Delete file.
5481 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
5482 * debug/backtracesyms.c: ... here.
5483 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
5484 * debug/backtracesymsfd.c: ... here.
5485 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
5486 * sysdeps/generic/ifunc-sel.h: ... here.
5488 * sysdeps/unix/i386/start.c: Delete file.
5489 * sysdeps/unix/sparc/start.c: Delete file.
5490 * sysdeps/unix/start.c: Delete file.
5492 * sysdeps/sh/elf/configure.in: Moved to ...
5493 * sysdeps/sh/configure.in: ... here.
5494 * sysdeps/sh/elf/start.S: Moved to ...
5495 * sysdeps/sh/start.S: ... here.
5496 * sysdeps/sh/elf/configure: Delete file.
5498 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
5499 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
5500 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
5501 * sysdeps/powerpc/powerpc64/entry.h: ... here.
5502 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
5503 * sysdeps/powerpc/powerpc64/start.S: here.
5504 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
5505 * sysdeps/powerpc/powerpc64/Makefile: ... this.
5506 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
5507 * sysdeps/powerpc/powerpc64/configure.in: ... this.
5508 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
5510 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
5511 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
5512 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
5513 * sysdeps/powerpc/powerpc32/start.S: ... here.
5514 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
5515 * sysdeps/powerpc/powerpc32/configure.in: ... this.
5516 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
5518 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
5519 * sysdeps/powerpc/ifunc-sel.h: ... here.
5520 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
5521 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
5523 * sysdeps/sparc/elf/configure.in: Moved to ...
5524 * sysdeps/sparc/configure.in: ... here.
5525 * sysdeps/sparc/elf/configure: Delete file.
5526 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
5527 * sysdeps/sparc/sparc32/start.S: ... here.
5528 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
5529 * sysdeps/sparc/sparc64/start.S: ... here.
5530 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
5531 * sysdeps/sparc/sparc32/Makefile: ... this.
5532 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
5533 * sysdeps/sparc/sparc64/Makefile: ... this.
5535 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
5536 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
5537 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
5538 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
5539 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
5540 * sysdeps/s390/s390-32/setjmp.S: ... here.
5541 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
5542 * sysdeps/s390/s390-32/configure.in: ... here.
5543 * sysdeps/s390/s390-32/elf/configure: Delete file.
5544 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
5545 * sysdeps/s390/s390-32/start.S: ... here.
5547 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
5548 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
5549 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
5550 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
5551 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
5552 * sysdeps/s390/s390-64/setjmp.S: ... here.
5553 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
5554 * sysdeps/s390/s390-64/configure.in: ... here
5555 * sysdeps/s390/s390-64/elf/configure: Delete file.
5556 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
5557 * sysdeps/s390/s390-64/start.S: ... here.
5558 * sysdeps/s390/s390-64/elf/configure: Delete.
5560 * configure.in: Remove support for elf directories in sysdeps.
5562 * configure: Regenerated.
5563 * sysdeps/i386/configure: Regenerated.
5564 * sysdeps/powerpc/powerpc32/configure: Regenerated.
5565 * sysdeps/powerpc/powerpc64/configure: Regenerated.
5566 * sysdeps/s390/s390-32/configure: Regenerated.
5567 * sysdeps/s390/s390-64/configure: Regenerated.
5568 * sysdeps/sh/configure: Regenerated.
5569 * sysdeps/sparc/configure: Regenerated.
5570 * sysdeps/x86_64/configure: Regenerated.
5572 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
5574 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5576 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
5577 denormal result into account.
5579 2012-03-25 Roland McGrath <roland@hack.frob.com>
5581 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
5582 Reported by Allan McRae <allan@archlinux.org>.
5584 2012-03-23 Jeff Law <law@redhat.com>
5586 * nss/getnssent.c (__nss_getent): Fix typo.
5588 2012-03-23 David S. Miller <davem@davemloft.net>
5590 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5592 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
5594 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
5595 to pad to uint64_t for each field.
5596 (dl_tls_index): Replace unsigned long with uint64_t.
5598 2012-03-23 Daniel Jacobowitz <dmj@google.com>
5599 Paul Pluzhnikov <ppluzhnikov@google.com>
5602 * grp/Makefile (otherlibs): Don't set it.
5603 * inet/Makefile (otherlibs): Likewise.
5604 * login/Makefile (otherlibs): Likewise.
5605 * nscd/Makefile (otherlibs): Likewise.
5606 * posix/Makefile (otherlibs): Likewise.
5607 * pwd/Makefile (otherlibs): Likewise.
5608 * rt/Makefile (otherlibs): Likewise.
5609 * sunrpc/Makefile (otherlibs): Likewise.
5610 * nss/Makefile (otherlibs): Likewise.
5611 Add libnss_files to routines and static-only-routines.
5612 ($(objpfx)getent): Remove rule.
5613 * resolv/Makefile: Add libnss_dns and libresolv to routines and
5614 static-only-routines.
5616 2012-03-22 Joseph Myers <joseph@codesourcery.com>
5619 * math/s_cexp.c: Include <float.h>.
5620 (__cexp): Handle exp result overflowing not necessarily
5621 overflowing both real and imaginary parts of result.
5622 * math/s_cexpf.c: Likewise.
5623 * math/s_cexpl.c: Likewise.
5624 * math/libm-test.inc (cexp_test): Add more tests.
5625 * sysdeps/i386/fpu/libm-test-ulps: Update.
5626 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5628 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5630 * include/link.h (ELFW): New macro.
5631 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
5632 Replace ELF64_R_TYPE with ELFW(R_TYPE).
5634 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5636 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
5639 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5641 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
5643 (struct La_x32_retval): Likewise.
5645 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5647 * sysdeps/x86_64/preconfigure.in: New file.
5648 * sysdeps/x86_64/preconfigure: New generated file.
5650 2012-03-22 Joseph Myers <joseph@codesourcery.com>
5653 * math/e_exp2l.c: Include <float.h>.
5654 (__ieee754_exp2l): Handle overflow and underflow cases
5655 separately. Only pass fractional part of argument to
5657 * math/libm-test.inc (exp2_test): Add more tests.
5659 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
5660 negating x to take absolute value.
5661 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
5663 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5664 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
5666 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
5667 computing low part if x was negated.
5668 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5670 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5672 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
5674 (pltexit): Cast int_retval to ptrdiff_t.
5675 * elf/tst-auditmod3b.c: Likewise.
5676 * elf/tst-auditmod4b.c: Likewise.
5677 * elf/tst-auditmod5b.c: Likewise.
5678 * elf/tst-auditmod6b.c: Likewise.
5679 * elf/tst-auditmod6c.c: Likewise.
5680 * elf/tst-auditmod7b.c: Likewise.
5682 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
5683 and x32_gnu_pltexit.
5685 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
5687 (La_x32_regs): New macro.
5688 (La_x32_retval): Likewise.
5689 (la_x32_gnu_pltenter): New function prototype.
5690 (la_x32_gnu_pltexit): Likewise.
5692 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
5694 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
5697 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5699 * configure.in (libc_cv_cc_nofma): Check for option to disable
5700 generation of FMA instructions.
5701 * configure: Regenerate.
5702 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
5703 * sysdeps/ieee754/dbl-64/Makefile: New file.
5704 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
5705 Remove brandred-fma4.
5706 (CFLAGS-brandred-fma4.c): Remove.
5707 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
5708 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
5710 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
5713 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5715 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
5716 LLONG_MAX != LONG_MAX.
5717 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5718 (_fitoa_word): Likewise.
5719 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
5720 LLONG_MAX != LONG_MAX.
5721 * stdio-common/_itowa.h: Include <_itoa.h>.
5722 (_itowa_word): Use _ITOA_WORD_TYPE on value.
5723 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
5724 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
5725 only if not defined.
5726 (_ITOA_WORD_TYPE): Likewise.
5727 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5728 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
5730 2012-03-21 David S. Miller <davem@davemloft.net>
5732 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5734 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5736 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
5737 of x86_64 when setting libc_cv_slibdir, libdir and
5739 * sysdeps/unix/sysv/linux/configure: Regenerated.
5741 2012-03-21 Joseph Myers <joseph@codesourcery.com>
5743 * manual/lang.texi (Old Varargs): Remove section.
5744 (How Variadic): Update menu.
5745 (va_start): Do not mention varargs.h.
5747 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5748 Joseph Myers <joseph@codesourcery.com>
5750 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
5752 * configure: Regenerated.
5754 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5756 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
5757 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
5760 2012-03-21 Joseph Myers <joseph@codesourcery.com>
5763 * Makefile (files-for-dist): Remove NOTES.
5764 (NOTES): Remove rule.
5765 * README: Don't refer to NOTES.
5766 * manual/creature.texi: Don't include macros.texi.
5767 * manual/intro.texi (creature.texi): Remove comment referring to
5770 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
5771 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
5772 * configure: Regenerated.
5773 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
5775 (libc_cv_as_i686): Likewise.
5776 (libc_cv_cc_avx): Likewise.
5777 (libc_cv_cc_sse2avx): Likewise.
5778 (libc_cv_cc_fma4): Likewise.
5779 (libc_cv_cc_novzeroupper): Likewise.
5780 * sysdeps/i386/configure: Regenerated.
5783 * sysdeps/i386/fpu/s_cexp.S: Remove.
5784 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5785 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5786 * math/libm-test.inc (cexp_test): Add more tests.
5787 * sysdeps/i386/fpu/libm-test-ulps: Update.
5788 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5790 2012-03-21 Allan McRae <allan@archlinux.org>
5792 * timezone/Makefile: Do not install iso3166.tab and zone.tab
5794 2012-03-21 Joseph Myers <joseph@codesourcery.com>
5797 * math/w_exp2.c: Do not include <float.h>.
5798 (o_threshold, u_threshold): Remove.
5799 (__exp2): Calculate result before checking finiteness and calling
5801 * math/w_exp2f.c: Likewise.
5802 * math/w_exp2l.c: Likewise.
5803 * math/libm-test.inc (exp2_test): Require overflow exception for
5807 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
5808 range of signed 64-bit integers before using fistpll. Remove
5809 checks for whether integers fit in mantissa bits.
5810 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
5811 the range of signed 32-bit integers before using fistpl. Remove
5812 checks for whether integers fit in mantissa bits.
5813 * sysdeps/i386/fpu/e_powl.S (p64): New object.
5814 (__ieee754_powl): Test for y outside the range of signed 64-bit
5815 integers before using fistpll. Reduce 64-bit values to 63-bit
5817 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
5818 divide-by-zero is raised for zero to large negative powers.
5819 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
5820 (__ieee754_powl): Test for y outside the range of signed 64-bit
5821 integers before using fistpll. Reduce 64-bit values to 63-bit
5823 * math/libm-test.inc (pow_test): Add more tests.
5825 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5827 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
5828 <stdio-common/_itoa.h>.
5829 * debug/segfault.c: Likewise.
5830 * elf/dl-cache.c: Likewise.
5831 * elf/dl-minimal.c: Likewise.
5832 * elf/dl-misc.c: Likewise.
5833 * elf/dl-sysdep.c: Likewise.
5834 * elf/dl-version.c: Likewise.
5835 * elf/rtld.c: Likewise.
5836 * hurd/hurdsock.c: Likewise.
5837 * hurd/lookup-retry.c: Likewise.
5838 * malloc/malloc.c: Likewise.
5839 * malloc/mtrace.c: Likewise.
5840 * nscd/nscd_getgr_r.c: Likewise.
5841 * nscd/nscd_getpw_r.c: Likewise.
5842 * nscd/nscd_getserv_r.c: Likewise.
5843 * posix/getopt_init.c: Likewise.
5844 * posix/wordexp.c: Likewise.
5845 * stdio-common/_itoa.c: Likewise.
5846 * stdio-common/printf_fphex.c: Likewise.
5847 * stdio-common/vfprintf.c: Likewise.
5848 * string/_strerror.c: Likewise.
5849 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
5850 * sysdeps/i386/i686/hp-timing.h: Likewise.
5851 * sysdeps/mach/_strerror.c: Likewise.
5852 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
5853 * sysdeps/mach/hurd/sethostid.c: Likewise.
5854 * sysdeps/mach/hurd/xmknodat.c: Likewise.
5855 * sysdeps/mach/xpg-strerror.c: Likewise.
5856 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5857 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5858 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
5859 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
5860 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5861 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
5862 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
5863 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
5864 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
5865 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
5866 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
5867 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5868 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
5869 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
5870 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
5871 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
5872 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
5873 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
5874 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5875 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5876 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
5878 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
5880 * stdio-common/_itoa.h: Moved to ...
5881 * sysdeps/generic/_itoa.h: Here.
5883 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
5885 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
5886 instead of "_itoa.h" and "_itowa.h".
5887 * stdio-common/vfprintf.: Likewise.
5889 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5891 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
5893 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
5894 (__signbit): Likwise.
5898 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5900 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
5903 2012-03-20 Joseph Myers <joseph@codesourcery.com>
5905 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
5906 OVERFLOW_EXCEPTION_OK.
5907 * math/libm-test.inc ("Philosophy"): Update comment about
5909 (OVERFLOW_EXCEPTION): Define.
5910 (OVERFLOW_EXCEPTION_OK): Likewise.
5911 (INVALID_EXCEPTION_OK): Renumber.
5912 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5913 (IGNORE_ZERO_INF_SIGN): Likewise.
5914 (test_exceptions): Handle FE_OVERFLOW.
5915 (exp10_test): Expect overflow exceptions.
5916 (exp2_test): Likewise.
5917 (expm1_test): Likewise.
5918 (nextafter_test): Likewise.
5919 (pow_test): Likewise.
5920 (scalbn_test): Likewise.
5921 (scalbln_test): Likewise.
5923 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5925 * sysdeps/x86_64/bits/atomic.h
5926 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
5928 (atomic_exchange_acq): Likewise.
5929 (__arch_exchange_and_add_body): Likewise.
5930 (__arch_add_body): Likewise.
5931 (atomic_add_negative): Likewise.
5932 (atomic_add_zero): Likewise.
5934 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5936 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
5937 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
5939 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5941 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
5942 Check __x86_64__ instead of __WORDSIZE.
5944 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5946 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
5948 2012-03-19 David S. Miller <davem@davemloft.net>
5950 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5952 * sysdeps/sparc/fpu/fenv_private.h: New file.
5953 * sysdeps/sparc/fpu/math_private.h: Use it.
5954 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
5956 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
5957 (libc_feholdexcept_setroundl): Remove.
5958 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
5960 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
5961 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
5963 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5965 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
5966 int64_t instead of long int.
5967 (INSERT_WORDS64): Likwise.
5969 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5971 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
5972 _Unwind_GetCFA return to _Unwind_Ptr first.
5974 2012-03-19 Joseph Myers <joseph@codesourcery.com>
5977 * math/s_clog.c: Include <float.h>.
5978 (__clog): Scale large or subnormal inputs.
5979 * math/s_clogf.c: Likewise.
5980 * math/s_clogl.c: Likewise.
5981 * math/s_clog10.c: Include <float.h>.
5982 (M_LOG10_2): Define.
5983 (__clog10): Scale large or subnormal inputs.
5984 * math/s_clog10f.c: Likewise.
5985 * math/s_clog10l.c: Likewise.
5986 * math/libm-test.inc (clog_test): Add more tests.
5987 (clog10_test): Likewise.
5988 * sysdeps/i386/fpu/libm-test-ulps: Update.
5989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5992 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
5994 * math/libm-test.inc (atan2_test): Add another test.
5996 * Makerules (common-objdir-compile): Remove.
5997 * sysdeps/unix/Makefile (config-generated): Do not add
5998 $(unix-generated) to variable.
5999 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
6000 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
6002 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
6004 [generic bits/local_lim.h] (before-compile): Do not append to
6006 [generic bits/local_lim.h] (common-generated): Likewise.
6007 [generic sys/param.h] (before-compile): Do not append to variable.
6008 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
6009 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
6010 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
6011 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
6013 [generic sys/param.h] (sys/param.h-includes): Remove variable.
6014 [generic sys/param.h] (sys/param.h-includes): Remove rule.
6015 [generic sys/param.h] ($(addprefix
6016 $(common-objpfx),$(sys/param.h-includes))): Likewise.
6017 [generic sys/param.h] (common-generated): Do not append to
6019 [generic sys/param.h] (sysdep_headers): Likewise.
6020 [generic bits/errno.h] (before-compile): Do not append to
6022 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
6024 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
6025 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
6026 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
6027 [generic bits/errno.h] (common-generated): Do not append to
6029 [generic bits/ioctls.h] (before-compile): Do not append to
6031 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
6033 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
6034 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
6035 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
6037 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
6038 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
6039 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
6040 [generic bits/ioctls.h] (common-generated): Do not append to
6042 [generic sys/syscall.h] (syscall.h): Remove variable.
6043 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
6045 [generic sys/syscall.h] (before-compile): Do not append to
6047 [generic sys/syscall.h] (common-generated): Likewise.
6048 * sysdeps/unix/errnos-tmpl.c: Remove file.
6049 * sysdeps/unix/errnos.awk: Likewise.
6050 * sysdeps/unix/ioctls-tmpl.c: Likewise.
6051 * sysdeps/unix/ioctls.awk: Likewise.
6052 * sysdeps/unix/mk-local_lim.c: Likewise.
6053 * sysdeps/unix/snarf-ioctls: Likewise.
6055 2012-03-19 Richard Henderson <rth@twiddle.net>
6057 * sysdeps/i386/fpu/fenv_private.h: New file.
6058 * sysdeps/i386/fpu/math_private.h: Use it.
6059 (math_opt_barrier, math_force_eval): Remove.
6060 (libc_feholdexcept_setround_53bit): Remove.
6061 (libc_feupdateenv_53bit): Remove.
6062 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6063 (math_opt_barrier, math_force_eval): Remove.
6064 (libc_feholdexcept): Remove.
6065 (libc_feholdexcept_setround): Remove.
6066 (libc_fetestexcept, libc_fesetenv): Remove.
6067 (libc_feupdateenv_test): Remove.
6068 (libc_feupdateenv, libc_feholdsetround): Remove.
6069 (libc_feresetround): Remove.
6071 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
6072 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6074 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
6075 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
6076 (libc_feupdateenv_testl): New.
6077 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
6078 (libc_feupdateenv_testf): New.
6079 (libc_feupdateenv): Use libc_feupdateenv_test.
6080 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
6081 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
6083 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
6084 (libc_feholdsetroundf, libc_feholdsetroundl): New.
6085 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
6086 (libc_feresetround_noex): New.
6087 (libc_feresetround_noexf): New.
6088 (libc_feresetround_noexl): New.
6089 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
6090 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
6091 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
6092 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
6094 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
6095 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
6097 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
6098 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
6099 SET_RESTORE_ROUND_NOEX.
6100 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
6101 SET_RESTORE_ROUND_NOEXF.
6102 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
6103 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
6104 (libc_feholdsetroundf): New.
6105 (libc_feresetround, libc_feresetroundf): New.
6107 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
6108 (libc_feholdexcept_setround_53bit): Convert from macro to function.
6109 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
6111 * sysdeps/generic/math_private.h: Include <fenv.h>.
6112 (default_libc_feholdexcept): New.
6113 (default_libc_feholdexcept_setround): New.
6114 (default_libc_fesetenv, default_libc_feupdateenv): New.
6115 (libc_feholdexcept): Only define if undefined.
6116 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
6117 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
6118 (libc_feholdexcept_setroundl): Likewise.
6119 (libc_feholdexcept_setround_53bit): Likewise.
6120 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
6121 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
6122 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
6123 (libc_feupdateenv_53bit): Likewise.
6124 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
6125 (libc_feholdexcept): Convert from macro to inline function.
6126 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
6127 (libc_fesetenv, libc_feupdateenv): Likewise.
6129 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
6130 not previously defined.
6131 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
6132 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
6133 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
6134 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
6135 * sysdeps/ieee754/flt-32/math_private.h: New file.
6136 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
6137 math_private.h below SET_FLOAT_WORD.
6138 (__isnan, __isinf_ns, __finite): Remove.
6139 (__isnanf, __isinf_nsf, __finitef): Remove.
6141 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
6143 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6145 2012-03-17 David S. Miller <davem@davemloft.net>
6148 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
6151 2012-03-16 David S. Miller <davem@davemloft.net>
6153 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
6157 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
6159 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
6160 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
6161 sysdep_routines when subdir is sysvipc.
6162 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
6165 * sysdeps/sparc/fpu/libm-test/ulps: Update.
6167 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6169 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
6172 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6174 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
6175 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
6176 (__lround): Renamed to ...
6177 (__llround): This. Replace long int with long long int.
6178 Define lround functions as aliases of llround functions.
6179 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
6181 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6183 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
6184 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
6185 adresses to uintptr_t. Replace "long int" and "unsigned long
6186 int" with "greg_t" on va_arg.
6188 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6190 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
6191 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
6193 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
6194 Move e_machine check before EI_CLASS check. Handle x32
6195 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
6196 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
6197 SKIP_EM_IA_64 and include
6198 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
6200 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
6201 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
6202 (add_system_dir): New macro.
6204 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
6205 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
6207 2012-03-16 Joseph Myers <joseph@codesourcery.com>
6218 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
6220 * math/w_j0f.c (j0f): Likewise.
6222 * math/w_j0l.c (__j0l): Likewise.
6224 * math/w_j1.c (j1): Likewise.
6226 * math/w_j1f.c (j1f): Likewise.
6228 * math/w_j1l.c (__j1l): Likewise.
6230 * math/w_jn.c (jn): Likewise.
6232 * math/w_jnf.c (jnf): Likewise.
6234 * math/w_jnl.c (__jnl): Likewise.
6236 * math/libm-test.inc (j0_test): Add more tests.
6237 (j1_test): Likewise.
6238 (jn_test): Likewise. Add trailing semicolon to existing test.
6239 (y0_test): Likewise.
6240 (y1_test): Likewise.
6241 * sysdeps/i386/fpu/libm-test-ulps: Update.
6242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6246 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
6247 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
6248 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
6249 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
6250 (__tanl): Set errno for infinite argument.
6251 * sysdeps/i386/fpu/mptan.c: Remove.
6252 * sysdeps/i386/fpu/s_tan.S: Likewise.
6253 * sysdeps/i386/fpu/s_tanl.S: Likewise.
6254 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
6255 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
6256 * math/libm-test.inc (tan_test): Add more tests and enable more
6257 tests for double and long double.
6258 * sysdeps/i386/fpu/libm-test-ulps: Update.
6259 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6261 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6263 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
6264 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
6266 2012-03-16 Roland McGrath <roland@hack.frob.com>
6268 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
6269 * configure.in: Use it for both main tree and add-ons.
6270 * configure: Regenerated.
6272 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6274 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
6276 2012-03-16 Joseph Myers <joseph@codesourcery.com>
6278 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
6282 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
6283 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
6284 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
6285 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
6286 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
6288 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
6289 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
6291 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
6292 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
6293 * sysdeps/i386/fpu/s_cosl.S: Likewise.
6294 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
6295 * sysdeps/i386/fpu/s_sinl.S: Likewise.
6296 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
6297 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
6298 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
6299 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
6300 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
6301 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
6302 * math/libm-test.inc (cos_test): Add more tests and enable more
6303 tests for long double.
6304 (sin_test): Likewise.
6305 (sincos_test): Likewise.
6306 * sysdeps/i386/fpu/libm-test-ulps: Update.
6307 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6309 2012-03-16 David S. Miller <davem@davemloft.net>
6311 * sysdeps/sparc/fpu/math_private.h: New file.
6313 2012-03-15 David S. Miller <davem@davemloft.net>
6315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
6317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
6318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
6320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
6321 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
6322 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
6323 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
6324 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
6325 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
6327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6329 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
6330 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
6332 * sysdeps/sparc/sparc-ifunc.h: New file.
6333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
6335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
6336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
6338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
6340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
6341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
6342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
6343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
6345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
6347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
6349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
6351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
6353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
6355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
6356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
6357 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
6358 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
6359 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
6360 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
6361 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
6362 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
6363 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
6364 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
6365 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
6366 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
6367 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
6368 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
6369 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
6370 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
6371 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
6372 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
6373 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
6374 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
6375 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
6376 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
6378 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6380 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
6382 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6384 2012-03-15 Andreas Jaeger <aj@suse.de>
6387 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
6388 ieee754/flt-32 implementation for sin, cos and sincos.
6389 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
6390 * sysdeps/i386/fpu/s_cosf.S: Likewise.
6391 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
6392 * sysdeps/i386/fpu/s_sinf.S: Likewise.
6393 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
6394 ieee754/flt-32 implementation for tan.
6396 * math/libm-test.inc (cos_test): Enable some large input tests for
6398 (sin_test): Likewise.
6399 (sincos_test): Likewise.
6400 (tan_test): Add tests for large input.
6402 * sysdeps/i386/fpu/libm-test-ulps: Update.
6404 2012-03-15 Andreas Jaeger <aj@suse.de>
6407 * math/libm-test.inc (cos_test): Add more test cases.
6408 (sin_test): Likewise.
6409 (sincos_test): Likewise.
6411 2012-03-15 Andreas Jaeger <aj@suse.de>
6414 * math/libm-test.inc (cos_test): Add a test case for large input
6416 (sin_test): Likewise.
6417 (sincos_test): Likewise.
6419 2012-03-15 Andreas Jaeger <aj@suse.de>,
6420 Joseph Myers <joseph@codesourcery.com>
6423 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
6424 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
6425 * sysdeps/i386/fpu/branred.c: Likewise.
6426 * sysdeps/i386/fpu/dosincos.c: Likewise.
6427 * sysdeps/i386/fpu/mpa.c: Likewise.
6428 * sysdeps/i386/fpu/s_cos.S: Likewise.
6429 * sysdeps/i386/fpu/s_sin.S: Likewise.
6430 * sysdeps/i386/fpu/s_sincos.S: Likewise.
6431 * sysdeps/i386/fpu/sincos32.c: Likewise.
6433 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
6435 (libc_feupdateenv_53bit): Define.
6436 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
6438 (libc_feupdateenv_53bit): Define.
6440 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
6441 53 bit (without extend i386 double precision).
6443 * math/libm-test.inc (sincos_test): Add tests for large input.
6447 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6449 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6451 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6453 2012-03-15 David S. Miller <davem@davemloft.net>
6455 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
6456 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
6457 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
6458 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
6459 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
6460 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
6461 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
6462 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
6463 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
6464 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
6465 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
6466 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
6467 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
6468 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
6469 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
6470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
6472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
6473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
6475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
6476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
6478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
6479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
6481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
6482 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
6483 fmin/fmax sysdep routines.
6484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6486 2012-03-14 David S. Miller <davem@davemloft.net>
6488 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
6489 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
6490 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
6491 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
6492 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
6493 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
6494 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
6495 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
6496 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
6497 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
6498 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
6499 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
6500 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
6501 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
6502 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
6503 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
6504 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
6505 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
6506 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
6507 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
6508 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
6509 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
6510 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
6511 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
6512 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
6513 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
6514 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
6515 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
6516 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
6518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
6520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
6521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
6523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
6524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
6526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
6527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
6529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
6530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
6532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
6533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
6535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
6537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
6539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
6541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
6543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
6545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
6547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
6548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
6550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
6551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
6553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
6554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
6556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
6557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
6560 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
6563 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6565 * sysdeps/sparc/configure.in: New file.
6566 * sysdeps/sparc/configure: Generate.
6567 * configure.in (libc_cv_sparc_as_vis3): Substitute.
6568 * configure: Regenerate.
6569 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
6570 * config.make.in (have-as-vis3): New.
6571 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
6572 available use -Av9d instead of -Av9a.
6573 * sysdeps/sparc/sparc64/Makefile: Likewise.
6574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
6575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
6577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
6579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
6581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
6583 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
6584 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
6585 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
6586 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
6587 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
6589 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
6590 fzeros/fnegs to load 0x80000000 into a float register instead of
6592 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
6594 2012-03-14 Joseph Myers <joseph@codesourcery.com>
6596 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6598 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
6599 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
6600 ($(inst_includedir)/bits/syscall.h): Remove rule.
6601 ($(objpfx)bits/syscall.d): Include instead of
6602 $(objpfx)syscall-list.d.
6603 (generated): Change syscall-list.h and syscall-list.d to
6604 bits/syscall.h and bits/syscall.d.
6606 2012-03-14 Roland McGrath <roland@hack.frob.com>
6609 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
6611 2012-03-14 Joseph Myers <joseph@codesourcery.com>
6614 * math/s_csqrt.c: Include <float.h>.
6615 (__csqrt): Scale large or subnormal inputs.
6616 * math/s_csqrtf.c: Likewise.
6617 * math/s_csqrtl.c: Likewise.
6618 * math/libm-test.inc (csqrt_test): Add more tests.
6619 * sysdeps/i386/fpu/libm-test-ulps: Update.
6620 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6623 * math/libm-test.inc (hypot_test): Add more tests.
6625 2012-03-13 David S. Miller <davem@davemloft.net>
6628 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
6629 double-precision for the calculation instead of scaling.
6631 2012-03-13 Joseph Myers <joseph@codesourcery.com>
6633 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
6634 manipulate bits before adding and subtracting TWO52[sx].
6635 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
6636 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
6638 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
6640 2012-03-13 David S. Miller <davem@davemloft.net>
6642 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
6643 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
6644 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
6645 rtld-global-offsets.h
6646 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6648 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
6651 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
6653 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
6654 'err' in the ifdef scope in which it is actually used.
6656 * nss/nss_db/db-init.c: Include string.h
6658 2012-03-12 David S. Miller <davem@davemloft.net>
6660 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
6661 masking out of the most significant byte of random value used.
6662 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6663 Fix coding style in previous change.
6665 * sysdeps/unix/sysv/linux/kernel-features.h
6666 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
6667 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
6669 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
6672 2012-03-11 David S. Miller <davem@davemloft.net>
6674 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6675 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
6676 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
6677 for 'resultvar' otherwise things get truncated on 64-bit.
6679 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6680 Fix masking out of the most significant byte of random value used.
6682 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6684 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
6686 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6688 2012-03-09 David S. Miller <davem@davemloft.net>
6690 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
6691 variables with appropriate CPP guards.
6692 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
6693 frame pointer, not the stack pointer. Correct layout comments. Fix test
6694 on resulting framesize and the management of the outregs buffer for pltexit.
6695 Preserve floating point return values across _dl_call_pltexit call.
6696 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
6697 framesize and the management of the outregs buffer for pltexit.
6698 Preserve floating point return values across _dl_call_pltexit
6700 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
6701 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
6702 (print_exit): Fix format string for return register value.
6704 2012-03-10 Joseph Myers <joseph@codesourcery.com>
6706 * sunrpc/Makefile (others): Add rpcgen.
6707 ($(objpfx)rpcgen): Remove special build rule and dependency on
6709 * sunrpc/rpcgen.c: New file.
6711 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
6714 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
6715 * stdio-common/bug-vfprintf-nargs.c: Likewise.
6716 * sysdeps/i386/crti.S: Likewise.
6717 * sysdeps/i386/crtn.S: Likewise.
6718 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
6719 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
6720 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
6721 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
6722 * sysdeps/sh/crti.S: Likewise.
6723 * sysdeps/sh/crtn.S: Likewise.
6724 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
6727 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
6729 * locale/programs/locfile-kw.gperf: Likewise.
6730 * locale/programs/charmap-kw.h: Regenerated.
6731 * locale/programs/locfile-kw.h: Likewise.
6734 * intl/plural.y: Replace FSF snail mail address with URL.
6735 * intl/plural.c: Regenerated.
6737 2012-03-09 Richard Henderson <rth@twiddle.net>
6739 * include/math_private.h: Remove file.
6740 * math/math_private.h: Move file ...
6741 * sysdeps/generic/math_private.h: ... here.
6743 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
6744 * sysdeps/powerpc/fpu/math_private.h: Likewise.
6745 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6747 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
6748 and <math_private.h>.
6749 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6750 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6751 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6752 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6753 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6754 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
6755 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6756 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6757 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6758 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6759 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6760 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6761 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6762 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6763 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6764 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6765 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6766 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6767 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6768 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6769 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6770 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6771 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6772 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6773 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
6774 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6775 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6776 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6777 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6778 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6779 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6780 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6781 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
6782 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6783 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6784 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6785 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6786 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6787 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6788 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6789 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
6790 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6791 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6792 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
6793 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
6794 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6795 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
6796 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6797 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6798 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6799 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6800 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
6801 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
6802 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6803 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
6804 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6805 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6806 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
6807 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
6808 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
6809 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6810 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
6811 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6812 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6813 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
6814 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6815 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6816 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6817 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
6818 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
6819 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
6820 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6821 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6822 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6823 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
6824 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
6825 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
6826 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6827 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
6828 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
6829 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
6830 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
6831 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
6832 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6833 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6834 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
6835 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
6836 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
6837 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6838 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6839 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6840 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6841 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6842 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6843 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6844 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6845 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6846 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6847 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6848 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6849 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6850 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6851 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6852 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6853 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6854 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6855 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6856 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6857 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6858 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6859 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6860 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6861 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6862 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6863 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
6864 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6865 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6866 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6867 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6868 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
6869 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6870 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6871 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6872 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
6873 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6874 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6875 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6876 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
6877 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6878 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
6879 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
6880 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
6881 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6882 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
6883 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
6884 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6885 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6886 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6887 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
6888 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6889 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6890 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6891 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6892 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
6893 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
6894 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6895 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6896 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6897 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
6898 * sysdeps/ieee754/k_standard.c: Likewise.
6899 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6900 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6901 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6902 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6903 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6904 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6905 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6906 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6907 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6908 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6909 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6910 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6911 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6912 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6913 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6914 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6915 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6916 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6917 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6918 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
6919 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
6920 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
6921 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6922 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6923 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6924 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
6925 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6926 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6927 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6928 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6929 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6930 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6931 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6932 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6933 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6934 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6935 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6936 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
6937 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
6938 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6939 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6940 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6941 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6942 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6943 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6944 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6945 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6946 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6947 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6948 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6949 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6950 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6951 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6952 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
6953 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6954 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6955 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
6956 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
6957 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6958 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6959 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6960 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6961 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6962 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6963 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6964 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6965 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6966 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6967 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6968 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6969 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6970 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6971 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6972 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6973 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6974 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6975 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
6976 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6977 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6978 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
6979 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
6980 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
6981 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6982 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6983 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
6984 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6985 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6986 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
6987 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6988 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6989 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
6990 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6991 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
6992 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
6993 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6994 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6995 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
6996 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
6997 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
6998 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
6999 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
7000 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7001 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7002 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
7003 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
7004 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7005 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7006 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
7007 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
7008 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
7009 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
7010 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
7011 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
7012 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7013 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
7014 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7015 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
7016 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7017 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7018 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
7019 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7020 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
7021 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7022 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
7023 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7024 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
7025 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7026 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7027 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
7028 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7029 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7030 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7031 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7032 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7033 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
7034 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
7035 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
7036 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7037 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7038 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
7039 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
7040 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7041 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
7042 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
7043 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
7044 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7045 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7046 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
7047 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
7048 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
7049 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7050 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7051 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7052 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7053 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
7054 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
7055 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
7056 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
7057 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
7058 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7059 * sysdeps/ieee754/s_lib_version.c: Likewise.
7060 * sysdeps/ieee754/s_matherr.c: Likewise.
7061 * sysdeps/ieee754/s_signgam.c: Likewise.
7062 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7063 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7064 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
7065 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
7066 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
7067 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7068 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
7069 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
7070 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
7071 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
7072 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7073 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
7074 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
7075 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7076 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
7077 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
7078 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7079 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
7080 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7081 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7082 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7084 2012-03-09 Joseph Myers <joseph@codesourcery.com>
7086 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
7087 * sunrpc/rpc_main.c: Likewise.
7088 * sunrpc/rpc_svcout.c: Likewise.
7090 2012-03-09 David S. Miller <davem@davemloft.net>
7092 * include/math_private.h: New file.
7094 2012-03-09 Joseph Myers <joseph@codesourcery.com>
7096 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
7097 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
7098 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
7099 from <bits/socket_type.h>.
7100 (enum __socket_type): Don't define here.
7101 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
7102 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7106 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
7109 * Makerules ($(inst_includedir)/%.h): New rule.
7110 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
7111 (install-others): Remove variable setting.
7112 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
7114 2012-03-08 Richard Henderson <rth@twiddle.net>
7116 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
7117 from macro to inline function; merge with the
7118 !__LIBC_INTERNAL_MATH_INLINES version.
7119 (__ieee754_sqrtf): Likewise.
7121 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
7123 (__rintf, __floor, __floorf): Likewise.
7125 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
7126 macro to inline function.
7127 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
7129 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
7130 not <math/math_private.h>.
7132 2012-03-08 David S. Miller <davem@davemloft.net>
7134 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
7136 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
7138 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
7140 * resolv/gai_misc.c (handle_requests): Fix struct timespec
7142 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
7143 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
7145 2012-03-08 Ulrich Drepper <drepper@gmail.com>
7147 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
7148 be defined individually, they must be defined as a block. Define
7149 S for printing a string instead of hidint the different by using a
7150 macro for adding the 'l'.
7151 * stdio-common/tst-fphex-wide.c: Adjust.
7153 2012-03-07 Marek Polacek <polacek@redhat.com>
7155 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
7157 2012-03-08 Marek Polacek <polacek@redhat.com>
7160 * stdio-common/Makefile (tests): Add tst-fphex-wide.
7161 * stdio-common/tst-fphex.c: Define a few macros to make the
7162 test reusable. Use them.
7163 * stdio-common/tst-fphex-wide.c: New file.
7165 2012-03-08 Joseph Myers <joseph@codesourcery.com>
7168 * manual/macros.texi (gnusystems): New macro.
7169 (nongnusystems): Likewise.
7170 (gnulinuxhurdsystems): Likewise.
7171 (gnuhurdsystems): Likewise..
7172 (gnulinuxsystems): Likewise.
7173 * manual/charset.texi: Use new macros or @theglibc{} to refer to
7174 variants of the GNU system, not "GNU system".
7175 * manual/conf.texi: Likewise.
7176 * manual/errno.texi: Likewise. Update example of errno macro
7178 * manual/filesys.texi: Likewise.
7179 (getumask): Document as specific to GNU/Hurd.
7180 * manual/install.texi: Likewise. Reword some references to
7182 * manual/intro.texi: Likewise.
7183 * manual/io.texi: Likewise.
7184 (File Name Portability): Detail which constraints are inapplicable
7185 to all GNU systems and which are only inapplicable to GNU/Hurd.
7186 * manual/job.texi: Likewise.
7187 * manual/llio.texi: Likewise.
7188 (O_NOCTTY): Document as present on GNU/Linux.
7189 * manual/maint.texi: Likewise.
7190 * manual/memory.texi: Likewise.
7191 * manual/pattern.texi: Likewise.
7192 * manual/pipe.texi: Likewise.
7193 * manual/process.texi: Likewise.
7194 * manual/resource.texi: Likewise.
7195 (RUSAGE_CHILDREN): Remove statement about specifying a particular
7197 * manual/setjmp.texi: Likewise.
7198 * manual/signal.texi: Likewise.
7199 * manual/startup.texi: Likewise.
7200 * manual/stdio.texi: Likewise.
7201 * manual/terminal.texi: Likewise.
7202 (ONLCR): Document as POSIX.
7203 (OXTABS): Document availability on GNU/Linux as XTABS.
7204 (ONOEOT): Document availability separately from other bits.
7205 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
7206 * manual/time.texi: Likewise.
7207 * manual/users.texi: Likewise.
7208 * INSTALL: Regenerated.
7209 * sysdeps/gnu/errlist.c: Regenerated.
7211 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
7212 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
7213 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
7215 * configure: Regenerated.
7217 2012-03-07 Joseph Myers <joseph@codesourcery.com>
7219 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
7220 default includes instead of AC_HEADER_CHECK.
7221 * sysdeps/i386/configure: Regenerated.
7224 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
7225 * math/s_cacoshf.c (__cacoshf): Likewise.
7226 * math/s_cacoshl.c (__cacoshl): Likewise.
7227 * math/s_casinh.c (__casinh): Set signs of result from argument.
7228 * math/s_casinhf.c (__casinhf): Likewise.
7229 * math/s_casinhl.c (__casinhl): Likewise.
7230 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
7231 (casinh_test): Add more tests.
7232 * sysdeps/i386/fpu/libm-test-ulps: Update.
7233 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7235 2012-03-07 Ulrich Drepper <drepper@gmail.com>
7237 * po/zh_TW.po: Update from translation team.
7239 * login/Makefile (distribute): Remove variable.
7240 * catgets/Makefile: Likewise.
7241 * mach/Makefile: Likewise.
7242 * malloc/Makefile: Likewise.
7243 * misc/Makefile: Likewise.
7244 * iconv/Makefile: Likewise.
7245 * nscd/Makefile: Likewise.
7246 * hurd/Makefile: Likewise.
7247 * manual/Makefile: Likewise.
7248 * locale/Makefile: Likewise.
7249 * intl/Makefile: Likewise.
7250 * conform/Makefile: Likewise.
7251 * nss/Makefile: Likewise.
7252 * time/Makefile: Likewise.
7253 * soft-fp/Makefile: Likewise.
7254 * dirent/Makefile: Likewise.
7255 * gmon/Makefile: Likewise.
7256 * po/Makefile: Likewise.
7257 * rt/Makefile: Likewise.
7258 * socket/Makefile: Likewise.
7259 * math/Makefile: Likewise.
7260 * signal/Makefile: Likewise.
7261 * debug/Makefile: Likewise.
7262 * elf/Makefile: Likewise.
7263 * timezone/Makefile: Likewise.
7264 * stdlib/Makefile: Likewise.
7265 * iconvdata/Makefile: Likewise.
7266 * sunrpc/Makefile: Likewise.
7267 * io/Makefile: Likewise.
7268 * argp/Makefile: Likewise.
7269 * inet/Makefile: Likewise.
7270 * hesiod/Makefile: Likewise.
7271 * grp/Makefile: Likewise.
7272 * csu/Makefile: Likewise.
7273 * wctype/Makefile: Likewise.
7274 * crypt/Makefile: Likewise.
7275 * libio/Makefile: Likewise.
7276 * string/Makefile: Likewise.
7277 * nis/Makefile: Likewise.
7278 * resolv/Makefile: Likewise.
7279 * stdio-common/Makefile: Likewise.
7280 * wcsmbs/Makefile: Likewise.
7281 * dlfcn/Makefile: Likewise.
7282 * posix/Makefile: Likewise.
7285 * timezone/Makefile: Don't install timezone files, just the programs
7288 2012-03-06 Ulrich Drepper <drepper@gmail.com>
7290 * nss/databases.def: Add missing gshadow entry.
7292 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
7294 2012-03-06 Marek Polacek <polacek@redhat.com>
7297 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
7298 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
7299 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
7300 * stdio-common/tst-long-dbl-fphex.c: New file.
7302 2012-03-06 David S. Miller <davem@davemloft.net>
7304 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7305 (set_obp_int): New function.
7306 (get_obp_int): New function.
7307 (__get_clockfreq_via_dev_openprom): Likewise.
7308 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
7309 Avoid unused variable warnings on 'val' and use builtin_expect.
7310 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
7312 (INLINE_CLONE_SYSCALL): Likewise.
7314 2012-03-05 David S. Miller <davem@davemloft.net>
7316 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7318 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
7320 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7322 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
7324 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7326 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
7328 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
7329 Replace gettimeofday with __vdso_gettimeofday.
7331 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7332 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
7333 __vdso_clock_gettime and __vdso_getcpu.
7335 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
7336 time with __vdso_time.
7338 2012-03-05 Joseph Myers <joseph@codesourcery.com>
7340 * manual/lang.texi (size_t): Note types to which size_t may be
7341 equivalent with the GNU C Library, but do not describe when
7342 differences between them are significant.
7344 2012-03-05 Andreas Jaeger <aj@suse.de>
7346 * sysdeps/i386/fpu/libm-test-ulps: Update.
7348 2012-03-05 Joseph Myers <joseph@codesourcery.com>
7351 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
7352 (__ieee754_pow): Save and restore rounding mode and use
7353 round-to-nearest for main computations.
7354 * math/libm-test.inc (pow_test_tonearest): New function.
7355 (pow_test_towardzero): Likewise.
7356 (pow_test_downward): Likewise.
7357 (pow_test_upward): Likewise.
7358 (main): Call the new functions.
7359 * sysdeps/i386/fpu/libm-test-ulps: Update.
7360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7363 * math/libm-test.inc (cosh_test_tonearest): New function.
7364 (cosh_test_towardzero): Likewise.
7365 (cosh_test_downward): Likewise.
7366 (cosh_test_upward): Likewise.
7367 (sinh_test_tonearest): Likewise.
7368 (sinh_test_towardzero): Likewise.
7369 (sinh_test_downward): Likewise.
7370 (sinh_test_upward): Likewise.
7371 (main): Call the new functions.
7372 * sysdeps/i386/fpu/libm-test-ulps: Update.
7373 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7375 2012-03-05 Tom de Vries <tom@codesourcery.com>
7377 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
7378 default stack guard is set in last bytes.
7379 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
7381 2012-03-05 Kees Cook <keescook@chromium.org>
7383 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
7386 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
7387 possibly allocate from heap instead of stack.
7388 * stdio-common/bug-vfprintf-nargs.c: New file.
7389 * stdio-common/Makefile (tests): Add nargs overflow test.
7391 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
7393 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7395 2012-03-03 Marek Polacek <polacek@redhat.com>
7397 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
7398 * math/math_private.h: Likewise.
7399 * stdlib/tst-strtod.c: Likewise.
7400 * sysdeps/i386/i486/bits/atomic.h: Likewise.
7401 * sysdeps/x86_64/bits/atomic.h: Likewise.
7403 2012-03-02 David S. Miller <davem@davemloft.net>
7405 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
7406 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
7407 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
7408 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
7409 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
7410 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
7411 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
7412 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
7414 2012-03-02 Roland McGrath <roland@hack.frob.com>
7417 * manual/examples/README: New file, says the example source files
7418 can be used under GPL>=2.
7419 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
7420 line containing just "*/".
7421 * manual/examples/add.c: Add copyright header (GPL>=2).
7422 * manual/examples/argp-ex1.c: Likewise.
7423 * manual/examples/argp-ex2.c: Likewise.
7424 * manual/examples/argp-ex3.c: Likewise.
7425 * manual/examples/argp-ex4.c: Likewise.
7426 * manual/examples/atexit.c: Likewise.
7427 * manual/examples/db.c: Likewise.
7428 * manual/examples/dir.c: Likewise.
7429 * manual/examples/dir2.c: Likewise.
7430 * manual/examples/execinfo.c: Likewise.
7431 * manual/examples/filecli.c: Likewise.
7432 * manual/examples/filesrv.c: Likewise.
7433 * manual/examples/fmtmsgexpl.c: Likewise.
7434 * manual/examples/genpass.c: Likewise.
7435 * manual/examples/inetcli.c: Likewise.
7436 * manual/examples/inetsrv.c: Likewise.
7437 * manual/examples/isockad.c: Likewise.
7438 * manual/examples/longopt.c: Likewise.
7439 * manual/examples/memopen.c: Likewise.
7440 * manual/examples/memstrm.c: Likewise.
7441 * manual/examples/mkfsock.c: Likewise.
7442 * manual/examples/mkisock.c: Likewise.
7443 * manual/examples/mygetpass.c: Likewise.
7444 * manual/examples/pipe.c: Likewise.
7445 * manual/examples/popen.c: Likewise.
7446 * manual/examples/rprintf.c: Likewise.
7447 * manual/examples/search.c: Likewise.
7448 * manual/examples/select.c: Likewise.
7449 * manual/examples/setjmp.c: Likewise.
7450 * manual/examples/sigh1.c: Likewise.
7451 * manual/examples/sigusr.c: Likewise.
7452 * manual/examples/stpcpy.c: Likewise.
7453 * manual/examples/strdupa.c: Likewise.
7454 * manual/examples/strftim.c: Likewise.
7455 * manual/examples/strncat.c: Likewise.
7456 * manual/examples/subopt.c: Likewise.
7457 * manual/examples/swapcontext.c: Likewise.
7458 * manual/examples/termios.c: Likewise.
7459 * manual/examples/testopt.c: Likewise.
7460 * manual/examples/testpass.c: Likewise.
7461 * manual/examples/timeval_subtract.c: Likewise.
7464 * manual/time.texi (Elapsed Time): Move timeval_subtract example
7466 * manual/timeval_subtract.c.texi: ... here, new file.
7468 2012-03-02 David S. Miller <davem@davemloft.net>
7470 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
7472 2012-03-02 Joseph Myers <joseph@codesourcery.com>
7475 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
7476 (__sin): Save and restore rounding mode and use round-to-nearest
7477 for all computations.
7478 (__cos): Save and restore rounding mode and use round-to-nearest
7479 for all computations.
7480 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
7482 (tan): Save and restore rounding mode and use round-to-nearest for
7484 * math/libm-test.inc (cos_test_tonearest): New function.
7485 (cos_test_towardzero): Likewise.
7486 (cos_test_downward): Likewise.
7487 (cos_test_upward): Likewise.
7488 (sin_test_tonearest): Likewise.
7489 (sin_test_towardzero): Likewise.
7490 (sin_test_downward): Likewise.
7491 (sin_test_upward): Likewise.
7492 (tan_test_tonearest): Likewise.
7493 (tan_test_towardzero): Likewise.
7494 (tan_test_downward): Likewise.
7495 (tan_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.
7501 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
7502 small n, then large n, before computing and testing k+n.
7503 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7504 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
7506 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
7508 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
7509 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
7510 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
7511 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
7512 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
7513 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
7514 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
7515 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
7516 * math/libm-test.inc (scalbn_test): Add more tests.
7517 (scalbln_test): Likewise.
7519 * manual/filesys.texi (mode_t): Describe constraints on size and
7520 signedness, not exact equivalence to a particular type.
7522 (ino64_t): Likewise.
7524 (nlink_t): Likewise.
7525 (blkcnt_t): Likewise.
7526 (blkcnt64_t): Likewise.
7527 * manual/llio.texi (off_t): Likewise.
7530 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
7531 (__ieee754_exp): Save and restore rounding mode and use
7532 round-to-nearest for all computations.
7533 * math/libm-test.inc (exp_test_tonearest): New function.
7534 (exp_test_towardzero): Likewise.
7535 (exp_test_downward): Likewise.
7536 (exp_test_upward): Likewise.
7537 (main): Call the new functions.
7538 * sysdeps/i386/fpu/libm-test-ulps: Update.
7539 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7541 2012-03-01 Chris Demetriou <cgd@google.com>
7543 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
7544 have predictable order.
7546 2012-03-01 David S. Miller <davem@davemloft.net>
7548 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
7550 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
7551 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
7552 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
7553 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
7555 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
7556 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
7557 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
7558 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
7559 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
7560 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
7561 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
7562 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
7563 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
7565 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7567 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
7568 * sysdeps/sparc/fpu/libm-test-ulps: to here.
7569 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
7571 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
7572 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7573 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
7574 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
7575 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
7576 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
7577 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
7578 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7579 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
7580 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
7581 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
7582 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7583 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7584 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
7585 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7586 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7587 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
7588 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
7589 * sysdeps/sparc/elf/configure: Regenerated.
7591 2012-03-01 Joseph Myers <joseph@codesourcery.com>
7593 * configure.in (AS, LD): Require binutils 2.20 or later.
7594 * configure: Regenerated.
7595 * manual/install.texi (Tools for Compilation): Give binutils 2.20
7596 as required minimum version.
7597 * INSTALL: Regenerated.
7601 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
7602 before squaring exponent.
7603 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
7604 bottom long double and 27 bits of top long double before squaring
7606 * math/libm-test.inc (erfc_test): Add more tests.
7607 * sysdeps/i386/fpu/libm-test-ulps: Update.
7608 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7609 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7611 2012-03-01 Kai Tietz <ktietz@redhat.com>
7613 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
7614 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
7615 containing bit-fields.
7616 * soft-fp/extended.h (_FP_UNION_E): Likewise.
7617 * soft-fp/single.h (_FP_UNION_S): Likewise.
7618 * soft-fp/double.h (_FP_UNION_D): Likewise.
7620 2012-02-29 Joseph Myers <joseph@codesourcery.com>
7623 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
7624 not include ../strcmp.S.
7625 [USE_AS_STRNCASECMP_L]: Likewise.
7626 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
7627 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
7628 * sysdeps/i386/i686/multiarch/strncase_l-c.c
7629 (__strncasecmp_l_ia32): Define as alias to
7630 __strncasecmp_l_nonascii.
7633 * math/libm-test.inc (expm1_test): Add test for bug 5794.
7634 * sysdeps/i386/fpu/libm-test-ulps: Update.
7635 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7637 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
7638 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7640 2012-02-29 Jeff Law <law@redhat.com>
7642 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
7645 2012-02-29 Marek Polacek <polacek@redhat.com>
7648 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
7649 * elf/Makefile: Add rules to run tst-unused-dep.out.
7651 2012-02-28 David S. Miller <davem@davemloft.net>
7653 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
7654 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
7655 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
7656 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
7657 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
7658 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
7660 2012-02-29 Joseph Myers <joseph@codesourcery.com>
7662 * math/libm-test.inc (llround_test): Move one test from
7663 lround_test. Use TEST_f_L in moved test.
7664 (lround_test): Move misplaced test to llround_test. Add testcase
7667 2012-02-28 Ulrich Drepper <drepper@gmail.com>
7669 * sysdeps/x86_64/fpu/e_expf.S: New file.
7670 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
7672 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
7675 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
7676 of remain_len that may cause incomplete multi-byte character and
7678 * posix/bug-regex33.c: New file.
7679 * posix/Makefile (tests): Add bug-regex33.
7681 2012-02-28 Joseph Myers <joseph@codesourcery.com>
7683 * manual/macros.texi: New file.
7684 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
7685 * manual/libc.texinfo: Include macros.texi.
7686 * manual/creatute.texi: Likewise.
7687 * manual/install.texi: Likewise.
7688 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
7689 @glibcadj{} in references to the GNU C Library.
7690 * manual/charset.texi: Likewise.
7691 * manual/conf.texi: Likewise.
7692 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
7693 when not using those macros.
7694 * manual/creature.texi: Likewise.
7695 * manual/crypt.texi: Likewise.
7696 * manual/errno.texi: Likewise.
7697 * manual/filesys.texi: Likewise.
7698 * manual/header.texi: Likewise.
7699 * manual/install.texi: Likewise.
7700 * manual/intro.texi: Likewise.
7701 * manual/io.texi: Likewise.
7702 * manual/job.texi: Likewise.
7703 * manual/lang.texi: Likewise.
7704 * manual/libc.texiinfo: Likewise.
7705 * manual/llio.texi: Likewise.
7706 * manual/locale.texi: Likewise.
7707 * manual/maint.texi: Likewise.
7708 * manual/math.texi: Likewise.
7709 * manual/memory.texi: Likewise.
7710 * manual/message.texi: Likewise.
7711 * manual/nss.texi: Likewise.
7712 * manual/pattern.texi: Likewise.
7713 * manual/process.texi: Likewise.
7714 * manual/resource.texi: Likewise.
7715 * manual/search.texi: Likewise.
7716 * manual/setjmp.texi: Likewise.
7717 * manual/signal.texi: Likewise.
7718 * manual/socket.texi: Likewise.
7719 * manual/startup.texi: Likewise.
7720 * manual/stdio.texi: Likewise.
7721 * manual/string.texi: Likewise.
7722 * manual/sysinfo.texi: Likewise.
7723 * manual/syslog.texi: Likewise.
7724 * manual/terminal.texi: Likewise.
7725 * manual/time.texi: Likewise.
7726 * manual/users.texi: Likewise.
7727 * INSTALL: Regenerated.
7728 * NOTES: Regenerated.
7729 * sysdeps/gnu/errlist.c: Regenerated.
7731 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
7733 * include/dirent.h: Include <dirstream.h> before
7736 2012-02-28 David S. Miller <davem@davemloft.net>
7738 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
7739 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
7740 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
7741 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
7743 2012-02-27 David S. Miller <davem@davemloft.net>
7745 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
7746 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
7747 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
7748 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
7750 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
7751 frame pointer instead of stack pointer relative arg slot.
7752 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7753 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7754 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7756 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
7759 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
7761 2012-02-27 David S. Miller <davem@davemloft.net>
7763 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
7764 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7765 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7766 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
7767 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7768 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7769 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
7770 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
7772 2012-02-27 Joseph Myers <joseph@codesourcery.com>
7774 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
7775 later. Allow versions 5-9.
7776 * configure: Regenerated.
7777 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
7778 required minimum version and 4.6 as recommended version. Do not
7779 mention bugs in GCC 2.7 and 2.8.
7780 * INSTALL: Regenerated.
7782 2012-02-27 David S. Miller <davem@davemloft.net>
7784 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
7785 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
7786 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
7787 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
7788 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
7789 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
7790 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
7791 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
7793 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
7794 manipulate bits before adding and subtracting TWO112[sx].
7795 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
7797 2012-02-27 Roland McGrath <roland@hack.frob.com>
7800 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
7801 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
7802 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
7803 being in POSIX, because they are in 1003.1-2008.
7805 * rt/tst-aio.c: Include <fcntl.h>.
7806 * rt/tst-aio7.c: Likewise.
7807 * rt/tst-aio64.c: Likewise.
7809 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
7811 2012-02-27 Joseph Myers <joseph@codesourcery.com>
7813 * manual/install.texi (--with-headers): Describe headers as
7814 interface headers, not private headers.
7815 (Specific advice for GNU/Linux systems): Describe use of headers
7816 from "make headers_install", not private headers from older
7818 * INSTALL: Regenerated.
7819 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
7821 * sysdeps/unix/sysv/linux/configure: Regenerated.
7823 * manual/llio.texi (fclean): Remove documentation.
7825 * manual/Makefile (libc-texi-generated): New variable. Include
7827 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
7828 $(libc-texi-generated), not duplicated list of files.
7829 (version.texi, stamp-version): New rules.
7830 (realclean): Remove $(libc-texi-generated), not individual files
7831 from that list. Do not remove dir-add.texinfo.
7832 * manual/libc.texinfo: Comment out uses of edition numbers and
7833 references to printed manual. Remove last-updated dates.
7834 (EDITION): Comment out.
7836 (VERSION, UPDATED): Remove.
7837 (version.texi): Include.
7839 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
7841 * sysdeps/posix/spawni.c: Include <signal.h>.
7842 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
7843 * sysdeps/pthread/aio_fsync.c: Likewise.
7845 2012-02-26 Ulrich Drepper <drepper@gmail.com>
7847 * conform/Makefile (tests): Run only when not cross-compiling and
7848 when fast-check is not defined.
7850 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
7851 * conform/data/limits.h-data: Fixes for POSIX2008.
7852 * conform/run-conformtest.sh: Run all tests.
7853 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
7855 * include/bits/dlfcn.h: Likewise.
7856 * include/langinfo.h: Likewise.
7857 * include/monetary.h: Likewise.
7858 * include/sys/poll.h: Likewise.
7860 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
7862 * posix/spawn.h: Define __need_sigset_t.
7863 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
7864 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
7865 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
7866 to get sigevent_t only.
7867 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
7869 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7870 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7871 process_vm_writev only for __USE_GNU.
7872 * termios/termios.h: Declare tcgetsid also for POSIX2008.
7874 * conform/Makefile: For now ignore errors from run-conformtest.
7875 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
7876 POSIX to avoid namespace pollution. Don't prepend headers.
7877 * conform/data/aio.h-data: Fixes for POSIX testing.
7878 * conform/data/fcntl.h-data: Likewise.
7879 * conform/data/glob.h-data: Likewise.
7880 * conform/data/grp.h-data: Likewise.
7881 * conform/data/pthread.h-data: Likewise.
7882 * conform/data/pwd.h-data: Likewise.
7883 * conform/data/signal.h-data: Likewise.
7884 * conform/data/spawn.h-data: Likewise.
7885 * conform/data/stdio.h-data: Likewise.
7886 * conform/data/stdlib.h-data: Likewise.
7887 * conform/data/stropts.h-data: Likewise.
7888 * conform/data/sys/mman.h-data: Likewise.
7889 * conform/data/sys/stat.h-data: Likewise.
7890 * conform/data/sys/types.h-data: Likewise.
7891 * conform/data/sys/wait.h-data: Likewise.
7892 * conform/data/time.h-data: Likewise.
7893 * conform/data/unistd.h-data: Likewise.
7894 * conform/data/utime.h-data: Likewise.
7896 * io/sys/stat.h: fchmod was always in POSIX.
7897 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
7898 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
7899 * rt/aio.h: Define __need_timespec before including <time.h>.
7900 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
7901 struct. Add forward declaration of pthread_attr_t and use it in
7903 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
7904 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7905 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
7906 always remove CLK_TCK definition.
7908 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
7910 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
7912 2012-02-25 Ulrich Drepper <drepper@gmail.com>
7914 * conform/run-conformtest.sh: New file.
7915 * conform/Makefile: Run run-conformtest for tests.
7916 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
7919 * conform/data/uchar.h-data: New file.
7920 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
7921 * conform/data/arpa/inet.h-data: Likewise.
7922 * conform/data/assert.h-data: Likewise.
7923 * conform/data/complex.h-data: Likewise.
7924 * conform/data/cpio.h-data: Likewise.
7925 * conform/data/ctype.h-data: Likewise.
7926 * conform/data/dirent.h-data: Likewise.
7927 * conform/data/dlfcn.h-data: Likewise.
7928 * conform/data/errno.h-data: Likewise.
7929 * conform/data/fcntl.h-data: Likewise.
7930 * conform/data/float.h-data: Likewise.
7931 * conform/data/fmtmsg.h-data: Likewise.
7932 * conform/data/fnmatch.h-data: Likewise.
7933 * conform/data/ftw.h-data: Likewise.
7934 * conform/data/glob.h-data: Likewise.
7935 * conform/data/grp.h-data: Likewise.
7936 * conform/data/iconv.h-data: Likewise.
7937 * conform/data/inttypes.h-data: Likewise.
7938 * conform/data/langinfo.h-data: Likewise.
7939 * conform/data/libgen.h-data: Likewise.
7940 * conform/data/limits.h-data: Likewise.
7941 * conform/data/locale.h-data: Likewise.
7942 * conform/data/math.h-data: Likewise.
7943 * conform/data/monetary.h-data: Likewise.
7944 * conform/data/mqueue.h-data: Likewise.
7945 * conform/data/ndbm.h-data: Likewise.
7946 * conform/data/net/if.h-data: Likewise.
7947 * conform/data/netdb.h-data: Likewise.
7948 * conform/data/netinet/in.h-data: Likewise.
7949 * conform/data/nl_types.h-data: Likewise.
7950 * conform/data/poll.h-data: Likewise.
7951 * conform/data/pthread.h-data: Likewise.
7952 * conform/data/pwd.h-data: Likewise.
7953 * conform/data/regex.h-data: Likewise.
7954 * conform/data/sched.h-data: Likewise.
7955 * conform/data/search.h-data: Likewise.
7956 * conform/data/semaphore.h-data: Likewise.
7957 * conform/data/setjmp.h-data: Likewise.
7958 * conform/data/signal.h-data: Likewise.
7959 * conform/data/spawn.h-data: Likewise.
7960 * conform/data/stdarg.h-data: Likewise.
7961 * conform/data/stdio.h-data: Likewise.
7962 * conform/data/stdlib.h-data: Likewise.
7963 * conform/data/string.h-data: Likewise.
7964 * conform/data/strings.h-data: Likewise.
7965 * conform/data/stropts.h-data: Likewise.
7966 * conform/data/sys/ipc.h-data: Likewise.
7967 * conform/data/sys/mman.h-data: Likewise.
7968 * conform/data/sys/msg.h-data: Likewise.
7969 * conform/data/sys/resource.h-data: Likewise.
7970 * conform/data/sys/select.h-data: Likewise.
7971 * conform/data/sys/sem.h-data: Likewise.
7972 * conform/data/sys/shm.h-data: Likewise.
7973 * conform/data/sys/socket.h-data: Likewise.
7974 * conform/data/sys/stat.h-data: Likewise.
7975 * conform/data/sys/statvfs.h-data: Likewise.
7976 * conform/data/sys/time.h-data: Likewise.
7977 * conform/data/sys/timeb.h-data: Likewise.
7978 * conform/data/sys/times.h-data: Likewise.
7979 * conform/data/sys/types.h-data: Likewise.
7980 * conform/data/sys/uio.h-data: Likewise.
7981 * conform/data/sys/un.h-data: Likewise.
7982 * conform/data/sys/utsname.h-data: Likewise.
7983 * conform/data/sys/wait.h-data: Likewise.
7984 * conform/data/syslog.h-data: Likewise.
7985 * conform/data/tar.h-data: Likewise.
7986 * conform/data/termios.h-data: Likewise.
7987 * conform/data/utime.h-data: Likewise.
7988 * conform/data/utmpx.h-data: Likewise.
7989 * conform/data/varargs.h-data: Likewise.
7990 * conform/data/wchar.h-data: Likewise.
7991 * conform/data/wctype.h-data: Likewise.
7992 * conform/data/wordexp.h-data: Likewise.
7994 * include/stropts.h: New file.
7995 * include/uchar.h: New file.
7996 * include/aio.h: Changes to allow conformtest.pl to use the headers.
7997 * include/assert.h: Likewise.
7998 * include/ctype.h: Likewise.
7999 * include/dirent.h: Likewise.
8000 * include/dlfcn.h: Likewise.
8001 * include/fcntl.h: Likewise.
8002 * include/fnmatch.h: Likewise.
8003 * include/glob.h: Likewise.
8004 * include/grp.h: Likewise.
8005 * include/libio.h: Likewise.
8006 * include/locale.h: Likewise.
8007 * include/math.h: Likewise.
8008 * include/net/if.h: Likewise.
8009 * include/netdb.h: Likewise.
8010 * include/netinet/in.h: Likewise.
8011 * include/pthread.h: Likewise.
8012 * include/pwd.h: Likewise.
8013 * include/regex.h: Likewise.
8014 * include/sched.h: Likewise.
8015 * include/search.h: Likewise.
8016 * include/setjmp.h: Likewise.
8017 * include/signal.h: Likewise.
8018 * include/stdio.h: Likewise.
8019 * include/stdlib.h: Likewise.
8020 * include/string.h: Likewise.
8021 * include/sys/cdefs.h: Likewise.
8022 * include/sys/mman.h: Likewise.
8023 * include/sys/msg.h: Likewise.
8024 * include/sys/resource.h: Likewise.
8025 * include/sys/select.h: Likewise.
8026 * include/sys/socket.h: Likewise.
8027 * include/sys/stat.h: Likewise.
8028 * include/sys/statvfs.h: Likewise.
8029 * include/sys/time.h: Likewise.
8030 * include/sys/times.h: Likewise.
8031 * include/sys/uio.h: Likewise.
8032 * include/sys/utsname.h: Likewise.
8033 * include/sys/wait.h: Likewise.
8034 * include/termios.h: Likewise.
8035 * include/time.h: Likewise.
8036 * include/ulimit.h: Likewise.
8037 * include/unistd.h: Likewise.
8038 * include/utime.h: Likewise.
8039 * include/wchar.h: Likewise.
8040 * include/wctype.h: Likewise.
8041 * include/wordexp.h: Likewise.
8043 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
8045 * time/time.h: TIME_UTC must be a macro.
8046 Make timespec_get available for ISO C11 only as well.
8048 2012-02-24 Ulrich Drepper <drepper@gmail.com>
8050 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
8051 Reported by Peng Haitao <penght@cn.fujitsu.com>.
8053 2012-02-24 Joseph Myers <joseph@codesourcery.com>
8055 * configure.in: Use -o not -a in test for unsupported multi-arch.
8057 2012-02-24 Joseph Myers <joseph@codesourcery.com>
8059 * manual/texinfo.tex: Update to version 2012-01-19.16.
8061 2012-02-24 Joseph Myers <joseph@codesourcery.com>
8063 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
8065 2012-02-24 Roland McGrath <roland@hack.frob.com>
8068 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
8069 * manual/fdl-1.3.texi: New file.
8070 * manual/fdl-1.1.texi: File removed.
8073 * manual/libc.texinfo (FDL_VERSION): New @set.
8074 Use it for mention of FDL in cover text.
8075 (Documentation License): Use it in @include file name.
8077 2012-02-22 Joseph Myers <joseph@codesourcery.com>
8078 Roland McGrath <roland@hack.frob.com>
8081 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
8082 not LONG_LONG_MAX and LONG_LONG_MIN.
8083 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
8084 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
8086 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
8088 2012-02-22 Joseph Myers <joseph@codesourcery.com>
8092 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
8093 manipulate bits before adding and subtracting TWO23[sx].
8094 * math/libm-test.inc (nearbyint_test): Add more tests.
8096 2012-02-22 Joseph Myers <joseph@codesourcery.com>
8099 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
8100 bits before adding and subtracting TWO23[sx].
8101 * math/libm-test.inc (rint_test): Add more tests.
8102 (rint_test_tonearest): Likewise.
8103 (rint_test_towardzero): Likewise.
8104 (rint_test_downward): Likewise.
8105 (rint_test_upward: Likewise.
8107 2012-02-22 Joseph Myers <joseph@codesourcery.com>
8110 * include/stdc-predef.h: New file. Extracted from features.h.
8111 * include/features.h: Include stdc-predef.h.
8112 * Makefile (headers): Add stdc-predef.h.
8113 * CONFORMANCE (Compiler limitations): Update.
8115 2012-02-22 Joseph Myers <joseph@codesourcery.com>
8117 * manual/libc.texinfo (VERSION, UPDATED): Revert.
8119 2012-02-21 David S. Miller <davem@davemloft.net>
8121 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
8122 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8124 2012-02-20 David S. Miller <davem@davemloft.net>
8126 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
8127 using a normal save/restore sequence, rather than allocating a
8128 dummy stack frame just to store a frame pointer and restore.
8129 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8131 2012-02-21 Joseph Myers <joseph@codesourcery.com>
8133 * manual/install.texi: Fix stray word in line-wrapped comment.
8135 2012-02-20 David S. Miller <davem@davemloft.net>
8137 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
8138 both binutils and gcc support GOTDATA.
8140 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
8141 "rd %pc" in the PIC register setup sequences.
8143 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
8144 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
8145 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
8146 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
8147 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
8148 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8149 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8150 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8151 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
8152 (SYSCALL_ERROR_HANDLER): Likewise.
8153 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
8154 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8155 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
8156 (SYSCALL_ERROR_HANDLER): Likewise.
8158 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
8159 (HAVE_GCC_GOTDATA): New.
8160 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
8161 relocation support in both binutils and gcc.
8162 * sysdeps/sparc/elf/configure: Regenerate.
8164 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
8165 * sysdeps/sparc/sparc32/elf/configure: Delete.
8166 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
8167 * sysdeps/sparc/sparc64/elf/configure: Delete.
8168 * sysdeps/sparc/elf/configure.in: New file.
8169 * sysdeps/sparc/elf/configure: Generate.
8171 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
8172 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
8173 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
8174 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
8175 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
8177 2012-02-21 Joseph Myers <joseph@codesourcery.com>
8179 * manual/install.texi: Do not mention specific glibc version
8181 * manual/libc.texinfo (VERSION, UPDATED): Update.
8182 (@copying): Use @copyright{} and range of years.
8184 2012-02-21 Joseph Myers <joseph@codesourcery.com>
8187 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
8188 [crti.S not in sysdirs] (generated): Do not append.
8189 [crti.S not in sysdirs] (omit-deps): Likewise.
8190 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
8191 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
8192 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
8193 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
8194 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
8196 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
8197 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
8198 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
8199 * csu/defs.awk: Remove file.
8200 * sysdeps/generic/initfini.c: Likewise.
8201 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
8203 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
8206 2012-02-20 Joseph Myers <joseph@codesourcery.com>
8208 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
8209 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
8210 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
8211 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
8212 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8213 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
8215 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
8216 (__EPOLL_PACKED): Define to empty if not defined by
8218 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
8219 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8222 2012-02-20 Joseph Myers <joseph@codesourcery.com>
8224 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
8225 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
8226 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
8227 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
8229 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
8230 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8233 2012-02-20 Joseph Myers <joseph@codesourcery.com>
8235 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
8237 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8238 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8239 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
8240 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8242 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
8244 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8245 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8247 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
8249 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
8250 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
8252 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
8254 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
8257 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
8259 * math/w_acos.c: Use non-signaling floating-point comparisons.
8260 * math/w_acosf.c: Likewise.
8261 * math/w_acosh.c: Likewise.
8262 * math/w_acoshf.c: Likewise.
8263 * math/w_acoshl.c: Likewise.
8264 * math/w_acosl.c: Likewise.
8265 * math/w_asin.c: Likewise.
8266 * math/w_asinf.c: Likewise.
8267 * math/w_asinl.c: Likewise.
8268 * math/w_atanh.c: Likewise.
8269 * math/w_atanhf.c: Likewise.
8270 * math/w_atanhl.c: Likewise.
8271 * math/w_exp2.c: Likewise.
8272 * math/w_exp2f.c: Likewise.
8273 * math/w_exp2l.c: Likewise.
8274 * math/w_j0.c: Likewise.
8275 * math/w_j0f.c: Likewise.
8276 * math/w_j0l.c: Likewise.
8277 * math/w_j1.c: Likewise.
8278 * math/w_j1f.c: Likewise.
8279 * math/w_j1l.c: Likewise.
8280 * math/w_jn.c: Likewise.
8281 * math/w_jnf.c: Likewise.
8282 * math/w_log.c: Likewise.
8283 * math/w_log10.c: Likewise.
8284 * math/w_log10f.c: Likewise.
8285 * math/w_log10l.c: Likewise.
8286 * math/w_log2.c: Likewise.
8287 * math/w_log2f.c: Likewise.
8288 * math/w_log2l.c: Likewise.
8289 * math/w_logf.c: Likewise.
8290 * math/w_logl.c: Likewise.
8291 * math/w_sqrt.c: Likewise.
8292 * math/w_sqrtf.c: Likewise.
8293 * math/w_sqrtl.c: Likewise.
8294 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8295 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
8296 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8297 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8298 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8300 2012-02-19 Joseph Myers <joseph@codesourcery.com>
8303 * manual/string.texi (strnlen): Use correct parameter name in
8304 equivalent expression.
8306 2012-02-19 Joseph Myers <joseph@codesourcery.com>
8309 * manual/users.texi (seteuid): Consistently use neweuid for
8312 2012-02-19 Joseph Myers <joseph@codesourcery.com>
8315 * manual/nss.texi (Services in the NSS configuration): Correct
8316 list of services in example configuration file.
8318 2012-02-19 Nick Bowler <nbowler@draconx.ca>
8321 * manual/arith.texi: Remove statements about negative zero
8322 behaving identically to zero.
8324 2012-02-18 Joseph Myers <joseph@codesourcery.com>
8327 * manual/install.texi: Do not document upgrading from libc5.
8329 2012-02-18 Joseph Myers <joseph@codesourcery.com>
8332 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
8334 2012-02-18 David S. Miller <davem@davemloft.net>
8336 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
8337 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
8338 %o7 across the call.
8339 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
8341 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
8343 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8344 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
8345 * sysdeps/sparc/crtn.S: Likewise.
8347 2012-02-17 Ulrich Drepper <drepper@gmail.com>
8349 * aout/Makefile: Remove.
8351 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
8354 * manual/examples/argp-ex1.c (main): Format definition in GNU
8356 * manual/examples/argp-ex2.c (main): Likewise.
8357 * manual/examples/argp-ex3.c (main): Likewise.
8358 * manual/examples/argp-ex4.c (main): Likewise.
8359 * manual/examples/longopt.c (main): Use new-style prototype
8361 * manual/examples/strncat.c (main): Specify return type and use
8362 (void) for arguments.
8363 * manual/examples/subopt.c (main): Use char **argv argument.
8365 2012-02-17 Joseph Myers <joseph@codesourcery.com>
8368 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
8371 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
8374 * manual/string.texi (strchr): Change when strchrnul is
8377 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
8380 * manual/locale.texi (setlocale): Document LOCPATH.
8382 2012-02-17 Joseph Myers <joseph@codesourcery.com>
8385 * manual/process.texi (execle): Move @dots{} before last argument.
8387 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
8390 * manual/charset.texi (Generic Charset Conversion): Fix typo
8391 (LC_TYPE -> LC_CTYPE).
8393 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
8396 * manual/arith.texi (scalbn): Use @var{} on parameter names.
8397 (scalbnf): Likewise.
8398 (scalbnl): Likewise.
8399 (scalbln): Likewise.
8400 (scalblnf): Likewise.
8401 (scalblnl): Likewise.
8402 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
8406 * manual/filesys.texi (telldir): Use braces around return type.
8407 * manual/llio.texi (mmap): Add space after comma.
8409 * manual/math.texi (jn): Use @var{} on parameter names.
8415 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
8417 * manual/resource.texi (ulimit): Use @dots{} instead of literal
8419 (sched_get_priority_min): Remove semicolon on @deftypefun line.
8420 (sched_get_priority_max): Likewise.
8421 * manual/signal.texi (sigvec): Add space after comma.
8422 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
8424 (if_indextoname): Likewise.
8425 (if_freenameindex): Likewise.
8426 (sendto): Use ',' instead of '.' in prototype.
8427 * manual/startup.texi (syscall): Use @dots{} instead of literal
8429 * manual/stdio.texi (__fpending): Separate initial words of
8430 paragraph from @deftypefun line.
8431 * manual/syslog.texi (syslog): Use @dots{} instead of literal
8433 (vsyslog): Use @var{} on parameter names.
8434 * manual/terminal.texi (stty): Use @var{} on parameter names.
8435 * manual/users.texi (getutmp): Use @var{} on parameter names.
8436 (getutmpx): Likewise.
8438 2012-02-17 Joseph Myers <joseph@codesourcery.com>
8441 * manual/stdio.texi (fopen): Fix typos in description of
8444 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
8447 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
8448 get clock_id definition.
8450 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
8453 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
8454 (madvise): Cast every argument to void on its own.
8456 2012-02-17 Joseph Myers <joseph@codesourcery.com>
8459 * manual/startup.texi (Exit Status): Fix typo.
8461 2012-02-17 Joseph Myers <joseph@codesourcery.com>
8464 * manual/examples/argp-ex1.c: Include <stdlib.h>.
8465 * manual/examples/argp-ex2.c: Likewise.
8466 * manual/examples/argp-ex3.c: Likewise.
8468 2012-02-16 Richard Henderson <rth@redhat.com>
8470 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
8471 * sysdeps/s390/s390-32/initfini.c: Remove.
8472 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
8473 * sysdeps/s390/s390-64/initfini.c: Remove.
8475 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8477 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
8478 compiler output for sysdeps/generic/initfini.c.
8479 * sysdeps/sh/elf/initfini.c: Remove file.
8481 2012-02-16 David S. Miller <davem@davemloft.net>
8484 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
8486 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
8487 * sysdeps/sparc/crti.S: New file.
8488 * sysdeps/sparc/crtn.S: New file.
8489 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
8490 * sysdeps/sparc/sparc64/Makefile: Likewise.
8492 2012-02-15 Mike Frysinger <vapier@gentoo.org>
8495 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
8497 2012-02-15 Roland McGrath <roland@hack.frob.com>
8500 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
8502 * mach/devstream.c (cookie_io_functions_t): Macro removed.
8503 (write, read, close): Likewise.
8504 Patch by Aurelien Jarno <aurelien@aurel32.net>.
8506 2012-02-15 Joseph Myers <joseph@codesourcery.com>
8508 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
8509 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
8510 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
8511 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
8513 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
8514 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8517 2012-02-14 Marek Polacek <polacek@redhat.com>
8519 * sysdeps/x86_64/crti.S: New file.
8520 * sysdeps/x86_64/crtn.S: New file.
8521 * sysdeps/x86_64/elf/initfini.c: Remove file.
8523 2012-02-13 Joseph Myers <joseph@codesourcery.com>
8525 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
8526 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
8527 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
8528 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
8530 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
8531 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8534 2012-02-13 Joseph Myers <joseph@codesourcery.com>
8536 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
8537 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
8538 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
8539 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
8541 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
8542 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8545 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
8547 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
8548 __feraiseexcept instead of feraiseexcept.
8550 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
8551 nanosleep invocations.
8552 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
8553 strings, and add error checking for a nanosleep invocations.
8555 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
8557 Replace FSF snail mail address with URLs, as per GNU coding standards.
8558 Most of the snail mail addresses were wrong anyway, and omitting
8559 them makes the source code easier to maintain. Almost all of the
8560 changes are to license notices and to locale LC_IDENTIFICATION
8561 addresses, except for this one:
8562 * manual/libc.texinfo: In "Published by", give the FSF's URL,
8563 not its snail mail address.
8565 2012-02-09 Richard Henderson <rth@twiddle.net>
8567 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
8568 of kernel-features.h.
8570 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
8572 2012-02-08 Marek Polacek <polacek@redhat.com>
8574 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
8575 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
8576 * sysdeps/gnu/_G_config.h: Likewise.
8577 * sysdeps/generic/_G_config.h: Likewise.
8579 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
8581 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
8583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8585 * sysdeps/powerpc/powerpc32/crti.S: New file.
8586 * sysdeps/powerpc/powerpc32/crtn.S: New file.
8587 * sysdeps/powerpc/powerpc64/crti.S: New file.
8588 * sysdeps/powerpc/powerpc64/crtn.S: New file.
8590 * Makeconfig (have-initfini): Don't set.
8591 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
8592 * configure.in (nopic_initfini): Don't substitute.
8593 * config.h.in (HAVE_INITFINI): Don't #undef.
8594 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
8595 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
8597 2012-02-08 Joseph Myers <joseph@codesourcery.com>
8599 Support crti.S and crtn.S provided directly by architectures.
8600 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
8601 [crti.S in sysdirs] (omit-deps): Likewise.
8602 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
8603 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
8604 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
8605 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
8606 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
8607 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
8608 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
8609 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
8610 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
8611 compiler output for sysdeps/generic/initfini.c.
8612 * sysdeps/i386/elf/Makefile: Remove file.
8613 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
8615 2012-02-07 Marek Polacek <polacek@redhat.com>
8617 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
8618 * sysdeps/gnu/_G_config.h: Likewise.
8619 * sysdeps/mach/hurd/_G_config.h: Likewise.
8621 2012-02-07 Marek Polacek <polacek@redhat.com>
8623 * math/Makefile (tests): Add tst-CMPLX2.
8624 * math/tst-CMPLX2.c: New file.
8626 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
8628 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8630 * math/libm-test.inc (jn_test): Add missing L suffix.
8632 2012-02-06 Marek Polacek <polacek@redhat.com>
8634 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
8635 * sysdeps/i386/fpu/e_powf.S: Likewise.
8636 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8637 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8638 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8639 * sysdeps/i386/fpu/e_pow.S: Likewise.
8640 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
8641 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8642 * sysdeps/i386/fpu/s_expm1.S: Likewise.
8643 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8644 * sysdeps/i386/fpu/e_log2.S: Likewise.
8645 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8646 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8647 * sysdeps/i386/fpu/e_powl.S: Likewise.
8648 * sysdeps/i386/fpu/s_log1p.S: Likewise.
8649 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8650 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
8651 * sysdeps/i386/fpu/e_logl.S: Likewise.
8652 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
8653 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
8654 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8655 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
8656 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8657 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8658 * sysdeps/i386/fpu/e_log.S: Likewise.
8659 * sysdeps/i386/fpu/s_cexp.S: Likewise.
8660 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8661 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
8662 * sysdeps/i386/fpu/e_logf.S: Likewise.
8663 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8664 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8665 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
8666 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
8667 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8668 * sysdeps/i386/fpu/e_log10.S: Likewise.
8669 * sysdeps/i386/fpu/s_frexp.S: Likewise.
8670 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8671 * sysdeps/i386/fpu/s_asinh.S: Likewise.
8672 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
8673 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8674 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
8675 * sysdeps/i386/asm-syntax.h: Likewise.
8676 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8677 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8678 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8679 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
8680 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
8681 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8682 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
8683 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
8684 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8685 * sysdeps/powerpc/sysdep.h: Likewise.
8686 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
8687 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8689 2012-02-06 Joseph Myers <joseph@codesourcery.com>
8692 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
8694 2012-02-06 Joseph Myers <joseph@codesourcery.com>
8696 * sysdeps/i386/sysdep.h: Include <features.h>.
8697 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
8700 2012-02-05 Joseph Myers <joseph@codesourcery.com>
8702 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
8704 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
8707 2012-02-03 Joseph Myers <joseph@codesourcery.com>
8709 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
8710 (SETUP_PIC_REG): Use GET_PC_THUNK.
8711 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
8714 2012-02-03 Joseph Myers <joseph@codesourcery.com>
8716 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
8717 for non-PIC compilation.
8718 (SETUP_PIC_REG): Add .p2align directive.
8719 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
8720 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
8721 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8722 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8723 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8724 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8725 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
8726 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8727 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8728 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8729 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8730 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8731 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8732 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8733 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8734 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8735 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8736 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8737 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8738 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8739 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8740 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8741 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8742 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8743 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8744 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8745 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8746 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8747 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8748 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8749 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8750 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8751 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8752 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8753 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8754 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8755 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8756 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8757 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8758 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8759 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8761 2012-02-03 Joseph Myers <joseph@codesourcery.com>
8763 * math/tst-CMPLX.c: Include <stdio.h>.
8765 2012-01-31 Joseph Myers <joseph@codesourcery.com>
8767 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
8769 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8770 * sysdeps/sparc/bits/mathdef.h: Likewise.
8772 2012-01-31 Marek Polacek <polacek@redhat.com>
8774 * libio/libio.h: Don't define _PARAMS.
8775 * locale/programs/config.h: Don't define PARAMS.
8776 * stdlib/strtol_l.c: Likewise.
8777 (__strtol_l): Remove PARAMS from the prototype.
8779 2012-01-31 Ulrich Drepper <drepper@gmail.com>
8781 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
8782 names. Just use the correct names. Remove unnecessary wrapper
8784 * malloc/arena.c: Likewise.
8785 * malloc/hooks.c: Likewise.
8787 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
8788 ARENA_TEST says not to. Simplify test for creation of a new arena.
8789 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
8791 2012-01-30 Ulrich Drepper <drepper@gmail.com>
8793 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
8795 (update_get_addr): New function.
8796 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
8797 GET_ADDR_MODULE parameter.
8799 2012-01-30 Joseph Myers <joseph@codesourcery.com>
8801 * crypt/cert.c: Remove __STDC__ conditionals.
8802 * crypt/crypt-entry.c: Likewise.
8803 * crypt/crypt_util.c: Likewise.
8804 * libio/filedoalloc.c: Likewise.
8805 * libio/fileops.c: Likewise.
8806 * libio/genops.c: Likewise.
8807 * libio/iofclose.c: Likewise.
8808 * libio/iofdopen.c: Likewise.
8809 * libio/iofopen.c: Likewise.
8810 * libio/iofopen64.c: Likewise.
8811 * libio/iogetdelim.c: Likewise.
8812 * libio/iopopen.c: Likewise.
8813 * libio/obprintf.c: Likewise.
8814 * libio/oldfileops.c: Likewise.
8815 * libio/oldiofclose.c: Likewise.
8816 * libio/oldiofdopen.c: Likewise.
8817 * libio/oldiofopen.c: Likewise.
8818 * libio/oldiopopen.c: Likewise.
8819 * libio/wfiledoalloc.c: Likewise.
8820 * libio/wgenops.c: Likewise.
8821 * locale/programs/xmalloc.c: Likewise.
8822 * misc/syslog.c: Likewise.
8823 * stdio-common/xbug.c: Likewise.
8824 * string/memchr.c: Likewise.
8825 * string/memcmp.c: Likewise.
8826 * string/memrchr.c: Likewise.
8827 * string/rawmemchr.c: Likewise.
8828 * sysdeps/posix/getcwd.c: Likewise.
8829 * time/strftime_l.c: Likewise.
8831 2012-01-30 Joseph Myers <joseph@codesourcery.com>
8833 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
8834 * config.make.in (config-cflags-sse2avx): Define.
8835 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
8838 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
8840 * scripts/config.guess: Update from upstream config git repository.
8841 * scripts/config.sub: Likewise.
8843 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
8845 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
8847 (R_TILEPRO_*, R_TILEGX_*): New macros.
8849 * scripts/firstversions.awk: Fix bug in version range handling.
8851 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
8853 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
8855 * include/sys/epoll.h: New file.
8856 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
8859 2012-01-28 Ulrich Drepper <drepper@gmail.com>
8861 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
8862 Avoid unnecessary __WORDSIZE == 64 test.
8863 (fmaxf): Use VEX format if possible.
8868 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
8869 * math/math_private.h: Remove libc_fegetround* and
8871 * sysdeps/i386/configure.in: Check for -msse2avx.
8872 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
8873 also if SSE2AVX is defined.
8874 Remove libc_fegetround* and libc_fesetround*.
8875 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
8876 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
8877 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
8879 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8880 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8881 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8882 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8883 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8885 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
8887 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8889 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
8891 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
8893 2012-01-27 Ulrich Drepper <drepper@gmail.com>
8896 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
8898 * Makeconfig (libm): Define.
8899 * elf/Makefile: Add rules to build and run tst-relsort1.
8900 * elf/tst-relsort1.c: New file.
8901 * elf/tst-relsort1mod1.c: New file.
8902 * elf/tst-relsort1mod2.c: New file.
8904 2012-01-27 Joseph Myers <joseph@codesourcery.com>
8906 * math/s_ldexp.c: Remove __STDC__ conditionals.
8907 * math/s_ldexpf.c: Likewise.
8908 * math/s_ldexpl.c: Likewise.
8909 * math/s_nextafter.c: Likewise.
8910 * math/s_nexttowardf.c: Likewise.
8911 * math/s_significand.c: Likewise.
8912 * math/s_significandf.c: Likewise.
8913 * math/s_significandl.c: Likewise.
8914 * math/w_jnl.c: Likewise.
8915 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8916 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8917 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8918 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8919 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8920 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8921 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
8922 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8923 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8924 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8925 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8926 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8927 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8928 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8929 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8930 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8931 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8932 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8933 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8934 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8935 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8936 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8937 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8938 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8939 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8940 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8941 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8942 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8943 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
8944 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8945 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8946 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
8947 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8948 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
8949 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
8950 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8951 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8952 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
8953 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
8954 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8955 * sysdeps/ieee754/k_standard.c: Likewise.
8956 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8957 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8958 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8959 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8960 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8961 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8962 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8963 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8964 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8965 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8966 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8967 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
8968 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8969 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8970 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8971 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8972 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8973 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8974 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8975 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8976 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8977 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8978 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8979 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8980 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8981 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8982 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8983 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8984 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8985 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
8986 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
8987 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
8988 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8989 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
8990 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
8991 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
8992 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
8993 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8994 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
8995 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
8996 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
8997 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
8998 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8999 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
9000 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9001 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9002 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
9003 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9004 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9005 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9006 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
9007 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9008 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9009 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
9010 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9011 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
9012 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
9013 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9014 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9015 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9016 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9017 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9018 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
9019 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9020 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9021 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9022 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9023 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
9024 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
9025 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9026 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9027 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9028 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9029 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9030 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9031 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9032 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
9033 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9034 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
9035 * sysdeps/ieee754/s_matherr.c: Likewise.
9036 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
9037 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9038 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9039 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9041 2012-01-26 Joseph Myers <joseph@codesourcery.com>
9043 * crypt/md5.h: Remove __STDC__ conditionals.
9044 * libio/libioP.h: Likewise.
9045 * locale/programs/config.h: Likewise.
9046 * sysdeps/generic/sysdep.h: Likewise.
9047 * sysdeps/i386/asm-syntax.h: Likewise.
9048 * sysdeps/s390/asm-syntax.h: Likewise.
9049 * sysdeps/unix/sysdep.h: Likewise.
9050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9053 2012-01-26 Joseph Myers <joseph@codesourcery.com>
9055 * libio/libio.h: Remove __STDC__ conditionals.
9056 * malloc/obstack.h: Likewise.
9057 * math/complex.h: Likewise.
9058 * math/math.h: Likewise.
9059 * sysdeps/generic/_G_config.h: Likewise.
9060 * sysdeps/gnu/_G_config.h: Likewise.
9061 * sysdeps/mach/hurd/_G_config.h: Likewise.
9062 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9063 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
9064 * sysdeps/sparc/bits/mathdef.h: Likewise.
9066 2012-01-26 Ulrich Drepper <drepper@gmail.com>
9069 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
9070 Clean up HAS_* macros.
9071 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
9072 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
9074 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
9076 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9077 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9078 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9079 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9080 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9082 2012-01-25 Joseph Myers <joseph@codesourcery.com>
9084 * elf/tst-unique3.cc (gets): Remove declaration.
9085 * elf/tst-unique3lib.cc (gets): Likewise.
9086 * elf/tst-unique3lib2.cc (gets): Likewise.
9087 * elf/tst-unique4.cc (gets): Likewise.
9089 2012-01-24 Ulrich Drepper <drepper@gmail.com>
9091 * include/stdio.h: Add C++ protection. Add gets declarations and
9093 * debug/tst-chk1.c: Don't declare gets here.
9094 * stdio-common/tst-gets.c: Likewise.
9096 2012-01-24 Joseph Myers <joseph@codesourcery.com>
9098 * posix/glob: Remove directory.
9100 2012-01-24 Joseph Myers <joseph@codesourcery.com>
9102 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
9104 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
9106 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
9107 of the non-standard EPFNOSUPPORT.
9109 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
9111 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
9112 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
9113 ANYWHERE set to 1 only on KERN_NO_SPACE error.
9115 2012-01-21 Ulrich Drepper <drepper@gmail.com>
9117 * wcsmbs/uchar.h: Test __STDC_VERSION__.
9119 2012-01-20 Ulrich Drepper <drepper@gmail.com>
9121 * nscd/aicache.c (addhstaiX): Do not cache negative results of
9123 * nscd/grpcache.c (cache_addgr): Likewise.
9124 * nscd/hstcache.c (cache_addhst): Likewise.
9125 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9126 * nscd/pwdcache.c (cache_addpw): Likewise.
9127 * nscd/servicescache.c (cache_addserv): Likewise.
9129 2012-01-16 Ulrich Drepper <drepper@gmail.com>
9131 * malloc/malloc.c: Various cleanups.
9132 * malloc/hooks.c: Likewise.
9134 * stdlib/Makefile (tests): Add bug-fmtmsg1.
9135 * stdlib/bug-fmtmsg1.c: New file.
9137 * stdlib/fmtmsg.c (init): Add missing unlock.
9138 Patch by Peng Haitao <penght@cn.fujitsu.com>.
9140 2012-01-12 Marek Polacek <polacek@redhat.com>
9142 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
9145 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
9147 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
9148 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
9149 macro to ensure uniqueness of label name.
9150 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9151 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9153 2012-01-11 Ulrich Drepper <drepper@gmail.com>
9155 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
9157 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
9158 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9159 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9160 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
9162 2012-01-10 Ulrich Drepper <drepper@gmail.com>
9164 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
9166 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
9167 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9168 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9170 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
9172 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
9173 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9174 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9175 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
9177 * math/bits/math-finite.h: Add ldexp support.
9179 2012-01-10 Marek Polacek <polacek@redhat.com>
9181 * locale/programs/localedef.h (show_archive_content): Add noreturn
9184 2012-01-09 Ulrich Drepper <drepper@gmail.com>
9186 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
9188 2012-01-08 Ulrich Drepper <drepper@gmail.com>
9190 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
9192 * io/Makefile (headers): Add bits/poll2.h.
9194 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
9196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
9197 typo #include statement.
9199 2012-01-08 Ulrich Drepper <drepper@gmail.com>
9201 * include/sys/cdefs.h: Define __attribute_alloc_size.
9202 * catgets/gencat.c: Add alloc_size attribute and apply consistently
9203 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
9204 * elf/pldd.c: Likewise.
9205 * iconv/iconv_charmap.c: Likewise.
9206 * iconv/iconvconfig.c: Likewise.
9207 * iconv/strtab.c: Likewise.
9208 * locale/programs/locale.c: Likewise.
9209 * locale/programs/localedef.h: Likewise.
9210 * locale/programs/simple-hash.c: Likewise.
9211 * nscd/nscd.h: Likewise.
9212 * nss/makedb.c: Likewise.
9213 * sysdeps/generic/ldconfig.h: Likewise.
9214 * locale/programs/localedef.c: Remove xmalloc prototype.
9215 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
9217 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9219 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
9222 2012-01-08 Ulrich Drepper <drepper@gmail.com>
9224 * math/Makefile (tests): Add tst-CMPLX.
9225 * math/tst-CMPLX.c: New file.
9227 * math/complex.h (CMPLXL): Fix typo.
9229 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
9230 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
9232 * debug/tst-chk1.c: Add poll and ppoll tests.
9233 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
9234 * include/sys/poll.h: Add hidden proto for ppoll.
9235 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
9236 * sysdeps/mach/hurd/ppoll.c: Likewise.
9237 * io/ppoll.c: Likewise.
9238 * debug/poll_chk.c: New file.
9239 * debug/ppoll_chk.c: New file.
9240 * include/bits/poll2.h: New file.
9241 * io/bits/poll2.h: New file.
9244 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
9246 * configure.in: static is always set to yes. Remove.
9247 * config.make.in: Don't set build-static.
9248 * Makeconfig: Remove use of build-static.
9249 * dlfcn/Makefile: Likewise.
9250 * elf/Makefile: Likewise.
9251 * math/Makefile: Likewise.
9252 * misc/Makefile: Likewise.
9253 * nptl/Makefile: Likewise.
9254 * sysdeps/mach/hurd/Makefile: Likewise.
9256 * configure.in: PWD_P is not used anymore.
9257 * config.make.in: Remove PWD_P entry.
9259 * configure.in: Remove last remnants of RANLIB.
9260 No need to check for signed size_t anymore.
9261 Don't set libc_commonpagesize and libc_relro_required here for Alpha
9263 Remove __builtin_expect test because we require at least gcc 3.4.
9264 * aclocal.m4: Likewise.
9266 * wcsmbs/mbrtoc16.c: Implement using towc function.
9267 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
9268 * wcsmbs/wcsmbsload.c: Likewise.
9269 * iconv/gconv_simple.c: Likewise.
9270 * iconv/gconv_int.h: Likewise.
9271 * iconv/gconv_builtin.h: Likewise.
9272 * iconv/iconv_prog.c: Remove CHAR16 handling.
9274 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
9276 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
9278 * configure.in: Remove --with-elf and --enable-bounded options.
9279 Dont set base_machine for ia64. More non-ELF conditions removed.
9280 Remove testing and setting of leading underscore information.
9281 * config.make.in (build-bounded): Set to no.
9282 * config.h.in: Remove NO_UNDERSCORES entry.
9283 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
9285 * csu/start.c: Remove !NO_UNDERSCORE code.
9286 * locale/localeinfo.h: Likewise.
9287 * sysdeps/generic/machine-gmon.h: Likewise.
9288 * sysdeps/generic/sysdep.h: Likewise.
9289 * sysdeps/i386/sysdep.h: Likewise.
9290 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9291 * sysdeps/mach/sysdep.h: Likewise.
9292 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9293 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9294 * sysdeps/sh/sysdep.h: Likewise.
9295 * sysdeps/sparc/sparc32/alloca.S: Likewise.
9296 * sysdeps/unix/i386/sysdep.S: Likewise.
9297 * sysdeps/unix/sparc/start.c: Likewise.
9298 * sysdeps/unix/sparc/sysdep.S: Likewise.
9299 * sysdeps/unix/sparc/sysdep.h: Likewise.
9300 * sysdeps/unix/start.c: Likewise.
9301 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9302 * sysdeps/x86_64/sysdep.h: Likewise.
9304 2012-01-07 Ulrich Drepper <drepper@gmail.com>
9307 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
9309 * argp/argp-fmtstream.h: Use const instead __const.
9310 * argp/argp.h: Likewise.
9311 * assert/assert.h: Likewise.
9312 * bits/fenv.h: Likewise.
9313 * bits/sched.h: Likewise.
9314 * bits/sigset.h: Likewise.
9315 * bits/sigthread.h: Likewise.
9316 * catgets/nl_types.h: Likewise.
9317 * conform/data/pthread.h-data: Likewise.
9318 * crypt/crypt-private.h: Likewise.
9319 * crypt/crypt.h: Likewise.
9320 * crypt/crypt_util.c: Likewise.
9321 * ctype/ctype.h: Likewise.
9322 * debug/execinfo.h: Likewise.
9323 * debug/mbsnrtowcs_chk.c: Likewise.
9324 * debug/mbsrtowcs_chk.c: Likewise.
9325 * debug/wcsnrtombs_chk.c: Likewise.
9326 * debug/wcsrtombs_chk.c: Likewise.
9327 * debug/wcstombs_chk.c: Likewise.
9328 * dirent/dirent.h: Likewise.
9329 * dlfcn/dlfcn.h: Likewise.
9330 * elf/neededtest4.c: Likewise.
9331 * grp/grp.h: Likewise.
9332 * gshadow/gshadow.h: Likewise.
9333 * iconv/gconv.h: Likewise.
9334 * iconv/gconv_int.h: Likewise.
9335 * iconv/gconv_simple.c: Likewise.
9336 * iconv/iconv.h: Likewise.
9337 * iconv/loop.c: Likewise.
9338 * iconv/skeleton.c: Likewise.
9339 * include/aio.h: Likewise.
9340 * include/aliases.h: Likewise.
9341 * include/argz.h: Likewise.
9342 * include/arpa/inet.h: Likewise.
9343 * include/assert.h: Likewise.
9344 * include/dirent.h: Likewise.
9345 * include/dlfcn.h: Likewise.
9346 * include/execinfo.h: Likewise.
9347 * include/fcntl.h: Likewise.
9348 * include/fenv.h: Likewise.
9349 * include/glob.h: Likewise.
9350 * include/grp.h: Likewise.
9351 * include/libintl.h: Likewise.
9352 * include/mntent.h: Likewise.
9353 * include/netdb.h: Likewise.
9354 * include/pwd.h: Likewise.
9355 * include/rpc/netdb.h: Likewise.
9356 * include/sched.h: Likewise.
9357 * include/search.h: Likewise.
9358 * include/shadow.h: Likewise.
9359 * include/signal.h: Likewise.
9360 * include/stdio.h: Likewise.
9361 * include/stdlib.h: Likewise.
9362 * include/string.h: Likewise.
9363 * include/sys/socket.h: Likewise.
9364 * include/sys/stat.h: Likewise.
9365 * include/sys/statfs.h: Likewise.
9366 * include/sys/statvfs.h: Likewise.
9367 * include/sys/syslog.h: Likewise.
9368 * include/sys/time.h: Likewise.
9369 * include/sys/uio.h: Likewise.
9370 * include/time.h: Likewise.
9371 * include/unistd.h: Likewise.
9372 * include/utmp.h: Likewise.
9373 * include/wchar.h: Likewise.
9374 * include/wctype.h: Likewise.
9375 * inet/aliases.h: Likewise.
9376 * inet/arpa/inet.h: Likewise.
9377 * inet/netinet/ether.h: Likewise.
9378 * inet/netinet/in.h: Likewise.
9379 * intl/libintl.h: Likewise.
9380 * io/bits/fcntl2.h: Likewise.
9381 * io/fcntl.h: Likewise.
9382 * io/ftw.h: Likewise.
9383 * io/sys/poll.h: Likewise.
9384 * io/sys/stat.h: Likewise.
9385 * io/sys/statfs.h: Likewise.
9386 * io/sys/statvfs.h: Likewise.
9387 * io/utime.h: Likewise.
9388 * libio/bits/stdio.h: Likewise.
9389 * libio/bits/stdio2.h: Likewise.
9390 * libio/libio.h: Likewise.
9391 * libio/libioP.h: Likewise.
9392 * libio/stdio.h: Likewise.
9393 * locale/lc-ctype.c: Likewise.
9394 * locale/locale.h: Likewise.
9395 * login/utmp.h: Likewise.
9396 * malloc/arena.c: Likewise.
9397 * malloc/malloc.c: Likewise.
9398 * malloc/malloc.h: Likewise.
9399 * malloc/mcheck.c: Likewise.
9400 * malloc/mtrace.c: Likewise.
9401 * math/bits/mathcalls.h: Likewise.
9402 * math/fenv.h: Likewise.
9403 * math/math_private.h: Likewise.
9404 * misc/bits/error.h: Likewise.
9405 * misc/bits/syslog.h: Likewise.
9406 * misc/err.h: Likewise.
9407 * misc/error.h: Likewise.
9408 * misc/fstab.h: Likewise.
9409 * misc/mntent.h: Likewise.
9410 * misc/regexp.h: Likewise.
9411 * misc/search.h: Likewise.
9412 * misc/sgtty.h: Likewise.
9413 * misc/sys/mman.h: Likewise.
9414 * misc/sys/syslog.h: Likewise.
9415 * misc/sys/uio.h: Likewise.
9416 * misc/sys/xattr.h: Likewise.
9417 * misc/ttyent.h: Likewise.
9418 * nis/rpcsvc/ypclnt.h: Likewise.
9419 * nss/nss.h: Likewise.
9420 * posix/bits/unistd.h: Likewise.
9421 * posix/fnmatch.h: Likewise.
9422 * posix/glob.h: Likewise.
9423 * posix/sched.h: Likewise.
9424 * posix/spawn.h: Likewise.
9425 * posix/sys/wait.h: Likewise.
9426 * posix/unistd.h: Likewise.
9427 * posix/wordexp.h: Likewise.
9428 * pwd/pwd.h: Likewise.
9429 * resolv/netdb.h: Likewise.
9430 * resource/sys/resource.h: Likewise.
9431 * rt/aio.h: Likewise.
9432 * rt/bits/mqueue2.h: Likewise.
9433 * rt/mqueue.h: Likewise.
9434 * shadow/shadow.h: Likewise.
9435 * signal/signal.h: Likewise.
9436 * socket/send.c: Likewise.
9437 * socket/sendto.c: Likewise.
9438 * socket/sys/socket.h: Likewise.
9439 * stdio-common/printf.h: Likewise.
9440 * stdlib/bits/stdlib.h: Likewise.
9441 * stdlib/fmtmsg.h: Likewise.
9442 * stdlib/monetary.h: Likewise.
9443 * stdlib/stdlib.h: Likewise.
9444 * stdlib/ucontext.h: Likewise.
9445 * streams/stropts.h: Likewise.
9446 * string/argz.h: Likewise.
9447 * string/bits/string2.h: Likewise.
9448 * string/string.h: Likewise.
9449 * string/strings.h: Likewise.
9450 * sunrpc/rpc/auth.h: Likewise.
9451 * sunrpc/rpc/auth_des.h: Likewise.
9452 * sunrpc/rpc/clnt.h: Likewise.
9453 * sunrpc/rpc/netdb.h: Likewise.
9454 * sunrpc/rpc/pmap_clnt.h: Likewise.
9455 * sunrpc/rpc/xdr.h: Likewise.
9456 * sysdeps/generic/inttypes.h: Likewise.
9457 * sysdeps/generic/net/if.h: Likewise.
9458 * sysdeps/generic/sys/swap.h: Likewise.
9459 * sysdeps/gnu/net/if.h: Likewise.
9460 * sysdeps/gnu/utmpx.h: Likewise.
9461 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
9462 * sysdeps/i386/i486/bits/string.h: Likewise.
9463 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
9464 * sysdeps/s390/bits/string.h: Likewise.
9465 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
9466 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
9467 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
9468 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
9469 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
9470 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
9471 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
9472 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
9473 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
9474 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
9475 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
9476 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9477 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
9478 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9479 * sysdeps/unix/sysv/linux/readv.c: Likewise.
9480 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
9481 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9482 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9483 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9484 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9485 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9486 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
9487 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
9488 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
9489 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
9490 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
9491 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
9492 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9493 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
9494 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
9495 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
9496 * sysvipc/sys/ipc.h: Likewise.
9497 * sysvipc/sys/msg.h: Likewise.
9498 * sysvipc/sys/sem.h: Likewise.
9499 * sysvipc/sys/shm.h: Likewise.
9500 * termios/termios.h: Likewise.
9501 * time/sys/time.h: Likewise.
9502 * time/time.h: Likewise.
9503 * wcsmbs/bits/wchar2.h: Likewise.
9504 * wcsmbs/uchar.h: Likewise.
9505 * wcsmbs/wchar.h: Likewise.
9506 * wctype/wctype.h: Likewise.
9509 * Makeconfig: Remove all but ELF support including AIX support.
9510 * Makerules: Likewise.
9511 * config.h.in: Likewise.
9512 * config.make.in: Likewise.
9513 * configure: Likewise.
9514 * configure.in: Likewise.
9515 * csu/Makefile: Likewise.
9516 * csu/version.c: Likewise.
9517 * debug/Makefile: Likewise.
9518 * dlfcn/Makefile: Likewise.
9519 * elf/Makefile: Likewise.
9520 * extra-lib.mk: Likewise.
9521 * iconv/Makefile: Likewise.
9522 * include/libc-symbols.h: Likewise.
9523 * include/shlib-compat.h: Likewise.
9524 * resolv/Makefile: Likewise.
9525 * resolv/res_libc.c: Likewise.
9526 * rt/Makefile: Likewise.
9527 * sysdeps/i386/asm-syntax.h: Likewise.
9528 * sysdeps/i386/sysdep.h: Likewise.
9529 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9530 * sysdeps/mach/sysdep.h: Likewise.
9531 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
9532 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
9533 * sysdeps/s390/asm-syntax.h: Likewise.
9534 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9535 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9536 * sysdeps/sh/sysdep.h: Likewise.
9537 * sysdeps/unix/sparc/sysdep.h: Likewise.
9538 * sysdeps/wordsize-32/divdi3.c: Likewise.
9539 * sysdeps/x86_64/sysdep.h: Likewise.
9541 * argp/Versions: Remove _argp_unlock_xxx.
9544 * abilist/ld.abilist: Update. Adjust for removal of tls option.
9545 * abilist/libBrokenLocale.abilist: Likewise.
9546 * abilist/libanl.abilist: Likewise.
9547 * abilist/libc.abilist: Likewise.
9548 * abilist/libcrypt.abilist: Likewise.
9549 * abilist/libdl.abilist: Likewise.
9550 * abilist/libm.abilist: Likewise.
9551 * abilist/libnsl.abilist: Likewise.
9552 * abilist/libpthread.abilist: Likewise.
9553 * abilist/libresolv.abilist: Likewise.
9554 * abilist/librt.abilist: Likewise.
9555 * abilist/libthread_db.abilist: Likewise.
9556 * abilist/libutil.abilist: Likewise.
9557 * abilist/libnss_db.abilist: New file.
9559 * scripts/abilist.awk: Add support for indirect functions.
9561 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
9563 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
9565 * shlib-versions: Remove entries for ports architectures.
9567 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
9569 * elf/stackguard-macros.h: Remove support for IA-64.
9570 * elf/tst-auditmod1.c: Likewise.
9571 * sysdeps/generic/ldsodefs.h: Likewise.
9573 * sysdeps/unix/sysv/linux/configure.in: Ports should define
9574 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
9578 * configure.in: Remove --enable-omitfp support.
9580 * config.make.in: Likewise.
9581 * Makeconfig: Likewise.
9582 * manual/install.texi: Likewise.
9584 In case anyone cares, the IA-64 architecture could move to ports.
9585 * sysdeps/ia64/*: Removed.
9586 * sysdeps/unix/sysv/linux/ia64/*: Removed.
9587 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
9590 * configure.in: Remove entries for unsupported architectures.
9593 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
9594 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
9596 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
9597 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
9598 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
9599 fall back to using wcrtomb.
9600 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
9601 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
9603 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
9604 * wcsmbs/tst-c16c32-1.c: New file.
9606 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
9609 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
9611 * elf/tst-unique3.cc: Add explicit declaration of gets.
9612 * elf/tst-unique3lib.cc: Likewise.
9613 * elf/tst-unique3lib2.cc: Likewise.
9614 * elf/tst-unique4.cc: Likewise.
9616 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
9618 2012-01-06 Joseph Myers <joseph@codesourcery.com>
9621 * assert/assert.h (static_assert): Don't define for C++.
9622 * libio/stdio.h (gets): Do declare for C++ <= C++11.
9623 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
9625 2012-01-03 Ulrich Drepper <drepper@gmail.com>
9627 * iconv/loop.c (single loop): Fix assertion in storing of
9630 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
9632 2012-01-01 Ulrich Drepper <drepper@gmail.com>
9634 * posix/getconf.c: Update copyright year.
9635 * nss/getent.c: Likewise.
9636 * nss/makedb.c: Likewise.
9637 * iconv/iconvconfig.c: Likewise.
9638 * iconv/iconv_prog.c: Likewise.
9639 * elf/ldconfig.c: Likewise.
9640 * elf/pldd.c: Likewise.
9641 * elf/sotruss.ksh: Likewise.
9642 * catgets/gencat.c: Likewise.
9643 * csu/version.c: Likewise.
9644 * elf/ldd.bash.in: Likewise.
9645 * elf/sprof.c (print_version): Likewise.
9646 * locale/programs/locale.c: Likewise.
9647 * locale/programs/localedef.c: Likewise.
9648 * login/programs/pt_chown.c: Likewise.
9649 * nscd/nscd.c (print_version): Likewise.
9650 * debug/xtrace.sh: Likewise.
9651 * malloc/memusage.sh: Likewise.
9652 * malloc/mtrace.pl: Likewise.
9653 * debug/catchsegv.sh: Likewise.
9655 2011-12-30 Jakub Jelinek <jakub@redhat.com>
9657 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
9660 2011-12-24 Ulrich Drepper <drepper@gmail.com>
9663 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
9664 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
9666 * iconv/gconv_int.h: Likewise.
9667 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
9668 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
9669 from libc for GLIBC_2.16.
9670 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
9671 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
9672 * wcsmbs/uchar.h: Really define mbstate_t.
9673 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
9674 * wcsmbs/c16rtomb.c: New file.
9675 * wcsmbs/mbrtoc16.c: New file.
9676 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
9678 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
9679 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
9681 * wcsmbs/wchar.h: Add missing __restrict.
9683 2011-12-23 Ulrich Drepper <drepper@gmail.com>
9686 * time/Makefile (routines): Add timespec_get.
9687 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
9688 * time/time.h: Define TIME_UTC and declare timespec_get. Define
9689 timespec for ISO C11.
9690 * time/timespec_get.c: New file.
9691 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
9692 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
9695 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
9696 * stdlib/stdlib.h: Declare aligned_alloc.
9697 * Versions.def: Add GLIBC_2.16 for libc.
9698 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
9701 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
9704 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
9708 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
9711 * assert/assert.h (static_assert): Define.
9713 * version.h: Update for 2.16 development version.
9716 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
9719 * version.h (RELEASE): Bump for 2.15 release.
9720 * include/features.h (__GLIBC_MINOR__): Bump to 15.
9722 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
9723 Patch by Marek Polacek <mpolacek@redhat.com>.
9725 * bits/byteswap.h: Protect long long constants with __extension__.
9726 * sysdeps/i386/bits/byteswap.h: Likewise.
9727 * sysdeps/ia64/bits/byteswap.h: Likewise.
9728 * sysdeps/s390/bits/byteswap.h: Likewise.
9729 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9731 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9734 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
9736 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
9738 2011-12-23 Marek Polacek <polacek@redhat.com>
9740 * elf/dl-addr.c (determine_info): Add inline keyword.
9741 * elf/tst-auditmod4b.c (check_avx): Likewise.
9742 * elf/tst-auditmod6b.c (check_avx): Likewise.
9743 * elf/tst-auditmod6c.c (check_avx): Likewise.
9744 * elf/tst-auditmod7b.c (check_avx): Likewise.
9746 2011-12-23 Ulrich Drepper <drepper@gmail.com>
9748 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
9751 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9754 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
9755 processing for last bytes.
9757 2011-08-06 Bruno Haible <bruno@clisp.org>
9760 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
9761 U+0385, not to U+1FEE.
9764 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
9765 entry for U+00A5 U+0301.
9767 2011-12-22 Ulrich Drepper <drepper@gmail.com>
9770 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
9771 buffer for the output is too small.
9773 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
9777 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
9778 SSE flags if possible.
9780 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9783 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
9784 processing for last bytes.
9786 2011-12-22 Joseph Myers <joseph@codesourcery.com>
9788 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
9789 (syscall-list-default-options, syscall-list-default-condition)
9790 (syscall-list-includes): Define.
9791 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
9792 list of ABIs and options and #if conditions for each ABI. Do not
9793 handle common syscalls between ABIs specially.
9794 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
9796 (syscall-list-variants, syscall-list-32bit-options)
9797 (syscall-list-32bit-condition, syscall-list-64bit-options)
9798 (syscall-list-64bit-condition): Define.
9799 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
9800 (syscall-list-variants, syscall-list-32bit-options)
9801 (syscall-list-32bit-condition, syscall-list-64bit-options)
9802 (syscall-list-64bit-condition): Define.
9803 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
9805 (syscall-list-variants, syscall-list-32bit-options)
9806 (syscall-list-32bit-condition, syscall-list-64bit-options)
9807 (syscall-list-64bit-condition): Define.
9808 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
9810 (syscall-list-variants, syscall-list-32bit-options)
9811 (syscall-list-32bit-condition, syscall-list-64bit-options)
9812 (syscall-list-64bit-condition): Define.
9814 2011-12-22 Ulrich Drepper <drepper@gmail.com>
9816 * locale/iso-639.def: Add brx entry.
9819 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
9820 Proposed by Mariusz_Cukr <marcukr@op.pl>.
9822 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
9823 __feraiseexcept_renamed.
9825 2011-12-21 Ulrich Drepper <drepper@gmail.com>
9828 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
9829 EPOLLET with unsigned values.
9830 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9831 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9833 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
9834 to large cancellation.
9835 * math/s_cacoshf.c: Likewise.
9836 * math/s_cacoshl.c: Likewise.
9838 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
9842 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
9843 * math/s_cacoshf.c: Likewise.
9844 * math/s_cacoshl.c: Likewise.
9846 2011-12-21 Ulrich Drepper <drepper@gmail.com>
9849 * iconv/gconv.h: Define __GCONV_SWAP.
9850 * iconvdata/unicode.c: The swap bit must be stored in __flags.
9851 * iconvdata/utf-16.c: Likewise.
9852 * iconvdata/utf-32.c: Likewise.
9854 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
9857 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
9858 numerator after shifting it by one limb.
9860 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
9862 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
9863 under [__USE_EXTERN_INLINES].
9865 2011-12-17 Ulrich Drepper <drepper@gmail.com>
9868 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
9870 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9872 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
9873 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
9875 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
9876 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
9877 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
9878 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
9879 for strncasecmp/strncasecmp_l compilation.
9880 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
9881 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
9883 2011-12-08 Marek Polacek <mpolacek@redhat.com>
9886 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
9889 2011-12-17 Ulrich Drepper <drepper@gmail.com>
9892 * time/tzfile.c (__tzfile_read): Check values from file header.
9894 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
9896 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
9897 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
9898 * powerpc/powerpc32/dl-start.S: Likewise.
9899 * powerpc/powerpc32/elf/start.S: Likewise.
9900 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9901 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
9902 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
9903 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
9904 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
9905 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
9906 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
9907 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
9908 * powerpc/powerpc32/fpu/s_round.S: Likewise.
9909 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
9910 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
9911 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
9912 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
9913 * powerpc/powerpc32/memset.S: Likewise.
9914 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
9915 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9916 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9917 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9918 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9919 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9920 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9921 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9922 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
9923 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
9924 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
9925 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9926 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9928 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9930 * math/libm-test.inc: Added more nearbyint tests.
9931 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
9932 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
9933 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
9934 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
9936 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
9938 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
9941 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9943 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
9944 Add wcscpy-ssse3 wcscpy-c.
9945 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
9946 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
9947 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
9948 * sysdeps/x86_64/wcschr.S: New file.
9949 * sysdeps/x86_64/wcsrchr.S: New file.
9950 * string/test-strcmp.c: Remove checking of wcscmp function for
9952 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
9953 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
9954 wcsrchr-sse2 wcsrchr-c.
9955 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
9956 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
9957 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
9958 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
9959 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
9960 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
9961 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
9962 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
9963 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
9964 * wcsmbc/wcschr.c (WCSCHR): New macro.
9966 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9968 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
9969 * wcsmbs/test-wcsrchr.c: New file.
9970 * string/test-strrchr.c: Add wcsrchr support.
9972 * wcsmbs/test-wcscpy.c: New file.
9973 * string/test-strcpy.c: Add wcscpy support.
9976 2011-12-10 Ulrich Drepper <drepper@gmail.com>
9978 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
9981 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
9984 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
9986 2011-12-04 Ulrich Drepper <drepper@gmail.com>
9988 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
9989 Minor optimizations.
9991 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
9992 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
9993 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
9995 2011-12-03 Ulrich Drepper <drepper@gmail.com>
9997 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
9998 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
9999 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
10000 for gcc to avoid warnings.
10001 * inet/Makefile (tests): Add tst-checks.
10002 * inet/tst-checks.c: New file.
10004 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
10007 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
10010 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
10011 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
10013 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
10015 2011-12-02 Ulrich Drepper <drepper@gmail.com>
10017 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
10020 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
10022 2011-11-29 Joseph Myers <joseph@codesourcery.com>
10024 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
10025 conditional on GCC version.
10026 (__arch_compare_and_exchange_val_8_acq)
10027 (__arch_compare_and_exchange_val_16_acq)
10028 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
10029 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
10030 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
10032 2011-12-02 Joseph Myers <joseph@codesourcery.com>
10034 * sysdeps/sh/backtrace.c: New file.
10036 2011-12-02 Andreas Schwab <schwab@redhat.com>
10038 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
10041 2011-12-01 Andreas Schwab <schwab@redhat.com>
10043 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
10044 falling back to utime.
10046 2011-11-30 Andreas Schwab <schwab@redhat.com>
10048 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
10049 expectations for float.
10051 2011-11-29 Andreas Schwab <schwab@redhat.com>
10053 * locale/weight.h (findidx): Add parameter len.
10054 * locale/weightwc.h (findidx): Likewise.
10055 * posix/fnmatch_loop.c (FCT): Adjust caller.
10056 * posix/regcomp.c (build_equiv_class): Likewise.
10057 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
10058 * posix/regexec.c (check_node_accept_bytes): Likewise.
10059 * string/strcoll_l.c (STRCOLL): Likewise.
10060 * string/strxfrm_l.c (STRXFRM): Likewise.
10062 2011-11-17 Ulrich Drepper <drepper@gmail.com>
10064 * Makefile.in: Remove CVSOPT handling.
10065 * configure.in: Remove use of AC_REVISION.
10066 * iconvdata/Makefile (distribute): No need to filter out CVS.
10067 * scripts/list-sources.sh: Remove CVS, subversion and monotone
10070 2011-11-16 Andreas Schwab <schwab@redhat.com>
10072 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
10073 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
10074 [USE_AS_STRNCASECMP_L]: Likewise.
10075 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
10076 NO_TLS_DIRECT_SEG_REFS.
10077 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
10078 Fix argument offsets for non-PIC.
10079 [USE_AS_STRNCASECMP_L]: Likewise.
10080 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
10081 NO_TLS_DIRECT_SEG_REFS.
10083 2011-11-15 Ulrich Drepper <drepper@gmail.com>
10085 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
10087 * locale/loadlocale.c (_nl_load_locale): Likewise.
10089 2011-11-15 Andreas Schwab <schwab@redhat.com>
10091 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
10092 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
10093 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
10094 (SYSCALL_GETTIME): Set errno on error.
10096 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
10097 count references to noai6ai_cached.
10099 2011-11-15 Ulrich Drepper <drepper@gmail.com>
10101 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
10103 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
10104 FD_CLOEXEC for /proc/self/maps.
10106 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
10107 FD_CLOEXEC for /proc/meminfo.
10109 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
10112 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
10113 FD_CLOEXEC for given file.
10115 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
10117 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
10118 FD_CLOEXEC for /etc/hosts.
10119 (_gethtent): Likewise.
10121 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
10123 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
10124 cancellation and set FD_CLOEXEC for /etc/netgroup.
10126 * nss/nss_files/files-key.c (search): Don't allow cancellation when
10127 reading /etc/publickey.
10129 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
10130 allow cancellation when reading /etc/group.
10132 * nss/nss_files/files-alias.c (internal_setent): Don't allow
10134 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
10136 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
10137 when using data file.
10139 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
10141 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
10142 (write_nis_obj): Use "c" and "e" in fopen.
10144 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
10146 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
10148 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
10150 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
10152 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
10155 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
10157 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
10159 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
10161 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
10162 file parsing and set FD_CLOEXEC.
10164 2011-11-14 Ulrich Drepper <drepper@gmail.com>
10166 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
10168 2011-11-14 Andreas Schwab <schwab@redhat.com>
10170 * malloc/arena.c (arena_get2): Don't call reused_arena when
10171 _int_new_arena failed.
10173 2011-11-14 Ulrich Drepper <drepper@gmail.com>
10175 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
10176 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
10177 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
10178 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10179 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10180 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
10181 to compile strcasecmp and strncasecmp.
10182 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
10183 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
10185 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
10187 2011-11-13 Ulrich Drepper <drepper@gmail.com>
10189 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
10190 locale-defines.sym to gen-as-const-headers.
10191 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
10192 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
10193 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
10194 to compile strcasecmp and strncasecmp.
10195 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
10196 strcasecmp_l and strncasecmp_l.
10197 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
10198 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
10199 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
10200 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
10201 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
10202 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
10203 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
10204 * sysdeps/i386/i686/multiarch/strncase.S: New file.
10205 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
10206 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
10207 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
10209 2011-11-12 Ulrich Drepper <drepper@gmail.com>
10211 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
10212 result of SYSDEP_GETTIME_CPU to retval.
10213 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
10214 parameter list to macro. Remove trailing semicolon. Adjust users.
10216 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
10219 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
10221 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
10223 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
10224 from unused variable.
10226 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
10228 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
10231 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
10234 * sunrpc/rpc_prot.c (rejected): Fix case value.
10236 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
10237 unsigned long long int to avoid warnings in shift.
10239 * posix/regex_internal.c (re_string_reconstruct): Actually use result
10241 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
10244 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
10245 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
10246 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
10248 * nis/nis_table.c (nis_list): Use variable of correct type for
10249 result of __follow_path call.
10251 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10253 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
10254 of math functions ceil, trunc, floor, round, and sqrt, when
10255 avaliable on the platform.
10256 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
10258 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10259 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
10260 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
10262 2011-10-30 Marek Polacek <mpolacek@redhat.com>
10264 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
10265 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
10267 2011-11-11 Roland McGrath <roland@hack.frob.com>
10269 * include/unistd.h: Fix __readlink return type.
10270 Reported by Chris Metcalf <cmetcalf@tilera.com>.
10272 2011-11-11 Ulrich Drepper <drepper@gmail.com>
10274 * stdlib/ucontext.h: Undo last change for makecontext.
10276 2011-11-11 Andreas Schwab <schwab@redhat.com>
10278 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
10280 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
10281 * setjmp/setjmp.h: Mark functions as non-leaf.
10282 * setjmp/bits/setjmp2.h: Likewise.
10283 * stdlib/ucontext.h: Likewise.
10285 2011-11-10 Andreas Schwab <schwab@redhat.com>
10287 * malloc/arena.c (_int_new_arena): Don't increment narenas.
10288 (reused_arena): Don't check arena limit.
10289 (arena_get2): Atomically check arena limit.
10291 2011-11-08 Ulrich Drepper <drepper@gmail.com>
10293 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
10294 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
10296 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
10299 2011-11-07 Andreas Schwab <schwab@redhat.com>
10301 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
10302 handler when locking.
10304 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10305 Fix size of allocated buffer.
10307 2011-11-04 Andreas Schwab <schwab@redhat.com>
10310 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
10311 declarations for long double functions.
10312 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
10314 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
10316 2011-11-03 Andreas Schwab <schwab@redhat.com>
10318 * nscd/nscd.c (main): Don't start AVC thread until credentials are
10321 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
10324 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
10326 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
10328 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
10330 * include/alloca.h (stackinfo_alloca_round): Define.
10331 (extend_alloca): Use it.
10332 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
10333 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
10336 * scripts/check-local-headers.sh: Ignore libaudit.h.
10338 * nscd/Makefile (extra-objs): Make recursively expanded.
10340 2011-11-01 Ulrich Drepper <drepper@gmail.com>
10342 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
10343 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10345 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
10346 * posix/tst-rfc3484-2.c: Likewise.
10347 * posix/tst-rfc3484-3.c: Likewise.
10349 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10351 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
10353 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
10354 process_vm_writev from libc using GLIBC_2.15 version.
10356 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
10358 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
10360 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
10363 2011-10-31 Ulrich Drepper <drepper@gmail.com>
10366 * nss/getent.c (initgroups_keys): Show error message in case no group
10369 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
10370 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
10371 __bump_nl_timestamp.
10372 * nscd/connections (nscd_init): When host database is served open
10373 netlink socket and request notification about configuration changes.
10374 (main_loop_poll): Track netlink file descriptor and bump timestamp
10375 in case data becomes available.
10376 (main_loop_epoll): Likewise.
10377 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
10378 (database_pers_head): Add extra_data fileds.
10379 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
10380 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
10381 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
10383 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
10384 in6ai data, call __free_in6ai.
10385 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
10386 Add -DHAVE_NETLINK.
10387 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
10388 interface information. Reuse previous data if netlink timestamp
10390 (__bump_nl_timestamp): New function.
10391 (__free_in6ai): New function.
10393 2011-10-30 Ulrich Drepper <drepper@gmail.com>
10395 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
10396 close_not_cancel_no_status here.
10397 (__check_pf): Reorganize code a bit to not call close twice if OOM.
10399 2011-10-29 Ulrich Drepper <drepper@gmail.com>
10402 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
10405 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
10406 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
10407 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
10409 2011-07-03 Andreas Jaeger <aj@suse.de>
10412 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
10413 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
10414 * math/libm-test.inc (sin_test): Add test case.
10416 2011-10-29 Ulrich Drepper <drepper@gmail.com>
10419 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
10420 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10422 * elf/chroot_canon.c (chroot_canon): Cleanups.
10424 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
10427 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
10428 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10430 * string/test-strchr.c: Make usable for strchrnul testing.
10431 * string/test-strchrnul.c: New file.
10432 * string/Makefile (strop-tests): Add strchrnul.
10434 * po/it.po: Update from translation team.
10435 * po/es.po: Likewise.
10437 2011-10-28 Ulrich Drepper <drepper@gmail.com>
10439 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
10440 the three constants needed as parameters. Drop the others.
10441 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
10442 __m128i_strloadu_tolower.
10443 Create and initialize variable zero and use it in all the places
10444 where _mm_setzero_si128 was used.
10446 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
10447 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
10448 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
10449 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
10451 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
10452 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
10453 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
10454 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
10455 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
10456 __mpranred, __mptan.
10457 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
10458 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
10459 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
10460 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
10461 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
10462 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
10463 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
10464 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
10465 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
10467 2011-10-28 Andreas Schwab <schwab@redhat.com>
10469 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
10470 redefine if SHARED.
10471 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
10473 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
10474 wide char related routines to wcsmbs subdir.
10476 2011-10-27 Andreas Schwab <schwab@redhat.com>
10479 * misc/sys/cdefs.h (__THROWNL): Define.
10480 * posix/unistd.h: Use __THREADNL instead of __THREAD
10481 for memory synchronization functions.
10483 2011-10-26 Roland McGrath <roland@hack.frob.com>
10486 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
10488 * manual/stdio.texi (Obstack Streams): Node removed.
10490 2011-10-26 Andreas Schwab <schwab@redhat.com>
10492 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
10493 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10494 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10496 * math/math_private.h (math_force_eval): Allow non-addressable
10498 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
10500 2011-10-25 Ulrich Drepper <drepper@gmail.com>
10502 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
10503 file is not needed.
10505 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
10506 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
10507 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10508 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10509 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10510 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10511 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10512 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
10514 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
10515 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
10516 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
10517 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
10518 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
10519 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
10520 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
10521 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
10522 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
10523 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
10524 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
10525 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
10526 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
10527 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
10528 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
10529 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
10530 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
10531 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
10532 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
10534 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
10535 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
10537 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
10538 place. Use VEX encoding when compiling for AVX.
10540 2011-10-25 Andreas Schwab <schwab@redhat.com>
10542 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
10543 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
10545 * string/test-strchr.c (do_test): Don't generate NUL bytes.
10547 2011-10-25 Ulrich Drepper <drepper@gmail.com>
10549 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
10550 useless if() expression.
10551 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10552 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10553 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10554 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10555 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10556 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10557 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10558 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10559 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10560 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10561 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10562 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10563 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10564 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10565 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10566 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10567 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10568 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10569 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10571 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
10573 2011-10-25 Andreas Schwab <schwab@redhat.com>
10575 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
10577 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10579 2011-10-25 Ulrich Drepper <drepper@gmail.com>
10581 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
10582 .text section. Avoid duplicate constants.
10583 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10584 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10585 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10586 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10587 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10588 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10589 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10590 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10591 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10592 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
10593 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10594 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10595 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
10596 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
10597 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10598 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
10599 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10600 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10601 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10602 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10603 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10604 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10605 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10606 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
10607 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
10608 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
10609 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
10610 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
10611 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
10612 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
10613 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
10614 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
10615 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10616 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
10617 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
10618 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
10619 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
10620 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
10621 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
10622 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
10623 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
10624 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
10625 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
10626 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
10627 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
10629 2011-10-24 Ulrich Drepper <drepper@gmail.com>
10631 * sysdeps/x86_64/dla.h: Move to ...
10632 * sysdeps/x86_64/fpu/dla.h: ...here.
10633 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
10634 situations. Use __builtin_fma only for gcc 4.6 and up.
10636 * config.make.in: Add have-mfma4 entry.
10637 * configure.in: Substitute libc_cv_cc_fma4.
10638 * math/Makefile (dbl-only-routines): Add sincostab.
10639 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
10640 Use __sincostab not sincos.
10641 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
10643 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10644 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10645 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10646 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
10648 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
10649 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
10650 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
10651 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
10653 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
10654 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
10656 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
10657 define aliases when function name is a macro.
10658 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
10659 sysdeps/ieee754/dbl-64/sincos.tbl.
10660 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
10661 fma4-enabled routines.
10662 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
10663 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
10664 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
10665 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
10666 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
10667 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
10668 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
10669 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
10670 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
10671 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
10672 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
10673 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
10674 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
10675 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
10676 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
10677 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
10678 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
10679 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
10680 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
10681 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
10682 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
10683 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
10684 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
10685 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
10686 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
10687 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
10688 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
10689 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
10690 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
10691 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
10693 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
10695 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10696 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10697 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10698 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10699 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10700 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10701 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10702 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10704 2011-10-24 Andreas Schwab <schwab@redhat.com>
10706 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
10708 2011-10-23 Ulrich Drepper <drepper@gmail.com>
10710 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
10712 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
10714 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
10716 * string/strnlen.c: Don't define STRNLEN, reverse logic.
10717 Remove unused variable magic_bits.
10718 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
10720 * string/strnlen.c: Define and use STRNLEN macro.
10721 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
10722 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
10723 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
10724 * wcsmbs/wcslen.c: Define and use WCSLEN.
10725 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
10726 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
10727 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
10728 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
10729 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
10730 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
10731 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
10733 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10735 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10736 strnlen-sse2-no-bsf.
10737 Rename strlen-no-bsf to strlen-sse2-no-bsf.
10738 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
10739 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
10740 Add strnlen support.
10741 (USE_AS_STRNLEN): New macro.
10742 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
10743 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
10744 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
10745 * sysdeps/x86_64/wcslen.S: New file.
10747 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
10749 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
10750 XMM-moves are used for copying on small sizes.
10752 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10754 * wcsmbs/Makefile (strop-tests): Add wcschr.
10755 * wcsmbs/test-wcschr.c: New file.
10756 * string/test-strchr.c: Update.
10757 Add wcschr support.
10760 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10762 * wcsmbs/Makefile (strop-tests): Add wcslen.
10763 * wcsmbs/test-wcslen.c: New file.
10764 * string/test-strlen.c: Update.
10765 Add wcslen support.
10768 2011-10-23 Ulrich Drepper <drepper@gmail.com>
10770 * po/it.po: Update from translation team.
10772 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10774 * sysdeps/x86_64/wcscmp.S: Update.
10775 Fix wrong comparison semantics.
10776 wcscmp shall use signed comparison not unsigned.
10777 Don't use substraction to avoid overflow bug.
10778 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
10779 * wcsmbc/wcscmp.c: Likewise.
10780 * string/test-strcmp.c: Likewise.
10781 Add new tests to check cases with negative values.
10783 2011-10-23 Ulrich Drepper <drepper@gmail.com>
10785 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
10786 * sysdeps/x86_64/dla.h: ...here. New file.
10787 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
10788 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10789 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10790 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10791 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10792 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10793 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10794 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10795 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10797 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
10799 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
10800 __ynl_finite aliases.
10802 2011-10-22 Ulrich Drepper <drepper@gmail.com>
10804 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10806 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
10808 [DLA_FMA] (EMULV): Use DLA_FMA.
10809 [DLA_FMA] (MUL12): Use EMULV.
10810 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
10811 that are not needed.
10812 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10813 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10814 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10815 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10816 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10817 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10818 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10820 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
10822 * math/s_nan.c: Undef __nan.
10823 * math/s_nanf.c: Undef __nanf.
10824 * math/s_nanl.c: Undef __nanl.
10825 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
10828 2011-10-22 Ulrich Drepper <drepper@gmail.com>
10830 * math/s_catan.c: Add branch predictions.
10831 * math/s_catanf.c: Likewise.
10832 * math/s_catanh.c: Likewise.
10833 * math/s_catanhf.c: Likewise.
10834 * math/s_catanhl.c: Likewise.
10835 * math/s_catanl.c: Likewise.
10836 * math/s_cexp.c: Likewise.
10837 * math/s_cexpf.c: Likewise.
10838 * math/s_cexpl.c: Likewise.
10839 * math/s_clog.c: Likewise.
10840 * math/s_clog10.c: Likewise.
10841 * math/s_clog10f.c: Likewise.
10842 * math/s_clog10l.c: Likewise.
10843 * math/s_clogf.c: Likewise.
10844 * math/s_clogl.c: Likewise.
10845 * math/s_csqrt.c: Likewise.
10846 * math/s_csqrtf.c: Likewise.
10847 * math/s_csqrtl.c: Likewise.
10848 * math/s_ctanf.c: Likewise.
10849 * math/s_ctanh.c: Likewise.
10850 * math/s_ctanhf.c: Likewise.
10851 * math/s_ctanhl.c: Likewise.
10852 * math/s_ctanl.c: Likewise.
10854 * math/math_private.h: Define __nan, __nanf, __nanl.
10855 * math/s_cacosh.c: Include <math_private.h>.
10856 * math/s_cacoshl.c: Likewise.
10857 * math/s_casinh.c: Likewise.
10858 * math/s_casinhf.c: Likewise.
10859 * math/s_casinhl.c: Likewise.
10860 * math/s_ccos.c: Rely entire on ccosh.
10861 * math/s_ccosf.c: Rely entire on ccoshf.
10862 * math/s_ccosl.c: Rely entirely on ccoshl.
10863 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
10864 Remove tests for FE_INVALID.
10865 * math/s_ccoshf.c: Likewise.
10866 * math/s_ccoshl.c: Likewise.
10867 * math/s_csin.c: Likewise.
10868 * math/s_csinf.c: Likewise.
10869 * math/s_csinh.c Likewise.
10870 * math/s_csinhf.c: Likewise.
10871 * math/s_csinhl.c: Likewise.
10872 * math/s_csinl.c: Likewise.
10873 * math/s_ctan.c: Likewise.
10874 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
10875 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
10876 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
10878 2011-10-21 Ulrich Drepper <drepper@gmail.com>
10880 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
10881 compilation problems.
10883 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
10886 2011-10-20 Ulrich Drepper <drepper@gmail.com>
10888 * sysdeps/i386/configure.in: Test for -mfma4 option.
10889 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
10890 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
10891 COMMON_CPUID_INDEX_80000001.
10892 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
10893 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
10894 use it if FMA3 is not supported.
10895 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
10897 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
10898 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10900 2011-10-20 Andreas Schwab <schwab@redhat.com>
10903 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
10904 it would create a cycle with a link time dependency.
10906 2011-10-19 Ulrich Drepper <drepper@gmail.com>
10908 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
10910 * string/Makefile (strop-tests): Add rawmemchr.
10911 * string/test-rawmemchr.c: New file.
10913 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
10914 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
10915 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
10916 when compiling str{,n}casecmp and when AVX is available. Hook up
10917 new optimized code in initializers.
10919 2011-10-19 Andreas Schwab <schwab@redhat.com>
10921 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
10922 __feraiseexcept instead of feraiseexcept.
10924 2011-10-18 Ulrich Drepper <drepper@gmail.com>
10926 * math/math_private.h: Define defaults for libc_fetestexcept and
10928 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
10929 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
10930 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
10931 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10932 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10933 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10934 libc_fetestexcept and libc_feupdateenv.
10936 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
10937 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
10938 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
10939 * sysdeps/x86_64/fpu/math_private.h: Define special version of
10940 libc_feholdexcept_setround.
10942 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
10943 Add s_nearbyint-c and s_nearbyintf-c.
10944 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
10945 nearbyintf inlines.
10946 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
10947 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
10948 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
10949 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
10951 * math/math_private.h: Define defaults for libc_fegetround,
10952 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
10953 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
10954 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
10955 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
10956 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
10957 standard functions.
10958 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10959 Remove comments and hacks for old compiler versions.
10960 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10961 libc_fegetround, libc_fesetround, libc_feholdexcept, and
10962 libc_feholdexceptl.
10964 2011-10-18 Andreas Schwab <schwab@redhat.com>
10966 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
10967 (__feraiseexcept_renamed): Add __NTH.
10968 (feraiseexcept): Add __NTH. Rename local variables to fix
10969 namespace violations.
10971 2011-10-17 Ulrich Drepper <drepper@gmail.com>
10973 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
10975 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
10977 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
10978 recently added interfaces.
10979 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
10981 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
10982 about macro parameter expansion.
10984 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
10985 __NO_MATH_INLINES is defined. Cleanups.
10987 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
10988 and __floorf is target has SSE4.1.
10989 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
10990 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
10991 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
10992 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
10994 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
10996 (floorf): Likewise.
10998 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
11000 2011-10-17 Andreas Schwab <schwab@redhat.com>
11002 * misc/sys/cdefs.h: Fix last change.
11004 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
11007 2011-10-16 Ulrich Drepper <drepper@gmail.com>
11009 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
11011 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
11012 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11013 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11014 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11015 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11016 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
11017 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11018 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11019 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
11020 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
11021 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
11022 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
11023 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
11024 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
11025 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
11026 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
11027 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
11028 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
11029 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
11030 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
11031 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
11032 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
11034 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
11035 ceil, ceilf, floor, floorf.
11037 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
11038 Perform IRELATIVE relocations last.
11040 * elf/do-rel.h: Add another parameter nrelative, replacing the
11041 local variable with the same name. Change name of the function
11042 to end in Rel or Rela (uppercase).
11043 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
11044 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
11045 elf_dynamic_do_##reloc function.
11047 2011-10-15 Ulrich Drepper <drepper@gmail.com>
11049 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
11050 is sufficient, at least on modern CPUs.
11052 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
11054 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
11055 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
11057 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
11059 * math/bits/math-finite.h: Add entries for exp.
11060 * math/e_expl.c: Add __*_finite alias.
11061 * sysdeps/i386/fpu/e_exp.S: Likewise.
11062 * sysdeps/i386/fpu/e_expf.S: Likewise.
11063 * sysdeps/i386/fpu/e_expl.c: Likewise.
11064 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11065 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11066 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11067 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11068 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
11069 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11070 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11072 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
11073 is sufficient, at least on modern CPUs.
11075 * ctype/ctype-info.c (__ctype_init): Define.
11076 * include/ctype.h (__ctype_init): Declare.
11077 (__ctype_b_loc): The variable is always initialized.
11078 (__ctype_toupper_loc): Likewise.
11079 (__ctype_tolower_loc): Likewise.
11080 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
11081 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
11083 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
11085 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
11087 * configure.in: Also look in $cxxmachine/include for C++ system
11090 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11092 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
11093 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
11094 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
11095 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
11096 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
11097 (USE_AS_WMEMCMP): New macro.
11099 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
11100 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
11101 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
11102 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
11103 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11104 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
11105 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
11106 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
11107 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
11108 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
11109 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
11110 (USE_AS_WMEMCMP): New macro.
11111 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
11112 * sysdeps/string/test-memcmp.c: Update.
11113 Fix simple_wmemcmp.
11115 * wcsmbs/wmemcmp.c: Update.
11116 (WMEMCMP): New macro.
11119 2011-10-12 Andreas Jaeger <aj@suse.de>
11122 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
11124 2011-10-15 Ulrich Drepper <drepper@gmail.com>
11126 * libio/iofwide.c (do_length): Avoid warning.
11128 * ctype/ctype.h (__isctype_f): Add missing __THROW.
11130 2011-10-14 Ulrich Drepper <drepper@gmail.com>
11132 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
11134 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
11135 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
11136 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
11137 * sysdeps/i386/i686/fpu/e_log.S: New file.
11138 * sysdeps/i386/i686/fpu/e_logf.S: New file.
11139 * sysdeps/i386/i686/fpu/e_logl.S: New file.
11141 * ctype/ctype.h: Add support for inlined isXXX functions when
11142 compiling C++ code.
11144 2011-10-14 Andreas Schwab <schwab@redhat.com>
11146 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11148 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
11150 2011-10-13 Roland McGrath <roland@hack.frob.com>
11153 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
11155 2011-10-13 Andreas Schwab <schwab@redhat.com>
11157 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
11158 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
11161 * sysdeps/x86_64/memrchr.S: Check for zero size.
11163 * string/stratcliff.c: Add memrchr tests.
11165 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11167 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11168 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
11169 rawmemchr-sse2 rawmemchr-sse2-bsf.
11170 * sysdeps/i386/i686/multiarch/memchr.S: New file.
11171 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
11172 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
11173 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
11174 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
11175 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
11176 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
11177 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
11178 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
11179 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
11180 * string/memrchr.c (MEMRCHR): New macro.
11182 2011-10-12 Ulrich Drepper <drepper@gmail.com>
11184 Add integration with gcc's -ffinite-math-only and optimize wrapper
11186 * Versions.def: Define GLIBC_2.15 version for libm.
11187 * math/Makefile (headers): Add bits/math-finite.h.
11188 * math/bits/math-finite.h: New file.
11189 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
11190 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
11191 * math/e_acoshl.c: Add __*_finite alias.
11192 * math/e_acosl.c: Likewise.
11193 * math/e_asinl.c: Likewise.
11194 * math/e_atan2l.c: Likewise.
11195 * math/e_atanhl.c: Likewise.
11196 * math/e_coshl.c: Likewise.
11197 * math/e_exp10.c: Likewise.
11198 * math/e_exp10f.c: Likewise.
11199 * math/e_exp10l.c: Likewise.
11200 * math/e_exp2l.c: Likewise.
11201 * math/e_fmodl.c: Likewise.
11202 * math/e_gammal_r.c: Likewise.
11203 * math/e_hypotl.c: Likewise.
11204 * math/e_j0l.c: Likewise.
11205 * math/e_j1l.c: Likewise.
11206 * math/e_jnl.c: Likewise.
11207 * math/e_lgammal_r.c: Likewise.
11208 * math/e_log10l.c: Likewise.
11209 * math/e_log2l.c: Likewise.
11210 * math/e_logl.c: Likewise.
11211 * math/e_powl.c: Likewise.
11212 * math/e_sinhl.c: Likewise.
11213 * math/e_sqrtl.c: Likewise.
11214 * math/e_scalb.c: Completely rewritten and optimized.
11215 * math/e_scalbf.c: Likewise.
11216 * math/e_scalbl.c: Likewise.
11217 * math/w_acos.c: Likewise.
11218 * math/w_acosf.c: Likewise.
11219 * math/w_acosl.c: Likewise.
11220 * math/w_acosh.c: Likewise.
11221 * math/w_acoshf.c: Likewise.
11222 * math/w_acoshl.c: Likewise.
11223 * math/w_asin.c: Likewise.
11224 * math/w_asinf.c: Likewise.
11225 * math/w_asinl.c: Likewise.
11226 * math/w_atan2.c: Likewise.
11227 * math/w_atan2f.c: Likewise.
11228 * math/w_atan2l.c: Likewise.
11229 * math/w_atanh.c: Likewise.
11230 * math/w_atanhf.c: Likewise.
11231 * math/w_atanhl.c: Likewise.
11232 * math/w_exp10.c: Likewise.
11233 * math/w_exp10f.c: Likewise.
11234 * math/w_exp10l.c: Likewise.
11235 * math/w_fmod.c: Likewise.
11236 * math/w_fmodf.c: Likewise.
11237 * math/w_fmodl.c: Likewise.
11238 * math/w_j0.c: Likewise.
11239 * math/w_j0f.c: Likewise.
11240 * math/w_j0l.c: Likewise.
11241 * math/w_j1.c: Likewise.
11242 * math/w_j1f.c: Likewise.
11243 * math/w_j1l.c: Likewise.
11244 * math/w_jn.c: Likewise.
11245 * math/w_jnf.c: Likewise.
11246 * math/w_log.c: Likewise.
11247 * math/w_logf.c: Likewise.
11248 * math/w_logl.c: Likewise.
11249 * math/w_log10.c: Likewise.
11250 * math/w_log10f.c: Likewise.
11251 * math/w_log10l.c: Likewise.
11252 * math/w_log2.c: Likewise.
11253 * math/w_log2f.c: Likewise.
11254 * math/w_log2l.c: Likewise.
11255 * math/w_pow.c: Likewise.
11256 * math/w_powf.c: Likewise.
11257 * math/w_powl.c: Likewise.
11258 * math/w_remainder.c: Likewise.
11259 * math/w_remainderf.c: Likewise.
11260 * math/w_remainderl.c: Likewise.
11261 * math/w_scalb.c: Likewise.
11262 * math/w_scalbf.c: Likewise.
11263 * math/w_scalbl.c: Likewise.
11264 * math/w_sqrt.c: Likewise.
11265 * math/w_sqrtf.c: Likewise.
11266 * math/w_sqrtl.c: Likewise.
11267 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
11268 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
11270 * math/math_private.h: Declare __kernel_standard_f.
11271 * math/w_cosh.c: Remove cruft and optimize a bit.
11272 * math/w_coshf.c: Likewise.
11273 * math/w_coshl.c: Likewise.
11274 * math/w_exp2.c: Likewise.
11275 * math/w_exp2f.c: Likewise.
11276 * math/w_exp2l.c: Likewise.
11277 * math/w_hypot.c: Likewise.
11278 * math/w_hypotf.c: Likewise.
11279 * math/w_hypotl.c: Likewise.
11280 * math/w_lgamma.c: Likewise.
11281 * math/w_lgamma_r.c: Likewise.
11282 * math/w_lgammaf.c: Likewise.
11283 * math/w_lgammaf_r.c: Likewise.
11284 * math/w_lgammal.c: Likewise.
11285 * math/w_lgammal_r.c: Likewise.
11286 * math/w_sinh.c: Likewise.
11287 * math/w_sinhf.c: Likewise.
11288 * math/w_sinhl.c: Likewise.
11289 * math/w_tgamma.c: Likewise.
11290 * math/w_tgammaf.c: Likewise.
11291 * math/w_tgammal.c: Likewise.
11292 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11293 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11294 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
11295 Minor optimizations. Pretty printing. Remove cruft.
11296 * sysdeps/i386/fpu/e_acosf.S: Likewise.
11297 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11298 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11299 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11300 * sysdeps/i386/fpu/e_acosl.c: Likewise.
11301 * sysdeps/i386/fpu/e_asin.S: Likewise.
11302 * sysdeps/i386/fpu/e_asinf.S: Likewise.
11303 * sysdeps/i386/fpu/e_atan2.S: Likewise.
11304 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
11305 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
11306 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11307 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11308 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11309 * sysdeps/i386/fpu/e_exp10.S: Likewise.
11310 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
11311 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
11312 * sysdeps/i386/fpu/e_exp2.S: Likewise.
11313 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
11314 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
11315 * sysdeps/i386/fpu/e_fmod.S: Likewise.
11316 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
11317 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
11318 * sysdeps/i386/fpu/e_hypot.S: Likewise.
11319 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
11320 * sysdeps/i386/fpu/e_log.S: Likewise.
11321 * sysdeps/i386/fpu/e_log10.S: Likewise.
11322 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11323 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11324 * sysdeps/i386/fpu/e_log2.S: Likewise.
11325 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11326 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11327 * sysdeps/i386/fpu/e_logf.S: Likewise.
11328 * sysdeps/i386/fpu/e_logl.S: Likewise.
11329 * sysdeps/i386/fpu/e_pow.S: Likewise.
11330 * sysdeps/i386/fpu/e_powf.S: Likewise.
11331 * sysdeps/i386/fpu/e_powl.S: Likewise.
11332 * sysdeps/i386/fpu/e_remainder.S: Likewise.
11333 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
11334 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
11335 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11336 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11337 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11338 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
11339 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
11340 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
11341 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11342 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11343 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11344 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11345 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11346 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11347 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11348 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11349 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11350 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11351 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11352 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11353 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11354 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11355 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11356 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11357 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11358 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11359 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11360 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11361 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11362 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
11363 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11364 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11365 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
11366 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11367 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11368 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
11369 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11370 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
11371 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11372 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11373 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11374 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11375 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
11376 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
11377 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
11378 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
11379 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
11380 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11381 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
11382 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11383 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
11384 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11385 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11386 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11387 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11388 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11389 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11390 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11391 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11392 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11393 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11394 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11395 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11396 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11397 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11398 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11399 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11400 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11401 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11402 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
11403 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11404 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11405 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
11406 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11407 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
11408 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
11409 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
11410 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11411 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11412 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11413 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11414 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11415 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11416 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11417 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11418 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11419 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11420 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11421 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11422 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11423 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
11424 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11425 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11426 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11427 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11428 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11429 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11430 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11431 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11432 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11433 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11434 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11435 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11436 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
11437 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
11438 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
11439 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
11440 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
11441 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
11442 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
11443 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
11444 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
11445 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11446 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11447 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11448 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11449 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
11450 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11451 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
11452 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
11453 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
11454 (__isnanf): Likewise.
11455 (__isinf_ns): Likewise.
11456 (__isinf_nsf): Likewise.
11457 (__finite): Likewise.
11458 (__finitef): Likewise.
11459 (__ieee754_sqrt): Define as macro.
11460 (__ieee754_sqrtf): Define as macro.
11461 (__ieee754_sqrtl): Define as macro.
11462 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
11464 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
11465 __FINITE_MATH_ONLY__ consistent.
11466 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
11468 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
11470 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
11473 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
11475 2011-10-09 Ulrich Drepper <drepper@gmail.com>
11477 * po/ja.po: Update from translation team.
11479 2011-10-08 Roland McGrath <roland@hack.frob.com>
11481 * locale/programs/locarchive.c (prepare_address_space): New function.
11482 (create_archive, enlarge_archive, open_archive): Use it.
11484 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
11485 inside [SHARED], where it is used.
11487 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
11489 * nss/getent.c (netgroup_keys): Remove unused variable.
11490 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
11492 2011-10-08 Ulrich Drepper <drepper@gmail.com>
11494 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
11495 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
11496 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
11497 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
11498 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
11499 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
11500 * math/Makefile (libm-calls): Add s_isinf_ns.
11501 * math/divtc3.c: Use __isinf_nsl instead of isinf.
11502 * math/multc3.c: Likewise.
11503 * math/s_casin.c: Likewise.
11504 * math/s_casinf.c: Likewise.
11505 * math/s_casinl.c: Likewise.
11506 * math/s_ccos.c: Likewise.
11507 * math/s_ccosf.c: Likewise.
11508 * math/s_ccosl.c: Likewise.
11509 * math/s_ctan.c: Likewise.
11510 * math/s_ctanf.c: Likewise.
11511 * math/s_ctanh.c: Likewise.
11512 * math/s_ctanhf.c: Likewise.
11513 * math/s_ctanhl.c: Likewise.
11514 * math/s_ctanl.c: Likewise.
11515 * math/w_fmod.c: Likewise.
11516 * math/w_fmodf.c: Likewise.
11517 * math/w_fmodl.c: Likewise.
11518 * math/w_remainder.c: Likewise.
11519 * math/w_remainderf.c: Likewise.
11520 * math/w_remainderl.c: Likewise.
11521 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
11522 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
11523 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
11524 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
11525 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
11526 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
11527 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
11528 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
11530 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
11532 * stdio-common/printf_fphex.c: Likewise.
11533 * stdio-common/printf_size.c: Likewise.
11535 * math/e_exp10.c: Include math_private.h using <...> not "...".
11536 * math/e_exp10f.c: Likewise.
11537 * math/e_exp10l.c: Likewise.
11538 * math/e_exp2l.c: Likewise.
11539 * math/e_j0l.c: Likewise.
11540 * math/e_j1l.c: Likewise.
11541 * math/e_jnl.c: Likewise.
11542 * math/e_lgammal_r.c: Likewise.
11543 * math/e_rem_pio2l.c: Likewise.
11544 * math/e_scalb.c: Likewise.
11545 * math/e_scalbf.c: Likewise.
11546 * math/e_scalbl.c: Likewise.
11547 * math/k_cosl.c: Likewise.
11548 * math/k_sinl.c: Likewise.
11549 * math/k_tanl.c: Likewise.
11550 * math/s_cacoshf.c: Likewise.
11551 * math/s_catan.c: Likewise.
11552 * math/s_catanf.c: Likewise.
11553 * math/s_catanh.c: Likewise.
11554 * math/s_catanhf.c: Likewise.
11555 * math/s_catanhl.c: Likewise.
11556 * math/s_catanl.c: Likewise.
11557 * math/s_ccosh.c: Likewise.
11558 * math/s_ccoshf.c: Likewise.
11559 * math/s_ccoshl.c: Likewise.
11560 * math/s_cexp.c: Likewise.
11561 * math/s_cexpf.c: Likewise.
11562 * math/s_cexpl.c: Likewise.
11563 * math/s_clog.c: Likewise.
11564 * math/s_clog10.c: Likewise.
11565 * math/s_clog10f.c: Likewise.
11566 * math/s_clog10l.c: Likewise.
11567 * math/s_clogf.c: Likewise.
11568 * math/s_clogl.c: Likewise.
11569 * math/s_csin.c: Likewise.
11570 * math/s_csinf.c: Likewise.
11571 * math/s_csinh.c: Likewise.
11572 * math/s_csinhf.c: Likewise.
11573 * math/s_csinhl.c: Likewise.
11574 * math/s_csinl.c: Likewise.
11575 * math/s_csqrt.c: Likewise.
11576 * math/s_csqrtf.c: Likewise.
11577 * math/s_csqrtl.c: Likewise.
11578 * math/s_ctan.c: Likewise.
11579 * math/s_ctanf.c: Likewise.
11580 * math/s_ctanh.c: Likewise.
11581 * math/s_ctanhf.c: Likewise.
11582 * math/s_ctanhl.c: Likewise.
11583 * math/s_ctanl.c: Likewise.
11584 * math/s_ldexp.c: Likewise.
11585 * math/s_ldexpf.c: Likewise.
11586 * math/s_ldexpl.c: Likewise.
11587 * math/s_significand.c: Likewise.
11588 * math/s_significandf.c: Likewise.
11589 * math/s_significandl.c: Likewise.
11590 * math/w_acos.c: Likewise.
11591 * math/w_acosf.c: Likewise.
11592 * math/w_acosh.c: Likewise.
11593 * math/w_acoshf.c: Likewise.
11594 * math/w_acoshl.c: Likewise.
11595 * math/w_acosl.c: Likewise.
11596 * math/w_asin.c: Likewise.
11597 * math/w_asinf.c: Likewise.
11598 * math/w_asinl.c: Likewise.
11599 * math/w_atan2.c: Likewise.
11600 * math/w_atan2f.c: Likewise.
11601 * math/w_atan2l.c: Likewise.
11602 * math/w_atanh.c: Likewise.
11603 * math/w_atanhf.c: Likewise.
11604 * math/w_atanhl.c: Likewise.
11605 * math/w_cosh.c: Likewise.
11606 * math/w_coshf.c: Likewise.
11607 * math/w_coshl.c: Likewise.
11608 * math/w_dremf.c: Likewise.
11609 * math/w_exp10.c: Likewise.
11610 * math/w_exp10f.c: Likewise.
11611 * math/w_exp10l.c: Likewise.
11612 * math/w_exp2.c: Likewise.
11613 * math/w_exp2f.c: Likewise.
11614 * math/w_fmod.c: Likewise.
11615 * math/w_fmodf.c: Likewise.
11616 * math/w_fmodl.c: Likewise.
11617 * math/w_hypot.c: Likewise.
11618 * math/w_hypotf.c: Likewise.
11619 * math/w_hypotl.c: Likewise.
11620 * math/w_j0.c: Likewise.
11621 * math/w_j0f.c: Likewise.
11622 * math/w_j0l.c: Likewise.
11623 * math/w_j1.c: Likewise.
11624 * math/w_j1f.c: Likewise.
11625 * math/w_j1l.c: Likewise.
11626 * math/w_jn.c: Likewise.
11627 * math/w_jnf.c: Likewise.
11628 * math/w_jnl.c: Likewise.
11629 * math/w_lgamma.c: Likewise.
11630 * math/w_lgamma_r.c: Likewise.
11631 * math/w_lgammaf.c: Likewise.
11632 * math/w_lgammaf_r.c: Likewise.
11633 * math/w_lgammal.c: Likewise.
11634 * math/w_lgammal_r.c: Likewise.
11635 * math/w_log.c: Likewise.
11636 * math/w_log10.c: Likewise.
11637 * math/w_log10f.c: Likewise.
11638 * math/w_log10l.c: Likewise.
11639 * math/w_log2.c: Likewise.
11640 * math/w_log2f.c: Likewise.
11641 * math/w_log2l.c: Likewise.
11642 * math/w_logf.c: Likewise.
11643 * math/w_logl.c: Likewise.
11644 * math/w_pow.c: Likewise.
11645 * math/w_powf.c: Likewise.
11646 * math/w_powl.c: Likewise.
11647 * math/w_remainder.c: Likewise.
11648 * math/w_remainderf.c: Likewise.
11649 * math/w_remainderl.c: Likewise.
11650 * math/w_scalb.c: Likewise.
11651 * math/w_scalbf.c: Likewise.
11652 * math/w_scalbl.c: Likewise.
11653 * math/w_sinh.c: Likewise.
11654 * math/w_sinhf.c: Likewise.
11655 * math/w_sinhl.c: Likewise.
11656 * math/w_sqrt.c: Likewise.
11657 * math/w_sqrtf.c: Likewise.
11658 * math/w_sqrtl.c: Likewise.
11659 * math/w_tgamma.c: Likewise.
11660 * math/w_tgammaf.c: Likewise.
11661 * math/w_tgammal.c: Likewise.
11663 * po/ja.po: Update from translation team.
11665 2011-09-29 Andreas Jaeger <aj@suse.de>
11668 * sunrpc/netname.c (netname2host): Fix logic.
11672 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
11674 * math/w_remainder.c (__remainder): Likewise.
11675 * math/w_remainderf.c (__remainderf): Likewise.
11676 * math/libm-test.inc (remainder_test): Add test cases.
11678 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11680 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
11683 2011-10-07 Ulrich Drepper <drepper@gmail.com>
11685 * string/test-memcmp.c: Avoid unncessary #defines.
11686 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
11688 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11690 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
11691 Use new sse2 version for core i3 - i7 as it's faster
11692 than sse42 version.
11693 (bit_Prefer_PMINUB_for_stringop): New.
11694 * sysdeps/x86_64/rawmemchr.S: Update.
11695 Replace with faster SSE2 version.
11696 * sysdeps/x86_64/memrchr.S: New file.
11697 * sysdeps/x86_64/memchr.S: Update.
11698 Replace with faster SSE2 version.
11700 2011-09-12 Marek Polacek <mpolacek@redhat.com>
11702 * elf/dl-load.c (lose): Add cast to avoid warning.
11704 2011-10-07 Ulrich Drepper <drepper@gmail.com>
11706 * po/ca.po: Update from translation team.
11708 * inet/getnetgrent_r.c: Hook up nscd.
11709 * nscd/Makefile (routines): Add nscd_netgroup.
11710 (nscd-modules): Add netgroupcache.
11711 (CFLAGS-netgroupcache.c): Define.
11712 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
11713 (cache_search): Add const to second parameter.
11714 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
11716 (dbs): Add netgrdb entry.
11717 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
11718 (verify_persistent_db): Handle netgrdb.
11719 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
11720 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
11722 (netgroup_response_header): Define.
11723 (innetgroup_response_header): Define.
11724 (datahead): Add netgroup_response_header and innetgroup_response_header
11726 * nscd/nscd.conf: Add entries for netgroup cache.
11727 * nscd/nscd.h (dbtype): Add netgrdb.
11728 (_PATH_NSCD_NETGROUP_DB): Define.
11729 (netgroup_iov_disabled): Declare.
11730 (xmalloc, xcalloc, xrealloc): Move declarations here.
11731 (cache_search): Adjust prototype.
11732 Add netgroup-related prototypes.
11733 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
11734 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
11735 (__nscd_innetgr): Declare.
11736 * nscd/selinux.c (perms): Use access_vector_t as element type and
11737 add netgroup-related initializers.
11738 * nscd/netgroupcache.c: New file.
11739 * nscd/nscd_netgroup.c: New file.
11740 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
11741 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
11742 For four parameters use innetgr.
11743 * nss/nss_files/files-init.c: Add definition and callback for netgr.
11744 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
11745 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
11746 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
11748 * nscd/connections.c (register_traced_file): Don't register file
11749 for disabled databases.
11751 2011-10-06 Ulrich Drepper <drepper@gmail.com>
11753 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
11755 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
11756 from tree and freeing node.
11758 2011-09-25 Jiri Olsa <jolsa@redhat.com>
11760 * nss/nsswitch.c (__nss_database_lookup): Handle
11761 nss_parse_service_list out of memory case.
11763 2011-09-15 Jiri Olsa <jolsa@redhat.com>
11765 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
11766 out of memory case.
11768 2011-10-04 Andreas Schwab <schwab@redhat.com>
11770 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
11771 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
11773 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
11774 elf_machine_rela, elf_machine_lazy_rel.
11775 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
11776 (ELF_DYNAMIC_DO_REL): Likewise.
11777 (ELF_DYNAMIC_DO_RELA): Likewise.
11778 (ELF_DYNAMIC_RELOCATE): Likewise.
11779 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
11780 to ELF_DYNAMIC_DO_REL.
11781 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
11782 (dl_main): In trace mode always set __RTLD_NOIFUNC.
11783 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
11785 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
11786 skip_ifunc, don't call ifunc function if non-zero.
11787 (elf_machine_rela): Likewise.
11788 (elf_machine_lazy_rel): Likewise.
11789 (elf_machine_lazy_rela): Likewise.
11790 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
11791 (elf_machine_lazy_rel): Likewise.
11792 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
11794 (elf_machine_lazy_rel): Likewise.
11795 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11797 (elf_machine_lazy_rel): Likewise.
11798 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
11799 (elf_machine_lazy_rel): Likewise.
11800 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
11801 (elf_machine_lazy_rel): Likewise.
11802 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11803 (elf_machine_lazy_rel): Likewise.
11804 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
11805 (elf_machine_lazy_rel): Likewise.
11806 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
11807 (elf_machine_lazy_rel): Likewise.
11808 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
11809 (elf_machine_lazy_rel): Likewise.
11811 2011-09-28 Ulrich Drepper <drepper@gmail.com>
11813 * nss/nss_files/files-init.c (_nss_files_init): Use static
11814 initialization for all the *_traced_file variables.
11816 2011-09-28 Andreas Schwab <schwab@redhat.com>
11818 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11820 2011-09-27 Roland McGrath <roland@hack.frob.com>
11823 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
11825 2011-09-27 Andreas Schwab <schwab@redhat.com>
11827 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11828 Reread the line before reparsing it.
11830 2011-09-26 Andreas Schwab <schwab@redhat.com>
11832 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
11834 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
11835 Maxim Kuvyrkov <maxim@codesourcery.com>
11836 Joseph Myers <joseph@codesourcery.com>
11838 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
11839 if needed for __stack_chk_guard.
11841 2011-09-19 Roland McGrath <roland@hack.frob.com>
11843 * sysdeps/posix/spawni.c (script_execute): Always define it.
11844 It will be optimized away if unused.
11845 (maybe_script_execute): New function.
11846 (__spawni): Call it.
11848 * Makerules: Don't include tls.make.
11849 (config-tls): Always set to thread.
11850 * tls.make.c: File removed.
11852 2011-09-19 Mike Frysinger <vapier@gentoo.org>
11854 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
11855 * config.make.in (CPPFLAGS-config): New substituted variable.
11857 2011-09-15 Ulrich Drepper <drepper@gmail.com>
11859 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
11862 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
11863 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
11865 2011-09-15 Roland McGrath <roland@hack.frob.com>
11867 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
11868 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
11869 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
11870 (CALL_FAIL): Likewise.
11871 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
11872 (CALL_FAIL): Macro removed.
11873 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
11875 2011-09-15 Ulrich Drepper <drepper@gmail.com>
11877 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
11878 for __FINITE_MATH_ONLY__ == 1.
11880 2011-09-15 Andreas Schwab <schwab@redhat.com>
11882 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
11883 __ieee754_sqrt instead of sqrt.
11884 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
11885 __ieee754_sqrtf instead of sqrtf.
11886 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
11887 __floorf instead of floorf.
11888 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
11889 __floorf, __truncf instead of floorf, truncf.
11891 2011-09-14 Ulrich Drepper <drepper@gmail.com>
11893 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
11895 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
11896 __extern_always_inline.
11897 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
11900 2011-09-14 Andreas Schwab <schwab@redhat.com>
11902 * elf/rtld.c (dl_main): Also relocate in dependency order when
11903 doing symbol dependency testing.
11905 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
11907 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11908 Always define `refsym'.
11910 2011-09-13 Andreas Schwab <schwab@redhat.com>
11912 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
11913 (__FD_ELT): Renamed from __FDELT.
11914 * misc/bits/select2.h (__FD_ELT): Likewise.
11915 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
11916 __FD_MASK instead of __FDELT, __FDMASK.
11917 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11919 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11922 * elf/Makefile (gen-ldd): Fix pattern.
11924 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
11925 (init_tls): Likewise.
11927 2011-09-12 Ulrich Drepper <drepper@gmail.com>
11929 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
11931 2011-09-12 Andreas Schwab <schwab@redhat.com>
11933 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
11934 `struct cmsghdr *' instead of `void *'.
11935 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
11938 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
11940 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
11942 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
11943 ldd_rewrite_script.
11945 2011-09-11 Ulrich Drepper <drepper@gmail.com>
11947 * configure.in: Remove --with-tls option.
11948 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
11949 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
11950 out in case it is missing.
11951 * sysdeps/ia64/elf/configure.in: Likewise.
11952 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
11953 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
11954 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
11955 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
11956 * sysdeps/sh/elf/configure.in: Likewise.
11957 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
11958 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
11959 * sysdeps/x86_64/elf/configure.in: Likewise.
11960 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
11961 * sysdeps/mach/hurd/tls.h: Likewise.
11964 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
11967 * configure.in: Fix use of AC_INIT.
11969 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
11971 2011-09-10 Ulrich Drepper <drepper@gmail.com>
11973 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
11975 * malloc/hooks.c: Likewise.
11978 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
11979 variables statically.
11980 (narenas): Initialize.
11981 (list_lock): Initialize.
11982 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
11983 initializtion of main_arena and list_lock. Small cleanups.
11984 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
11985 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
11986 Add initializers to main_arena and mp_.
11987 (malloc_state): Remove pagesize member. Change all users to use
11990 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
11991 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
11992 is always initialized.
11994 * malloc/malloc.c: Removed unused configurations and dead code.
11995 * malloc/arena.c: Likewise.
11996 * malloc/hooks.c: Likewise.
11997 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
11999 * include/tls.h: Removed. USE___THREAD must always be defined.
12000 * bits/libc-tsd.h: Don't handle !USE___THREAD.
12001 * elf/dl-libc.c: Likewise.
12002 * elf/dl-tsd.c: Likewise.
12003 * include/errno.h: Likewise.
12004 * include/netdb.h: Likewise.
12005 * include/resolv.h: Likewise.
12006 * inet/herrno-loc.c: Likewise.
12007 * inet/herrno.c: Likewise.
12008 * malloc/arena.c: Likewise.
12009 * malloc/hooks.c: Likewise.
12010 * malloc/malloc.c: Likewise.
12011 * resolv/res-state.c: Likewise.
12012 * resolv/res_libc.c: Likewise.
12013 * sysdeps/i386/dl-machine.h: Likewise.
12014 * sysdeps/ia64/dl-machine.h: Likewise.
12015 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
12016 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
12017 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
12018 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
12019 * sysdeps/sh/dl-machine.h: Likewise.
12020 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
12021 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
12022 * sysdeps/unix/i386/sysdep.S: Likewise.
12023 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12024 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
12025 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
12026 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12027 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
12028 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12029 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12030 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12031 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12032 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12033 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12034 * sysdeps/x86_64/dl-machine.h: Likewise.
12035 * tls.make.c: Likewise.
12037 * configure.in: Remove --with-__thread option. Make tests for
12038 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
12039 tls_model attribute fail if no support is available. Remove
12041 * Makeconfig: Adjust for dropped configure option. All features are
12043 * Makerules: Likewise.
12044 * Versions.def: Likewise.
12045 * argp/argp-fmtstream.c: Likewise.
12046 * argp/argp-fmtstream.h: Likewise.
12047 * argp/argp-help.c: Likewise.
12048 * assert/assert.c: Likewise.
12049 * config.h.in: Likewise.
12050 * config.make.in: Likewise.
12051 * configure: Likewise.
12052 * configure.in: Likewise.
12053 * csu/Versions: Likewise.
12054 * csu/init.c: Likewise.
12055 * elf/tst-audit2.c: Likewise.
12056 * elf/tst-tls10.c: Likewise.
12057 * elf/tst-tls10.h: Likewise.
12058 * elf/tst-tls11.c: Likewise.
12059 * elf/tst-tls12.c: Likewise.
12060 * elf/tst-tls14.c: Likewise.
12061 * elf/tst-tlsmod11.c: Likewise.
12062 * elf/tst-tlsmod12.c: Likewise.
12063 * elf/tst-tlsmod13.c: Likewise.
12064 * elf/tst-tlsmod13a.c: Likewise.
12065 * elf/tst-tlsmod14a.c: Likewise.
12066 * elf/tst-tlsmod15b.c: Likewise.
12067 * elf/tst-tlsmod16a.c: Likewise.
12068 * elf/tst-tlsmod16b.c: Likewise.
12069 * elf/tst-tlsmod7.c: Likewise.
12070 * elf/tst-tlsmod8.c: Likewise.
12071 * elf/tst-tlsmod9.c: Likewise.
12072 * gmon/gmon.c: Likewise.
12073 * grp/fgetgrent_r.c: Likewise.
12074 * grp/putgrent.c: Likewise.
12075 * hurd/fopenport.c: Likewise.
12076 * include/libc-symbols.h: Likewise.
12077 * include/tls.h: Likewise.
12078 * intl/gettextP.h: Likewise.
12079 * intl/loadinfo.h: Likewise.
12080 * locale/global-locale.c: Likewise.
12081 * locale/localeinfo.h: Likewise.
12082 * mach/devstream.c: Likewise.
12083 * malloc/arena.c: Likewise.
12084 * malloc/set-freeres.c: Likewise.
12085 * misc/err.c: Likewise.
12086 * misc/getttyent.c: Likewise.
12087 * misc/mntent_r.c: Likewise.
12088 * posix/getopt.c: Likewise.
12089 * posix/wordexp.c: Likewise.
12090 * pwd/fgetpwent_r.c: Likewise.
12091 * resolv/Versions: Likewise.
12092 * resolv/res_hconf.c: Likewise.
12093 * shadow/fgetspent_r.c: Likewise.
12094 * shadow/putspent.c: Likewise.
12095 * stdio-common/printf_fphex.c: Likewise.
12096 * stdio-common/tmpfile.c: Likewise.
12097 * stdlib/abort.c: Likewise.
12098 * stdlib/fmtmsg.c: Likewise.
12099 * sunrpc/auth_unix.c: Likewise.
12100 * sunrpc/clnt_perr.c: Likewise.
12101 * sunrpc/clnt_tcp.c: Likewise.
12102 * sunrpc/clnt_udp.c: Likewise.
12103 * sunrpc/clnt_unix.c: Likewise.
12104 * sunrpc/openchild.c: Likewise.
12105 * sunrpc/svc_simple.c: Likewise.
12106 * sunrpc/svc_tcp.c: Likewise.
12107 * sunrpc/svc_udp.c: Likewise.
12108 * sunrpc/svc_unix.c: Likewise.
12109 * sunrpc/xdr.c: Likewise.
12110 * sunrpc/xdr_array.c: Likewise.
12111 * sunrpc/xdr_rec.c: Likewise.
12112 * sunrpc/xdr_ref.c: Likewise.
12113 * sunrpc/xdr_stdio.c: Likewise.
12115 2011-09-09 Ulrich Drepper <drepper@gmail.com>
12117 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12119 2011-07-03 Andreas Jaeger <aj@suse.de>
12121 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
12122 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
12123 regenerate with gen-libm-tests.pl.
12125 2010-05-12 Petr Baudis <pasky@suse.cz>
12128 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
12129 around j0() zero points by switching to j1().
12130 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12131 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12132 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12133 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12135 2011-09-09 Ulrich Drepper <drepper@gmail.com>
12137 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
12139 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
12141 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12142 Patch in part by Pavel Roskin <proski@gnu.org>.
12145 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
12147 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
12148 Free memory block if necessary.
12151 * libio/genops.c (INTDEF): For string streams the _lock pointer can
12152 be NULL. Don't lock in this case.
12154 2011-09-09 Roland McGrath <roland@hack.frob.com>
12156 * elf/elf.h (ELFOSABI_GNU): New macro.
12157 (ELFOSABI_LINUX): Define to that.
12159 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
12161 * string/strncat.c (strncat): Undef the symbol in case it has been
12162 defined in bits/string.h.
12164 2011-09-09 Ulrich Drepper <drepper@gmail.com>
12166 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
12168 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
12171 2011-08-17 Andreas Jaeger <aj@suse.de>
12173 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
12175 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
12176 Ian Lance Taylor <iant@google.com>
12178 * math/libm-test.inc (lround_test): New testcase.
12179 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
12181 2011-09-08 Ulrich Drepper <drepper@gmail.com>
12183 * Makefile: Remove support for automatic cvs check-ins.
12184 * Makerules: Likewise.
12185 * config.make.in: Likewise.
12186 * configure.in: Likewise.
12187 * intl/Makefile: Likewise.
12188 * locale/Makefile: Likewise.
12189 * po/Makefile: Likewise.
12190 * posix/Makefile: Likewise.
12191 * sysdeps/gnu/Makefile: Likewise.
12192 * sysdeps/mach/hurd/Makefile: Likewise.
12193 * sysdeps/sparc/sparc32/Makefile: Likewise.
12196 * posix/Makefile (bug-regex32-ENV): Define.
12197 Patch by John Stanley <jpsinthemix@verizon.net>.
12199 * misc/Makefile (headers): Add bits/select2.h.
12200 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
12201 * misc/bits/select2.h: New file.
12202 * include/bits/select2.h: New file.
12203 * debug/Makefile (routines): Add fdelt_chk.
12204 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
12205 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
12207 * debug/fdelt_chk.c: New file.
12209 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
12210 * wcsmbs/test-wmemcmp.c: Likewise.
12211 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
12212 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
12214 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12216 * string/Makefile (strop-tests): Add memcmp.
12217 * string/test-wmemcmp.c: New file.
12218 * string/test-memcmp.c: Add wmemcmp support.
12220 2011-09-08 Roland McGrath <roland@hack.frob.com>
12223 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
12226 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
12227 garbage value in a __mach_port_mod_refs call in the cases of the
12228 task-self and thread-self ports.
12230 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
12232 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
12234 2011-09-08 Andreas Schwab <schwab@redhat.com>
12236 * elf/dl-load.c (lose): Check for non-null L.
12238 2011-09-07 Ulrich Drepper <drepper@gmail.com>
12240 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
12242 * elf/dl-libc.c (dlerror_run): Pass back error code from
12246 * elf/dl-load.c (lose): Free l_origin if it is valid.
12248 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
12250 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
12251 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12252 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12253 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12254 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
12255 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
12257 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12259 * sysdeps/powerpc/fpu/e_hypot.c: New file.
12260 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
12261 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
12262 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
12263 * sysdeps/powerpc/fpu/k_cosf.c: New file.
12264 * sysdeps/powerpc/fpu/k_sinf.c: New file.
12265 * sysdeps/powerpc/fpu/s_cosf.c: New file.
12266 * sysdeps/powerpc/fpu/s_sinf.c: New file.
12267 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
12268 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
12270 2011-08-15 Alan Modra <amodra@gmail.com>
12273 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
12274 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
12275 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
12276 ppc_mcount to static-only-routines.
12277 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
12279 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
12280 __mcount_internal with usual JUMPTARGET. Remove useless nop.
12282 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
12284 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
12285 for finite and infinity parameters.
12287 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
12289 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
12290 and add nop instructions for throughput optimization.
12291 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12293 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
12295 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
12296 aligned copy for power7 with vector-scalar instructions.
12297 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12299 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
12301 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
12304 2011-09-07 Andreas Schwab <schwab@redhat.com>
12307 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
12310 2011-09-07 Ulrich Drepper <drepper@gmail.com>
12312 * sysdeps/unix/sysv/linux/x86_64/init-first.c
12313 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
12314 syscall wrapper around clock_gettime in __vdso_clock_gettime.
12315 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
12318 2011-09-06 Ulrich Drepper <drepper@gmail.com>
12320 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
12321 Forgot to demangle the pointer.
12323 * sysdeps/i386/sysdep.h: Define atom_text_section.
12324 * sysdeps/x86_64/sysdep.h: Likewise.
12325 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
12326 section with atom_text_section.
12327 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12328 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12329 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
12330 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12331 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
12333 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
12334 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
12335 already be defined. Change to take two parameters and don't assign
12336 result to variable. Adjust all users.
12337 Define INTERNAL_GETTIME if not already defined.
12338 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
12340 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
12341 HAVE_CLOCK_GETTIME_VSYSCALL.
12342 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
12344 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
12345 gettimeofday vsyscall, just use time.
12347 2011-09-06 Andreas Schwab <schwab@redhat.com>
12349 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
12352 2011-09-06 Ulrich Drepper <drepper@gmail.com>
12354 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
12356 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
12358 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
12359 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
12360 syscall if possible.
12362 2011-09-05 Ulrich Drepper <drepper@gmail.com>
12364 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
12365 e_ident. Don't pass to find_mapsXX.
12366 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
12368 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12370 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12371 strchr-sse2-no-bsf strrchr-sse2-no-bsf
12372 * sysdeps/x86_64/multiarch/strchr.S: Update.
12373 Check bit_slow_BSF bit.
12374 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12375 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
12376 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
12378 2011-09-05 Ulrich Drepper <drepper@gmail.com>
12381 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
12383 (tryshell): Define.
12384 (__spawni): Change last parameter to be flag. Test
12385 SPAWN_XFLAGS_USE_PATH flag to use path or not.
12386 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
12387 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
12388 * posix/spawni.c: Likewise.
12389 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
12390 * posix/spawnp.c: Likewise. Change normal version to use
12391 SPAWN_XFLAGS_USE_PATH.
12392 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
12393 SPAWN_XFLAGS_TRY_SHELL.
12396 * posix/glob.h: Remove gcc 1.x support.
12399 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
12401 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12403 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12404 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
12406 * sysdeps/i386/i686/multiarch/strchr.S: New file.
12407 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
12408 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
12409 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
12410 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
12411 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
12413 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12415 * sysdeps/x86_64/wcscmp.S: New file.
12417 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
12418 wcscmp-c wcscmp-sse2
12419 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
12420 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
12421 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
12422 * wcsmbs/wcscmp.c: Allow renaming.
12424 2011-09-05 David S. Miller <davem@davemloft.net>
12426 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
12427 stack slot, rather than the struct return pointer slot.
12428 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
12429 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
12430 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
12431 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
12433 2011-09-05 Ulrich Drepper <drepper@gmail.com>
12435 * po/ja.po: Update from translation team.
12438 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
12439 kernel in 64-bit binaries.
12441 2011-09-01 David S. Miller <davem@davemloft.net>
12443 * elf/elf.h (HWCAP_SPARC_*): Move to..
12444 * sysdeps/sparc/sysdep.h: this new file and add new values.
12445 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
12446 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
12447 _DL_HWCAP_COUNT to 24.
12448 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12450 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
12451 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
12452 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
12453 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
12454 instead of magic constants.
12455 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12457 2011-08-31 David S. Miller <davem@davemloft.net>
12459 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
12460 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
12461 Reimplement to do errno handling inline.
12462 (SYSCALL_ERROR_HANDLER): New macro.
12463 (__SYSCALL_STRING): Do not do errno handling in asm.
12464 (__CLONE_SYSCALL_STRING): Delete.
12465 (__INTERNAL_SYSCALL_STRING): Delete.
12466 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
12467 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
12468 (PSEUDO): Reimplement to do errno handling inline.
12469 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
12470 (SYSCALL_ERROR_HANDLER): New macro.
12471 (__SYSCALL_STRING): Do not do errno handling in asm.
12472 (__CLONE_SYSCALL_STRING): Delete.
12473 (__INTERNAL_SYSCALL_STRING): Delete.
12474 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
12475 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
12477 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
12478 (inline_syscall*): Add 'err' argument.
12479 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
12480 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
12481 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
12482 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
12484 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
12485 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
12487 2011-08-30 Andreas Schwab <schwab@redhat.com>
12489 * elf/rtld.c (dl_main): Relocate objects in dependency order.
12491 2011-08-29 Jiri Olsa <jolsa@redhat.com>
12493 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
12496 2011-08-24 David S. Miller <davem@davemloft.net>
12498 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
12500 2011-08-24 Andreas Schwab <schwab@redhat.com>
12502 * elf/Makefile: Add rules to build and run unload8 test.
12503 * elf/unload8.c: New file.
12504 * elf/unload8mod1.c: New file.
12505 * elf/unload8mod1x.c: New file.
12506 * elf/unload8mod2.c: New file.
12507 * elf/unload8mod3.c: New file.
12509 * elf/dl-close.c (_dl_close_worker): Reset private search list if
12512 2011-08-23 David S. Miller <davem@davemloft.net>
12514 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
12515 subtract stack bias.
12516 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
12517 %sp not %fp in calculations.
12518 (_JMPBUF_UNWINDS_ADJ): Likewise.
12520 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
12521 (aio_suspend): Call it to force an exception region around the
12522 AIO_MISC_WAIT() invocation.
12524 2011-08-23 Andreas Schwab <schwab@redhat.com>
12526 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
12529 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
12531 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
12533 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
12534 and <dl-machine.h>.
12535 (Elf64_FuncDesc): Remove.
12537 2011-08-22 David S. Miller <davem@davemloft.net>
12539 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
12540 sigaltstack check, add missing cfi directives.
12541 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
12542 missing cfi directives, and sigaltstack handling.
12544 2011-08-16 Andreas Schwab <schwab@redhat.com>
12547 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
12548 object is seen twice.
12549 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12551 * elf/Makefile (distribute): Add tst-initorder2.c.
12552 (tests): Add tst-initorder2.
12553 (modules-names): Add tst-initorder2a tst-initorder2b
12554 tst-initorder2c tst-initorder2d. Add rules to build them.
12555 ($(objpfx)tst-initorder2.out): New rule.
12556 * elf/tst-initorder2.c: New file.
12557 * elf/tst-initorder2.exp: New file.
12559 2011-08-22 Andreas Schwab <schwab@redhat.com>
12561 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
12563 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
12564 dependencies back to end of function.
12566 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
12567 $(elfobjdir)/ld.so.
12569 2011-08-21 Ulrich Drepper <drepper@gmail.com>
12571 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
12572 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
12573 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
12574 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
12575 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
12576 of __vdso_gettimeofday.
12577 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
12578 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
12580 (_libc_vdso_platform_setup): Remove initialization of
12581 __vdso_gettimeofday and __vdso_time.
12583 2011-08-20 Ulrich Drepper <drepper@gmail.com>
12585 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
12586 and fgetc_unlocked.
12587 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
12590 * elf/dl-open.c (add_to_global): Report additions to the global scope
12591 for LD_DEBUG=scopes.
12592 (dl_open_worker): Also print scope of newly loaded dependencies.
12593 (_dl_show_scope): Indicate if there is no scope.
12596 * stdio-common/Makefile (tests): Add bug24.
12597 * stdio-common/bug24.c: New file.
12599 2011-08-19 Andreas Jaeger <aj@suse.de>
12602 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
12603 non-existant file when using close-on-exec mode.
12605 2011-08-20 Ulrich Drepper <drepper@gmail.com>
12607 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
12608 the very first instruction.
12610 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
12611 the CFI state in the end.
12612 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
12613 inclusion of dl-trampoline.h.
12614 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
12616 2011-08-19 Andreas Schwab <schwab@redhat.com>
12618 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
12619 expectations for long double.
12621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
12622 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
12624 2011-08-14 David S. Miller <davem@davemloft.net>
12626 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
12627 artificual limit depends upon the system page size.
12629 2011-08-17 Ulrich Drepper <drepper@gmail.com>
12631 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
12632 * resolv/Makefile: Define CFLAGS-libresolv.
12634 2011-08-17 Andreas Schwab <schwab@redhat.com>
12636 * nss/makedb.c (compute_tables): Make variables used in nested
12639 2011-08-17 Ulrich Drepper <drepper@gmail.com>
12641 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
12642 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
12643 if buffer was too small.
12645 * elf/pldd.c (main): Attach to all threads in the process.
12646 Rewrite /proc handling to use *at functions.
12648 2011-08-16 Ulrich Drepper <drepper@gmail.com>
12650 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
12651 specifies first scope to show.
12652 (dl_open_worker): Update callers. Move printing scope of new
12653 object to before the relocation.
12654 * elf/rtld.c (dl_main): Update _dl_show_scope call.
12655 * sysdeps/generic/ldsodefs.h: Update declaration.
12657 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
12658 string for the scope number.
12660 2011-08-14 Ulrich Drepper <drepper@gmail.com>
12662 * nscd/servicescache.c (cache_addserv): Make sure written is always
12665 2011-08-14 Roland McGrath <roland@hack.frob.com>
12667 * sysdeps/i386/i486/bits/atomic.h
12668 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
12669 statement expression, so as to suppress "set but not used" warning.
12670 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
12672 * string/strncat.c (STRNCAT): Use prototype definition.
12674 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
12675 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
12677 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
12678 (localedef-modules): Add localedef.
12679 (locale-modules): Add locale.
12681 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
12682 * elf/rtld.c (dl_main): Invert order of assignment in last change,
12683 to avoid a warning.
12685 2011-08-14 David S. Miller <davem@davemloft.net>
12687 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
12688 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
12690 2011-08-13 Ulrich Drepper <drepper@gmail.com>
12692 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
12693 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
12694 * elf/rtld.c (dl_main): Set l_name of vDSO.
12695 Call _dl_show_scope when DL_DEBUG_SCOPES.
12696 (process_dl_debug): Recognize scopes flag and also set it for all.
12697 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
12698 Declare _dl_show_scope.
12700 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
12701 (do_dlopen): Pass caller_dlopen to dl_open.
12702 (__libc_dlopen_mode): Initialize caller_dlopen.
12704 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
12705 of libc. Make tolower call locale-independent. Optimize a bit by
12706 using isdigit instead of isalnum.
12707 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
12709 2011-08-12 Ulrich Drepper <drepper@gmail.com>
12711 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
12712 was a dependency or dynamically loaded.
12714 2011-08-11 Ulrich Drepper <drepper@gmail.com>
12716 * intl/l10nflist.c: Allow architecture-specific pop function.
12717 * sysdeps/x86_64/l10nflist.c: New file.
12719 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
12722 2011-08-10 Andreas Schwab <schwab@redhat.com>
12724 * include/dirent.h: Add libc_hidden_proto for scandirat and
12725 scandirat64. Don't declare __scandirat64.
12726 * dirent/scandirat.c: Add libc_hidden_def.
12727 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
12728 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
12730 2011-08-10 David S. Miller <davem@davemloft.net>
12732 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
12734 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12735 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12736 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12738 2011-08-09 Ulrich Drepper <drepper@gmail.com>
12740 * Versions.def [libc]: Add GLIBC_2.15.
12741 * dirent/Makefile (routines): Add scandirat and scandirat64.
12742 * dirent/Versions [libc]: Export scandirat and scandirat64 for
12744 * dirent/dirent.h: Declare scandirat and scandirat64.
12745 * dirent/scandirat.c: New file.
12746 * dirent/scandirat64.c: New file.
12747 * sysdeps/wordsize-64/scandirat.c: New file.
12748 * sysdeps/wordsize-64/scandirat64.c: New file.
12749 * dirent/opendir.c: Define opendirat.
12750 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
12752 * dirent/scandir64.c: Adjust for scandir.c change.
12753 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
12754 __scandirat64, and __scandir_cancel_handler.
12755 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
12756 additional parameter and use openat instead of open (outside of ld.so).
12757 Add new __opendir as wrapper around __opendirat.
12758 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
12759 here without requiring old scandirat implementation.
12761 2011-08-08 Ulrich Drepper <drepper@gmail.com>
12763 * dirent/scandir.c (cancel_handler): Renamed to
12764 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
12765 defined. Adjust users.
12766 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
12767 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
12769 2011-08-04 Ulrich Drepper <drepper@gmail.com>
12771 * string/test-string.h (IMPL): Use __STRING to expand name and then
12774 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
12777 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12779 * string/Makefile: Update.
12780 (strop-tests): Append strncat.
12781 * string/test-wcscmp.c: New file.
12782 New comprehensive test for wcscmp.
12783 * string/test-strcmp.c: Update.
12784 (WIDE): New define.
12786 2011-07-22 Andreas Schwab <schwab@redhat.com>
12788 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
12791 2011-07-26 Andreas Schwab <schwab@redhat.com>
12793 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12794 encoding to ACE if AI_IDN.
12796 2011-08-01 Jakub Jelinek <jakub@redhat.com>
12798 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
12799 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
12801 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12803 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
12804 Fix overflow bug in strncat.
12805 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
12807 * string/test-strncat.c: Update.
12808 Add new tests for checking overflow bugs.
12810 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12812 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12813 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
12814 * sysdeps/i386/i686/multiarch/strcat.S: New file.
12815 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
12816 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
12817 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
12818 * sysdeps/i386/i686/multiarch/strncat.S: New file.
12819 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
12820 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
12822 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
12823 (USE_AS_STRCAT): Define.
12824 Add strcat and strncat support.
12825 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12827 2011-07-25 Andreas Schwab <schwab@redhat.com>
12829 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
12830 __n bigger than INT_MAX+1.
12831 (__strncmp_g): Likewise.
12833 2011-07-23 Ulrich Drepper <drepper@gmail.com>
12835 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
12836 * libio/stido.h: Likewise.
12838 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
12840 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
12843 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
12844 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12845 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12846 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
12847 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12850 * scripts/test-installation.pl: Don't expect libnss_test1 to be
12853 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
12855 (_dl_x86_64_save_sse): Likewise.
12857 2011-07-22 Ulrich Drepper <drepper@gmail.com>
12859 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
12861 (_dl_x86_64_save_sse): Likewise.
12863 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
12865 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
12867 2011-07-21 Andreas Schwab <schwab@redhat.com>
12869 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
12871 (_dl_x86_64_save_sse): Use correct AVX check.
12873 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12875 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
12876 bug in strncpy/strncat.
12877 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
12879 2011-07-21 Ulrich Drepper <drepper@gmail.com>
12881 * string/tester.c (test_strcat): Add tests for different alignments
12882 of source and destination.
12883 (test_strncat): Likewise.
12885 2011-07-20 Ulrich Drepper <drepper@gmail.com>
12888 * posix/glob.c (glob): Check passed in values before using them in
12889 expressions to avoid some overflows.
12890 (glob_in_dir): Likewise.
12893 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
12894 check for AVX enablement so that we don't crash with old kernels and
12896 * elf/tst-audit4.c: Add same checks here.
12897 * elf/tst-audit6.c: Likewise.
12899 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
12901 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
12903 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
12905 2011-07-20 Ulrich Drepper <drepper@gmail.com>
12907 * po/cs.po: Update from translation team.
12908 * po/bg.po: Likewise.
12910 2011-07-12 Marek Polacek <mpolacek@redhat.com>
12912 * misc/sys/cdefs.h: Add support for const attribute.
12913 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
12914 to gnu_dev_{major,minor,makedev} functions.
12916 2011-07-20 Marek Polacek <mpolacek@redhat.com>
12918 * intl/dcigettext.c (get_output_charset): Add missing bracket.
12920 2011-07-20 Andreas Schwab <schwab@redhat.com>
12922 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
12925 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12927 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
12928 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
12929 register in order to avoid conflicts with the soft frame pointer
12930 being held in r11 when necessary.
12931 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
12932 (INTERNAL_VSYSCALL_NCS): Likewise.
12934 2011-07-14 Marek Polacek <mpolacek@redhat.com>
12936 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
12937 * elf/dl-fini.c (_dl_fini): Adjust caller.
12938 * elf/dl-close.c (_dl_close_worker): Likewise.
12939 * sysdeps/generic/ldsodefs.h: Adjust declaration.
12941 2011-07-15 Marek Polacek <mpolacek@redhat.com>
12943 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
12944 "aux_cache->nlibs < 0".
12946 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
12947 in the reload-count case.
12949 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12951 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12952 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
12953 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
12954 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
12955 * sysdeps/x86_64/multiarch/strcat.S: New file.
12956 * sysdeps/x86_64/multiarch/strncat.S: New file.
12957 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
12958 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
12959 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
12960 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
12961 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
12962 (USE_AS_STRCAT): Define.
12963 Add strcat and strncat support.
12964 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12965 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12966 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
12967 * string/strncat.c: Update.
12968 (USE_AS_STRNCAT): Define.
12969 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12970 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
12972 * sysdeps/x86_64/multiarch/init-arch.h
12973 (bit_Prefer_PMINUB_for_stringop): New.
12974 (index_Prefer_PMINUB_for_stringop): Likewise.
12975 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
12976 bit_Prefer_PMINUB_for_stringop.
12978 2011-07-19 Ulrich Drepper <drepper@gmail.com>
12980 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
12982 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
12983 of casting of buffer.
12984 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
12985 buffer32 and buffer64.
12986 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
12987 writes instead of casting of buffer.
12988 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
12990 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
12993 2011-07-19 Andreas Schwab <schwab@redhat.com>
12995 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
12997 2011-07-19 Ulrich Drepper <drepper@gmail.com>
12999 * nscd/nscd.c (termination_handler): Don't do anything for a database
13000 if it has not yet been initialized.
13002 2011-07-18 Ulrich Drepper <drepper@gmail.com>
13004 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
13006 2011-07-15 Marek Polacek <mpolacek@redhat.com>
13008 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
13010 2011-07-18 Ulrich Drepper <drepper@gmail.com>
13012 * po/nl.po: Update from translation team.
13013 * po/sv.po: Likewise.
13015 2011-07-16 Roland McGrath <roland@hack.frob.com>
13017 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
13018 now disallowed by GCC.
13020 * configure.in (use-default-link): Default to yes if a test -shared
13021 link meets our qualifications.
13022 * configure: Regenerated.
13024 * config.make.in (output-format): New variable.
13025 * configure.in: Check for ld --print-output-format support.
13026 * configure: Regenerated.
13027 * Makerules ($(common-objpfx)format.lds)
13028 [$(output-format) != unknown]: Just use $(output-format),
13029 instead of the linker-script munging.
13031 2011-07-14 Roland McGrath <roland@hack.frob.com>
13033 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
13034 of $(common-objpfx)shlib.lds.
13035 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
13037 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
13038 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
13040 * configure.in (-z relro check): Adjust test code to add a large
13041 writable data section after it.
13042 * configure: Regenerated.
13044 2011-07-11 Roland McGrath <roland@hack.frob.com>
13046 * configure.in (-z relro check): Fix test code to make the variable
13048 * configure: Regenerated.
13050 2011-07-11 Ulrich Drepper <drepper@gmail.com>
13052 * nscd/nscd.h (struct traced_file): Define.
13053 (struct database_dyn): Remove inotify_descr, reset_res, and filename
13054 elements. Add traced_files.
13055 (inotify_fd): Declare.
13056 (register_traced_file): Declare.
13057 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
13058 (inotify_fd): Export.
13059 (resolv_conf_descr): Remove.
13060 (nscd_init): Move inotify descriptor creation to main.
13061 Don't register files for notification here.
13062 (register_traced_file): New function.
13063 (invalidate_cache): Don't use reset_res to determine whether to call
13064 res_init, go through the list of registered files.
13065 (main_loop_poll): The inotify descriptors are now stored in the
13066 structures for the traced files.
13067 (main_loop_epoll): Likewise
13068 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
13069 to __nss_disable_nscd.
13070 * nscd/cache.c (prune_cache): There is no single inotify descriptor
13071 for a database anymore. Check the records for all the registered
13073 * nss/Makefile (libnss_files-routines): Add files-init.
13074 (libnss_db-routines): Add db-init.
13075 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
13076 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
13077 * nss/nss_db/db-init.c: New file.
13078 * nss/nss_files/files-init.c: New file.
13079 * nss/nsswitch.c (nss_load_library): New function. Broken out of
13080 __nss_lookup_function.
13081 (__nss_lookup_function): Call nss_load_library.
13082 (nss_load_all_libraries): New function.
13083 (__nss_disable_nscd): Take parameter with callback function for files
13084 to register. Set is_nscd. Load all the DSOs for the NSS modules
13085 used for the cached services.
13086 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
13087 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
13088 options for features to all the files in nscd.
13090 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
13092 2011-07-10 Roland McGrath <roland@hack.frob.com>
13094 * csu/elf-init.c (__libc_csu_init): Comment typo.
13096 2011-07-09 Ulrich Drepper <drepper@gmail.com>
13098 * po/pl.po: Update from translation team.
13099 * po/ja.po: Likewise.
13100 * po/ru.po: Likewise.
13101 * po/ko.po: Likewise.
13102 * po/fr.po: Likewise.
13104 2011-07-09 Roland McGrath <roland@hack.frob.com>
13106 * configure.in (.ctors/.dtors header and trailer check):
13107 Use an empirical test on a built program.
13108 * configure: Regenerated.
13110 * configure.in (-z relro check): Use an empirical test on a built DSO.
13111 Detect, but do not require, on ia64.
13112 * configure: Regenerated.
13114 * configure.in (READELF): Find it with AC_CHECK_TOOL.
13115 Update tests that use readelf to use $READELF instead.
13116 * configure: Regenerated.
13118 2011-07-08 Ulrich Drepper <drepper@gmail.com>
13120 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
13121 if the result is not used.
13123 2011-07-05 Andreas Jaeger <aj@suse.de>
13126 * stdlib/tst-strtod.c: Add testcase.
13128 2011-07-07 Ulrich Drepper <drepper@gmail.com>
13130 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
13131 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
13132 The latter has a higher limit. Take additional parameter to pass to
13134 (__pathconf): Pass file to __statfs_link_max.
13135 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
13137 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
13141 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
13142 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13144 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
13145 (__statfs_filesize_max): Likewise.
13146 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
13148 2011-07-05 Andreas Jaeger <aj@suse.de>
13150 * resolv/res_comp.c (dn_skipname): Remove unused variable.
13152 2011-07-06 Marek Polacek <mpolacek@redhat.com>
13154 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
13156 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
13159 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
13161 * Makefile (strop-tests): Add strncat.
13162 * string/test-strncat.c: New file.
13164 2011-06-30 Marek Polacek <mpolacek@redhat.com>
13166 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
13168 2011-06-21 Andreas Jaeger <aj@suse.de>
13170 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
13171 Copy rule from iconvdata/Makefile.
13173 2011-07-06 Ulrich Drepper <drepper@gmail.com>
13176 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
13177 but no long options are defined, just return 'W'.
13179 2011-06-22 Marek Polacek <mpolacek@redhat.com>
13182 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
13184 2011-07-06 Ulrich Drepper <drepper@gmail.com>
13186 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
13188 (innetgr): Likewise.
13190 2011-07-05 Roland McGrath <roland@hack.frob.com>
13192 * config.make.in (install_root): Default to $(DESTDIR).
13194 2011-07-05 Ulrich Drepper <drepper@gmail.com>
13196 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
13198 2011-07-02 Roland McGrath <roland@hack.frob.com>
13200 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
13202 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
13203 containing directory rather than embedding absolute directory names.
13205 * scripts/check-local-headers.sh: Rewritten using awk.
13206 Match by word, not by line. Print error messages for matches.
13207 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
13209 * Makerules [shlib-lds-flags empty]:
13210 ($(common-objpfx)libc_pic.opts): New target.
13211 ($(common-objpfx)libc_pic.os.clean): New target.
13212 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
13214 * config.make.in (OBJCOPY): New variable.
13215 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
13216 * configure: Regenerated.
13218 * config.make.in (use-default-link): New variable.
13219 * configure.in (use_default_link): Grok --with-default-link to set it.
13220 * configure: Regenerated.
13221 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
13222 (shlib-lds, shlib-lds-flags): Define to empty.
13224 * Makerules (shlib-lds): New variable.
13225 (shlib-lds-flags): New variable.
13226 (build-shlib, build-moduile, build-module-asneeded): Use it.
13227 ($(common-objpfx)libc.so): Use $(shlib-lds).
13228 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
13229 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
13231 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
13232 DT_FLAGS/DT_FLAGS_1 with zero flags.
13234 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
13235 linker script munging.
13237 2011-07-02 Ulrich Drepper <drepper@gmail.com>
13239 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
13241 * crypt/sha512.c (sha512_process_block): Perform total addition using
13242 128-bit if possible.
13243 (__sha512_finish_ctx): Likewise.
13244 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
13246 * crypt/sha256.c (SWAP64): Define.
13247 (sha256_process_block): Perform total addition using 64-bit if
13249 (__sha256_finish_ctx): Likewise.
13251 2011-07-01 Ulrich Drepper <drepper@gmail.com>
13253 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
13254 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13255 * nscd/hstcache.c (cache_addhst): Likewise.
13256 * nscd/grpcache.c (cache_addgr): Likewise.
13257 * nscd/aicache.c (addhstaiX): Likewise
13258 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
13260 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
13262 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
13263 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13264 * nscd/hstcache.c (cache_addhst): Likewise.
13265 * nscd/grpcache.c (cache_addgr): Likewise.
13266 * nscd/aicache.c (addhstaiX): Likewise
13268 2011-07-01 Andreas Schwab <schwab@redhat.com>
13270 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
13271 domain only when needed.
13273 2011-06-30 Andreas Schwab <schwab@redhat.com>
13275 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
13276 is always restored.
13278 2011-06-29 Ulrich Drepper <drepper@gmail.com>
13280 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
13281 are re-adding the entry.
13282 * nscd/servicescache.c (cache_addserv): Likewise.
13284 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
13286 * sysdeps/generic/dl-irel.h: fix protection against multiple
13288 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
13290 2011-06-28 Ulrich Drepper <drepper@gmail.com>
13293 * malloc/memusage.sh: Fix quoting in message.
13294 * debug/xtrace.sh: Likewise.
13296 * configure.in: Remove support for --experimental-malloc option, make
13298 * config.make.in: Likewise.
13299 * malloc/Makefile: Likewise.
13301 2011-06-27 Andreas Schwab <schwab@redhat.com>
13303 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
13304 two-byte characters.
13306 2011-06-27 Roland McGrath <roland@hack.frob.com>
13308 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
13309 AC_CACHE_CHECK invocation.
13310 * configure: Regenerated.
13312 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
13314 2011-06-27 Ulrich Drepper <drepper@gmail.com>
13317 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
13318 bit from old_res_options.
13320 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
13322 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
13323 value type for setfct.
13325 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
13327 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13328 __gettimeofday instead of gettimeofday.
13330 2011-06-26 Ulrich Drepper <drepper@gmail.com>
13332 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
13334 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
13336 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
13338 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
13341 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13343 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13344 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13345 strcpy-sse2-unaligned strncpy-sse2-unaligned
13346 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
13347 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
13348 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
13349 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
13350 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
13351 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
13352 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
13353 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
13354 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
13355 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
13356 (STRCPY): Support SSE2 and SSSE3 versions.
13358 2011-06-24 Ulrich Drepper <drepper@gmail.com>
13361 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
13362 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
13363 kernels which artificially limit size of requests.
13365 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13367 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13368 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13369 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
13370 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
13371 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
13372 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
13373 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
13374 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
13375 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
13376 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
13377 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
13378 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
13379 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
13380 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
13381 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
13382 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13383 Enable unaligned load optimization for Intel Core i3, i5 and i7
13385 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
13387 (index_Fast_Unaligned_Load): Define.
13388 (HAS_FAST_UNALIGNED_LOAD): Define.
13390 2011-06-23 Marek Polacek <mpolacek@redhat.com>
13392 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
13394 2011-06-22 Ulrich Drepper <drepper@gmail.com>
13397 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
13398 until it is clear that the information is realy needed.
13399 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
13401 2011-06-22 Andreas Schwab <schwab@redhat.com>
13403 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
13405 2011-06-22 Ulrich Drepper <drepper@gmail.com>
13407 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13408 /sys/devices/system/cpu/online if it is usable.
13410 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
13411 reading the information from the /proc filesystem to once a second.
13413 2011-06-21 Andreas Jaeger <aj@suse.de>
13415 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
13416 NULL after inclusion of kernel headers.
13418 2011-06-21 Ulrich Drepper <drepper@gmail.com>
13420 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
13421 calls to internal_setent.
13424 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
13425 addresses using gethostbyname4_r ignore IPv4 addresses.
13427 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
13428 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
13430 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
13432 2011-06-20 David S. Miller <davem@davemloft.net>
13434 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
13436 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
13438 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
13439 (elf_irel): Use it.
13440 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
13441 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
13442 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
13443 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
13444 * sysdeps/x86_64/dl-irel.h: Likewise.
13446 * elf/dl-runtime.c: Use elf_ifunc_invoke.
13447 * elf/dl-sym.c: Likewise.
13449 2011-06-15 Ulrich Drepper <drepper@gmail.com>
13451 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
13452 need to dereference resplen2.
13454 2011-06-14 Andreas Schwab <schwab@redhat.com>
13456 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
13458 2011-06-15 Ulrich Drepper <drepper@gmail.com>
13460 * Makeconfig: Define vardbdir and inst_vardbdir.
13461 * nss/Makefile: Add rules to install db-Makefile.
13463 * nss/nss_db/db-XXX.c: Cleanup.
13465 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
13466 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
13468 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
13469 * nss/makedb.c: Implement -g option to specify that value strings
13470 are generated and should not be added to table iterated over for
13472 * nss/nss_db/db-initgroups.c: New file.
13474 * nss/getent.c: Add support for initgroups lookups through getgrouplist
13477 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
13478 (internal_getgrouplist): Adjust to name change.
13479 Update use_initgroups_entry if this is not the first call.
13480 * nss/databases.def: Add initgroups entry.
13482 * nss/makedb.c (compute_tables): Check result of multiple hash table
13483 sizes to minimize maximum chain length.
13485 2011-06-14 Ulrich Drepper <drepper@gmail.com>
13487 * Versions.def: Add entry for libnss_db.
13488 * shlib-versions: Likewise.
13489 * nss/Makefile: Add rules to build libnss_db.
13490 * nss/Versions: Add libnss_db information. Organize libnss_files
13492 * nss/db-Makefile: Add gshadow support. Change rules for the new
13493 makedb progra. Some minor improvements to generate smaller files.
13494 * nss/nss_db/nss_db.h: Move NSS database header data structures to
13496 * nss/makedb.c: ...here.
13497 Improve database format to be smaller and require less memory at
13499 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
13501 * nss/nss_db/db-netgrp.c: Likewise.
13502 * nss/nss_db/db-open.c: Likewise.
13503 * nss/nss_files/flies-XXX.x: Adjust comments.
13504 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
13505 * nss/nss_files/files-grp.c: Likewise.
13506 * nss/nss_files/files-hosts.c: Likewise.
13507 * nss/nss_files/files-network.c: Likewise.
13508 * nss/nss_files/files-proto.c: Likewise.
13509 * nss/nss_files/files-pwd.c: Likewise.
13510 * nss/nss_files/files-rpc.c: Likewise.
13511 * nss/nss_files/files-service.c: Likewise.
13512 * nss/nss_files/files-sgrp.c: Likewise.
13513 * nss/nss_files/files-spwd.c: Likewise.
13514 * nss/nss_db/db-alias.c: Removed.
13515 * nss/nss_db/dummy-db.h: Removed.
13517 2011-06-02 Ulrich Drepper <drepper@gmail.com>
13519 * nss/makedb.c: Rewritten to not use database library.
13520 * nss/Makefile: Update to build new makedb program.
13522 2011-06-14 Andreas Jaeger <aj@suse.de>
13524 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
13525 memset declaration.
13527 2011-06-10 Andreas Schwab <schwab@redhat.com>
13529 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
13532 2011-06-10 Roland McGrath <roland@hack.frob.com>
13534 * Makerules (shlib.lds): Fail if the linker script comes out empty.
13535 * elf/Makefile ($(objpfx)ld.so): Likewise.
13537 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
13538 Don't list ld.so twice in dependencies.
13540 * posix/bug-regex31.c: Include <stdlib.h>.
13542 * nscd/hstcache.c (cache_addhst): Remove unused variable.
13544 * nis/nss_compat/compat-spwd.c
13545 (getspent_next_nss_netgr): Remove unused variable.
13546 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
13548 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
13549 nonmembers" output to use the right array.
13551 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
13553 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
13555 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
13556 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
13557 * catgets/gencat.c (read_input_file): Likewise.
13558 * locale/programs/locarchive.c (enlarge_archive): Likewise.
13560 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
13561 variable definition inside #if's controlling its use.
13563 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
13565 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
13567 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
13569 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
13572 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
13574 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
13575 * configure: Regenerated.
13577 * Makerules: Revert last change.
13578 * elf/Makefile: Likewise.
13580 2011-06-09 Roland McGrath <roland@hack.frob.com>
13582 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
13583 * elf/Makefile ($(objpfx)librtld.os): Likewise.
13584 (reloc-link): Likewise.
13586 2011-06-09 Ulrich Drepper <drepper@gmail.com>
13588 * elf/Makefile: Add rules to build pldd.
13589 * elf/pldd.c: New file.
13590 * elf/pldd-xx.c: New file.
13592 2011-06-07 Ulrich Drepper <drepper@gmail.com>
13594 * version.h: Update for 2.15 development version.
13596 2011-06-07 David S. Miller <davem@davemloft.net>
13598 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
13600 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
13601 elf_machine_lazy_rel): Likewise.
13602 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
13603 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
13604 elf_machine_lazy_rel): Likewise.
13605 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
13606 dl_hwcap via passed in argument.
13607 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
13610 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13612 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
13614 2011-06-06 Roland McGrath <roland@hack.frob.com>
13617 * manual/fdl-1.1.texi: New file, verbatim from:
13618 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
13619 * manual/lgpl-2.1.texi: New file, verbatim from:
13620 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
13621 * manual/Makefile (licenses): New variable, list those new file names.
13623 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
13625 * manual/fdl.texi: File removed.
13626 * manual/lesser.texi: File removed.
13627 * manual/libc.texinfo (Copying, Documentation License):
13628 Use new @include file names, put @appendix directive before @include.
13630 2011-06-04 Jakub Jelinek <jakub@redhat.com>
13633 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
13634 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
13635 (mq_open): Add __NTH.
13637 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
13639 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13640 Assume Intel Core i3/i5/i7 processor if AVX is available.
13642 2011-05-31 Ulrich Drepper <drepper@gmail.com>
13644 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13647 2011-05-31 Andreas Schwab <schwab@redhat.com>
13649 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
13650 memory. Use alloca_account. Fix memory leak when retrying.
13652 2011-05-31 Ulrich Drepper <drepper@gmail.com>
13654 * version.h (RELEASE): Bump for 2.14 release.
13655 * include/features.h (__GLIBC_MINOR__): Bump to 14.
13657 * config.make.in (RANLIB): Remove entry.
13659 2011-05-30 Ulrich Drepper <drepper@gmail.com>
13661 * po/Makefile (po-sed-cmd): Add ksh to extensions.
13662 (libc.pot): Work around missing support for .ksh extension in xgettext.
13665 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
13666 if both request failed.
13667 (send_dg): In case of server errors clear resplen or *resplen2.
13670 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
13671 when there are multiple maps.
13672 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
13673 (_dl_fini): Remove test here.
13675 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
13677 2011-05-29 Ulrich Drepper <drepper@gmail.com>
13680 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
13681 bit from old_res_options.
13682 (gaih_inet): Likewise.
13685 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
13688 * resolv/res_init.c (res_setoptions): Make the code more compact.
13691 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
13695 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
13697 * malloc/malloc.h: Mark malloc hook variables as deprecated.
13700 * malloc/malloc.h: Declare malloc hook variables as volatile.
13702 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
13706 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
13707 raise in the comment.
13708 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
13709 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13710 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
13712 2011-05-28 Ulrich Drepper <drepper@gmail.com>
13715 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
13716 grow the buffers more if it already has to be sufficient.
13717 (build_wcs_upper_buffer): Likewise.
13718 * posix/regexec.c (check_matching): Likewise.
13719 (clean_state_log_if_needed): Likewise.
13720 (extend_buffers): Don't enlarge buffers beyond size of the input
13722 Patches mostly by Emil Wojak <emil@wojak.eu>.
13723 * posix/bug-regex32.c: New file.
13724 * posix/Makefile (tests): Add bug-regex32.
13726 * locale/findlocale.c (_nl_find_locale): Return right away if
13727 _nl_explode_name failed.
13728 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
13730 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
13732 * debug/xtrace.sh: Unify messages.
13733 * malloc/memusage.sh: Likewise.
13736 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
13737 time symbol from vDSO. Substitute with vsyscall if not available.
13738 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
13741 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
13742 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
13743 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
13744 Add sendmmsg and internal_sendmmsg.
13745 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
13746 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
13747 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
13749 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
13750 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
13751 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
13753 2011-05-27 Ulrich Drepper <drepper@gmail.com>
13756 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
13757 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
13759 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
13763 * iconvdata/Makefile (tests): Add bug-iconv9.
13764 * iconvdata/bug-iconv9.c: New file.
13766 2011-05-27 Andreas Schwab <schwab@redhat.com>
13769 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
13771 2011-05-25 Jakub Jelinek <jakub@redhat.com>
13773 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13774 (struct user_regs_struct): Change intcs field back to cs.
13776 2011-05-25 Ulrich Drepper <drepper@gmail.com>
13778 * po/ja.po: Update from translation team.
13780 2011-05-23 Ulrich Drepper <drepper@gmail.com>
13783 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
13784 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
13786 2011-05-20 Andreas Schwab <schwab@redhat.com>
13788 * stdlib/longlong.h: Update from GCC.
13790 2011-05-23 Andreas Schwab <schwab@redhat.com>
13792 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
13794 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
13795 Add parameter name.
13796 (__sysconf): Pass it down.
13798 2011-05-22 Ulrich Drepper <drepper@gmail.com>
13801 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
13803 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
13804 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
13805 add in in __libc_use_alloca calls. Adjust callers.
13806 (glob): Use malloc in some situations.
13808 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
13809 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
13812 2011-05-21 Ulrich Drepper <drepper@gmail.com>
13814 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
13815 and CLOCK_BOOTTIME_ALARM.
13818 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
13821 * string/_strerror.c (__strerror_r): Print negative errors as signed
13825 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
13826 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
13827 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
13829 * configure.in: Fix typo in redirection and correct removal of test
13830 files in two cases.
13833 * locale/setlocale.c (new_composite_name): Fix test to check for
13834 identical name of all categories.
13837 * libio/filedoalloc.c (local_isatty): New function.
13838 (_IO_file_doallocate): Use local_isatty.
13839 * stdio-common/perror.c (perror): In case a new stream is used
13840 forward the stream error.
13841 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
13844 2011-05-20 Ulrich Drepper <drepper@gmail.com>
13847 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
13849 * include/alloca.h (extend_alloca_account): Define.
13852 * posix/regex.h: Fix comments with documentation of user-accessible
13853 fields after compilation and describe correct free'ing of pattern
13854 after re_compile_pattern.
13855 Patch by Reuben Thomas <rrt@sc3d.org>.
13857 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
13859 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
13860 and -mno-altivec to prevent the compiler from using Altivec and/or
13861 VSX instructions when the corresponding registers are not available.
13863 2011-05-19 Andreas Schwab <schwab@redhat.com>
13865 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
13867 2011-05-19 Ulrich Drepper <drepper@gmail.com>
13869 * libio/freopen.c (freopen): Use __dup2, not dup2.
13870 * libio/freopen64.c (freopen64): Likewise.
13872 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
13875 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
13876 * math/Makefile (tests): Add test-powl.
13877 (CFLAGS-test-powl.c): Define.
13878 * math/test-powl.c: New file.
13880 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
13882 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
13884 2011-05-17 Ulrich Drepper <drepper@gmail.com>
13887 * iconvdata/gb18030.c: Update to GB18020-2005.
13889 2011-05-16 Ulrich Drepper <drepper@gmail.com>
13891 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
13892 RE_SYNTAX_POSIX_AWK): Update to match recent development.
13893 Patch by Aharon Robbins <arnold@skeeve.com>.
13896 * stdlib/putenv.c (putenv): Don't always create copy of the variable
13900 * misc/pselect.c (__pselect): Handle timeout value errors hidden
13901 through underflows.
13904 * misc/error.c (error_at_line): Ensure file_name and old_file_name
13905 point to strings before performing equality test for error_one_per_line
13909 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
13912 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13913 (struct user_fpregs_struct): Avoid __uint*_t types.
13916 * malloc/mtrace.c (tr_where): Add additional parameter to point to
13917 symbol info. Use it instead of calling _dl_addr locally.
13918 (lock_and_info): New function.
13919 (tr_freehook): Call lock_and_info and pass symbol info as additional
13920 parameter to tr_where.
13921 (tr_mallochook): Likewise.
13922 (tr_reallochook): Likewise.
13923 (tr_memalignhook): Likewise.
13925 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
13926 used and couldn't be at all thread-safe.
13928 2011-05-15 Ulrich Drepper <drepper@gmail.com>
13930 * libio/freopen.c (freopen): Don't close old file descriptor
13931 before the new one is opened. Instead dup the new file descriptor
13932 to the old one after the new stream is created.
13933 * libio/freopen64.c (freopen64): Likewise.
13934 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
13935 * libio/fileops.c (_IO_new_file_close_it): Handle new
13936 _IO_FLAGS2_NOCLOSE flag.
13937 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
13938 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
13939 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
13940 _IO_FLAGS2_NOCLOSE flag.
13941 * include/unistd.h: Add hidden_proto for dup3.
13942 Define __have_dup3.
13943 * io/dup3.c: Define hidden symbol.
13944 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
13947 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
13948 when an incomplete long option is used.
13949 * posix/tst-getopt_long1.c: New file.
13950 * posix/Makefile (tests): Add tst-getopt_long1.
13953 * scripts/config.guess: Update from autoconf-2.68.
13954 * scripts/config.sub: Likewise.
13957 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
13959 (has_cpuclock): ...this. New function.
13960 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
13961 macro here based on has_cpuclock code.
13964 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13965 First byte (not low byte) is now always NUL.
13966 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
13968 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13969 Use non-cancelable interfaces.
13972 * locale/iso-639.def: Add entry for Sorani.
13975 * include/stdlib.h: Move include protection to the right place.
13976 Define abort_msg_s. Declare __abort_msg with it.
13977 * stdlib/abort.c (__abort_msg): Adjust type.
13978 * assert/assert.c (__assert_fail_base): New function. Majority
13979 of code from __assert_fail. Allocate memory for __abort_msg with
13981 (__assert_fail): Now call __assert_fail_base.
13982 * assert/assert-perr.c: Remove bulk of implementation. Use
13983 __assert_fail_base.
13984 * include/assert.hL Declare __assert_fail_base.
13985 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
13987 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
13989 2011-05-14 Ulrich Drepper <drepper@gmail.com>
13993 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
13994 until all modules are registered in the DTV.
13995 * elf/Makefile: Add rules to build and run tst-tls19.
13996 * elf/tst-tls19.c: New file.
13997 * elf/tst-tls19mod1.c: New file.
13998 * elf/tst-tls19mod2.c: New file.
13999 * elf/tst-tls19mod3.c: New file.
14000 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
14003 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
14007 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
14008 two-byte sequence errors.
14009 * iconvdata/Makefile (tests): Add bug-iconv8.
14010 * iconvdata/bug-iconv8.c: New file.
14013 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
14016 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
14019 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
14020 (dummy_getcfa): New function.
14021 (init): Get _Unwind_GetCFA address, use dummy if not found.
14022 (backtrace_helper): In recursion check, also check whether CFA changes.
14023 (__backtrace): Completely initialize arg.
14025 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
14026 storing incomplete byte sequence in state object. Avoid testing for
14027 guaranteed too small input if we know there is enough data available.
14029 2011-05-11 Andreas Schwab <schwab@redhat.com>
14031 * Makeconfig (+link-pie): Indent.
14032 * Rules (binaries-pie): Define if $(have-fpie) and
14034 (binaries-shared): Also filter out $(binaries-pie).
14035 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
14036 * nscd/Makefile (others-pie): Add nscd.
14037 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
14038 ($(objpfx)nscd): Remove command override.
14039 * login/Makefile (others-pie): Add pt_chown.
14040 ($(objpfx)pt_chown): Remove command override.
14041 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
14042 remove command overrides.
14044 2011-05-13 Ulrich Drepper <drepper@gmail.com>
14046 * libio/tst_putwc.c: Fix error messages.
14049 * libio/fileops.c (_IO_new_file_close_it): Always flush when
14050 currently writing and seek to current position when not.
14051 * libio/Makefile (tests): Add bug-fclose1.
14052 * libio/bug-fclose1.c: New file.
14054 2011-05-12 Ulrich Drepper <drepper@gmail.com>
14057 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
14058 don't set DF_1_NODELETE here.
14059 (do_lookup_x): When entering new entry test for copy relocation
14060 and if necessary set DF_1_NODELETE flag.
14061 * elf/tst-unique4.cc: New file.
14062 * elf/tst-unique4.h: New file.
14063 * elf/tst-unique4lib.cc: New file.
14064 * elf/Makefile: Add rules to build and run tst-unique4.
14065 Patch by Piotr Bury <pbury@goahead.com>.
14067 2011-05-11 Ulrich Drepper <drepper@gmail.com>
14070 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
14073 * misc/mntent_r.c (addmntent): Flush the stream after the output
14076 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
14077 (is_trusted_path_normalize): Skip initial colon. Append slash
14078 to empty buffer. Duplicate is_trusted_path code but allow
14079 constructed patch to be prefix.
14080 (is_dst): Allow $ORIGIN followed by /.
14081 (_dl_dst_substitute): Correct clearing of check_for_trusted.
14082 Correct testing of result of is_trusted_path_normalize
14083 (decompose_rpath): Fix warning.
14085 2011-05-10 Ulrich Drepper <drepper@gmail.com>
14088 * grp/initgroups.c (internal_getgrouplist): When we found the service
14089 list through the initgroups entry in nsswitch.conf do not always
14090 continue on a successful lookup. Don't always use the
14091 __nss_group_database value if it is set.
14092 * nss/nsswitch.conf (initgroups): Change action for successful db
14093 lookup to continue for compatibility.
14095 2011-05-09 Ulrich Drepper <drepper@gmail.com>
14098 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
14100 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
14102 * iconvdata/tst-tables.sh: Likewise.
14103 * iconvdata/cp770.c: New file.
14104 * iconvdata/cp771.c: New file.
14105 * iconvdata/cp772.c: New file.
14106 * iconvdata/cp773.c: New file.
14107 * iconvdata/cp774.c: New file.
14108 * iconvdata/testdata/CP770: New file.
14109 * iconvdata/testdata/CP770..UTF8: New file.
14110 * iconvdata/testdata/CP771: New file.
14111 * iconvdata/testdata/CP771..UTF8: New file.
14112 * iconvdata/testdata/CP772: New file.
14113 * iconvdata/testdata/CP772..UTF8: New file.
14114 * iconvdata/testdata/CP773: New file.
14115 * iconvdata/testdata/CP773..UTF8: New file.
14116 * iconvdata/testdata/CP774: New file.
14117 * iconvdata/testdata/CP774..UTF8: New file.
14119 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
14121 * iconvdata/gen-8bit-gap.sh: Likewise.
14122 * iconvdata/gen-8bit.sh: Likewise.
14124 * locale/iso-639.def: Add ary entry.
14127 * locale/C-translit.h.in: Add U20A1 transliteration.
14130 * locale/iso-639.def: Add wae entry.
14131 Patch by Kevin Bortis <bortis@translate-wae.ch>.
14134 * locale/programs/localedef.c (construct_output_path): Use ssize_t
14138 * locale/C-translit.h.in: Add entry for U20B9.
14139 Patch by pravin.d.s@gmail.com.
14141 2011-05-08 Ulrich Drepper <drepper@gmail.com>
14144 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
14145 ENAMETOOLONG use generic getcwd.
14146 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
14147 in rtld. Use *stat64.
14148 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
14149 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
14150 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
14151 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
14152 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
14153 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
14154 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
14155 __fstatat64 macros.
14156 * include/dirent.h: Add libc_hidden_proto for rewinddir.
14157 * dirent/rewinddir.c: Add libc_hidden_def.
14158 * sysdeps/mach/hurd/rewinddir.c: Likewise.
14159 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
14161 * include/dirent.h (__alloc_dir): Add flags parameter.
14162 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
14163 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
14165 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
14166 from fdopendir if O_CLOEXEC is already set.
14168 2011-03-15 Alan Modra <amodra@gmail.com>
14170 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
14171 l_tls_firstbyte_offset non-zero. Save padding offset in
14172 l_tls_firstbyte_offset for later use.
14173 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
14174 freeing static tls block.
14176 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
14178 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
14179 where #ifdef was intended. The intent is to prevent ARG_MAX from
14180 being defined by the kernel headers.
14182 2011-05-07 Ulrich Drepper <drepper@gmail.com>
14185 * resolv/resolv.h: Define RES_NOTLDQUERY.
14186 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
14187 no-tld-query and set RES_NOTLDQUERY.
14188 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
14189 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
14190 modern BIND to search name as TLD unless forbidden.
14192 2011-05-07 Petr Baudis <pasky@suse.cz>
14193 Ulrich Drepper <drepper@gmail.com>
14196 * elf/dl-load.c (fillin_rpath): Move trusted path check...
14197 (is_trusted_path): ...to here.
14198 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
14199 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
14200 using is_trusted_path_normalize() in setuid scripts.
14202 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14204 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
14205 __BEGIN/__END_DECLS.
14207 2011-05-06 Ulrich Drepper <drepper@gmail.com>
14209 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
14210 NSS_STATUS_NOTFOUND if no record was found.
14212 2011-05-05 Andreas Schwab <schwab@redhat.com>
14214 * sunrpc/Makefile (headers): Add rpc/netdb.h.
14215 (headers-not-in-tirpc): Remove rpc/netdb.h
14216 * resolv/netdb.h: Revert last change.
14218 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14220 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
14221 circular dependency between libgcc.a and libc.a.
14223 2011-05-05 Andreas Schwab <schwab@redhat.com>
14225 * resolv/netdb.h: Don't include <rpc/netdb.h>.
14226 * nis/Makefile: Don't install rpcsvc/*.
14227 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
14228 instead of <rpc/types.h>.
14229 (MAXHOSTNAMELEN): Define.
14231 2011-05-03 Andreas Schwab <schwab@redhat.com>
14233 * elf/ldconfig.c (add_dir): Don't crash on empty path.
14235 2011-04-28 Maciej Babinski <mbabinski@google.com>
14238 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
14239 gethostbyname4_r when IPv6 results are possible.
14241 2011-05-02 Ulrich Drepper <drepper@gmail.com>
14244 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
14245 _PC_PIPE_BUF handling.
14247 2011-04-30 Bruno Haible <bruno@clisp.org>
14250 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
14251 * resolv/netdb.h (getnameinfo): Change type of flags parameter
14253 * inet/getnameinfo.c (getnameinfo): Likewise.
14255 2011-04-29 Ulrich Drepper <drepper@gmail.com>
14257 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
14258 to groups setting in database lookup.
14259 * nss/nsswitch.conf: Add initgroups entry.
14261 2011-04-22 Ulrich Drepper <drepper@gmail.com>
14264 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
14266 Patch by Eric Blake <eblake@redhat.com>.
14268 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
14270 * sunrpc/Makefile (need-export-routines): Add svc_run.
14271 (routines): Remove svc_run.
14272 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
14273 * sunrpc/clnt_perr.c (clnt_perrno): Export.
14274 * sunrpc/svc_run.c (svc_run): Likewise.
14275 * sunrpc/svc_udp.c (svcudp_create): Likewise.
14277 2011-04-21 Ulrich Drepper <drepper@gmail.com>
14279 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
14280 problem in reallocation in last patch.
14282 2011-04-20 Ulrich Drepper <drepper@gmail.com>
14284 * sunrpc/Makefile: Move inclusion of Rules.
14286 2011-04-19 Ulrich Drepper <drepper@gmail.com>
14288 * nss/nss_files/files-initgroups.c: New file.
14289 * nss/Makefile (libnss_files-routines): Add files-initgroups.
14290 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
14291 _nss_files_initgroups_dyn.
14293 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
14295 * elf/elf.h (R_ARM_IRELATIVE): Define.
14297 2011-04-19 Ulrich Drepper <drepper@gmail.com>
14299 * po/ru.po: Update from translation team.
14301 2011-04-17 Ulrich Drepper <drepper@gmail.com>
14303 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
14306 2011-02-06 Mike Frysinger <vapier@gentoo.org>
14309 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
14310 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
14311 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
14312 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14313 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14315 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
14317 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
14319 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14320 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14321 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14323 2011-04-17 Ulrich Drepper <drepper@gmail.com>
14326 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
14328 * stdlib/bug-getcontext.c: New file.
14329 * stdlib/Makefile: Add rules to build and run bug-getcontext.
14331 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14333 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
14334 instructions into .machine "z9-109".
14335 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
14336 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
14338 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14340 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
14341 between environment variables and auxiliary vector.
14343 2011-04-16 Ulrich Drepper <drepper@gmail.com>
14345 * Makefile: Add rules to build linkobj/libc.so.
14346 * include/libc-symbols.h: Define libc_hidden_nolink.
14347 * include/rpc/auth.h: Mark functions which are to be hidden.
14348 * include/rpc/auth_des.h: Likewise.
14349 * include/rpc/auth_unix.h: Likewise.
14350 * include/rpc/clnt.h: Likewise.
14351 * include/rpc/des_crypt.h: Likewise.
14352 * include/rpc/key_prot.h: Likewise.
14353 * include/rpc/pmap_clnt.h: Likewise.
14354 * include/rpc/pmap_prot.h: Likewise.
14355 * include/rpc/pmap_rmt.h: Likewise.
14356 * include/rpc/rpc_msg.h: Likewise.
14357 * include/rpc/svc.h: Likewise.
14358 * include/rpc/svc_auth.h: Likewise.
14359 * include/rpc/xdr.h: Likewise.
14360 * nis/Makefile: Link all DSOs against linkobj/libc.so.
14361 * nss/Makefile: Likewise.
14362 * sunrpc/Makefile: Don't install headers. Build library with normal
14363 entry points. Don't build rpcinfo. Link RPC tests appropriately.
14364 * sunrpc/auth_des.c: Hide exported symbols by default, export some
14365 for the compat linking library. Remove use of INTDEF/INTUSE.
14366 * sunrpc/auth_none.c: Likewise.
14367 * sunrpc/auth_unix.c: Likewise.
14368 * sunrpc/authdes_prot.c: Likewise.
14369 * sunrpc/authuxprot.c: Likewise.
14370 * sunrpc/clnt_gen.c: Likewise.
14371 * sunrpc/clnt_perr.c: Likewise.
14372 * sunrpc/clnt_raw.c: Likewise.
14373 * sunrpc/clnt_simp.c: Likewise.
14374 * sunrpc/clnt_tcp.c: Likewise.
14375 * sunrpc/clnt_udp.c: Likewise.
14376 * sunrpc/clnt_unix.c: Likewise.
14377 * sunrpc/des_crypt.c: Likewise.
14378 * sunrpc/des_soft.c: Likewise.
14379 * sunrpc/get_myaddr.c: Likewise.
14380 * sunrpc/key_call.c: Likewise.
14381 * sunrpc/key_prot.c: Likewise.
14382 * sunrpc/netname.c: Likewise.
14383 * sunrpc/pm_getmaps.c: Likewise.
14384 * sunrpc/pm_getport.c: Likewise.
14385 * sunrpc/pmap_clnt.c: Likewise.
14386 * sunrpc/pmap_prot.c: Likewise.
14387 * sunrpc/pmap_prot2.c: Likewise.
14388 * sunrpc/pmap_rmt.c: Likewise.
14389 * sunrpc/publickey.c: Likewise.
14390 * sunrpc/rpc_cmsg.c: Likewise.
14391 * sunrpc/rpc_common.c: Likewise.
14392 * sunrpc/rpc_dtable.c: Likewise.
14393 * sunrpc/rpc_prot.c: Likewise.
14394 * sunrpc/rpc_thread.c: Likewise.
14395 * sunrpc/rtime.c: Likewise.
14396 * sunrpc/svc.c: Likewise.
14397 * sunrpc/svc_auth.c: Likewise.
14398 * sunrpc/svc_authux.c: Likewise.
14399 * sunrpc/svc_raw.c: Likewise.
14400 * sunrpc/svc_run.c: Likewise.
14401 * sunrpc/svc_simple.c: Likewise.
14402 * sunrpc/svc_tcp.c: Likewise.
14403 * sunrpc/svc_udp.c: Likewise.
14404 * sunrpc/svc_unix.c: Likewise.
14405 * sunrpc/svcauth_des.c: Likewise.
14406 * sunrpc/xcrypt.c: Likewise.
14407 * sunrpc/xdr.c: Likewise.
14408 * sunrpc/xdr_array.c: Likewise.
14409 * sunrpc/xdr_float.c: Likewise.
14410 * sunrpc/xdr_intXX_t.c: Likewise.
14411 * sunrpc/xdr_mem.c: Likewise.
14412 * sunrpc/xdr_rec.c: Likewise.
14413 * sunrpc/xdr_ref.c: Likewise.
14414 * sunrpc/xdr_sizeof.c: Likewise.
14415 * sunrpc/xdr_stdio.c: Likewise.
14417 2011-04-10 Ulrich Drepper <drepper@gmail.com>
14420 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
14421 * sysdeps/ia64/dl-tls.h: Likewise.
14422 * sysdeps/powerpc/dl-tls.h: Likewise.
14423 * sysdeps/s390/dl-tls.h: Likewise.
14424 * sysdeps/sh/dl-tls.h: Likewise.
14425 * sysdeps/sparc/dl-tls.h: Likewise.
14426 * sysdeps/x86_64/dl-tls.h: Likewise.
14427 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
14429 2011-03-14 Andreas Schwab <schwab@redhat.com>
14431 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
14432 rpath element also skip the following colon.
14433 (expand_dynamic_string_token): Add is_path parameter and pass
14434 down to DL_DST_REQUIRED and _dl_dst_substitute.
14435 (decompose_rpath): Call expand_dynamic_string_token with
14436 non-zero is_path. Ignore empty rpaths.
14437 (_dl_map_object_from_fd): Call expand_dynamic_string_token
14440 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
14442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
14445 2011-04-09 Ulrich Drepper <drepper@gmail.com>
14448 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
14449 Patch by Filipe David Manana <fdmanana@apache.org>.
14451 2011-04-07 Andreas Schwab <schwab@redhat.com>
14453 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
14454 Maintain aligned stack.
14455 (CHECK_RSP): Remove unused macro.
14457 2011-04-03 Ulrich Drepper <drepper@gmail.com>
14459 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
14460 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
14462 2011-04-02 Ulrich Drepper <drepper@gmail.com>
14464 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
14466 * include/features.h: Mention __USE_XOPEN2K8 in comment.
14468 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
14471 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
14472 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
14473 * sysdeps/x86_64/memmove.c: New file.
14474 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
14475 (memcpy): Renamed to ...
14476 (__new_memcpy): This.
14477 (memcpy): Provide GLIBC_2_14 memcpy.
14478 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
14479 (memcpy): Provide GLIBC_2_2_5 memcpy.
14481 2011-04-01 Ulrich Drepper <drepper@gmail.com>
14484 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
14486 2011-03-30 Andreas Schwab <schwab@redhat.com>
14488 * misc/syncfs.c: New file.
14489 * misc/Makefile (routines): Add syncfs.
14490 * posix/unistd.h: Declare syncfs.
14491 * sysdeps/unix/syscalls.list: Add syncfs.
14493 2011-04-01 Andreas Schwab <schwab@redhat.com>
14495 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
14497 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14498 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14499 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14500 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14501 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14502 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
14503 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14505 2011-04-01 Ulrich Drepper <drepper@gmail.com>
14507 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
14508 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14509 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
14510 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14511 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14512 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14513 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14515 * io/Makefile: Compile fallocate.c, fallocate64.c, and
14516 sync_file_range.c with -fexceptions.
14517 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
14518 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
14519 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
14520 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
14521 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
14522 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
14523 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
14524 sync_file_range as cancellation point
14525 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
14526 now a wrapper around __call_sync_file_range with cancellation handling.
14527 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
14528 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
14529 function name to __call_sync_file_range.
14530 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
14531 Add call_sync_file_range.
14533 2011-04-01 Andreas Schwab <schwab@redhat.com>
14535 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14538 2011-04-01 Ulrich Drepper <drepper@gmail.com>
14540 * iconv/iconv.h: Fix typo in comment.
14541 * io/fcntl.h: Likewise.
14542 * libio/stdio.h: Likewise.
14543 * posix/spawn.h: Likewise.
14544 * posix/unistd.h: Likewise.
14545 * stdlib/stdlib.h: Likewise.
14546 * time/time.h: Likewise.
14547 * wcsmbs/wchar.h: Likewise.
14549 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
14550 open_by_handle): Add.
14551 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
14552 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
14553 Augment a few comments.
14554 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14555 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14556 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14557 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14558 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14559 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
14562 * io/fcntl.h (AT_EMPTY_PATH): Define.
14564 2011-03-30 Ulrich Drepper <drepper@gmail.com>
14566 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
14567 * sysdeps/unix/sysv/linux/bits/time.h: New file.
14568 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
14570 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
14571 * Versions.def: Add GLIBC_2.14.
14572 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
14575 2011-03-22 Ulrich Drepper <drepper@gmail.com>
14577 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
14579 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14581 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
14584 * string/test-strncmp.c (do_page_test): New function.
14585 (check2): Likewise.
14586 (test_main): Call check2.
14587 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
14589 2011-03-20 Ulrich Drepper <drepper@gmail.com>
14592 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
14593 Handle cache information in CPU leaf 4.
14594 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14596 2011-03-18 Ulrich Drepper <drepper@gmail.com>
14599 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
14600 character representation.
14601 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
14603 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
14605 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
14606 END(__isnan) to END(__isnanf) to match function entry point/label
14607 EALIGN(__isnanf,...).
14609 2011-03-10 Jakub Jelinek <jakub@redhat.com>
14611 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
14613 2011-03-10 Ulrich Drepper <drepper@gmail.com>
14616 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
14617 copy from the symbol referenced in the relocation to initialize the
14619 Patch by Piotr Bury <pbury@goahead.com>.
14620 * elf/Makefile: Add rules to build and tst-unique3.
14621 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
14622 * elf/tst-unique3.cc: New file.
14623 * elf/tst-unique3.h: New file.
14624 * elf/tst-unique3lib.cc: New file.
14625 * elf/tst-unique3lib2.cc: New file.
14627 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
14629 2011-03-10 Mike Frysinger <vapier@gentoo.org>
14631 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
14632 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
14635 2011-03-06 Ulrich Drepper <drepper@gmail.com>
14637 * elf/dl-load.c (_dl_map_object): If we are looking for the first
14638 to-be-loaded object along a path to loader is ld.so.
14640 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14641 Ulrich Drepper <drepper@gmail.com>
14643 * sysdeps/x86_64/memset.S: After aligning destination, code
14644 branches to different locations depending on the value of
14645 misalignment, when multiarch is enabled. Fix this.
14647 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14649 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
14650 Set _x86_64_preferred_memory_instruction for AMD processsors.
14651 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14652 Set bit_Prefer_SSE_for_memop for AMD processors.
14654 2011-03-04 Ulrich Drepper <drepper@gmail.com>
14656 * libio/fmemopen.c (fmemopen): Optimize a bit.
14658 2011-03-03 Andreas Schwab <schwab@redhat.com>
14660 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
14662 2011-03-03 Roland McGrath <roland@redhat.com>
14664 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
14666 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
14668 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
14669 __bzero_ultra1 instead of __memset_ultra1.
14671 2011-02-23 Andreas Schwab <schwab@redhat.com>
14672 Ulrich Drepper <drepper@gmail.com>
14675 * include/link.h (struct link_map): Add l_orig_initfini.
14676 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
14677 returning unsuccessfully.
14678 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
14679 close of a file loaded at startup, restore the original l_initfini
14681 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
14682 list, store the pointer.
14683 * elf/Makefile ($(objpfx)noload-mem): New rule.
14684 (noload-ENV): Define.
14685 (tests): Add $(objpfx)noload-mem.
14686 * elf/noload.c: Include <memcheck.h>.
14687 (main): Call mtrace. Close all opened handles.
14689 2011-02-17 Andreas Schwab <schwab@redhat.com>
14692 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
14693 dependencies are missing.
14695 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
14697 Fix __if_freereq crash: Unlike the generic version which uses free,
14699 * sysdeps/mach/hurd/ifreq.h: New file.
14701 2011-01-27 Petr Baudis <pasky@suse.cz>
14702 Ulrich Drepper <drepper@gmail.com>
14705 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
14706 to extend_alloca().
14707 * stdio-common/bug23.c: New file.
14708 * stdio-common/Makefile (tests): Add bug23.
14710 2010-09-28 Andreas Schwab <schwab@redhat.com>
14711 Ulrich Drepper <drepper@gmail.com>
14714 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
14715 before performing relro protection. At old place add assertion
14716 to make sure nothing changed.
14718 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
14719 Glauber de Oliveira Costa <glommer@gmail.com>
14721 * elf/elf.h: Add new ARM TLS relocs.
14723 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
14725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14726 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
14728 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
14730 * sysdeps/wordsize-64/tst-writev.c: New file.
14732 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
14734 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
14735 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
14736 insns in _dl_start to prevent a TOC reference before relocs are
14739 2011-02-15 Ulrich Drepper <drepper@gmail.com>
14742 * Makeconfig: Remove RANLIB definition.
14743 * Makerules: Don't use RANLIB.
14744 * aclocal.m4: Remove ranlib test.
14745 * configure.in: No need to check for ranlib.
14746 * elf/rtld-Rules: Don't use RANLIB.
14748 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14750 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
14752 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
14753 inclusion protection macro.
14755 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
14756 SIGRTMIN and SIGRTMAX and print information in that case only when
14757 SIGRTMIN is defined.
14759 2011-02-11 Jakub Jelinek <jakub@redhat.com>
14761 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
14762 arginfo fn returning -1.
14764 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
14765 and thousands string is zero terminated.
14767 2011-02-03 Andreas Schwab <schwab@redhat.com>
14769 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
14770 sysdeps/unix/sysv/linux/bits/socket.h.
14772 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
14774 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
14775 (__CPU_COUNT): Remove old macros.
14776 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
14777 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
14778 (__CPU_ALLOC, __CPU_FREE): Add macros.
14779 (__sched_cpualloc, __sched_cpufree): Add declarations.
14781 2011-02-05 Ulrich Drepper <drepper@gmail.com>
14783 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
14784 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
14785 * nscd/aicache.c (addhstaiX): Return timeout of added value.
14786 (readdhstai): Return value of addhstaiX call.
14787 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
14788 (addgrbyX): Return value returned by cache_addgr.
14789 (readdgrbyname): Return value returned by addgrbyX.
14790 (readdgrbygid): Likewise.
14791 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
14792 (addpwbyX): Return value returned by cache_addpw.
14793 (readdpwbyname): Return value returned by addhstbyX.
14794 (readdpwbyuid): Likewise.
14795 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
14796 (addservbyX): Return value returned by cache_addserv.
14797 (readdservbyname): Return value returned by addservbyX:
14798 (readdservbyport): Likewise.
14799 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
14800 (addhstbyX): Return value returned by cache_addhst.
14801 (readdhstbyname): Return value returned by addhstbyX.
14802 (readdhstbyaddr): Likewise.
14803 (readdhstbynamev6): Likewise.
14804 (readdhstbyaddrv6): Likewise.
14805 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
14806 (readdinitgroups): Return value returned by addinitgroupsX.
14807 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
14808 (prune_cache): Keep track of timeout value of re-added entries.
14809 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
14810 * nscd/nscd.h: Adjust prototypes of readd* functions.
14812 2011-02-04 Roland McGrath <roland@redhat.com>
14814 * nis/nis_server.c (nis_servstate): Use the right name for 0.
14815 (nis_stats): Likewise.
14816 * nis/nis_modify.c (nis_modify): Likewise.
14817 * nis/nis_remove.c (nis_remove): Likewise.
14818 * nis/nis_add.c (nis_add): Likewise.
14820 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
14822 * posix/fnmatch_loop.c: Add some consts.
14824 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
14826 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
14829 * config.make.in (config-cflags-novzeroupper): Define.
14830 * configure.in: Substitute libc_cv_cc_novzeroupper.
14831 * elf/Makefile (AVX-CFLAGS): Define.
14832 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
14833 (CFLAGS-tst-auditmod4a.c): Likewise.
14834 (CFLAGS-tst-auditmod4b.c): Likewise.
14835 (CFLAGS-tst-auditmod6b.c): Likewise.
14836 (CFLAGS-tst-auditmod6c.c): Likewise.
14837 (CFLAGS-tst-auditmod7b.c): Likewise.
14838 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
14840 2011-02-02 Ulrich Drepper <drepper@gmail.com>
14842 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
14843 function to the callback.
14844 Patch partly by Jiri Olsa <jolsa@redhat.com>.
14846 2011-02-02 Andreas Schwab <schwab@redhat.com>
14848 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
14851 2011-01-19 Ulrich Drepper <drepper@gmail.com>
14854 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
14856 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
14858 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
14861 * elf/Makefile: Add rules to build and run new test.
14862 * elf/tst-initorder.c: New file.
14863 * elf/tst-initorder.exp: New file.
14864 * elf/tst-initordera1.c: New file.
14865 * elf/tst-initordera2.c: New file.
14866 * elf/tst-initordera3.c: New file.
14867 * elf/tst-initordera4.c: New file.
14868 * elf/tst-initorderb1.c: New file.
14869 * elf/tst-initorderb2.c: New file.
14870 * elf/tst-order-a1.c: New file.
14871 * elf/tst-order-a2.c: New file.
14872 * elf/tst-order-a3.c: New file.
14873 * elf/tst-order-a4.c: New file.
14874 * elf/tst-order-b1.c: New file.
14875 * elf/tst-order-b2.c: New file.
14876 * elf/tst-order-main.c: New file.
14877 New test case by George Gensure <werkt0@gmail.com>.
14879 2010-10-01 Andreas Schwab <schwab@redhat.com>
14881 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14882 decoding ACE if AI_CANONIDN.
14884 2011-01-18 Ulrich Drepper <drepper@gmail.com>
14886 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
14888 2011-01-17 Ulrich Drepper <drepper@gmail.com>
14890 * version.h (RELEASE): Bump for 2.13 release.
14891 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
14893 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
14895 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
14897 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
14898 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
14899 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
14900 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
14901 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
14902 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
14904 * posix/getconf.c: Update copyright year.
14905 * catgets/gencat.c: Likewise.
14906 * csu/version.c: Likewise.
14907 * debug/catchsegv.sh: Likewise.
14908 * debug/xtrace.sh: Likewise.
14909 * elf/ldconfig.c: Likewise.
14910 * elf/ldd.bash.in: Likewise.
14911 * elf/sprof.c (print_version): Likewise.
14912 * iconv/iconv_prog.c: Likewise.
14913 * iconv/iconvconfig.c: Likewise.
14914 * locale/programs/locale.c: Likewise.
14915 * locale/programs/localedef.c: Likewise.
14916 * malloc/memusage.sh: Likewise.
14917 * malloc/mtrace.pl: Likewise.
14918 * nscd/nscd.c (print_version): Likewise.
14919 * nss/getent.c: Likewise.
14921 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
14922 PF_CAIF, and PF_ALG.
14923 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14925 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
14927 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
14928 (modules-names): Use them.
14929 (ifunc-test-modules, ifunc-pie-tests): Define.
14930 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
14931 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
14932 (test-extras): Likewise.
14933 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
14934 $(compile-command.c).
14935 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
14936 (all-built-dso): Define.
14937 (check-textrel.out, check-execstack.out): Depend on it.
14939 * configure.in: Don't override --enable-multi-arch.
14941 2011-01-15 Ulrich Drepper <drepper@gmail.com>
14944 * nscd/hstcache.c (tryagain): Define.
14945 (cache_addhst): Return tryagain not notfound for temporary errors.
14946 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
14949 2011-01-14 Ulrich Drepper <drepper@gmail.com>
14952 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
14953 to make the syscall.
14954 * sysdeps/unix/sysv/linux/setgroups.c: New file.
14957 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
14958 and fall back to matching as normal character if the string ends before
14959 the matching ']' is found. This is what POSIX requires.
14960 * posix/testfnm.c: Adjust test result.
14961 * posix/globtest.sh: Adjust test result. Add new test.
14962 * posix/tst-fnmatch.input: Likewise.
14963 * posix/tst-fnmatch2.c: Add new test.
14965 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
14967 * elf/Makefile (check-execstack): Revert last change. Depend on
14969 (check-execstack.h): New target.
14970 (generated): Add check-execstack.h.
14971 * elf/check-execstack.c: Include "check-execstack.h".
14972 (main): Revert last change.
14973 (handle_file): Return zero if GNU_STACK is absent and
14974 DEFAULT_STACK_PERMS doesn't include PF_X.
14976 2011-01-13 Ulrich Drepper <drepper@gmail.com>
14978 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
14979 in child fails because the descriptor is already closed.
14980 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
14981 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
14982 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
14985 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
14989 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
14990 temporary buffer used to handle multi lookups locally.
14991 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
14993 2011-01-12 Ulrich Drepper <drepper@gmail.com>
14995 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
14998 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
15000 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
15001 alignment for SSE2.
15003 2011-01-12 Ulrich Drepper <drepper@gmail.com>
15006 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
15007 characters. When rounding increased number of integer digits recompute
15009 * stdio-common/tst-grouping.c: New file.
15010 * stdio-common/Makefile: Add rules to build and run tst-grouping.
15012 2011-01-09 Ulrich Drepper <drepper@gmail.com>
15014 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
15015 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
15017 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
15019 * bits/select.h: Likewise.
15021 2011-01-08 Ulrich Drepper <drepper@gmail.com>
15023 * po/ja.po: Update from translation team.
15025 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
15028 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
15029 implementation just like for lxstat, fxstatat, et al.
15031 2010-12-27 Jim Meyering <meyering@redhat.com>
15034 * posix/regexec.c (build_trtable): Return failure indication upon
15035 calloc failure. Otherwise, re_search_internal could infloop on OOM.
15037 2010-12-25 Ulrich Drepper <drepper@gmail.com>
15040 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
15041 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
15042 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
15043 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
15046 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
15049 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
15050 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
15052 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
15054 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
15055 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
15056 script has SORT_BY_INIT_PRIORITY.
15057 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
15058 NO_CTORS_DTORS_SECTIONS is defined.
15059 * elf/soinit.c: Likewise.
15060 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
15061 NO_CTORS_DTORS_SECTIONS is defined.
15062 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
15063 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
15064 * sysdeps/sh/init-first.c: Likewise.
15065 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
15067 2010-12-24 Ulrich Drepper <drepper@gmail.com>
15069 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
15070 always use the slow path.
15072 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
15074 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
15075 similar rule which adds the sysdep directories to the header search in
15076 order to pick up the correct platform stackinfo.h.
15077 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
15078 perform test if it is, otherwise return successfully without testing.
15079 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
15080 DEFAULT_STACK_PERMS define in stackinfo.h.
15081 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
15082 defined in stackinfo.h.
15083 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
15084 DEFAULT_STACK_PERMS defined in stackinfo.h.
15085 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
15086 * sysdeps/ia64/stackinfo.h: Likewise.
15087 * sysdeps/s390/stackinfo.h: Likewise.
15088 * sysdeps/sh/stackinfo.h: Likewise.
15089 * sysdeps/sparc/stackinfo.h: Likewise.
15090 * sysdeps/x86_64/stackinfo.h: Likewise.
15091 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
15092 PF_X for powerpc64. Retain PF_X for powerpc32.
15094 2010-12-19 Ulrich Drepper <drepper@gmail.com>
15096 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
15098 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
15099 GETDENTS_64BIT_ALIGNED.
15101 2010-12-14 Ulrich Drepper <dreper@gmail.com>
15103 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
15105 2010-12-10 Andreas Schwab <schwab@redhat.com>
15107 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
15110 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
15111 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
15113 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
15114 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
15116 2010-12-09 Ulrich Drepper <drepper@gmail.com>
15119 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
15122 2010-12-09 Jakub Jelinek <jakub@redhat.com>
15124 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
15126 2010-12-03 Ulrich Drepper <drepper@gmail.com>
15128 * po/it.po: Update from translation team.
15130 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
15132 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
15135 2010-11-30 Ulrich Drepper <drepper@gmail.com>
15137 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
15139 2010-11-24 Andreas Schwab <schwab@redhat.com>
15141 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
15143 (gaih_getanswer_slice): Likewise.
15145 2010-10-20 Jakub Jelinek <jakub@redhat.com>
15147 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
15149 2010-05-31 Petr Baudis <pasky@suse.cz>
15152 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
15153 silently even in the chroot mode.
15155 2010-11-22 Ulrich Drepper <drepper@gmail.com>
15157 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
15158 last patch a bit. Pretty printing
15160 2010-05-31 Petr Baudis <pasky@suse.cz>
15163 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
15164 initialization of skip_initgroups_dyn.
15166 2010-11-19 Ulrich Drepper <drepper@gmail.com>
15168 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
15169 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
15171 2010-11-16 Ulrich Drepper <drepper@gmail.com>
15173 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
15175 2010-11-11 Andreas Schwab <schwab@redhat.com>
15177 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
15178 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
15179 (tst-fnmatch-ENV): Set MALLOC_TRACE.
15180 ($(objpfx)tst-fnmatch-mem): New rule.
15181 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
15182 * posix/tst-fnmatch.c (main): Call mtrace.
15184 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
15186 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15187 Support Intel processor model 6 and model 0x2c.
15189 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
15191 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
15194 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
15197 * string/test-strncasecmp.c (check_result): New function.
15198 (do_one_test): Use it.
15199 (check1): New function.
15200 (test_main): Use it.
15201 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
15202 Support strcasecmp and strncasecmp.
15204 2010-11-08 Ulrich Drepper <drepper@gmail.com>
15207 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
15208 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15210 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
15212 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
15214 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15216 * sysdeps/x86_64/multiarch/bzero.S: New file.
15217 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
15218 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
15219 * sysdeps/x86_64/multiarch/memset.S: New file.
15220 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
15221 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15222 Set bit_Prefer_SSE_for_memop for Intel processors.
15223 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
15225 (index_Prefer_SSE_for_memop): Define.
15226 (HAS_PREFER_SSE_FOR_MEMOP): Define.
15228 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
15230 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
15231 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
15233 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
15236 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15237 (__x86_64_raw_data_cache_size_half): Likewise.
15238 (__x86_64_raw_shared_cache_size): Likewise.
15239 (__x86_64_raw_shared_cache_size_half): Likewise.
15241 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15242 (__x86_64_raw_data_cache_size_half): Likewise.
15243 (__x86_64_raw_shared_cache_size): Likewise.
15244 (__x86_64_raw_shared_cache_size_half): Likewise.
15245 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
15246 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
15247 and __x86_64_raw_shared_cache_size_half. Round
15248 __x86_64_data_cache_size_half, __x86_64_data_cache_size
15249 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
15250 to multiple of 256 bytes.
15252 2010-11-03 Ulrich Drepper <drepper@gmail.com>
15255 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
15256 of inacessible symlinks. Verify result of symlink before returning it.
15257 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
15258 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
15260 2010-10-28 Erich Ritz <erichritz@gmail.com>
15262 * math/math.h (isinf): Fix typo in comment.
15264 2010-11-01 Ulrich Drepper <drepper@gmail.com>
15266 * po/da.po: Update from translation team.
15268 2010-10-26 Ulrich Drepper <drepper@gmail.com>
15270 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
15271 is added to the list.
15273 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15274 Ulrich Drepper <drepper@gmail.com>
15276 * elf/dl-object.c (_dl_new_object): Don't append the new object to
15277 the global list here. Move code to...
15278 (_dl_add_to_namespace_list): ...here. New function.
15279 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
15280 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
15281 * elf/dl-load.c (lose): Don't remove the element from the list.
15282 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
15283 (_dl_map_object): Likewise.
15285 2010-10-25 Ulrich Drepper <drepper@gmail.com>
15288 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
15289 into all bytes of SSE register.
15290 Patch by Richard Li <richardpku@gmail.com>.
15292 2010-10-24 Ulrich Drepper <drepper@gmail.com>
15295 * malloc/malloc.c (_int_free): Fill correct number of bytes when
15298 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
15300 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
15301 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
15302 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
15303 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
15306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
15308 2010-10-22 Andreas Schwab <schwab@redhat.com>
15310 * include/dlfcn.h (__RTLD_SECURE): Define.
15311 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
15312 mode & __RTLD_SECURE instead.
15313 (open_path): Rename preloaded parameter to secure.
15314 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
15315 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
15316 * elf/dl-deps.c (openaux): Likewise.
15317 * elf/rtld.c (struct map_args): Remove is_preloaded.
15318 (map_doit): Don't use it.
15319 (dl_main): Likewise.
15320 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
15321 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
15323 2010-09-09 Andreas Schwab <schwab@redhat.com>
15325 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
15326 (sysd-rules-targets): Remove duplicates.
15327 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
15328 rtld-%.$o dependency.
15330 2010-10-18 Andreas Schwab <schwab@redhat.com>
15332 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
15333 _dl_map_object do it.
15335 2010-10-19 Ulrich Drepper <drepper@gmail.com>
15337 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
15338 fast fma builtins, define the macros in the C99 standard.
15339 (FP_FAST_FMAF): Likewise.
15340 (FP_FAST_FMAL): Likewise.
15341 * sysdeps/x86_64/bits/mathdef.h: Likewise.
15343 * bits/mathdef.h: Update copyright year.
15344 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15346 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
15348 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
15349 builtins, define the macros in the C99 standard.
15350 (FP_FAST_FMAF): Likewise.
15351 (FP_FAST_FMAL): Likewise.
15352 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
15354 (FP_FAST_FMAF): Likewise.
15356 2010-10-15 Jakub Jelinek <jakub@redhat.com>
15359 * math/libm-test.inc (fma_test): Some new testcases.
15360 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
15361 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
15362 y and infinite z. Do multiplication by C already in long double.
15363 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
15364 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
15365 y and infinite z. Do bitwise or of inexact bit into u.d.
15366 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
15367 * sysdeps/i386/fpu/s_fmaf.S: Removed.
15368 * sysdeps/i386/fpu/s_fma.S: Removed.
15369 * sysdeps/i386/fpu/s_fmal.S: Removed.
15371 2010-10-16 Jakub Jelinek <jakub@redhat.com>
15374 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
15375 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
15376 computation is not scheduled after fetestexcept. Fix value
15377 of minimum denormal long double.
15379 2010-10-14 Jakub Jelinek <jakub@redhat.com>
15382 * math/libm-test.inc (fma_test): Add some more tests.
15383 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
15386 2010-10-15 Andreas Schwab <schwab@redhat.com>
15388 * scripts/data/localplt-s390-linux-gnu.data: New file.
15389 * scripts/data/localplt-s390x-linux-gnu.data: New file.
15391 2010-10-13 Jakub Jelinek <jakub@redhat.com>
15394 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
15395 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
15397 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
15399 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
15400 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
15401 if one of x and y is very large and the other is subnormal.
15402 * sysdeps/s390/fpu/s_fmaf.c: New file.
15403 * sysdeps/s390/fpu/s_fma.c: New file.
15404 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
15405 * sysdeps/powerpc/fpu/s_fma.S: New file.
15406 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
15407 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
15408 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
15410 2010-10-12 Jakub Jelinek <jakub@redhat.com>
15413 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
15415 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
15416 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
15417 * sysdeps/i386/i686/multiarch/s_fma.c: Include
15418 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
15419 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
15420 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
15421 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
15423 2010-10-12 Ulrich Drepper <drepper@redhat.com>
15426 * posix/regcomp.c (parse_branch): One more memory leak plugged.
15427 * posix/bug-regex31.input: Add test case.
15429 2010-10-11 Ulrich Drepper <drepper@gmail.com>
15431 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
15432 * posix/bug-regex31.input: New file.
15435 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
15436 (parse_sub_exp): Fix last change, use postorder.
15438 * posix/bug-regex31.c: New file.
15439 * posix/Makefile: Add rules to build and run bug-regex31.
15441 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
15444 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
15447 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
15448 to have entries in sys_siglist.
15451 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
15454 2010-10-07 Jakub Jelinek <jakub@redhat.com>
15457 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
15458 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
15459 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
15460 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
15461 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
15462 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
15463 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
15464 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
15465 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
15466 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
15467 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
15468 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
15469 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
15470 * math/ftestexcept.c (fetestexcept): Likewise.
15471 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
15472 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
15473 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
15474 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
15475 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
15476 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
15477 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15479 2010-10-11 Ulrich Drepper <drepper@gmail.com>
15482 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
15485 2010-10-06 Ulrich Drepper <drepper@gmail.com>
15487 * string/bug-strstr1.c: New file.
15488 * string/Makefile: Add rules to build and run bug-strstr1.
15490 2010-10-05 Eric Blake <eblake@redhat.com>
15493 * string/str-two-way.h (two_way_long_needle): Always clear memory
15494 when skipping input due to the shift table.
15496 2010-10-03 Ulrich Drepper <drepper@gmail.com>
15499 * malloc/mcheck.c: Handle large requests.
15502 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
15503 for strncmp and strncasecmp.
15504 * string/stratcliff.c: Add tests for strcmp and strncmp.
15505 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
15507 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15509 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
15512 2010-09-30 Andreas Jaeger <aj@suse.de>
15514 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
15515 (CGROUP_SUPER_MAGIC): Define.
15516 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15517 Handle btrfs and cgroup file systems.
15518 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
15521 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
15523 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
15524 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
15526 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15529 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
15530 trying to locate the ELF header.
15532 2010-09-27 Andreas Schwab <schwab@redhat.com>
15535 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
15536 Mask out sign-bit copies when constructing f_fsid.
15538 2010-09-24 Petr Baudis <pasky@suse.cz>
15540 * debug/stack_chk_fail_local.c: Add missing licence exception.
15541 * debug/warning-nop.c: Likewise.
15543 2010-09-15 Joseph Myers <joseph@codesourcery.com>
15545 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
15546 implementing getdents64 using getdents syscall, set d_type if
15547 __ASSUME_GETDENTS32_D_TYPE.
15549 2010-09-16 Andreas Schwab <schwab@redhat.com>
15551 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
15552 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
15554 2010-09-21 Ulrich Drepper <drepper@redhat.com>
15557 * posix/unistd.h: Undo change of feature selection for ftruncate from
15560 2010-09-20 Ulrich Drepper <drepper@redhat.com>
15562 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
15565 2010-09-20 Andreas Schwab <schwab@redhat.com>
15567 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
15569 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15571 2010-09-14 Andreas Schwab <schwab@redhat.com>
15573 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
15574 variables after CHECK_SP call.
15575 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
15577 2010-09-13 Andreas Schwab <schwab@redhat.com>
15578 Ulrich Drepper <drepper@redhat.com>
15580 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
15581 re-relocationg ld.so.
15582 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
15583 _dl_init_paths call.
15584 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
15587 2010-09-14 Ulrich Drepper <drepper@redhat.com>
15589 * resolv/res_init.c (__res_vinit): Count the default server we added.
15591 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
15592 Ulrich Drepper <drepper@redhat.com>
15595 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15596 (____longjmp_chk): Use %ebx for saving value across system call.
15599 2010-09-06 Andreas Schwab <schwab@redhat.com>
15601 * manual/Makefile: Don't mix pattern rules with normal rules.
15603 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
15605 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
15607 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
15608 * libio/iofopncook.c (_IO_cookie_init): Likewise.
15609 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
15610 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
15611 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15614 2010-09-04 Ulrich Drepper <drepper@redhat.com>
15617 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
15618 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
15620 2010-09-02 Ulrich Drepper <drepper@redhat.com>
15622 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
15623 * sysdeps/x86_64/addmul_1.S: Likewise.
15624 * sysdeps/x86_64/lshift.S: Likewise.
15625 * sysdeps/x86_64/mul_1.S: Likewise.
15626 * sysdeps/x86_64/rshift.S: Likewise.
15627 * sysdeps/x86_64/sub_n.S: Likewise.
15628 * sysdeps/x86_64/submul_1.S: Likewise.
15630 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
15632 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
15633 Define __sched_param instead of SCHED_* and sched_param when
15634 <bits/sched.h> is included with __need_schedparam defined.
15635 * bits/sched.h [__need_schedparam]
15636 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
15637 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
15638 (__defined_schedparam): Define to 1.
15639 (__sched_param): New structure, identical to sched_param.
15640 (__need_schedparam): Undefine.
15642 2010-08-31 Mike Frysinger <vapier@gentoo.org>
15644 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
15645 (epoll_create1): Declare.
15647 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
15649 2010-08-31 Andreas Schwab <schwab@redhat.com>
15652 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
15653 shifting retval into place.
15655 2010-09-01 Ulrich Drepper <drepper@redhat.com>
15657 * nis/rpcsvc/nis.h: Update copyright notice.
15658 * nis/rpcsvc/nis.x: Likewise.
15659 * nis/rpcsvc/nis_callback.h: Likewise.
15660 * nis/rpcsvc/nis_callback.x: Likewise.
15661 * nis/rpcsvc/nis_object.x: Likewise.
15662 * nis/rpcsvc/nis_tags.h: Likewise.
15663 * nis/rpcsvc/yp.h: Likewise.
15664 * nis/rpcsvc/yp.x: Likewise.
15665 * nis/rpcsvc/ypupd.h: Likewise.
15666 * nis/yp_xdr.c: Likewise.
15667 * nis/ypupdate_xdr.c: Likewise.
15669 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
15670 mainly the body of pmap_getport. Add parameters to specify timeouts.
15671 (pmap_getport): Use __libc_rpc_getport.
15672 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
15673 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
15674 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
15676 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
15678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
15681 2010-08-27 Roland McGrath <roland@redhat.com>
15683 * sysdeps/i386/i686/multiarch/Makefile
15684 (CFLAGS-varshift.c): New variable.
15686 2010-08-27 Ulrich Drepper <drepper@redhat.com>
15688 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
15689 * sysdeps/i386/i686/multiarch/varshift.c: New file.
15691 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
15693 * sysdeps/x86_64/strlen.S: Minimal code improvement.
15695 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
15697 * sysdeps/x86_64/strlen.S: Unroll the loop.
15698 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15699 strlen-sse2 strlen-sse2-bsf.
15700 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
15701 __strlen_no_bsf if bit_Slow_BSF is set.
15702 (__strlen_sse42): Removed.
15703 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
15704 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
15706 2010-08-25 Roland McGrath <roland@redhat.com>
15708 * sysdeps/x86_64/multiarch/varshift.S: File removed.
15709 * sysdeps/x86_64/multiarch/varshift.c: New file.
15710 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
15711 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
15712 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
15713 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15715 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
15717 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15718 strlen-sse2 strlen-sse2-bsf.
15719 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
15720 __strlen_sse2_bsf if bit_Slow_BSF is unset.
15721 (__strlen_sse2): Removed.
15722 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
15723 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
15724 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
15725 bit_Slow_BSF for Atom.
15726 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
15727 (index_Slow_BSF): Define.
15728 (HAS_SLOW_BSF): Define.
15730 2010-08-25 Ulrich Drepper <drepper@redhat.com>
15733 * resolv/res_init.c (__res_vinit): When no server address at all
15734 is given default to loopback.
15736 2010-08-24 Roland McGrath <roland@redhat.com>
15738 * configure.in: Remove config-name.h generation.
15739 * configure: Regenerated.
15740 * config-name.in: File removed.
15741 * scripts/config-uname.sh: New file.
15742 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
15743 ($(objdir)config-name.h): New target.
15745 * sunrpc/rpc_parse.h: Avoid nested comment.
15747 2010-08-24 Richard Henderson <rth@redhat.com>
15748 Ulrich Drepper <drepper@redhat.com>
15749 H.J. Lu <hongjiu.lu@intel.com>
15751 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
15752 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
15753 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
15754 Replace _mm_srli_si128 with __m128i_shift_right. Replace
15755 _mm_alignr_epi8 with _mm_loadu_si128.
15756 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
15757 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
15758 (__m128i_shift_right): Removed.
15759 * sysdeps/i386/i686/multiarch/varshift.h: New file.
15760 * sysdeps/i386/i686/multiarch/varshift.S: New file.
15761 * sysdeps/x86_64/multiarch/varshift.h: New file.
15762 * sysdeps/x86_64/multiarch/varshift.S: New file.
15764 2010-08-21 Mike Frysinger <vapier@gentoo.org>
15766 * configure.in: Move assembler checks to before sysdep dir checking.
15768 2010-08-20 Petr Baudis <pasky@suse.cz>
15770 * LICENSES: Sync the sunrpc license.
15772 2010-08-19 Ulrich Drepper <drepper@redhat.com>
15774 * sunrpc/auth_des.c: Update copyright notice once again.
15775 * sunrpc/auth_none.c: Likewise.
15776 * sunrpc/auth_unix.c: Likewise.
15777 * sunrpc/authdes_prot.c: Likewise.
15778 * sunrpc/authuxprot.c: Likewise.
15779 * sunrpc/bindrsvprt.c: Likewise.
15780 * sunrpc/clnt_gen.c: Likewise.
15781 * sunrpc/clnt_perr.c: Likewise.
15782 * sunrpc/clnt_raw.c: Likewise.
15783 * sunrpc/clnt_simp.c: Likewise.
15784 * sunrpc/clnt_tcp.c: Likewise.
15785 * sunrpc/clnt_udp.c: Likewise.
15786 * sunrpc/clnt_unix.c: Likewise.
15787 * sunrpc/des_crypt.c: Likewise.
15788 * sunrpc/des_soft.c: Likewise.
15789 * sunrpc/get_myaddr.c: Likewise.
15790 * sunrpc/getrpcport.c: Likewise.
15791 * sunrpc/key_call.c: Likewise.
15792 * sunrpc/key_prot.c: Likewise.
15793 * sunrpc/openchild.c: Likewise.
15794 * sunrpc/pm_getmaps.c: Likewise.
15795 * sunrpc/pm_getport.c: Likewise.
15796 * sunrpc/pmap_clnt.c: Likewise.
15797 * sunrpc/pmap_prot.c: Likewise.
15798 * sunrpc/pmap_prot2.c: Likewise.
15799 * sunrpc/pmap_rmt.c: Likewise.
15800 * sunrpc/rpc/auth.h: Likewise.
15801 * sunrpc/rpc/auth_unix.h: Likewise.
15802 * sunrpc/rpc/clnt.h: Likewise.
15803 * sunrpc/rpc/des_crypt.h: Likewise.
15804 * sunrpc/rpc/key_prot.h: Likewise.
15805 * sunrpc/rpc/netdb.h: Likewise.
15806 * sunrpc/rpc/pmap_clnt.h: Likewise.
15807 * sunrpc/rpc/pmap_prot.h: Likewise.
15808 * sunrpc/rpc/pmap_rmt.h: Likewise.
15809 * sunrpc/rpc/rpc.h: Likewise.
15810 * sunrpc/rpc/rpc_des.h: Likewise.
15811 * sunrpc/rpc/rpc_msg.h: Likewise.
15812 * sunrpc/rpc/svc.h: Likewise.
15813 * sunrpc/rpc/svc_auth.h: Likewise.
15814 * sunrpc/rpc/types.h: Likewise.
15815 * sunrpc/rpc/xdr.h: Likewise.
15816 * sunrpc/rpc_clntout.c: Likewise.
15817 * sunrpc/rpc_cmsg.c: Likewise.
15818 * sunrpc/rpc_common.c: Likewise.
15819 * sunrpc/rpc_cout.c: Likewise.
15820 * sunrpc/rpc_dtable.c: Likewise.
15821 * sunrpc/rpc_hout.c: Likewise.
15822 * sunrpc/rpc_main.c: Likewise.
15823 * sunrpc/rpc_parse.c: Likewise.
15824 * sunrpc/rpc_parse.h: Likewise.
15825 * sunrpc/rpc_prot.c: Likewise.
15826 * sunrpc/rpc_sample.c: Likewise.
15827 * sunrpc/rpc_scan.c: Likewise.
15828 * sunrpc/rpc_scan.h: Likewise.
15829 * sunrpc/rpc_svcout.c: Likewise.
15830 * sunrpc/rpc_tblout.c: Likewise.
15831 * sunrpc/rpc_util.c: Likewise.
15832 * sunrpc/rpc_util.h: Likewise.
15833 * sunrpc/rpcinfo.c: Likewise.
15834 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
15835 * sunrpc/rpcsvc/key_prot.x: Likewise.
15836 * sunrpc/rpcsvc/klm_prot.x: Likewise.
15837 * sunrpc/rpcsvc/mount.x: Likewise.
15838 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
15839 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
15840 * sunrpc/rpcsvc/rex.x: Likewise.
15841 * sunrpc/rpcsvc/rstat.x: Likewise.
15842 * sunrpc/rpcsvc/rusers.x: Likewise.
15843 * sunrpc/rpcsvc/sm_inter.x: Likewise.
15844 * sunrpc/rpcsvc/spray.x: Likewise.
15845 * sunrpc/rpcsvc/yppasswd.x: Likewise.
15846 * sunrpc/rtime.c: Likewise.
15847 * sunrpc/svc.c: Likewise.
15848 * sunrpc/svc_auth.c: Likewise.
15849 * sunrpc/svc_authux.c: Likewise.
15850 * sunrpc/svc_raw.c: Likewise.
15851 * sunrpc/svc_run.c: Likewise.
15852 * sunrpc/svc_simple.c: Likewise.
15853 * sunrpc/svc_tcp.c: Likewise.
15854 * sunrpc/svc_udp.c: Likewise.
15855 * sunrpc/svc_unix.c: Likewise.
15856 * sunrpc/svcauth_des.c: Likewise.
15857 * sunrpc/xcrypt.c: Likewise.
15858 * sunrpc/xdr.c: Likewise.
15859 * sunrpc/xdr_array.c: Likewise.
15860 * sunrpc/xdr_float.c: Likewise.
15861 * sunrpc/xdr_mem.c: Likewise.
15862 * sunrpc/xdr_rec.c: Likewise.
15863 * sunrpc/xdr_ref.c: Likewise.
15864 * sunrpc/xdr_sizeof.c: Likewise.
15865 * sunrpc/xdr_stdio.c: Likewise.
15867 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
15870 2010-08-19 Andreas Schwab <schwab@redhat.com>
15872 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
15874 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
15876 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
15877 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
15878 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
15879 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
15880 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
15881 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
15882 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
15883 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
15884 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
15885 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
15886 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
15887 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
15888 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
15889 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
15891 2010-07-26 Anton Blanchard <anton@samba.org>
15893 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
15894 * malloc/arena.c (heap_trim): Likewise.
15896 2010-08-16 Ulrich Drepper <drepper@redhat.com>
15898 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
15900 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
15901 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
15903 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
15905 * sysdeps/i386/elf/Makefile: New file.
15907 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
15909 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
15910 from fanotify_init.
15911 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
15912 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15914 2010-08-15 Ulrich Drepper <drepper@redhat.com>
15916 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
15918 * sysdeps/multiarch/strcmp.S: Likewise.
15920 2010-08-14 Ulrich Drepper <drepper@redhat.com>
15922 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
15923 strncase_l-nonascii.
15924 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
15925 Add strncase_l-ssse3.
15926 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
15927 * sysdeps/x86_64/strcmp.S: Likewise.
15928 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
15929 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
15930 * sysdeps/x86_64/strncase.S: New file.
15931 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
15932 * sysdeps/x86_64/strncase_l.S: New file.
15933 * string/Makefile (strop-tests): Add strncasecmp.
15934 * string/test-strncasecmp.c: New file.
15936 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
15939 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
15940 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
15942 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
15944 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
15946 2010-08-12 Ulrich Drepper <drepper@redhat.com>
15948 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
15949 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
15950 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
15952 2010-05-01 Alan Modra <amodra@gmail.com>
15954 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
15955 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
15956 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
15957 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
15958 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
15959 tidying. Don't tail-call __sigjmp_save for static lib.
15960 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
15962 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
15963 (CALL_MCOUNT): Add eh info, and nop after bl.
15964 (TAIL_CALL_SYSCALL_ERROR): New macro.
15965 (PSEUDO_RET): Use it.
15966 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
15967 Correct save location of integer regs and cr.
15968 (_dl_profile_resolve): Correct cr save location. Delete nops
15969 after bl when SHARED. Reduce cfi size a little by better
15970 placement of cfi directives.
15971 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
15972 make a stack frame. Instead use parm save area as a temp.
15973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
15974 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
15975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
15976 Don't make a stack frame for parent, use parm save area.
15977 Increase child stack frame to 112 bytes. Don't save unused reg,
15978 and adjust reg usage. Set up cfi on error recovery and
15979 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
15980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15981 (__makecontext): Add dummy nop after jump to exit.
15982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
15983 Use correct parm save area and cr save, reduce stack frame.
15984 Correct cfi for possible PSEUDO_RET frame setup.
15985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
15986 Branch to local label emitted by PSEUDO_RET rather than
15989 2010-08-12 Andreas Schwab <schwab@redhat.com>
15992 * locale/programs/locale.c (print_assignment): New function.
15993 (show_locale_vars): Use it.
15995 2010-08-11 Ulrich Drepper <drepper@redhat.com>
15997 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
15999 (struct statfs64): Likewise.
16000 (_STATFS_F_FLAGS): Define.
16001 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
16002 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16003 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
16004 (ST_VALID): Define locally.
16005 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
16006 __statvfs_getflags, use the provided value.
16007 * sysdeps/unix/sysv/linux/kernel-features.h: Define
16008 __ASSUME_STATFS_F_FLAGS.
16010 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
16012 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
16013 Add sys/fanotify.h.
16014 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
16015 fanotify_mask for GLIBC_2.13.
16016 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
16017 fanotify_init and fanotify_mark.
16018 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
16019 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
16021 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
16023 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
16024 prlimit64 for GLIBC_2.13.
16025 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
16027 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
16029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
16030 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
16031 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
16032 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
16033 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
16035 * sysdeps/unix/sysv/linux/prlimit.c: New file.
16038 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
16039 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
16041 * nss/Makefile: Add rules to build and run tst-nss-test1.
16042 * shlib-versions: Add entry for libnss_test1.
16043 * nss/nss_test1.c: New file.
16044 * nss/tst-nss-test1.c: New file.
16046 * nss/nsswitch.c (__nss_database_custom): Define new variable.
16047 (__nss_configure_lookup): Set appropriate entry in
16048 __nss_configure_lookup to true.
16049 * nss/nsswitch.h: Define enum with indeces of databases in
16050 databases and __nss_database_custom arrays. Declare
16051 __nss_database_custom.
16052 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
16053 to avoid using nscd when custom rules are installed.
16054 * nss/getXXbyYY_r.c: Likewise.
16055 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16057 * nss/nss_files/files-parse.c: Whitespace fixes.
16059 2010-08-09 Ulrich Drepper <drepper@redhat.com>
16062 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
16063 * posix/fnmatch_loop.c: Likewise.
16065 2010-07-17 Andi Kleen <ak@linux.intel.com>
16067 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
16068 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
16069 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
16070 * Versions.def [GLIBC_2.13]: Add.
16072 2010-08-06 Ulrich Drepper <drepper@redhat.com>
16074 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16075 Also fail if tpwd after pwuid call is NULL.
16077 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
16079 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
16080 when converting to ms.
16082 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16084 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
16085 EOPNOTSUPP errors with ENOTTY.
16086 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
16087 EOPNOTSUPP errors with ENOTTY.
16089 2010-07-31 Ulrich Drepper <drepper@redhat.com>
16091 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
16092 Add strcasecmp_l-ssse3.
16093 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
16095 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
16096 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
16097 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
16099 2010-07-30 Ulrich Drepper <drepper@redhat.com>
16101 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
16103 * string/Makefile (strop-tests): Add strcasecmp.
16104 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
16105 strcasecmp_l-nonascii.
16106 (gen-as-const-headers): Add locale-defines.sym.
16107 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
16108 * sysdeps/x86_64/strcasecmp.S: New file.
16109 * sysdeps/x86_64/strcasecmp_l.S: New file.
16110 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
16111 * sysdeps/x86_64/locale-defines.sym: New file.
16112 * string/test-strcasecmp.c: New file.
16114 * string/test-strcasestr.c: Test both ends of the range of characters.
16115 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
16117 2010-07-29 Roland McGrath <roland@redhat.com>
16120 * manual/locale.texi (Yes-or-No Questions): Fix example code.
16122 2010-07-27 Ulrich Drepper <drepper@redhat.com>
16124 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
16127 2010-07-27 Andreas Schwab <schwab@redhat.com>
16129 * manual/memory.texi (Malloc Tunable Parameters): Document
16132 2010-07-26 Roland McGrath <roland@redhat.com>
16135 * configure.in (-fgnu89-inline check): Set and substitute
16136 gnu89_inline, not libc_cv_gnu89_inline.
16137 * configure: Regenerated.
16138 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
16140 2010-07-26 Ulrich Drepper <drepper@redhat.com>
16142 * string/test-strnlen.c: New file.
16143 * string/Makefile (strop-tests): Add strnlen.
16144 * string/tester.c (test_strnlen): Add a few more test cases.
16145 * string/tst-strlen.c: Better error reporting.
16147 * sysdeps/x86_64/strnlen.S: New file.
16149 2010-07-24 Ulrich Drepper <drepper@redhat.com>
16151 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
16152 lower-latency instructions.
16154 2010-07-23 Ulrich Drepper <drepper@redhat.com>
16156 * string/test-strcasestr.c: New file.
16157 * string/test-strstr.c: New file.
16158 * string/Makefile (strop-tests): Add strstr and strcasestr.
16159 * string/str-two-way.h: Don't undefine MAX.
16160 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
16162 2010-07-21 Andreas Schwab <schwab@redhat.com>
16164 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16165 strcasestr-nonascii.
16166 (CFLAGS-strcasestr-nonascii.c): Define.
16167 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
16168 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
16169 Remove unused attribute.
16171 2010-07-20 Roland McGrath <roland@redhat.com>
16173 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
16174 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
16175 ld.so.cache was broken. With it, there is no way to disable dsocaps
16176 like LD_HWCAP_MASK can disable hwcaps.
16178 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16180 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
16182 2010-07-16 Ulrich Drepper <drepper@redhat.com>
16184 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
16185 call in strcasestr.
16186 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
16187 __strcasestr_sse42_nonascii.
16188 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
16189 strcasestr-nonascii.c.
16190 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
16192 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
16194 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
16195 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
16196 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
16197 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
16199 2010-07-09 Ulrich Drepper <drepper@redhat.com>
16201 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
16204 2010-07-06 Andreas Schwab <schwab@redhat.com>
16207 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
16210 2010-07-06 Ulrich Drepper <drepper@redhat.com>
16212 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
16213 _PC_PIPE_BUF using F_GETPIPE_SZ.
16215 2010-07-05 Roland McGrath <roland@redhat.com>
16217 * manual/arith.texi (Rounding Functions): Fix rint description
16218 implicit in round description.
16220 2010-07-02 Ulrich Drepper <drepper@redhat.com>
16222 * elf/Makefile: Fix linking for a few tests to make recent linker
16225 2010-06-30 Andreas Schwab <schwab@redhat.com>
16227 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
16228 $(common-objpfx)libc_nonshared.a.
16230 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
16232 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
16233 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
16234 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16235 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16236 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
16237 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
16238 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16239 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
16241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
16242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
16243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
16245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
16247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
16248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
16249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
16250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
16252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
16254 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
16255 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
16256 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
16257 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
16258 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
16259 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
16260 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
16261 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
16262 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
16263 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
16264 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
16265 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
16266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
16267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
16268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
16269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
16270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
16271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
16272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
16273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
16274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
16275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
16276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
16277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
16278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
16279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
16281 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
16283 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
16284 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
16285 * string/memmove.c (memmove): Renamed to ...
16286 (MEMMOVE): ...this. Default to memmove.
16287 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
16288 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
16290 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16291 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
16292 mempcpy-ssse3-back memmove-ssse3-back.
16293 * sysdeps/x86_64/multiarch/bcopy.S: New file .
16294 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
16295 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
16296 * sysdeps/x86_64/multiarch/memcpy.S: New file.
16297 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
16298 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
16299 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
16300 * sysdeps/x86_64/multiarch/memmove.c: New file.
16301 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
16302 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
16303 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
16304 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
16305 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
16306 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
16308 (index_Fast_Copy_Backward): Define.
16309 (HAS_ARCH_FEATURE): Define.
16310 (HAS_FAST_REP_STRING): Define.
16311 (HAS_FAST_COPY_BACKWARD): Define.
16313 2010-06-21 Andreas Schwab <schwab@redhat.com>
16315 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16316 Restore proper fallback handling.
16318 2010-06-19 Ulrich Drepper <drepper@redhat.com>
16321 * posix/group_member.c (__group_member): Correct checking loop.
16323 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
16324 OOM in getpwuid_r correctly. Return error number when the caller
16325 should return, otherwise -1.
16326 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
16327 call returning > 0 value.
16328 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
16330 2010-06-07 Andreas Schwab <schwab@redhat.com>
16332 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
16333 libc_nonshared.a from targets in modules-names.
16335 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
16337 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
16340 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
16342 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
16343 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
16344 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
16345 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
16347 2010-06-02 Andreas Schwab <schwab@redhat.com>
16349 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
16351 2010-06-14 Ulrich Drepper <drepper@redhat.com>
16353 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
16355 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16356 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16357 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16358 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16359 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16360 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
16362 2010-06-14 Roland McGrath <roland@redhat.com>
16364 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
16366 2010-06-07 Jakub Jelinek <jakub@redhat.com>
16368 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
16369 __REDIRECT followed by __THROW.
16370 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
16371 * posix/getopt.h (getopt): Likewise.
16373 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16375 * hurd/lookup-at.c (__file_name_lookup_at): Accept
16376 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
16377 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
16379 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
16380 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
16382 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
16384 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
16386 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
16389 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16390 Properly check family and model.
16392 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
16394 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
16396 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
16398 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
16400 2010-05-21 Ulrich Drepper <drepper@redhat.com>
16402 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
16405 2010-05-19 Andreas Schwab <schwab@redhat.com>
16407 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
16410 2010-05-21 Andreas Schwab <schwab@redhat.com>
16412 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
16413 and internal_recvmmsg.
16414 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
16415 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
16416 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
16417 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
16419 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
16420 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16421 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16423 2010-05-20 Andreas Schwab <schwab@redhat.com>
16425 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
16427 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
16429 POWER7 optimizations.
16430 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
16431 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
16433 2010-05-19 Ulrich Drepper <drepper@redhat.com>
16435 * version.h: Update for 2.13 development version.
16437 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
16439 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
16440 exceptions. Return 0.
16442 2010-05-07 Roland McGrath <roland@redhat.com>
16444 * elf/ldconfig.c (main): Add a const.
16446 2010-05-06 Ulrich Drepper <drepper@redhat.com>
16448 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
16449 (args_options): Add no-idn option.
16450 (ahosts_keys_int): Add idn_flags to ai_flags.
16451 (parse_option): Handle 'i' option to clear idn_flags.
16453 * malloc/malloc.c (_int_free): Possible race in the most recently
16454 added check. Only act on the data if no current modification
16457 See ChangeLog.17 for earlier changes.