1 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
4 * string/Makefile (tests): Add tst-strtok_r.
5 * string/tst-strtok_r.c: New file.
6 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
7 RAX_LP/RDX_LP on SAVE_PTR.
9 2012-06-14 Roland McGrath <roland@hack.frob.com>
11 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
13 2012-06-14 Joseph Myers <joseph@codesourcery.com>
15 * libm_test.inc (csqrt_test): Allow more spurious underflow
22 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
24 * po/Makefile (libc.pot): Use UTF-8 charset.
26 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
29 Suppress sign-conversion warning from FD_SET.
30 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
31 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
32 not unsigned long int.
33 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
35 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
39 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
40 __extern_always_inline instead of __extern_inline.
41 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
42 (__signbit): Likewise.
43 (__signbitl): Support C++ namespace.
44 (lrintf): New inline function.
58 (nearbyint): Likewise.
59 (nearbyintf): Likewise.
61 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
63 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
66 2012-06-11 Roland McGrath <roland@hack.frob.com>
69 * manual/argp.texi (Argp): Reword argp_parse description slightly.
71 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
73 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
74 (FE_UPWARD, FE_DOWNWARD): Don't define.
75 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
76 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
78 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
80 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
81 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
83 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
85 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
86 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
87 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
88 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
90 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
93 * sysdeps/i386/fpu/bits/fenv.h: Removed.
94 * sysdeps/i386/fpu/Implies: New file.
95 * sysdeps/x86_64/fpu/Implies: Likewise.
96 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
97 * sysdeps/x86/fpu/bits/fenv.h: This.
99 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
102 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
105 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
106 character 0xffff that matches the last element of the
109 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
111 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
114 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
116 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
117 values higher than 25.6283.
119 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
121 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
122 subnormal exponent extraction and add some __builtin_expect.
123 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
124 Fix for subnormal mantissa calculation.
126 2012-06-04 Mike Frysinger <vapier@gentoo.org>
128 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
129 cpu2 is -1 and errno is not ENOSYS.
131 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
134 * sysdeps/i386/i486/bits/string.h: Renamed to ...
135 * sysdeps/x86/bits/string.h: This.
136 * sysdeps/x86_64/bits/string.h: Removed.
138 * sysdeps/i386/i486/bits/string.h: Define inline functions only
139 if not compiling for x86-64, but compiling for >= i486.
141 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
142 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
144 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
145 New macro from Linux kernel 3.4.0.
146 (FP_XSTATE_MAGIC2): Likewise.
147 (FP_XSTATE_MAGIC2_SIZE): Likewise.
148 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
149 (struct _fpx_sw_bytes): New struct.
150 (struct _xsave_hdr): Likewise.
151 (struct _ymmh_state): Likewise.
152 (struct _xstate): Likewise.
154 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
155 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
156 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
157 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
158 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
159 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
161 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
162 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
163 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
164 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
165 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
166 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
168 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
171 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
172 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
173 (sysdep_headers): Include sys/platform/ppc.h.
174 * sysdeps/powerpc/test-gettimebase.c: Test for
175 __ppc_get_timebase() to catch future ISA opcode/insn changes.
176 * manual/Makefile (appendices): Include platform.texi.
177 * manual/contrib.texi (Contributors): Update @node pointers.
178 * manual/maint.texi (Maintenance): Likewise.
179 (Platform): New node.
180 * manual/platform.texi: New file. Document the new features.
182 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
183 Jakub Jelinek <jakub@redhat.com>
186 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
187 where __builtin_expect is unavailable.
189 2012-06-03 David S. Miller <davem@davemloft.net>
191 * stdlib/longlong.h: Updated from GCC.
193 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
196 * sysdeps/powerpc/powerpc32/mcount.c: New file.
197 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
200 (GLIBC_2.16): Likewise.
202 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
204 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
206 2012-06-01 Joseph Myers <joseph@codesourcery.com>
208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
209 (default-abi): New variable.
210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
211 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
213 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
215 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
217 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
220 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
221 definition. Document in comment.
223 2012-06-01 David S. Miller <davem@davemloft.net>
225 * stdlib/longlong.h: Updated from GCC.
227 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
230 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
231 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
232 sys/debugreg.h sys/io.h here.
233 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
234 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
236 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
237 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
238 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
239 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
240 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
241 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
243 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
244 Define only if __x86_64__ is defined.
246 2012-06-01 Joseph Myers <joseph@codesourcery.com>
249 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
250 Use int64_t for variable i.
251 * math/libm-test.inc (fmod_test): Add more tests.
253 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
254 z computation is not scheduled after fetestexcept.
255 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
256 Use math_force_eval instead of asm to ensure calculation scheduled
257 before exception test.
258 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
259 Ensure a1 + u.d computation is not scheduled after fetestexcept.
261 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
263 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
264 computation is not scheduled after fetestexcept.
266 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
269 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
270 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
272 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
274 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
275 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
277 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
280 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
282 (__WCHAR_MIN): Support __WORDSIZE == 64.
283 (__WCHAR_MAX): Likewise.
285 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
286 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
289 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
290 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
293 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
294 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
296 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
297 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
299 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
300 Defined to 1 if __x86_64__ isn't defined.
301 (_STAT_VER_LINUX_OLD): New.
302 (st_atime): Remove duplicate.
303 (st_mtime): Likewise.
304 (st_ctime): Likewise.
306 2012-05-31 David S. Miller <davem@davemloft.net>
308 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
311 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
313 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
317 * elf/dl-reloc.c: Include <_itoa.h>.
318 (_dl_reloc_bad_type): Remove use of INTUSE.
319 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
320 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
321 * stdio-common/psiginfo.c (psiginfo): Likewise.
322 * stdio-common/psignal.c (psignal): Likewise.
323 * string/strsignal.c (strsignal): Likewise.
324 * include/signal.h (_sys_siglist): Declare hidden proto.
325 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
326 INTVARDEF with libc_hidden_data_def.
327 * stdio-common/itoa-udigits.c: Likewise.
328 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
329 (_itoa_lower_digits_internal): Remove declaration.
330 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
331 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
332 (_sys_sigabbrev_internal): Remove aliases.
333 (_sys_siglist): Define hidden alias.
335 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
337 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
340 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
343 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
344 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
346 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
347 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
348 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
349 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
350 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
351 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
353 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
354 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
355 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
357 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
365 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
366 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
367 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
369 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
370 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
371 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
372 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
373 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
374 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
376 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
377 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
379 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
380 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
382 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
383 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
384 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
386 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
387 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
389 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
391 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
392 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
393 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
395 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
397 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
399 2012-05-31 Joseph Myers <joseph@codesourcery.com>
401 * math/math.h (M_El): Use two more decimal places.
402 (M_LOG2El): Likewise.
403 (M_LOG10El): Likewise.
411 (M_2_SQRTPIl): Likewise.
412 (M_SQRT2l): Likewise.
413 (M_SQRT1_2l): Likewise.
415 2012-05-31 David S. Miller <davem@davemloft.net>
417 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
418 values between float registers.
419 * sysdeps/sparc/sparc64/memset.S: Likewise.
420 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
422 2012-05-31 Mike Frysinger <vapier@gentoo.org>
424 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
426 (CPPFLAGS-tst-longjmp_chk.c): Define.
427 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
428 (CPPFLAGS-tst-longjmp_chk2.c): Define.
429 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
430 CFLAGS-tst-wchar-h.c.
432 2012-05-31 Marek Polacek <polacek@redhat.com>
435 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
436 __endmntent_internal): Remove declaration.
437 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
438 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
439 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
441 2012-05-30 David S. Miller <davem@davemloft.net>
443 * sysdeps/sparc/sparc32/soft-fp/q_util.c
444 (___Q_simulate_exceptions): Use real FP ops rather than writing
446 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
449 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
452 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
453 * sysdeps/x86/bits/xtitypes.h: This.
455 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
456 * sysdeps/x86/bits/wordsize.h: This.
458 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
459 * sysdeps/x86/bits/huge_vall.h: This.
461 * sysdeps/i386/bits/select.h: Removed.
462 * sysdeps/x86_64/bits/select.h: Renamed to ...
463 * sysdeps/x86/bits/select.h: This.
465 * sysdeps/i386/bits/setjmp.h: Removed.
466 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
467 * sysdeps/x86/bits/setjmp.h: This.
469 * sysdeps/i386/bits/mathdef.h: Removed.
470 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
471 * sysdeps/x86/bits/mathdef.h: This.
473 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
476 * include/sys/socket.h (__connect_internal)
477 (__libc_sa_len_internal): Remove declaration.
478 (__connect, __libc_sa_len): Declare hidden_proto.
479 (SA_LEN): Remove use of INTUSE.
480 * socket/connect.c: Add libc_hidden_def.
481 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
482 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
483 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
485 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
486 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
487 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
488 of adding _internal alias.
490 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
493 * sysdeps/i386/bits/link.h: Removed.
494 * sysdeps/i386/bits/linkmap.h: Likewise.
495 * sysdeps/x86_64/bits/link.h: Renamed to ...
496 * sysdeps/x86/bits/link.h: This.
497 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
498 * sysdeps/x86/bits/linkmap.h: This.
500 * sysdeps/i386/bits/endian.h: Removed.
501 * sysdeps/x86_64/bits/endian.h: Renamed to ...
502 * sysdeps/x86/bits/endian.h: This.
504 * sysdeps/i386/bits/byteswap.h: Removed.
505 * sysdeps/i386/bits/byteswap-16.h: Likewise.
506 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
507 * sysdeps/x86/bits/byteswap.h: This.
508 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
509 * sysdeps/x86/bits/byteswap-16.h: This.
510 * sysdeps/i386/Implies: Add x86.
511 * sysdeps/x86_64/Implies: Likewise.
513 2012-05-30 David S. Miller <davem@davemloft.net>
515 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
516 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
517 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
518 (FP_TRAPPING_EXCEPTIONS): Define.
519 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
520 (FP_TRAPPING_EXCEPTIONS): Define.
521 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
522 subnormals only when inexact has been signalled or underflow
523 exceptions are enabled.
524 (_FP_PACK_CANONICAL): Likewise.
526 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
529 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
530 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
532 2012-05-30 Richard Henderson <rth@twiddle.net>
534 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
535 with #ifndef NOT_IN_libc.
537 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
538 marked to avoid plt entry.
540 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
543 * Makeconfig (default-abi): New macro.
544 (abi-includes): Likewise.
545 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
546 $(abi-$(default-abi)-lib-soname) for soname if defined.
547 ($(common-objpfx)gnu/lib-names.stmp): Generate from
549 * Makefile (installed-stubs): Likewise.
550 * include/stubs-biarch.h: Removed.
551 * scripts/lib-names.awk: Only handle one library at a time.
552 * scripts/soversions.awk: Remove WORDSIZE support.
553 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
555 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
557 (syscall-list-default-condition): Likewise.
558 (syscall-list-default-condition): Likewise.
559 (syscall-list-includes): Likewise.
560 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
561 syscall-list-* with abi-*. Handle undefined abi-variants.
562 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
563 * sysdeps/unix/sysv/linux/i386/Implies: New file.
564 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
565 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
566 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
567 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
569 (syscall-list-32-options): Likewise.
570 (syscall-list-32-condition): Likewise.
571 (syscall-list-64-options): Likewise.
572 (syscall-list-64-condition): Likewise.
573 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
575 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
578 (abi-64-ld-soname): New macro.
579 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
580 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
583 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
584 * sysdeps/x86_64/x32/shlib-versions: Likewise.
586 2012-05-30 Joseph Myers <joseph@codesourcery.com>
588 * sysdeps/unix/sysv/linux/kernel-features.h
589 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
590 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
591 include <kernel-features.h>.
592 [!__NR_ftruncate64]: Remove conditional code.
593 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
594 [__NR_ftruncate64]: Make code unconditional.
595 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
596 * sysdeps/unix/sysv/linux/truncate64.c: Do not
597 include <kernel-features.h>.
598 [!__NR_ftruncate64]: Remove conditional code.
599 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
600 [__NR_ftruncate64]: Make code unconditional.
601 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
603 include <kernel-features.h>.
604 [!__NR_ftruncate64]: Remove conditional code.
605 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
606 [__NR_ftruncate64]: Make code unconditional.
607 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
609 include <kernel-features.h>.
610 [!__NR_ftruncate64]: Remove conditional code.
611 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
612 [__NR_ftruncate64]: Make code unconditional.
613 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
615 * configure.in (libc_cv_fpie): Weaken to a compile test using
617 * configure: Regenerated.
619 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
621 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
622 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
623 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
624 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
626 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
627 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
628 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
629 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
630 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
631 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
634 2012-05-27 David S. Miller <davem@davemloft.net>
636 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
638 (__Q_simulate_exceptions): Return void. Change to simulate
639 exceptions by writing into the %fsr.
640 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
641 (__Qp_handle_exceptions): Likewise.
643 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
644 __Qp_handle_exceptions.
645 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
646 __Qp_handle_exceptions.
647 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
648 as unused and give dummy FP_RND_NEAREST initializer.
649 (FP_INHIBIT_RESULTS): Define.
650 (___Q_simulate_exceptions): Update declaration.
651 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
653 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
654 as unused and give dummy FP_RND_NEAREST initializer.
655 (__Qp_handle_exceptions): Update declaration.
656 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
659 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
661 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
662 the temporary FPU control word.
663 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
664 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
665 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
666 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
667 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
668 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
669 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
670 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
671 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
672 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
673 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
675 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
677 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
680 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
682 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
683 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
684 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
685 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
687 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
688 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
691 2012-05-27 Ulrich Drepper <drepper@gmail.com>
693 * po/h.po: Update from translation team.
695 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
697 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
699 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
700 handling of denormals.
701 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
702 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
703 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
704 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
705 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
706 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
707 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
710 2012-05-26 Marek Polacek <polacek@redhat.com>
713 * math/libm-test.inc (fma_test): Don't always expect underflow
716 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
719 * elf/tst-execstack.c: Include stackinfo.h.
720 (do_test): Adjust test case to ensure that pthread_getattr_np
721 behaviour remains the same after marking stack executable.
723 2012-05-25 Joseph Myers <joseph@codesourcery.com>
725 * sysdeps/unix/sysv/linux/kernel-features.h
726 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
727 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
729 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
730 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
731 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
733 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
734 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
736 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
738 * configure.in: Define the default includes to being none.
739 * configure: Regenerated.
741 2012-05-25 Roland McGrath <roland@hack.frob.com>
743 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
744 * sysdeps/x86_64/setjmp.S: Likewise.
745 * sysdeps/i386/bsd-setjmp.S: Likewise.
746 * sysdeps/i386/bsd-_setjmp.S: Likewise.
747 * sysdeps/i386/setjmp.S: Likewise.
748 * sysdeps/i386/__longjmp.S: Likewise.
749 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
750 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
752 * include/stap-probe.h: New file.
753 * configure.in: Handle --enable-systemtap.
754 * configure: Regenerated.
755 * config.h.in (USE_STAP_PROBE): New #undef.
756 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
757 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
758 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
760 2012-05-25 Joseph Myers <joseph@codesourcery.com>
763 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
764 to 2.4.0 where earlier.
765 * sysdeps/unix/sysv/linux/configure: Regenerated.
766 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
768 [__ASSUME_32BITUIDS]: Make code unconditional.
769 [!__ASSUME_32BITUIDS]: Remove conditional code.
770 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
772 [__ASSUME_32BITUIDS]: Make code unconditional.
773 [!__ASSUME_32BITUIDS]: Remove conditional code.
774 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
775 [__ASSUME_32BITUIDS]: Make code unconditional.
776 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
777 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
779 [__ASSUME_32BITUIDS]: Make code unconditional.
780 [!__ASSUME_32BITUIDS]: Remove conditional code.
781 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
783 [__ASSUME_32BITUIDS]: Make code unconditional.
784 [!__ASSUME_32BITUIDS]: Remove conditional code.
785 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
787 [__ASSUME_32BITUIDS]: Make code unconditional.
788 [!__ASSUME_32BITUIDS]: Remove conditional code.
789 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
791 [__ASSUME_32BITUIDS]: Make code unconditional.
792 [!__ASSUME_32BITUIDS]: Remove conditional code.
793 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
795 [__ASSUME_32BITUIDS]: Make code unconditional.
796 [!__ASSUME_32BITUIDS]: Remove conditional code.
797 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
799 [__ASSUME_32BITUIDS]: Make code unconditional.
800 [!__ASSUME_32BITUIDS]: Remove conditional code.
801 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
803 [__ASSUME_32BITUIDS]: Make code unconditional.
804 [!__ASSUME_32BITUIDS]: Remove conditional code.
805 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
807 [__ASSUME_32BITUIDS]: Make code unconditional.
808 [!__ASSUME_32BITUIDS]: Remove conditional code.
809 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
811 [__ASSUME_32BITUIDS]: Make code unconditional.
812 [!__ASSUME_32BITUIDS]: Remove conditional code.
813 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
815 [__ASSUME_32BITUIDS]: Make code unconditional.
816 [!__ASSUME_32BITUIDS]: Remove conditional code.
817 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
819 [__NR_setresgid] (__setresgid): Do not declare.
820 [__ASSUME_32BITUIDS]: Make code unconditional.
821 [!__ASSUME_32BITUIDS]: Remove conditional code.
822 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
824 [__NR_setresuid] (__setresuid): Do not declare.
825 [__ASSUME_32BITUIDS]: Make code unconditional.
826 [!__ASSUME_32BITUIDS]: Remove conditional code.
827 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
829 [__ASSUME_32BITUIDS]: Make code unconditional.
830 [!__ASSUME_32BITUIDS]: Remove conditional code.
831 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
833 [__ASSUME_32BITUIDS]: Make code unconditional.
834 [!__ASSUME_32BITUIDS]: Remove conditional code.
835 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
837 [__ASSUME_32BITUIDS]: Make code unconditional.
838 [!__ASSUME_32BITUIDS]: Remove conditional code.
839 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
841 [__ASSUME_32BITUIDS]: Make code unconditional.
842 [!__ASSUME_32BITUIDS]: Remove conditional code.
843 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
845 [__ASSUME_32BITUIDS]: Make code unconditional.
846 [!__ASSUME_32BITUIDS]: Remove conditional code.
847 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
849 [__ASSUME_32BITUIDS]: Make code unconditional.
850 [!__ASSUME_32BITUIDS]: Remove conditional code.
851 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
853 [__ASSUME_32BITUIDS]: Make code unconditional.
854 [!__ASSUME_32BITUIDS]: Remove conditional code.
855 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
857 [__ASSUME_32BITUIDS]: Make code unconditional.
858 [!__ASSUME_32BITUIDS]: Remove conditional code.
859 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
861 [__ASSUME_32BITUIDS]: Make code unconditional.
862 [!__ASSUME_32BITUIDS]: Remove conditional code.
863 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
865 [__ASSUME_32BITUIDS]: Make code unconditional.
866 [!__ASSUME_32BITUIDS]: Remove conditional code.
867 * sysdeps/unix/sysv/linux/kernel-features.h
868 (__ASSUME_SETRESUID_SYSCALL): Remove.
869 (__ASSUME_SETRESGID_SYSCALL): Likewise.
870 (__ASSUME_32BITUIDS): Likewise.
871 (__ASSUME_LDT_WORKS): Likewise.
872 (__ASSUME_O_DIRECTORY): Likewise.
873 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
874 architecture but not kernel version.
875 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
876 (__ASSUME_MMAP2_SYSCALL): Likewise.
877 (__ASSUME_STAT64_SYSCALL): Likewise.
878 (__ASSUME_IPC64): Likewise.
879 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
881 [__ASSUME_32BITUIDS]: Make code unconditional.
882 [!__ASSUME_32BITUIDS]: Remove conditional code.
883 * sysdeps/unix/sysv/linux/opendir.c: Do not include
885 [__ASSUME_O_DIRECTORY]: Make code unconditional.
886 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
887 132096]: Remove conditional code.
888 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
889 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
891 [__ASSUME_32BITUIDS]: Make code unconditional.
892 [!__ASSUME_32BITUIDS]: Remove conditional code.
893 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
895 [__ASSUME_32BITUIDS]: Make code unconditional.
896 [!__ASSUME_32BITUIDS]: Remove conditional code.
897 * sysdeps/unix/sysv/linux/setegid.c: Do not include
899 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
901 (__setresgid): Do not declare.
902 [__ASSUME_32BITUIDS]: Make code unconditional.
903 [!__ASSUME_32BITUIDS]: Remove conditional code.
904 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
906 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
908 (__setresuid): Do not declare.
909 [__ASSUME_32BITUIDS]: Make code unconditional.
910 [!__ASSUME_32BITUIDS]: Remove conditional code.
911 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
913 [__ASSUME_32BITUIDS]: Make code unconditional.
914 [!__ASSUME_32BITUIDS]: Remove conditional code.
915 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
917 [__ASSUME_32BITUIDS]: Make code unconditional.
918 [!__ASSUME_32BITUIDS]: Remove conditional code.
920 2012-05-25 Richard Henderson <rth@twiddle.net>
922 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
923 dl_hwcap to ifunc resolver.
924 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
926 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
927 dl_hwcap to ifunc resolver.
928 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
930 2012-05-24 Joseph Myers <joseph@codesourcery.com>
933 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
934 for |x| <= 2**-26, not 2**-57.
935 * math/libm-test.inc (acos_test): Do not allow spurious underflow
938 2012-05-24 Jeff Law <law@redhat.com>
940 * stdio-common/Makefile (tests): Add bug25.
941 * stdio-common/bug25.c: New test.
943 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
946 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
947 multiple of MALLOC_ALIGNMENT in size.
948 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
950 2012-05-24 Joseph Myers <joseph@codesourcery.com>
952 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
954 (FILENAME_MAX): Use macro-int-constant.
955 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
956 (_IOFBF): Use macro-int-constant.
959 (SEEK_CUR): Likewise.
960 (SEEK_END): Likewise.
961 (SEEK_SET): Likewise.
963 (EOF): Use macro-int-constant. Require < 0.
964 (NULL): Use macro-constant. Require == 0.
965 (stdin): Require type to be FILE *.
968 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
970 (EXIT_SUCCESS): Likewise.
971 (NULL): Use macro-constant. Require == 0.
972 (RAND_MAX): Use macro-int-constant.
973 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
974 [C99-based standards] (strtof): Require function.
975 [C99-based standards] (strtold): Likewise.
976 [C99-based standards] (strtoll): Likewise.
977 [C99-based standards] (strtoull): Likewise.
978 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
979 [ISO || ISO99 || ISO11] (limits.h): Likewise.
980 [ISO || ISO99 || ISO11] (math.h): Likewise.
981 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
982 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
983 [ISO || ISO99 || ISO11] (*_t): Do not allow.
985 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
988 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
989 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
990 * intl/dgettext.c (DCGETTEXT): Likewise.
991 * intl/gettext.c (DCGETTEXT): Likewise.
992 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
993 * posix/regex_internal.h (gettext): Likewise.
994 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
996 * include/argz.h (__argz_count_internal)
997 (__argz_stringify_internal): Remove declaration.
998 (__argz_count, __argz_stringify): Declare hidden proto.
999 * intl/dcgettext.c: Remove use of INTDEF.
1000 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
1001 * string/argz-stringify.c: Likewise.
1002 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
1003 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
1004 Declare hidden proto.
1005 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
1006 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
1007 Declare hidden proto.
1008 * include/stdio.h (__asprintf_internal): Don't declare.
1009 (__asprintf): Don't define as macro. Declare hidden proto.
1010 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
1011 (__fsetlocking): Declare hidden proto.
1012 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
1013 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
1015 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
1016 (_IO_setlinebuf): Remove use of INTUSE.
1017 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
1018 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
1019 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
1021 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
1022 (_IO_do_flush): Remove use of INTUSE.
1023 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
1024 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
1025 (_IO_adjust_column, _IO_least_wmarker)
1026 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
1027 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
1028 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
1029 (_IO_default_doallocate, _IO_wdefault_doallocate)
1030 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
1031 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
1032 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
1033 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
1034 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
1035 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
1036 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
1037 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
1038 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
1039 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
1040 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
1041 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
1042 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
1044 (_IO_flush_all_internal, _IO_adjust_column_internal)
1045 (_IO_default_uflow_internal, _IO_default_finish_internal)
1046 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
1047 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
1048 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
1049 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
1050 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
1051 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
1052 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
1053 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
1054 (_IO_file_close_internal, _IO_file_close_it_internal)
1055 (_IO_file_underflow_internal, _IO_file_overflow_internal)
1056 (_IO_file_init_internal, _IO_file_attach_internal)
1057 (_IO_file_fopen_internal, _IO_file_read_internal)
1058 (_IO_file_sync_internal, _IO_file_seek_internal)
1059 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
1060 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
1061 (_IO_str_underflow_internal, _IO_str_overflow_internal)
1062 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
1063 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
1064 (_IO_list_all_internal, _IO_link_in_internal)
1065 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
1066 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
1067 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
1068 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
1069 (_IO_do_write_internal, _IO_padn_internal)
1070 (_IO_getline_info_internal, _IO_getline_internal)
1071 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
1072 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
1073 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
1074 (_IO_vfscanf_internal, _IO_vfprintf_internal)
1075 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
1076 (_IO_init_internal, _IO_un_link_internal): Don't declare.
1077 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
1078 with libc_hidden_ver, remove use of INTUSE.
1079 * libio/genops.c: Likewise.
1080 * libio/freopen.c: Likewise.
1081 * libio/freopen64.c: Likewise.
1082 * libio/iofclose.c: Likewise.
1083 * libio/iofdopen.c: Likewise.
1084 * libio/iofflush.c: Likewise.
1085 * libio/iofflush_u.c: Likewise.
1086 * libio/iofgets.c: Likewise.
1087 * libio/iofgets_u.c: Likewise.
1088 * libio/iofopen.c: Likewise.
1089 * libio/iofopncook.c: Likewise.
1090 * libio/iofread.c: Likewise.
1091 * libio/iofread_u.c: Likewise.
1092 * libio/ioftell.c: Likewise.
1093 * libio/iofwrite.c: Likewise.
1094 * libio/iogetline.c: Likewise.
1095 * libio/iogets.c: Likewise.
1096 * libio/iogetwline.c: Likewise.
1097 * libio/iopadn.c: Likewise.
1098 * libio/iopopen.c: Likewise.
1099 * libio/ioseekoff.c: Likewise.
1100 * libio/ioseekpos.c: Likewise.
1101 * libio/iosetbuffer.c: Likewise.
1102 * libio/iosetvbuf.c: Likewise.
1103 * libio/ioungetc.c: Likewise.
1104 * libio/ioungetwc.c: Likewise.
1105 * libio/iovdprintf.c: Likewise.
1106 * libio/iovsprintf.c: Likewise.
1107 * libio/iovsscanf.c: Likewise.
1108 * libio/memstream.c: Likewise.
1109 * libio/obprintf.c: Likewise.
1110 * libio/oldfileops.c: Likewise.
1111 * libio/oldiofclose.c: Likewise.
1112 * libio/oldiofdopen.c: Likewise.
1113 * libio/oldiofopen.c: Likewise.
1114 * libio/oldiopopen.c: Likewise.
1115 * libio/oldstdfiles.c: Likewise.
1116 * libio/putc.c: Likewise.
1117 * libio/setbuf.c: Likewise.
1118 * libio/setlinebuf.c: Likewise.
1119 * libio/stdfiles.c: Likewise.
1120 * libio/strops.c: Likewise.
1121 * libio/vasprintf.c: Likewise.
1122 * libio/vscanf.c: Likewise.
1123 * libio/vsnprintf.c: Likewise.
1124 * libio/vswprintf.c: Likewise.
1125 * libio/wfiledoalloc.c: Likewise.
1126 * libio/wfileops.c: Likewise.
1127 * libio/wgenops.c: Likewise.
1128 * libio/wmemstream.c: Likewise.
1129 * libio/wstrops.c: Likewise.
1130 * libio/__fpurge.c: Likewise.
1131 * libio/__fsetlocking.c: Likewise.
1132 * assert/assert.c: Likewise.
1133 * debug/fgets_chk.c: Likewise.
1134 * debug/fgets_u_chk.c: Likewise.
1135 * debug/fread_chk.c: Likewise.
1136 * debug/fread_u_chk.c: Likewise.
1137 * debug/gets_chk.c: Likewise.
1138 * debug/obprintf_chk.c: Likewise.
1139 * debug/vasprintf_chk.c: Likewise.
1140 * debug/vdprintf_chk.c: Likewise.
1141 * debug/vsnprintf_chk.c: Likewise.
1142 * debug/vsprintf_chk.c: Likewise.
1143 * malloc/mtrace.c: Likewise.
1144 * misc/error.c: Likewise.
1145 * misc/syslog.c: Likewise.
1146 * stdio-common/asprintf.c: Likewise.
1147 * stdio-common/fxprintf.c: Likewise.
1148 * stdio-common/getw.c: Likewise.
1149 * stdio-common/isoc99_fscanf.c: Likewise.
1150 * stdio-common/isoc99_scanf.c: Likewise.
1151 * stdio-common/isoc99_vfscanf.c: Likewise.
1152 * stdio-common/isoc99_vscanf.c: Likewise.
1153 * stdio-common/isoc99_vsscanf.c: Likewise.
1154 * stdio-common/printf-prs.c: Likewise.
1155 * stdio-common/printf_fp.c: Likewise.
1156 * stdio-common/printf_fphex.c: Likewise.
1157 * stdio-common/printf_size.c: Likewise.
1158 * stdio-common/putw.c: Likewise.
1159 * stdio-common/scanf.c: Likewise.
1160 * stdio-common/sprintf.c: Likewise.
1161 * stdio-common/tmpfile.c: Likewise.
1162 * stdio-common/vfprintf.c: Likewise.
1163 * stdio-common/vfscanf.c: Likewise.
1164 * stdlib/strfmon_l.c: Likewise.
1165 * sunrpc/openchild.c: Likewise.
1166 * sunrpc/xdr_stdio.c: Likewise.
1167 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
1168 * sysdeps/mach/hurd/tmpfile.c: Likewise.
1170 2012-05-24 Roland McGrath <roland@hack.frob.com>
1172 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1174 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
1175 in the third column, to generate for the shared library an IFUNC
1176 that uses _dl_vdso_vsym.
1177 * Makerules (COMPILE.c, compile-stdin.c): New variables.
1178 * Makeconfig (object-suffixes-noshared): New variable.
1180 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
1181 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
1182 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
1183 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
1186 * include/sys/time.h (__gettimeofday): Remove macro.
1187 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
1188 * time/gettimeofday.c (__gettimeofday): Remove #undef.
1190 (__gettimeofday): Add libc_hidden_def.
1191 (gettimeofday): Add libc_hidden_weak.
1192 * sysdeps/mach/gettimeofday.c: Likewise.
1193 * sysdeps/posix/gettimeofday.c: Likewise.
1194 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
1195 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
1196 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
1197 (__gettimeofday_internal): Remove strong_alias.
1198 (__gettimeofday): Add libc_hidden_def.
1199 (gettimeofday): Add libc_hidden_weak.
1200 * sysdeps/unix/syscalls.list (gettimeofday):
1201 Remove __gettimeofday_internal alias.
1203 2012-05-24 Daniel Jacobowitz <drow@false.org>
1204 H.J. Lu <hongjiu.lu@intel.com>
1207 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
1208 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
1209 (largebin_index_32_big): New.
1210 (largebin_index): Use it for 16-byte alignment.
1211 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
1212 correction with front_misalign.
1214 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
1216 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
1217 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
1219 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
1221 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
1223 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
1225 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
1227 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
1229 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
1231 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1233 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
1235 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
1237 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
1239 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
1242 * scripts/data/c++-types-x32-linux-gnu.data: New file.
1243 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
1245 2012-05-24 Joseph Myers <joseph@codesourcery.com>
1249 * math/libm-test.inc (exp_test): Add test from bug 14036.
1250 (pow_test): Add test from bug 10846.
1252 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
1254 (special_function): Do not include flags in test name.
1255 (parse_args): Likewise.
1256 * sysdeps/i386/fpu/libm-test-ulps: Update.
1257 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1258 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1259 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1260 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1262 * math/gen-libm-test.pl (%beautify): Add entries for underflow
1264 * math/libm-test.inc ("Philosophy"): Update comment about
1266 (UNDERFLOW_EXCEPTION): New macro.
1267 (UNDERFLOW_EXCEPTION_OK): Likewise.
1268 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
1269 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
1270 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
1271 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
1272 (INVALID_EXCEPTION_OK): Update value.
1273 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1274 (OVERFLOW_EXCEPTION_OK): Likewise.
1275 (IGNORE_ZERO_INF_SIGN): Likewise.
1276 (test_exceptions): Handle underflow exceptions.
1277 (acos_test): Update for underflow exception expectations.
1278 (cexp_test): Likewise.
1279 (clog_test): Likewise.
1280 (clog10_test): Likewise.
1281 (csqrt_test): Likewise.
1282 (ctan_test): Likewise.
1283 (ctanh_test): Likewise.
1284 (exp_test): Likewise.
1285 (exp10_test): Likewise.
1286 (exp2_test): Likewise.
1287 (expm1_test): Likewise.
1288 (fma_test): Likewise.
1289 (j0_test): Likewise.
1290 (jn_test): Likewise.
1291 (nexttoward_test): Likewise.
1292 (pow_test): Likewise.
1293 (scalbn_test): Likewise.
1294 (scalbln_test): Likewise.
1295 (tan_test): Likewise.
1296 (y1_test): Likewise.
1297 * sysdeps/i386/fpu/libm-test-ulps: Update.
1298 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1300 2012-05-23 David S. Miller <davem@davemloft.net>
1302 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1303 (__libc_sigaction): Remove unused local variables.
1305 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1307 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
1309 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
1311 mktime: avoid signed integer overflow
1312 * time/mktime.c (__mktime_internal): Do not mishandle the case
1313 where diff == INT_MIN.
1315 mktime: simplify computation of average
1316 * time/mktime.c (ranged_convert): Use new time_t_avg function
1317 instead of rolling our own (probably-slower) code.
1319 mktime: do not assume signed right shift propagates sign bit
1320 * time/mktime.c (isdst_differ): New static function.
1321 (__mktime_internal): No need to normalize tm_isdst now.
1322 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
1325 mktime: merge another wrapv change from gnulib
1326 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
1327 from some compilers.
1329 mktime: remove incorrect attempt at unusual arithmetics
1330 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
1331 The code didn't really work on such machines anyway.
1332 (TYPE_MINIMUM): Assume two's complement.
1333 (twos_complement_arithmetic): Verify that long_int and time_t
1334 are two's complement (or unsigned, in the latter case).
1336 mktime: check signed shifts on long_int and time_t, too
1337 * time/mktime.c (SHR): Check that shifts work as desired
1338 on the types long_int and time_t too, as SHR is used on
1341 mktime: do not assume 'long' is wide enough
1342 * time/mktime.c (verify): Move decl up.
1343 (long_int): New type.
1344 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
1345 to remove assumption in the code that 'long' is wide enough to
1346 store year values. This assumption is not true on x32 and on
1347 some non-glibc platforms.
1349 mktime: merge wrapv change from gnulib
1350 * time/mktime.c (WRAPV): New macro.
1351 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
1352 (guess_time_tm, __mktime_internal): Do not assume that signed
1353 integer overflow wraps around; modern compilers generate code
1354 where this assumption is no longer valid.
1356 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1358 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1359 Replace "jmp L(pseudo_end)" with "ret".
1360 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
1363 2012-05-23 Andreas Jaeger <aj@suse.de>
1365 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
1366 * sysdeps/unix/sysv/linux/poll.c: Remove file.
1368 2012-05-23 Andreas Jaeger <aj@suse.de>
1369 Maximilian Attems <max@stro.at>
1371 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
1374 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1376 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
1377 code so that pseudo_end is just ret and the stack pointer is
1378 correct also for static library in error case.
1380 2012-05-23 Joseph Myers <joseph@codesourcery.com>
1382 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
1383 move to syscalls.list.
1384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1389 * manual/install.texi (Running make install): Do not mention Linux
1390 kernel version for which pt_chown is not needed.
1391 (Linux): Do not mention problems with nscd with 2.0 kernels.
1392 * INSTALL: Regenerated.
1394 2012-05-23 Andreas Jaeger <aj@suse.de>
1396 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
1397 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
1399 * sysdeps/unix/sysv/linux/s390/bits/mman.h
1400 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1401 * sysdeps/unix/sysv/linux/sh/bits/mman.h
1402 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1403 * sysdeps/unix/sysv/linux/i386/bits/mman.h
1404 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1405 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
1406 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1407 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
1408 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1409 * sysdeps/unix/sysv/linux/bits/in.h
1410 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
1412 2012-05-22 Roland McGrath <roland@hack.frob.com>
1414 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
1415 (PREPARE_VERSION): Just use assert instead, it will be elided
1416 under [NDEBUG] anyway.
1418 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1420 * sysdeps/unix/sysv/linux/Makefile: Include
1421 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
1422 (sysdep_routines): Remove sysctl.
1423 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
1424 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
1425 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
1426 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
1427 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
1429 2012-05-22 Andreas Jaeger <aj@suse.de>
1431 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
1432 that pseudo_end is just ret and the stack pointer is correct also
1433 for static library in error case.
1435 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
1438 * nss/nsswitch.c (defconfig_entries): New variable.
1439 (__nss_database_lookup): Don't leak defconfig entries.
1440 (nss_parse_service_list): Don't leak on error paths.
1441 (free_database_entries): New function.
1442 (free_defconfig): New function.
1443 (free_mem): Move common code to free_database_entries.
1445 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1447 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
1449 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
1451 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1452 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
1453 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
1455 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
1456 (INTERNAL_SYSCALL_TYPES): Likewise.
1457 (LOAD_ARGS_TYPES_[1-6]): Likewise.
1458 (LOAD_REGS_TYPES_[1-6]): Likewise.
1459 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
1460 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
1462 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1464 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
1465 copysignl for GLIBC_2_0.
1466 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
1467 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
1468 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
1469 logbl for GLIBC_2_0.
1470 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1471 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1473 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1475 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
1476 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1478 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1481 * time/mktime.c: Update copyright years.
1483 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
1485 mktime: merge comment-quoting-style change from gnulib
1486 * time/mktime.c: Quote 'like this' in comments.
1487 The GNU coding standards suggest that we no longer quote `like this',
1488 as "`" and "'" are typically rendered asymmetrically nowadays.
1489 The typical gnulib style is to quote 'like this' when quoting
1490 code, and "like this" when quoting English.
1492 * time/mktime.c (compile-command): Add "-I.".
1494 mktime: merge mktime-internal.h change from gnulib
1495 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
1497 mktime: merge time_r change from gnulib
1498 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
1500 mktime: merge DEBUG change from gnulib
1501 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
1502 case system <time.h> has a #define.
1504 mktime: merge <sys/types.h> change from gnulib
1505 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
1506 since <time.t> is now guaranteed to define time_t.
1508 mktime: merge HAVE_CONFIG_H change from gnulib
1509 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
1511 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1513 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1516 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
1518 (struct rusage): Use anonymous union to pad each field to
1521 2012-05-21 David S. Miller <davem@davemloft.net>
1523 * Makefules (o-iterator): Remove .s cases.
1524 (compile-command.s): Delete.
1525 (COMPILE.s): Delete.
1526 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
1528 2012-05-21 Joseph Myers <joseph@codesourcery.com>
1530 * configure.in (libc_cv_predef_stack_protector): Only consider
1531 "foobar" and "__stack_chk_fail" lines in libc_undefs.
1532 * configure: Regenerated.
1534 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1536 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1537 New macro. Use R*LP on int and pointer.
1538 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
1539 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
1540 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
1541 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
1543 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
1544 [__WORDSIZE_TIME64_COMPAT32] instead of
1545 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
1546 (struct utmp): Likewise.
1547 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
1548 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
1550 (__WORDSIZE_TIME64_COMPAT32): This.
1551 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
1552 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
1553 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
1554 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
1555 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
1556 (__WORDSIZE_TIME64_COMPAT32): New macro.
1558 2012-05-21 Andreas Jaeger <aj@suse.de>
1560 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
1561 only if [SHARED]. Add prototype for __wcschr_ia32.
1563 2012-05-21 Roland McGrath <roland@hack.frob.com>
1565 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
1566 of %rbp unmolested in the jmp_buf while mangling the low bits.
1567 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
1568 unmolested high bits of %rbp while demangling the low bits.
1569 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
1571 2012-05-21 Andreas Jaeger <aj@suse.de>
1573 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
1574 * sunrpc/svc_simple.c: Use it for registerrpc.
1575 * sunrpc/xcrypt.c: Use it for passwd2des.
1577 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
1579 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1581 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
1582 Don't define if [__SYSCALL_WORDSIZE != 32].
1583 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
1586 2012-05-21 Bruno Haible <bruno@clisp.org>
1587 Andreas Jaeger <aj@suse.de>
1589 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
1590 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
1591 inptr and inend for must_buffer_ch.
1592 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
1593 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
1594 * stdio-common/Makefile (tests): Remove bug15.
1595 (bug15-ENV): Remove macro.
1596 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
1599 2012-05-19 Andreas Jaeger <aj@suse.de>
1600 Roland McGrath <roland@hack.frob.com>
1602 * manual/contrib.texi: Completely rewritten. It contains now an
1603 alphabetical list of contributors and their contributions.
1605 2012-05-21 Richard Henderson <rth@twiddle.net>
1607 * misc/getauxval.c (__getauxval): Use unsigned long int.
1608 * misc/sys/auxv.h: Include <sys/cdefs.h>.
1609 (getauxval): Use unsigned long int.
1611 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1613 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1615 2012-05-21 Roland McGrath <roland@hack.frob.com>
1617 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
1618 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
1619 __alignof__ (long double).
1621 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1623 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1625 2012-05-20 Richard Henderson <rth@twiddle.net>
1627 * misc/getauxval.c: New file.
1628 * misc/sys/auxv.h: New file.
1629 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
1630 (routines): Add getauxval.
1631 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
1632 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
1633 * elf/dl-sysdep.c (_dl_auxv): Remove.
1634 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
1635 * elf/dl-support.c (_dl_auxv): New variable.
1636 (_dl_aux_init): Initialize it.
1637 * manual/startup.texi (Auxiliary Vector): New node.
1638 * sysdeps/generic/bits/hwcap.h: New file.
1639 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
1640 * sysdeps/powerpc/sysdep.h: ... here. Include it.
1641 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
1642 * sysdeps/sparc/sysdep.h: ... here. Include it.
1643 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
1644 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
1645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
1648 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
1649 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
1650 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
1651 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1652 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1653 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
1654 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
1656 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1658 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1660 2012-05-19 David S. Miller <davem@davemloft.net>
1662 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1664 2012-05-19 Joseph Myers <joseph@codesourcery.com>
1667 * math/s_ccosh.c: Include <float.h>
1668 (__ccosh): Avoid internal overflow calculating sinh and cosh
1669 values before multiplying by sin and cos values.
1670 * math/s_ccoshf.c: Likewise.
1671 * math/s_ccoshl.c: Likewise.
1672 * math/s_csin.c: Likewise.
1673 * math/s_csinf.c: Likewise.
1674 * math/s_csinl.c: Likewise.
1675 * math/s_csinh.c: Likewise.
1676 * math/s_csinhf.c: Likewise.
1677 * math/s_csinhl.c: Likewise.
1678 * math/libm-test.inc (ccos_test): Add more tests.
1679 (ccosh_test): Likewise.
1680 (csin_test): Likewise.
1681 (csinh_test): Likewise.
1682 * sysdeps/i386/fpu/libm-test-ulps: Update.
1683 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1685 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
1687 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
1688 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
1690 * sysdeps/x86_64/x32/_itoa.h: Add comment.
1692 2012-05-19 Joseph Myers <joseph@codesourcery.com>
1694 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
1695 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
1696 * sysdeps/powerpc/soft-fp/Versions: Likewise.
1697 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
1698 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
1699 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
1700 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
1701 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
1702 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
1703 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
1704 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
1705 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
1706 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
1707 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
1708 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
1709 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
1710 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
1711 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
1712 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
1713 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
1714 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
1715 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
1716 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
1717 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
1718 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
1719 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
1720 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
1721 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
1722 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
1723 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
1724 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
1726 2012-05-18 Andreas Jaeger <aj@suse.de>
1728 * csu/.gitignore: Delete.
1730 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1732 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
1733 (timex): Use __syscall_slong_t.
1735 2012-05-18 Andreas Jaeger <aj@suse.de>
1736 Carlos O'Donell <carlos_odonell@mentor.com>
1738 * manual/install.texi (Configuring and compiling): Update
1739 description about files modified in the source directory.
1740 * INSTALL: Regenerated.
1742 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1744 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
1745 value. Use "or" to set return value to -1.
1746 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
1747 negate return value.
1749 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1751 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
1752 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
1753 failure if the compiler has Graphite support disabled.
1754 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
1756 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
1757 CFLAGS-memmove.c): Likewise.
1758 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
1761 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1763 * sysdeps/x86_64/x32/_itoa.h: New file.
1765 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
1766 getdents system call only if kernel and user dirents have the
1767 same d_ino and d_off.
1769 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1770 LLONG_MAX != LONG_MAX.
1771 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1772 (_fitoa_word): Likewise.
1774 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
1776 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
1777 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
1778 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
1780 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
1781 include <bits/wordsize.h>. Check __x86_64__ instead of
1783 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
1784 if __x86_64__ is defined. Use anonymous union on fpstate.
1786 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
1789 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
1791 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
1792 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
1793 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
1794 Refer to _rtld_local_ro instead of _rtld_global_ro.
1795 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
1797 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
1799 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
1801 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
1802 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
1803 of _rtld_global, and rtld_progname instead of _dl_argv[0].
1805 * sysdeps/powerpc/powerpc32/dl-machine.c
1806 (__elf_machine_runtime_setup) [PROF]: Don't reference
1809 2012-05-18 Andreas Jaeger <aj@suse.de>
1811 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
1812 function only available for GCCs before 3.4 since GCC 3.4
1813 introduced a builtin.
1815 (llrintf): Likewise.
1823 (nearbyint): Likewise.
1824 (nearbyintf): Likewise.
1830 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1832 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
1833 on both fields and cast pointer to __syscall_ulong_t.
1835 * bits/types.h (__fsword_t): New type.
1836 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
1837 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
1838 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1839 (__FSWORD_T_TYPE): Likewise.
1840 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1841 (__FSWORD_T_TYPE): Likewise.
1842 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1843 (__FSWORD_T_TYPE): Likewise.
1844 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
1845 (__FSWORD_T_TYPE): Likewise.
1846 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
1847 __SWORD_TYPE with __fsword_t.
1848 (statfs64): Likewise.
1850 2012-05-17 David S. Miller <davem@davemloft.net>
1852 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
1854 2012-05-17 Andreas Jaeger <aj@suse.de>
1856 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
1859 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1861 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
1863 2012-05-17 Andreas Jaeger <aj@suse.de>
1865 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
1868 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1870 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
1872 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1874 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
1875 * sysdeps/x86_64/tst-mallocalign1.c: New file.
1877 2012-05-17 Andreas Jaeger <aj@suse.de>
1878 Carlos O'Donell <carlos_odonell@mentor.com>
1881 * sysdeps/x86_64/multiarch/init-arch.h
1882 (bit_YMM_Usable): Rename to...
1883 (bit_AVX_Usable): ... this.
1884 (bit_FMA4_Usable): New macro.
1885 (bit_XMM_state): New macro.
1886 (bit_YMM_state): New macro.
1887 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
1888 [__ASSEMBLER__] (index_AVX_Usable): ... this.
1889 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
1890 (CPUID_OSXSAVE): New macro.
1891 (CPUID_AVX): New macro.
1892 (CPUID_FMA4): New macro.
1893 (index_YMM_Usable): Rename to...
1894 (index_AVX_Usable): ... this.
1895 (HAS_AVX): Use HAS_ARCH_FEATURE.
1896 (HAS_FMA4): Likewise.
1897 (HAS_YMM_USABLE): Remove.
1898 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1899 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
1901 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
1902 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
1903 * sysdeps/x86_64/multiarch/Makefile: Likewise.
1904 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
1905 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
1907 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1909 * math/libm-test.c: Support platforms without multiple rounding modes.
1910 * math/bug-nextafter.c: Support platforms without FP exceptions.
1911 * math/bug-nexttoward.c: Likewise.
1912 * math/test-fenv.c: Likewise.
1913 * math/test-misc.c: Likewise.
1914 * stdlib/bug-getcontext.c: Likewise.
1916 2012-05-17 Andreas Jaeger <aj@suse.de>
1918 * manual/examples/search.c (critter_cmp): Change signature to
1920 * manual/string.texi (Collation Functions): Likewise.
1922 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1924 * bits/types.h: Fold copyright years.
1925 * bits/typesizes.h: Likewise.
1926 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
1927 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
1928 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
1929 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
1930 * time/time.h: Likewise.
1932 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
1935 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
1936 in instead of returning them. Return void.
1937 (__libc_mallinfo): Accumulate over all arenas.
1938 (__malloc_stats): Adjust for change in int_mallinfo interface.
1940 2012-05-16 Roland McGrath <roland@hack.frob.com>
1943 * configure.in (NM): Add AC_CHECK_TOOL for it.
1944 (libc_extra_cflags): New substituted variable.
1945 Check for -fstack-protector being used implicitly.
1946 * configure: Regenerated.
1947 * config.make.in (config-extra-cflags): New variable,
1948 gets @libc_extra_cflags@.
1949 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
1952 * configure.in: Check for _FORTIFY_SOURCE being predefined.
1953 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
1954 * configure: Regenerated.
1955 * config.make.in (CPPUNDEFS): New substituted variable.
1956 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
1957 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
1958 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
1960 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1962 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
1963 (mq_attr): Use __syscall_slong_t.
1965 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1967 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
1968 Check __x86_64__ instead of __WORDSIZE.
1969 (_STAT_VER_LINUX): Likewise.
1970 (stat): Check __x86_64__ instead of __WORDSIZE. Use
1971 __syscall_ulong_t and __syscall_slong_t.
1974 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1976 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
1978 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1980 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
1982 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1984 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
1987 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
1988 include <bits/wordsize.h>. Check __x86_64__ instead of
1990 (greg_t): Use "__extension__ long long int" if __x86_64__ is
1992 (mcontext_t): Replace "unsigned long" with "unsigned long long".
1994 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
1995 include <bits/wordsize.h>. Check __x86_64__ instead of
1997 (user_regs_struct): Use "__extension__ unsigned long long"
1998 instead of "unsigned long" if __x86_64__ is defined.
1999 (user): Likewise. Pad after pointer field if __ILP32__ is
2002 2012-05-16 Joseph Myers <joseph@codesourcery.com>
2004 * configure.in (makeinfo): Require version 4.5 or later. Allow
2006 * configure: Regenerated.
2007 * manual/install.texi (texinfo): Increase version requirement to
2009 * INSTALL: Regenerated.
2011 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
2013 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2015 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
2017 * sysdeps/x86_64/x32/ffs.c: New file.
2019 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
2021 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
2022 defined. Use __syscall_ulong_t.
2023 (shminfo): Use __syscall_ulong_t.
2024 (shm_info): Likewise.
2026 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
2029 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
2031 (msgqnum_t): Use __syscall_ulong_t.
2032 (msglen_t): Likewise.
2033 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
2036 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
2037 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2039 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
2041 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
2042 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
2044 * sysvipc/sys/msg.h (msgbuf): Replace long int with
2047 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
2048 include <bits/wordsize.h>. Check __x86_64__ instead of
2051 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
2052 "unsigned long long int" if __x86_64__ is defined.
2053 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
2055 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
2056 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2057 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
2059 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
2061 (GET_PC): Cast to uintptr_t first.
2062 (GET_FRAME): Likewise.
2063 (GET_STACK): Likewise.
2065 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
2066 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
2067 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
2068 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
2069 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
2070 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
2071 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
2072 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
2073 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
2074 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
2075 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
2076 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
2077 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
2078 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
2079 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
2080 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
2081 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
2082 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
2083 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
2084 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
2085 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
2086 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
2087 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
2088 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
2089 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
2090 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
2091 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
2092 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
2093 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
2095 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
2097 * Makerules (+depfiles): Also collect depfiles from .oS in
2099 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
2100 .oS, $(libnldbl-routines)).
2102 * Makerules (native-compile-mkdep-flags): Define.
2103 * sunrpc/Makefile (extra-objs): Add $(addprefix
2104 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
2105 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
2106 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
2107 calling $(make-target-directory).
2109 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2111 * bits/types.h (__snseconds_t): Removed.
2112 * time/time.h (struct timespec): Replace __snseconds_t with
2114 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
2115 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
2117 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2118 (__SNSECONDS_T_TYPE): Likewise.
2119 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2120 (__SNSECONDS_T_TYPE): Likewise.
2121 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2122 (__SNSECONDS_T_TYPE): Likewise.
2124 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2126 * sysdeps/mach/hurd/bits/typesizes.h
2127 (__SYSCALL_SLONG_TYPE): New macro.
2128 (__SYSCALL_ULONG_TYPE): Likewise.
2130 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2132 * bits/types.h (__syscall_slong_t): New type.
2133 (__syscall_ulong_t): Likewise.
2135 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
2136 (__SYSCALL_ULONG_TYPE): Likewise.
2137 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2138 (__SYSCALL_SLONG_TYPE): Likewise.
2139 (__SYSCALL_ULONG_TYPE): Likewise.
2140 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2141 (__SYSCALL_SLONG_TYPE): Likewise.
2142 (__SYSCALL_ULONG_TYPE): Likewise.
2143 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2144 (__SYSCALL_SLONG_TYPE): Likewise.
2145 (__SYSCALL_ULONG_TYPE): Likewise.
2147 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2149 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
2150 Add sigaltstack-offsets.sym.
2151 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
2152 <sigaltstack-offsets.h>.
2153 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
2154 longjmp_msg pointer.
2155 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
2156 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
2158 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
2160 2012-05-15 Joseph Myers <joseph@codesourcery.com>
2162 * elf/stackguard-macros.h: Remove file.
2163 * sysdeps/generic/stackguard-macros.h: New file.
2164 * sysdeps/i386/stackguard-macros.h: Likewise.
2165 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
2166 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
2167 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2168 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2169 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
2170 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
2171 * sysdeps/x86_64/stackguard-macros.h: Likewise.
2172 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
2173 <elf/stackguard-macros.h>.
2176 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
2177 __aligned__ in attribute.
2178 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
2179 (gregset_t): Likewise.
2181 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2183 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
2184 * sysdeps/x86_64/64/Implies-after: Here. New file.
2185 * sysdeps/x86_64/x32/Implies-after: New file.
2187 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2189 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
2190 and access return value for _dl_profile_fixup. Use R10_LP to
2193 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2195 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
2197 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2199 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
2200 * sysdeps/x86_64/x32/sysdep.h: New file.
2202 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2204 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
2205 * sysdeps/x86_64/setjmp.S: Likewise.
2207 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2209 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
2210 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
2211 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
2212 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
2213 remove unused global constant.
2215 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
2217 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
2218 include of <not-cancel.h>.
2220 2012-05-15 Roland McGrath <roland@hack.frob.com>
2222 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
2224 2012-05-15 Jeff Law <law@redhat.com>
2225 Andreas Jaeger <aj@suse.de>
2228 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
2230 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
2231 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
2232 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
2233 code changing __hst_map_handle.map.
2235 2012-05-15 Roland McGrath <roland@hack.frob.com>
2237 * configure.in (sysnames): Look for Implies-before and Implies-after
2239 * configure: Regenerated.
2241 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2243 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
2244 8-byte data alignment with LP_SIZE alignment.
2246 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2248 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
2251 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2253 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
2255 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2257 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
2258 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
2259 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
2261 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2263 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2265 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
2266 (stackinfo_sub_sp): Likewise.
2268 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2270 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
2273 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2275 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
2278 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2280 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
2283 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2285 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
2287 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2289 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
2290 into R11_LP and load __x86_64_shared_cache_size_half into
2293 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2295 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
2298 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2300 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
2302 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
2304 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
2306 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
2307 powerpc32/power7/fpu/s_logb.c via #include.
2308 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
2309 powerpc32/power7/fpu/s_logbf.c via #include.
2310 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
2311 powerpc32/power7/fpu/s_logbl.c via #include.
2313 2012-05-15 Joseph Myers <joseph@codesourcery.com>
2315 * README.libm: Remove file.
2317 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2319 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
2320 count for x32. Use R*_LP and omit operand-size suffix.
2322 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2324 * shlib-versions: Move x86_64-.*-linux.* entries to ...
2325 * sysdeps/x86_64/64/shlib-versions: Here. New file.
2326 * sysdeps/x86_64/x32/shlib-versions: New file.
2328 2012-05-14 Roland McGrath <roland@hack.frob.com>
2330 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
2331 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
2332 Use _dl_fatal_printf instead.
2334 2012-05-14 Joseph Myers <joseph@codesourcery.com>
2336 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
2337 set if not set by the user. Do not allow for being unset.
2338 * sysdeps/unix/sysv/linux/configure: Regenerated.
2340 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2342 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
2343 the `q' suffix from lea and replace .quad with ASM_ADDR.
2345 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2347 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
2348 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
2350 (PTR_DEMANGLE): Likewise.
2352 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2354 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
2356 (ASM_ADDR): Likewise.
2374 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2376 * sysdeps/x86_64/x32/dl-machine.h: New file.
2378 2012-05-14 Andreas Jaeger <aj@suse.de>
2380 * manual/Makefile (subdir): Remove export of subdir.
2381 (all): Remove target.
2382 (.PHONY): Remove all from list.
2383 (mkinstalldirs): Remove.
2384 (.PHONY): Remove installdirs from list.
2385 ($(inst_infodir)/libc.info): Use make-target-directory.
2386 (installdirs): Remove.
2388 (glibc-targets): Remove.
2391 ($(objpfx)stubs ../po/manual.pot): Remove.
2392 ($(objpfx)stamp%): Remove.
2393 (make-target-directory): Remove.
2394 (subdir_install): Remove.
2402 * manual/.gitignore: Remove, it's not needed anymore.
2403 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
2405 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
2407 (texis): Renamed to $(objpfx)texis.
2408 (texis-path): New, contains path to generated files.
2409 (chapters.%): Use texis-path for complete path, add extra argument
2411 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
2412 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
2413 (summary,texi, stamp-summary): Use complete path of
2414 files. Generate files in build dir.
2415 (dir-add.texi): Build in build dir.
2416 (libm-err.texi,stamp-libm-err): Likewise.
2417 (version.texi, stamp-version): Likewise.
2418 (.%c.texi): Likewise.
2419 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
2420 (mostlyclean): Remove target.
2421 (realclean): Remove target.
2422 (generated): Add new variable with contents from mostlyclean and
2423 realclean, remove entries duplicated in common-mostlyclean, add
2424 stamp-libm-err and stamp-version.
2425 (generated-dirs): Add libc directory.
2426 ($(inst_infodir)/libc.info): Install files from build dir.
2428 * manual/install.texi (Configuring and compiling): Adjust since
2429 the info files are not part of the tar ball anymore.
2431 2012-05-14 Andreas Jaeger <aj@suse.de>
2433 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
2436 2012-05-14 Joseph Myers <joseph@codesourcery.com>
2439 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2440 to 2.2.0 where earlier.
2441 * sysdeps/unix/sysv/linux/configure: Regenerated.
2442 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
2443 Remove conditional code.
2444 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
2445 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
2446 Remove conditional code.
2447 [!__NR_lchown]: Likewise.
2448 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2449 [__NR_lchown]: Likewise.
2450 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
2451 comment referencing __ASSUME_LCHOWN_SYSCALL.
2452 * sysdeps/unix/sysv/linux/i386/sigaction.c
2453 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2454 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2455 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
2456 Remove conditional code.
2457 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
2458 (__protocol_available): Remove #if 0 code.
2459 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
2461 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
2462 * sysdeps/unix/sysv/linux/kernel-features.h
2463 (__ASSUME_GETCWD_SYSCALL): Don't define.
2464 (__ASSUME_REALTIME_SIGNALS): Likewise.
2465 (__ASSUME_PREAD_SYSCALL): Likewise.
2466 (__ASSUME_PWRITE_SYSCALL): Likewise.
2467 (__ASSUME_POLL_SYSCALL): Likewise.
2468 (__ASSUME_LCHOWN_SYSCALL): Likewise.
2469 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
2471 (__ASSUME_SIOCGIFNAME): Don't define.
2472 (__ASSUME_MSG_NOSIGNAL): Likewise.
2473 (__ASSUME_SENDFILE): Define unconditionally.
2474 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
2475 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
2477 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
2478 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
2479 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2480 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2481 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
2482 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2483 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
2485 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2486 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2488 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2489 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
2491 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2492 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2494 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2495 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
2497 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2498 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
2500 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2501 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
2503 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2504 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
2506 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2507 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2508 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
2509 Remove conditional code.
2510 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2511 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2512 Remove conditional code.
2513 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2514 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
2515 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
2516 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2517 Remove conditional code.
2518 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2519 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
2520 Remove conditional code.
2521 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2522 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
2523 Remove conditional code.
2524 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2525 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2526 Remove conditional code.
2527 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2528 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2529 Remove conditional code.
2530 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2531 * sysdeps/unix/sysv/linux/sh/pwrite64.c
2532 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2533 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2534 * sysdeps/unix/sysv/linux/sigaction.c
2535 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2536 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2537 * sysdeps/unix/sysv/linux/sigpending.c
2538 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2539 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2540 * sysdeps/unix/sysv/linux/sigprocmask.c
2541 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2542 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2543 * sysdeps/unix/sysv/linux/sigsuspend.c
2544 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2545 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2546 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2547 (__libc_missing_rt_sigs): Remove.
2548 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
2549 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
2550 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
2551 Remove conditional code.
2552 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
2553 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
2555 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
2556 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
2557 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
2558 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
2560 2012-05-14 Andreas Jaeger <aj@suse.de>
2562 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
2563 it's not used in glibc.
2564 (__coshm1): Likewise.
2565 (__acosh1p): Likewise.
2568 * manual/string.texi (Copying and Concatenation): Add missing
2569 variable in concat example.
2570 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2572 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2575 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
2576 __builtin_clzl with __builtin_clzll.
2578 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2581 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
2584 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2586 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
2587 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
2588 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
2589 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
2591 2012-05-14 Mike Frysinger <vapier@gentoo.org>
2593 * NEWS: Update ia64 info.
2595 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
2597 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
2600 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
2602 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
2603 * sysdeps/unix/syscalls.list (dup3): Likewise.
2604 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
2605 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
2607 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2609 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
2610 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
2612 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2614 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
2616 (TLS_IE): Use mov/add instead of movq/addq to load thread
2618 (TLS_GD_PREFIX): New.
2621 2012-05-11 David S. Miller <davem@davemloft.net>
2623 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
2624 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
2625 (_FPU_SETCW): Likewise.
2627 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2629 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
2632 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
2635 * iconvdata/gb18030.c: Update tables.
2636 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
2637 characters specially.
2638 (BODY for TO_LOOP): Add encoding of missing ranges.
2640 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
2643 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
2644 * sysdeps/mach/hurd/dup3.c: Likewise.
2645 * sysdeps/mach/hurd/readlinkat.c: Likewise.
2646 * sysdeps/powerpc/memmove.c:: Likewise.
2648 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2650 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
2651 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
2653 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2655 * elf/elf.h (R_X86_64_RELATIVE64): New.
2656 (R_X86_64_NUM): Updated.
2657 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
2658 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
2659 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
2660 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
2661 tst-quad1pie tst-quad2pie
2662 (modules-names): Add tst-quadmod1 tst-quadmod2.
2663 ($(objpfx)tst-quad1): New dependency.
2664 ($(objpfx)tst-quad2): Likewise.
2665 ($(objpfx)tst-quad1pie): Likewise.
2666 ($(objpfx)tst-quad2pie): Likewise.
2667 * sysdeps/x86_64/tst-quad1.c: New file.
2668 * sysdeps/x86_64/tst-quad1pie.c: New file.
2669 * sysdeps/x86_64/tst-quad2.c: Likewise.
2670 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
2671 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
2672 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
2673 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
2674 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
2676 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2678 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
2679 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
2680 * streams/stropts.h (t_scalar_t): Define type.
2682 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
2683 (_PATH_PRESERVE): Set to "/var/lib".
2684 (_PATH_RWHODIR): Set to "/var/spool/rwho".
2686 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
2689 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
2690 if __dir_mkfile succeeded.
2692 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
2693 checking for _hurd_dtablesize. Unlock it right after having
2694 finished _hurd_dtable allocation.
2696 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2698 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
2699 * sysdeps/mach/hurd/configure: Regenerated.
2700 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
2701 special-casing to...
2702 * sysdeps/gnu/configure.in: ... this new file.
2703 * sysdeps/unix/sysv/linux/configure: Regenerated.
2704 * sysdeps/gnu/configure: New generated file.
2706 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
2707 for Linux: use nsec instead of usec, as well as:
2708 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
2709 members of type struct timespec.
2710 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
2712 (struct stat64): Likewise.
2713 (_STATBUF_ST_NSEC): New macro.
2714 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
2716 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
2717 __strtoul_internal rather than strtoul.
2719 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2721 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
2724 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2726 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
2727 which preserves existing values.
2728 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
2730 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2732 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
2733 TIMEOUT values. Return EINVAL for NFDS values either negative or
2734 greater than FD_SETSIZE.
2736 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2738 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
2739 allocated, call __vm_protect to finish enabling the existing space, and
2740 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
2741 allocate the remainder.
2743 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2745 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
2746 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
2748 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2750 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
2751 sysdeps/mach/hurd/readlink.c.
2753 * posix/tst-sysconf.c (posix_options): Only use
2754 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
2755 _POSIX_SYNCHRONIZED_IO when they are defined
2756 * sysdeps/mach/hurd/bits/posix_opt.h:
2757 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
2758 (_XOPEN_REALTIME): Undefine macro.
2759 (_XOPEN_REALTIME_THREADS): Undefine macro.
2760 (_XOPEN_SHM): Undefine macro.
2761 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
2763 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
2765 (_POSIX_ASYNC_IO): Undefine macro.
2766 (_POSIX_PRIORITIZED_IO): Undefine macro.
2767 (_POSIX_SPIN_LOCKS): Define macro to -1.
2769 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
2770 SA_NODEFER, SA_RESETHAND.
2771 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
2772 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
2775 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2777 * elf/Makefile (pldd-modules): Define unconditionally.
2779 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2781 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
2783 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2785 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
2786 Return ENOENT when name is empty.
2787 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
2789 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2791 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
2793 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
2795 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2797 Fix mlock in all cases except non-readable pages.
2798 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
2799 instead of VM_PROT_ALL as parameter to __vm_wire function.
2801 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
2802 (__mkdir): When path is `/', just fail with EEXIST.
2803 * sysdeps/mach/hurd/mkdirat.c: Likewise.
2805 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2807 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
2808 <sys/uio.h> (for writev).
2809 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
2810 and <sys/param.h> (for MIN).
2812 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2814 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
2815 REQUESTED_TIME. Properly set the remaining time and return EINTR
2818 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2820 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
2821 Depend on against $(link-rpcuserlibs).
2823 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2825 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
2826 (__libc_stack_end): Do not use attribute_relro.
2827 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
2828 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
2829 to libthread-provided value.
2830 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
2833 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2836 * bits/libc-lock.h (__libc_once_get): New macro.
2837 * sysdeps/mach/bits/libc-lock.h: Likewise.
2838 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
2839 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
2840 instead of using implementation details.
2842 * libio/fileops.c: Unconditionally include <kernel-features.h>.
2843 * libio/freopen.c: Likewise.
2844 * libio/freopen64.c: Likewise.
2845 * misc/syslog.c: Likewise.
2846 * nscd/connections.c: Likewise.
2847 * nscd/netgroupcache.c: Likewise.
2848 * sysdeps/posix/getcwd.c: Likewise.
2850 2012-05-10 Roland McGrath <roland@hack.frob.com>
2852 * math/w_ilogbf.c: Add #include <limits.h>.
2854 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2856 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
2857 path instead of returning without unlocking.
2859 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
2860 immediate-write ioctls.
2861 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
2863 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2865 * sysdeps/mach/hurd/i386/init-first.c (init): Use
2866 __builtin_frame_address instead of making assumptions about the
2867 location of the return address relative to DATA. Force early load of
2869 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
2870 __builtin_frame_address.
2873 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
2874 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
2875 implement dup3 and do some further code clean-ups.
2876 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
2877 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
2879 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2881 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
2883 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
2884 HURD_CRITICAL_END around holding _hurd_dtable_lock.
2885 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
2886 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
2887 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
2890 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
2891 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
2892 when handler == SIG_ERR, not when handler != SIG_ERR.
2894 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2896 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
2897 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
2900 accept4 for GNU Hurd.
2901 * include/sys/socket.h (__libc_accept4): New prototype.
2902 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
2903 to implement __libc_accept4.
2904 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
2906 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
2908 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
2909 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
2910 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
2913 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2915 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
2917 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2919 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
2920 assertion on O_CLOEXEC flag.
2921 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
2922 * hurd/intern-fd.c: Likewise.
2923 * hurd/port2fd.c: Likewise.
2925 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2928 * bits/in.h (IPV6_PKTINFO): Define new macro.
2929 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
2931 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2936 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
2937 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2938 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
2939 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
2940 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2941 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
2942 * math/libm-test.inc (logb_test) : Additional logb tests.
2944 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
2945 Andreas Jaeger <aj@suse.de>
2947 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
2948 * configure: Regenerated.
2949 * config.h.in (LINK_OBSOLETE_RPC): New macro.
2950 * config.make.in (link-obsolete-rpc): New substituted variable.
2951 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
2952 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
2953 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2954 (shared-only-routines): Don't set it under [link-obsolete-rpc],
2955 so that libc.a contains the symbols.
2956 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2957 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
2958 * sunrpc/auth_none.c: Likewise.
2959 * sunrpc/auth_unix.c: Likewise.
2960 * sunrpc/authdes_prot.c: Likewise.
2961 * sunrpc/authuxprot.c: Likewise.
2962 * sunrpc/clnt_gen.c: Likewise.
2963 * sunrpc/clnt_perr.c: Likewise.
2964 * sunrpc/clnt_raw.c: Likewise.
2965 * sunrpc/clnt_simp.c: Likewise.
2966 * sunrpc/clnt_tcp.c: Likewise.
2967 * sunrpc/clnt_udp.c: Likewise.
2968 * sunrpc/clnt_unix.c: Likewise.
2969 * sunrpc/des_crypt.c: Likewise.
2970 * sunrpc/des_soft.c: Likewise.
2971 * sunrpc/get_myaddr.c: Likewise.
2972 * sunrpc/key_call.c: Likewise.
2973 * sunrpc/key_prot.c: Likewise.
2974 * sunrpc/netname.c: Likewise.
2975 * sunrpc/pm_getmaps.c: Likewise.
2976 * sunrpc/pm_getport.c: Likewise.
2977 * sunrpc/pmap_clnt.c: Likewise.
2978 * sunrpc/pmap_prot.c: Likewise.
2979 * sunrpc/pmap_prot2.c: Likewise.
2980 * sunrpc/pmap_rmt.c: Likewise.
2981 * sunrpc/publickey.c: Likewise.
2982 * sunrpc/rpc_cmsg.c: Likewise.
2983 * sunrpc/rpc_common.c: Likewise.
2984 * sunrpc/rpc_dtable.c: Likewise.
2985 * sunrpc/rpc_prot.c: Likewise.
2986 * sunrpc/rpc_thread.c: Likewise.
2987 * sunrpc/rtime.c: Likewise.
2988 * sunrpc/svc.c: Likewise.
2989 * sunrpc/svc_auth.c: Likewise.
2990 * sunrpc/svc_raw.c: Likewise.
2991 * sunrpc/svc_run.c: Likewise.
2992 * sunrpc/svc_tcp.c: Likewise.
2993 * sunrpc/svc_udp.c: Likewise.
2994 * sunrpc/svc_unix.c: Likewise.
2995 * sunrpc/svcauth_des.c: Likewise.
2996 * sunrpc/xcrypt.c: Likewise.
2997 * sunrpc/xdr.c: Likewise.
2998 * sunrpc/xdr_array.c: Likewise.
2999 * sunrpc/xdr_float.c: Likewise.
3000 * sunrpc/xdr_intXX_t.c: Likewise.
3001 * sunrpc/xdr_mem.c: Likewise.
3002 * sunrpc/xdr_rec.c: Likewise.
3003 * sunrpc/xdr_ref.c: Likewise.
3004 * sunrpc/xdr_sizeof.c: Likewise.
3005 * sunrpc/xdr_stdio.c: Likewise.
3007 2012-05-10 Roland McGrath <roland@hack.frob.com>
3009 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
3010 change. Update copyright years.
3012 2012-05-10 Joseph Myers <joseph@codesourcery.com>
3014 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
3016 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
3017 Joseph Myers <joseph@codesourcery.com>
3018 Paul Pluzhnikov <ppluzhnikov@google.com>
3021 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
3023 [cross-compiling] (extra-libs): Likewise.
3024 [cross-compiling] (extra-libs-others): Likewise.
3025 [cross-compiling] (librpcsvc-routines): Likewise.
3026 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
3027 [cross-compiling] (omit-deps): Likewise.
3028 (sunrpc-CPPFLAGS): New variable.
3029 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
3030 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
3031 (cross-rpcgen-objs): New variable.
3032 (extra-objs): Append $(cross-rpcgen-objs).
3033 ($(cross-rpcgen-objs)): New rule.
3034 ($(objpfx)cross-rpcgen): Likewise.
3035 (rpcgen-cmd): Define to use $(built-program-file). Expand
3037 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
3038 ($(objpfx)x%.stmp): Likewise.
3039 * sunrpc/proto.h [IS_IN_build] (_): Define.
3040 [IS_IN_build] (_libc_intl_domainname): Likewise.
3042 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3044 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
3045 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
3046 and R_X86_64_TPOFF64.
3048 2012-05-10 Joseph Myers <joseph@codesourcery.com>
3050 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
3051 sysdeps/unix/sysv/syscalls.list.
3054 * sysdeps/unix/sysv/syscalls.list: Remove file.
3056 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
3059 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
3060 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
3061 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
3062 (__LC_IDENTIFICATION): Make these macros useful in #if
3063 expressions, as required by C99.
3065 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
3067 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
3068 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
3071 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
3073 * stdlib/longlong.h: Updated from GCC.
3075 2012-05-09 Andreas Jaeger <aj@suse.de>
3077 * nscd/nscd.c (run_modes): Make named enum, reorder so that
3078 default is first entry.
3079 (run_mode): Set type.
3080 (main): Remove informal message about syslog.
3081 (options): Fix typo.
3084 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
3087 (llrintf): Likewise.
3091 (nearbyint): Likewise.
3092 (nearbyintf): Likewise.
3094 2012-05-09 Andreas Jaeger <aj@suse.de>
3095 Pedro Alves <palves@redhat.com>
3097 * nscd/nscd.c (run_mode): Use enum.
3098 (main): Cleanup coding style issue.
3100 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
3101 Andreas Jaeger <aj@suse.de>
3103 * nscd/nscd.c (go_background): Replaced with...
3104 (run_mode): ... this.
3105 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
3106 (options): Add -F --foreground.
3107 (main): Implement it.
3108 (parse_opt): Parse it.
3110 2012-05-09 Andreas Jaeger <aj@suse.de>
3113 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
3114 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
3115 -Wconversion warning.
3116 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
3119 2012-05-09 Joseph Myers <joseph@codesourcery.com>
3121 * conform/data/locale.h-data (NULL): Use macro-constant. Require
3123 (LC_ALL): Use macro-int-constant.
3124 (LC_COLLATE): Likewise.
3125 (LC_CTYPE): Likewise.
3126 (LC_MESSAGES): Likewise.
3127 (LC_MONETARY): Likewise.
3128 (LC_NUMERIC): Likewise.
3129 (LC_TIME): Likewise.
3130 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
3131 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3132 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3133 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
3135 [C99-based standards] (float_t): Expect type.
3136 [C99-based standards] (double_t): Expect type.
3137 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
3139 [C99-based standards] (HUGE_VALL): Likewise.
3140 [C99-based standards] (INFINITY): Likewise.
3141 [C99-based standards] (NAN): Likewise.
3142 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
3143 [C99-based standards] (FP_NAN): Likewise.
3144 [C99-based standards] (FP_NORMAL): Likewise.
3145 [C99-based standards] (FP_SUBNORMAL): Likewise.
3146 [C99-based standards] (FP_ZERO): Likewise.
3147 [C99-based standards] (FP_FAST_FMA): Use
3148 optional-macro-int-constant. Specify type. Require == 1.
3149 [C99-based standards] (FP_FAST_FMAF): Likewise.
3150 [C99-based standards] (FP_FAST_FMAL): Likewise.
3151 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
3152 [C99-based standards] (FP_ILOGBNAN): Likewise.
3153 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
3155 [C99-based standards] (MATH_ERREXCEPT): Likewise.
3156 [C99-based standards] (math_errhandling): Specify type.
3157 [ISO99 || ISO11] (signgam): Do not allow.
3158 [non-C99-based standards] (copysignf): Do not allow.
3159 [non-C99-based standards] (exp2f): Likewise.
3160 [non-C99-based standards] (log2f): Likewise.
3161 [non-C99-based standards] (modff): Allow.
3162 [non-C99-based standards] (erff): Do not allow.
3163 [non-C99-based standards] (erfcf): Likewise.
3164 [non-C99-based standards] (gammaf): Likewise.
3165 [non-C99-based standards] (hypotf): Likewise.
3166 [non-C99-based standards] (j0f): Likewise.
3167 [non-C99-based standards] (j1f): Likewise.
3168 [non-C99-based standards] (jnf): Likewise.
3169 [non-C99-based standards] (lgammaf): Likewise.
3170 [non-C99-based standards] (tgammaf): Likewise.
3171 [non-C99-based standards] (y0f): Likewise.
3172 [non-C99-based standards] (y1f): Likewise.
3173 [non-C99-based standards] (ynf): Likewise.
3174 [non-C99-based standards] (isnanf): Likewise.
3175 [non-C99-based standards] (acoshf): Likewise.
3176 [non-C99-based standards] (asinhf): Likewise.
3177 [non-C99-based standards] (atanhf): Likewise.
3178 [non-C99-based standards] (cbrtf): Likewise.
3179 [non-C99-based standards] (expm1f): Likewise.
3180 [non-C99-based standards] (ilogbf): Likewise.
3181 [non-C99-based standards] (log1pf): Likewise.
3182 [non-C99-based standards] (logbf): Likewise.
3183 [non-C99-based standards] (nextafterf): Likewise.
3184 [non-C99-based standards] (remainderf): Likewise.
3185 [non-C99-based standards] (rintf): Likewise.
3186 [non-C99-based standards] (scalbf): Likewise.
3187 [non-C99-based standards] (copysignl): Likewise.
3188 [non-C99-based standards] (exp2l): Likewise.
3189 [non-C99-based standards] (log2l): Likewise.
3190 [non-C99-based standards] (modfl): Allow.
3191 [non-C99-based standards] (erfl): Do not allow.
3192 [non-C99-based standards] (erfcl): Likewise.
3193 [non-C99-based standards] (gammal): Likewise.
3194 [non-C99-based standards] (hypotl): Likewise.
3195 [non-C99-based standards] (j0l): Likewise.
3196 [non-C99-based standards] (j1l): Likewise.
3197 [non-C99-based standards] (jnl): Likewise.
3198 [non-C99-based standards] (lgammal): Likewise.
3199 [non-C99-based standards] (tgammal): Likewise.
3200 [non-C99-based standards] (y0l): Likewise.
3201 [non-C99-based standards] (y1l): Likewise.
3202 [non-C99-based standards] (ynl): Likewise.
3203 [non-C99-based standards] (isnanl): Likewise.
3204 [non-C99-based standards] (acoshl): Likewise.
3205 [non-C99-based standards] (asinhl): Likewise.
3206 [non-C99-based standards] (atanhl): Likewise.
3207 [non-C99-based standards] (cbrtl): Likewise.
3208 [non-C99-based standards] (expm1l): Likewise.
3209 [non-C99-based standards] (ilogbl): Likewise.
3210 [non-C99-based standards] (log1pl): Likewise.
3211 [non-C99-based standards] (logbl): Likewise.
3212 [non-C99-based standards] (nextafterl): Likewise.
3213 [non-C99-based standards] (remainderl): Likewise.
3214 [non-C99-based standards] (rintl): Likewise.
3215 [non-C99-based standards] (scalbl): Likewise.
3216 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3217 [non-C99-based standards] (FP_*): Do not allow.
3218 [C99-based standards] (FP_*): Change to
3219 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3220 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3222 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
3223 (SIG_ERR): Likewise.
3224 [X/Open-based standards] (SIG_HOLD): Likewise.
3225 (SIG_IGN): Likewise.
3226 (SIGABRT): Use macro-int-constant. Specify type. Require
3231 (SIGSEGV): Likewise.
3233 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
3234 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
3235 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
3236 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
3237 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
3238 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
3239 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
3240 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
3241 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
3242 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
3243 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
3244 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
3245 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
3246 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
3247 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
3248 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
3249 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
3250 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
3251 [X/Open-based standards] (SIGTRAP): Likewise.
3252 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
3253 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
3254 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
3255 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
3256 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3259 2012-05-08 Ian Wienand <ianw@vmware.com>
3262 * time/tzset.c (__tzset_parse_tz): Update default rules for
3263 daylight time changes in the Energy Policy Act of 2005.
3265 2012-05-09 Andreas Jaeger <aj@suse.de>
3268 * elf/ldconfig.c (parse_conf): Change string to make clear that
3269 ldconfig only issued a warning if ld.so.conf does not exist.
3271 2012-05-08 David S. Miller <davem@davemloft.net>
3273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
3274 movxtod instead of popping the value on the stack.
3276 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3278 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
3280 * config.h.in: Add HAVE_ARM_PCS_VFP.
3282 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
3285 * include/features.h: Warn if user requests __FORTIFY_SOURCE
3286 checking but the checks are disabled for any reason.
3288 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
3290 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
3291 and ELF64_R_TYPE with ELFW(R_TYPE).
3293 2012-05-08 Joseph Myers <joseph@codesourcery.com>
3295 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
3298 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
3299 (settimeofday): Likewise.
3301 2012-05-08 Mike Frysinger <vapier@gentoo.org>
3303 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
3304 a struct th_u2 inside the union, and move tu_block/tu_code into
3305 a new th_u3 union of tu_block/tu_code inside of that. Move
3306 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
3307 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
3308 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
3309 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
3310 (th_stuff): Change to th_u1.tu_stuff.
3312 (th_msg): Change to th_u1.th_u2.tu_data.
3314 2012-05-07 David S. Miller <davem@davemloft.net>
3316 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3319 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
3320 (SETUP_PIC_REG): Use it.
3321 (SETUP_PIC_REG_LEAF): Use it.
3323 2012-05-07 Joseph Myers <joseph@codesourcery.com>
3327 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3329 (EXPL_FINITE): Likewise.
3331 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3332 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3334 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3336 (EXPL_FINITE): Likewise.
3338 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3339 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3341 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
3342 test of -max_value argument for long double.
3343 * sysdeps/i386/fpu/libm-test-ulps: Update.
3344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3346 2012-05-06 David S. Miller <davem@davemloft.net>
3348 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
3349 quad soft-float symbols whose references which are compiler
3351 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
3353 2012-05-06 Joseph Myers <joseph@codesourcery.com>
3357 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3359 (EXPL_FINITE): Likewise.
3363 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3364 Adjust comments for base varying.
3365 (__expl_finite): Change alias to EXPL_FINITE.
3366 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
3368 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
3369 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
3370 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3371 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
3372 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3374 (EXPL_FINITE): Likewise.
3378 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3379 Adjust comments for base varying.
3380 (__expl_finite): Change alias to EXPL_FINITE.
3381 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
3383 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3386 * math/libm-test.inc (check_float_internal): Correct ulp
3387 calculation for subnormal expected results.
3389 2012-05-06 Andreas Jaeger <aj@suse.de>
3391 * Makeconfig (+math-flags): New, set to -frounding-math.
3392 (+cflags): Add +math-flags so that all of glibc gets compiled with
3395 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
3397 2012-05-05 Joseph Myers <joseph@codesourcery.com>
3399 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
3405 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
3406 (__ieee754_expl): Allow for and saturate large arguments.
3407 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
3408 (u_threshold): Likewise.
3409 (__exp): Call __ieee754_exp before checking for overflow and
3411 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
3412 (u_threshold): Likewise.
3413 (__expf): Call __ieee754_expf before checking for overflow and
3415 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
3416 (u_threshold): Likewise.
3417 (__expl): Call __ieee754_expl before checking for overflow and
3419 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
3420 (__ieee754_expl): Allow for and saturate large arguments.
3421 * math/libm-test.inc (exp_test): Add another test. Do not allow
3422 missing overflow exception on overflow.
3423 (expm1_test): Do not allow missing overflow exception on overflow.
3425 * sysdeps/i386/fpu/e_expl.c: Move to ...
3426 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
3427 rather than using inline asm.
3428 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
3429 * sysdeps/x86_64/fpu/e_expl.S: Copy from
3430 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
3432 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
3439 2012-05-04 Joseph Myers <joseph@codesourcery.com>
3441 * sysdeps/unix/syscalls.list (adjtime): Add entry from
3442 sysdeps/unix/common/syscalls.list.
3445 (ftruncate): Likewise.
3446 (getrusage): Likewise.
3447 (gettimeofday): Likewise.
3448 (setpgid): Likewise.
3449 (setregid): Likewise.
3450 (setreuid): Likewise.
3451 (sigaction): Likewise.
3452 (truncate): Likewise.
3453 (vhangup): Likewise.
3454 * sysdeps/unix/common/syscalls.list: Remove file.
3455 * sysdeps/unix/bsd/Implies: Don't include unix/common.
3456 * sysdeps/unix/sysv/linux/Implies: Likewise.
3458 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
3460 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
3461 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
3462 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
3464 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3466 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
3468 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
3469 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
3471 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
3472 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
3474 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
3475 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
3477 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
3478 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
3480 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
3481 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
3483 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
3484 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
3486 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3488 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
3490 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
3492 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
3494 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
3495 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
3497 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
3499 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
3501 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
3503 2012-05-04 Joseph Myers <joseph@codesourcery.com>
3505 * sysdeps/unix/common/bits/dirent.h: Remove file.
3506 * sysdeps/unix/common/bits/fcntl.h: Likewise.
3508 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
3509 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
3510 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
3511 * sysdeps/unix/bsd/isatty.c: Likewise.
3512 * sysdeps/unix/bsd/tcdrain.c: Likewise.
3513 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
3514 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
3516 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3519 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
3520 long double comparison inaccuracies.
3521 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
3522 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3524 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
3526 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
3527 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
3529 2012-05-04 Joseph Myers <joseph@codesourcery.com>
3532 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
3533 nonzero digits before rounding a hex value.
3534 * stdlib/tst-strtod.c (tests): Add another test.
3536 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3538 * sysdeps/s390/fpu/libm-test-ulps: Update.
3540 2012-05-03 Andreas Jaeger <aj@suse.de>
3542 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
3543 does not get optimized out.
3544 (malloc_opt_barrier): New.
3546 2012-05-03 Andreas Jaeger <aj@suse.de>
3547 Roland McGrath <roland@hack.frob.com>
3549 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
3550 intermediate file deletion.
3551 (generated): Add .symlist files.
3553 2012-05-03 Joseph Myers <joseph@codesourcery.com>
3556 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
3557 Redirect under this condition.
3558 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3559 [__USE_GNU] (__dprintf_chk): Not under this condition.
3560 [__USE_GNU] (__vdprintf_chk): Likewise.
3561 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
3562 under this condition.
3563 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3564 [__USE_XOPEN2K8] (dprintf): Define under this condition.
3565 [__USE_XOPEN2K8] (vdprintf): Likewise.
3566 [__USE_GNU] (__dprintf_chk): Not under this condition.
3567 [__USE_GNU] (__vdprintf_chk): Likewise.
3568 [__USE_GNU] (dprintf): Likewise.
3569 [__USE_GNU] (vdprintf): Likewise.
3571 2012-05-03 Roland McGrath <roland@hack.frob.com>
3573 * elf/Makefile (common-generated): Set this instead of generated for
3574 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
3575 $(all-built-dso)-derived lists.
3577 2012-05-03 Andreas Jaeger <aj@suse.de>
3579 * sysdeps/i386/fpu/libm-test-ulps: Update.
3583 * scripts/gen-FAQ.pl: Likewise.
3584 * manual/install.texi (Installation): Point to online location of
3586 * Makefile (files-for-dist): Remove FAQ.
3589 2012-05-02 Allan McRae <allan@archlinux.org>
3591 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
3592 (LDFLAGS-reldepmod5.so): Likewise.
3593 (LDFLAGS-reldep6mod1.so): Likewise.
3594 (LDFLAGS-reldep6mod4.so): Likewise.
3595 (LDFLAGS-reldep8mod3.so): Likewise.
3596 (LDFLAGS-unload4mod1.so): Likewise.
3597 (LDFLAGS-unload4mod2.so): Likewise.
3598 (LDFLAGS-tst-initorder): Likewise.
3599 (LDFLAGS-tst-initordera2.so): Likewise.
3600 (LDFLAGS-tst-initordera3.so): Likewise.
3601 (LDFLAGS-tst-initordera4.so): Likewise.
3602 (LDFLAGS-tst-initorderb2.so): Likewise.
3603 (LDFLAGS-noload): Likewise.
3604 (LDFLAGS-next): Likewise.
3605 (LDFLAGS-order2mod1.so): Likewise.
3606 (LDFLAGS-order2mod2.so): Likewise.
3607 (LDFLAGS-tst-initorder2): Likewise.
3608 (LDFLAGS-tst-initorder2a.so): Likewise.
3609 (LDFLAGS-tst-initorder2b.so): Likewise.
3610 (LDFLAGS-tst-initorder2c.so): Likewise.
3611 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
3613 2012-05-02 David S. Miller <davem@davemloft.net>
3615 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3617 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
3620 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
3622 2012-05-02 Andreas Jaeger <aj@suse.de>
3624 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
3625 since we manipulate rounding mode.
3626 (CPPFLAGS-test-idouble.c): Likewise.
3627 (CPPFLAGS-test-ifloat.c): Likewise.
3628 (CFLAGS-test-ldouble.c): Likewise.
3629 (CFLAGS-test-double.c): Likewise.
3630 (CFLAGS-test-float.c): Likewise.
3631 (CFLAGS-test-misc.c): Likewise.
3632 (CFLAGS-test-test-fenv.c): Likewise.
3634 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3638 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
3639 comparisons to determine direction to adjust input.
3641 2012-05-01 Roland McGrath <roland@hack.frob.com>
3643 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
3644 output to the target.
3646 * scripts/localplt.awk: New file.
3647 * elf/Makefile ($(objpfx)check-localplt): Target removed.
3648 (check-localplt-CFLAGS): Variable removed.
3649 ($(all-built-dso:=.jmprel)): New static pattern rule.
3650 (generated): Add those targets.
3651 (localplt-built-dso): New variable.
3652 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
3654 * elf/check-localplt.c: File removed.
3656 * scripts/check-execstack.awk: New file.
3657 * elf/Makefile ($(objpfx)check-execstack): Target removed.
3658 (check-execstack-CFLAGS): Variable removed.
3659 ($(objpfx)check-execstack.h): Target removed.
3660 ($(objpfx)execstack-default): New target.
3661 (generated): Add that instead of check-execstack.h.
3662 ($(all-built-dso:=.phdr)): New static pattern rule.
3663 (generated): Add those targets.
3664 * elf/check-execstack.c: File removed.
3666 * scripts/check-textrel.awk: New file.
3667 * elf/Makefile ($(objpfx)check-textrel): Target removed.
3668 (check-textrel-CFLAGS): Variable removed.
3669 (all-built-dso): Use := to define.o
3670 ($(all-built-dso:=.dyn)): New static pattern rule.
3671 (generated): Add those targets.
3672 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
3673 * config.make.in (READELF): New substituted variable.
3674 * elf/check-textrel.c: File removed.
3676 2012-05-01 Joseph Myers <joseph@codesourcery.com>
3678 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3680 * conform/data/ctype.h-data [C99-based standards] (isblank):
3682 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
3683 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
3684 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3685 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
3686 Specify type. Require positive value.
3689 [ISO || POSIX] (EILSEQ): Do not expect.
3690 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
3691 Specify type. Require positive value.
3692 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
3693 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
3694 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
3695 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
3696 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
3697 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
3698 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
3699 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
3700 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
3701 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
3702 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
3703 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
3704 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
3705 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
3706 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
3707 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
3708 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
3709 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
3710 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
3711 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
3712 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
3713 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
3714 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
3715 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
3716 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
3717 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
3718 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
3719 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
3720 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
3721 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
3722 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
3723 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
3724 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
3725 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
3726 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
3727 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
3728 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
3729 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
3730 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
3731 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
3732 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
3733 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
3734 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
3735 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
3736 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
3737 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
3738 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
3739 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
3740 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
3741 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
3742 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
3743 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
3744 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
3745 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
3746 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
3747 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
3748 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
3749 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
3750 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
3751 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
3752 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
3753 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
3754 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
3755 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
3756 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
3757 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
3758 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
3759 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
3760 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
3761 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
3762 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
3763 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
3764 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
3765 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
3766 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
3767 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
3768 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
3770 (FLT_ROUNDS): Expect as macro, not constant.
3771 (FLT_MANT_DIG): Use macro-int-constant.
3772 (DBL_MANT_DIG): Likewise.
3773 (LDBL_MANT_DIG): Likewise.
3774 (FLT_DIG): Likewise.
3775 (DBL_DIG): Likewise.
3776 (LDBL_DIG): Likewise.
3777 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
3778 (DBL_MIN_EXP): Likewise.
3779 (LDBL_MIN_EXP): Likewise.
3780 (FLT_MAX_EXP): Use macro-int-constant.
3781 (DBL_MAX_EXP): Likewise.
3782 (LDBL_MAX_EXP): Likewise.
3783 (FLT_MAX_10_EXP): Likewise.
3784 (DBL_MAX_10_EXP): Likewise.
3785 (LDBL_MAX_10_EXP): Likewise.
3786 (FLT_MAX): Use macro-constant.
3787 (DBL_MAX): Likewise.
3788 (LDBL_MAX): Likewise.
3789 (FLT_EPSILON): Use macro-constant. Give upper bound.
3790 (DBL_EPSILON): Likewise.
3791 (LDBL_EPSILON): Likewise.
3792 (FLT_MIN): Likewise.
3793 (DBL_MIN): Likewise.
3794 (LDBL_MIN): Likewise.
3795 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
3796 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
3797 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
3798 [ISO11] (FLT_HAS_SUBNORM): Likewise.
3799 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
3800 [ISO11] (DBL_DECIMAL_DIG): Likewise.
3801 [ISO11] (FLT_DECIMAL_DIG): Likewise.
3802 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
3803 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
3804 [ISO11] (FLT_TRUE_MIN): Likewise.
3805 [ISO11] (LDBL_TRUE_MIN): Likewise.
3806 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3807 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
3808 (SCHAR_MIN): Use macro-int-constant. Specify type.
3809 (SCHAR_MAX): Likewise.
3810 (UCHAR_MAX): Likewise.
3811 (CHAR_MIN): Likewise.
3812 (CHAR_MAX): Likewise.
3813 (MB_LEN_MAX): Use macro-int-constant.
3814 (SHRT_MIN): Use macro-int-constant. Specify type.
3815 (SHRT_MAX): Likewise.
3816 (USHRT_MAX): Likewise.
3817 (INT_MAX): Likewise.
3818 (INT_MIN): Use macro-int-constant. Specify type. Make upper
3820 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
3822 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3824 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
3825 bound negative. Suffix upper bound with "L".
3826 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3828 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
3830 [C99-based standards] (LLONG_MAX): Likewise.
3831 [C99-based standards] (ULLONG_MAX): Likewise.
3832 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
3834 [ISO11] (max_align_t): Require type.
3835 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3837 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
3838 from $CFLAGS, without defining away __attribute__ calls.
3839 (checknamespace): Use $CFLAGS_namespace.
3841 * conform/conformtest.pl (@keywords): Only include C99 keywords
3842 for standards based on C99 or C11.
3844 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
3846 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
3849 * conform/conformtest.pl: Handle "macro-int-constant" and test for
3850 usability of symbols in #if.
3852 * conform/conformtest.pl: If macro or constant types start
3853 "promoted:", expect the symbol to be of the following type
3854 promoted by the integer promotions.
3856 * conform/conformtest.pl: Parse all "constant" and "macro" lines
3857 in one place. Also handle "macro-constant".
3859 * conform/conformtest.pl: Only accept expected macro values with
3860 "==". Parse all "macro" lines in one place.
3861 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
3863 * conform/conformtest.pl: Handle braced types on "constant" lines
3864 instead of handling "typed-constant".
3865 * conform/data/signal.h-data: Use "constant" instead of
3868 * conform/conformtest.pl: Handle "optional-" at start of lines in
3869 one place rather than duplicating several cases. Handle each
3870 format of "macro" line with initial "optional-".
3872 * conform/conformtest.pl: Only accept expected constant or
3873 optional-constant values with "==". Parse all "constant" lines in
3874 one place. Parse all "optional-constant" lines in one place.
3875 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
3876 * conform/data/fmtmsg.h-data: Likewise.
3877 * conform/data/netinet/in.h-data: Likewise.
3878 * conform/data/tar.h-data: Likewise.
3879 * conform/data/limits.h-data: Use "==" form on "constant" and
3880 "optional-constant" lines.
3882 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
3883 Use -std=c99 for XOPEN2K.
3884 (@knownproblems): Remove.
3885 (newtoken): Don't check %isknown.
3887 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
3888 Do not expect macro.
3889 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
3890 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
3891 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
3892 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
3893 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
3894 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
3895 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
3896 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
3897 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
3898 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
3899 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
3900 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
3901 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
3902 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
3903 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
3904 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
3905 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
3906 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
3907 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
3908 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
3909 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
3910 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
3911 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
3912 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
3913 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
3914 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
3915 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
3916 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
3917 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
3918 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
3919 [XPG3] (acosh): Likewise.
3920 [XPG3] (asinh): Likewise.
3921 [XPG3] (atanh): Likewise.
3922 [XPG3] (cbrt): Likewise.
3923 [XPG3] (expm1): Likewise.
3924 [XPG3] (ilogb): Likewise.
3925 [XPG3] (log1p): Likewise.
3926 [XPG3] (logb): Likewise.
3927 [XPG3] (nextafter): Likewise.
3928 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
3929 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
3930 [XPG3] (remainder): Likewise.
3931 [XPG3] (rint): Likewise.
3932 [XPG3 || XPG4 || UNIX98] (round): Likewise.
3933 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
3934 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
3935 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
3936 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
3937 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
3938 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
3939 [UNIX98 || XOPEN2K] (scalb): Expect.
3940 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
3941 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
3942 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
3943 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
3944 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
3945 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
3946 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
3947 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
3948 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
3949 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
3950 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
3951 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
3952 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
3953 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
3954 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
3955 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
3956 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
3957 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
3958 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
3959 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
3960 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
3961 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
3962 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
3963 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
3964 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
3965 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
3966 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
3967 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
3968 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
3969 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
3970 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
3971 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
3972 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
3973 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
3974 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
3975 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
3976 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
3977 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
3978 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
3979 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
3980 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
3981 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
3982 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
3983 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
3984 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
3985 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
3986 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
3987 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
3988 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
3989 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
3990 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
3991 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
3992 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
3993 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
3994 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
3995 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
3996 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
3997 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
3998 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
3999 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
4000 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
4001 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
4002 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
4003 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
4004 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
4005 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
4006 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
4007 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
4008 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
4009 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
4010 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
4011 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
4012 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
4013 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
4014 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
4015 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
4016 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
4017 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
4018 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
4019 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
4020 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
4021 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
4022 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
4023 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
4024 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
4025 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
4026 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
4027 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
4028 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
4029 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
4030 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
4031 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
4032 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
4033 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
4034 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
4035 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
4036 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
4037 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
4038 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
4039 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
4040 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
4041 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
4042 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
4043 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
4044 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
4045 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
4046 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
4047 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
4048 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
4049 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
4050 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
4051 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
4052 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
4053 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
4054 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
4055 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
4056 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
4057 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
4058 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
4059 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
4060 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
4061 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
4062 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
4063 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
4064 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
4065 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
4066 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
4067 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
4068 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
4069 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
4070 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
4071 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
4072 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
4073 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
4074 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
4075 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
4076 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
4078 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
4079 _XOPEN_SOURCE_EXTENDED for XPG4.
4081 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
4083 * Makeconfig (localtime): Remove variable.
4084 (inst_localtime-file): Likewise.
4086 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
4088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
4090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
4094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
4098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
4100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
4104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4107 2012-05-01 Joseph Myers <joseph@codesourcery.com>
4111 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
4112 comparisons to determine direction to adjust input.
4113 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
4114 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
4115 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
4117 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
4119 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4121 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
4122 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
4124 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
4126 * math/libm-test.inc (nexttoward_test): Add more tests.
4128 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
4131 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
4132 in version GLIBC_2.1, not GLIBC_2.0.
4133 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
4136 2012-04-30 Joseph Myers <joseph@codesourcery.com>
4139 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
4141 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4142 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
4143 * math/libm-test.inc (acos_test): Add more tests.
4144 (asin_test): Likewise.
4145 * sysdeps/i386/fpu/libm-test-ulps: Update.
4146 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4149 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
4151 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
4152 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4153 * math/libm-test.inc (acos_test_tonearest): New function.
4154 (acos_test_towardzero): Likewise.
4155 (acos_test_downward): Likewise.
4156 (acos_test_upward): Likewise.
4157 (asin_test_tonearest): Likewise.
4158 (asin_test_towardzero): Likewise.
4159 (asin_test_downward): Likewise.
4160 (asin_test_upward): Likewise.
4161 (main): Call the new functions.
4162 * sysdeps/i386/fpu/libm-test-ulps: Update.
4163 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4167 * math/e_exp10.c: Include <float.h>.
4168 (__ieee754_exp10): Handle underflow here rather than multiplying
4169 large negative argument by M_LN10.
4170 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
4172 * math/e_exp10l.c: Include <float.h>.
4173 (__ieee754_exp10l): Handle underflow here rather than multiplying
4174 large negative argument by M_LN10l.
4175 * math/libm-test.inc (exp10_test): Add another test. Do not allow
4176 spurious overflow exception on underflow.
4178 2012-04-29 Marek Polacek <polacek@redhat.com>
4180 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
4181 (__fortify_function): New macro.
4182 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
4183 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
4184 __extern_always_inline.
4185 * libio/bits/stdio2.h: Likewise.
4186 * libio/bits/stdio.h: Likewise.
4187 * string/string.h: Likewise.
4188 * string/bits/string3.h: Likewise.
4189 * include/stdio.h: Likewise.
4190 * stdlib/bits/stdlib.h: Likewise.
4191 * stdlib/stdlib.h: Likewise.
4192 * rt/bits/mqueue2.h: Likewise.
4193 * rt/mqueue.h: Likewise.
4194 * posix/bits/unistd.h: Likewise.
4195 * posix/unistd.h: Likewise.
4196 * io/bits/poll2.h: Likewise.
4197 * io/bits/fcntl2.h: Likewise.
4198 * io/fcntl.h: Likewise.
4199 * io/sys/poll.h: Likewise.
4200 * misc/bits/syslog.h: Likewise.
4201 * misc/bits/syslog-ldbl.h: Likewise.
4202 * misc/sys/syslog.h: Likewise.
4203 * socket/bits/socket2.h: Likewise.
4204 * socket/sys/socket.h: Likewise.
4205 * debug/tst-chk1.c: Likewise.
4206 * wcsmbs/bits/wchar2.h: Likewise.
4207 * wcsmbs/bits/wchar-ldbl.h: Likewise.
4208 * wcsmbs/wchar.h: Likewise.
4210 2012-04-29 Andreas Jaeger <aj@suse.de>
4212 * Makerules (tests): Remove enable-check-abi protection.
4213 (check-abi-warn): Remove.
4214 (check-abi-%): Remove check-abi-warn usage.
4216 * configure.in: Remove check-abi configure option.
4217 * configure: Regenerated.
4218 * config.make.in (enable-check-abi): Remove.
4220 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
4223 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
4224 double functions to double *_finite functions.
4227 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
4228 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
4230 * stdio-common/Makefile (tests): Add tst-sprintf3.
4231 * stdio-common/tst-sprintf3.c: New file.
4233 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
4234 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
4236 2012-04-28 Joseph Myers <joseph@codesourcery.com>
4238 * conform/conformtest.pl: Remove duplicate typed-constant
4241 2012-04-28 David S. Miller <davem@davemloft.net>
4243 * Makerules (%.abilist): Add vpath on sysdep_dirs.
4244 (check-abi-%): Remove AWK script prerequisite and explicit
4246 (check-abi): Rewrite to just diff the symlist with the abilist.
4247 (config-tls, config-abi-config): Delete, no longer used.
4248 (update-abi-%): Remove AWK script and explicit abilist directory.
4249 (update-abi): Rewrite to simply compare and conditionally copy the
4250 symlist and the sysdep abilist file. Remove update-abi-config
4252 * abilist/ld.abilist: Remove.
4253 * abilist/libBrokenLocale.abilist: Remove.
4254 * abilist/libanl.abilist: Remove.
4255 * abilist/libcrypt.abilist: Remove.
4256 * abilist/libdl.abilist: Remove.
4257 * abilist/librt.abilist: Remove.
4258 * abilist/libthread_db.abilist: Remove.
4259 * abilist/libutil.abilist: Remove.
4260 * scripts/extract-abilist.awk: Remove.
4261 * scripts/merge-abilist.awk: Remove.
4262 * sysdeps/generic/libcidn.abilist: New file.
4263 * sysdeps/generic/libnss_compat.abilist: New file.
4264 * sysdeps/generic/libnss_db.abilist: New file.
4265 * sysdeps/generic/libnss_dns.abilist: New file.
4266 * sysdeps/generic/libnss_files.abilist: New file.
4267 * sysdeps/generic/libnss_hesiod.abilist: New file.
4268 * sysdeps/generic/libnss_nis.abilist: New file.
4269 * sysdeps/generic/libnss_nisplus.abilist: New file.
4270 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
4271 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
4272 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
4274 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
4275 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
4276 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
4277 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
4278 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
4279 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
4280 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
4281 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
4282 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
4284 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
4285 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
4286 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
4287 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
4289 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
4290 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
4291 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
4292 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
4293 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
4294 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
4296 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
4297 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
4298 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
4300 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
4301 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
4303 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
4305 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
4307 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
4309 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
4311 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
4313 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
4315 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
4317 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
4319 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
4321 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
4323 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
4325 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
4327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
4329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
4331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
4333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
4335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
4337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
4339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
4341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
4343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
4347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
4349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
4351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
4353 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
4354 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
4356 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
4358 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
4360 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
4362 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
4364 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
4366 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
4368 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4370 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
4372 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
4374 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4376 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
4378 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
4379 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
4381 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4383 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
4385 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
4387 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
4389 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
4391 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
4393 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4395 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
4397 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
4399 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4401 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
4403 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
4404 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
4405 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
4407 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
4408 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
4409 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
4410 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
4411 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
4412 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
4413 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
4414 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
4415 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
4416 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
4417 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
4418 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
4420 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
4422 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
4424 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
4426 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
4428 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
4430 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
4432 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4434 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
4436 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
4438 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
4440 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
4442 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
4443 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
4445 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
4447 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
4449 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
4451 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
4453 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
4455 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
4457 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4459 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
4461 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
4463 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
4465 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
4468 2012-04-28 Joseph Myers <joseph@codesourcery.com>
4470 * conform/conformtest.pl: Fix typo in handling typed-constant from
4473 2012-04-27 Joseph Myers <joseph@codesourcery.com>
4475 * README: Cut down references to pre-2.6 Linux kernels and
4476 Linuxthreads. Update lists of configurations in libc and ports
4477 and sort alphabetically. Say "or newer" with Linux kernel version
4480 * config.h.in [IS_IN_build]: Allow compiling without optimization.
4482 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4485 * math/libm-test.inc (logb_test_downward): New test to expose
4486 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
4489 2012-04-27 Joseph Myers <joseph@codesourcery.com>
4492 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
4494 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
4495 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
4497 2012-04-26 Joseph Myers <joseph@codesourcery.com>
4499 * sysdeps/unix/i386/brk.S: Remove file.
4500 * sysdeps/unix/i386/dl-brk.S: Likewise.
4501 * sysdeps/unix/i386/pipe.S: Likewise.
4502 * sysdeps/unix/i386/sigreturn.S: Likewise.
4503 * sysdeps/unix/i386/syscall.S: Likewise.
4504 * sysdeps/unix/i386/vfork.S: Likewise.
4505 * sysdeps/unix/i386/wait.S: Likewise.
4507 * sysdeps/unix/common/tcsendbrk.c: Move to ...
4508 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
4510 * configure.in (arm*-none*): Do not allow without
4511 --enable-hacker-mode.
4512 (netbsd*): Remove case setting base_os.
4513 (386bsd*): Likewise.
4514 (freebsd*): Likewise.
4518 (ultrix*): Likewise.
4519 (newsos*): Likewise.
4529 (solaris[2-9]*): Likewise.
4531 * configure: Regenerated.
4533 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4536 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
4537 overflow or cancellation in calculating denominator.
4538 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
4539 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
4540 down expression to avoid unexpected rounding in newer GCCs.
4541 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
4543 2012-04-26 David S. Miller <davem@davemloft.net>
4545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
4546 long-double compat symbols.
4547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
4551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4552 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
4553 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
4554 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
4555 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
4556 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
4557 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
4558 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
4559 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4561 2012-04-25 David S. Miller <davem@davemloft.net>
4563 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
4564 HWCAP_* values only after the memory barriers have been defined.
4565 (atomic_full_barrier): Define.
4566 (atomic_read_barrier): Define.
4567 (atomic_write_barrier): Define.
4569 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4571 * shlib-versions: Add libgcc_s version information.
4572 * sysdeps/generic/libgcc_s.h: Remove.
4573 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
4575 * sysdeps/gnu/unwind-resume.c: Likewise.
4576 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
4578 2012-04-25 David S. Miller <davem@davemloft.net>
4580 * sysdeps/unix/sparc/brk.S: Delete.
4581 * sysdeps/unix/sparc/dl-brk.S: Delete.
4582 * sysdeps/unix/sparc/pipe.S: Delete.
4583 * sysdeps/unix/sparc/sysdep.S: Delete.
4584 * sysdeps/unix/sparc/sysdep.h: Delete.
4585 * sysdeps/unix/sparc/vfork.S: Delete.
4586 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
4587 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
4588 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
4589 ret_ERRVAL, r0, r1, MOVE): Define.
4590 (JUMPTARGET): Remove.
4591 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
4592 sysdeps/unix/sparc/sysdep.h
4593 (ENTRY, END): Remove.
4594 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4596 2012-04-25 Joseph Myers <joseph@codesourcery.com>
4598 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
4599 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
4602 * timezone/README: Update upstream location and email address for
4604 * timezone/zdump.c: Update from tzcode 2012b.
4605 * timezone/zic.c: Likewise.
4607 * configure.in (libc_cv_as_needed): Remove test.
4608 * configure: Regenerated.
4609 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
4610 conditional definition.
4611 [$(have-as-needed) != yes] (no-as-needed): Likewise.
4612 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
4613 * config.make.in (have-as-needed): Remove variable.
4615 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4616 Paul Pluzhnikov <ppluzhnikov@google.com>
4618 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
4621 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
4623 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
4624 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
4625 * sysdeps/sh/strlen.S: Likewise.
4627 2012-04-24 Joseph Myers <joseph@codesourcery.com>
4629 * sysdeps/unix/fork.S: Remove file.
4630 * sysdeps/unix/i386/fork.S: Likewise.
4631 * sysdeps/unix/sparc/fork.S: Likewise.
4633 * sysdeps/unix/system.c: Remove file.
4634 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
4636 * sysdeps/unix/getegid.S: Remove file.
4637 * sysdeps/unix/geteuid.S: Likewise.
4639 2012-04-24 Roland McGrath <roland@hack.frob.com>
4641 * scripts/check-localplt.awk: New file.
4642 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
4644 * scripts/data/localplt-generic.data: Add a comment.
4646 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
4647 NODE when __dir_mkfile failed.
4648 * sysdeps/mach/hurd/symlinkat.c: Likewise.
4649 Reported by Ludovic Courtès <ludo@gnu.org>.
4651 2012-04-24 Andreas Jaeger <aj@suse.de>
4653 * Makerules (common-clean): Also remove gen-as-const-headers
4656 2012-04-24 Joseph Myers <joseph@codesourcery.com>
4658 * Makerules (native-compile): Do not change working directory for
4659 build. Use $(OUTPUT_OPTION) in command.
4660 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
4662 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4665 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
4666 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
4667 * math/libm-test.inc (floor_test): Add more tests.
4668 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
4670 2012-04-24 Joseph Myers <joseph@codesourcery.com>
4672 * sysdeps/unix/getdents.c: Remove file.
4673 * sysdeps/unix/sysv/getdents.c: Likewise.
4674 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
4676 * sysdeps/unix/syscalls.list (madvise): Add syscall from
4677 sysdeps/unix/mman/syscalls.list.
4679 (mprotect): Likewise.
4682 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
4683 * sysdeps/unix/mman/syscalls.list: Remove.
4684 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
4686 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
4687 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
4688 * configure: Regenerated.
4689 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
4691 * config.make.in (libgcc_s_suffix): Remove variable.
4693 2012-04-23 Joseph Myers <joseph@codesourcery.com>
4695 * sysdeps/unix/sysv/gethostname.c: Move to ...
4696 * sysdeps/posix/gethostname.c: ... here.
4698 * sysdeps/unix/execve.S: Remove file.
4700 * sysdeps/unix/_exit.S: Remove file.
4702 2012-04-23 Andreas Jaeger <aj@suse.de>
4705 * manual/Makefile: Remove make dist support, there's no
4706 need for a stand-alone documentation tar ball.
4707 (TEXI2DVI): Define always, it's not in Makeconfig.
4711 (glibc-doc-$(edition).tar): Removed
4715 (ETAGS): Remove, it's in Makeconfig.
4716 (move-if-change): Remove, it's in Makeconfig.
4718 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
4721 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
4722 (strtod, strtof, strtold, strtol, strtoul, strtoq)
4723 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
4724 (strtod_l, strtof_l, strtold_l): Remove __wur.
4725 It is not necessarily an error to ignore strtol's return value.
4726 One can reliably look at the stored endptr to decide whether
4727 the number had valid syntax.
4729 2012-04-21 Andreas Jaeger <aj@suse.de>
4732 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
4734 2012-04-21 Joseph Myers <joseph@codesourcery.com>
4736 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
4737 * sysdeps/unix/sysv/Versions: Remove file.
4739 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
4742 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4744 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
4747 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
4748 version from __vm86.
4750 2012-04-20 Joseph Myers <joseph@codesourcery.com>
4752 * sysdeps/unix/common/lxstat.c: Remove file.
4753 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
4755 * sysdeps/unix/sysv/Makefile: Remove file.
4757 * sysdeps/unix/sysv/direct.h: Remove file.
4759 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
4760 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
4761 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
4762 * sysdeps/unix/sysv/bits/signum.h: Likewise.
4763 * sysdeps/unix/sysv/bits/stat.h: Likewise.
4764 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
4765 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
4767 * sysdeps/unix/sysv/setrlimit.c: Remove file.
4769 * sysdeps/unix/xmknod.c: Remove file.
4770 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
4772 * sysdeps/unix/sysv/settimeofday.c: Remove file.
4774 * sysdeps/unix/sysv/i386/time.S: Remove file.
4776 * sysdeps/unix/fxstat.c: Remove file.
4777 * sysdeps/unix/xstat.c: Likewise.
4778 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
4780 * sysdeps/unix/sysv/sigaction.c: Remove file.
4782 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
4783 (sysdep_headers): Remove variable.
4784 [termio.h not in sysdep_headers] (generated): Likewise.
4785 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
4786 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
4787 * sysdeps/unix/sysv/tcdrain.c: Likewise.
4788 * sysdeps/unix/sysv/tcflow.c: Likewise.
4789 * sysdeps/unix/sysv/tcflush.c: Likewise.
4790 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
4791 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
4792 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
4793 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
4794 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
4796 * sysdeps/unix/siglist.c: Remove file.
4798 * sysdeps/unix/getppid.S: Remove file.
4800 * sysdeps/unix/mkdir.c: Remove file.
4801 * sysdeps/unix/rmdir.c: Likewise.
4803 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
4805 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
4807 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
4808 errlist-compat value.
4810 2012-04-18 David S. Miller <davem@davemloft.net>
4812 * sysdeps/generic/memcopy.h (reg_char): Delete.
4813 * debug/strcat_chk.c: Use char, not reg_char.
4814 * debug/strcpy_chk.c: Likewise.
4815 * debug/strncat_chk.c: Likewise.
4816 * debug/strncpy_chk.c: Likewise.
4817 * string/memchr.c: Likewise.
4818 * string/memrchr.c: Likewise.
4819 * string/rawmemchr.c: Likewise.
4820 * string/strcat.c: Likewise.
4821 * string/strchr.c: Likewise.
4822 * string/strchrnul.c: Likewise.
4823 * string/strcmp.c: Likewise.
4824 * string/strcpy.c: Likewise.
4825 * string/strncat.c: Likewise.
4826 * string/strncmp.c: Likewise.
4827 * string/strncpy.c: Likewise.
4829 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4831 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
4832 __builtin_memcopy is called when src and dest ranges are known to not
4835 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4837 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
4838 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
4839 fwd_align_merge macro call.
4840 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
4841 bwd_align_merge macro call.
4842 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4844 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4846 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
4847 bwd_align_merge macros.
4848 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
4849 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
4850 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4852 2012-04-18 David S. Miller <davem@davemloft.net>
4854 * sysdeps/sparc/sparc64/memcopy.h: Delete.
4856 2012-04-18 Andreas Jaeger <aj@suse.de>
4859 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
4860 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
4861 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4863 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
4864 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
4865 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4867 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
4868 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
4869 Adjust for changed ldbl-128 files.
4871 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
4872 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
4873 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4875 2012-04-17 David S. Miller <davem@davemloft.net>
4877 * sysdeps/sparc/sparc32/memcopy.h: Delete.
4879 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
4881 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
4882 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
4883 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
4884 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
4885 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4886 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
4888 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4891 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
4892 * math/libm-test.inc: Add ilogb errno and exception tests.
4893 * math/w_ilogb.c: New file: ilogb wrapper.
4894 * math/w_ilogbf.c: New file: ilogbf wrapper.
4895 * math/w_ilogbl.c: New file: ilogbl wrapper.
4896 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
4897 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
4898 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
4899 exception being thrown with 0.0 as argument.
4900 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
4901 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
4902 exception being thrown with 0.0 as argument.
4903 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
4904 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4905 exception being thrown with 0.0 as argument.
4906 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
4907 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4908 exception being thrown with 0.0 as argument.
4909 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
4910 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
4911 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
4912 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
4913 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
4914 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
4915 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
4916 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
4917 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
4919 2012-04-17 Petr Baudis <pasky@ucw.cz>
4921 * include/sys/uio.h: Change __vector to __iovec to avoid clash
4924 2012-04-16 Marek Polacek <polacek@redhat.com>
4926 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
4928 2012-04-16 Marek Polacek <polacek@redhat.com>
4930 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
4931 operands of fdivp instruction.
4933 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4935 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
4936 * elf/tst-auditmod3b.c: Likewise.
4937 * elf/tst-auditmod4b.c: Likewise.
4938 * elf/tst-auditmod5b.c: Likewise.
4939 * elf/tst-auditmod6b.c: Likewise.
4940 * elf/tst-auditmod6c.c: Likewise.
4941 * elf/tst-auditmod7b.c: Likewise.
4942 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
4943 * sysdeps/x86_64/preconfigure.in: Likewise.
4944 * sysdeps/x86_64/preconfigure: Regenerated.
4946 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4948 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
4951 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
4953 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4954 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
4956 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
4959 * locale/iso-639.def: Fix gl language name. Spotted by
4962 2012-04-12 Roland McGrath <roland@hack.frob.com>
4965 * libio/libio.h (__io_write_fn): Update comment.
4967 2012-04-12 Petr Baudis <pasky@ucw.cz>
4970 * stdio.texi (Hook Functions): The user provided writer function
4971 is not allowed to return -1.
4973 2012-04-11 David S. Miller <davem@davemloft.net>
4975 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4977 2012-04-11 Mike Frysinger <vapier@gentoo.org>
4979 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
4980 Add a leading slash to rtkaio.
4982 2012-04-11 Jim Meyering <meyering@redhat.com>
4985 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
4986 It is not necessarily an error to ignore fwrite's return
4987 value. One can reliably use ferror to test for errors after
4990 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
4992 * bits/types.h (__snseconds_t): New type.
4993 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
4995 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
4996 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4997 (__SNSECONDS_T_TYPE): Likewise.
4998 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4999 (__SNSECONDS_T_TYPE): Likewise.
5000 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5001 (__SNSECONDS_T_TYPE): Likewise.
5003 2012-04-10 Andreas Jaeger <aj@suse.de>
5006 * manual/time.texi (Processor Time): Return type of times is
5007 elapsed real time since an arbitrary point in the past.
5008 (CPU Time): Move CLK_TCK from here...
5009 (Processor Time): ...to here. Correct description.
5010 * manual/conf.texi (Constants for Sysconf): Correct description of
5013 2012-04-10 David S. Miller <davem@davemloft.net>
5016 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
5017 where the is a gap between DT_REL(A) and DT_JMPREL.
5019 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
5021 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
5022 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
5023 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
5025 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5027 * elf/dl-support.c (_dl_inhibit_cache): New variable.
5028 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
5029 (dl_main): Handle --inhibit-cache.
5030 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
5032 * elf/dl-load.c (_dl_map_object): Use it.
5033 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
5035 2012-04-09 Joseph Myers <joseph@codesourcery.com>
5038 * sysdeps/i386/fpu/e_powl.S (p78): New object.
5039 (__ieee754_powl): Saturate large exponents rather than testing for
5040 overflow of y*log2(x).
5041 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5042 * math/libm-test.inc (pow_test): Do not permit spurious overflow
5046 * math/s_ctan.c: Include <float.h>.
5047 (__ctan): Avoid internal overflow or cancellation in calculating
5049 * math/s_ctanf.c: Likewise.
5050 * math/s_ctanl.c: Likewise.
5051 * math/s_ctanh.c: Likewise.
5052 * math/s_ctanhf.c: Likewise.
5053 * math/s_ctanhl.c: Likewise.
5054 * math/libm-test.inc (ctan_test): Add more tests.
5055 (ctanh_test): Likewise.
5056 * sysdeps/i386/fpu/libm-test-ulps: Update.
5057 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5059 2012-04-09 Andreas Jaeger <aj@suse.de>
5062 * manual/filesys.texi (Directory Entries): Mention that d_namlen
5063 is an optional BSD extension.
5066 * manual/stdio.texi (Opening Streams): Document additional fopen
5069 2012-04-09 Roland McGrath <roland@hack.frob.com>
5071 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
5072 %eax without telling the compiler.
5074 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
5077 * manual/install.texi: Use sourceware.org.
5079 2012-04-09 Joseph Myers <joseph@codesourcery.com>
5082 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
5083 (__ieee754_pow): Generate overflow and underflow using huge*huge
5084 and tiny*tiny rather than just returning constant infinity or zero
5085 for large exponents.
5086 * math/libm-test.inc (pow_test): Require overflow exceptions for
5087 applicable cases of large exponents.
5090 * sysdeps/i386/fpu/e_pow.S (p10): New object.
5091 (__ieee754_pow): Use iterative multiplication algorithm only for
5092 integer exponents with absolute value below 1024. Check for odd
5093 integer exponents when using algorithm for real exponents.
5094 * math/libm-test.inc (pow_test): Add more tests.
5095 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5097 2012-04-08 Joseph Myers <joseph@codesourcery.com>
5100 * math/libm-test.inc (exp_test): Do not allow overflow exception
5103 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
5106 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
5107 instead of __kernel_standard_f.
5109 2012-04-08 Mike Frysinger <vapier@gentoo.org>
5111 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
5112 * sysdeps/x86_64/memset_chk.S: Likewise.
5114 2012-04-08 Andreas Jaeger <aj@suse.de>
5117 * manual/startup.texi (Environment Access): Describe return value
5118 for putenv and setenv.
5121 * manual/filesys.texi (Directory Entries): Add description for
5125 * manual/filesys.texi (Directory Entries): Clarify that it's file
5126 system not operating system in the description of DT_UNKNOWN.
5129 * manual/syslog.texi (closelog): Fix reference, it's openlog.
5131 2012-04-08 Stephen Compall <s11@member.fsf.org>
5134 * manual/llio.texi (Opening and Closing Files): Add cross
5135 reference to explain mode argument.
5137 2012-04-07 Mike Frysinger <vapier@gentoo.org>
5139 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
5140 * sysdeps/x86_64/memset_chk.S: Likewise.
5142 2012-04-07 David S. Miller <davem@davemloft.net>
5144 * elf/elf.h (R_SPARC_WDISP10): Define.
5145 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
5147 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
5148 R_SPARC_SIZE64 and R_SPARC_H34.
5150 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
5152 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
5153 conditions and remove no longer applicable assertion.
5155 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
5157 * bits/byteswap.h: Include <features.h>.
5158 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
5159 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
5161 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
5163 * bits/byteswap.h (__bswap_16): Removed.
5164 Include <bits/byteswap-16.h> to get __bswap_16.
5165 * sysdeps/i386/bits/byteswap.h: Likewise.
5166 * sysdeps/s390/bits/byteswap.h: Likewise.
5167 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5168 * bits/byteswap-16.h: New file.
5169 * sysdeps/i386/bits/byteswap-16.h: Likewise.
5170 * sysdeps/s390/bits/byteswap-16.h: Likewise.
5171 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
5172 * string/Makefile (headers): Add bits/byteswap-16.h.
5174 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5177 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
5179 * nss/Makefile (tests-static, tests): Add tst-nss-static.
5180 * nss/tst-nss-static.c: New.
5182 2012-04-06 Robert Millan <rmh@gnu.org>
5185 * manual/llio.texi (File Position Primitive): lseek
5186 refers to WHENCE when it really means OFFSET.
5188 2012-04-06 Andreas Jaeger <aj@suse.de>
5190 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
5191 strncmp declarations.
5193 * abilist/libc.abilist: Add __poll and __ppoll.
5195 2012-04-05 David S. Miller <davem@davemloft.net>
5197 * scripts/check-local-headers.sh: Accept a host triplet in the
5198 path matched by the exclude regexp.
5200 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
5202 * sysdeps/powerpc/powerpc32/dl-machine.h
5203 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
5204 * sysdeps/s390/s390-32/dl-machine.h
5205 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5206 * sysdeps/sparc/sparc32/dl-machine.h
5207 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5208 * sysdeps/sparc/sparc64/dl-machine.h
5209 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5211 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
5213 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
5214 undefined symbol errors.
5216 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
5219 2012-04-05 Michael Matz <matz@suse.de>
5222 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
5224 2012-04-05 Andreas Jaeger <aj@suse.de>
5227 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
5230 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5232 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
5233 which ROUND is no valid rounding mode.
5235 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5237 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
5239 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
5241 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5243 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
5244 an exception using FPU order intentionally.
5246 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5248 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
5249 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
5250 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
5251 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
5253 2012-04-05 Simon Josefsson <simon@josefsson.org>
5256 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
5257 EINVAL when BUFLEN is too smal.
5259 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
5262 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
5263 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
5265 2012-04-03 Andreas Jaeger <aj@suse.de>
5268 * manual/setjmp.texi (System V contexts): Fix sentence.
5271 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
5272 New macro for this case.
5273 [!__GNUC__] (__bswap_64): New inline function for this case.
5274 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5275 * bits/byteswap.h: Likewise.
5276 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
5277 ull, guard with __GLIBC_HAVE_LONG_LONG.
5279 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
5280 __GLIBC_HAVE_LONG_LONG.
5282 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
5283 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
5285 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5288 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
5289 inptr and inend, rather than using last_ch.
5291 2012-04-02 David S. Miller <davem@davemloft.net>
5293 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
5294 * stdio-common/printf-parse.h (read_int): Change return type to
5295 'int', return -1 on INT_MAX overflow.
5296 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
5297 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
5298 overflows INT_MAX. Check for overflow of in-format-string precision
5299 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
5300 SIZE_MAX not INT_MAX for integer overflow test.
5301 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
5302 skip the construct in the format string but do not record anything.
5303 * stdio-common/bug22.c: Adjust to test both width/prevision
5304 INT_MAX overflow as well as total length INT_MAX overflow. Check
5305 explicitly for proper errno values.
5307 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
5309 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
5311 * string/test-strcmp.c [! WIDE]: Likewise.
5312 * time/tst-mktime2.c: Likewise for INT_MAX.
5313 * string/test-string.h: #include <sys/param.h> for MIN.
5315 * csu/init-first.c (__libc_init_first): Call __ctype_init.
5316 * sysdeps/i386/init-first.c (init): Likewise.
5317 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
5318 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
5319 * sysdeps/sh/init-first.c (init): Likewise.
5321 2012-04-01 Ulrich Drepper <drepper@gmail.com>
5323 * po/ru.po: Update from translation team.
5324 * po/vi.po: Likewise.
5326 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5328 * resolv/nss_dns/dns-host.c: Merge copyright years.
5330 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5332 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5333 Optimize memcpy with prefetch if
5334 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
5335 src, dst pointers have unequal 16 byte alignments.
5337 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5340 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
5341 from a CNAME entry and return the minimum ttl for the query.
5342 (gaih_getanswer_slice): Likewise.
5344 2012-03-30 Jeff Law <law@redhat.com>
5346 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
5348 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
5349 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
5351 * resolv/nss_dns/dns-host.c: Update copyright year.
5353 2012-03-30 Ulrich Drepper <drepper@gmail.com>
5355 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
5356 requests to save a system call. Fix check that all bytes are sent.
5358 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
5359 comments for sendmmsg.
5361 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5364 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
5365 with only 1 character between 0x0041 and 0x01b0.
5366 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
5367 * wcsmbs/tst-mbsnrtowcs.c: New file.
5369 2012-03-29 David S. Miller <davem@davemloft.net>
5371 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
5372 small copies by hand.
5374 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5377 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
5378 _nss_compat_initgroups_dyn): Fall back to malloc/free
5379 for large group memberships.
5381 2012-03-28 David S. Miller <davem@davemloft.net>
5383 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
5384 that branches into memcpy.
5385 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5386 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
5387 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5388 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
5389 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
5391 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
5393 * sysdeps/sparc/mempcpy.S: New file.
5395 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
5396 the IFUNC routine in the libc case.
5397 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5399 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
5400 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
5401 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
5402 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
5403 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
5404 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
5405 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
5406 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
5408 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
5409 loop to 256 bytes instead of 64 bytes and fix test signedness.
5411 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
5412 * sysdeps/sparc/sparc32/Makefile: rather than here...
5413 * sysdeps/sparc/sparc64/Makefile: and here.
5415 2012-03-28 Ulrich Drepper <drepper@gmail.com>
5417 * malloc/mallocbug.c: Avoid warnings about unused variables.
5419 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5422 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
5423 in the right place. Discard and retry query if response is
5424 larger than input buffer size.
5426 2012-03-28 Joseph Myers <joseph@codesourcery.com>
5431 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
5432 x for large integer exponent.
5433 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5434 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
5435 sign of result as needed afterwards.
5436 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
5437 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
5438 result for underflowing pow the same as for overflow.
5439 (__kernel_standard_l): Handle powl overflow and underflow here
5440 rather than calling __kernel_standard.
5441 * math/libm-test.inc (pow_test): Add more tests.
5456 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
5457 * sysdeps/ieee754/k_standard.c: Include <float.h>.
5458 (__kernel_standard_l): New function.
5459 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
5461 * math/w_acosl.c (__acosl): Likewise.
5462 * math/w_asinl.c (__asinl): Likewise.
5463 * math/w_atan2l.c (__atan2l): Likewise.
5464 * math/w_atanhl.c (__atanhl): Likewise.
5465 * math/w_coshl.c (__coshl): Likewise.
5466 * math/w_exp10l.c (__exp10l): Likewise.
5467 * math/w_exp2l.c (__exp2l): Likewise.
5468 * math/w_fmodl.c (__fmodl): Likewise.
5469 * math/w_hypotl.c (__hypotl): Likewise.
5470 * math/w_j0l.c (__j0l, __y0l): Likewise.
5471 * math/w_j1l.c (__j1l, __y1l): Likewise.
5472 * math/w_jnl.c (__jnl, __ynl): Likewise.
5473 * math/w_lgammal.c (__lgammal): Likewise.
5474 * math/w_log10l.c (__log10l): Likewise.
5475 * math/w_log2l.c (__log2l): Likewise.
5476 * math/w_logl.c (__logl): Likewise.
5477 * math/w_powl.c (__powl): Likewise.
5478 * math/w_remainderl.c (__remainderl): Likewise.
5479 * math/w_scalbl.c (sysv_scalbl): Likewise.
5480 * math/w_sinhl.c (__sinhl): Likewise.
5481 * math/w_sqrtl.c (__sqrtl): Likewise.
5482 * math/w_tgammal.c (__tgammal): Likewise.
5483 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
5484 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
5485 * math/libm-test.inc (acos_test): Add more tests.
5486 (acosh_test): Likewise.
5487 (asin_test): Likewise.
5488 (atanh_test): Likewise.
5489 (exp_test): Likewise.
5490 (exp10_test): Likewise.
5491 (exp2_test): Likewise.
5492 (expm1_test): Likewise.
5493 (lgamma_test): Likewise.
5494 (log_test): Likewise.
5495 (log10_test): Likewise.
5496 (log1p_test): Likewise.
5497 (log2_test): Likewise.
5498 (pow_test): Do not allow some spurious overflow exceptions.
5499 (sqrt_test): Add more tests.
5500 (tgamma_test): Likewise.
5501 (y0_test): Likewise.
5502 (y1_test): Likewise.
5503 (yn_test): Likewise.
5505 2012-03-27 Anton Blanchard <anton@samba.org>
5507 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
5509 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5510 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
5511 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5513 2012-03-27 David S. Miller <davem@davemloft.net>
5515 * conform/Makefile: Run run-conformtest.sh using $(BASH).
5517 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
5520 2012-03-27 Andreas Jaeger <aj@suse.de>
5522 * sysdeps/x86_64/elf/configure.in: Moved to ...
5523 * sysdeps/x86_64/configure.in: ... here.
5524 * sysdeps/x86_64/elf/start.S: Moved to ...
5525 * sysdeps/x86_64/start.S: ... here.
5526 * sysdeps/x86_64/elf/configure: Delete.
5528 * sysdeps/x86_64/configure.in: Merge contents from
5529 sysdeps/i386/configure.in (without i686 check).
5531 * sysdeps/i386/elf/Versions: Merge into ...
5532 * sysdeps/i386/Versions: ... this.
5533 * sysdeps/i386/elf/Versions: Delete file.
5534 * sysdeps/i386/elf/start.S: Moved to ...
5535 * sysdeps/i386/start.S: ...here.
5536 * sysdeps/i386/elf/configure.in: Merge into...
5537 * sysdeps/i386/configure.in: ...here.
5538 * sysdeps/i386/elf/configure.in: Delete file.
5539 * sysdeps/i386/elf/configure: Delete file.
5541 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
5542 * debug/backtracesyms.c: ... here.
5543 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
5544 * debug/backtracesymsfd.c: ... here.
5545 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
5546 * sysdeps/generic/ifunc-sel.h: ... here.
5548 * sysdeps/unix/i386/start.c: Delete file.
5549 * sysdeps/unix/sparc/start.c: Delete file.
5550 * sysdeps/unix/start.c: Delete file.
5552 * sysdeps/sh/elf/configure.in: Moved to ...
5553 * sysdeps/sh/configure.in: ... here.
5554 * sysdeps/sh/elf/start.S: Moved to ...
5555 * sysdeps/sh/start.S: ... here.
5556 * sysdeps/sh/elf/configure: Delete file.
5558 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
5559 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
5560 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
5561 * sysdeps/powerpc/powerpc64/entry.h: ... here.
5562 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
5563 * sysdeps/powerpc/powerpc64/start.S: here.
5564 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
5565 * sysdeps/powerpc/powerpc64/Makefile: ... this.
5566 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
5567 * sysdeps/powerpc/powerpc64/configure.in: ... this.
5568 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
5570 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
5571 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
5572 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
5573 * sysdeps/powerpc/powerpc32/start.S: ... here.
5574 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
5575 * sysdeps/powerpc/powerpc32/configure.in: ... this.
5576 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
5578 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
5579 * sysdeps/powerpc/ifunc-sel.h: ... here.
5580 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
5581 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
5583 * sysdeps/sparc/elf/configure.in: Moved to ...
5584 * sysdeps/sparc/configure.in: ... here.
5585 * sysdeps/sparc/elf/configure: Delete file.
5586 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
5587 * sysdeps/sparc/sparc32/start.S: ... here.
5588 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
5589 * sysdeps/sparc/sparc64/start.S: ... here.
5590 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
5591 * sysdeps/sparc/sparc32/Makefile: ... this.
5592 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
5593 * sysdeps/sparc/sparc64/Makefile: ... this.
5595 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
5596 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
5597 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
5598 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
5599 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
5600 * sysdeps/s390/s390-32/setjmp.S: ... here.
5601 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
5602 * sysdeps/s390/s390-32/configure.in: ... here.
5603 * sysdeps/s390/s390-32/elf/configure: Delete file.
5604 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
5605 * sysdeps/s390/s390-32/start.S: ... here.
5607 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
5608 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
5609 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
5610 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
5611 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
5612 * sysdeps/s390/s390-64/setjmp.S: ... here.
5613 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
5614 * sysdeps/s390/s390-64/configure.in: ... here
5615 * sysdeps/s390/s390-64/elf/configure: Delete file.
5616 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
5617 * sysdeps/s390/s390-64/start.S: ... here.
5618 * sysdeps/s390/s390-64/elf/configure: Delete.
5620 * configure.in: Remove support for elf directories in sysdeps.
5622 * configure: Regenerated.
5623 * sysdeps/i386/configure: Regenerated.
5624 * sysdeps/powerpc/powerpc32/configure: Regenerated.
5625 * sysdeps/powerpc/powerpc64/configure: Regenerated.
5626 * sysdeps/s390/s390-32/configure: Regenerated.
5627 * sysdeps/s390/s390-64/configure: Regenerated.
5628 * sysdeps/sh/configure: Regenerated.
5629 * sysdeps/sparc/configure: Regenerated.
5630 * sysdeps/x86_64/configure: Regenerated.
5632 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
5634 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5636 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
5637 denormal result into account.
5639 2012-03-25 Roland McGrath <roland@hack.frob.com>
5641 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
5642 Reported by Allan McRae <allan@archlinux.org>.
5644 2012-03-23 Jeff Law <law@redhat.com>
5646 * nss/getnssent.c (__nss_getent): Fix typo.
5648 2012-03-23 David S. Miller <davem@davemloft.net>
5650 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5652 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
5654 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
5655 to pad to uint64_t for each field.
5656 (dl_tls_index): Replace unsigned long with uint64_t.
5658 2012-03-23 Daniel Jacobowitz <dmj@google.com>
5659 Paul Pluzhnikov <ppluzhnikov@google.com>
5662 * grp/Makefile (otherlibs): Don't set it.
5663 * inet/Makefile (otherlibs): Likewise.
5664 * login/Makefile (otherlibs): Likewise.
5665 * nscd/Makefile (otherlibs): Likewise.
5666 * posix/Makefile (otherlibs): Likewise.
5667 * pwd/Makefile (otherlibs): Likewise.
5668 * rt/Makefile (otherlibs): Likewise.
5669 * sunrpc/Makefile (otherlibs): Likewise.
5670 * nss/Makefile (otherlibs): Likewise.
5671 Add libnss_files to routines and static-only-routines.
5672 ($(objpfx)getent): Remove rule.
5673 * resolv/Makefile: Add libnss_dns and libresolv to routines and
5674 static-only-routines.
5676 2012-03-22 Joseph Myers <joseph@codesourcery.com>
5679 * math/s_cexp.c: Include <float.h>.
5680 (__cexp): Handle exp result overflowing not necessarily
5681 overflowing both real and imaginary parts of result.
5682 * math/s_cexpf.c: Likewise.
5683 * math/s_cexpl.c: Likewise.
5684 * math/libm-test.inc (cexp_test): Add more tests.
5685 * sysdeps/i386/fpu/libm-test-ulps: Update.
5686 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5688 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5690 * include/link.h (ELFW): New macro.
5691 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
5692 Replace ELF64_R_TYPE with ELFW(R_TYPE).
5694 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5696 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
5699 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5701 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
5703 (struct La_x32_retval): Likewise.
5705 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5707 * sysdeps/x86_64/preconfigure.in: New file.
5708 * sysdeps/x86_64/preconfigure: New generated file.
5710 2012-03-22 Joseph Myers <joseph@codesourcery.com>
5713 * math/e_exp2l.c: Include <float.h>.
5714 (__ieee754_exp2l): Handle overflow and underflow cases
5715 separately. Only pass fractional part of argument to
5717 * math/libm-test.inc (exp2_test): Add more tests.
5719 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
5720 negating x to take absolute value.
5721 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
5723 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5724 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
5726 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
5727 computing low part if x was negated.
5728 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5730 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5732 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
5734 (pltexit): Cast int_retval to ptrdiff_t.
5735 * elf/tst-auditmod3b.c: Likewise.
5736 * elf/tst-auditmod4b.c: Likewise.
5737 * elf/tst-auditmod5b.c: Likewise.
5738 * elf/tst-auditmod6b.c: Likewise.
5739 * elf/tst-auditmod6c.c: Likewise.
5740 * elf/tst-auditmod7b.c: Likewise.
5742 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
5743 and x32_gnu_pltexit.
5745 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
5747 (La_x32_regs): New macro.
5748 (La_x32_retval): Likewise.
5749 (la_x32_gnu_pltenter): New function prototype.
5750 (la_x32_gnu_pltexit): Likewise.
5752 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
5754 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
5757 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5759 * configure.in (libc_cv_cc_nofma): Check for option to disable
5760 generation of FMA instructions.
5761 * configure: Regenerate.
5762 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
5763 * sysdeps/ieee754/dbl-64/Makefile: New file.
5764 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
5765 Remove brandred-fma4.
5766 (CFLAGS-brandred-fma4.c): Remove.
5767 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
5768 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
5770 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
5773 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5775 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
5776 LLONG_MAX != LONG_MAX.
5777 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5778 (_fitoa_word): Likewise.
5779 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
5780 LLONG_MAX != LONG_MAX.
5781 * stdio-common/_itowa.h: Include <_itoa.h>.
5782 (_itowa_word): Use _ITOA_WORD_TYPE on value.
5783 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
5784 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
5785 only if not defined.
5786 (_ITOA_WORD_TYPE): Likewise.
5787 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5788 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
5790 2012-03-21 David S. Miller <davem@davemloft.net>
5792 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5794 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5796 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
5797 of x86_64 when setting libc_cv_slibdir, libdir and
5799 * sysdeps/unix/sysv/linux/configure: Regenerated.
5801 2012-03-21 Joseph Myers <joseph@codesourcery.com>
5803 * manual/lang.texi (Old Varargs): Remove section.
5804 (How Variadic): Update menu.
5805 (va_start): Do not mention varargs.h.
5807 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5808 Joseph Myers <joseph@codesourcery.com>
5810 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
5812 * configure: Regenerated.
5814 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5816 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
5817 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
5820 2012-03-21 Joseph Myers <joseph@codesourcery.com>
5823 * Makefile (files-for-dist): Remove NOTES.
5824 (NOTES): Remove rule.
5825 * README: Don't refer to NOTES.
5826 * manual/creature.texi: Don't include macros.texi.
5827 * manual/intro.texi (creature.texi): Remove comment referring to
5830 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
5831 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
5832 * configure: Regenerated.
5833 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
5835 (libc_cv_as_i686): Likewise.
5836 (libc_cv_cc_avx): Likewise.
5837 (libc_cv_cc_sse2avx): Likewise.
5838 (libc_cv_cc_fma4): Likewise.
5839 (libc_cv_cc_novzeroupper): Likewise.
5840 * sysdeps/i386/configure: Regenerated.
5843 * sysdeps/i386/fpu/s_cexp.S: Remove.
5844 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5845 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5846 * math/libm-test.inc (cexp_test): Add more tests.
5847 * sysdeps/i386/fpu/libm-test-ulps: Update.
5848 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5850 2012-03-21 Allan McRae <allan@archlinux.org>
5852 * timezone/Makefile: Do not install iso3166.tab and zone.tab
5854 2012-03-21 Joseph Myers <joseph@codesourcery.com>
5857 * math/w_exp2.c: Do not include <float.h>.
5858 (o_threshold, u_threshold): Remove.
5859 (__exp2): Calculate result before checking finiteness and calling
5861 * math/w_exp2f.c: Likewise.
5862 * math/w_exp2l.c: Likewise.
5863 * math/libm-test.inc (exp2_test): Require overflow exception for
5867 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
5868 range of signed 64-bit integers before using fistpll. Remove
5869 checks for whether integers fit in mantissa bits.
5870 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
5871 the range of signed 32-bit integers before using fistpl. Remove
5872 checks for whether integers fit in mantissa bits.
5873 * sysdeps/i386/fpu/e_powl.S (p64): New object.
5874 (__ieee754_powl): Test for y outside the range of signed 64-bit
5875 integers before using fistpll. Reduce 64-bit values to 63-bit
5877 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
5878 divide-by-zero is raised for zero to large negative powers.
5879 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
5880 (__ieee754_powl): Test for y outside the range of signed 64-bit
5881 integers before using fistpll. Reduce 64-bit values to 63-bit
5883 * math/libm-test.inc (pow_test): Add more tests.
5885 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5887 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
5888 <stdio-common/_itoa.h>.
5889 * debug/segfault.c: Likewise.
5890 * elf/dl-cache.c: Likewise.
5891 * elf/dl-minimal.c: Likewise.
5892 * elf/dl-misc.c: Likewise.
5893 * elf/dl-sysdep.c: Likewise.
5894 * elf/dl-version.c: Likewise.
5895 * elf/rtld.c: Likewise.
5896 * hurd/hurdsock.c: Likewise.
5897 * hurd/lookup-retry.c: Likewise.
5898 * malloc/malloc.c: Likewise.
5899 * malloc/mtrace.c: Likewise.
5900 * nscd/nscd_getgr_r.c: Likewise.
5901 * nscd/nscd_getpw_r.c: Likewise.
5902 * nscd/nscd_getserv_r.c: Likewise.
5903 * posix/getopt_init.c: Likewise.
5904 * posix/wordexp.c: Likewise.
5905 * stdio-common/_itoa.c: Likewise.
5906 * stdio-common/printf_fphex.c: Likewise.
5907 * stdio-common/vfprintf.c: Likewise.
5908 * string/_strerror.c: Likewise.
5909 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
5910 * sysdeps/i386/i686/hp-timing.h: Likewise.
5911 * sysdeps/mach/_strerror.c: Likewise.
5912 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
5913 * sysdeps/mach/hurd/sethostid.c: Likewise.
5914 * sysdeps/mach/hurd/xmknodat.c: Likewise.
5915 * sysdeps/mach/xpg-strerror.c: Likewise.
5916 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5917 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5918 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
5919 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
5920 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5921 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
5922 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
5923 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
5924 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
5925 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
5926 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
5927 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5928 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
5929 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
5930 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
5931 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
5932 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
5933 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
5934 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5935 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5936 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
5938 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
5940 * stdio-common/_itoa.h: Moved to ...
5941 * sysdeps/generic/_itoa.h: Here.
5943 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
5945 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
5946 instead of "_itoa.h" and "_itowa.h".
5947 * stdio-common/vfprintf.: Likewise.
5949 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5951 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
5953 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
5954 (__signbit): Likwise.
5958 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5960 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
5963 2012-03-20 Joseph Myers <joseph@codesourcery.com>
5965 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
5966 OVERFLOW_EXCEPTION_OK.
5967 * math/libm-test.inc ("Philosophy"): Update comment about
5969 (OVERFLOW_EXCEPTION): Define.
5970 (OVERFLOW_EXCEPTION_OK): Likewise.
5971 (INVALID_EXCEPTION_OK): Renumber.
5972 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5973 (IGNORE_ZERO_INF_SIGN): Likewise.
5974 (test_exceptions): Handle FE_OVERFLOW.
5975 (exp10_test): Expect overflow exceptions.
5976 (exp2_test): Likewise.
5977 (expm1_test): Likewise.
5978 (nextafter_test): Likewise.
5979 (pow_test): Likewise.
5980 (scalbn_test): Likewise.
5981 (scalbln_test): Likewise.
5983 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5985 * sysdeps/x86_64/bits/atomic.h
5986 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
5988 (atomic_exchange_acq): Likewise.
5989 (__arch_exchange_and_add_body): Likewise.
5990 (__arch_add_body): Likewise.
5991 (atomic_add_negative): Likewise.
5992 (atomic_add_zero): Likewise.
5994 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5996 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
5997 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
5999 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6001 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
6002 Check __x86_64__ instead of __WORDSIZE.
6004 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6006 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
6008 2012-03-19 David S. Miller <davem@davemloft.net>
6010 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6012 * sysdeps/sparc/fpu/fenv_private.h: New file.
6013 * sysdeps/sparc/fpu/math_private.h: Use it.
6014 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
6016 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
6017 (libc_feholdexcept_setroundl): Remove.
6018 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
6020 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
6021 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
6023 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6025 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
6026 int64_t instead of long int.
6027 (INSERT_WORDS64): Likwise.
6029 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6031 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
6032 _Unwind_GetCFA return to _Unwind_Ptr first.
6034 2012-03-19 Joseph Myers <joseph@codesourcery.com>
6037 * math/s_clog.c: Include <float.h>.
6038 (__clog): Scale large or subnormal inputs.
6039 * math/s_clogf.c: Likewise.
6040 * math/s_clogl.c: Likewise.
6041 * math/s_clog10.c: Include <float.h>.
6042 (M_LOG10_2): Define.
6043 (__clog10): Scale large or subnormal inputs.
6044 * math/s_clog10f.c: Likewise.
6045 * math/s_clog10l.c: Likewise.
6046 * math/libm-test.inc (clog_test): Add more tests.
6047 (clog10_test): Likewise.
6048 * sysdeps/i386/fpu/libm-test-ulps: Update.
6049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6052 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
6054 * math/libm-test.inc (atan2_test): Add another test.
6056 * Makerules (common-objdir-compile): Remove.
6057 * sysdeps/unix/Makefile (config-generated): Do not add
6058 $(unix-generated) to variable.
6059 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
6060 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
6062 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
6064 [generic bits/local_lim.h] (before-compile): Do not append to
6066 [generic bits/local_lim.h] (common-generated): Likewise.
6067 [generic sys/param.h] (before-compile): Do not append to variable.
6068 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
6069 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
6070 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
6071 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
6073 [generic sys/param.h] (sys/param.h-includes): Remove variable.
6074 [generic sys/param.h] (sys/param.h-includes): Remove rule.
6075 [generic sys/param.h] ($(addprefix
6076 $(common-objpfx),$(sys/param.h-includes))): Likewise.
6077 [generic sys/param.h] (common-generated): Do not append to
6079 [generic sys/param.h] (sysdep_headers): Likewise.
6080 [generic bits/errno.h] (before-compile): Do not append to
6082 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
6084 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
6085 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
6086 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
6087 [generic bits/errno.h] (common-generated): Do not append to
6089 [generic bits/ioctls.h] (before-compile): Do not append to
6091 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
6093 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
6094 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
6095 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
6097 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
6098 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
6099 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
6100 [generic bits/ioctls.h] (common-generated): Do not append to
6102 [generic sys/syscall.h] (syscall.h): Remove variable.
6103 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
6105 [generic sys/syscall.h] (before-compile): Do not append to
6107 [generic sys/syscall.h] (common-generated): Likewise.
6108 * sysdeps/unix/errnos-tmpl.c: Remove file.
6109 * sysdeps/unix/errnos.awk: Likewise.
6110 * sysdeps/unix/ioctls-tmpl.c: Likewise.
6111 * sysdeps/unix/ioctls.awk: Likewise.
6112 * sysdeps/unix/mk-local_lim.c: Likewise.
6113 * sysdeps/unix/snarf-ioctls: Likewise.
6115 2012-03-19 Richard Henderson <rth@twiddle.net>
6117 * sysdeps/i386/fpu/fenv_private.h: New file.
6118 * sysdeps/i386/fpu/math_private.h: Use it.
6119 (math_opt_barrier, math_force_eval): Remove.
6120 (libc_feholdexcept_setround_53bit): Remove.
6121 (libc_feupdateenv_53bit): Remove.
6122 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6123 (math_opt_barrier, math_force_eval): Remove.
6124 (libc_feholdexcept): Remove.
6125 (libc_feholdexcept_setround): Remove.
6126 (libc_fetestexcept, libc_fesetenv): Remove.
6127 (libc_feupdateenv_test): Remove.
6128 (libc_feupdateenv, libc_feholdsetround): Remove.
6129 (libc_feresetround): Remove.
6131 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
6132 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6134 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
6135 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
6136 (libc_feupdateenv_testl): New.
6137 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
6138 (libc_feupdateenv_testf): New.
6139 (libc_feupdateenv): Use libc_feupdateenv_test.
6140 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
6141 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
6143 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
6144 (libc_feholdsetroundf, libc_feholdsetroundl): New.
6145 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
6146 (libc_feresetround_noex): New.
6147 (libc_feresetround_noexf): New.
6148 (libc_feresetround_noexl): New.
6149 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
6150 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
6151 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
6152 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
6154 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
6155 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
6157 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
6158 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
6159 SET_RESTORE_ROUND_NOEX.
6160 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
6161 SET_RESTORE_ROUND_NOEXF.
6162 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
6163 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
6164 (libc_feholdsetroundf): New.
6165 (libc_feresetround, libc_feresetroundf): New.
6167 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
6168 (libc_feholdexcept_setround_53bit): Convert from macro to function.
6169 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
6171 * sysdeps/generic/math_private.h: Include <fenv.h>.
6172 (default_libc_feholdexcept): New.
6173 (default_libc_feholdexcept_setround): New.
6174 (default_libc_fesetenv, default_libc_feupdateenv): New.
6175 (libc_feholdexcept): Only define if undefined.
6176 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
6177 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
6178 (libc_feholdexcept_setroundl): Likewise.
6179 (libc_feholdexcept_setround_53bit): Likewise.
6180 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
6181 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
6182 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
6183 (libc_feupdateenv_53bit): Likewise.
6184 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
6185 (libc_feholdexcept): Convert from macro to inline function.
6186 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
6187 (libc_fesetenv, libc_feupdateenv): Likewise.
6189 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
6190 not previously defined.
6191 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
6192 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
6193 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
6194 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
6195 * sysdeps/ieee754/flt-32/math_private.h: New file.
6196 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
6197 math_private.h below SET_FLOAT_WORD.
6198 (__isnan, __isinf_ns, __finite): Remove.
6199 (__isnanf, __isinf_nsf, __finitef): Remove.
6201 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
6203 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6205 2012-03-17 David S. Miller <davem@davemloft.net>
6208 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
6211 2012-03-16 David S. Miller <davem@davemloft.net>
6213 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
6217 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
6219 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
6220 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
6221 sysdep_routines when subdir is sysvipc.
6222 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
6225 * sysdeps/sparc/fpu/libm-test/ulps: Update.
6227 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6229 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
6232 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6234 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
6235 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
6236 (__lround): Renamed to ...
6237 (__llround): This. Replace long int with long long int.
6238 Define lround functions as aliases of llround functions.
6239 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
6241 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6243 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
6244 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
6245 adresses to uintptr_t. Replace "long int" and "unsigned long
6246 int" with "greg_t" on va_arg.
6248 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6250 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
6251 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
6253 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
6254 Move e_machine check before EI_CLASS check. Handle x32
6255 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
6256 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
6257 SKIP_EM_IA_64 and include
6258 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
6260 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
6261 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
6262 (add_system_dir): New macro.
6264 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
6265 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
6267 2012-03-16 Joseph Myers <joseph@codesourcery.com>
6278 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
6280 * math/w_j0f.c (j0f): Likewise.
6282 * math/w_j0l.c (__j0l): Likewise.
6284 * math/w_j1.c (j1): Likewise.
6286 * math/w_j1f.c (j1f): Likewise.
6288 * math/w_j1l.c (__j1l): Likewise.
6290 * math/w_jn.c (jn): Likewise.
6292 * math/w_jnf.c (jnf): Likewise.
6294 * math/w_jnl.c (__jnl): Likewise.
6296 * math/libm-test.inc (j0_test): Add more tests.
6297 (j1_test): Likewise.
6298 (jn_test): Likewise. Add trailing semicolon to existing test.
6299 (y0_test): Likewise.
6300 (y1_test): Likewise.
6301 * sysdeps/i386/fpu/libm-test-ulps: Update.
6302 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6306 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
6307 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
6308 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
6309 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
6310 (__tanl): Set errno for infinite argument.
6311 * sysdeps/i386/fpu/mptan.c: Remove.
6312 * sysdeps/i386/fpu/s_tan.S: Likewise.
6313 * sysdeps/i386/fpu/s_tanl.S: Likewise.
6314 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
6315 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
6316 * math/libm-test.inc (tan_test): Add more tests and enable more
6317 tests for double and long double.
6318 * sysdeps/i386/fpu/libm-test-ulps: Update.
6319 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6321 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6323 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
6324 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
6326 2012-03-16 Roland McGrath <roland@hack.frob.com>
6328 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
6329 * configure.in: Use it for both main tree and add-ons.
6330 * configure: Regenerated.
6332 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6334 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
6336 2012-03-16 Joseph Myers <joseph@codesourcery.com>
6338 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
6342 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
6343 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
6344 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
6345 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
6346 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
6348 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
6349 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
6351 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
6352 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
6353 * sysdeps/i386/fpu/s_cosl.S: Likewise.
6354 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
6355 * sysdeps/i386/fpu/s_sinl.S: Likewise.
6356 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
6357 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
6358 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
6359 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
6360 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
6361 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
6362 * math/libm-test.inc (cos_test): Add more tests and enable more
6363 tests for long double.
6364 (sin_test): Likewise.
6365 (sincos_test): Likewise.
6366 * sysdeps/i386/fpu/libm-test-ulps: Update.
6367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6369 2012-03-16 David S. Miller <davem@davemloft.net>
6371 * sysdeps/sparc/fpu/math_private.h: New file.
6373 2012-03-15 David S. Miller <davem@davemloft.net>
6375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
6377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
6378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
6380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
6381 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
6382 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
6383 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
6384 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
6385 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
6387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6389 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
6390 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
6392 * sysdeps/sparc/sparc-ifunc.h: New file.
6393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
6395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
6396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
6398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
6400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
6401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
6402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
6403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
6405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
6407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
6409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
6411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
6413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
6415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
6416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
6417 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
6418 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
6419 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
6420 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
6421 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
6422 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
6423 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
6424 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
6425 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
6426 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
6427 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
6428 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
6429 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
6430 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
6431 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
6432 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
6433 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
6434 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
6435 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
6436 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
6438 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6440 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
6442 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6444 2012-03-15 Andreas Jaeger <aj@suse.de>
6447 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
6448 ieee754/flt-32 implementation for sin, cos and sincos.
6449 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
6450 * sysdeps/i386/fpu/s_cosf.S: Likewise.
6451 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
6452 * sysdeps/i386/fpu/s_sinf.S: Likewise.
6453 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
6454 ieee754/flt-32 implementation for tan.
6456 * math/libm-test.inc (cos_test): Enable some large input tests for
6458 (sin_test): Likewise.
6459 (sincos_test): Likewise.
6460 (tan_test): Add tests for large input.
6462 * sysdeps/i386/fpu/libm-test-ulps: Update.
6464 2012-03-15 Andreas Jaeger <aj@suse.de>
6467 * math/libm-test.inc (cos_test): Add more test cases.
6468 (sin_test): Likewise.
6469 (sincos_test): Likewise.
6471 2012-03-15 Andreas Jaeger <aj@suse.de>
6474 * math/libm-test.inc (cos_test): Add a test case for large input
6476 (sin_test): Likewise.
6477 (sincos_test): Likewise.
6479 2012-03-15 Andreas Jaeger <aj@suse.de>,
6480 Joseph Myers <joseph@codesourcery.com>
6483 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
6484 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
6485 * sysdeps/i386/fpu/branred.c: Likewise.
6486 * sysdeps/i386/fpu/dosincos.c: Likewise.
6487 * sysdeps/i386/fpu/mpa.c: Likewise.
6488 * sysdeps/i386/fpu/s_cos.S: Likewise.
6489 * sysdeps/i386/fpu/s_sin.S: Likewise.
6490 * sysdeps/i386/fpu/s_sincos.S: Likewise.
6491 * sysdeps/i386/fpu/sincos32.c: Likewise.
6493 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
6495 (libc_feupdateenv_53bit): Define.
6496 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
6498 (libc_feupdateenv_53bit): Define.
6500 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
6501 53 bit (without extend i386 double precision).
6503 * math/libm-test.inc (sincos_test): Add tests for large input.
6507 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6509 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6511 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6513 2012-03-15 David S. Miller <davem@davemloft.net>
6515 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
6516 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
6517 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
6518 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
6519 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
6520 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
6521 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
6522 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
6523 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
6524 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
6525 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
6526 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
6527 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
6528 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
6529 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
6530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
6532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
6533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
6535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
6536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
6538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
6539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
6541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
6542 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
6543 fmin/fmax sysdep routines.
6544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6546 2012-03-14 David S. Miller <davem@davemloft.net>
6548 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
6549 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
6550 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
6551 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
6552 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
6553 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
6554 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
6555 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
6556 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
6557 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
6558 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
6559 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
6560 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
6561 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
6562 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
6563 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
6564 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
6565 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
6566 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
6567 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
6568 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
6569 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
6570 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
6571 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
6572 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
6573 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
6574 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
6575 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
6576 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
6578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
6580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
6581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
6583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
6584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
6586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
6587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
6589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
6590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
6592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
6593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
6595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
6597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
6599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
6601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
6603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
6605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
6607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
6608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
6610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
6611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
6613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
6614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
6616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
6617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
6620 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
6623 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6625 * sysdeps/sparc/configure.in: New file.
6626 * sysdeps/sparc/configure: Generate.
6627 * configure.in (libc_cv_sparc_as_vis3): Substitute.
6628 * configure: Regenerate.
6629 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
6630 * config.make.in (have-as-vis3): New.
6631 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
6632 available use -Av9d instead of -Av9a.
6633 * sysdeps/sparc/sparc64/Makefile: Likewise.
6634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
6635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
6637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
6639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
6641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
6643 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
6644 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
6645 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
6646 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
6647 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
6649 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
6650 fzeros/fnegs to load 0x80000000 into a float register instead of
6652 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
6654 2012-03-14 Joseph Myers <joseph@codesourcery.com>
6656 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6658 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
6659 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
6660 ($(inst_includedir)/bits/syscall.h): Remove rule.
6661 ($(objpfx)bits/syscall.d): Include instead of
6662 $(objpfx)syscall-list.d.
6663 (generated): Change syscall-list.h and syscall-list.d to
6664 bits/syscall.h and bits/syscall.d.
6666 2012-03-14 Roland McGrath <roland@hack.frob.com>
6669 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
6671 2012-03-14 Joseph Myers <joseph@codesourcery.com>
6674 * math/s_csqrt.c: Include <float.h>.
6675 (__csqrt): Scale large or subnormal inputs.
6676 * math/s_csqrtf.c: Likewise.
6677 * math/s_csqrtl.c: Likewise.
6678 * math/libm-test.inc (csqrt_test): Add more tests.
6679 * sysdeps/i386/fpu/libm-test-ulps: Update.
6680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6683 * math/libm-test.inc (hypot_test): Add more tests.
6685 2012-03-13 David S. Miller <davem@davemloft.net>
6688 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
6689 double-precision for the calculation instead of scaling.
6691 2012-03-13 Joseph Myers <joseph@codesourcery.com>
6693 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
6694 manipulate bits before adding and subtracting TWO52[sx].
6695 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
6696 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
6698 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
6700 2012-03-13 David S. Miller <davem@davemloft.net>
6702 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
6703 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
6704 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
6705 rtld-global-offsets.h
6706 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6708 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
6711 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
6713 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
6714 'err' in the ifdef scope in which it is actually used.
6716 * nss/nss_db/db-init.c: Include string.h
6718 2012-03-12 David S. Miller <davem@davemloft.net>
6720 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
6721 masking out of the most significant byte of random value used.
6722 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6723 Fix coding style in previous change.
6725 * sysdeps/unix/sysv/linux/kernel-features.h
6726 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
6727 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
6729 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
6732 2012-03-11 David S. Miller <davem@davemloft.net>
6734 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6735 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
6736 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
6737 for 'resultvar' otherwise things get truncated on 64-bit.
6739 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6740 Fix masking out of the most significant byte of random value used.
6742 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6744 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
6746 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6748 2012-03-09 David S. Miller <davem@davemloft.net>
6750 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
6751 variables with appropriate CPP guards.
6752 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
6753 frame pointer, not the stack pointer. Correct layout comments. Fix test
6754 on resulting framesize and the management of the outregs buffer for pltexit.
6755 Preserve floating point return values across _dl_call_pltexit call.
6756 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
6757 framesize and the management of the outregs buffer for pltexit.
6758 Preserve floating point return values across _dl_call_pltexit
6760 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
6761 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
6762 (print_exit): Fix format string for return register value.
6764 2012-03-10 Joseph Myers <joseph@codesourcery.com>
6766 * sunrpc/Makefile (others): Add rpcgen.
6767 ($(objpfx)rpcgen): Remove special build rule and dependency on
6769 * sunrpc/rpcgen.c: New file.
6771 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
6774 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
6775 * stdio-common/bug-vfprintf-nargs.c: Likewise.
6776 * sysdeps/i386/crti.S: Likewise.
6777 * sysdeps/i386/crtn.S: Likewise.
6778 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
6779 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
6780 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
6781 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
6782 * sysdeps/sh/crti.S: Likewise.
6783 * sysdeps/sh/crtn.S: Likewise.
6784 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
6787 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
6789 * locale/programs/locfile-kw.gperf: Likewise.
6790 * locale/programs/charmap-kw.h: Regenerated.
6791 * locale/programs/locfile-kw.h: Likewise.
6794 * intl/plural.y: Replace FSF snail mail address with URL.
6795 * intl/plural.c: Regenerated.
6797 2012-03-09 Richard Henderson <rth@twiddle.net>
6799 * include/math_private.h: Remove file.
6800 * math/math_private.h: Move file ...
6801 * sysdeps/generic/math_private.h: ... here.
6803 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
6804 * sysdeps/powerpc/fpu/math_private.h: Likewise.
6805 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6807 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
6808 and <math_private.h>.
6809 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6810 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6811 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6812 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6813 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6814 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
6815 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6816 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6817 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6818 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6819 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6820 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6821 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6822 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6823 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6824 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6825 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6826 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6827 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6828 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6829 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6830 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6831 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6832 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6833 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
6834 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6835 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6836 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6837 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6838 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6839 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6840 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6841 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
6842 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6843 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6844 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6845 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6846 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6847 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6848 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6849 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
6850 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6851 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6852 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
6853 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
6854 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6855 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
6856 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6857 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6858 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6859 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6860 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
6861 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
6862 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6863 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
6864 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6865 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6866 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
6867 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
6868 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
6869 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6870 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
6871 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6872 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6873 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
6874 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6875 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6876 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6877 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
6878 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
6879 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
6880 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6881 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6882 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6883 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
6884 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
6885 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
6886 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6887 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
6888 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
6889 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
6890 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
6891 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
6892 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6893 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6894 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
6895 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
6896 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
6897 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6898 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6899 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6900 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6901 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6902 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6903 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6904 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6905 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6906 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6907 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6908 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6909 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6910 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6911 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6912 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6913 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6914 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6915 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6916 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6917 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6918 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6919 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6920 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6921 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6922 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6923 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
6924 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6925 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6926 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6927 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6928 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
6929 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6930 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6931 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6932 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
6933 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6934 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6935 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6936 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
6937 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6938 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
6939 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
6940 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
6941 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6942 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
6943 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
6944 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6945 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6946 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6947 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
6948 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6949 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6950 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6951 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6952 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
6953 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
6954 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6955 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6956 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6957 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
6958 * sysdeps/ieee754/k_standard.c: Likewise.
6959 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6960 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6961 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6962 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6963 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6964 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6965 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6966 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6967 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6968 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6969 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6970 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6971 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6972 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6973 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6974 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6975 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6976 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6977 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6978 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
6979 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
6980 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
6981 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6982 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6983 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6984 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
6985 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6986 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6987 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6988 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6989 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6990 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6991 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6992 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6993 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6994 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6995 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6996 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
6997 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
6998 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6999 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7000 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7001 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7002 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
7003 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7004 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7005 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
7006 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7007 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
7008 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7009 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7010 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7011 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7012 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
7013 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7014 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7015 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
7016 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
7017 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
7018 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
7019 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7020 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7021 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
7022 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
7023 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7024 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7025 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
7026 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
7027 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
7028 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
7029 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
7030 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7031 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
7032 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
7033 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
7034 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
7035 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
7036 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
7037 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7038 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7039 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7040 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7041 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
7042 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
7043 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
7044 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7045 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
7046 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
7047 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
7048 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
7049 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
7050 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
7051 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
7052 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7053 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7054 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
7055 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
7056 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
7057 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
7058 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
7059 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
7060 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7061 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7062 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
7063 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
7064 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7065 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7066 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
7067 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
7068 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
7069 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
7070 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
7071 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
7072 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7073 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
7074 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7075 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
7076 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7077 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7078 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
7079 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7080 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
7081 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7082 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
7083 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7084 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
7085 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7086 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7087 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
7088 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7089 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7090 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7091 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7092 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7093 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
7094 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
7095 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
7096 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7097 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7098 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
7099 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
7100 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7101 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
7102 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
7103 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
7104 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7105 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7106 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
7107 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
7108 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
7109 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7110 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7111 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7112 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7113 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
7114 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
7115 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
7116 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
7117 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
7118 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7119 * sysdeps/ieee754/s_lib_version.c: Likewise.
7120 * sysdeps/ieee754/s_matherr.c: Likewise.
7121 * sysdeps/ieee754/s_signgam.c: Likewise.
7122 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7123 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7124 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
7125 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
7126 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
7127 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7128 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
7129 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
7130 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
7131 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
7132 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7133 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
7134 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
7135 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7136 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
7137 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
7138 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7139 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
7140 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7141 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7142 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7144 2012-03-09 Joseph Myers <joseph@codesourcery.com>
7146 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
7147 * sunrpc/rpc_main.c: Likewise.
7148 * sunrpc/rpc_svcout.c: Likewise.
7150 2012-03-09 David S. Miller <davem@davemloft.net>
7152 * include/math_private.h: New file.
7154 2012-03-09 Joseph Myers <joseph@codesourcery.com>
7156 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
7157 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
7158 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
7159 from <bits/socket_type.h>.
7160 (enum __socket_type): Don't define here.
7161 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
7162 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7166 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
7169 * Makerules ($(inst_includedir)/%.h): New rule.
7170 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
7171 (install-others): Remove variable setting.
7172 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
7174 2012-03-08 Richard Henderson <rth@twiddle.net>
7176 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
7177 from macro to inline function; merge with the
7178 !__LIBC_INTERNAL_MATH_INLINES version.
7179 (__ieee754_sqrtf): Likewise.
7181 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
7183 (__rintf, __floor, __floorf): Likewise.
7185 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
7186 macro to inline function.
7187 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
7189 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
7190 not <math/math_private.h>.
7192 2012-03-08 David S. Miller <davem@davemloft.net>
7194 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
7196 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
7198 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
7200 * resolv/gai_misc.c (handle_requests): Fix struct timespec
7202 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
7203 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
7205 2012-03-08 Ulrich Drepper <drepper@gmail.com>
7207 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
7208 be defined individually, they must be defined as a block. Define
7209 S for printing a string instead of hidint the different by using a
7210 macro for adding the 'l'.
7211 * stdio-common/tst-fphex-wide.c: Adjust.
7213 2012-03-07 Marek Polacek <polacek@redhat.com>
7215 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
7217 2012-03-08 Marek Polacek <polacek@redhat.com>
7220 * stdio-common/Makefile (tests): Add tst-fphex-wide.
7221 * stdio-common/tst-fphex.c: Define a few macros to make the
7222 test reusable. Use them.
7223 * stdio-common/tst-fphex-wide.c: New file.
7225 2012-03-08 Joseph Myers <joseph@codesourcery.com>
7228 * manual/macros.texi (gnusystems): New macro.
7229 (nongnusystems): Likewise.
7230 (gnulinuxhurdsystems): Likewise.
7231 (gnuhurdsystems): Likewise..
7232 (gnulinuxsystems): Likewise.
7233 * manual/charset.texi: Use new macros or @theglibc{} to refer to
7234 variants of the GNU system, not "GNU system".
7235 * manual/conf.texi: Likewise.
7236 * manual/errno.texi: Likewise. Update example of errno macro
7238 * manual/filesys.texi: Likewise.
7239 (getumask): Document as specific to GNU/Hurd.
7240 * manual/install.texi: Likewise. Reword some references to
7242 * manual/intro.texi: Likewise.
7243 * manual/io.texi: Likewise.
7244 (File Name Portability): Detail which constraints are inapplicable
7245 to all GNU systems and which are only inapplicable to GNU/Hurd.
7246 * manual/job.texi: Likewise.
7247 * manual/llio.texi: Likewise.
7248 (O_NOCTTY): Document as present on GNU/Linux.
7249 * manual/maint.texi: Likewise.
7250 * manual/memory.texi: Likewise.
7251 * manual/pattern.texi: Likewise.
7252 * manual/pipe.texi: Likewise.
7253 * manual/process.texi: Likewise.
7254 * manual/resource.texi: Likewise.
7255 (RUSAGE_CHILDREN): Remove statement about specifying a particular
7257 * manual/setjmp.texi: Likewise.
7258 * manual/signal.texi: Likewise.
7259 * manual/startup.texi: Likewise.
7260 * manual/stdio.texi: Likewise.
7261 * manual/terminal.texi: Likewise.
7262 (ONLCR): Document as POSIX.
7263 (OXTABS): Document availability on GNU/Linux as XTABS.
7264 (ONOEOT): Document availability separately from other bits.
7265 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
7266 * manual/time.texi: Likewise.
7267 * manual/users.texi: Likewise.
7268 * INSTALL: Regenerated.
7269 * sysdeps/gnu/errlist.c: Regenerated.
7271 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
7272 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
7273 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
7275 * configure: Regenerated.
7277 2012-03-07 Joseph Myers <joseph@codesourcery.com>
7279 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
7280 default includes instead of AC_HEADER_CHECK.
7281 * sysdeps/i386/configure: Regenerated.
7284 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
7285 * math/s_cacoshf.c (__cacoshf): Likewise.
7286 * math/s_cacoshl.c (__cacoshl): Likewise.
7287 * math/s_casinh.c (__casinh): Set signs of result from argument.
7288 * math/s_casinhf.c (__casinhf): Likewise.
7289 * math/s_casinhl.c (__casinhl): Likewise.
7290 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
7291 (casinh_test): Add more tests.
7292 * sysdeps/i386/fpu/libm-test-ulps: Update.
7293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7295 2012-03-07 Ulrich Drepper <drepper@gmail.com>
7297 * po/zh_TW.po: Update from translation team.
7299 * login/Makefile (distribute): Remove variable.
7300 * catgets/Makefile: Likewise.
7301 * mach/Makefile: Likewise.
7302 * malloc/Makefile: Likewise.
7303 * misc/Makefile: Likewise.
7304 * iconv/Makefile: Likewise.
7305 * nscd/Makefile: Likewise.
7306 * hurd/Makefile: Likewise.
7307 * manual/Makefile: Likewise.
7308 * locale/Makefile: Likewise.
7309 * intl/Makefile: Likewise.
7310 * conform/Makefile: Likewise.
7311 * nss/Makefile: Likewise.
7312 * time/Makefile: Likewise.
7313 * soft-fp/Makefile: Likewise.
7314 * dirent/Makefile: Likewise.
7315 * gmon/Makefile: Likewise.
7316 * po/Makefile: Likewise.
7317 * rt/Makefile: Likewise.
7318 * socket/Makefile: Likewise.
7319 * math/Makefile: Likewise.
7320 * signal/Makefile: Likewise.
7321 * debug/Makefile: Likewise.
7322 * elf/Makefile: Likewise.
7323 * timezone/Makefile: Likewise.
7324 * stdlib/Makefile: Likewise.
7325 * iconvdata/Makefile: Likewise.
7326 * sunrpc/Makefile: Likewise.
7327 * io/Makefile: Likewise.
7328 * argp/Makefile: Likewise.
7329 * inet/Makefile: Likewise.
7330 * hesiod/Makefile: Likewise.
7331 * grp/Makefile: Likewise.
7332 * csu/Makefile: Likewise.
7333 * wctype/Makefile: Likewise.
7334 * crypt/Makefile: Likewise.
7335 * libio/Makefile: Likewise.
7336 * string/Makefile: Likewise.
7337 * nis/Makefile: Likewise.
7338 * resolv/Makefile: Likewise.
7339 * stdio-common/Makefile: Likewise.
7340 * wcsmbs/Makefile: Likewise.
7341 * dlfcn/Makefile: Likewise.
7342 * posix/Makefile: Likewise.
7345 * timezone/Makefile: Don't install timezone files, just the programs
7348 2012-03-06 Ulrich Drepper <drepper@gmail.com>
7350 * nss/databases.def: Add missing gshadow entry.
7352 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
7354 2012-03-06 Marek Polacek <polacek@redhat.com>
7357 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
7358 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
7359 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
7360 * stdio-common/tst-long-dbl-fphex.c: New file.
7362 2012-03-06 David S. Miller <davem@davemloft.net>
7364 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7365 (set_obp_int): New function.
7366 (get_obp_int): New function.
7367 (__get_clockfreq_via_dev_openprom): Likewise.
7368 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
7369 Avoid unused variable warnings on 'val' and use builtin_expect.
7370 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
7372 (INLINE_CLONE_SYSCALL): Likewise.
7374 2012-03-05 David S. Miller <davem@davemloft.net>
7376 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7378 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
7380 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7382 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
7384 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7386 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
7388 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
7389 Replace gettimeofday with __vdso_gettimeofday.
7391 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7392 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
7393 __vdso_clock_gettime and __vdso_getcpu.
7395 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
7396 time with __vdso_time.
7398 2012-03-05 Joseph Myers <joseph@codesourcery.com>
7400 * manual/lang.texi (size_t): Note types to which size_t may be
7401 equivalent with the GNU C Library, but do not describe when
7402 differences between them are significant.
7404 2012-03-05 Andreas Jaeger <aj@suse.de>
7406 * sysdeps/i386/fpu/libm-test-ulps: Update.
7408 2012-03-05 Joseph Myers <joseph@codesourcery.com>
7411 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
7412 (__ieee754_pow): Save and restore rounding mode and use
7413 round-to-nearest for main computations.
7414 * math/libm-test.inc (pow_test_tonearest): New function.
7415 (pow_test_towardzero): Likewise.
7416 (pow_test_downward): Likewise.
7417 (pow_test_upward): Likewise.
7418 (main): Call the new functions.
7419 * sysdeps/i386/fpu/libm-test-ulps: Update.
7420 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7423 * math/libm-test.inc (cosh_test_tonearest): New function.
7424 (cosh_test_towardzero): Likewise.
7425 (cosh_test_downward): Likewise.
7426 (cosh_test_upward): Likewise.
7427 (sinh_test_tonearest): Likewise.
7428 (sinh_test_towardzero): Likewise.
7429 (sinh_test_downward): Likewise.
7430 (sinh_test_upward): Likewise.
7431 (main): Call the new functions.
7432 * sysdeps/i386/fpu/libm-test-ulps: Update.
7433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7435 2012-03-05 Tom de Vries <tom@codesourcery.com>
7437 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
7438 default stack guard is set in last bytes.
7439 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
7441 2012-03-05 Kees Cook <keescook@chromium.org>
7443 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
7446 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
7447 possibly allocate from heap instead of stack.
7448 * stdio-common/bug-vfprintf-nargs.c: New file.
7449 * stdio-common/Makefile (tests): Add nargs overflow test.
7451 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
7453 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7455 2012-03-03 Marek Polacek <polacek@redhat.com>
7457 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
7458 * math/math_private.h: Likewise.
7459 * stdlib/tst-strtod.c: Likewise.
7460 * sysdeps/i386/i486/bits/atomic.h: Likewise.
7461 * sysdeps/x86_64/bits/atomic.h: Likewise.
7463 2012-03-02 David S. Miller <davem@davemloft.net>
7465 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
7466 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
7467 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
7468 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
7469 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
7470 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
7471 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
7472 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
7474 2012-03-02 Roland McGrath <roland@hack.frob.com>
7477 * manual/examples/README: New file, says the example source files
7478 can be used under GPL>=2.
7479 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
7480 line containing just "*/".
7481 * manual/examples/add.c: Add copyright header (GPL>=2).
7482 * manual/examples/argp-ex1.c: Likewise.
7483 * manual/examples/argp-ex2.c: Likewise.
7484 * manual/examples/argp-ex3.c: Likewise.
7485 * manual/examples/argp-ex4.c: Likewise.
7486 * manual/examples/atexit.c: Likewise.
7487 * manual/examples/db.c: Likewise.
7488 * manual/examples/dir.c: Likewise.
7489 * manual/examples/dir2.c: Likewise.
7490 * manual/examples/execinfo.c: Likewise.
7491 * manual/examples/filecli.c: Likewise.
7492 * manual/examples/filesrv.c: Likewise.
7493 * manual/examples/fmtmsgexpl.c: Likewise.
7494 * manual/examples/genpass.c: Likewise.
7495 * manual/examples/inetcli.c: Likewise.
7496 * manual/examples/inetsrv.c: Likewise.
7497 * manual/examples/isockad.c: Likewise.
7498 * manual/examples/longopt.c: Likewise.
7499 * manual/examples/memopen.c: Likewise.
7500 * manual/examples/memstrm.c: Likewise.
7501 * manual/examples/mkfsock.c: Likewise.
7502 * manual/examples/mkisock.c: Likewise.
7503 * manual/examples/mygetpass.c: Likewise.
7504 * manual/examples/pipe.c: Likewise.
7505 * manual/examples/popen.c: Likewise.
7506 * manual/examples/rprintf.c: Likewise.
7507 * manual/examples/search.c: Likewise.
7508 * manual/examples/select.c: Likewise.
7509 * manual/examples/setjmp.c: Likewise.
7510 * manual/examples/sigh1.c: Likewise.
7511 * manual/examples/sigusr.c: Likewise.
7512 * manual/examples/stpcpy.c: Likewise.
7513 * manual/examples/strdupa.c: Likewise.
7514 * manual/examples/strftim.c: Likewise.
7515 * manual/examples/strncat.c: Likewise.
7516 * manual/examples/subopt.c: Likewise.
7517 * manual/examples/swapcontext.c: Likewise.
7518 * manual/examples/termios.c: Likewise.
7519 * manual/examples/testopt.c: Likewise.
7520 * manual/examples/testpass.c: Likewise.
7521 * manual/examples/timeval_subtract.c: Likewise.
7524 * manual/time.texi (Elapsed Time): Move timeval_subtract example
7526 * manual/timeval_subtract.c.texi: ... here, new file.
7528 2012-03-02 David S. Miller <davem@davemloft.net>
7530 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
7532 2012-03-02 Joseph Myers <joseph@codesourcery.com>
7535 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
7536 (__sin): Save and restore rounding mode and use round-to-nearest
7537 for all computations.
7538 (__cos): Save and restore rounding mode and use round-to-nearest
7539 for all computations.
7540 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
7542 (tan): Save and restore rounding mode and use round-to-nearest for
7544 * math/libm-test.inc (cos_test_tonearest): New function.
7545 (cos_test_towardzero): Likewise.
7546 (cos_test_downward): Likewise.
7547 (cos_test_upward): Likewise.
7548 (sin_test_tonearest): Likewise.
7549 (sin_test_towardzero): Likewise.
7550 (sin_test_downward): Likewise.
7551 (sin_test_upward): Likewise.
7552 (tan_test_tonearest): Likewise.
7553 (tan_test_towardzero): Likewise.
7554 (tan_test_downward): Likewise.
7555 (tan_test_upward): Likewise.
7556 (main): Call the new functions.
7557 * sysdeps/i386/fpu/libm-test-ulps: Update.
7558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7561 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
7562 small n, then large n, before computing and testing k+n.
7563 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7564 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
7566 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
7568 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
7569 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
7570 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
7571 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
7572 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
7573 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
7574 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
7575 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
7576 * math/libm-test.inc (scalbn_test): Add more tests.
7577 (scalbln_test): Likewise.
7579 * manual/filesys.texi (mode_t): Describe constraints on size and
7580 signedness, not exact equivalence to a particular type.
7582 (ino64_t): Likewise.
7584 (nlink_t): Likewise.
7585 (blkcnt_t): Likewise.
7586 (blkcnt64_t): Likewise.
7587 * manual/llio.texi (off_t): Likewise.
7590 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
7591 (__ieee754_exp): Save and restore rounding mode and use
7592 round-to-nearest for all computations.
7593 * math/libm-test.inc (exp_test_tonearest): New function.
7594 (exp_test_towardzero): Likewise.
7595 (exp_test_downward): Likewise.
7596 (exp_test_upward): Likewise.
7597 (main): Call the new functions.
7598 * sysdeps/i386/fpu/libm-test-ulps: Update.
7599 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7601 2012-03-01 Chris Demetriou <cgd@google.com>
7603 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
7604 have predictable order.
7606 2012-03-01 David S. Miller <davem@davemloft.net>
7608 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
7610 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
7611 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
7612 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
7613 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
7615 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
7616 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
7617 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
7618 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
7619 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
7620 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
7621 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
7622 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
7623 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
7625 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7627 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
7628 * sysdeps/sparc/fpu/libm-test-ulps: to here.
7629 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
7631 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
7632 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7633 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
7634 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
7635 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
7636 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
7637 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
7638 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7639 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
7640 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
7641 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
7642 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7643 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7644 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
7645 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7646 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7647 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
7648 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
7649 * sysdeps/sparc/elf/configure: Regenerated.
7651 2012-03-01 Joseph Myers <joseph@codesourcery.com>
7653 * configure.in (AS, LD): Require binutils 2.20 or later.
7654 * configure: Regenerated.
7655 * manual/install.texi (Tools for Compilation): Give binutils 2.20
7656 as required minimum version.
7657 * INSTALL: Regenerated.
7661 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
7662 before squaring exponent.
7663 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
7664 bottom long double and 27 bits of top long double before squaring
7666 * math/libm-test.inc (erfc_test): Add more tests.
7667 * sysdeps/i386/fpu/libm-test-ulps: Update.
7668 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7671 2012-03-01 Kai Tietz <ktietz@redhat.com>
7673 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
7674 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
7675 containing bit-fields.
7676 * soft-fp/extended.h (_FP_UNION_E): Likewise.
7677 * soft-fp/single.h (_FP_UNION_S): Likewise.
7678 * soft-fp/double.h (_FP_UNION_D): Likewise.
7680 2012-02-29 Joseph Myers <joseph@codesourcery.com>
7683 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
7684 not include ../strcmp.S.
7685 [USE_AS_STRNCASECMP_L]: Likewise.
7686 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
7687 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
7688 * sysdeps/i386/i686/multiarch/strncase_l-c.c
7689 (__strncasecmp_l_ia32): Define as alias to
7690 __strncasecmp_l_nonascii.
7693 * math/libm-test.inc (expm1_test): Add test for bug 5794.
7694 * sysdeps/i386/fpu/libm-test-ulps: Update.
7695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7697 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
7698 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7700 2012-02-29 Jeff Law <law@redhat.com>
7702 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
7705 2012-02-29 Marek Polacek <polacek@redhat.com>
7708 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
7709 * elf/Makefile: Add rules to run tst-unused-dep.out.
7711 2012-02-28 David S. Miller <davem@davemloft.net>
7713 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
7714 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
7715 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
7716 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
7717 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
7718 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
7720 2012-02-29 Joseph Myers <joseph@codesourcery.com>
7722 * math/libm-test.inc (llround_test): Move one test from
7723 lround_test. Use TEST_f_L in moved test.
7724 (lround_test): Move misplaced test to llround_test. Add testcase
7727 2012-02-28 Ulrich Drepper <drepper@gmail.com>
7729 * sysdeps/x86_64/fpu/e_expf.S: New file.
7730 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
7732 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
7735 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
7736 of remain_len that may cause incomplete multi-byte character and
7738 * posix/bug-regex33.c: New file.
7739 * posix/Makefile (tests): Add bug-regex33.
7741 2012-02-28 Joseph Myers <joseph@codesourcery.com>
7743 * manual/macros.texi: New file.
7744 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
7745 * manual/libc.texinfo: Include macros.texi.
7746 * manual/creatute.texi: Likewise.
7747 * manual/install.texi: Likewise.
7748 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
7749 @glibcadj{} in references to the GNU C Library.
7750 * manual/charset.texi: Likewise.
7751 * manual/conf.texi: Likewise.
7752 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
7753 when not using those macros.
7754 * manual/creature.texi: Likewise.
7755 * manual/crypt.texi: Likewise.
7756 * manual/errno.texi: Likewise.
7757 * manual/filesys.texi: Likewise.
7758 * manual/header.texi: Likewise.
7759 * manual/install.texi: Likewise.
7760 * manual/intro.texi: Likewise.
7761 * manual/io.texi: Likewise.
7762 * manual/job.texi: Likewise.
7763 * manual/lang.texi: Likewise.
7764 * manual/libc.texiinfo: Likewise.
7765 * manual/llio.texi: Likewise.
7766 * manual/locale.texi: Likewise.
7767 * manual/maint.texi: Likewise.
7768 * manual/math.texi: Likewise.
7769 * manual/memory.texi: Likewise.
7770 * manual/message.texi: Likewise.
7771 * manual/nss.texi: Likewise.
7772 * manual/pattern.texi: Likewise.
7773 * manual/process.texi: Likewise.
7774 * manual/resource.texi: Likewise.
7775 * manual/search.texi: Likewise.
7776 * manual/setjmp.texi: Likewise.
7777 * manual/signal.texi: Likewise.
7778 * manual/socket.texi: Likewise.
7779 * manual/startup.texi: Likewise.
7780 * manual/stdio.texi: Likewise.
7781 * manual/string.texi: Likewise.
7782 * manual/sysinfo.texi: Likewise.
7783 * manual/syslog.texi: Likewise.
7784 * manual/terminal.texi: Likewise.
7785 * manual/time.texi: Likewise.
7786 * manual/users.texi: Likewise.
7787 * INSTALL: Regenerated.
7788 * NOTES: Regenerated.
7789 * sysdeps/gnu/errlist.c: Regenerated.
7791 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
7793 * include/dirent.h: Include <dirstream.h> before
7796 2012-02-28 David S. Miller <davem@davemloft.net>
7798 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
7799 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
7800 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
7801 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
7803 2012-02-27 David S. Miller <davem@davemloft.net>
7805 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
7806 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
7807 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
7808 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
7810 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
7811 frame pointer instead of stack pointer relative arg slot.
7812 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7813 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7814 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7816 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
7819 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
7821 2012-02-27 David S. Miller <davem@davemloft.net>
7823 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
7824 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7825 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7826 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
7827 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7828 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7829 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
7830 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
7832 2012-02-27 Joseph Myers <joseph@codesourcery.com>
7834 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
7835 later. Allow versions 5-9.
7836 * configure: Regenerated.
7837 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
7838 required minimum version and 4.6 as recommended version. Do not
7839 mention bugs in GCC 2.7 and 2.8.
7840 * INSTALL: Regenerated.
7842 2012-02-27 David S. Miller <davem@davemloft.net>
7844 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
7845 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
7846 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
7847 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
7848 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
7849 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
7850 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
7851 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
7853 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
7854 manipulate bits before adding and subtracting TWO112[sx].
7855 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
7857 2012-02-27 Roland McGrath <roland@hack.frob.com>
7860 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
7861 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
7862 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
7863 being in POSIX, because they are in 1003.1-2008.
7865 * rt/tst-aio.c: Include <fcntl.h>.
7866 * rt/tst-aio7.c: Likewise.
7867 * rt/tst-aio64.c: Likewise.
7869 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
7871 2012-02-27 Joseph Myers <joseph@codesourcery.com>
7873 * manual/install.texi (--with-headers): Describe headers as
7874 interface headers, not private headers.
7875 (Specific advice for GNU/Linux systems): Describe use of headers
7876 from "make headers_install", not private headers from older
7878 * INSTALL: Regenerated.
7879 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
7881 * sysdeps/unix/sysv/linux/configure: Regenerated.
7883 * manual/llio.texi (fclean): Remove documentation.
7885 * manual/Makefile (libc-texi-generated): New variable. Include
7887 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
7888 $(libc-texi-generated), not duplicated list of files.
7889 (version.texi, stamp-version): New rules.
7890 (realclean): Remove $(libc-texi-generated), not individual files
7891 from that list. Do not remove dir-add.texinfo.
7892 * manual/libc.texinfo: Comment out uses of edition numbers and
7893 references to printed manual. Remove last-updated dates.
7894 (EDITION): Comment out.
7896 (VERSION, UPDATED): Remove.
7897 (version.texi): Include.
7899 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
7901 * sysdeps/posix/spawni.c: Include <signal.h>.
7902 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
7903 * sysdeps/pthread/aio_fsync.c: Likewise.
7905 2012-02-26 Ulrich Drepper <drepper@gmail.com>
7907 * conform/Makefile (tests): Run only when not cross-compiling and
7908 when fast-check is not defined.
7910 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
7911 * conform/data/limits.h-data: Fixes for POSIX2008.
7912 * conform/run-conformtest.sh: Run all tests.
7913 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
7915 * include/bits/dlfcn.h: Likewise.
7916 * include/langinfo.h: Likewise.
7917 * include/monetary.h: Likewise.
7918 * include/sys/poll.h: Likewise.
7920 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
7922 * posix/spawn.h: Define __need_sigset_t.
7923 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
7924 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
7925 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
7926 to get sigevent_t only.
7927 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
7929 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7930 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7931 process_vm_writev only for __USE_GNU.
7932 * termios/termios.h: Declare tcgetsid also for POSIX2008.
7934 * conform/Makefile: For now ignore errors from run-conformtest.
7935 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
7936 POSIX to avoid namespace pollution. Don't prepend headers.
7937 * conform/data/aio.h-data: Fixes for POSIX testing.
7938 * conform/data/fcntl.h-data: Likewise.
7939 * conform/data/glob.h-data: Likewise.
7940 * conform/data/grp.h-data: Likewise.
7941 * conform/data/pthread.h-data: Likewise.
7942 * conform/data/pwd.h-data: Likewise.
7943 * conform/data/signal.h-data: Likewise.
7944 * conform/data/spawn.h-data: Likewise.
7945 * conform/data/stdio.h-data: Likewise.
7946 * conform/data/stdlib.h-data: Likewise.
7947 * conform/data/stropts.h-data: Likewise.
7948 * conform/data/sys/mman.h-data: Likewise.
7949 * conform/data/sys/stat.h-data: Likewise.
7950 * conform/data/sys/types.h-data: Likewise.
7951 * conform/data/sys/wait.h-data: Likewise.
7952 * conform/data/time.h-data: Likewise.
7953 * conform/data/unistd.h-data: Likewise.
7954 * conform/data/utime.h-data: Likewise.
7956 * io/sys/stat.h: fchmod was always in POSIX.
7957 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
7958 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
7959 * rt/aio.h: Define __need_timespec before including <time.h>.
7960 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
7961 struct. Add forward declaration of pthread_attr_t and use it in
7963 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
7964 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7965 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
7966 always remove CLK_TCK definition.
7968 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
7970 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
7972 2012-02-25 Ulrich Drepper <drepper@gmail.com>
7974 * conform/run-conformtest.sh: New file.
7975 * conform/Makefile: Run run-conformtest for tests.
7976 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
7979 * conform/data/uchar.h-data: New file.
7980 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
7981 * conform/data/arpa/inet.h-data: Likewise.
7982 * conform/data/assert.h-data: Likewise.
7983 * conform/data/complex.h-data: Likewise.
7984 * conform/data/cpio.h-data: Likewise.
7985 * conform/data/ctype.h-data: Likewise.
7986 * conform/data/dirent.h-data: Likewise.
7987 * conform/data/dlfcn.h-data: Likewise.
7988 * conform/data/errno.h-data: Likewise.
7989 * conform/data/fcntl.h-data: Likewise.
7990 * conform/data/float.h-data: Likewise.
7991 * conform/data/fmtmsg.h-data: Likewise.
7992 * conform/data/fnmatch.h-data: Likewise.
7993 * conform/data/ftw.h-data: Likewise.
7994 * conform/data/glob.h-data: Likewise.
7995 * conform/data/grp.h-data: Likewise.
7996 * conform/data/iconv.h-data: Likewise.
7997 * conform/data/inttypes.h-data: Likewise.
7998 * conform/data/langinfo.h-data: Likewise.
7999 * conform/data/libgen.h-data: Likewise.
8000 * conform/data/limits.h-data: Likewise.
8001 * conform/data/locale.h-data: Likewise.
8002 * conform/data/math.h-data: Likewise.
8003 * conform/data/monetary.h-data: Likewise.
8004 * conform/data/mqueue.h-data: Likewise.
8005 * conform/data/ndbm.h-data: Likewise.
8006 * conform/data/net/if.h-data: Likewise.
8007 * conform/data/netdb.h-data: Likewise.
8008 * conform/data/netinet/in.h-data: Likewise.
8009 * conform/data/nl_types.h-data: Likewise.
8010 * conform/data/poll.h-data: Likewise.
8011 * conform/data/pthread.h-data: Likewise.
8012 * conform/data/pwd.h-data: Likewise.
8013 * conform/data/regex.h-data: Likewise.
8014 * conform/data/sched.h-data: Likewise.
8015 * conform/data/search.h-data: Likewise.
8016 * conform/data/semaphore.h-data: Likewise.
8017 * conform/data/setjmp.h-data: Likewise.
8018 * conform/data/signal.h-data: Likewise.
8019 * conform/data/spawn.h-data: Likewise.
8020 * conform/data/stdarg.h-data: Likewise.
8021 * conform/data/stdio.h-data: Likewise.
8022 * conform/data/stdlib.h-data: Likewise.
8023 * conform/data/string.h-data: Likewise.
8024 * conform/data/strings.h-data: Likewise.
8025 * conform/data/stropts.h-data: Likewise.
8026 * conform/data/sys/ipc.h-data: Likewise.
8027 * conform/data/sys/mman.h-data: Likewise.
8028 * conform/data/sys/msg.h-data: Likewise.
8029 * conform/data/sys/resource.h-data: Likewise.
8030 * conform/data/sys/select.h-data: Likewise.
8031 * conform/data/sys/sem.h-data: Likewise.
8032 * conform/data/sys/shm.h-data: Likewise.
8033 * conform/data/sys/socket.h-data: Likewise.
8034 * conform/data/sys/stat.h-data: Likewise.
8035 * conform/data/sys/statvfs.h-data: Likewise.
8036 * conform/data/sys/time.h-data: Likewise.
8037 * conform/data/sys/timeb.h-data: Likewise.
8038 * conform/data/sys/times.h-data: Likewise.
8039 * conform/data/sys/types.h-data: Likewise.
8040 * conform/data/sys/uio.h-data: Likewise.
8041 * conform/data/sys/un.h-data: Likewise.
8042 * conform/data/sys/utsname.h-data: Likewise.
8043 * conform/data/sys/wait.h-data: Likewise.
8044 * conform/data/syslog.h-data: Likewise.
8045 * conform/data/tar.h-data: Likewise.
8046 * conform/data/termios.h-data: Likewise.
8047 * conform/data/utime.h-data: Likewise.
8048 * conform/data/utmpx.h-data: Likewise.
8049 * conform/data/varargs.h-data: Likewise.
8050 * conform/data/wchar.h-data: Likewise.
8051 * conform/data/wctype.h-data: Likewise.
8052 * conform/data/wordexp.h-data: Likewise.
8054 * include/stropts.h: New file.
8055 * include/uchar.h: New file.
8056 * include/aio.h: Changes to allow conformtest.pl to use the headers.
8057 * include/assert.h: Likewise.
8058 * include/ctype.h: Likewise.
8059 * include/dirent.h: Likewise.
8060 * include/dlfcn.h: Likewise.
8061 * include/fcntl.h: Likewise.
8062 * include/fnmatch.h: Likewise.
8063 * include/glob.h: Likewise.
8064 * include/grp.h: Likewise.
8065 * include/libio.h: Likewise.
8066 * include/locale.h: Likewise.
8067 * include/math.h: Likewise.
8068 * include/net/if.h: Likewise.
8069 * include/netdb.h: Likewise.
8070 * include/netinet/in.h: Likewise.
8071 * include/pthread.h: Likewise.
8072 * include/pwd.h: Likewise.
8073 * include/regex.h: Likewise.
8074 * include/sched.h: Likewise.
8075 * include/search.h: Likewise.
8076 * include/setjmp.h: Likewise.
8077 * include/signal.h: Likewise.
8078 * include/stdio.h: Likewise.
8079 * include/stdlib.h: Likewise.
8080 * include/string.h: Likewise.
8081 * include/sys/cdefs.h: Likewise.
8082 * include/sys/mman.h: Likewise.
8083 * include/sys/msg.h: Likewise.
8084 * include/sys/resource.h: Likewise.
8085 * include/sys/select.h: Likewise.
8086 * include/sys/socket.h: Likewise.
8087 * include/sys/stat.h: Likewise.
8088 * include/sys/statvfs.h: Likewise.
8089 * include/sys/time.h: Likewise.
8090 * include/sys/times.h: Likewise.
8091 * include/sys/uio.h: Likewise.
8092 * include/sys/utsname.h: Likewise.
8093 * include/sys/wait.h: Likewise.
8094 * include/termios.h: Likewise.
8095 * include/time.h: Likewise.
8096 * include/ulimit.h: Likewise.
8097 * include/unistd.h: Likewise.
8098 * include/utime.h: Likewise.
8099 * include/wchar.h: Likewise.
8100 * include/wctype.h: Likewise.
8101 * include/wordexp.h: Likewise.
8103 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
8105 * time/time.h: TIME_UTC must be a macro.
8106 Make timespec_get available for ISO C11 only as well.
8108 2012-02-24 Ulrich Drepper <drepper@gmail.com>
8110 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
8111 Reported by Peng Haitao <penght@cn.fujitsu.com>.
8113 2012-02-24 Joseph Myers <joseph@codesourcery.com>
8115 * configure.in: Use -o not -a in test for unsupported multi-arch.
8117 2012-02-24 Joseph Myers <joseph@codesourcery.com>
8119 * manual/texinfo.tex: Update to version 2012-01-19.16.
8121 2012-02-24 Joseph Myers <joseph@codesourcery.com>
8123 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
8125 2012-02-24 Roland McGrath <roland@hack.frob.com>
8128 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
8129 * manual/fdl-1.3.texi: New file.
8130 * manual/fdl-1.1.texi: File removed.
8133 * manual/libc.texinfo (FDL_VERSION): New @set.
8134 Use it for mention of FDL in cover text.
8135 (Documentation License): Use it in @include file name.
8137 2012-02-22 Joseph Myers <joseph@codesourcery.com>
8138 Roland McGrath <roland@hack.frob.com>
8141 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
8142 not LONG_LONG_MAX and LONG_LONG_MIN.
8143 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
8144 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
8146 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
8148 2012-02-22 Joseph Myers <joseph@codesourcery.com>
8152 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
8153 manipulate bits before adding and subtracting TWO23[sx].
8154 * math/libm-test.inc (nearbyint_test): Add more tests.
8156 2012-02-22 Joseph Myers <joseph@codesourcery.com>
8159 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
8160 bits before adding and subtracting TWO23[sx].
8161 * math/libm-test.inc (rint_test): Add more tests.
8162 (rint_test_tonearest): Likewise.
8163 (rint_test_towardzero): Likewise.
8164 (rint_test_downward): Likewise.
8165 (rint_test_upward: Likewise.
8167 2012-02-22 Joseph Myers <joseph@codesourcery.com>
8170 * include/stdc-predef.h: New file. Extracted from features.h.
8171 * include/features.h: Include stdc-predef.h.
8172 * Makefile (headers): Add stdc-predef.h.
8173 * CONFORMANCE (Compiler limitations): Update.
8175 2012-02-22 Joseph Myers <joseph@codesourcery.com>
8177 * manual/libc.texinfo (VERSION, UPDATED): Revert.
8179 2012-02-21 David S. Miller <davem@davemloft.net>
8181 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
8182 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8184 2012-02-20 David S. Miller <davem@davemloft.net>
8186 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
8187 using a normal save/restore sequence, rather than allocating a
8188 dummy stack frame just to store a frame pointer and restore.
8189 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8191 2012-02-21 Joseph Myers <joseph@codesourcery.com>
8193 * manual/install.texi: Fix stray word in line-wrapped comment.
8195 2012-02-20 David S. Miller <davem@davemloft.net>
8197 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
8198 both binutils and gcc support GOTDATA.
8200 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
8201 "rd %pc" in the PIC register setup sequences.
8203 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
8204 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
8205 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
8206 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
8207 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
8208 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8209 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8210 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8211 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
8212 (SYSCALL_ERROR_HANDLER): Likewise.
8213 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
8214 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8215 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
8216 (SYSCALL_ERROR_HANDLER): Likewise.
8218 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
8219 (HAVE_GCC_GOTDATA): New.
8220 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
8221 relocation support in both binutils and gcc.
8222 * sysdeps/sparc/elf/configure: Regenerate.
8224 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
8225 * sysdeps/sparc/sparc32/elf/configure: Delete.
8226 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
8227 * sysdeps/sparc/sparc64/elf/configure: Delete.
8228 * sysdeps/sparc/elf/configure.in: New file.
8229 * sysdeps/sparc/elf/configure: Generate.
8231 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
8232 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
8233 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
8234 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
8235 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
8237 2012-02-21 Joseph Myers <joseph@codesourcery.com>
8239 * manual/install.texi: Do not mention specific glibc version
8241 * manual/libc.texinfo (VERSION, UPDATED): Update.
8242 (@copying): Use @copyright{} and range of years.
8244 2012-02-21 Joseph Myers <joseph@codesourcery.com>
8247 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
8248 [crti.S not in sysdirs] (generated): Do not append.
8249 [crti.S not in sysdirs] (omit-deps): Likewise.
8250 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
8251 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
8252 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
8253 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
8254 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
8256 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
8257 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
8258 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
8259 * csu/defs.awk: Remove file.
8260 * sysdeps/generic/initfini.c: Likewise.
8261 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
8263 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
8266 2012-02-20 Joseph Myers <joseph@codesourcery.com>
8268 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
8269 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
8270 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
8271 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
8272 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8273 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
8275 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
8276 (__EPOLL_PACKED): Define to empty if not defined by
8278 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
8279 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8282 2012-02-20 Joseph Myers <joseph@codesourcery.com>
8284 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
8285 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
8286 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
8287 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
8289 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
8290 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8293 2012-02-20 Joseph Myers <joseph@codesourcery.com>
8295 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
8297 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8298 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8299 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
8300 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8302 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
8304 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8305 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8307 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
8309 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
8310 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
8312 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
8314 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
8317 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
8319 * math/w_acos.c: Use non-signaling floating-point comparisons.
8320 * math/w_acosf.c: Likewise.
8321 * math/w_acosh.c: Likewise.
8322 * math/w_acoshf.c: Likewise.
8323 * math/w_acoshl.c: Likewise.
8324 * math/w_acosl.c: Likewise.
8325 * math/w_asin.c: Likewise.
8326 * math/w_asinf.c: Likewise.
8327 * math/w_asinl.c: Likewise.
8328 * math/w_atanh.c: Likewise.
8329 * math/w_atanhf.c: Likewise.
8330 * math/w_atanhl.c: Likewise.
8331 * math/w_exp2.c: Likewise.
8332 * math/w_exp2f.c: Likewise.
8333 * math/w_exp2l.c: Likewise.
8334 * math/w_j0.c: Likewise.
8335 * math/w_j0f.c: Likewise.
8336 * math/w_j0l.c: Likewise.
8337 * math/w_j1.c: Likewise.
8338 * math/w_j1f.c: Likewise.
8339 * math/w_j1l.c: Likewise.
8340 * math/w_jn.c: Likewise.
8341 * math/w_jnf.c: Likewise.
8342 * math/w_log.c: Likewise.
8343 * math/w_log10.c: Likewise.
8344 * math/w_log10f.c: Likewise.
8345 * math/w_log10l.c: Likewise.
8346 * math/w_log2.c: Likewise.
8347 * math/w_log2f.c: Likewise.
8348 * math/w_log2l.c: Likewise.
8349 * math/w_logf.c: Likewise.
8350 * math/w_logl.c: Likewise.
8351 * math/w_sqrt.c: Likewise.
8352 * math/w_sqrtf.c: Likewise.
8353 * math/w_sqrtl.c: Likewise.
8354 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8355 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
8356 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8357 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8358 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8360 2012-02-19 Joseph Myers <joseph@codesourcery.com>
8363 * manual/string.texi (strnlen): Use correct parameter name in
8364 equivalent expression.
8366 2012-02-19 Joseph Myers <joseph@codesourcery.com>
8369 * manual/users.texi (seteuid): Consistently use neweuid for
8372 2012-02-19 Joseph Myers <joseph@codesourcery.com>
8375 * manual/nss.texi (Services in the NSS configuration): Correct
8376 list of services in example configuration file.
8378 2012-02-19 Nick Bowler <nbowler@draconx.ca>
8381 * manual/arith.texi: Remove statements about negative zero
8382 behaving identically to zero.
8384 2012-02-18 Joseph Myers <joseph@codesourcery.com>
8387 * manual/install.texi: Do not document upgrading from libc5.
8389 2012-02-18 Joseph Myers <joseph@codesourcery.com>
8392 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
8394 2012-02-18 David S. Miller <davem@davemloft.net>
8396 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
8397 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
8398 %o7 across the call.
8399 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
8401 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
8403 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8404 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
8405 * sysdeps/sparc/crtn.S: Likewise.
8407 2012-02-17 Ulrich Drepper <drepper@gmail.com>
8409 * aout/Makefile: Remove.
8411 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
8414 * manual/examples/argp-ex1.c (main): Format definition in GNU
8416 * manual/examples/argp-ex2.c (main): Likewise.
8417 * manual/examples/argp-ex3.c (main): Likewise.
8418 * manual/examples/argp-ex4.c (main): Likewise.
8419 * manual/examples/longopt.c (main): Use new-style prototype
8421 * manual/examples/strncat.c (main): Specify return type and use
8422 (void) for arguments.
8423 * manual/examples/subopt.c (main): Use char **argv argument.
8425 2012-02-17 Joseph Myers <joseph@codesourcery.com>
8428 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
8431 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
8434 * manual/string.texi (strchr): Change when strchrnul is
8437 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
8440 * manual/locale.texi (setlocale): Document LOCPATH.
8442 2012-02-17 Joseph Myers <joseph@codesourcery.com>
8445 * manual/process.texi (execle): Move @dots{} before last argument.
8447 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
8450 * manual/charset.texi (Generic Charset Conversion): Fix typo
8451 (LC_TYPE -> LC_CTYPE).
8453 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
8456 * manual/arith.texi (scalbn): Use @var{} on parameter names.
8457 (scalbnf): Likewise.
8458 (scalbnl): Likewise.
8459 (scalbln): Likewise.
8460 (scalblnf): Likewise.
8461 (scalblnl): Likewise.
8462 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
8466 * manual/filesys.texi (telldir): Use braces around return type.
8467 * manual/llio.texi (mmap): Add space after comma.
8469 * manual/math.texi (jn): Use @var{} on parameter names.
8475 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
8477 * manual/resource.texi (ulimit): Use @dots{} instead of literal
8479 (sched_get_priority_min): Remove semicolon on @deftypefun line.
8480 (sched_get_priority_max): Likewise.
8481 * manual/signal.texi (sigvec): Add space after comma.
8482 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
8484 (if_indextoname): Likewise.
8485 (if_freenameindex): Likewise.
8486 (sendto): Use ',' instead of '.' in prototype.
8487 * manual/startup.texi (syscall): Use @dots{} instead of literal
8489 * manual/stdio.texi (__fpending): Separate initial words of
8490 paragraph from @deftypefun line.
8491 * manual/syslog.texi (syslog): Use @dots{} instead of literal
8493 (vsyslog): Use @var{} on parameter names.
8494 * manual/terminal.texi (stty): Use @var{} on parameter names.
8495 * manual/users.texi (getutmp): Use @var{} on parameter names.
8496 (getutmpx): Likewise.
8498 2012-02-17 Joseph Myers <joseph@codesourcery.com>
8501 * manual/stdio.texi (fopen): Fix typos in description of
8504 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
8507 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
8508 get clock_id definition.
8510 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
8513 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
8514 (madvise): Cast every argument to void on its own.
8516 2012-02-17 Joseph Myers <joseph@codesourcery.com>
8519 * manual/startup.texi (Exit Status): Fix typo.
8521 2012-02-17 Joseph Myers <joseph@codesourcery.com>
8524 * manual/examples/argp-ex1.c: Include <stdlib.h>.
8525 * manual/examples/argp-ex2.c: Likewise.
8526 * manual/examples/argp-ex3.c: Likewise.
8528 2012-02-16 Richard Henderson <rth@redhat.com>
8530 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
8531 * sysdeps/s390/s390-32/initfini.c: Remove.
8532 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
8533 * sysdeps/s390/s390-64/initfini.c: Remove.
8535 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8537 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
8538 compiler output for sysdeps/generic/initfini.c.
8539 * sysdeps/sh/elf/initfini.c: Remove file.
8541 2012-02-16 David S. Miller <davem@davemloft.net>
8544 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
8546 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
8547 * sysdeps/sparc/crti.S: New file.
8548 * sysdeps/sparc/crtn.S: New file.
8549 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
8550 * sysdeps/sparc/sparc64/Makefile: Likewise.
8552 2012-02-15 Mike Frysinger <vapier@gentoo.org>
8555 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
8557 2012-02-15 Roland McGrath <roland@hack.frob.com>
8560 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
8562 * mach/devstream.c (cookie_io_functions_t): Macro removed.
8563 (write, read, close): Likewise.
8564 Patch by Aurelien Jarno <aurelien@aurel32.net>.
8566 2012-02-15 Joseph Myers <joseph@codesourcery.com>
8568 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
8569 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
8570 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
8571 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
8573 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
8574 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8577 2012-02-14 Marek Polacek <polacek@redhat.com>
8579 * sysdeps/x86_64/crti.S: New file.
8580 * sysdeps/x86_64/crtn.S: New file.
8581 * sysdeps/x86_64/elf/initfini.c: Remove file.
8583 2012-02-13 Joseph Myers <joseph@codesourcery.com>
8585 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
8586 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
8587 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
8588 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
8590 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
8591 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8594 2012-02-13 Joseph Myers <joseph@codesourcery.com>
8596 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
8597 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
8598 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
8599 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
8601 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
8602 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8605 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
8607 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
8608 __feraiseexcept instead of feraiseexcept.
8610 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
8611 nanosleep invocations.
8612 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
8613 strings, and add error checking for a nanosleep invocations.
8615 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
8617 Replace FSF snail mail address with URLs, as per GNU coding standards.
8618 Most of the snail mail addresses were wrong anyway, and omitting
8619 them makes the source code easier to maintain. Almost all of the
8620 changes are to license notices and to locale LC_IDENTIFICATION
8621 addresses, except for this one:
8622 * manual/libc.texinfo: In "Published by", give the FSF's URL,
8623 not its snail mail address.
8625 2012-02-09 Richard Henderson <rth@twiddle.net>
8627 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
8628 of kernel-features.h.
8630 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
8632 2012-02-08 Marek Polacek <polacek@redhat.com>
8634 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
8635 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
8636 * sysdeps/gnu/_G_config.h: Likewise.
8637 * sysdeps/generic/_G_config.h: Likewise.
8639 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
8641 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
8643 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8645 * sysdeps/powerpc/powerpc32/crti.S: New file.
8646 * sysdeps/powerpc/powerpc32/crtn.S: New file.
8647 * sysdeps/powerpc/powerpc64/crti.S: New file.
8648 * sysdeps/powerpc/powerpc64/crtn.S: New file.
8650 * Makeconfig (have-initfini): Don't set.
8651 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
8652 * configure.in (nopic_initfini): Don't substitute.
8653 * config.h.in (HAVE_INITFINI): Don't #undef.
8654 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
8655 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
8657 2012-02-08 Joseph Myers <joseph@codesourcery.com>
8659 Support crti.S and crtn.S provided directly by architectures.
8660 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
8661 [crti.S in sysdirs] (omit-deps): Likewise.
8662 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
8663 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
8664 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
8665 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
8666 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
8667 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
8668 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
8669 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
8670 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
8671 compiler output for sysdeps/generic/initfini.c.
8672 * sysdeps/i386/elf/Makefile: Remove file.
8673 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
8675 2012-02-07 Marek Polacek <polacek@redhat.com>
8677 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
8678 * sysdeps/gnu/_G_config.h: Likewise.
8679 * sysdeps/mach/hurd/_G_config.h: Likewise.
8681 2012-02-07 Marek Polacek <polacek@redhat.com>
8683 * math/Makefile (tests): Add tst-CMPLX2.
8684 * math/tst-CMPLX2.c: New file.
8686 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
8688 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8690 * math/libm-test.inc (jn_test): Add missing L suffix.
8692 2012-02-06 Marek Polacek <polacek@redhat.com>
8694 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
8695 * sysdeps/i386/fpu/e_powf.S: Likewise.
8696 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8697 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8698 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8699 * sysdeps/i386/fpu/e_pow.S: Likewise.
8700 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
8701 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8702 * sysdeps/i386/fpu/s_expm1.S: Likewise.
8703 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8704 * sysdeps/i386/fpu/e_log2.S: Likewise.
8705 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8706 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8707 * sysdeps/i386/fpu/e_powl.S: Likewise.
8708 * sysdeps/i386/fpu/s_log1p.S: Likewise.
8709 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8710 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
8711 * sysdeps/i386/fpu/e_logl.S: Likewise.
8712 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
8713 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
8714 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8715 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
8716 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8717 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8718 * sysdeps/i386/fpu/e_log.S: Likewise.
8719 * sysdeps/i386/fpu/s_cexp.S: Likewise.
8720 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8721 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
8722 * sysdeps/i386/fpu/e_logf.S: Likewise.
8723 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8724 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8725 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
8726 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
8727 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8728 * sysdeps/i386/fpu/e_log10.S: Likewise.
8729 * sysdeps/i386/fpu/s_frexp.S: Likewise.
8730 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8731 * sysdeps/i386/fpu/s_asinh.S: Likewise.
8732 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
8733 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8734 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
8735 * sysdeps/i386/asm-syntax.h: Likewise.
8736 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8737 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8738 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8739 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
8740 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
8741 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8742 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
8743 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
8744 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8745 * sysdeps/powerpc/sysdep.h: Likewise.
8746 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
8747 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8749 2012-02-06 Joseph Myers <joseph@codesourcery.com>
8752 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
8754 2012-02-06 Joseph Myers <joseph@codesourcery.com>
8756 * sysdeps/i386/sysdep.h: Include <features.h>.
8757 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
8760 2012-02-05 Joseph Myers <joseph@codesourcery.com>
8762 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
8764 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
8767 2012-02-03 Joseph Myers <joseph@codesourcery.com>
8769 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
8770 (SETUP_PIC_REG): Use GET_PC_THUNK.
8771 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
8774 2012-02-03 Joseph Myers <joseph@codesourcery.com>
8776 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
8777 for non-PIC compilation.
8778 (SETUP_PIC_REG): Add .p2align directive.
8779 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
8780 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
8781 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8782 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8783 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8784 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8785 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
8786 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8787 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8788 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8789 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8790 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8791 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8792 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8793 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8794 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8795 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8796 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8797 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8798 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8799 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8800 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8801 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8802 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8803 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8804 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8805 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8806 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8807 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8808 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8809 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8810 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8811 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8812 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8813 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8814 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8815 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8816 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8817 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8818 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8819 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8821 2012-02-03 Joseph Myers <joseph@codesourcery.com>
8823 * math/tst-CMPLX.c: Include <stdio.h>.
8825 2012-01-31 Joseph Myers <joseph@codesourcery.com>
8827 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
8829 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8830 * sysdeps/sparc/bits/mathdef.h: Likewise.
8832 2012-01-31 Marek Polacek <polacek@redhat.com>
8834 * libio/libio.h: Don't define _PARAMS.
8835 * locale/programs/config.h: Don't define PARAMS.
8836 * stdlib/strtol_l.c: Likewise.
8837 (__strtol_l): Remove PARAMS from the prototype.
8839 2012-01-31 Ulrich Drepper <drepper@gmail.com>
8841 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
8842 names. Just use the correct names. Remove unnecessary wrapper
8844 * malloc/arena.c: Likewise.
8845 * malloc/hooks.c: Likewise.
8847 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
8848 ARENA_TEST says not to. Simplify test for creation of a new arena.
8849 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
8851 2012-01-30 Ulrich Drepper <drepper@gmail.com>
8853 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
8855 (update_get_addr): New function.
8856 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
8857 GET_ADDR_MODULE parameter.
8859 2012-01-30 Joseph Myers <joseph@codesourcery.com>
8861 * crypt/cert.c: Remove __STDC__ conditionals.
8862 * crypt/crypt-entry.c: Likewise.
8863 * crypt/crypt_util.c: Likewise.
8864 * libio/filedoalloc.c: Likewise.
8865 * libio/fileops.c: Likewise.
8866 * libio/genops.c: Likewise.
8867 * libio/iofclose.c: Likewise.
8868 * libio/iofdopen.c: Likewise.
8869 * libio/iofopen.c: Likewise.
8870 * libio/iofopen64.c: Likewise.
8871 * libio/iogetdelim.c: Likewise.
8872 * libio/iopopen.c: Likewise.
8873 * libio/obprintf.c: Likewise.
8874 * libio/oldfileops.c: Likewise.
8875 * libio/oldiofclose.c: Likewise.
8876 * libio/oldiofdopen.c: Likewise.
8877 * libio/oldiofopen.c: Likewise.
8878 * libio/oldiopopen.c: Likewise.
8879 * libio/wfiledoalloc.c: Likewise.
8880 * libio/wgenops.c: Likewise.
8881 * locale/programs/xmalloc.c: Likewise.
8882 * misc/syslog.c: Likewise.
8883 * stdio-common/xbug.c: Likewise.
8884 * string/memchr.c: Likewise.
8885 * string/memcmp.c: Likewise.
8886 * string/memrchr.c: Likewise.
8887 * string/rawmemchr.c: Likewise.
8888 * sysdeps/posix/getcwd.c: Likewise.
8889 * time/strftime_l.c: Likewise.
8891 2012-01-30 Joseph Myers <joseph@codesourcery.com>
8893 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
8894 * config.make.in (config-cflags-sse2avx): Define.
8895 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
8898 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
8900 * scripts/config.guess: Update from upstream config git repository.
8901 * scripts/config.sub: Likewise.
8903 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
8905 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
8907 (R_TILEPRO_*, R_TILEGX_*): New macros.
8909 * scripts/firstversions.awk: Fix bug in version range handling.
8911 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
8913 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
8915 * include/sys/epoll.h: New file.
8916 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
8919 2012-01-28 Ulrich Drepper <drepper@gmail.com>
8921 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
8922 Avoid unnecessary __WORDSIZE == 64 test.
8923 (fmaxf): Use VEX format if possible.
8928 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
8929 * math/math_private.h: Remove libc_fegetround* and
8931 * sysdeps/i386/configure.in: Check for -msse2avx.
8932 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
8933 also if SSE2AVX is defined.
8934 Remove libc_fegetround* and libc_fesetround*.
8935 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
8936 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
8937 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
8939 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8940 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8941 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8942 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8943 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8945 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
8947 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8949 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
8951 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
8953 2012-01-27 Ulrich Drepper <drepper@gmail.com>
8956 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
8958 * Makeconfig (libm): Define.
8959 * elf/Makefile: Add rules to build and run tst-relsort1.
8960 * elf/tst-relsort1.c: New file.
8961 * elf/tst-relsort1mod1.c: New file.
8962 * elf/tst-relsort1mod2.c: New file.
8964 2012-01-27 Joseph Myers <joseph@codesourcery.com>
8966 * math/s_ldexp.c: Remove __STDC__ conditionals.
8967 * math/s_ldexpf.c: Likewise.
8968 * math/s_ldexpl.c: Likewise.
8969 * math/s_nextafter.c: Likewise.
8970 * math/s_nexttowardf.c: Likewise.
8971 * math/s_significand.c: Likewise.
8972 * math/s_significandf.c: Likewise.
8973 * math/s_significandl.c: Likewise.
8974 * math/w_jnl.c: Likewise.
8975 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8976 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8977 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8978 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8979 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8980 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8981 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
8982 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8983 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8984 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8985 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8986 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8987 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8988 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8989 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8990 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8991 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8992 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8993 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8994 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8995 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8996 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8997 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8998 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8999 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9000 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9001 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9002 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9003 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
9004 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9005 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9006 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
9007 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9008 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
9009 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
9010 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9011 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
9012 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
9013 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
9014 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
9015 * sysdeps/ieee754/k_standard.c: Likewise.
9016 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9017 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9018 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9019 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9020 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9021 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9022 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9023 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
9024 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
9025 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9026 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9027 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
9028 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
9029 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
9030 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
9031 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9032 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9033 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9034 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9035 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9036 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9037 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9038 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9039 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9040 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9041 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9042 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9043 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9044 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9045 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
9046 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
9047 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
9048 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9049 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
9050 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
9051 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
9052 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
9053 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9054 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
9055 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
9056 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
9057 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
9058 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9059 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
9060 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9061 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9062 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
9063 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9064 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9065 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9066 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
9067 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9068 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9069 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
9070 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9071 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
9072 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
9073 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9074 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9075 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9076 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9077 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9078 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
9079 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9080 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9081 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9082 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9083 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
9084 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
9085 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9086 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9087 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9088 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9089 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9090 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9091 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9092 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
9093 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9094 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
9095 * sysdeps/ieee754/s_matherr.c: Likewise.
9096 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
9097 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9098 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9099 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9101 2012-01-26 Joseph Myers <joseph@codesourcery.com>
9103 * crypt/md5.h: Remove __STDC__ conditionals.
9104 * libio/libioP.h: Likewise.
9105 * locale/programs/config.h: Likewise.
9106 * sysdeps/generic/sysdep.h: Likewise.
9107 * sysdeps/i386/asm-syntax.h: Likewise.
9108 * sysdeps/s390/asm-syntax.h: Likewise.
9109 * sysdeps/unix/sysdep.h: Likewise.
9110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9113 2012-01-26 Joseph Myers <joseph@codesourcery.com>
9115 * libio/libio.h: Remove __STDC__ conditionals.
9116 * malloc/obstack.h: Likewise.
9117 * math/complex.h: Likewise.
9118 * math/math.h: Likewise.
9119 * sysdeps/generic/_G_config.h: Likewise.
9120 * sysdeps/gnu/_G_config.h: Likewise.
9121 * sysdeps/mach/hurd/_G_config.h: Likewise.
9122 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9123 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
9124 * sysdeps/sparc/bits/mathdef.h: Likewise.
9126 2012-01-26 Ulrich Drepper <drepper@gmail.com>
9129 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
9130 Clean up HAS_* macros.
9131 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
9132 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
9134 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
9136 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9137 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9138 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9139 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9140 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9142 2012-01-25 Joseph Myers <joseph@codesourcery.com>
9144 * elf/tst-unique3.cc (gets): Remove declaration.
9145 * elf/tst-unique3lib.cc (gets): Likewise.
9146 * elf/tst-unique3lib2.cc (gets): Likewise.
9147 * elf/tst-unique4.cc (gets): Likewise.
9149 2012-01-24 Ulrich Drepper <drepper@gmail.com>
9151 * include/stdio.h: Add C++ protection. Add gets declarations and
9153 * debug/tst-chk1.c: Don't declare gets here.
9154 * stdio-common/tst-gets.c: Likewise.
9156 2012-01-24 Joseph Myers <joseph@codesourcery.com>
9158 * posix/glob: Remove directory.
9160 2012-01-24 Joseph Myers <joseph@codesourcery.com>
9162 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
9164 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
9166 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
9167 of the non-standard EPFNOSUPPORT.
9169 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
9171 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
9172 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
9173 ANYWHERE set to 1 only on KERN_NO_SPACE error.
9175 2012-01-21 Ulrich Drepper <drepper@gmail.com>
9177 * wcsmbs/uchar.h: Test __STDC_VERSION__.
9179 2012-01-20 Ulrich Drepper <drepper@gmail.com>
9181 * nscd/aicache.c (addhstaiX): Do not cache negative results of
9183 * nscd/grpcache.c (cache_addgr): Likewise.
9184 * nscd/hstcache.c (cache_addhst): Likewise.
9185 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9186 * nscd/pwdcache.c (cache_addpw): Likewise.
9187 * nscd/servicescache.c (cache_addserv): Likewise.
9189 2012-01-16 Ulrich Drepper <drepper@gmail.com>
9191 * malloc/malloc.c: Various cleanups.
9192 * malloc/hooks.c: Likewise.
9194 * stdlib/Makefile (tests): Add bug-fmtmsg1.
9195 * stdlib/bug-fmtmsg1.c: New file.
9197 * stdlib/fmtmsg.c (init): Add missing unlock.
9198 Patch by Peng Haitao <penght@cn.fujitsu.com>.
9200 2012-01-12 Marek Polacek <polacek@redhat.com>
9202 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
9205 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
9207 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
9208 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
9209 macro to ensure uniqueness of label name.
9210 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9211 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9213 2012-01-11 Ulrich Drepper <drepper@gmail.com>
9215 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
9217 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
9218 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9219 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9220 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
9222 2012-01-10 Ulrich Drepper <drepper@gmail.com>
9224 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
9226 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
9227 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9228 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9230 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
9232 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
9233 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9234 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9235 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
9237 * math/bits/math-finite.h: Add ldexp support.
9239 2012-01-10 Marek Polacek <polacek@redhat.com>
9241 * locale/programs/localedef.h (show_archive_content): Add noreturn
9244 2012-01-09 Ulrich Drepper <drepper@gmail.com>
9246 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
9248 2012-01-08 Ulrich Drepper <drepper@gmail.com>
9250 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
9252 * io/Makefile (headers): Add bits/poll2.h.
9254 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
9256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
9257 typo #include statement.
9259 2012-01-08 Ulrich Drepper <drepper@gmail.com>
9261 * include/sys/cdefs.h: Define __attribute_alloc_size.
9262 * catgets/gencat.c: Add alloc_size attribute and apply consistently
9263 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
9264 * elf/pldd.c: Likewise.
9265 * iconv/iconv_charmap.c: Likewise.
9266 * iconv/iconvconfig.c: Likewise.
9267 * iconv/strtab.c: Likewise.
9268 * locale/programs/locale.c: Likewise.
9269 * locale/programs/localedef.h: Likewise.
9270 * locale/programs/simple-hash.c: Likewise.
9271 * nscd/nscd.h: Likewise.
9272 * nss/makedb.c: Likewise.
9273 * sysdeps/generic/ldconfig.h: Likewise.
9274 * locale/programs/localedef.c: Remove xmalloc prototype.
9275 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
9277 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9279 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
9282 2012-01-08 Ulrich Drepper <drepper@gmail.com>
9284 * math/Makefile (tests): Add tst-CMPLX.
9285 * math/tst-CMPLX.c: New file.
9287 * math/complex.h (CMPLXL): Fix typo.
9289 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
9290 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
9292 * debug/tst-chk1.c: Add poll and ppoll tests.
9293 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
9294 * include/sys/poll.h: Add hidden proto for ppoll.
9295 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
9296 * sysdeps/mach/hurd/ppoll.c: Likewise.
9297 * io/ppoll.c: Likewise.
9298 * debug/poll_chk.c: New file.
9299 * debug/ppoll_chk.c: New file.
9300 * include/bits/poll2.h: New file.
9301 * io/bits/poll2.h: New file.
9304 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
9306 * configure.in: static is always set to yes. Remove.
9307 * config.make.in: Don't set build-static.
9308 * Makeconfig: Remove use of build-static.
9309 * dlfcn/Makefile: Likewise.
9310 * elf/Makefile: Likewise.
9311 * math/Makefile: Likewise.
9312 * misc/Makefile: Likewise.
9313 * nptl/Makefile: Likewise.
9314 * sysdeps/mach/hurd/Makefile: Likewise.
9316 * configure.in: PWD_P is not used anymore.
9317 * config.make.in: Remove PWD_P entry.
9319 * configure.in: Remove last remnants of RANLIB.
9320 No need to check for signed size_t anymore.
9321 Don't set libc_commonpagesize and libc_relro_required here for Alpha
9323 Remove __builtin_expect test because we require at least gcc 3.4.
9324 * aclocal.m4: Likewise.
9326 * wcsmbs/mbrtoc16.c: Implement using towc function.
9327 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
9328 * wcsmbs/wcsmbsload.c: Likewise.
9329 * iconv/gconv_simple.c: Likewise.
9330 * iconv/gconv_int.h: Likewise.
9331 * iconv/gconv_builtin.h: Likewise.
9332 * iconv/iconv_prog.c: Remove CHAR16 handling.
9334 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
9336 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
9338 * configure.in: Remove --with-elf and --enable-bounded options.
9339 Dont set base_machine for ia64. More non-ELF conditions removed.
9340 Remove testing and setting of leading underscore information.
9341 * config.make.in (build-bounded): Set to no.
9342 * config.h.in: Remove NO_UNDERSCORES entry.
9343 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
9345 * csu/start.c: Remove !NO_UNDERSCORE code.
9346 * locale/localeinfo.h: Likewise.
9347 * sysdeps/generic/machine-gmon.h: Likewise.
9348 * sysdeps/generic/sysdep.h: Likewise.
9349 * sysdeps/i386/sysdep.h: Likewise.
9350 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9351 * sysdeps/mach/sysdep.h: Likewise.
9352 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9353 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9354 * sysdeps/sh/sysdep.h: Likewise.
9355 * sysdeps/sparc/sparc32/alloca.S: Likewise.
9356 * sysdeps/unix/i386/sysdep.S: Likewise.
9357 * sysdeps/unix/sparc/start.c: Likewise.
9358 * sysdeps/unix/sparc/sysdep.S: Likewise.
9359 * sysdeps/unix/sparc/sysdep.h: Likewise.
9360 * sysdeps/unix/start.c: Likewise.
9361 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9362 * sysdeps/x86_64/sysdep.h: Likewise.
9364 2012-01-07 Ulrich Drepper <drepper@gmail.com>
9367 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
9369 * argp/argp-fmtstream.h: Use const instead __const.
9370 * argp/argp.h: Likewise.
9371 * assert/assert.h: Likewise.
9372 * bits/fenv.h: Likewise.
9373 * bits/sched.h: Likewise.
9374 * bits/sigset.h: Likewise.
9375 * bits/sigthread.h: Likewise.
9376 * catgets/nl_types.h: Likewise.
9377 * conform/data/pthread.h-data: Likewise.
9378 * crypt/crypt-private.h: Likewise.
9379 * crypt/crypt.h: Likewise.
9380 * crypt/crypt_util.c: Likewise.
9381 * ctype/ctype.h: Likewise.
9382 * debug/execinfo.h: Likewise.
9383 * debug/mbsnrtowcs_chk.c: Likewise.
9384 * debug/mbsrtowcs_chk.c: Likewise.
9385 * debug/wcsnrtombs_chk.c: Likewise.
9386 * debug/wcsrtombs_chk.c: Likewise.
9387 * debug/wcstombs_chk.c: Likewise.
9388 * dirent/dirent.h: Likewise.
9389 * dlfcn/dlfcn.h: Likewise.
9390 * elf/neededtest4.c: Likewise.
9391 * grp/grp.h: Likewise.
9392 * gshadow/gshadow.h: Likewise.
9393 * iconv/gconv.h: Likewise.
9394 * iconv/gconv_int.h: Likewise.
9395 * iconv/gconv_simple.c: Likewise.
9396 * iconv/iconv.h: Likewise.
9397 * iconv/loop.c: Likewise.
9398 * iconv/skeleton.c: Likewise.
9399 * include/aio.h: Likewise.
9400 * include/aliases.h: Likewise.
9401 * include/argz.h: Likewise.
9402 * include/arpa/inet.h: Likewise.
9403 * include/assert.h: Likewise.
9404 * include/dirent.h: Likewise.
9405 * include/dlfcn.h: Likewise.
9406 * include/execinfo.h: Likewise.
9407 * include/fcntl.h: Likewise.
9408 * include/fenv.h: Likewise.
9409 * include/glob.h: Likewise.
9410 * include/grp.h: Likewise.
9411 * include/libintl.h: Likewise.
9412 * include/mntent.h: Likewise.
9413 * include/netdb.h: Likewise.
9414 * include/pwd.h: Likewise.
9415 * include/rpc/netdb.h: Likewise.
9416 * include/sched.h: Likewise.
9417 * include/search.h: Likewise.
9418 * include/shadow.h: Likewise.
9419 * include/signal.h: Likewise.
9420 * include/stdio.h: Likewise.
9421 * include/stdlib.h: Likewise.
9422 * include/string.h: Likewise.
9423 * include/sys/socket.h: Likewise.
9424 * include/sys/stat.h: Likewise.
9425 * include/sys/statfs.h: Likewise.
9426 * include/sys/statvfs.h: Likewise.
9427 * include/sys/syslog.h: Likewise.
9428 * include/sys/time.h: Likewise.
9429 * include/sys/uio.h: Likewise.
9430 * include/time.h: Likewise.
9431 * include/unistd.h: Likewise.
9432 * include/utmp.h: Likewise.
9433 * include/wchar.h: Likewise.
9434 * include/wctype.h: Likewise.
9435 * inet/aliases.h: Likewise.
9436 * inet/arpa/inet.h: Likewise.
9437 * inet/netinet/ether.h: Likewise.
9438 * inet/netinet/in.h: Likewise.
9439 * intl/libintl.h: Likewise.
9440 * io/bits/fcntl2.h: Likewise.
9441 * io/fcntl.h: Likewise.
9442 * io/ftw.h: Likewise.
9443 * io/sys/poll.h: Likewise.
9444 * io/sys/stat.h: Likewise.
9445 * io/sys/statfs.h: Likewise.
9446 * io/sys/statvfs.h: Likewise.
9447 * io/utime.h: Likewise.
9448 * libio/bits/stdio.h: Likewise.
9449 * libio/bits/stdio2.h: Likewise.
9450 * libio/libio.h: Likewise.
9451 * libio/libioP.h: Likewise.
9452 * libio/stdio.h: Likewise.
9453 * locale/lc-ctype.c: Likewise.
9454 * locale/locale.h: Likewise.
9455 * login/utmp.h: Likewise.
9456 * malloc/arena.c: Likewise.
9457 * malloc/malloc.c: Likewise.
9458 * malloc/malloc.h: Likewise.
9459 * malloc/mcheck.c: Likewise.
9460 * malloc/mtrace.c: Likewise.
9461 * math/bits/mathcalls.h: Likewise.
9462 * math/fenv.h: Likewise.
9463 * math/math_private.h: Likewise.
9464 * misc/bits/error.h: Likewise.
9465 * misc/bits/syslog.h: Likewise.
9466 * misc/err.h: Likewise.
9467 * misc/error.h: Likewise.
9468 * misc/fstab.h: Likewise.
9469 * misc/mntent.h: Likewise.
9470 * misc/regexp.h: Likewise.
9471 * misc/search.h: Likewise.
9472 * misc/sgtty.h: Likewise.
9473 * misc/sys/mman.h: Likewise.
9474 * misc/sys/syslog.h: Likewise.
9475 * misc/sys/uio.h: Likewise.
9476 * misc/sys/xattr.h: Likewise.
9477 * misc/ttyent.h: Likewise.
9478 * nis/rpcsvc/ypclnt.h: Likewise.
9479 * nss/nss.h: Likewise.
9480 * posix/bits/unistd.h: Likewise.
9481 * posix/fnmatch.h: Likewise.
9482 * posix/glob.h: Likewise.
9483 * posix/sched.h: Likewise.
9484 * posix/spawn.h: Likewise.
9485 * posix/sys/wait.h: Likewise.
9486 * posix/unistd.h: Likewise.
9487 * posix/wordexp.h: Likewise.
9488 * pwd/pwd.h: Likewise.
9489 * resolv/netdb.h: Likewise.
9490 * resource/sys/resource.h: Likewise.
9491 * rt/aio.h: Likewise.
9492 * rt/bits/mqueue2.h: Likewise.
9493 * rt/mqueue.h: Likewise.
9494 * shadow/shadow.h: Likewise.
9495 * signal/signal.h: Likewise.
9496 * socket/send.c: Likewise.
9497 * socket/sendto.c: Likewise.
9498 * socket/sys/socket.h: Likewise.
9499 * stdio-common/printf.h: Likewise.
9500 * stdlib/bits/stdlib.h: Likewise.
9501 * stdlib/fmtmsg.h: Likewise.
9502 * stdlib/monetary.h: Likewise.
9503 * stdlib/stdlib.h: Likewise.
9504 * stdlib/ucontext.h: Likewise.
9505 * streams/stropts.h: Likewise.
9506 * string/argz.h: Likewise.
9507 * string/bits/string2.h: Likewise.
9508 * string/string.h: Likewise.
9509 * string/strings.h: Likewise.
9510 * sunrpc/rpc/auth.h: Likewise.
9511 * sunrpc/rpc/auth_des.h: Likewise.
9512 * sunrpc/rpc/clnt.h: Likewise.
9513 * sunrpc/rpc/netdb.h: Likewise.
9514 * sunrpc/rpc/pmap_clnt.h: Likewise.
9515 * sunrpc/rpc/xdr.h: Likewise.
9516 * sysdeps/generic/inttypes.h: Likewise.
9517 * sysdeps/generic/net/if.h: Likewise.
9518 * sysdeps/generic/sys/swap.h: Likewise.
9519 * sysdeps/gnu/net/if.h: Likewise.
9520 * sysdeps/gnu/utmpx.h: Likewise.
9521 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
9522 * sysdeps/i386/i486/bits/string.h: Likewise.
9523 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
9524 * sysdeps/s390/bits/string.h: Likewise.
9525 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
9526 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
9527 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
9528 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
9529 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
9530 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
9531 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
9532 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
9533 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
9534 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
9535 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
9536 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9537 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
9538 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9539 * sysdeps/unix/sysv/linux/readv.c: Likewise.
9540 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
9541 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9542 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9543 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9544 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9545 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9546 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
9547 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
9548 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
9549 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
9550 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
9551 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
9552 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9553 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
9554 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
9555 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
9556 * sysvipc/sys/ipc.h: Likewise.
9557 * sysvipc/sys/msg.h: Likewise.
9558 * sysvipc/sys/sem.h: Likewise.
9559 * sysvipc/sys/shm.h: Likewise.
9560 * termios/termios.h: Likewise.
9561 * time/sys/time.h: Likewise.
9562 * time/time.h: Likewise.
9563 * wcsmbs/bits/wchar2.h: Likewise.
9564 * wcsmbs/uchar.h: Likewise.
9565 * wcsmbs/wchar.h: Likewise.
9566 * wctype/wctype.h: Likewise.
9569 * Makeconfig: Remove all but ELF support including AIX support.
9570 * Makerules: Likewise.
9571 * config.h.in: Likewise.
9572 * config.make.in: Likewise.
9573 * configure: Likewise.
9574 * configure.in: Likewise.
9575 * csu/Makefile: Likewise.
9576 * csu/version.c: Likewise.
9577 * debug/Makefile: Likewise.
9578 * dlfcn/Makefile: Likewise.
9579 * elf/Makefile: Likewise.
9580 * extra-lib.mk: Likewise.
9581 * iconv/Makefile: Likewise.
9582 * include/libc-symbols.h: Likewise.
9583 * include/shlib-compat.h: Likewise.
9584 * resolv/Makefile: Likewise.
9585 * resolv/res_libc.c: Likewise.
9586 * rt/Makefile: Likewise.
9587 * sysdeps/i386/asm-syntax.h: Likewise.
9588 * sysdeps/i386/sysdep.h: Likewise.
9589 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9590 * sysdeps/mach/sysdep.h: Likewise.
9591 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
9592 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
9593 * sysdeps/s390/asm-syntax.h: Likewise.
9594 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9595 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9596 * sysdeps/sh/sysdep.h: Likewise.
9597 * sysdeps/unix/sparc/sysdep.h: Likewise.
9598 * sysdeps/wordsize-32/divdi3.c: Likewise.
9599 * sysdeps/x86_64/sysdep.h: Likewise.
9601 * argp/Versions: Remove _argp_unlock_xxx.
9604 * abilist/ld.abilist: Update. Adjust for removal of tls option.
9605 * abilist/libBrokenLocale.abilist: Likewise.
9606 * abilist/libanl.abilist: Likewise.
9607 * abilist/libc.abilist: Likewise.
9608 * abilist/libcrypt.abilist: Likewise.
9609 * abilist/libdl.abilist: Likewise.
9610 * abilist/libm.abilist: Likewise.
9611 * abilist/libnsl.abilist: Likewise.
9612 * abilist/libpthread.abilist: Likewise.
9613 * abilist/libresolv.abilist: Likewise.
9614 * abilist/librt.abilist: Likewise.
9615 * abilist/libthread_db.abilist: Likewise.
9616 * abilist/libutil.abilist: Likewise.
9617 * abilist/libnss_db.abilist: New file.
9619 * scripts/abilist.awk: Add support for indirect functions.
9621 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
9623 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
9625 * shlib-versions: Remove entries for ports architectures.
9627 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
9629 * elf/stackguard-macros.h: Remove support for IA-64.
9630 * elf/tst-auditmod1.c: Likewise.
9631 * sysdeps/generic/ldsodefs.h: Likewise.
9633 * sysdeps/unix/sysv/linux/configure.in: Ports should define
9634 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
9638 * configure.in: Remove --enable-omitfp support.
9640 * config.make.in: Likewise.
9641 * Makeconfig: Likewise.
9642 * manual/install.texi: Likewise.
9644 In case anyone cares, the IA-64 architecture could move to ports.
9645 * sysdeps/ia64/*: Removed.
9646 * sysdeps/unix/sysv/linux/ia64/*: Removed.
9647 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
9650 * configure.in: Remove entries for unsupported architectures.
9653 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
9654 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
9656 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
9657 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
9658 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
9659 fall back to using wcrtomb.
9660 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
9661 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
9663 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
9664 * wcsmbs/tst-c16c32-1.c: New file.
9666 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
9669 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
9671 * elf/tst-unique3.cc: Add explicit declaration of gets.
9672 * elf/tst-unique3lib.cc: Likewise.
9673 * elf/tst-unique3lib2.cc: Likewise.
9674 * elf/tst-unique4.cc: Likewise.
9676 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
9678 2012-01-06 Joseph Myers <joseph@codesourcery.com>
9681 * assert/assert.h (static_assert): Don't define for C++.
9682 * libio/stdio.h (gets): Do declare for C++ <= C++11.
9683 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
9685 2012-01-03 Ulrich Drepper <drepper@gmail.com>
9687 * iconv/loop.c (single loop): Fix assertion in storing of
9690 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
9692 2012-01-01 Ulrich Drepper <drepper@gmail.com>
9694 * posix/getconf.c: Update copyright year.
9695 * nss/getent.c: Likewise.
9696 * nss/makedb.c: Likewise.
9697 * iconv/iconvconfig.c: Likewise.
9698 * iconv/iconv_prog.c: Likewise.
9699 * elf/ldconfig.c: Likewise.
9700 * elf/pldd.c: Likewise.
9701 * elf/sotruss.ksh: Likewise.
9702 * catgets/gencat.c: Likewise.
9703 * csu/version.c: Likewise.
9704 * elf/ldd.bash.in: Likewise.
9705 * elf/sprof.c (print_version): Likewise.
9706 * locale/programs/locale.c: Likewise.
9707 * locale/programs/localedef.c: Likewise.
9708 * login/programs/pt_chown.c: Likewise.
9709 * nscd/nscd.c (print_version): Likewise.
9710 * debug/xtrace.sh: Likewise.
9711 * malloc/memusage.sh: Likewise.
9712 * malloc/mtrace.pl: Likewise.
9713 * debug/catchsegv.sh: Likewise.
9715 2011-12-30 Jakub Jelinek <jakub@redhat.com>
9717 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
9720 2011-12-24 Ulrich Drepper <drepper@gmail.com>
9723 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
9724 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
9726 * iconv/gconv_int.h: Likewise.
9727 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
9728 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
9729 from libc for GLIBC_2.16.
9730 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
9731 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
9732 * wcsmbs/uchar.h: Really define mbstate_t.
9733 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
9734 * wcsmbs/c16rtomb.c: New file.
9735 * wcsmbs/mbrtoc16.c: New file.
9736 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
9738 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
9739 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
9741 * wcsmbs/wchar.h: Add missing __restrict.
9743 2011-12-23 Ulrich Drepper <drepper@gmail.com>
9746 * time/Makefile (routines): Add timespec_get.
9747 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
9748 * time/time.h: Define TIME_UTC and declare timespec_get. Define
9749 timespec for ISO C11.
9750 * time/timespec_get.c: New file.
9751 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
9752 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
9755 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
9756 * stdlib/stdlib.h: Declare aligned_alloc.
9757 * Versions.def: Add GLIBC_2.16 for libc.
9758 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
9761 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
9764 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
9768 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
9771 * assert/assert.h (static_assert): Define.
9773 * version.h: Update for 2.16 development version.
9776 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
9779 * version.h (RELEASE): Bump for 2.15 release.
9780 * include/features.h (__GLIBC_MINOR__): Bump to 15.
9782 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
9783 Patch by Marek Polacek <mpolacek@redhat.com>.
9785 * bits/byteswap.h: Protect long long constants with __extension__.
9786 * sysdeps/i386/bits/byteswap.h: Likewise.
9787 * sysdeps/ia64/bits/byteswap.h: Likewise.
9788 * sysdeps/s390/bits/byteswap.h: Likewise.
9789 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9791 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9794 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
9796 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
9798 2011-12-23 Marek Polacek <polacek@redhat.com>
9800 * elf/dl-addr.c (determine_info): Add inline keyword.
9801 * elf/tst-auditmod4b.c (check_avx): Likewise.
9802 * elf/tst-auditmod6b.c (check_avx): Likewise.
9803 * elf/tst-auditmod6c.c (check_avx): Likewise.
9804 * elf/tst-auditmod7b.c (check_avx): Likewise.
9806 2011-12-23 Ulrich Drepper <drepper@gmail.com>
9808 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
9811 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9814 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
9815 processing for last bytes.
9817 2011-08-06 Bruno Haible <bruno@clisp.org>
9820 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
9821 U+0385, not to U+1FEE.
9824 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
9825 entry for U+00A5 U+0301.
9827 2011-12-22 Ulrich Drepper <drepper@gmail.com>
9830 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
9831 buffer for the output is too small.
9833 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
9837 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
9838 SSE flags if possible.
9840 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9843 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
9844 processing for last bytes.
9846 2011-12-22 Joseph Myers <joseph@codesourcery.com>
9848 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
9849 (syscall-list-default-options, syscall-list-default-condition)
9850 (syscall-list-includes): Define.
9851 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
9852 list of ABIs and options and #if conditions for each ABI. Do not
9853 handle common syscalls between ABIs specially.
9854 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
9856 (syscall-list-variants, syscall-list-32bit-options)
9857 (syscall-list-32bit-condition, syscall-list-64bit-options)
9858 (syscall-list-64bit-condition): Define.
9859 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
9860 (syscall-list-variants, syscall-list-32bit-options)
9861 (syscall-list-32bit-condition, syscall-list-64bit-options)
9862 (syscall-list-64bit-condition): Define.
9863 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
9865 (syscall-list-variants, syscall-list-32bit-options)
9866 (syscall-list-32bit-condition, syscall-list-64bit-options)
9867 (syscall-list-64bit-condition): Define.
9868 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
9870 (syscall-list-variants, syscall-list-32bit-options)
9871 (syscall-list-32bit-condition, syscall-list-64bit-options)
9872 (syscall-list-64bit-condition): Define.
9874 2011-12-22 Ulrich Drepper <drepper@gmail.com>
9876 * locale/iso-639.def: Add brx entry.
9879 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
9880 Proposed by Mariusz_Cukr <marcukr@op.pl>.
9882 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
9883 __feraiseexcept_renamed.
9885 2011-12-21 Ulrich Drepper <drepper@gmail.com>
9888 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
9889 EPOLLET with unsigned values.
9890 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9891 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9893 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
9894 to large cancellation.
9895 * math/s_cacoshf.c: Likewise.
9896 * math/s_cacoshl.c: Likewise.
9898 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
9902 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
9903 * math/s_cacoshf.c: Likewise.
9904 * math/s_cacoshl.c: Likewise.
9906 2011-12-21 Ulrich Drepper <drepper@gmail.com>
9909 * iconv/gconv.h: Define __GCONV_SWAP.
9910 * iconvdata/unicode.c: The swap bit must be stored in __flags.
9911 * iconvdata/utf-16.c: Likewise.
9912 * iconvdata/utf-32.c: Likewise.
9914 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
9917 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
9918 numerator after shifting it by one limb.
9920 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
9922 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
9923 under [__USE_EXTERN_INLINES].
9925 2011-12-17 Ulrich Drepper <drepper@gmail.com>
9928 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
9930 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9932 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
9933 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
9935 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
9936 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
9937 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
9938 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
9939 for strncasecmp/strncasecmp_l compilation.
9940 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
9941 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
9943 2011-12-08 Marek Polacek <mpolacek@redhat.com>
9946 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
9949 2011-12-17 Ulrich Drepper <drepper@gmail.com>
9952 * time/tzfile.c (__tzfile_read): Check values from file header.
9954 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
9956 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
9957 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
9958 * powerpc/powerpc32/dl-start.S: Likewise.
9959 * powerpc/powerpc32/elf/start.S: Likewise.
9960 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9961 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
9962 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
9963 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
9964 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
9965 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
9966 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
9967 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
9968 * powerpc/powerpc32/fpu/s_round.S: Likewise.
9969 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
9970 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
9971 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
9972 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
9973 * powerpc/powerpc32/memset.S: Likewise.
9974 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
9975 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9976 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9977 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9978 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9979 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9980 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9981 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9982 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
9983 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
9984 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
9985 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9986 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9988 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9990 * math/libm-test.inc: Added more nearbyint tests.
9991 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
9992 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
9993 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
9994 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
9996 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
9998 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
10001 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10003 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
10004 Add wcscpy-ssse3 wcscpy-c.
10005 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
10006 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
10007 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
10008 * sysdeps/x86_64/wcschr.S: New file.
10009 * sysdeps/x86_64/wcsrchr.S: New file.
10010 * string/test-strcmp.c: Remove checking of wcscmp function for
10012 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
10013 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
10014 wcsrchr-sse2 wcsrchr-c.
10015 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
10016 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
10017 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
10018 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
10019 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
10020 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
10021 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
10022 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
10023 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
10024 * wcsmbc/wcschr.c (WCSCHR): New macro.
10026 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10028 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
10029 * wcsmbs/test-wcsrchr.c: New file.
10030 * string/test-strrchr.c: Add wcsrchr support.
10032 * wcsmbs/test-wcscpy.c: New file.
10033 * string/test-strcpy.c: Add wcscpy support.
10036 2011-12-10 Ulrich Drepper <drepper@gmail.com>
10038 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
10041 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
10044 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
10046 2011-12-04 Ulrich Drepper <drepper@gmail.com>
10048 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
10049 Minor optimizations.
10051 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
10052 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
10053 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
10055 2011-12-03 Ulrich Drepper <drepper@gmail.com>
10057 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
10058 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
10059 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
10060 for gcc to avoid warnings.
10061 * inet/Makefile (tests): Add tst-checks.
10062 * inet/tst-checks.c: New file.
10064 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
10067 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
10070 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
10071 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
10073 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
10075 2011-12-02 Ulrich Drepper <drepper@gmail.com>
10077 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
10080 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
10082 2011-11-29 Joseph Myers <joseph@codesourcery.com>
10084 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
10085 conditional on GCC version.
10086 (__arch_compare_and_exchange_val_8_acq)
10087 (__arch_compare_and_exchange_val_16_acq)
10088 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
10089 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
10090 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
10092 2011-12-02 Joseph Myers <joseph@codesourcery.com>
10094 * sysdeps/sh/backtrace.c: New file.
10096 2011-12-02 Andreas Schwab <schwab@redhat.com>
10098 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
10101 2011-12-01 Andreas Schwab <schwab@redhat.com>
10103 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
10104 falling back to utime.
10106 2011-11-30 Andreas Schwab <schwab@redhat.com>
10108 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
10109 expectations for float.
10111 2011-11-29 Andreas Schwab <schwab@redhat.com>
10113 * locale/weight.h (findidx): Add parameter len.
10114 * locale/weightwc.h (findidx): Likewise.
10115 * posix/fnmatch_loop.c (FCT): Adjust caller.
10116 * posix/regcomp.c (build_equiv_class): Likewise.
10117 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
10118 * posix/regexec.c (check_node_accept_bytes): Likewise.
10119 * string/strcoll_l.c (STRCOLL): Likewise.
10120 * string/strxfrm_l.c (STRXFRM): Likewise.
10122 2011-11-17 Ulrich Drepper <drepper@gmail.com>
10124 * Makefile.in: Remove CVSOPT handling.
10125 * configure.in: Remove use of AC_REVISION.
10126 * iconvdata/Makefile (distribute): No need to filter out CVS.
10127 * scripts/list-sources.sh: Remove CVS, subversion and monotone
10130 2011-11-16 Andreas Schwab <schwab@redhat.com>
10132 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
10133 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
10134 [USE_AS_STRNCASECMP_L]: Likewise.
10135 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
10136 NO_TLS_DIRECT_SEG_REFS.
10137 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
10138 Fix argument offsets for non-PIC.
10139 [USE_AS_STRNCASECMP_L]: Likewise.
10140 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
10141 NO_TLS_DIRECT_SEG_REFS.
10143 2011-11-15 Ulrich Drepper <drepper@gmail.com>
10145 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
10147 * locale/loadlocale.c (_nl_load_locale): Likewise.
10149 2011-11-15 Andreas Schwab <schwab@redhat.com>
10151 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
10152 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
10153 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
10154 (SYSCALL_GETTIME): Set errno on error.
10156 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
10157 count references to noai6ai_cached.
10159 2011-11-15 Ulrich Drepper <drepper@gmail.com>
10161 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
10163 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
10164 FD_CLOEXEC for /proc/self/maps.
10166 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
10167 FD_CLOEXEC for /proc/meminfo.
10169 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
10172 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
10173 FD_CLOEXEC for given file.
10175 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
10177 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
10178 FD_CLOEXEC for /etc/hosts.
10179 (_gethtent): Likewise.
10181 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
10183 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
10184 cancellation and set FD_CLOEXEC for /etc/netgroup.
10186 * nss/nss_files/files-key.c (search): Don't allow cancellation when
10187 reading /etc/publickey.
10189 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
10190 allow cancellation when reading /etc/group.
10192 * nss/nss_files/files-alias.c (internal_setent): Don't allow
10194 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
10196 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
10197 when using data file.
10199 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
10201 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
10202 (write_nis_obj): Use "c" and "e" in fopen.
10204 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
10206 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
10208 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
10210 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
10212 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
10215 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
10217 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
10219 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
10221 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
10222 file parsing and set FD_CLOEXEC.
10224 2011-11-14 Ulrich Drepper <drepper@gmail.com>
10226 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
10228 2011-11-14 Andreas Schwab <schwab@redhat.com>
10230 * malloc/arena.c (arena_get2): Don't call reused_arena when
10231 _int_new_arena failed.
10233 2011-11-14 Ulrich Drepper <drepper@gmail.com>
10235 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
10236 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
10237 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
10238 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10239 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10240 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
10241 to compile strcasecmp and strncasecmp.
10242 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
10243 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
10245 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
10247 2011-11-13 Ulrich Drepper <drepper@gmail.com>
10249 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
10250 locale-defines.sym to gen-as-const-headers.
10251 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
10252 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
10253 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
10254 to compile strcasecmp and strncasecmp.
10255 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
10256 strcasecmp_l and strncasecmp_l.
10257 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
10258 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
10259 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
10260 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
10261 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
10262 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
10263 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
10264 * sysdeps/i386/i686/multiarch/strncase.S: New file.
10265 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
10266 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
10267 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
10269 2011-11-12 Ulrich Drepper <drepper@gmail.com>
10271 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
10272 result of SYSDEP_GETTIME_CPU to retval.
10273 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
10274 parameter list to macro. Remove trailing semicolon. Adjust users.
10276 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
10279 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
10281 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
10283 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
10284 from unused variable.
10286 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
10288 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
10291 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
10294 * sunrpc/rpc_prot.c (rejected): Fix case value.
10296 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
10297 unsigned long long int to avoid warnings in shift.
10299 * posix/regex_internal.c (re_string_reconstruct): Actually use result
10301 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
10304 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
10305 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
10306 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
10308 * nis/nis_table.c (nis_list): Use variable of correct type for
10309 result of __follow_path call.
10311 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10313 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
10314 of math functions ceil, trunc, floor, round, and sqrt, when
10315 avaliable on the platform.
10316 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
10318 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10319 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
10320 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
10322 2011-10-30 Marek Polacek <mpolacek@redhat.com>
10324 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
10325 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
10327 2011-11-11 Roland McGrath <roland@hack.frob.com>
10329 * include/unistd.h: Fix __readlink return type.
10330 Reported by Chris Metcalf <cmetcalf@tilera.com>.
10332 2011-11-11 Ulrich Drepper <drepper@gmail.com>
10334 * stdlib/ucontext.h: Undo last change for makecontext.
10336 2011-11-11 Andreas Schwab <schwab@redhat.com>
10338 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
10340 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
10341 * setjmp/setjmp.h: Mark functions as non-leaf.
10342 * setjmp/bits/setjmp2.h: Likewise.
10343 * stdlib/ucontext.h: Likewise.
10345 2011-11-10 Andreas Schwab <schwab@redhat.com>
10347 * malloc/arena.c (_int_new_arena): Don't increment narenas.
10348 (reused_arena): Don't check arena limit.
10349 (arena_get2): Atomically check arena limit.
10351 2011-11-08 Ulrich Drepper <drepper@gmail.com>
10353 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
10354 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
10356 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
10359 2011-11-07 Andreas Schwab <schwab@redhat.com>
10361 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
10362 handler when locking.
10364 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10365 Fix size of allocated buffer.
10367 2011-11-04 Andreas Schwab <schwab@redhat.com>
10370 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
10371 declarations for long double functions.
10372 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
10374 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
10376 2011-11-03 Andreas Schwab <schwab@redhat.com>
10378 * nscd/nscd.c (main): Don't start AVC thread until credentials are
10381 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
10384 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
10386 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
10388 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
10390 * include/alloca.h (stackinfo_alloca_round): Define.
10391 (extend_alloca): Use it.
10392 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
10393 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
10396 * scripts/check-local-headers.sh: Ignore libaudit.h.
10398 * nscd/Makefile (extra-objs): Make recursively expanded.
10400 2011-11-01 Ulrich Drepper <drepper@gmail.com>
10402 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
10403 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10405 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
10406 * posix/tst-rfc3484-2.c: Likewise.
10407 * posix/tst-rfc3484-3.c: Likewise.
10409 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10411 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
10413 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
10414 process_vm_writev from libc using GLIBC_2.15 version.
10416 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
10418 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
10420 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
10423 2011-10-31 Ulrich Drepper <drepper@gmail.com>
10426 * nss/getent.c (initgroups_keys): Show error message in case no group
10429 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
10430 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
10431 __bump_nl_timestamp.
10432 * nscd/connections (nscd_init): When host database is served open
10433 netlink socket and request notification about configuration changes.
10434 (main_loop_poll): Track netlink file descriptor and bump timestamp
10435 in case data becomes available.
10436 (main_loop_epoll): Likewise.
10437 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
10438 (database_pers_head): Add extra_data fileds.
10439 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
10440 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
10441 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
10443 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
10444 in6ai data, call __free_in6ai.
10445 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
10446 Add -DHAVE_NETLINK.
10447 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
10448 interface information. Reuse previous data if netlink timestamp
10450 (__bump_nl_timestamp): New function.
10451 (__free_in6ai): New function.
10453 2011-10-30 Ulrich Drepper <drepper@gmail.com>
10455 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
10456 close_not_cancel_no_status here.
10457 (__check_pf): Reorganize code a bit to not call close twice if OOM.
10459 2011-10-29 Ulrich Drepper <drepper@gmail.com>
10462 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
10465 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
10466 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
10467 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
10469 2011-07-03 Andreas Jaeger <aj@suse.de>
10472 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
10473 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
10474 * math/libm-test.inc (sin_test): Add test case.
10476 2011-10-29 Ulrich Drepper <drepper@gmail.com>
10479 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
10480 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10482 * elf/chroot_canon.c (chroot_canon): Cleanups.
10484 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
10487 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
10488 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10490 * string/test-strchr.c: Make usable for strchrnul testing.
10491 * string/test-strchrnul.c: New file.
10492 * string/Makefile (strop-tests): Add strchrnul.
10494 * po/it.po: Update from translation team.
10495 * po/es.po: Likewise.
10497 2011-10-28 Ulrich Drepper <drepper@gmail.com>
10499 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
10500 the three constants needed as parameters. Drop the others.
10501 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
10502 __m128i_strloadu_tolower.
10503 Create and initialize variable zero and use it in all the places
10504 where _mm_setzero_si128 was used.
10506 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
10507 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
10508 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
10509 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
10511 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
10512 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
10513 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
10514 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
10515 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
10516 __mpranred, __mptan.
10517 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
10518 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
10519 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
10520 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
10521 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
10522 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
10523 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
10524 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
10525 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
10527 2011-10-28 Andreas Schwab <schwab@redhat.com>
10529 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
10530 redefine if SHARED.
10531 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
10533 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
10534 wide char related routines to wcsmbs subdir.
10536 2011-10-27 Andreas Schwab <schwab@redhat.com>
10539 * misc/sys/cdefs.h (__THROWNL): Define.
10540 * posix/unistd.h: Use __THREADNL instead of __THREAD
10541 for memory synchronization functions.
10543 2011-10-26 Roland McGrath <roland@hack.frob.com>
10546 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
10548 * manual/stdio.texi (Obstack Streams): Node removed.
10550 2011-10-26 Andreas Schwab <schwab@redhat.com>
10552 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
10553 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10554 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10556 * math/math_private.h (math_force_eval): Allow non-addressable
10558 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
10560 2011-10-25 Ulrich Drepper <drepper@gmail.com>
10562 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
10563 file is not needed.
10565 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
10566 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
10567 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10568 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10569 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10570 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10571 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10572 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
10574 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
10575 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
10576 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
10577 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
10578 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
10579 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
10580 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
10581 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
10582 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
10583 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
10584 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
10585 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
10586 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
10587 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
10588 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
10589 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
10590 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
10591 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
10592 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
10594 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
10595 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
10597 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
10598 place. Use VEX encoding when compiling for AVX.
10600 2011-10-25 Andreas Schwab <schwab@redhat.com>
10602 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
10603 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
10605 * string/test-strchr.c (do_test): Don't generate NUL bytes.
10607 2011-10-25 Ulrich Drepper <drepper@gmail.com>
10609 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
10610 useless if() expression.
10611 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10612 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10613 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10614 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10615 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10616 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10617 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10618 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10619 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10620 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10621 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10622 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10623 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10624 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10625 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10626 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10627 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10628 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10629 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10631 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
10633 2011-10-25 Andreas Schwab <schwab@redhat.com>
10635 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
10637 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10639 2011-10-25 Ulrich Drepper <drepper@gmail.com>
10641 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
10642 .text section. Avoid duplicate constants.
10643 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10644 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10645 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10646 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10647 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10648 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10649 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10650 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10651 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10652 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
10653 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10654 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10655 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
10656 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
10657 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10658 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
10659 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10660 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10661 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10662 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10663 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10664 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10665 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10666 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
10667 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
10668 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
10669 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
10670 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
10671 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
10672 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
10673 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
10674 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
10675 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10676 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
10677 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
10678 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
10679 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
10680 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
10681 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
10682 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
10683 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
10684 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
10685 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
10686 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
10687 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
10689 2011-10-24 Ulrich Drepper <drepper@gmail.com>
10691 * sysdeps/x86_64/dla.h: Move to ...
10692 * sysdeps/x86_64/fpu/dla.h: ...here.
10693 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
10694 situations. Use __builtin_fma only for gcc 4.6 and up.
10696 * config.make.in: Add have-mfma4 entry.
10697 * configure.in: Substitute libc_cv_cc_fma4.
10698 * math/Makefile (dbl-only-routines): Add sincostab.
10699 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
10700 Use __sincostab not sincos.
10701 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
10703 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10704 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10705 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10706 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
10708 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
10709 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
10710 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
10711 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
10713 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
10714 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
10716 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
10717 define aliases when function name is a macro.
10718 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
10719 sysdeps/ieee754/dbl-64/sincos.tbl.
10720 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
10721 fma4-enabled routines.
10722 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
10723 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
10724 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
10725 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
10726 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
10727 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
10728 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
10729 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
10730 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
10731 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
10732 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
10733 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
10734 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
10735 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
10736 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
10737 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
10738 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
10739 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
10740 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
10741 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
10742 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
10743 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
10744 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
10745 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
10746 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
10747 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
10748 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
10749 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
10750 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
10751 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
10753 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
10755 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10756 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10757 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10758 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10759 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10760 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10761 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10762 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10764 2011-10-24 Andreas Schwab <schwab@redhat.com>
10766 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
10768 2011-10-23 Ulrich Drepper <drepper@gmail.com>
10770 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
10772 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
10774 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
10776 * string/strnlen.c: Don't define STRNLEN, reverse logic.
10777 Remove unused variable magic_bits.
10778 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
10780 * string/strnlen.c: Define and use STRNLEN macro.
10781 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
10782 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
10783 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
10784 * wcsmbs/wcslen.c: Define and use WCSLEN.
10785 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
10786 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
10787 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
10788 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
10789 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
10790 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
10791 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
10793 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10795 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10796 strnlen-sse2-no-bsf.
10797 Rename strlen-no-bsf to strlen-sse2-no-bsf.
10798 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
10799 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
10800 Add strnlen support.
10801 (USE_AS_STRNLEN): New macro.
10802 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
10803 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
10804 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
10805 * sysdeps/x86_64/wcslen.S: New file.
10807 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
10809 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
10810 XMM-moves are used for copying on small sizes.
10812 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10814 * wcsmbs/Makefile (strop-tests): Add wcschr.
10815 * wcsmbs/test-wcschr.c: New file.
10816 * string/test-strchr.c: Update.
10817 Add wcschr support.
10820 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10822 * wcsmbs/Makefile (strop-tests): Add wcslen.
10823 * wcsmbs/test-wcslen.c: New file.
10824 * string/test-strlen.c: Update.
10825 Add wcslen support.
10828 2011-10-23 Ulrich Drepper <drepper@gmail.com>
10830 * po/it.po: Update from translation team.
10832 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10834 * sysdeps/x86_64/wcscmp.S: Update.
10835 Fix wrong comparison semantics.
10836 wcscmp shall use signed comparison not unsigned.
10837 Don't use substraction to avoid overflow bug.
10838 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
10839 * wcsmbc/wcscmp.c: Likewise.
10840 * string/test-strcmp.c: Likewise.
10841 Add new tests to check cases with negative values.
10843 2011-10-23 Ulrich Drepper <drepper@gmail.com>
10845 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
10846 * sysdeps/x86_64/dla.h: ...here. New file.
10847 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
10848 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10849 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10850 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10851 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10852 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10853 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10854 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10855 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10857 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
10859 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
10860 __ynl_finite aliases.
10862 2011-10-22 Ulrich Drepper <drepper@gmail.com>
10864 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10866 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
10868 [DLA_FMA] (EMULV): Use DLA_FMA.
10869 [DLA_FMA] (MUL12): Use EMULV.
10870 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
10871 that are not needed.
10872 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10873 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10874 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10875 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10876 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10877 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10878 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10880 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
10882 * math/s_nan.c: Undef __nan.
10883 * math/s_nanf.c: Undef __nanf.
10884 * math/s_nanl.c: Undef __nanl.
10885 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
10888 2011-10-22 Ulrich Drepper <drepper@gmail.com>
10890 * math/s_catan.c: Add branch predictions.
10891 * math/s_catanf.c: Likewise.
10892 * math/s_catanh.c: Likewise.
10893 * math/s_catanhf.c: Likewise.
10894 * math/s_catanhl.c: Likewise.
10895 * math/s_catanl.c: Likewise.
10896 * math/s_cexp.c: Likewise.
10897 * math/s_cexpf.c: Likewise.
10898 * math/s_cexpl.c: Likewise.
10899 * math/s_clog.c: Likewise.
10900 * math/s_clog10.c: Likewise.
10901 * math/s_clog10f.c: Likewise.
10902 * math/s_clog10l.c: Likewise.
10903 * math/s_clogf.c: Likewise.
10904 * math/s_clogl.c: Likewise.
10905 * math/s_csqrt.c: Likewise.
10906 * math/s_csqrtf.c: Likewise.
10907 * math/s_csqrtl.c: Likewise.
10908 * math/s_ctanf.c: Likewise.
10909 * math/s_ctanh.c: Likewise.
10910 * math/s_ctanhf.c: Likewise.
10911 * math/s_ctanhl.c: Likewise.
10912 * math/s_ctanl.c: Likewise.
10914 * math/math_private.h: Define __nan, __nanf, __nanl.
10915 * math/s_cacosh.c: Include <math_private.h>.
10916 * math/s_cacoshl.c: Likewise.
10917 * math/s_casinh.c: Likewise.
10918 * math/s_casinhf.c: Likewise.
10919 * math/s_casinhl.c: Likewise.
10920 * math/s_ccos.c: Rely entire on ccosh.
10921 * math/s_ccosf.c: Rely entire on ccoshf.
10922 * math/s_ccosl.c: Rely entirely on ccoshl.
10923 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
10924 Remove tests for FE_INVALID.
10925 * math/s_ccoshf.c: Likewise.
10926 * math/s_ccoshl.c: Likewise.
10927 * math/s_csin.c: Likewise.
10928 * math/s_csinf.c: Likewise.
10929 * math/s_csinh.c Likewise.
10930 * math/s_csinhf.c: Likewise.
10931 * math/s_csinhl.c: Likewise.
10932 * math/s_csinl.c: Likewise.
10933 * math/s_ctan.c: Likewise.
10934 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
10935 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
10936 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
10938 2011-10-21 Ulrich Drepper <drepper@gmail.com>
10940 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
10941 compilation problems.
10943 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
10946 2011-10-20 Ulrich Drepper <drepper@gmail.com>
10948 * sysdeps/i386/configure.in: Test for -mfma4 option.
10949 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
10950 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
10951 COMMON_CPUID_INDEX_80000001.
10952 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
10953 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
10954 use it if FMA3 is not supported.
10955 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
10957 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
10958 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10960 2011-10-20 Andreas Schwab <schwab@redhat.com>
10963 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
10964 it would create a cycle with a link time dependency.
10966 2011-10-19 Ulrich Drepper <drepper@gmail.com>
10968 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
10970 * string/Makefile (strop-tests): Add rawmemchr.
10971 * string/test-rawmemchr.c: New file.
10973 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
10974 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
10975 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
10976 when compiling str{,n}casecmp and when AVX is available. Hook up
10977 new optimized code in initializers.
10979 2011-10-19 Andreas Schwab <schwab@redhat.com>
10981 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
10982 __feraiseexcept instead of feraiseexcept.
10984 2011-10-18 Ulrich Drepper <drepper@gmail.com>
10986 * math/math_private.h: Define defaults for libc_fetestexcept and
10988 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
10989 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
10990 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
10991 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10992 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10993 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10994 libc_fetestexcept and libc_feupdateenv.
10996 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
10997 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
10998 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
10999 * sysdeps/x86_64/fpu/math_private.h: Define special version of
11000 libc_feholdexcept_setround.
11002 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
11003 Add s_nearbyint-c and s_nearbyintf-c.
11004 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
11005 nearbyintf inlines.
11006 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
11007 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
11008 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
11009 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
11011 * math/math_private.h: Define defaults for libc_fegetround,
11012 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
11013 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
11014 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
11015 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
11016 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
11017 standard functions.
11018 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11019 Remove comments and hacks for old compiler versions.
11020 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
11021 libc_fegetround, libc_fesetround, libc_feholdexcept, and
11022 libc_feholdexceptl.
11024 2011-10-18 Andreas Schwab <schwab@redhat.com>
11026 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
11027 (__feraiseexcept_renamed): Add __NTH.
11028 (feraiseexcept): Add __NTH. Rename local variables to fix
11029 namespace violations.
11031 2011-10-17 Ulrich Drepper <drepper@gmail.com>
11033 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
11035 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
11037 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
11038 recently added interfaces.
11039 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
11041 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
11042 about macro parameter expansion.
11044 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
11045 __NO_MATH_INLINES is defined. Cleanups.
11047 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
11048 and __floorf is target has SSE4.1.
11049 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
11050 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
11051 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
11052 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
11054 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
11056 (floorf): Likewise.
11058 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
11060 2011-10-17 Andreas Schwab <schwab@redhat.com>
11062 * misc/sys/cdefs.h: Fix last change.
11064 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
11067 2011-10-16 Ulrich Drepper <drepper@gmail.com>
11069 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
11071 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
11072 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11073 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11074 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11075 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11076 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
11077 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11078 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11079 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
11080 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
11081 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
11082 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
11083 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
11084 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
11085 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
11086 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
11087 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
11088 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
11089 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
11090 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
11091 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
11092 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
11094 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
11095 ceil, ceilf, floor, floorf.
11097 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
11098 Perform IRELATIVE relocations last.
11100 * elf/do-rel.h: Add another parameter nrelative, replacing the
11101 local variable with the same name. Change name of the function
11102 to end in Rel or Rela (uppercase).
11103 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
11104 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
11105 elf_dynamic_do_##reloc function.
11107 2011-10-15 Ulrich Drepper <drepper@gmail.com>
11109 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
11110 is sufficient, at least on modern CPUs.
11112 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
11114 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
11115 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
11117 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
11119 * math/bits/math-finite.h: Add entries for exp.
11120 * math/e_expl.c: Add __*_finite alias.
11121 * sysdeps/i386/fpu/e_exp.S: Likewise.
11122 * sysdeps/i386/fpu/e_expf.S: Likewise.
11123 * sysdeps/i386/fpu/e_expl.c: Likewise.
11124 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11125 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11126 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11127 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11128 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
11129 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11130 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11132 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
11133 is sufficient, at least on modern CPUs.
11135 * ctype/ctype-info.c (__ctype_init): Define.
11136 * include/ctype.h (__ctype_init): Declare.
11137 (__ctype_b_loc): The variable is always initialized.
11138 (__ctype_toupper_loc): Likewise.
11139 (__ctype_tolower_loc): Likewise.
11140 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
11141 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
11143 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
11145 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
11147 * configure.in: Also look in $cxxmachine/include for C++ system
11150 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11152 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
11153 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
11154 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
11155 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
11156 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
11157 (USE_AS_WMEMCMP): New macro.
11159 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
11160 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
11161 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
11162 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
11163 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11164 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
11165 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
11166 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
11167 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
11168 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
11169 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
11170 (USE_AS_WMEMCMP): New macro.
11171 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
11172 * sysdeps/string/test-memcmp.c: Update.
11173 Fix simple_wmemcmp.
11175 * wcsmbs/wmemcmp.c: Update.
11176 (WMEMCMP): New macro.
11179 2011-10-12 Andreas Jaeger <aj@suse.de>
11182 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
11184 2011-10-15 Ulrich Drepper <drepper@gmail.com>
11186 * libio/iofwide.c (do_length): Avoid warning.
11188 * ctype/ctype.h (__isctype_f): Add missing __THROW.
11190 2011-10-14 Ulrich Drepper <drepper@gmail.com>
11192 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
11194 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
11195 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
11196 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
11197 * sysdeps/i386/i686/fpu/e_log.S: New file.
11198 * sysdeps/i386/i686/fpu/e_logf.S: New file.
11199 * sysdeps/i386/i686/fpu/e_logl.S: New file.
11201 * ctype/ctype.h: Add support for inlined isXXX functions when
11202 compiling C++ code.
11204 2011-10-14 Andreas Schwab <schwab@redhat.com>
11206 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11208 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
11210 2011-10-13 Roland McGrath <roland@hack.frob.com>
11213 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
11215 2011-10-13 Andreas Schwab <schwab@redhat.com>
11217 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
11218 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
11221 * sysdeps/x86_64/memrchr.S: Check for zero size.
11223 * string/stratcliff.c: Add memrchr tests.
11225 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11227 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11228 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
11229 rawmemchr-sse2 rawmemchr-sse2-bsf.
11230 * sysdeps/i386/i686/multiarch/memchr.S: New file.
11231 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
11232 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
11233 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
11234 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
11235 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
11236 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
11237 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
11238 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
11239 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
11240 * string/memrchr.c (MEMRCHR): New macro.
11242 2011-10-12 Ulrich Drepper <drepper@gmail.com>
11244 Add integration with gcc's -ffinite-math-only and optimize wrapper
11246 * Versions.def: Define GLIBC_2.15 version for libm.
11247 * math/Makefile (headers): Add bits/math-finite.h.
11248 * math/bits/math-finite.h: New file.
11249 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
11250 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
11251 * math/e_acoshl.c: Add __*_finite alias.
11252 * math/e_acosl.c: Likewise.
11253 * math/e_asinl.c: Likewise.
11254 * math/e_atan2l.c: Likewise.
11255 * math/e_atanhl.c: Likewise.
11256 * math/e_coshl.c: Likewise.
11257 * math/e_exp10.c: Likewise.
11258 * math/e_exp10f.c: Likewise.
11259 * math/e_exp10l.c: Likewise.
11260 * math/e_exp2l.c: Likewise.
11261 * math/e_fmodl.c: Likewise.
11262 * math/e_gammal_r.c: Likewise.
11263 * math/e_hypotl.c: Likewise.
11264 * math/e_j0l.c: Likewise.
11265 * math/e_j1l.c: Likewise.
11266 * math/e_jnl.c: Likewise.
11267 * math/e_lgammal_r.c: Likewise.
11268 * math/e_log10l.c: Likewise.
11269 * math/e_log2l.c: Likewise.
11270 * math/e_logl.c: Likewise.
11271 * math/e_powl.c: Likewise.
11272 * math/e_sinhl.c: Likewise.
11273 * math/e_sqrtl.c: Likewise.
11274 * math/e_scalb.c: Completely rewritten and optimized.
11275 * math/e_scalbf.c: Likewise.
11276 * math/e_scalbl.c: Likewise.
11277 * math/w_acos.c: Likewise.
11278 * math/w_acosf.c: Likewise.
11279 * math/w_acosl.c: Likewise.
11280 * math/w_acosh.c: Likewise.
11281 * math/w_acoshf.c: Likewise.
11282 * math/w_acoshl.c: Likewise.
11283 * math/w_asin.c: Likewise.
11284 * math/w_asinf.c: Likewise.
11285 * math/w_asinl.c: Likewise.
11286 * math/w_atan2.c: Likewise.
11287 * math/w_atan2f.c: Likewise.
11288 * math/w_atan2l.c: Likewise.
11289 * math/w_atanh.c: Likewise.
11290 * math/w_atanhf.c: Likewise.
11291 * math/w_atanhl.c: Likewise.
11292 * math/w_exp10.c: Likewise.
11293 * math/w_exp10f.c: Likewise.
11294 * math/w_exp10l.c: Likewise.
11295 * math/w_fmod.c: Likewise.
11296 * math/w_fmodf.c: Likewise.
11297 * math/w_fmodl.c: Likewise.
11298 * math/w_j0.c: Likewise.
11299 * math/w_j0f.c: Likewise.
11300 * math/w_j0l.c: Likewise.
11301 * math/w_j1.c: Likewise.
11302 * math/w_j1f.c: Likewise.
11303 * math/w_j1l.c: Likewise.
11304 * math/w_jn.c: Likewise.
11305 * math/w_jnf.c: Likewise.
11306 * math/w_log.c: Likewise.
11307 * math/w_logf.c: Likewise.
11308 * math/w_logl.c: Likewise.
11309 * math/w_log10.c: Likewise.
11310 * math/w_log10f.c: Likewise.
11311 * math/w_log10l.c: Likewise.
11312 * math/w_log2.c: Likewise.
11313 * math/w_log2f.c: Likewise.
11314 * math/w_log2l.c: Likewise.
11315 * math/w_pow.c: Likewise.
11316 * math/w_powf.c: Likewise.
11317 * math/w_powl.c: Likewise.
11318 * math/w_remainder.c: Likewise.
11319 * math/w_remainderf.c: Likewise.
11320 * math/w_remainderl.c: Likewise.
11321 * math/w_scalb.c: Likewise.
11322 * math/w_scalbf.c: Likewise.
11323 * math/w_scalbl.c: Likewise.
11324 * math/w_sqrt.c: Likewise.
11325 * math/w_sqrtf.c: Likewise.
11326 * math/w_sqrtl.c: Likewise.
11327 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
11328 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
11330 * math/math_private.h: Declare __kernel_standard_f.
11331 * math/w_cosh.c: Remove cruft and optimize a bit.
11332 * math/w_coshf.c: Likewise.
11333 * math/w_coshl.c: Likewise.
11334 * math/w_exp2.c: Likewise.
11335 * math/w_exp2f.c: Likewise.
11336 * math/w_exp2l.c: Likewise.
11337 * math/w_hypot.c: Likewise.
11338 * math/w_hypotf.c: Likewise.
11339 * math/w_hypotl.c: Likewise.
11340 * math/w_lgamma.c: Likewise.
11341 * math/w_lgamma_r.c: Likewise.
11342 * math/w_lgammaf.c: Likewise.
11343 * math/w_lgammaf_r.c: Likewise.
11344 * math/w_lgammal.c: Likewise.
11345 * math/w_lgammal_r.c: Likewise.
11346 * math/w_sinh.c: Likewise.
11347 * math/w_sinhf.c: Likewise.
11348 * math/w_sinhl.c: Likewise.
11349 * math/w_tgamma.c: Likewise.
11350 * math/w_tgammaf.c: Likewise.
11351 * math/w_tgammal.c: Likewise.
11352 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11353 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11354 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
11355 Minor optimizations. Pretty printing. Remove cruft.
11356 * sysdeps/i386/fpu/e_acosf.S: Likewise.
11357 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11358 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11359 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11360 * sysdeps/i386/fpu/e_acosl.c: Likewise.
11361 * sysdeps/i386/fpu/e_asin.S: Likewise.
11362 * sysdeps/i386/fpu/e_asinf.S: Likewise.
11363 * sysdeps/i386/fpu/e_atan2.S: Likewise.
11364 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
11365 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
11366 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11367 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11368 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11369 * sysdeps/i386/fpu/e_exp10.S: Likewise.
11370 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
11371 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
11372 * sysdeps/i386/fpu/e_exp2.S: Likewise.
11373 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
11374 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
11375 * sysdeps/i386/fpu/e_fmod.S: Likewise.
11376 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
11377 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
11378 * sysdeps/i386/fpu/e_hypot.S: Likewise.
11379 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
11380 * sysdeps/i386/fpu/e_log.S: Likewise.
11381 * sysdeps/i386/fpu/e_log10.S: Likewise.
11382 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11383 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11384 * sysdeps/i386/fpu/e_log2.S: Likewise.
11385 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11386 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11387 * sysdeps/i386/fpu/e_logf.S: Likewise.
11388 * sysdeps/i386/fpu/e_logl.S: Likewise.
11389 * sysdeps/i386/fpu/e_pow.S: Likewise.
11390 * sysdeps/i386/fpu/e_powf.S: Likewise.
11391 * sysdeps/i386/fpu/e_powl.S: Likewise.
11392 * sysdeps/i386/fpu/e_remainder.S: Likewise.
11393 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
11394 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
11395 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11396 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11397 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11398 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
11399 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
11400 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
11401 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11402 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11403 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11404 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11405 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11406 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11407 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11408 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11409 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11410 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11411 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11412 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11413 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11414 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11415 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11416 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11417 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11418 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11419 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11420 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11421 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11422 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
11423 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11424 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11425 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
11426 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11427 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11428 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
11429 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11430 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
11431 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11432 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11433 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11434 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11435 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
11436 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
11437 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
11438 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
11439 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
11440 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11441 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
11442 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11443 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
11444 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11445 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11446 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11447 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11448 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11449 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11450 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11451 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11452 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11453 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11454 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11455 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11456 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11457 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11458 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11459 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11460 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11461 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11462 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
11463 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11464 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11465 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
11466 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11467 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
11468 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
11469 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
11470 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11471 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11472 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11473 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11474 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11475 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11476 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11477 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11478 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11479 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11480 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11481 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11482 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11483 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
11484 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11485 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11486 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11487 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11488 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11489 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11490 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11491 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11492 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11493 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11494 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11495 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11496 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
11497 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
11498 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
11499 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
11500 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
11501 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
11502 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
11503 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
11504 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
11505 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11506 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11507 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11508 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11509 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
11510 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11511 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
11512 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
11513 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
11514 (__isnanf): Likewise.
11515 (__isinf_ns): Likewise.
11516 (__isinf_nsf): Likewise.
11517 (__finite): Likewise.
11518 (__finitef): Likewise.
11519 (__ieee754_sqrt): Define as macro.
11520 (__ieee754_sqrtf): Define as macro.
11521 (__ieee754_sqrtl): Define as macro.
11522 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
11524 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
11525 __FINITE_MATH_ONLY__ consistent.
11526 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
11528 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
11530 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
11533 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
11535 2011-10-09 Ulrich Drepper <drepper@gmail.com>
11537 * po/ja.po: Update from translation team.
11539 2011-10-08 Roland McGrath <roland@hack.frob.com>
11541 * locale/programs/locarchive.c (prepare_address_space): New function.
11542 (create_archive, enlarge_archive, open_archive): Use it.
11544 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
11545 inside [SHARED], where it is used.
11547 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
11549 * nss/getent.c (netgroup_keys): Remove unused variable.
11550 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
11552 2011-10-08 Ulrich Drepper <drepper@gmail.com>
11554 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
11555 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
11556 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
11557 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
11558 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
11559 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
11560 * math/Makefile (libm-calls): Add s_isinf_ns.
11561 * math/divtc3.c: Use __isinf_nsl instead of isinf.
11562 * math/multc3.c: Likewise.
11563 * math/s_casin.c: Likewise.
11564 * math/s_casinf.c: Likewise.
11565 * math/s_casinl.c: Likewise.
11566 * math/s_ccos.c: Likewise.
11567 * math/s_ccosf.c: Likewise.
11568 * math/s_ccosl.c: Likewise.
11569 * math/s_ctan.c: Likewise.
11570 * math/s_ctanf.c: Likewise.
11571 * math/s_ctanh.c: Likewise.
11572 * math/s_ctanhf.c: Likewise.
11573 * math/s_ctanhl.c: Likewise.
11574 * math/s_ctanl.c: Likewise.
11575 * math/w_fmod.c: Likewise.
11576 * math/w_fmodf.c: Likewise.
11577 * math/w_fmodl.c: Likewise.
11578 * math/w_remainder.c: Likewise.
11579 * math/w_remainderf.c: Likewise.
11580 * math/w_remainderl.c: Likewise.
11581 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
11582 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
11583 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
11584 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
11585 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
11586 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
11587 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
11588 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
11590 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
11592 * stdio-common/printf_fphex.c: Likewise.
11593 * stdio-common/printf_size.c: Likewise.
11595 * math/e_exp10.c: Include math_private.h using <...> not "...".
11596 * math/e_exp10f.c: Likewise.
11597 * math/e_exp10l.c: Likewise.
11598 * math/e_exp2l.c: Likewise.
11599 * math/e_j0l.c: Likewise.
11600 * math/e_j1l.c: Likewise.
11601 * math/e_jnl.c: Likewise.
11602 * math/e_lgammal_r.c: Likewise.
11603 * math/e_rem_pio2l.c: Likewise.
11604 * math/e_scalb.c: Likewise.
11605 * math/e_scalbf.c: Likewise.
11606 * math/e_scalbl.c: Likewise.
11607 * math/k_cosl.c: Likewise.
11608 * math/k_sinl.c: Likewise.
11609 * math/k_tanl.c: Likewise.
11610 * math/s_cacoshf.c: Likewise.
11611 * math/s_catan.c: Likewise.
11612 * math/s_catanf.c: Likewise.
11613 * math/s_catanh.c: Likewise.
11614 * math/s_catanhf.c: Likewise.
11615 * math/s_catanhl.c: Likewise.
11616 * math/s_catanl.c: Likewise.
11617 * math/s_ccosh.c: Likewise.
11618 * math/s_ccoshf.c: Likewise.
11619 * math/s_ccoshl.c: Likewise.
11620 * math/s_cexp.c: Likewise.
11621 * math/s_cexpf.c: Likewise.
11622 * math/s_cexpl.c: Likewise.
11623 * math/s_clog.c: Likewise.
11624 * math/s_clog10.c: Likewise.
11625 * math/s_clog10f.c: Likewise.
11626 * math/s_clog10l.c: Likewise.
11627 * math/s_clogf.c: Likewise.
11628 * math/s_clogl.c: Likewise.
11629 * math/s_csin.c: Likewise.
11630 * math/s_csinf.c: Likewise.
11631 * math/s_csinh.c: Likewise.
11632 * math/s_csinhf.c: Likewise.
11633 * math/s_csinhl.c: Likewise.
11634 * math/s_csinl.c: Likewise.
11635 * math/s_csqrt.c: Likewise.
11636 * math/s_csqrtf.c: Likewise.
11637 * math/s_csqrtl.c: Likewise.
11638 * math/s_ctan.c: Likewise.
11639 * math/s_ctanf.c: Likewise.
11640 * math/s_ctanh.c: Likewise.
11641 * math/s_ctanhf.c: Likewise.
11642 * math/s_ctanhl.c: Likewise.
11643 * math/s_ctanl.c: Likewise.
11644 * math/s_ldexp.c: Likewise.
11645 * math/s_ldexpf.c: Likewise.
11646 * math/s_ldexpl.c: Likewise.
11647 * math/s_significand.c: Likewise.
11648 * math/s_significandf.c: Likewise.
11649 * math/s_significandl.c: Likewise.
11650 * math/w_acos.c: Likewise.
11651 * math/w_acosf.c: Likewise.
11652 * math/w_acosh.c: Likewise.
11653 * math/w_acoshf.c: Likewise.
11654 * math/w_acoshl.c: Likewise.
11655 * math/w_acosl.c: Likewise.
11656 * math/w_asin.c: Likewise.
11657 * math/w_asinf.c: Likewise.
11658 * math/w_asinl.c: Likewise.
11659 * math/w_atan2.c: Likewise.
11660 * math/w_atan2f.c: Likewise.
11661 * math/w_atan2l.c: Likewise.
11662 * math/w_atanh.c: Likewise.
11663 * math/w_atanhf.c: Likewise.
11664 * math/w_atanhl.c: Likewise.
11665 * math/w_cosh.c: Likewise.
11666 * math/w_coshf.c: Likewise.
11667 * math/w_coshl.c: Likewise.
11668 * math/w_dremf.c: Likewise.
11669 * math/w_exp10.c: Likewise.
11670 * math/w_exp10f.c: Likewise.
11671 * math/w_exp10l.c: Likewise.
11672 * math/w_exp2.c: Likewise.
11673 * math/w_exp2f.c: Likewise.
11674 * math/w_fmod.c: Likewise.
11675 * math/w_fmodf.c: Likewise.
11676 * math/w_fmodl.c: Likewise.
11677 * math/w_hypot.c: Likewise.
11678 * math/w_hypotf.c: Likewise.
11679 * math/w_hypotl.c: Likewise.
11680 * math/w_j0.c: Likewise.
11681 * math/w_j0f.c: Likewise.
11682 * math/w_j0l.c: Likewise.
11683 * math/w_j1.c: Likewise.
11684 * math/w_j1f.c: Likewise.
11685 * math/w_j1l.c: Likewise.
11686 * math/w_jn.c: Likewise.
11687 * math/w_jnf.c: Likewise.
11688 * math/w_jnl.c: Likewise.
11689 * math/w_lgamma.c: Likewise.
11690 * math/w_lgamma_r.c: Likewise.
11691 * math/w_lgammaf.c: Likewise.
11692 * math/w_lgammaf_r.c: Likewise.
11693 * math/w_lgammal.c: Likewise.
11694 * math/w_lgammal_r.c: Likewise.
11695 * math/w_log.c: Likewise.
11696 * math/w_log10.c: Likewise.
11697 * math/w_log10f.c: Likewise.
11698 * math/w_log10l.c: Likewise.
11699 * math/w_log2.c: Likewise.
11700 * math/w_log2f.c: Likewise.
11701 * math/w_log2l.c: Likewise.
11702 * math/w_logf.c: Likewise.
11703 * math/w_logl.c: Likewise.
11704 * math/w_pow.c: Likewise.
11705 * math/w_powf.c: Likewise.
11706 * math/w_powl.c: Likewise.
11707 * math/w_remainder.c: Likewise.
11708 * math/w_remainderf.c: Likewise.
11709 * math/w_remainderl.c: Likewise.
11710 * math/w_scalb.c: Likewise.
11711 * math/w_scalbf.c: Likewise.
11712 * math/w_scalbl.c: Likewise.
11713 * math/w_sinh.c: Likewise.
11714 * math/w_sinhf.c: Likewise.
11715 * math/w_sinhl.c: Likewise.
11716 * math/w_sqrt.c: Likewise.
11717 * math/w_sqrtf.c: Likewise.
11718 * math/w_sqrtl.c: Likewise.
11719 * math/w_tgamma.c: Likewise.
11720 * math/w_tgammaf.c: Likewise.
11721 * math/w_tgammal.c: Likewise.
11723 * po/ja.po: Update from translation team.
11725 2011-09-29 Andreas Jaeger <aj@suse.de>
11728 * sunrpc/netname.c (netname2host): Fix logic.
11732 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
11734 * math/w_remainder.c (__remainder): Likewise.
11735 * math/w_remainderf.c (__remainderf): Likewise.
11736 * math/libm-test.inc (remainder_test): Add test cases.
11738 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11740 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
11743 2011-10-07 Ulrich Drepper <drepper@gmail.com>
11745 * string/test-memcmp.c: Avoid unncessary #defines.
11746 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
11748 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11750 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
11751 Use new sse2 version for core i3 - i7 as it's faster
11752 than sse42 version.
11753 (bit_Prefer_PMINUB_for_stringop): New.
11754 * sysdeps/x86_64/rawmemchr.S: Update.
11755 Replace with faster SSE2 version.
11756 * sysdeps/x86_64/memrchr.S: New file.
11757 * sysdeps/x86_64/memchr.S: Update.
11758 Replace with faster SSE2 version.
11760 2011-09-12 Marek Polacek <mpolacek@redhat.com>
11762 * elf/dl-load.c (lose): Add cast to avoid warning.
11764 2011-10-07 Ulrich Drepper <drepper@gmail.com>
11766 * po/ca.po: Update from translation team.
11768 * inet/getnetgrent_r.c: Hook up nscd.
11769 * nscd/Makefile (routines): Add nscd_netgroup.
11770 (nscd-modules): Add netgroupcache.
11771 (CFLAGS-netgroupcache.c): Define.
11772 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
11773 (cache_search): Add const to second parameter.
11774 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
11776 (dbs): Add netgrdb entry.
11777 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
11778 (verify_persistent_db): Handle netgrdb.
11779 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
11780 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
11782 (netgroup_response_header): Define.
11783 (innetgroup_response_header): Define.
11784 (datahead): Add netgroup_response_header and innetgroup_response_header
11786 * nscd/nscd.conf: Add entries for netgroup cache.
11787 * nscd/nscd.h (dbtype): Add netgrdb.
11788 (_PATH_NSCD_NETGROUP_DB): Define.
11789 (netgroup_iov_disabled): Declare.
11790 (xmalloc, xcalloc, xrealloc): Move declarations here.
11791 (cache_search): Adjust prototype.
11792 Add netgroup-related prototypes.
11793 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
11794 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
11795 (__nscd_innetgr): Declare.
11796 * nscd/selinux.c (perms): Use access_vector_t as element type and
11797 add netgroup-related initializers.
11798 * nscd/netgroupcache.c: New file.
11799 * nscd/nscd_netgroup.c: New file.
11800 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
11801 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
11802 For four parameters use innetgr.
11803 * nss/nss_files/files-init.c: Add definition and callback for netgr.
11804 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
11805 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
11806 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
11808 * nscd/connections.c (register_traced_file): Don't register file
11809 for disabled databases.
11811 2011-10-06 Ulrich Drepper <drepper@gmail.com>
11813 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
11815 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
11816 from tree and freeing node.
11818 2011-09-25 Jiri Olsa <jolsa@redhat.com>
11820 * nss/nsswitch.c (__nss_database_lookup): Handle
11821 nss_parse_service_list out of memory case.
11823 2011-09-15 Jiri Olsa <jolsa@redhat.com>
11825 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
11826 out of memory case.
11828 2011-10-04 Andreas Schwab <schwab@redhat.com>
11830 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
11831 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
11833 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
11834 elf_machine_rela, elf_machine_lazy_rel.
11835 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
11836 (ELF_DYNAMIC_DO_REL): Likewise.
11837 (ELF_DYNAMIC_DO_RELA): Likewise.
11838 (ELF_DYNAMIC_RELOCATE): Likewise.
11839 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
11840 to ELF_DYNAMIC_DO_REL.
11841 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
11842 (dl_main): In trace mode always set __RTLD_NOIFUNC.
11843 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
11845 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
11846 skip_ifunc, don't call ifunc function if non-zero.
11847 (elf_machine_rela): Likewise.
11848 (elf_machine_lazy_rel): Likewise.
11849 (elf_machine_lazy_rela): Likewise.
11850 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
11851 (elf_machine_lazy_rel): Likewise.
11852 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
11854 (elf_machine_lazy_rel): Likewise.
11855 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11857 (elf_machine_lazy_rel): Likewise.
11858 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
11859 (elf_machine_lazy_rel): Likewise.
11860 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
11861 (elf_machine_lazy_rel): Likewise.
11862 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11863 (elf_machine_lazy_rel): Likewise.
11864 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
11865 (elf_machine_lazy_rel): Likewise.
11866 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
11867 (elf_machine_lazy_rel): Likewise.
11868 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
11869 (elf_machine_lazy_rel): Likewise.
11871 2011-09-28 Ulrich Drepper <drepper@gmail.com>
11873 * nss/nss_files/files-init.c (_nss_files_init): Use static
11874 initialization for all the *_traced_file variables.
11876 2011-09-28 Andreas Schwab <schwab@redhat.com>
11878 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11880 2011-09-27 Roland McGrath <roland@hack.frob.com>
11883 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
11885 2011-09-27 Andreas Schwab <schwab@redhat.com>
11887 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11888 Reread the line before reparsing it.
11890 2011-09-26 Andreas Schwab <schwab@redhat.com>
11892 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
11894 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
11895 Maxim Kuvyrkov <maxim@codesourcery.com>
11896 Joseph Myers <joseph@codesourcery.com>
11898 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
11899 if needed for __stack_chk_guard.
11901 2011-09-19 Roland McGrath <roland@hack.frob.com>
11903 * sysdeps/posix/spawni.c (script_execute): Always define it.
11904 It will be optimized away if unused.
11905 (maybe_script_execute): New function.
11906 (__spawni): Call it.
11908 * Makerules: Don't include tls.make.
11909 (config-tls): Always set to thread.
11910 * tls.make.c: File removed.
11912 2011-09-19 Mike Frysinger <vapier@gentoo.org>
11914 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
11915 * config.make.in (CPPFLAGS-config): New substituted variable.
11917 2011-09-15 Ulrich Drepper <drepper@gmail.com>
11919 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
11922 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
11923 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
11925 2011-09-15 Roland McGrath <roland@hack.frob.com>
11927 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
11928 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
11929 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
11930 (CALL_FAIL): Likewise.
11931 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
11932 (CALL_FAIL): Macro removed.
11933 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
11935 2011-09-15 Ulrich Drepper <drepper@gmail.com>
11937 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
11938 for __FINITE_MATH_ONLY__ == 1.
11940 2011-09-15 Andreas Schwab <schwab@redhat.com>
11942 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
11943 __ieee754_sqrt instead of sqrt.
11944 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
11945 __ieee754_sqrtf instead of sqrtf.
11946 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
11947 __floorf instead of floorf.
11948 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
11949 __floorf, __truncf instead of floorf, truncf.
11951 2011-09-14 Ulrich Drepper <drepper@gmail.com>
11953 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
11955 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
11956 __extern_always_inline.
11957 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
11960 2011-09-14 Andreas Schwab <schwab@redhat.com>
11962 * elf/rtld.c (dl_main): Also relocate in dependency order when
11963 doing symbol dependency testing.
11965 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
11967 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11968 Always define `refsym'.
11970 2011-09-13 Andreas Schwab <schwab@redhat.com>
11972 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
11973 (__FD_ELT): Renamed from __FDELT.
11974 * misc/bits/select2.h (__FD_ELT): Likewise.
11975 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
11976 __FD_MASK instead of __FDELT, __FDMASK.
11977 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11979 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11982 * elf/Makefile (gen-ldd): Fix pattern.
11984 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
11985 (init_tls): Likewise.
11987 2011-09-12 Ulrich Drepper <drepper@gmail.com>
11989 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
11991 2011-09-12 Andreas Schwab <schwab@redhat.com>
11993 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
11994 `struct cmsghdr *' instead of `void *'.
11995 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
11998 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
12000 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
12002 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
12003 ldd_rewrite_script.
12005 2011-09-11 Ulrich Drepper <drepper@gmail.com>
12007 * configure.in: Remove --with-tls option.
12008 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
12009 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
12010 out in case it is missing.
12011 * sysdeps/ia64/elf/configure.in: Likewise.
12012 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
12013 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
12014 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
12015 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
12016 * sysdeps/sh/elf/configure.in: Likewise.
12017 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
12018 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
12019 * sysdeps/x86_64/elf/configure.in: Likewise.
12020 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
12021 * sysdeps/mach/hurd/tls.h: Likewise.
12024 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
12027 * configure.in: Fix use of AC_INIT.
12029 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
12031 2011-09-10 Ulrich Drepper <drepper@gmail.com>
12033 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
12035 * malloc/hooks.c: Likewise.
12038 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
12039 variables statically.
12040 (narenas): Initialize.
12041 (list_lock): Initialize.
12042 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
12043 initializtion of main_arena and list_lock. Small cleanups.
12044 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
12045 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
12046 Add initializers to main_arena and mp_.
12047 (malloc_state): Remove pagesize member. Change all users to use
12050 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
12051 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
12052 is always initialized.
12054 * malloc/malloc.c: Removed unused configurations and dead code.
12055 * malloc/arena.c: Likewise.
12056 * malloc/hooks.c: Likewise.
12057 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
12059 * include/tls.h: Removed. USE___THREAD must always be defined.
12060 * bits/libc-tsd.h: Don't handle !USE___THREAD.
12061 * elf/dl-libc.c: Likewise.
12062 * elf/dl-tsd.c: Likewise.
12063 * include/errno.h: Likewise.
12064 * include/netdb.h: Likewise.
12065 * include/resolv.h: Likewise.
12066 * inet/herrno-loc.c: Likewise.
12067 * inet/herrno.c: Likewise.
12068 * malloc/arena.c: Likewise.
12069 * malloc/hooks.c: Likewise.
12070 * malloc/malloc.c: Likewise.
12071 * resolv/res-state.c: Likewise.
12072 * resolv/res_libc.c: Likewise.
12073 * sysdeps/i386/dl-machine.h: Likewise.
12074 * sysdeps/ia64/dl-machine.h: Likewise.
12075 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
12076 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
12077 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
12078 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
12079 * sysdeps/sh/dl-machine.h: Likewise.
12080 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
12081 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
12082 * sysdeps/unix/i386/sysdep.S: Likewise.
12083 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12084 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
12085 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
12086 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12087 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
12088 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12089 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12090 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12091 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12092 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12093 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12094 * sysdeps/x86_64/dl-machine.h: Likewise.
12095 * tls.make.c: Likewise.
12097 * configure.in: Remove --with-__thread option. Make tests for
12098 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
12099 tls_model attribute fail if no support is available. Remove
12101 * Makeconfig: Adjust for dropped configure option. All features are
12103 * Makerules: Likewise.
12104 * Versions.def: Likewise.
12105 * argp/argp-fmtstream.c: Likewise.
12106 * argp/argp-fmtstream.h: Likewise.
12107 * argp/argp-help.c: Likewise.
12108 * assert/assert.c: Likewise.
12109 * config.h.in: Likewise.
12110 * config.make.in: Likewise.
12111 * configure: Likewise.
12112 * configure.in: Likewise.
12113 * csu/Versions: Likewise.
12114 * csu/init.c: Likewise.
12115 * elf/tst-audit2.c: Likewise.
12116 * elf/tst-tls10.c: Likewise.
12117 * elf/tst-tls10.h: Likewise.
12118 * elf/tst-tls11.c: Likewise.
12119 * elf/tst-tls12.c: Likewise.
12120 * elf/tst-tls14.c: Likewise.
12121 * elf/tst-tlsmod11.c: Likewise.
12122 * elf/tst-tlsmod12.c: Likewise.
12123 * elf/tst-tlsmod13.c: Likewise.
12124 * elf/tst-tlsmod13a.c: Likewise.
12125 * elf/tst-tlsmod14a.c: Likewise.
12126 * elf/tst-tlsmod15b.c: Likewise.
12127 * elf/tst-tlsmod16a.c: Likewise.
12128 * elf/tst-tlsmod16b.c: Likewise.
12129 * elf/tst-tlsmod7.c: Likewise.
12130 * elf/tst-tlsmod8.c: Likewise.
12131 * elf/tst-tlsmod9.c: Likewise.
12132 * gmon/gmon.c: Likewise.
12133 * grp/fgetgrent_r.c: Likewise.
12134 * grp/putgrent.c: Likewise.
12135 * hurd/fopenport.c: Likewise.
12136 * include/libc-symbols.h: Likewise.
12137 * include/tls.h: Likewise.
12138 * intl/gettextP.h: Likewise.
12139 * intl/loadinfo.h: Likewise.
12140 * locale/global-locale.c: Likewise.
12141 * locale/localeinfo.h: Likewise.
12142 * mach/devstream.c: Likewise.
12143 * malloc/arena.c: Likewise.
12144 * malloc/set-freeres.c: Likewise.
12145 * misc/err.c: Likewise.
12146 * misc/getttyent.c: Likewise.
12147 * misc/mntent_r.c: Likewise.
12148 * posix/getopt.c: Likewise.
12149 * posix/wordexp.c: Likewise.
12150 * pwd/fgetpwent_r.c: Likewise.
12151 * resolv/Versions: Likewise.
12152 * resolv/res_hconf.c: Likewise.
12153 * shadow/fgetspent_r.c: Likewise.
12154 * shadow/putspent.c: Likewise.
12155 * stdio-common/printf_fphex.c: Likewise.
12156 * stdio-common/tmpfile.c: Likewise.
12157 * stdlib/abort.c: Likewise.
12158 * stdlib/fmtmsg.c: Likewise.
12159 * sunrpc/auth_unix.c: Likewise.
12160 * sunrpc/clnt_perr.c: Likewise.
12161 * sunrpc/clnt_tcp.c: Likewise.
12162 * sunrpc/clnt_udp.c: Likewise.
12163 * sunrpc/clnt_unix.c: Likewise.
12164 * sunrpc/openchild.c: Likewise.
12165 * sunrpc/svc_simple.c: Likewise.
12166 * sunrpc/svc_tcp.c: Likewise.
12167 * sunrpc/svc_udp.c: Likewise.
12168 * sunrpc/svc_unix.c: Likewise.
12169 * sunrpc/xdr.c: Likewise.
12170 * sunrpc/xdr_array.c: Likewise.
12171 * sunrpc/xdr_rec.c: Likewise.
12172 * sunrpc/xdr_ref.c: Likewise.
12173 * sunrpc/xdr_stdio.c: Likewise.
12175 2011-09-09 Ulrich Drepper <drepper@gmail.com>
12177 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12179 2011-07-03 Andreas Jaeger <aj@suse.de>
12181 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
12182 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
12183 regenerate with gen-libm-tests.pl.
12185 2010-05-12 Petr Baudis <pasky@suse.cz>
12188 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
12189 around j0() zero points by switching to j1().
12190 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12191 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12192 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12193 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12195 2011-09-09 Ulrich Drepper <drepper@gmail.com>
12197 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
12199 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
12201 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12202 Patch in part by Pavel Roskin <proski@gnu.org>.
12205 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
12207 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
12208 Free memory block if necessary.
12211 * libio/genops.c (INTDEF): For string streams the _lock pointer can
12212 be NULL. Don't lock in this case.
12214 2011-09-09 Roland McGrath <roland@hack.frob.com>
12216 * elf/elf.h (ELFOSABI_GNU): New macro.
12217 (ELFOSABI_LINUX): Define to that.
12219 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
12221 * string/strncat.c (strncat): Undef the symbol in case it has been
12222 defined in bits/string.h.
12224 2011-09-09 Ulrich Drepper <drepper@gmail.com>
12226 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
12228 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
12231 2011-08-17 Andreas Jaeger <aj@suse.de>
12233 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
12235 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
12236 Ian Lance Taylor <iant@google.com>
12238 * math/libm-test.inc (lround_test): New testcase.
12239 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
12241 2011-09-08 Ulrich Drepper <drepper@gmail.com>
12243 * Makefile: Remove support for automatic cvs check-ins.
12244 * Makerules: Likewise.
12245 * config.make.in: Likewise.
12246 * configure.in: Likewise.
12247 * intl/Makefile: Likewise.
12248 * locale/Makefile: Likewise.
12249 * po/Makefile: Likewise.
12250 * posix/Makefile: Likewise.
12251 * sysdeps/gnu/Makefile: Likewise.
12252 * sysdeps/mach/hurd/Makefile: Likewise.
12253 * sysdeps/sparc/sparc32/Makefile: Likewise.
12256 * posix/Makefile (bug-regex32-ENV): Define.
12257 Patch by John Stanley <jpsinthemix@verizon.net>.
12259 * misc/Makefile (headers): Add bits/select2.h.
12260 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
12261 * misc/bits/select2.h: New file.
12262 * include/bits/select2.h: New file.
12263 * debug/Makefile (routines): Add fdelt_chk.
12264 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
12265 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
12267 * debug/fdelt_chk.c: New file.
12269 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
12270 * wcsmbs/test-wmemcmp.c: Likewise.
12271 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
12272 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
12274 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12276 * string/Makefile (strop-tests): Add memcmp.
12277 * string/test-wmemcmp.c: New file.
12278 * string/test-memcmp.c: Add wmemcmp support.
12280 2011-09-08 Roland McGrath <roland@hack.frob.com>
12283 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
12286 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
12287 garbage value in a __mach_port_mod_refs call in the cases of the
12288 task-self and thread-self ports.
12290 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
12292 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
12294 2011-09-08 Andreas Schwab <schwab@redhat.com>
12296 * elf/dl-load.c (lose): Check for non-null L.
12298 2011-09-07 Ulrich Drepper <drepper@gmail.com>
12300 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
12302 * elf/dl-libc.c (dlerror_run): Pass back error code from
12306 * elf/dl-load.c (lose): Free l_origin if it is valid.
12308 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
12310 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
12311 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12312 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12313 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12314 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
12315 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
12317 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12319 * sysdeps/powerpc/fpu/e_hypot.c: New file.
12320 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
12321 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
12322 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
12323 * sysdeps/powerpc/fpu/k_cosf.c: New file.
12324 * sysdeps/powerpc/fpu/k_sinf.c: New file.
12325 * sysdeps/powerpc/fpu/s_cosf.c: New file.
12326 * sysdeps/powerpc/fpu/s_sinf.c: New file.
12327 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
12328 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
12330 2011-08-15 Alan Modra <amodra@gmail.com>
12333 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
12334 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
12335 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
12336 ppc_mcount to static-only-routines.
12337 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
12339 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
12340 __mcount_internal with usual JUMPTARGET. Remove useless nop.
12342 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
12344 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
12345 for finite and infinity parameters.
12347 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
12349 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
12350 and add nop instructions for throughput optimization.
12351 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12353 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
12355 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
12356 aligned copy for power7 with vector-scalar instructions.
12357 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12359 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
12361 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
12364 2011-09-07 Andreas Schwab <schwab@redhat.com>
12367 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
12370 2011-09-07 Ulrich Drepper <drepper@gmail.com>
12372 * sysdeps/unix/sysv/linux/x86_64/init-first.c
12373 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
12374 syscall wrapper around clock_gettime in __vdso_clock_gettime.
12375 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
12378 2011-09-06 Ulrich Drepper <drepper@gmail.com>
12380 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
12381 Forgot to demangle the pointer.
12383 * sysdeps/i386/sysdep.h: Define atom_text_section.
12384 * sysdeps/x86_64/sysdep.h: Likewise.
12385 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
12386 section with atom_text_section.
12387 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12388 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12389 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
12390 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12391 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
12393 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
12394 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
12395 already be defined. Change to take two parameters and don't assign
12396 result to variable. Adjust all users.
12397 Define INTERNAL_GETTIME if not already defined.
12398 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
12400 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
12401 HAVE_CLOCK_GETTIME_VSYSCALL.
12402 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
12404 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
12405 gettimeofday vsyscall, just use time.
12407 2011-09-06 Andreas Schwab <schwab@redhat.com>
12409 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
12412 2011-09-06 Ulrich Drepper <drepper@gmail.com>
12414 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
12416 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
12418 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
12419 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
12420 syscall if possible.
12422 2011-09-05 Ulrich Drepper <drepper@gmail.com>
12424 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
12425 e_ident. Don't pass to find_mapsXX.
12426 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
12428 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12430 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12431 strchr-sse2-no-bsf strrchr-sse2-no-bsf
12432 * sysdeps/x86_64/multiarch/strchr.S: Update.
12433 Check bit_slow_BSF bit.
12434 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12435 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
12436 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
12438 2011-09-05 Ulrich Drepper <drepper@gmail.com>
12441 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
12443 (tryshell): Define.
12444 (__spawni): Change last parameter to be flag. Test
12445 SPAWN_XFLAGS_USE_PATH flag to use path or not.
12446 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
12447 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
12448 * posix/spawni.c: Likewise.
12449 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
12450 * posix/spawnp.c: Likewise. Change normal version to use
12451 SPAWN_XFLAGS_USE_PATH.
12452 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
12453 SPAWN_XFLAGS_TRY_SHELL.
12456 * posix/glob.h: Remove gcc 1.x support.
12459 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
12461 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12463 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12464 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
12466 * sysdeps/i386/i686/multiarch/strchr.S: New file.
12467 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
12468 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
12469 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
12470 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
12471 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
12473 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12475 * sysdeps/x86_64/wcscmp.S: New file.
12477 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
12478 wcscmp-c wcscmp-sse2
12479 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
12480 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
12481 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
12482 * wcsmbs/wcscmp.c: Allow renaming.
12484 2011-09-05 David S. Miller <davem@davemloft.net>
12486 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
12487 stack slot, rather than the struct return pointer slot.
12488 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
12489 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
12490 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
12491 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
12493 2011-09-05 Ulrich Drepper <drepper@gmail.com>
12495 * po/ja.po: Update from translation team.
12498 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
12499 kernel in 64-bit binaries.
12501 2011-09-01 David S. Miller <davem@davemloft.net>
12503 * elf/elf.h (HWCAP_SPARC_*): Move to..
12504 * sysdeps/sparc/sysdep.h: this new file and add new values.
12505 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
12506 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
12507 _DL_HWCAP_COUNT to 24.
12508 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12510 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
12511 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
12512 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
12513 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
12514 instead of magic constants.
12515 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12517 2011-08-31 David S. Miller <davem@davemloft.net>
12519 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
12520 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
12521 Reimplement to do errno handling inline.
12522 (SYSCALL_ERROR_HANDLER): New macro.
12523 (__SYSCALL_STRING): Do not do errno handling in asm.
12524 (__CLONE_SYSCALL_STRING): Delete.
12525 (__INTERNAL_SYSCALL_STRING): Delete.
12526 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
12527 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
12528 (PSEUDO): Reimplement to do errno handling inline.
12529 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
12530 (SYSCALL_ERROR_HANDLER): New macro.
12531 (__SYSCALL_STRING): Do not do errno handling in asm.
12532 (__CLONE_SYSCALL_STRING): Delete.
12533 (__INTERNAL_SYSCALL_STRING): Delete.
12534 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
12535 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
12537 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
12538 (inline_syscall*): Add 'err' argument.
12539 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
12540 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
12541 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
12542 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
12544 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
12545 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
12547 2011-08-30 Andreas Schwab <schwab@redhat.com>
12549 * elf/rtld.c (dl_main): Relocate objects in dependency order.
12551 2011-08-29 Jiri Olsa <jolsa@redhat.com>
12553 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
12556 2011-08-24 David S. Miller <davem@davemloft.net>
12558 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
12560 2011-08-24 Andreas Schwab <schwab@redhat.com>
12562 * elf/Makefile: Add rules to build and run unload8 test.
12563 * elf/unload8.c: New file.
12564 * elf/unload8mod1.c: New file.
12565 * elf/unload8mod1x.c: New file.
12566 * elf/unload8mod2.c: New file.
12567 * elf/unload8mod3.c: New file.
12569 * elf/dl-close.c (_dl_close_worker): Reset private search list if
12572 2011-08-23 David S. Miller <davem@davemloft.net>
12574 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
12575 subtract stack bias.
12576 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
12577 %sp not %fp in calculations.
12578 (_JMPBUF_UNWINDS_ADJ): Likewise.
12580 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
12581 (aio_suspend): Call it to force an exception region around the
12582 AIO_MISC_WAIT() invocation.
12584 2011-08-23 Andreas Schwab <schwab@redhat.com>
12586 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
12589 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
12591 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
12593 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
12594 and <dl-machine.h>.
12595 (Elf64_FuncDesc): Remove.
12597 2011-08-22 David S. Miller <davem@davemloft.net>
12599 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
12600 sigaltstack check, add missing cfi directives.
12601 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
12602 missing cfi directives, and sigaltstack handling.
12604 2011-08-16 Andreas Schwab <schwab@redhat.com>
12607 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
12608 object is seen twice.
12609 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12611 * elf/Makefile (distribute): Add tst-initorder2.c.
12612 (tests): Add tst-initorder2.
12613 (modules-names): Add tst-initorder2a tst-initorder2b
12614 tst-initorder2c tst-initorder2d. Add rules to build them.
12615 ($(objpfx)tst-initorder2.out): New rule.
12616 * elf/tst-initorder2.c: New file.
12617 * elf/tst-initorder2.exp: New file.
12619 2011-08-22 Andreas Schwab <schwab@redhat.com>
12621 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
12623 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
12624 dependencies back to end of function.
12626 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
12627 $(elfobjdir)/ld.so.
12629 2011-08-21 Ulrich Drepper <drepper@gmail.com>
12631 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
12632 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
12633 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
12634 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
12635 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
12636 of __vdso_gettimeofday.
12637 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
12638 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
12640 (_libc_vdso_platform_setup): Remove initialization of
12641 __vdso_gettimeofday and __vdso_time.
12643 2011-08-20 Ulrich Drepper <drepper@gmail.com>
12645 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
12646 and fgetc_unlocked.
12647 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
12650 * elf/dl-open.c (add_to_global): Report additions to the global scope
12651 for LD_DEBUG=scopes.
12652 (dl_open_worker): Also print scope of newly loaded dependencies.
12653 (_dl_show_scope): Indicate if there is no scope.
12656 * stdio-common/Makefile (tests): Add bug24.
12657 * stdio-common/bug24.c: New file.
12659 2011-08-19 Andreas Jaeger <aj@suse.de>
12662 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
12663 non-existant file when using close-on-exec mode.
12665 2011-08-20 Ulrich Drepper <drepper@gmail.com>
12667 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
12668 the very first instruction.
12670 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
12671 the CFI state in the end.
12672 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
12673 inclusion of dl-trampoline.h.
12674 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
12676 2011-08-19 Andreas Schwab <schwab@redhat.com>
12678 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
12679 expectations for long double.
12681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
12682 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
12684 2011-08-14 David S. Miller <davem@davemloft.net>
12686 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
12687 artificual limit depends upon the system page size.
12689 2011-08-17 Ulrich Drepper <drepper@gmail.com>
12691 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
12692 * resolv/Makefile: Define CFLAGS-libresolv.
12694 2011-08-17 Andreas Schwab <schwab@redhat.com>
12696 * nss/makedb.c (compute_tables): Make variables used in nested
12699 2011-08-17 Ulrich Drepper <drepper@gmail.com>
12701 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
12702 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
12703 if buffer was too small.
12705 * elf/pldd.c (main): Attach to all threads in the process.
12706 Rewrite /proc handling to use *at functions.
12708 2011-08-16 Ulrich Drepper <drepper@gmail.com>
12710 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
12711 specifies first scope to show.
12712 (dl_open_worker): Update callers. Move printing scope of new
12713 object to before the relocation.
12714 * elf/rtld.c (dl_main): Update _dl_show_scope call.
12715 * sysdeps/generic/ldsodefs.h: Update declaration.
12717 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
12718 string for the scope number.
12720 2011-08-14 Ulrich Drepper <drepper@gmail.com>
12722 * nscd/servicescache.c (cache_addserv): Make sure written is always
12725 2011-08-14 Roland McGrath <roland@hack.frob.com>
12727 * sysdeps/i386/i486/bits/atomic.h
12728 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
12729 statement expression, so as to suppress "set but not used" warning.
12730 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
12732 * string/strncat.c (STRNCAT): Use prototype definition.
12734 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
12735 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
12737 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
12738 (localedef-modules): Add localedef.
12739 (locale-modules): Add locale.
12741 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
12742 * elf/rtld.c (dl_main): Invert order of assignment in last change,
12743 to avoid a warning.
12745 2011-08-14 David S. Miller <davem@davemloft.net>
12747 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
12748 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
12750 2011-08-13 Ulrich Drepper <drepper@gmail.com>
12752 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
12753 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
12754 * elf/rtld.c (dl_main): Set l_name of vDSO.
12755 Call _dl_show_scope when DL_DEBUG_SCOPES.
12756 (process_dl_debug): Recognize scopes flag and also set it for all.
12757 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
12758 Declare _dl_show_scope.
12760 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
12761 (do_dlopen): Pass caller_dlopen to dl_open.
12762 (__libc_dlopen_mode): Initialize caller_dlopen.
12764 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
12765 of libc. Make tolower call locale-independent. Optimize a bit by
12766 using isdigit instead of isalnum.
12767 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
12769 2011-08-12 Ulrich Drepper <drepper@gmail.com>
12771 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
12772 was a dependency or dynamically loaded.
12774 2011-08-11 Ulrich Drepper <drepper@gmail.com>
12776 * intl/l10nflist.c: Allow architecture-specific pop function.
12777 * sysdeps/x86_64/l10nflist.c: New file.
12779 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
12782 2011-08-10 Andreas Schwab <schwab@redhat.com>
12784 * include/dirent.h: Add libc_hidden_proto for scandirat and
12785 scandirat64. Don't declare __scandirat64.
12786 * dirent/scandirat.c: Add libc_hidden_def.
12787 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
12788 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
12790 2011-08-10 David S. Miller <davem@davemloft.net>
12792 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
12794 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12795 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12796 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12798 2011-08-09 Ulrich Drepper <drepper@gmail.com>
12800 * Versions.def [libc]: Add GLIBC_2.15.
12801 * dirent/Makefile (routines): Add scandirat and scandirat64.
12802 * dirent/Versions [libc]: Export scandirat and scandirat64 for
12804 * dirent/dirent.h: Declare scandirat and scandirat64.
12805 * dirent/scandirat.c: New file.
12806 * dirent/scandirat64.c: New file.
12807 * sysdeps/wordsize-64/scandirat.c: New file.
12808 * sysdeps/wordsize-64/scandirat64.c: New file.
12809 * dirent/opendir.c: Define opendirat.
12810 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
12812 * dirent/scandir64.c: Adjust for scandir.c change.
12813 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
12814 __scandirat64, and __scandir_cancel_handler.
12815 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
12816 additional parameter and use openat instead of open (outside of ld.so).
12817 Add new __opendir as wrapper around __opendirat.
12818 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
12819 here without requiring old scandirat implementation.
12821 2011-08-08 Ulrich Drepper <drepper@gmail.com>
12823 * dirent/scandir.c (cancel_handler): Renamed to
12824 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
12825 defined. Adjust users.
12826 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
12827 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
12829 2011-08-04 Ulrich Drepper <drepper@gmail.com>
12831 * string/test-string.h (IMPL): Use __STRING to expand name and then
12834 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
12837 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12839 * string/Makefile: Update.
12840 (strop-tests): Append strncat.
12841 * string/test-wcscmp.c: New file.
12842 New comprehensive test for wcscmp.
12843 * string/test-strcmp.c: Update.
12844 (WIDE): New define.
12846 2011-07-22 Andreas Schwab <schwab@redhat.com>
12848 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
12851 2011-07-26 Andreas Schwab <schwab@redhat.com>
12853 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12854 encoding to ACE if AI_IDN.
12856 2011-08-01 Jakub Jelinek <jakub@redhat.com>
12858 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
12859 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
12861 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12863 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
12864 Fix overflow bug in strncat.
12865 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
12867 * string/test-strncat.c: Update.
12868 Add new tests for checking overflow bugs.
12870 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12872 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12873 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
12874 * sysdeps/i386/i686/multiarch/strcat.S: New file.
12875 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
12876 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
12877 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
12878 * sysdeps/i386/i686/multiarch/strncat.S: New file.
12879 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
12880 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
12882 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
12883 (USE_AS_STRCAT): Define.
12884 Add strcat and strncat support.
12885 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12887 2011-07-25 Andreas Schwab <schwab@redhat.com>
12889 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
12890 __n bigger than INT_MAX+1.
12891 (__strncmp_g): Likewise.
12893 2011-07-23 Ulrich Drepper <drepper@gmail.com>
12895 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
12896 * libio/stido.h: Likewise.
12898 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
12900 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
12903 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
12904 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12905 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12906 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
12907 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12910 * scripts/test-installation.pl: Don't expect libnss_test1 to be
12913 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
12915 (_dl_x86_64_save_sse): Likewise.
12917 2011-07-22 Ulrich Drepper <drepper@gmail.com>
12919 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
12921 (_dl_x86_64_save_sse): Likewise.
12923 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
12925 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
12927 2011-07-21 Andreas Schwab <schwab@redhat.com>
12929 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
12931 (_dl_x86_64_save_sse): Use correct AVX check.
12933 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12935 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
12936 bug in strncpy/strncat.
12937 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
12939 2011-07-21 Ulrich Drepper <drepper@gmail.com>
12941 * string/tester.c (test_strcat): Add tests for different alignments
12942 of source and destination.
12943 (test_strncat): Likewise.
12945 2011-07-20 Ulrich Drepper <drepper@gmail.com>
12948 * posix/glob.c (glob): Check passed in values before using them in
12949 expressions to avoid some overflows.
12950 (glob_in_dir): Likewise.
12953 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
12954 check for AVX enablement so that we don't crash with old kernels and
12956 * elf/tst-audit4.c: Add same checks here.
12957 * elf/tst-audit6.c: Likewise.
12959 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
12961 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
12963 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
12965 2011-07-20 Ulrich Drepper <drepper@gmail.com>
12967 * po/cs.po: Update from translation team.
12968 * po/bg.po: Likewise.
12970 2011-07-12 Marek Polacek <mpolacek@redhat.com>
12972 * misc/sys/cdefs.h: Add support for const attribute.
12973 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
12974 to gnu_dev_{major,minor,makedev} functions.
12976 2011-07-20 Marek Polacek <mpolacek@redhat.com>
12978 * intl/dcigettext.c (get_output_charset): Add missing bracket.
12980 2011-07-20 Andreas Schwab <schwab@redhat.com>
12982 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
12985 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12987 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
12988 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
12989 register in order to avoid conflicts with the soft frame pointer
12990 being held in r11 when necessary.
12991 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
12992 (INTERNAL_VSYSCALL_NCS): Likewise.
12994 2011-07-14 Marek Polacek <mpolacek@redhat.com>
12996 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
12997 * elf/dl-fini.c (_dl_fini): Adjust caller.
12998 * elf/dl-close.c (_dl_close_worker): Likewise.
12999 * sysdeps/generic/ldsodefs.h: Adjust declaration.
13001 2011-07-15 Marek Polacek <mpolacek@redhat.com>
13003 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
13004 "aux_cache->nlibs < 0".
13006 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
13007 in the reload-count case.
13009 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13011 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13012 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
13013 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
13014 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
13015 * sysdeps/x86_64/multiarch/strcat.S: New file.
13016 * sysdeps/x86_64/multiarch/strncat.S: New file.
13017 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
13018 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
13019 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
13020 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
13021 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
13022 (USE_AS_STRCAT): Define.
13023 Add strcat and strncat support.
13024 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
13025 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
13026 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
13027 * string/strncat.c: Update.
13028 (USE_AS_STRNCAT): Define.
13029 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13030 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
13032 * sysdeps/x86_64/multiarch/init-arch.h
13033 (bit_Prefer_PMINUB_for_stringop): New.
13034 (index_Prefer_PMINUB_for_stringop): Likewise.
13035 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
13036 bit_Prefer_PMINUB_for_stringop.
13038 2011-07-19 Ulrich Drepper <drepper@gmail.com>
13040 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
13042 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
13043 of casting of buffer.
13044 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
13045 buffer32 and buffer64.
13046 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
13047 writes instead of casting of buffer.
13048 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
13050 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
13053 2011-07-19 Andreas Schwab <schwab@redhat.com>
13055 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
13057 2011-07-19 Ulrich Drepper <drepper@gmail.com>
13059 * nscd/nscd.c (termination_handler): Don't do anything for a database
13060 if it has not yet been initialized.
13062 2011-07-18 Ulrich Drepper <drepper@gmail.com>
13064 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
13066 2011-07-15 Marek Polacek <mpolacek@redhat.com>
13068 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
13070 2011-07-18 Ulrich Drepper <drepper@gmail.com>
13072 * po/nl.po: Update from translation team.
13073 * po/sv.po: Likewise.
13075 2011-07-16 Roland McGrath <roland@hack.frob.com>
13077 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
13078 now disallowed by GCC.
13080 * configure.in (use-default-link): Default to yes if a test -shared
13081 link meets our qualifications.
13082 * configure: Regenerated.
13084 * config.make.in (output-format): New variable.
13085 * configure.in: Check for ld --print-output-format support.
13086 * configure: Regenerated.
13087 * Makerules ($(common-objpfx)format.lds)
13088 [$(output-format) != unknown]: Just use $(output-format),
13089 instead of the linker-script munging.
13091 2011-07-14 Roland McGrath <roland@hack.frob.com>
13093 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
13094 of $(common-objpfx)shlib.lds.
13095 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
13097 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
13098 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
13100 * configure.in (-z relro check): Adjust test code to add a large
13101 writable data section after it.
13102 * configure: Regenerated.
13104 2011-07-11 Roland McGrath <roland@hack.frob.com>
13106 * configure.in (-z relro check): Fix test code to make the variable
13108 * configure: Regenerated.
13110 2011-07-11 Ulrich Drepper <drepper@gmail.com>
13112 * nscd/nscd.h (struct traced_file): Define.
13113 (struct database_dyn): Remove inotify_descr, reset_res, and filename
13114 elements. Add traced_files.
13115 (inotify_fd): Declare.
13116 (register_traced_file): Declare.
13117 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
13118 (inotify_fd): Export.
13119 (resolv_conf_descr): Remove.
13120 (nscd_init): Move inotify descriptor creation to main.
13121 Don't register files for notification here.
13122 (register_traced_file): New function.
13123 (invalidate_cache): Don't use reset_res to determine whether to call
13124 res_init, go through the list of registered files.
13125 (main_loop_poll): The inotify descriptors are now stored in the
13126 structures for the traced files.
13127 (main_loop_epoll): Likewise
13128 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
13129 to __nss_disable_nscd.
13130 * nscd/cache.c (prune_cache): There is no single inotify descriptor
13131 for a database anymore. Check the records for all the registered
13133 * nss/Makefile (libnss_files-routines): Add files-init.
13134 (libnss_db-routines): Add db-init.
13135 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
13136 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
13137 * nss/nss_db/db-init.c: New file.
13138 * nss/nss_files/files-init.c: New file.
13139 * nss/nsswitch.c (nss_load_library): New function. Broken out of
13140 __nss_lookup_function.
13141 (__nss_lookup_function): Call nss_load_library.
13142 (nss_load_all_libraries): New function.
13143 (__nss_disable_nscd): Take parameter with callback function for files
13144 to register. Set is_nscd. Load all the DSOs for the NSS modules
13145 used for the cached services.
13146 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
13147 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
13148 options for features to all the files in nscd.
13150 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
13152 2011-07-10 Roland McGrath <roland@hack.frob.com>
13154 * csu/elf-init.c (__libc_csu_init): Comment typo.
13156 2011-07-09 Ulrich Drepper <drepper@gmail.com>
13158 * po/pl.po: Update from translation team.
13159 * po/ja.po: Likewise.
13160 * po/ru.po: Likewise.
13161 * po/ko.po: Likewise.
13162 * po/fr.po: Likewise.
13164 2011-07-09 Roland McGrath <roland@hack.frob.com>
13166 * configure.in (.ctors/.dtors header and trailer check):
13167 Use an empirical test on a built program.
13168 * configure: Regenerated.
13170 * configure.in (-z relro check): Use an empirical test on a built DSO.
13171 Detect, but do not require, on ia64.
13172 * configure: Regenerated.
13174 * configure.in (READELF): Find it with AC_CHECK_TOOL.
13175 Update tests that use readelf to use $READELF instead.
13176 * configure: Regenerated.
13178 2011-07-08 Ulrich Drepper <drepper@gmail.com>
13180 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
13181 if the result is not used.
13183 2011-07-05 Andreas Jaeger <aj@suse.de>
13186 * stdlib/tst-strtod.c: Add testcase.
13188 2011-07-07 Ulrich Drepper <drepper@gmail.com>
13190 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
13191 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
13192 The latter has a higher limit. Take additional parameter to pass to
13194 (__pathconf): Pass file to __statfs_link_max.
13195 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
13197 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
13201 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
13202 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13204 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
13205 (__statfs_filesize_max): Likewise.
13206 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
13208 2011-07-05 Andreas Jaeger <aj@suse.de>
13210 * resolv/res_comp.c (dn_skipname): Remove unused variable.
13212 2011-07-06 Marek Polacek <mpolacek@redhat.com>
13214 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
13216 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
13219 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
13221 * Makefile (strop-tests): Add strncat.
13222 * string/test-strncat.c: New file.
13224 2011-06-30 Marek Polacek <mpolacek@redhat.com>
13226 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
13228 2011-06-21 Andreas Jaeger <aj@suse.de>
13230 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
13231 Copy rule from iconvdata/Makefile.
13233 2011-07-06 Ulrich Drepper <drepper@gmail.com>
13236 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
13237 but no long options are defined, just return 'W'.
13239 2011-06-22 Marek Polacek <mpolacek@redhat.com>
13242 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
13244 2011-07-06 Ulrich Drepper <drepper@gmail.com>
13246 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
13248 (innetgr): Likewise.
13250 2011-07-05 Roland McGrath <roland@hack.frob.com>
13252 * config.make.in (install_root): Default to $(DESTDIR).
13254 2011-07-05 Ulrich Drepper <drepper@gmail.com>
13256 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
13258 2011-07-02 Roland McGrath <roland@hack.frob.com>
13260 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
13262 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
13263 containing directory rather than embedding absolute directory names.
13265 * scripts/check-local-headers.sh: Rewritten using awk.
13266 Match by word, not by line. Print error messages for matches.
13267 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
13269 * Makerules [shlib-lds-flags empty]:
13270 ($(common-objpfx)libc_pic.opts): New target.
13271 ($(common-objpfx)libc_pic.os.clean): New target.
13272 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
13274 * config.make.in (OBJCOPY): New variable.
13275 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
13276 * configure: Regenerated.
13278 * config.make.in (use-default-link): New variable.
13279 * configure.in (use_default_link): Grok --with-default-link to set it.
13280 * configure: Regenerated.
13281 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
13282 (shlib-lds, shlib-lds-flags): Define to empty.
13284 * Makerules (shlib-lds): New variable.
13285 (shlib-lds-flags): New variable.
13286 (build-shlib, build-moduile, build-module-asneeded): Use it.
13287 ($(common-objpfx)libc.so): Use $(shlib-lds).
13288 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
13289 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
13291 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
13292 DT_FLAGS/DT_FLAGS_1 with zero flags.
13294 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
13295 linker script munging.
13297 2011-07-02 Ulrich Drepper <drepper@gmail.com>
13299 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
13301 * crypt/sha512.c (sha512_process_block): Perform total addition using
13302 128-bit if possible.
13303 (__sha512_finish_ctx): Likewise.
13304 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
13306 * crypt/sha256.c (SWAP64): Define.
13307 (sha256_process_block): Perform total addition using 64-bit if
13309 (__sha256_finish_ctx): Likewise.
13311 2011-07-01 Ulrich Drepper <drepper@gmail.com>
13313 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
13314 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13315 * nscd/hstcache.c (cache_addhst): Likewise.
13316 * nscd/grpcache.c (cache_addgr): Likewise.
13317 * nscd/aicache.c (addhstaiX): Likewise
13318 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
13320 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
13322 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
13323 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13324 * nscd/hstcache.c (cache_addhst): Likewise.
13325 * nscd/grpcache.c (cache_addgr): Likewise.
13326 * nscd/aicache.c (addhstaiX): Likewise
13328 2011-07-01 Andreas Schwab <schwab@redhat.com>
13330 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
13331 domain only when needed.
13333 2011-06-30 Andreas Schwab <schwab@redhat.com>
13335 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
13336 is always restored.
13338 2011-06-29 Ulrich Drepper <drepper@gmail.com>
13340 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
13341 are re-adding the entry.
13342 * nscd/servicescache.c (cache_addserv): Likewise.
13344 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
13346 * sysdeps/generic/dl-irel.h: fix protection against multiple
13348 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
13350 2011-06-28 Ulrich Drepper <drepper@gmail.com>
13353 * malloc/memusage.sh: Fix quoting in message.
13354 * debug/xtrace.sh: Likewise.
13356 * configure.in: Remove support for --experimental-malloc option, make
13358 * config.make.in: Likewise.
13359 * malloc/Makefile: Likewise.
13361 2011-06-27 Andreas Schwab <schwab@redhat.com>
13363 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
13364 two-byte characters.
13366 2011-06-27 Roland McGrath <roland@hack.frob.com>
13368 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
13369 AC_CACHE_CHECK invocation.
13370 * configure: Regenerated.
13372 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
13374 2011-06-27 Ulrich Drepper <drepper@gmail.com>
13377 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
13378 bit from old_res_options.
13380 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
13382 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
13383 value type for setfct.
13385 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
13387 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13388 __gettimeofday instead of gettimeofday.
13390 2011-06-26 Ulrich Drepper <drepper@gmail.com>
13392 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
13394 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
13396 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
13398 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
13401 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13403 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13404 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13405 strcpy-sse2-unaligned strncpy-sse2-unaligned
13406 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
13407 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
13408 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
13409 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
13410 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
13411 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
13412 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
13413 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
13414 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
13415 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
13416 (STRCPY): Support SSE2 and SSSE3 versions.
13418 2011-06-24 Ulrich Drepper <drepper@gmail.com>
13421 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
13422 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
13423 kernels which artificially limit size of requests.
13425 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13427 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13428 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13429 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
13430 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
13431 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
13432 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
13433 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
13434 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
13435 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
13436 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
13437 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
13438 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
13439 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
13440 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
13441 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
13442 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13443 Enable unaligned load optimization for Intel Core i3, i5 and i7
13445 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
13447 (index_Fast_Unaligned_Load): Define.
13448 (HAS_FAST_UNALIGNED_LOAD): Define.
13450 2011-06-23 Marek Polacek <mpolacek@redhat.com>
13452 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
13454 2011-06-22 Ulrich Drepper <drepper@gmail.com>
13457 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
13458 until it is clear that the information is realy needed.
13459 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
13461 2011-06-22 Andreas Schwab <schwab@redhat.com>
13463 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
13465 2011-06-22 Ulrich Drepper <drepper@gmail.com>
13467 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13468 /sys/devices/system/cpu/online if it is usable.
13470 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
13471 reading the information from the /proc filesystem to once a second.
13473 2011-06-21 Andreas Jaeger <aj@suse.de>
13475 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
13476 NULL after inclusion of kernel headers.
13478 2011-06-21 Ulrich Drepper <drepper@gmail.com>
13480 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
13481 calls to internal_setent.
13484 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
13485 addresses using gethostbyname4_r ignore IPv4 addresses.
13487 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
13488 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
13490 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
13492 2011-06-20 David S. Miller <davem@davemloft.net>
13494 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
13496 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
13498 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
13499 (elf_irel): Use it.
13500 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
13501 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
13502 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
13503 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
13504 * sysdeps/x86_64/dl-irel.h: Likewise.
13506 * elf/dl-runtime.c: Use elf_ifunc_invoke.
13507 * elf/dl-sym.c: Likewise.
13509 2011-06-15 Ulrich Drepper <drepper@gmail.com>
13511 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
13512 need to dereference resplen2.
13514 2011-06-14 Andreas Schwab <schwab@redhat.com>
13516 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
13518 2011-06-15 Ulrich Drepper <drepper@gmail.com>
13520 * Makeconfig: Define vardbdir and inst_vardbdir.
13521 * nss/Makefile: Add rules to install db-Makefile.
13523 * nss/nss_db/db-XXX.c: Cleanup.
13525 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
13526 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
13528 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
13529 * nss/makedb.c: Implement -g option to specify that value strings
13530 are generated and should not be added to table iterated over for
13532 * nss/nss_db/db-initgroups.c: New file.
13534 * nss/getent.c: Add support for initgroups lookups through getgrouplist
13537 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
13538 (internal_getgrouplist): Adjust to name change.
13539 Update use_initgroups_entry if this is not the first call.
13540 * nss/databases.def: Add initgroups entry.
13542 * nss/makedb.c (compute_tables): Check result of multiple hash table
13543 sizes to minimize maximum chain length.
13545 2011-06-14 Ulrich Drepper <drepper@gmail.com>
13547 * Versions.def: Add entry for libnss_db.
13548 * shlib-versions: Likewise.
13549 * nss/Makefile: Add rules to build libnss_db.
13550 * nss/Versions: Add libnss_db information. Organize libnss_files
13552 * nss/db-Makefile: Add gshadow support. Change rules for the new
13553 makedb progra. Some minor improvements to generate smaller files.
13554 * nss/nss_db/nss_db.h: Move NSS database header data structures to
13556 * nss/makedb.c: ...here.
13557 Improve database format to be smaller and require less memory at
13559 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
13561 * nss/nss_db/db-netgrp.c: Likewise.
13562 * nss/nss_db/db-open.c: Likewise.
13563 * nss/nss_files/flies-XXX.x: Adjust comments.
13564 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
13565 * nss/nss_files/files-grp.c: Likewise.
13566 * nss/nss_files/files-hosts.c: Likewise.
13567 * nss/nss_files/files-network.c: Likewise.
13568 * nss/nss_files/files-proto.c: Likewise.
13569 * nss/nss_files/files-pwd.c: Likewise.
13570 * nss/nss_files/files-rpc.c: Likewise.
13571 * nss/nss_files/files-service.c: Likewise.
13572 * nss/nss_files/files-sgrp.c: Likewise.
13573 * nss/nss_files/files-spwd.c: Likewise.
13574 * nss/nss_db/db-alias.c: Removed.
13575 * nss/nss_db/dummy-db.h: Removed.
13577 2011-06-02 Ulrich Drepper <drepper@gmail.com>
13579 * nss/makedb.c: Rewritten to not use database library.
13580 * nss/Makefile: Update to build new makedb program.
13582 2011-06-14 Andreas Jaeger <aj@suse.de>
13584 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
13585 memset declaration.
13587 2011-06-10 Andreas Schwab <schwab@redhat.com>
13589 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
13592 2011-06-10 Roland McGrath <roland@hack.frob.com>
13594 * Makerules (shlib.lds): Fail if the linker script comes out empty.
13595 * elf/Makefile ($(objpfx)ld.so): Likewise.
13597 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
13598 Don't list ld.so twice in dependencies.
13600 * posix/bug-regex31.c: Include <stdlib.h>.
13602 * nscd/hstcache.c (cache_addhst): Remove unused variable.
13604 * nis/nss_compat/compat-spwd.c
13605 (getspent_next_nss_netgr): Remove unused variable.
13606 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
13608 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
13609 nonmembers" output to use the right array.
13611 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
13613 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
13615 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
13616 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
13617 * catgets/gencat.c (read_input_file): Likewise.
13618 * locale/programs/locarchive.c (enlarge_archive): Likewise.
13620 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
13621 variable definition inside #if's controlling its use.
13623 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
13625 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
13627 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
13629 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
13632 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
13634 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
13635 * configure: Regenerated.
13637 * Makerules: Revert last change.
13638 * elf/Makefile: Likewise.
13640 2011-06-09 Roland McGrath <roland@hack.frob.com>
13642 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
13643 * elf/Makefile ($(objpfx)librtld.os): Likewise.
13644 (reloc-link): Likewise.
13646 2011-06-09 Ulrich Drepper <drepper@gmail.com>
13648 * elf/Makefile: Add rules to build pldd.
13649 * elf/pldd.c: New file.
13650 * elf/pldd-xx.c: New file.
13652 2011-06-07 Ulrich Drepper <drepper@gmail.com>
13654 * version.h: Update for 2.15 development version.
13656 2011-06-07 David S. Miller <davem@davemloft.net>
13658 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
13660 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
13661 elf_machine_lazy_rel): Likewise.
13662 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
13663 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
13664 elf_machine_lazy_rel): Likewise.
13665 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
13666 dl_hwcap via passed in argument.
13667 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
13670 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13672 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
13674 2011-06-06 Roland McGrath <roland@hack.frob.com>
13677 * manual/fdl-1.1.texi: New file, verbatim from:
13678 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
13679 * manual/lgpl-2.1.texi: New file, verbatim from:
13680 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
13681 * manual/Makefile (licenses): New variable, list those new file names.
13683 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
13685 * manual/fdl.texi: File removed.
13686 * manual/lesser.texi: File removed.
13687 * manual/libc.texinfo (Copying, Documentation License):
13688 Use new @include file names, put @appendix directive before @include.
13690 2011-06-04 Jakub Jelinek <jakub@redhat.com>
13693 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
13694 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
13695 (mq_open): Add __NTH.
13697 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
13699 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13700 Assume Intel Core i3/i5/i7 processor if AVX is available.
13702 2011-05-31 Ulrich Drepper <drepper@gmail.com>
13704 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13707 2011-05-31 Andreas Schwab <schwab@redhat.com>
13709 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
13710 memory. Use alloca_account. Fix memory leak when retrying.
13712 2011-05-31 Ulrich Drepper <drepper@gmail.com>
13714 * version.h (RELEASE): Bump for 2.14 release.
13715 * include/features.h (__GLIBC_MINOR__): Bump to 14.
13717 * config.make.in (RANLIB): Remove entry.
13719 2011-05-30 Ulrich Drepper <drepper@gmail.com>
13721 * po/Makefile (po-sed-cmd): Add ksh to extensions.
13722 (libc.pot): Work around missing support for .ksh extension in xgettext.
13725 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
13726 if both request failed.
13727 (send_dg): In case of server errors clear resplen or *resplen2.
13730 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
13731 when there are multiple maps.
13732 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
13733 (_dl_fini): Remove test here.
13735 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
13737 2011-05-29 Ulrich Drepper <drepper@gmail.com>
13740 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
13741 bit from old_res_options.
13742 (gaih_inet): Likewise.
13745 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
13748 * resolv/res_init.c (res_setoptions): Make the code more compact.
13751 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
13755 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
13757 * malloc/malloc.h: Mark malloc hook variables as deprecated.
13760 * malloc/malloc.h: Declare malloc hook variables as volatile.
13762 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
13766 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
13767 raise in the comment.
13768 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
13769 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13770 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
13772 2011-05-28 Ulrich Drepper <drepper@gmail.com>
13775 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
13776 grow the buffers more if it already has to be sufficient.
13777 (build_wcs_upper_buffer): Likewise.
13778 * posix/regexec.c (check_matching): Likewise.
13779 (clean_state_log_if_needed): Likewise.
13780 (extend_buffers): Don't enlarge buffers beyond size of the input
13782 Patches mostly by Emil Wojak <emil@wojak.eu>.
13783 * posix/bug-regex32.c: New file.
13784 * posix/Makefile (tests): Add bug-regex32.
13786 * locale/findlocale.c (_nl_find_locale): Return right away if
13787 _nl_explode_name failed.
13788 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
13790 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
13792 * debug/xtrace.sh: Unify messages.
13793 * malloc/memusage.sh: Likewise.
13796 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
13797 time symbol from vDSO. Substitute with vsyscall if not available.
13798 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
13801 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
13802 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
13803 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
13804 Add sendmmsg and internal_sendmmsg.
13805 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
13806 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
13807 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
13809 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
13810 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
13811 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
13813 2011-05-27 Ulrich Drepper <drepper@gmail.com>
13816 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
13817 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
13819 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
13823 * iconvdata/Makefile (tests): Add bug-iconv9.
13824 * iconvdata/bug-iconv9.c: New file.
13826 2011-05-27 Andreas Schwab <schwab@redhat.com>
13829 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
13831 2011-05-25 Jakub Jelinek <jakub@redhat.com>
13833 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13834 (struct user_regs_struct): Change intcs field back to cs.
13836 2011-05-25 Ulrich Drepper <drepper@gmail.com>
13838 * po/ja.po: Update from translation team.
13840 2011-05-23 Ulrich Drepper <drepper@gmail.com>
13843 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
13844 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
13846 2011-05-20 Andreas Schwab <schwab@redhat.com>
13848 * stdlib/longlong.h: Update from GCC.
13850 2011-05-23 Andreas Schwab <schwab@redhat.com>
13852 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
13854 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
13855 Add parameter name.
13856 (__sysconf): Pass it down.
13858 2011-05-22 Ulrich Drepper <drepper@gmail.com>
13861 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
13863 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
13864 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
13865 add in in __libc_use_alloca calls. Adjust callers.
13866 (glob): Use malloc in some situations.
13868 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
13869 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
13872 2011-05-21 Ulrich Drepper <drepper@gmail.com>
13874 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
13875 and CLOCK_BOOTTIME_ALARM.
13878 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
13881 * string/_strerror.c (__strerror_r): Print negative errors as signed
13885 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
13886 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
13887 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
13889 * configure.in: Fix typo in redirection and correct removal of test
13890 files in two cases.
13893 * locale/setlocale.c (new_composite_name): Fix test to check for
13894 identical name of all categories.
13897 * libio/filedoalloc.c (local_isatty): New function.
13898 (_IO_file_doallocate): Use local_isatty.
13899 * stdio-common/perror.c (perror): In case a new stream is used
13900 forward the stream error.
13901 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
13904 2011-05-20 Ulrich Drepper <drepper@gmail.com>
13907 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
13909 * include/alloca.h (extend_alloca_account): Define.
13912 * posix/regex.h: Fix comments with documentation of user-accessible
13913 fields after compilation and describe correct free'ing of pattern
13914 after re_compile_pattern.
13915 Patch by Reuben Thomas <rrt@sc3d.org>.
13917 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
13919 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
13920 and -mno-altivec to prevent the compiler from using Altivec and/or
13921 VSX instructions when the corresponding registers are not available.
13923 2011-05-19 Andreas Schwab <schwab@redhat.com>
13925 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
13927 2011-05-19 Ulrich Drepper <drepper@gmail.com>
13929 * libio/freopen.c (freopen): Use __dup2, not dup2.
13930 * libio/freopen64.c (freopen64): Likewise.
13932 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
13935 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
13936 * math/Makefile (tests): Add test-powl.
13937 (CFLAGS-test-powl.c): Define.
13938 * math/test-powl.c: New file.
13940 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
13942 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
13944 2011-05-17 Ulrich Drepper <drepper@gmail.com>
13947 * iconvdata/gb18030.c: Update to GB18020-2005.
13949 2011-05-16 Ulrich Drepper <drepper@gmail.com>
13951 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
13952 RE_SYNTAX_POSIX_AWK): Update to match recent development.
13953 Patch by Aharon Robbins <arnold@skeeve.com>.
13956 * stdlib/putenv.c (putenv): Don't always create copy of the variable
13960 * misc/pselect.c (__pselect): Handle timeout value errors hidden
13961 through underflows.
13964 * misc/error.c (error_at_line): Ensure file_name and old_file_name
13965 point to strings before performing equality test for error_one_per_line
13969 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
13972 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13973 (struct user_fpregs_struct): Avoid __uint*_t types.
13976 * malloc/mtrace.c (tr_where): Add additional parameter to point to
13977 symbol info. Use it instead of calling _dl_addr locally.
13978 (lock_and_info): New function.
13979 (tr_freehook): Call lock_and_info and pass symbol info as additional
13980 parameter to tr_where.
13981 (tr_mallochook): Likewise.
13982 (tr_reallochook): Likewise.
13983 (tr_memalignhook): Likewise.
13985 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
13986 used and couldn't be at all thread-safe.
13988 2011-05-15 Ulrich Drepper <drepper@gmail.com>
13990 * libio/freopen.c (freopen): Don't close old file descriptor
13991 before the new one is opened. Instead dup the new file descriptor
13992 to the old one after the new stream is created.
13993 * libio/freopen64.c (freopen64): Likewise.
13994 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
13995 * libio/fileops.c (_IO_new_file_close_it): Handle new
13996 _IO_FLAGS2_NOCLOSE flag.
13997 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
13998 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
13999 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
14000 _IO_FLAGS2_NOCLOSE flag.
14001 * include/unistd.h: Add hidden_proto for dup3.
14002 Define __have_dup3.
14003 * io/dup3.c: Define hidden symbol.
14004 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
14007 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
14008 when an incomplete long option is used.
14009 * posix/tst-getopt_long1.c: New file.
14010 * posix/Makefile (tests): Add tst-getopt_long1.
14013 * scripts/config.guess: Update from autoconf-2.68.
14014 * scripts/config.sub: Likewise.
14017 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
14019 (has_cpuclock): ...this. New function.
14020 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
14021 macro here based on has_cpuclock code.
14024 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14025 First byte (not low byte) is now always NUL.
14026 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
14028 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14029 Use non-cancelable interfaces.
14032 * locale/iso-639.def: Add entry for Sorani.
14035 * include/stdlib.h: Move include protection to the right place.
14036 Define abort_msg_s. Declare __abort_msg with it.
14037 * stdlib/abort.c (__abort_msg): Adjust type.
14038 * assert/assert.c (__assert_fail_base): New function. Majority
14039 of code from __assert_fail. Allocate memory for __abort_msg with
14041 (__assert_fail): Now call __assert_fail_base.
14042 * assert/assert-perr.c: Remove bulk of implementation. Use
14043 __assert_fail_base.
14044 * include/assert.hL Declare __assert_fail_base.
14045 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
14047 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
14049 2011-05-14 Ulrich Drepper <drepper@gmail.com>
14053 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
14054 until all modules are registered in the DTV.
14055 * elf/Makefile: Add rules to build and run tst-tls19.
14056 * elf/tst-tls19.c: New file.
14057 * elf/tst-tls19mod1.c: New file.
14058 * elf/tst-tls19mod2.c: New file.
14059 * elf/tst-tls19mod3.c: New file.
14060 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
14063 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
14067 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
14068 two-byte sequence errors.
14069 * iconvdata/Makefile (tests): Add bug-iconv8.
14070 * iconvdata/bug-iconv8.c: New file.
14073 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
14076 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
14079 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
14080 (dummy_getcfa): New function.
14081 (init): Get _Unwind_GetCFA address, use dummy if not found.
14082 (backtrace_helper): In recursion check, also check whether CFA changes.
14083 (__backtrace): Completely initialize arg.
14085 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
14086 storing incomplete byte sequence in state object. Avoid testing for
14087 guaranteed too small input if we know there is enough data available.
14089 2011-05-11 Andreas Schwab <schwab@redhat.com>
14091 * Makeconfig (+link-pie): Indent.
14092 * Rules (binaries-pie): Define if $(have-fpie) and
14094 (binaries-shared): Also filter out $(binaries-pie).
14095 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
14096 * nscd/Makefile (others-pie): Add nscd.
14097 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
14098 ($(objpfx)nscd): Remove command override.
14099 * login/Makefile (others-pie): Add pt_chown.
14100 ($(objpfx)pt_chown): Remove command override.
14101 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
14102 remove command overrides.
14104 2011-05-13 Ulrich Drepper <drepper@gmail.com>
14106 * libio/tst_putwc.c: Fix error messages.
14109 * libio/fileops.c (_IO_new_file_close_it): Always flush when
14110 currently writing and seek to current position when not.
14111 * libio/Makefile (tests): Add bug-fclose1.
14112 * libio/bug-fclose1.c: New file.
14114 2011-05-12 Ulrich Drepper <drepper@gmail.com>
14117 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
14118 don't set DF_1_NODELETE here.
14119 (do_lookup_x): When entering new entry test for copy relocation
14120 and if necessary set DF_1_NODELETE flag.
14121 * elf/tst-unique4.cc: New file.
14122 * elf/tst-unique4.h: New file.
14123 * elf/tst-unique4lib.cc: New file.
14124 * elf/Makefile: Add rules to build and run tst-unique4.
14125 Patch by Piotr Bury <pbury@goahead.com>.
14127 2011-05-11 Ulrich Drepper <drepper@gmail.com>
14130 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
14133 * misc/mntent_r.c (addmntent): Flush the stream after the output
14136 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
14137 (is_trusted_path_normalize): Skip initial colon. Append slash
14138 to empty buffer. Duplicate is_trusted_path code but allow
14139 constructed patch to be prefix.
14140 (is_dst): Allow $ORIGIN followed by /.
14141 (_dl_dst_substitute): Correct clearing of check_for_trusted.
14142 Correct testing of result of is_trusted_path_normalize
14143 (decompose_rpath): Fix warning.
14145 2011-05-10 Ulrich Drepper <drepper@gmail.com>
14148 * grp/initgroups.c (internal_getgrouplist): When we found the service
14149 list through the initgroups entry in nsswitch.conf do not always
14150 continue on a successful lookup. Don't always use the
14151 __nss_group_database value if it is set.
14152 * nss/nsswitch.conf (initgroups): Change action for successful db
14153 lookup to continue for compatibility.
14155 2011-05-09 Ulrich Drepper <drepper@gmail.com>
14158 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
14160 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
14162 * iconvdata/tst-tables.sh: Likewise.
14163 * iconvdata/cp770.c: New file.
14164 * iconvdata/cp771.c: New file.
14165 * iconvdata/cp772.c: New file.
14166 * iconvdata/cp773.c: New file.
14167 * iconvdata/cp774.c: New file.
14168 * iconvdata/testdata/CP770: New file.
14169 * iconvdata/testdata/CP770..UTF8: New file.
14170 * iconvdata/testdata/CP771: New file.
14171 * iconvdata/testdata/CP771..UTF8: New file.
14172 * iconvdata/testdata/CP772: New file.
14173 * iconvdata/testdata/CP772..UTF8: New file.
14174 * iconvdata/testdata/CP773: New file.
14175 * iconvdata/testdata/CP773..UTF8: New file.
14176 * iconvdata/testdata/CP774: New file.
14177 * iconvdata/testdata/CP774..UTF8: New file.
14179 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
14181 * iconvdata/gen-8bit-gap.sh: Likewise.
14182 * iconvdata/gen-8bit.sh: Likewise.
14184 * locale/iso-639.def: Add ary entry.
14187 * locale/C-translit.h.in: Add U20A1 transliteration.
14190 * locale/iso-639.def: Add wae entry.
14191 Patch by Kevin Bortis <bortis@translate-wae.ch>.
14194 * locale/programs/localedef.c (construct_output_path): Use ssize_t
14198 * locale/C-translit.h.in: Add entry for U20B9.
14199 Patch by pravin.d.s@gmail.com.
14201 2011-05-08 Ulrich Drepper <drepper@gmail.com>
14204 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
14205 ENAMETOOLONG use generic getcwd.
14206 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
14207 in rtld. Use *stat64.
14208 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
14209 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
14210 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
14211 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
14212 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
14213 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
14214 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
14215 __fstatat64 macros.
14216 * include/dirent.h: Add libc_hidden_proto for rewinddir.
14217 * dirent/rewinddir.c: Add libc_hidden_def.
14218 * sysdeps/mach/hurd/rewinddir.c: Likewise.
14219 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
14221 * include/dirent.h (__alloc_dir): Add flags parameter.
14222 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
14223 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
14225 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
14226 from fdopendir if O_CLOEXEC is already set.
14228 2011-03-15 Alan Modra <amodra@gmail.com>
14230 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
14231 l_tls_firstbyte_offset non-zero. Save padding offset in
14232 l_tls_firstbyte_offset for later use.
14233 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
14234 freeing static tls block.
14236 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
14238 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
14239 where #ifdef was intended. The intent is to prevent ARG_MAX from
14240 being defined by the kernel headers.
14242 2011-05-07 Ulrich Drepper <drepper@gmail.com>
14245 * resolv/resolv.h: Define RES_NOTLDQUERY.
14246 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
14247 no-tld-query and set RES_NOTLDQUERY.
14248 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
14249 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
14250 modern BIND to search name as TLD unless forbidden.
14252 2011-05-07 Petr Baudis <pasky@suse.cz>
14253 Ulrich Drepper <drepper@gmail.com>
14256 * elf/dl-load.c (fillin_rpath): Move trusted path check...
14257 (is_trusted_path): ...to here.
14258 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
14259 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
14260 using is_trusted_path_normalize() in setuid scripts.
14262 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14264 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
14265 __BEGIN/__END_DECLS.
14267 2011-05-06 Ulrich Drepper <drepper@gmail.com>
14269 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
14270 NSS_STATUS_NOTFOUND if no record was found.
14272 2011-05-05 Andreas Schwab <schwab@redhat.com>
14274 * sunrpc/Makefile (headers): Add rpc/netdb.h.
14275 (headers-not-in-tirpc): Remove rpc/netdb.h
14276 * resolv/netdb.h: Revert last change.
14278 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14280 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
14281 circular dependency between libgcc.a and libc.a.
14283 2011-05-05 Andreas Schwab <schwab@redhat.com>
14285 * resolv/netdb.h: Don't include <rpc/netdb.h>.
14286 * nis/Makefile: Don't install rpcsvc/*.
14287 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
14288 instead of <rpc/types.h>.
14289 (MAXHOSTNAMELEN): Define.
14291 2011-05-03 Andreas Schwab <schwab@redhat.com>
14293 * elf/ldconfig.c (add_dir): Don't crash on empty path.
14295 2011-04-28 Maciej Babinski <mbabinski@google.com>
14298 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
14299 gethostbyname4_r when IPv6 results are possible.
14301 2011-05-02 Ulrich Drepper <drepper@gmail.com>
14304 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
14305 _PC_PIPE_BUF handling.
14307 2011-04-30 Bruno Haible <bruno@clisp.org>
14310 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
14311 * resolv/netdb.h (getnameinfo): Change type of flags parameter
14313 * inet/getnameinfo.c (getnameinfo): Likewise.
14315 2011-04-29 Ulrich Drepper <drepper@gmail.com>
14317 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
14318 to groups setting in database lookup.
14319 * nss/nsswitch.conf: Add initgroups entry.
14321 2011-04-22 Ulrich Drepper <drepper@gmail.com>
14324 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
14326 Patch by Eric Blake <eblake@redhat.com>.
14328 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
14330 * sunrpc/Makefile (need-export-routines): Add svc_run.
14331 (routines): Remove svc_run.
14332 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
14333 * sunrpc/clnt_perr.c (clnt_perrno): Export.
14334 * sunrpc/svc_run.c (svc_run): Likewise.
14335 * sunrpc/svc_udp.c (svcudp_create): Likewise.
14337 2011-04-21 Ulrich Drepper <drepper@gmail.com>
14339 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
14340 problem in reallocation in last patch.
14342 2011-04-20 Ulrich Drepper <drepper@gmail.com>
14344 * sunrpc/Makefile: Move inclusion of Rules.
14346 2011-04-19 Ulrich Drepper <drepper@gmail.com>
14348 * nss/nss_files/files-initgroups.c: New file.
14349 * nss/Makefile (libnss_files-routines): Add files-initgroups.
14350 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
14351 _nss_files_initgroups_dyn.
14353 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
14355 * elf/elf.h (R_ARM_IRELATIVE): Define.
14357 2011-04-19 Ulrich Drepper <drepper@gmail.com>
14359 * po/ru.po: Update from translation team.
14361 2011-04-17 Ulrich Drepper <drepper@gmail.com>
14363 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
14366 2011-02-06 Mike Frysinger <vapier@gentoo.org>
14369 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
14370 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
14371 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
14372 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14373 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14375 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
14377 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
14379 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14380 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14381 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14383 2011-04-17 Ulrich Drepper <drepper@gmail.com>
14386 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
14388 * stdlib/bug-getcontext.c: New file.
14389 * stdlib/Makefile: Add rules to build and run bug-getcontext.
14391 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14393 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
14394 instructions into .machine "z9-109".
14395 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
14396 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
14398 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14400 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
14401 between environment variables and auxiliary vector.
14403 2011-04-16 Ulrich Drepper <drepper@gmail.com>
14405 * Makefile: Add rules to build linkobj/libc.so.
14406 * include/libc-symbols.h: Define libc_hidden_nolink.
14407 * include/rpc/auth.h: Mark functions which are to be hidden.
14408 * include/rpc/auth_des.h: Likewise.
14409 * include/rpc/auth_unix.h: Likewise.
14410 * include/rpc/clnt.h: Likewise.
14411 * include/rpc/des_crypt.h: Likewise.
14412 * include/rpc/key_prot.h: Likewise.
14413 * include/rpc/pmap_clnt.h: Likewise.
14414 * include/rpc/pmap_prot.h: Likewise.
14415 * include/rpc/pmap_rmt.h: Likewise.
14416 * include/rpc/rpc_msg.h: Likewise.
14417 * include/rpc/svc.h: Likewise.
14418 * include/rpc/svc_auth.h: Likewise.
14419 * include/rpc/xdr.h: Likewise.
14420 * nis/Makefile: Link all DSOs against linkobj/libc.so.
14421 * nss/Makefile: Likewise.
14422 * sunrpc/Makefile: Don't install headers. Build library with normal
14423 entry points. Don't build rpcinfo. Link RPC tests appropriately.
14424 * sunrpc/auth_des.c: Hide exported symbols by default, export some
14425 for the compat linking library. Remove use of INTDEF/INTUSE.
14426 * sunrpc/auth_none.c: Likewise.
14427 * sunrpc/auth_unix.c: Likewise.
14428 * sunrpc/authdes_prot.c: Likewise.
14429 * sunrpc/authuxprot.c: Likewise.
14430 * sunrpc/clnt_gen.c: Likewise.
14431 * sunrpc/clnt_perr.c: Likewise.
14432 * sunrpc/clnt_raw.c: Likewise.
14433 * sunrpc/clnt_simp.c: Likewise.
14434 * sunrpc/clnt_tcp.c: Likewise.
14435 * sunrpc/clnt_udp.c: Likewise.
14436 * sunrpc/clnt_unix.c: Likewise.
14437 * sunrpc/des_crypt.c: Likewise.
14438 * sunrpc/des_soft.c: Likewise.
14439 * sunrpc/get_myaddr.c: Likewise.
14440 * sunrpc/key_call.c: Likewise.
14441 * sunrpc/key_prot.c: Likewise.
14442 * sunrpc/netname.c: Likewise.
14443 * sunrpc/pm_getmaps.c: Likewise.
14444 * sunrpc/pm_getport.c: Likewise.
14445 * sunrpc/pmap_clnt.c: Likewise.
14446 * sunrpc/pmap_prot.c: Likewise.
14447 * sunrpc/pmap_prot2.c: Likewise.
14448 * sunrpc/pmap_rmt.c: Likewise.
14449 * sunrpc/publickey.c: Likewise.
14450 * sunrpc/rpc_cmsg.c: Likewise.
14451 * sunrpc/rpc_common.c: Likewise.
14452 * sunrpc/rpc_dtable.c: Likewise.
14453 * sunrpc/rpc_prot.c: Likewise.
14454 * sunrpc/rpc_thread.c: Likewise.
14455 * sunrpc/rtime.c: Likewise.
14456 * sunrpc/svc.c: Likewise.
14457 * sunrpc/svc_auth.c: Likewise.
14458 * sunrpc/svc_authux.c: Likewise.
14459 * sunrpc/svc_raw.c: Likewise.
14460 * sunrpc/svc_run.c: Likewise.
14461 * sunrpc/svc_simple.c: Likewise.
14462 * sunrpc/svc_tcp.c: Likewise.
14463 * sunrpc/svc_udp.c: Likewise.
14464 * sunrpc/svc_unix.c: Likewise.
14465 * sunrpc/svcauth_des.c: Likewise.
14466 * sunrpc/xcrypt.c: Likewise.
14467 * sunrpc/xdr.c: Likewise.
14468 * sunrpc/xdr_array.c: Likewise.
14469 * sunrpc/xdr_float.c: Likewise.
14470 * sunrpc/xdr_intXX_t.c: Likewise.
14471 * sunrpc/xdr_mem.c: Likewise.
14472 * sunrpc/xdr_rec.c: Likewise.
14473 * sunrpc/xdr_ref.c: Likewise.
14474 * sunrpc/xdr_sizeof.c: Likewise.
14475 * sunrpc/xdr_stdio.c: Likewise.
14477 2011-04-10 Ulrich Drepper <drepper@gmail.com>
14480 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
14481 * sysdeps/ia64/dl-tls.h: Likewise.
14482 * sysdeps/powerpc/dl-tls.h: Likewise.
14483 * sysdeps/s390/dl-tls.h: Likewise.
14484 * sysdeps/sh/dl-tls.h: Likewise.
14485 * sysdeps/sparc/dl-tls.h: Likewise.
14486 * sysdeps/x86_64/dl-tls.h: Likewise.
14487 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
14489 2011-03-14 Andreas Schwab <schwab@redhat.com>
14491 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
14492 rpath element also skip the following colon.
14493 (expand_dynamic_string_token): Add is_path parameter and pass
14494 down to DL_DST_REQUIRED and _dl_dst_substitute.
14495 (decompose_rpath): Call expand_dynamic_string_token with
14496 non-zero is_path. Ignore empty rpaths.
14497 (_dl_map_object_from_fd): Call expand_dynamic_string_token
14500 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
14502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
14505 2011-04-09 Ulrich Drepper <drepper@gmail.com>
14508 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
14509 Patch by Filipe David Manana <fdmanana@apache.org>.
14511 2011-04-07 Andreas Schwab <schwab@redhat.com>
14513 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
14514 Maintain aligned stack.
14515 (CHECK_RSP): Remove unused macro.
14517 2011-04-03 Ulrich Drepper <drepper@gmail.com>
14519 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
14520 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
14522 2011-04-02 Ulrich Drepper <drepper@gmail.com>
14524 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
14526 * include/features.h: Mention __USE_XOPEN2K8 in comment.
14528 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
14531 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
14532 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
14533 * sysdeps/x86_64/memmove.c: New file.
14534 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
14535 (memcpy): Renamed to ...
14536 (__new_memcpy): This.
14537 (memcpy): Provide GLIBC_2_14 memcpy.
14538 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
14539 (memcpy): Provide GLIBC_2_2_5 memcpy.
14541 2011-04-01 Ulrich Drepper <drepper@gmail.com>
14544 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
14546 2011-03-30 Andreas Schwab <schwab@redhat.com>
14548 * misc/syncfs.c: New file.
14549 * misc/Makefile (routines): Add syncfs.
14550 * posix/unistd.h: Declare syncfs.
14551 * sysdeps/unix/syscalls.list: Add syncfs.
14553 2011-04-01 Andreas Schwab <schwab@redhat.com>
14555 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
14557 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14558 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14559 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14560 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14561 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14562 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
14563 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14565 2011-04-01 Ulrich Drepper <drepper@gmail.com>
14567 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
14568 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14569 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
14570 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14571 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14572 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14573 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14575 * io/Makefile: Compile fallocate.c, fallocate64.c, and
14576 sync_file_range.c with -fexceptions.
14577 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
14578 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
14579 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
14580 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
14581 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
14582 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
14583 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
14584 sync_file_range as cancellation point
14585 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
14586 now a wrapper around __call_sync_file_range with cancellation handling.
14587 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
14588 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
14589 function name to __call_sync_file_range.
14590 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
14591 Add call_sync_file_range.
14593 2011-04-01 Andreas Schwab <schwab@redhat.com>
14595 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14598 2011-04-01 Ulrich Drepper <drepper@gmail.com>
14600 * iconv/iconv.h: Fix typo in comment.
14601 * io/fcntl.h: Likewise.
14602 * libio/stdio.h: Likewise.
14603 * posix/spawn.h: Likewise.
14604 * posix/unistd.h: Likewise.
14605 * stdlib/stdlib.h: Likewise.
14606 * time/time.h: Likewise.
14607 * wcsmbs/wchar.h: Likewise.
14609 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
14610 open_by_handle): Add.
14611 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
14612 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
14613 Augment a few comments.
14614 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14615 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14616 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14617 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14618 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14619 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
14622 * io/fcntl.h (AT_EMPTY_PATH): Define.
14624 2011-03-30 Ulrich Drepper <drepper@gmail.com>
14626 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
14627 * sysdeps/unix/sysv/linux/bits/time.h: New file.
14628 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
14630 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
14631 * Versions.def: Add GLIBC_2.14.
14632 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
14635 2011-03-22 Ulrich Drepper <drepper@gmail.com>
14637 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
14639 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14641 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
14644 * string/test-strncmp.c (do_page_test): New function.
14645 (check2): Likewise.
14646 (test_main): Call check2.
14647 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
14649 2011-03-20 Ulrich Drepper <drepper@gmail.com>
14652 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
14653 Handle cache information in CPU leaf 4.
14654 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14656 2011-03-18 Ulrich Drepper <drepper@gmail.com>
14659 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
14660 character representation.
14661 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
14663 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
14665 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
14666 END(__isnan) to END(__isnanf) to match function entry point/label
14667 EALIGN(__isnanf,...).
14669 2011-03-10 Jakub Jelinek <jakub@redhat.com>
14671 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
14673 2011-03-10 Ulrich Drepper <drepper@gmail.com>
14676 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
14677 copy from the symbol referenced in the relocation to initialize the
14679 Patch by Piotr Bury <pbury@goahead.com>.
14680 * elf/Makefile: Add rules to build and tst-unique3.
14681 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
14682 * elf/tst-unique3.cc: New file.
14683 * elf/tst-unique3.h: New file.
14684 * elf/tst-unique3lib.cc: New file.
14685 * elf/tst-unique3lib2.cc: New file.
14687 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
14689 2011-03-10 Mike Frysinger <vapier@gentoo.org>
14691 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
14692 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
14695 2011-03-06 Ulrich Drepper <drepper@gmail.com>
14697 * elf/dl-load.c (_dl_map_object): If we are looking for the first
14698 to-be-loaded object along a path to loader is ld.so.
14700 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14701 Ulrich Drepper <drepper@gmail.com>
14703 * sysdeps/x86_64/memset.S: After aligning destination, code
14704 branches to different locations depending on the value of
14705 misalignment, when multiarch is enabled. Fix this.
14707 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14709 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
14710 Set _x86_64_preferred_memory_instruction for AMD processsors.
14711 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14712 Set bit_Prefer_SSE_for_memop for AMD processors.
14714 2011-03-04 Ulrich Drepper <drepper@gmail.com>
14716 * libio/fmemopen.c (fmemopen): Optimize a bit.
14718 2011-03-03 Andreas Schwab <schwab@redhat.com>
14720 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
14722 2011-03-03 Roland McGrath <roland@redhat.com>
14724 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
14726 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
14728 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
14729 __bzero_ultra1 instead of __memset_ultra1.
14731 2011-02-23 Andreas Schwab <schwab@redhat.com>
14732 Ulrich Drepper <drepper@gmail.com>
14735 * include/link.h (struct link_map): Add l_orig_initfini.
14736 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
14737 returning unsuccessfully.
14738 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
14739 close of a file loaded at startup, restore the original l_initfini
14741 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
14742 list, store the pointer.
14743 * elf/Makefile ($(objpfx)noload-mem): New rule.
14744 (noload-ENV): Define.
14745 (tests): Add $(objpfx)noload-mem.
14746 * elf/noload.c: Include <memcheck.h>.
14747 (main): Call mtrace. Close all opened handles.
14749 2011-02-17 Andreas Schwab <schwab@redhat.com>
14752 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
14753 dependencies are missing.
14755 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
14757 Fix __if_freereq crash: Unlike the generic version which uses free,
14759 * sysdeps/mach/hurd/ifreq.h: New file.
14761 2011-01-27 Petr Baudis <pasky@suse.cz>
14762 Ulrich Drepper <drepper@gmail.com>
14765 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
14766 to extend_alloca().
14767 * stdio-common/bug23.c: New file.
14768 * stdio-common/Makefile (tests): Add bug23.
14770 2010-09-28 Andreas Schwab <schwab@redhat.com>
14771 Ulrich Drepper <drepper@gmail.com>
14774 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
14775 before performing relro protection. At old place add assertion
14776 to make sure nothing changed.
14778 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
14779 Glauber de Oliveira Costa <glommer@gmail.com>
14781 * elf/elf.h: Add new ARM TLS relocs.
14783 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
14785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14786 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
14788 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
14790 * sysdeps/wordsize-64/tst-writev.c: New file.
14792 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
14794 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
14795 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
14796 insns in _dl_start to prevent a TOC reference before relocs are
14799 2011-02-15 Ulrich Drepper <drepper@gmail.com>
14802 * Makeconfig: Remove RANLIB definition.
14803 * Makerules: Don't use RANLIB.
14804 * aclocal.m4: Remove ranlib test.
14805 * configure.in: No need to check for ranlib.
14806 * elf/rtld-Rules: Don't use RANLIB.
14808 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14810 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
14812 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
14813 inclusion protection macro.
14815 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
14816 SIGRTMIN and SIGRTMAX and print information in that case only when
14817 SIGRTMIN is defined.
14819 2011-02-11 Jakub Jelinek <jakub@redhat.com>
14821 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
14822 arginfo fn returning -1.
14824 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
14825 and thousands string is zero terminated.
14827 2011-02-03 Andreas Schwab <schwab@redhat.com>
14829 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
14830 sysdeps/unix/sysv/linux/bits/socket.h.
14832 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
14834 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
14835 (__CPU_COUNT): Remove old macros.
14836 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
14837 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
14838 (__CPU_ALLOC, __CPU_FREE): Add macros.
14839 (__sched_cpualloc, __sched_cpufree): Add declarations.
14841 2011-02-05 Ulrich Drepper <drepper@gmail.com>
14843 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
14844 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
14845 * nscd/aicache.c (addhstaiX): Return timeout of added value.
14846 (readdhstai): Return value of addhstaiX call.
14847 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
14848 (addgrbyX): Return value returned by cache_addgr.
14849 (readdgrbyname): Return value returned by addgrbyX.
14850 (readdgrbygid): Likewise.
14851 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
14852 (addpwbyX): Return value returned by cache_addpw.
14853 (readdpwbyname): Return value returned by addhstbyX.
14854 (readdpwbyuid): Likewise.
14855 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
14856 (addservbyX): Return value returned by cache_addserv.
14857 (readdservbyname): Return value returned by addservbyX:
14858 (readdservbyport): Likewise.
14859 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
14860 (addhstbyX): Return value returned by cache_addhst.
14861 (readdhstbyname): Return value returned by addhstbyX.
14862 (readdhstbyaddr): Likewise.
14863 (readdhstbynamev6): Likewise.
14864 (readdhstbyaddrv6): Likewise.
14865 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
14866 (readdinitgroups): Return value returned by addinitgroupsX.
14867 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
14868 (prune_cache): Keep track of timeout value of re-added entries.
14869 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
14870 * nscd/nscd.h: Adjust prototypes of readd* functions.
14872 2011-02-04 Roland McGrath <roland@redhat.com>
14874 * nis/nis_server.c (nis_servstate): Use the right name for 0.
14875 (nis_stats): Likewise.
14876 * nis/nis_modify.c (nis_modify): Likewise.
14877 * nis/nis_remove.c (nis_remove): Likewise.
14878 * nis/nis_add.c (nis_add): Likewise.
14880 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
14882 * posix/fnmatch_loop.c: Add some consts.
14884 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
14886 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
14889 * config.make.in (config-cflags-novzeroupper): Define.
14890 * configure.in: Substitute libc_cv_cc_novzeroupper.
14891 * elf/Makefile (AVX-CFLAGS): Define.
14892 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
14893 (CFLAGS-tst-auditmod4a.c): Likewise.
14894 (CFLAGS-tst-auditmod4b.c): Likewise.
14895 (CFLAGS-tst-auditmod6b.c): Likewise.
14896 (CFLAGS-tst-auditmod6c.c): Likewise.
14897 (CFLAGS-tst-auditmod7b.c): Likewise.
14898 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
14900 2011-02-02 Ulrich Drepper <drepper@gmail.com>
14902 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
14903 function to the callback.
14904 Patch partly by Jiri Olsa <jolsa@redhat.com>.
14906 2011-02-02 Andreas Schwab <schwab@redhat.com>
14908 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
14911 2011-01-19 Ulrich Drepper <drepper@gmail.com>
14914 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
14916 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
14918 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
14921 * elf/Makefile: Add rules to build and run new test.
14922 * elf/tst-initorder.c: New file.
14923 * elf/tst-initorder.exp: New file.
14924 * elf/tst-initordera1.c: New file.
14925 * elf/tst-initordera2.c: New file.
14926 * elf/tst-initordera3.c: New file.
14927 * elf/tst-initordera4.c: New file.
14928 * elf/tst-initorderb1.c: New file.
14929 * elf/tst-initorderb2.c: New file.
14930 * elf/tst-order-a1.c: New file.
14931 * elf/tst-order-a2.c: New file.
14932 * elf/tst-order-a3.c: New file.
14933 * elf/tst-order-a4.c: New file.
14934 * elf/tst-order-b1.c: New file.
14935 * elf/tst-order-b2.c: New file.
14936 * elf/tst-order-main.c: New file.
14937 New test case by George Gensure <werkt0@gmail.com>.
14939 2010-10-01 Andreas Schwab <schwab@redhat.com>
14941 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14942 decoding ACE if AI_CANONIDN.
14944 2011-01-18 Ulrich Drepper <drepper@gmail.com>
14946 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
14948 2011-01-17 Ulrich Drepper <drepper@gmail.com>
14950 * version.h (RELEASE): Bump for 2.13 release.
14951 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
14953 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
14955 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
14957 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
14958 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
14959 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
14960 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
14961 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
14962 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
14964 * posix/getconf.c: Update copyright year.
14965 * catgets/gencat.c: Likewise.
14966 * csu/version.c: Likewise.
14967 * debug/catchsegv.sh: Likewise.
14968 * debug/xtrace.sh: Likewise.
14969 * elf/ldconfig.c: Likewise.
14970 * elf/ldd.bash.in: Likewise.
14971 * elf/sprof.c (print_version): Likewise.
14972 * iconv/iconv_prog.c: Likewise.
14973 * iconv/iconvconfig.c: Likewise.
14974 * locale/programs/locale.c: Likewise.
14975 * locale/programs/localedef.c: Likewise.
14976 * malloc/memusage.sh: Likewise.
14977 * malloc/mtrace.pl: Likewise.
14978 * nscd/nscd.c (print_version): Likewise.
14979 * nss/getent.c: Likewise.
14981 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
14982 PF_CAIF, and PF_ALG.
14983 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14985 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
14987 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
14988 (modules-names): Use them.
14989 (ifunc-test-modules, ifunc-pie-tests): Define.
14990 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
14991 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
14992 (test-extras): Likewise.
14993 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
14994 $(compile-command.c).
14995 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
14996 (all-built-dso): Define.
14997 (check-textrel.out, check-execstack.out): Depend on it.
14999 * configure.in: Don't override --enable-multi-arch.
15001 2011-01-15 Ulrich Drepper <drepper@gmail.com>
15004 * nscd/hstcache.c (tryagain): Define.
15005 (cache_addhst): Return tryagain not notfound for temporary errors.
15006 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
15009 2011-01-14 Ulrich Drepper <drepper@gmail.com>
15012 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
15013 to make the syscall.
15014 * sysdeps/unix/sysv/linux/setgroups.c: New file.
15017 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
15018 and fall back to matching as normal character if the string ends before
15019 the matching ']' is found. This is what POSIX requires.
15020 * posix/testfnm.c: Adjust test result.
15021 * posix/globtest.sh: Adjust test result. Add new test.
15022 * posix/tst-fnmatch.input: Likewise.
15023 * posix/tst-fnmatch2.c: Add new test.
15025 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
15027 * elf/Makefile (check-execstack): Revert last change. Depend on
15029 (check-execstack.h): New target.
15030 (generated): Add check-execstack.h.
15031 * elf/check-execstack.c: Include "check-execstack.h".
15032 (main): Revert last change.
15033 (handle_file): Return zero if GNU_STACK is absent and
15034 DEFAULT_STACK_PERMS doesn't include PF_X.
15036 2011-01-13 Ulrich Drepper <drepper@gmail.com>
15038 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
15039 in child fails because the descriptor is already closed.
15040 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
15041 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
15042 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
15045 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
15049 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
15050 temporary buffer used to handle multi lookups locally.
15051 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
15053 2011-01-12 Ulrich Drepper <drepper@gmail.com>
15055 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
15058 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
15060 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
15061 alignment for SSE2.
15063 2011-01-12 Ulrich Drepper <drepper@gmail.com>
15066 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
15067 characters. When rounding increased number of integer digits recompute
15069 * stdio-common/tst-grouping.c: New file.
15070 * stdio-common/Makefile: Add rules to build and run tst-grouping.
15072 2011-01-09 Ulrich Drepper <drepper@gmail.com>
15074 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
15075 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
15077 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
15079 * bits/select.h: Likewise.
15081 2011-01-08 Ulrich Drepper <drepper@gmail.com>
15083 * po/ja.po: Update from translation team.
15085 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
15088 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
15089 implementation just like for lxstat, fxstatat, et al.
15091 2010-12-27 Jim Meyering <meyering@redhat.com>
15094 * posix/regexec.c (build_trtable): Return failure indication upon
15095 calloc failure. Otherwise, re_search_internal could infloop on OOM.
15097 2010-12-25 Ulrich Drepper <drepper@gmail.com>
15100 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
15101 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
15102 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
15103 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
15106 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
15109 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
15110 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
15112 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
15114 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
15115 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
15116 script has SORT_BY_INIT_PRIORITY.
15117 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
15118 NO_CTORS_DTORS_SECTIONS is defined.
15119 * elf/soinit.c: Likewise.
15120 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
15121 NO_CTORS_DTORS_SECTIONS is defined.
15122 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
15123 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
15124 * sysdeps/sh/init-first.c: Likewise.
15125 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
15127 2010-12-24 Ulrich Drepper <drepper@gmail.com>
15129 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
15130 always use the slow path.
15132 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
15134 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
15135 similar rule which adds the sysdep directories to the header search in
15136 order to pick up the correct platform stackinfo.h.
15137 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
15138 perform test if it is, otherwise return successfully without testing.
15139 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
15140 DEFAULT_STACK_PERMS define in stackinfo.h.
15141 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
15142 defined in stackinfo.h.
15143 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
15144 DEFAULT_STACK_PERMS defined in stackinfo.h.
15145 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
15146 * sysdeps/ia64/stackinfo.h: Likewise.
15147 * sysdeps/s390/stackinfo.h: Likewise.
15148 * sysdeps/sh/stackinfo.h: Likewise.
15149 * sysdeps/sparc/stackinfo.h: Likewise.
15150 * sysdeps/x86_64/stackinfo.h: Likewise.
15151 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
15152 PF_X for powerpc64. Retain PF_X for powerpc32.
15154 2010-12-19 Ulrich Drepper <drepper@gmail.com>
15156 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
15158 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
15159 GETDENTS_64BIT_ALIGNED.
15161 2010-12-14 Ulrich Drepper <dreper@gmail.com>
15163 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
15165 2010-12-10 Andreas Schwab <schwab@redhat.com>
15167 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
15170 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
15171 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
15173 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
15174 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
15176 2010-12-09 Ulrich Drepper <drepper@gmail.com>
15179 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
15182 2010-12-09 Jakub Jelinek <jakub@redhat.com>
15184 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
15186 2010-12-03 Ulrich Drepper <drepper@gmail.com>
15188 * po/it.po: Update from translation team.
15190 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
15192 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
15195 2010-11-30 Ulrich Drepper <drepper@gmail.com>
15197 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
15199 2010-11-24 Andreas Schwab <schwab@redhat.com>
15201 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
15203 (gaih_getanswer_slice): Likewise.
15205 2010-10-20 Jakub Jelinek <jakub@redhat.com>
15207 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
15209 2010-05-31 Petr Baudis <pasky@suse.cz>
15212 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
15213 silently even in the chroot mode.
15215 2010-11-22 Ulrich Drepper <drepper@gmail.com>
15217 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
15218 last patch a bit. Pretty printing
15220 2010-05-31 Petr Baudis <pasky@suse.cz>
15223 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
15224 initialization of skip_initgroups_dyn.
15226 2010-11-19 Ulrich Drepper <drepper@gmail.com>
15228 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
15229 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
15231 2010-11-16 Ulrich Drepper <drepper@gmail.com>
15233 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
15235 2010-11-11 Andreas Schwab <schwab@redhat.com>
15237 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
15238 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
15239 (tst-fnmatch-ENV): Set MALLOC_TRACE.
15240 ($(objpfx)tst-fnmatch-mem): New rule.
15241 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
15242 * posix/tst-fnmatch.c (main): Call mtrace.
15244 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
15246 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15247 Support Intel processor model 6 and model 0x2c.
15249 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
15251 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
15254 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
15257 * string/test-strncasecmp.c (check_result): New function.
15258 (do_one_test): Use it.
15259 (check1): New function.
15260 (test_main): Use it.
15261 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
15262 Support strcasecmp and strncasecmp.
15264 2010-11-08 Ulrich Drepper <drepper@gmail.com>
15267 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
15268 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15270 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
15272 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
15274 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15276 * sysdeps/x86_64/multiarch/bzero.S: New file.
15277 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
15278 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
15279 * sysdeps/x86_64/multiarch/memset.S: New file.
15280 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
15281 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15282 Set bit_Prefer_SSE_for_memop for Intel processors.
15283 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
15285 (index_Prefer_SSE_for_memop): Define.
15286 (HAS_PREFER_SSE_FOR_MEMOP): Define.
15288 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
15290 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
15291 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
15293 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
15296 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15297 (__x86_64_raw_data_cache_size_half): Likewise.
15298 (__x86_64_raw_shared_cache_size): Likewise.
15299 (__x86_64_raw_shared_cache_size_half): Likewise.
15301 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15302 (__x86_64_raw_data_cache_size_half): Likewise.
15303 (__x86_64_raw_shared_cache_size): Likewise.
15304 (__x86_64_raw_shared_cache_size_half): Likewise.
15305 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
15306 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
15307 and __x86_64_raw_shared_cache_size_half. Round
15308 __x86_64_data_cache_size_half, __x86_64_data_cache_size
15309 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
15310 to multiple of 256 bytes.
15312 2010-11-03 Ulrich Drepper <drepper@gmail.com>
15315 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
15316 of inacessible symlinks. Verify result of symlink before returning it.
15317 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
15318 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
15320 2010-10-28 Erich Ritz <erichritz@gmail.com>
15322 * math/math.h (isinf): Fix typo in comment.
15324 2010-11-01 Ulrich Drepper <drepper@gmail.com>
15326 * po/da.po: Update from translation team.
15328 2010-10-26 Ulrich Drepper <drepper@gmail.com>
15330 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
15331 is added to the list.
15333 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15334 Ulrich Drepper <drepper@gmail.com>
15336 * elf/dl-object.c (_dl_new_object): Don't append the new object to
15337 the global list here. Move code to...
15338 (_dl_add_to_namespace_list): ...here. New function.
15339 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
15340 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
15341 * elf/dl-load.c (lose): Don't remove the element from the list.
15342 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
15343 (_dl_map_object): Likewise.
15345 2010-10-25 Ulrich Drepper <drepper@gmail.com>
15348 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
15349 into all bytes of SSE register.
15350 Patch by Richard Li <richardpku@gmail.com>.
15352 2010-10-24 Ulrich Drepper <drepper@gmail.com>
15355 * malloc/malloc.c (_int_free): Fill correct number of bytes when
15358 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
15360 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
15361 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
15362 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
15363 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
15366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
15368 2010-10-22 Andreas Schwab <schwab@redhat.com>
15370 * include/dlfcn.h (__RTLD_SECURE): Define.
15371 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
15372 mode & __RTLD_SECURE instead.
15373 (open_path): Rename preloaded parameter to secure.
15374 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
15375 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
15376 * elf/dl-deps.c (openaux): Likewise.
15377 * elf/rtld.c (struct map_args): Remove is_preloaded.
15378 (map_doit): Don't use it.
15379 (dl_main): Likewise.
15380 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
15381 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
15383 2010-09-09 Andreas Schwab <schwab@redhat.com>
15385 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
15386 (sysd-rules-targets): Remove duplicates.
15387 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
15388 rtld-%.$o dependency.
15390 2010-10-18 Andreas Schwab <schwab@redhat.com>
15392 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
15393 _dl_map_object do it.
15395 2010-10-19 Ulrich Drepper <drepper@gmail.com>
15397 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
15398 fast fma builtins, define the macros in the C99 standard.
15399 (FP_FAST_FMAF): Likewise.
15400 (FP_FAST_FMAL): Likewise.
15401 * sysdeps/x86_64/bits/mathdef.h: Likewise.
15403 * bits/mathdef.h: Update copyright year.
15404 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15406 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
15408 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
15409 builtins, define the macros in the C99 standard.
15410 (FP_FAST_FMAF): Likewise.
15411 (FP_FAST_FMAL): Likewise.
15412 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
15414 (FP_FAST_FMAF): Likewise.
15416 2010-10-15 Jakub Jelinek <jakub@redhat.com>
15419 * math/libm-test.inc (fma_test): Some new testcases.
15420 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
15421 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
15422 y and infinite z. Do multiplication by C already in long double.
15423 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
15424 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
15425 y and infinite z. Do bitwise or of inexact bit into u.d.
15426 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
15427 * sysdeps/i386/fpu/s_fmaf.S: Removed.
15428 * sysdeps/i386/fpu/s_fma.S: Removed.
15429 * sysdeps/i386/fpu/s_fmal.S: Removed.
15431 2010-10-16 Jakub Jelinek <jakub@redhat.com>
15434 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
15435 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
15436 computation is not scheduled after fetestexcept. Fix value
15437 of minimum denormal long double.
15439 2010-10-14 Jakub Jelinek <jakub@redhat.com>
15442 * math/libm-test.inc (fma_test): Add some more tests.
15443 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
15446 2010-10-15 Andreas Schwab <schwab@redhat.com>
15448 * scripts/data/localplt-s390-linux-gnu.data: New file.
15449 * scripts/data/localplt-s390x-linux-gnu.data: New file.
15451 2010-10-13 Jakub Jelinek <jakub@redhat.com>
15454 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
15455 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
15457 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
15459 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
15460 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
15461 if one of x and y is very large and the other is subnormal.
15462 * sysdeps/s390/fpu/s_fmaf.c: New file.
15463 * sysdeps/s390/fpu/s_fma.c: New file.
15464 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
15465 * sysdeps/powerpc/fpu/s_fma.S: New file.
15466 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
15467 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
15468 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
15470 2010-10-12 Jakub Jelinek <jakub@redhat.com>
15473 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
15475 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
15476 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
15477 * sysdeps/i386/i686/multiarch/s_fma.c: Include
15478 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
15479 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
15480 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
15481 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
15483 2010-10-12 Ulrich Drepper <drepper@redhat.com>
15486 * posix/regcomp.c (parse_branch): One more memory leak plugged.
15487 * posix/bug-regex31.input: Add test case.
15489 2010-10-11 Ulrich Drepper <drepper@gmail.com>
15491 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
15492 * posix/bug-regex31.input: New file.
15495 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
15496 (parse_sub_exp): Fix last change, use postorder.
15498 * posix/bug-regex31.c: New file.
15499 * posix/Makefile: Add rules to build and run bug-regex31.
15501 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
15504 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
15507 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
15508 to have entries in sys_siglist.
15511 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
15514 2010-10-07 Jakub Jelinek <jakub@redhat.com>
15517 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
15518 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
15519 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
15520 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
15521 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
15522 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
15523 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
15524 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
15525 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
15526 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
15527 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
15528 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
15529 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
15530 * math/ftestexcept.c (fetestexcept): Likewise.
15531 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
15532 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
15533 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
15534 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
15535 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
15536 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
15537 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15539 2010-10-11 Ulrich Drepper <drepper@gmail.com>
15542 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
15545 2010-10-06 Ulrich Drepper <drepper@gmail.com>
15547 * string/bug-strstr1.c: New file.
15548 * string/Makefile: Add rules to build and run bug-strstr1.
15550 2010-10-05 Eric Blake <eblake@redhat.com>
15553 * string/str-two-way.h (two_way_long_needle): Always clear memory
15554 when skipping input due to the shift table.
15556 2010-10-03 Ulrich Drepper <drepper@gmail.com>
15559 * malloc/mcheck.c: Handle large requests.
15562 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
15563 for strncmp and strncasecmp.
15564 * string/stratcliff.c: Add tests for strcmp and strncmp.
15565 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
15567 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15569 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
15572 2010-09-30 Andreas Jaeger <aj@suse.de>
15574 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
15575 (CGROUP_SUPER_MAGIC): Define.
15576 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15577 Handle btrfs and cgroup file systems.
15578 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
15581 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
15583 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
15584 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
15586 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15589 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
15590 trying to locate the ELF header.
15592 2010-09-27 Andreas Schwab <schwab@redhat.com>
15595 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
15596 Mask out sign-bit copies when constructing f_fsid.
15598 2010-09-24 Petr Baudis <pasky@suse.cz>
15600 * debug/stack_chk_fail_local.c: Add missing licence exception.
15601 * debug/warning-nop.c: Likewise.
15603 2010-09-15 Joseph Myers <joseph@codesourcery.com>
15605 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
15606 implementing getdents64 using getdents syscall, set d_type if
15607 __ASSUME_GETDENTS32_D_TYPE.
15609 2010-09-16 Andreas Schwab <schwab@redhat.com>
15611 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
15612 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
15614 2010-09-21 Ulrich Drepper <drepper@redhat.com>
15617 * posix/unistd.h: Undo change of feature selection for ftruncate from
15620 2010-09-20 Ulrich Drepper <drepper@redhat.com>
15622 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
15625 2010-09-20 Andreas Schwab <schwab@redhat.com>
15627 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
15629 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15631 2010-09-14 Andreas Schwab <schwab@redhat.com>
15633 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
15634 variables after CHECK_SP call.
15635 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
15637 2010-09-13 Andreas Schwab <schwab@redhat.com>
15638 Ulrich Drepper <drepper@redhat.com>
15640 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
15641 re-relocationg ld.so.
15642 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
15643 _dl_init_paths call.
15644 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
15647 2010-09-14 Ulrich Drepper <drepper@redhat.com>
15649 * resolv/res_init.c (__res_vinit): Count the default server we added.
15651 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
15652 Ulrich Drepper <drepper@redhat.com>
15655 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15656 (____longjmp_chk): Use %ebx for saving value across system call.
15659 2010-09-06 Andreas Schwab <schwab@redhat.com>
15661 * manual/Makefile: Don't mix pattern rules with normal rules.
15663 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
15665 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
15667 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
15668 * libio/iofopncook.c (_IO_cookie_init): Likewise.
15669 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
15670 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
15671 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15674 2010-09-04 Ulrich Drepper <drepper@redhat.com>
15677 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
15678 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
15680 2010-09-02 Ulrich Drepper <drepper@redhat.com>
15682 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
15683 * sysdeps/x86_64/addmul_1.S: Likewise.
15684 * sysdeps/x86_64/lshift.S: Likewise.
15685 * sysdeps/x86_64/mul_1.S: Likewise.
15686 * sysdeps/x86_64/rshift.S: Likewise.
15687 * sysdeps/x86_64/sub_n.S: Likewise.
15688 * sysdeps/x86_64/submul_1.S: Likewise.
15690 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
15692 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
15693 Define __sched_param instead of SCHED_* and sched_param when
15694 <bits/sched.h> is included with __need_schedparam defined.
15695 * bits/sched.h [__need_schedparam]
15696 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
15697 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
15698 (__defined_schedparam): Define to 1.
15699 (__sched_param): New structure, identical to sched_param.
15700 (__need_schedparam): Undefine.
15702 2010-08-31 Mike Frysinger <vapier@gentoo.org>
15704 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
15705 (epoll_create1): Declare.
15707 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
15709 2010-08-31 Andreas Schwab <schwab@redhat.com>
15712 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
15713 shifting retval into place.
15715 2010-09-01 Ulrich Drepper <drepper@redhat.com>
15717 * nis/rpcsvc/nis.h: Update copyright notice.
15718 * nis/rpcsvc/nis.x: Likewise.
15719 * nis/rpcsvc/nis_callback.h: Likewise.
15720 * nis/rpcsvc/nis_callback.x: Likewise.
15721 * nis/rpcsvc/nis_object.x: Likewise.
15722 * nis/rpcsvc/nis_tags.h: Likewise.
15723 * nis/rpcsvc/yp.h: Likewise.
15724 * nis/rpcsvc/yp.x: Likewise.
15725 * nis/rpcsvc/ypupd.h: Likewise.
15726 * nis/yp_xdr.c: Likewise.
15727 * nis/ypupdate_xdr.c: Likewise.
15729 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
15730 mainly the body of pmap_getport. Add parameters to specify timeouts.
15731 (pmap_getport): Use __libc_rpc_getport.
15732 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
15733 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
15734 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
15736 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
15738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
15741 2010-08-27 Roland McGrath <roland@redhat.com>
15743 * sysdeps/i386/i686/multiarch/Makefile
15744 (CFLAGS-varshift.c): New variable.
15746 2010-08-27 Ulrich Drepper <drepper@redhat.com>
15748 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
15749 * sysdeps/i386/i686/multiarch/varshift.c: New file.
15751 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
15753 * sysdeps/x86_64/strlen.S: Minimal code improvement.
15755 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
15757 * sysdeps/x86_64/strlen.S: Unroll the loop.
15758 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15759 strlen-sse2 strlen-sse2-bsf.
15760 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
15761 __strlen_no_bsf if bit_Slow_BSF is set.
15762 (__strlen_sse42): Removed.
15763 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
15764 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
15766 2010-08-25 Roland McGrath <roland@redhat.com>
15768 * sysdeps/x86_64/multiarch/varshift.S: File removed.
15769 * sysdeps/x86_64/multiarch/varshift.c: New file.
15770 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
15771 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
15772 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
15773 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15775 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
15777 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15778 strlen-sse2 strlen-sse2-bsf.
15779 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
15780 __strlen_sse2_bsf if bit_Slow_BSF is unset.
15781 (__strlen_sse2): Removed.
15782 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
15783 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
15784 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
15785 bit_Slow_BSF for Atom.
15786 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
15787 (index_Slow_BSF): Define.
15788 (HAS_SLOW_BSF): Define.
15790 2010-08-25 Ulrich Drepper <drepper@redhat.com>
15793 * resolv/res_init.c (__res_vinit): When no server address at all
15794 is given default to loopback.
15796 2010-08-24 Roland McGrath <roland@redhat.com>
15798 * configure.in: Remove config-name.h generation.
15799 * configure: Regenerated.
15800 * config-name.in: File removed.
15801 * scripts/config-uname.sh: New file.
15802 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
15803 ($(objdir)config-name.h): New target.
15805 * sunrpc/rpc_parse.h: Avoid nested comment.
15807 2010-08-24 Richard Henderson <rth@redhat.com>
15808 Ulrich Drepper <drepper@redhat.com>
15809 H.J. Lu <hongjiu.lu@intel.com>
15811 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
15812 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
15813 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
15814 Replace _mm_srli_si128 with __m128i_shift_right. Replace
15815 _mm_alignr_epi8 with _mm_loadu_si128.
15816 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
15817 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
15818 (__m128i_shift_right): Removed.
15819 * sysdeps/i386/i686/multiarch/varshift.h: New file.
15820 * sysdeps/i386/i686/multiarch/varshift.S: New file.
15821 * sysdeps/x86_64/multiarch/varshift.h: New file.
15822 * sysdeps/x86_64/multiarch/varshift.S: New file.
15824 2010-08-21 Mike Frysinger <vapier@gentoo.org>
15826 * configure.in: Move assembler checks to before sysdep dir checking.
15828 2010-08-20 Petr Baudis <pasky@suse.cz>
15830 * LICENSES: Sync the sunrpc license.
15832 2010-08-19 Ulrich Drepper <drepper@redhat.com>
15834 * sunrpc/auth_des.c: Update copyright notice once again.
15835 * sunrpc/auth_none.c: Likewise.
15836 * sunrpc/auth_unix.c: Likewise.
15837 * sunrpc/authdes_prot.c: Likewise.
15838 * sunrpc/authuxprot.c: Likewise.
15839 * sunrpc/bindrsvprt.c: Likewise.
15840 * sunrpc/clnt_gen.c: Likewise.
15841 * sunrpc/clnt_perr.c: Likewise.
15842 * sunrpc/clnt_raw.c: Likewise.
15843 * sunrpc/clnt_simp.c: Likewise.
15844 * sunrpc/clnt_tcp.c: Likewise.
15845 * sunrpc/clnt_udp.c: Likewise.
15846 * sunrpc/clnt_unix.c: Likewise.
15847 * sunrpc/des_crypt.c: Likewise.
15848 * sunrpc/des_soft.c: Likewise.
15849 * sunrpc/get_myaddr.c: Likewise.
15850 * sunrpc/getrpcport.c: Likewise.
15851 * sunrpc/key_call.c: Likewise.
15852 * sunrpc/key_prot.c: Likewise.
15853 * sunrpc/openchild.c: Likewise.
15854 * sunrpc/pm_getmaps.c: Likewise.
15855 * sunrpc/pm_getport.c: Likewise.
15856 * sunrpc/pmap_clnt.c: Likewise.
15857 * sunrpc/pmap_prot.c: Likewise.
15858 * sunrpc/pmap_prot2.c: Likewise.
15859 * sunrpc/pmap_rmt.c: Likewise.
15860 * sunrpc/rpc/auth.h: Likewise.
15861 * sunrpc/rpc/auth_unix.h: Likewise.
15862 * sunrpc/rpc/clnt.h: Likewise.
15863 * sunrpc/rpc/des_crypt.h: Likewise.
15864 * sunrpc/rpc/key_prot.h: Likewise.
15865 * sunrpc/rpc/netdb.h: Likewise.
15866 * sunrpc/rpc/pmap_clnt.h: Likewise.
15867 * sunrpc/rpc/pmap_prot.h: Likewise.
15868 * sunrpc/rpc/pmap_rmt.h: Likewise.
15869 * sunrpc/rpc/rpc.h: Likewise.
15870 * sunrpc/rpc/rpc_des.h: Likewise.
15871 * sunrpc/rpc/rpc_msg.h: Likewise.
15872 * sunrpc/rpc/svc.h: Likewise.
15873 * sunrpc/rpc/svc_auth.h: Likewise.
15874 * sunrpc/rpc/types.h: Likewise.
15875 * sunrpc/rpc/xdr.h: Likewise.
15876 * sunrpc/rpc_clntout.c: Likewise.
15877 * sunrpc/rpc_cmsg.c: Likewise.
15878 * sunrpc/rpc_common.c: Likewise.
15879 * sunrpc/rpc_cout.c: Likewise.
15880 * sunrpc/rpc_dtable.c: Likewise.
15881 * sunrpc/rpc_hout.c: Likewise.
15882 * sunrpc/rpc_main.c: Likewise.
15883 * sunrpc/rpc_parse.c: Likewise.
15884 * sunrpc/rpc_parse.h: Likewise.
15885 * sunrpc/rpc_prot.c: Likewise.
15886 * sunrpc/rpc_sample.c: Likewise.
15887 * sunrpc/rpc_scan.c: Likewise.
15888 * sunrpc/rpc_scan.h: Likewise.
15889 * sunrpc/rpc_svcout.c: Likewise.
15890 * sunrpc/rpc_tblout.c: Likewise.
15891 * sunrpc/rpc_util.c: Likewise.
15892 * sunrpc/rpc_util.h: Likewise.
15893 * sunrpc/rpcinfo.c: Likewise.
15894 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
15895 * sunrpc/rpcsvc/key_prot.x: Likewise.
15896 * sunrpc/rpcsvc/klm_prot.x: Likewise.
15897 * sunrpc/rpcsvc/mount.x: Likewise.
15898 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
15899 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
15900 * sunrpc/rpcsvc/rex.x: Likewise.
15901 * sunrpc/rpcsvc/rstat.x: Likewise.
15902 * sunrpc/rpcsvc/rusers.x: Likewise.
15903 * sunrpc/rpcsvc/sm_inter.x: Likewise.
15904 * sunrpc/rpcsvc/spray.x: Likewise.
15905 * sunrpc/rpcsvc/yppasswd.x: Likewise.
15906 * sunrpc/rtime.c: Likewise.
15907 * sunrpc/svc.c: Likewise.
15908 * sunrpc/svc_auth.c: Likewise.
15909 * sunrpc/svc_authux.c: Likewise.
15910 * sunrpc/svc_raw.c: Likewise.
15911 * sunrpc/svc_run.c: Likewise.
15912 * sunrpc/svc_simple.c: Likewise.
15913 * sunrpc/svc_tcp.c: Likewise.
15914 * sunrpc/svc_udp.c: Likewise.
15915 * sunrpc/svc_unix.c: Likewise.
15916 * sunrpc/svcauth_des.c: Likewise.
15917 * sunrpc/xcrypt.c: Likewise.
15918 * sunrpc/xdr.c: Likewise.
15919 * sunrpc/xdr_array.c: Likewise.
15920 * sunrpc/xdr_float.c: Likewise.
15921 * sunrpc/xdr_mem.c: Likewise.
15922 * sunrpc/xdr_rec.c: Likewise.
15923 * sunrpc/xdr_ref.c: Likewise.
15924 * sunrpc/xdr_sizeof.c: Likewise.
15925 * sunrpc/xdr_stdio.c: Likewise.
15927 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
15930 2010-08-19 Andreas Schwab <schwab@redhat.com>
15932 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
15934 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
15936 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
15937 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
15938 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
15939 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
15940 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
15941 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
15942 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
15943 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
15944 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
15945 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
15946 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
15947 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
15948 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
15949 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
15951 2010-07-26 Anton Blanchard <anton@samba.org>
15953 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
15954 * malloc/arena.c (heap_trim): Likewise.
15956 2010-08-16 Ulrich Drepper <drepper@redhat.com>
15958 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
15960 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
15961 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
15963 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
15965 * sysdeps/i386/elf/Makefile: New file.
15967 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
15969 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
15970 from fanotify_init.
15971 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
15972 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15974 2010-08-15 Ulrich Drepper <drepper@redhat.com>
15976 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
15978 * sysdeps/multiarch/strcmp.S: Likewise.
15980 2010-08-14 Ulrich Drepper <drepper@redhat.com>
15982 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
15983 strncase_l-nonascii.
15984 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
15985 Add strncase_l-ssse3.
15986 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
15987 * sysdeps/x86_64/strcmp.S: Likewise.
15988 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
15989 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
15990 * sysdeps/x86_64/strncase.S: New file.
15991 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
15992 * sysdeps/x86_64/strncase_l.S: New file.
15993 * string/Makefile (strop-tests): Add strncasecmp.
15994 * string/test-strncasecmp.c: New file.
15996 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
15999 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
16000 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
16002 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
16004 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
16006 2010-08-12 Ulrich Drepper <drepper@redhat.com>
16008 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
16009 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
16010 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
16012 2010-05-01 Alan Modra <amodra@gmail.com>
16014 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
16015 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
16016 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
16017 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
16018 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
16019 tidying. Don't tail-call __sigjmp_save for static lib.
16020 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
16022 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
16023 (CALL_MCOUNT): Add eh info, and nop after bl.
16024 (TAIL_CALL_SYSCALL_ERROR): New macro.
16025 (PSEUDO_RET): Use it.
16026 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
16027 Correct save location of integer regs and cr.
16028 (_dl_profile_resolve): Correct cr save location. Delete nops
16029 after bl when SHARED. Reduce cfi size a little by better
16030 placement of cfi directives.
16031 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
16032 make a stack frame. Instead use parm save area as a temp.
16033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
16034 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
16035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16036 Don't make a stack frame for parent, use parm save area.
16037 Increase child stack frame to 112 bytes. Don't save unused reg,
16038 and adjust reg usage. Set up cfi on error recovery and
16039 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
16040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16041 (__makecontext): Add dummy nop after jump to exit.
16042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
16043 Use correct parm save area and cr save, reduce stack frame.
16044 Correct cfi for possible PSEUDO_RET frame setup.
16045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
16046 Branch to local label emitted by PSEUDO_RET rather than
16049 2010-08-12 Andreas Schwab <schwab@redhat.com>
16052 * locale/programs/locale.c (print_assignment): New function.
16053 (show_locale_vars): Use it.
16055 2010-08-11 Ulrich Drepper <drepper@redhat.com>
16057 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
16059 (struct statfs64): Likewise.
16060 (_STATFS_F_FLAGS): Define.
16061 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
16062 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16063 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
16064 (ST_VALID): Define locally.
16065 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
16066 __statvfs_getflags, use the provided value.
16067 * sysdeps/unix/sysv/linux/kernel-features.h: Define
16068 __ASSUME_STATFS_F_FLAGS.
16070 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
16072 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
16073 Add sys/fanotify.h.
16074 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
16075 fanotify_mask for GLIBC_2.13.
16076 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
16077 fanotify_init and fanotify_mark.
16078 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
16079 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
16081 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
16083 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
16084 prlimit64 for GLIBC_2.13.
16085 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
16087 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
16089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
16090 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
16091 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
16092 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
16093 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
16095 * sysdeps/unix/sysv/linux/prlimit.c: New file.
16098 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
16099 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
16101 * nss/Makefile: Add rules to build and run tst-nss-test1.
16102 * shlib-versions: Add entry for libnss_test1.
16103 * nss/nss_test1.c: New file.
16104 * nss/tst-nss-test1.c: New file.
16106 * nss/nsswitch.c (__nss_database_custom): Define new variable.
16107 (__nss_configure_lookup): Set appropriate entry in
16108 __nss_configure_lookup to true.
16109 * nss/nsswitch.h: Define enum with indeces of databases in
16110 databases and __nss_database_custom arrays. Declare
16111 __nss_database_custom.
16112 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
16113 to avoid using nscd when custom rules are installed.
16114 * nss/getXXbyYY_r.c: Likewise.
16115 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16117 * nss/nss_files/files-parse.c: Whitespace fixes.
16119 2010-08-09 Ulrich Drepper <drepper@redhat.com>
16122 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
16123 * posix/fnmatch_loop.c: Likewise.
16125 2010-07-17 Andi Kleen <ak@linux.intel.com>
16127 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
16128 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
16129 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
16130 * Versions.def [GLIBC_2.13]: Add.
16132 2010-08-06 Ulrich Drepper <drepper@redhat.com>
16134 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16135 Also fail if tpwd after pwuid call is NULL.
16137 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
16139 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
16140 when converting to ms.
16142 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16144 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
16145 EOPNOTSUPP errors with ENOTTY.
16146 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
16147 EOPNOTSUPP errors with ENOTTY.
16149 2010-07-31 Ulrich Drepper <drepper@redhat.com>
16151 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
16152 Add strcasecmp_l-ssse3.
16153 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
16155 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
16156 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
16157 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
16159 2010-07-30 Ulrich Drepper <drepper@redhat.com>
16161 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
16163 * string/Makefile (strop-tests): Add strcasecmp.
16164 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
16165 strcasecmp_l-nonascii.
16166 (gen-as-const-headers): Add locale-defines.sym.
16167 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
16168 * sysdeps/x86_64/strcasecmp.S: New file.
16169 * sysdeps/x86_64/strcasecmp_l.S: New file.
16170 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
16171 * sysdeps/x86_64/locale-defines.sym: New file.
16172 * string/test-strcasecmp.c: New file.
16174 * string/test-strcasestr.c: Test both ends of the range of characters.
16175 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
16177 2010-07-29 Roland McGrath <roland@redhat.com>
16180 * manual/locale.texi (Yes-or-No Questions): Fix example code.
16182 2010-07-27 Ulrich Drepper <drepper@redhat.com>
16184 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
16187 2010-07-27 Andreas Schwab <schwab@redhat.com>
16189 * manual/memory.texi (Malloc Tunable Parameters): Document
16192 2010-07-26 Roland McGrath <roland@redhat.com>
16195 * configure.in (-fgnu89-inline check): Set and substitute
16196 gnu89_inline, not libc_cv_gnu89_inline.
16197 * configure: Regenerated.
16198 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
16200 2010-07-26 Ulrich Drepper <drepper@redhat.com>
16202 * string/test-strnlen.c: New file.
16203 * string/Makefile (strop-tests): Add strnlen.
16204 * string/tester.c (test_strnlen): Add a few more test cases.
16205 * string/tst-strlen.c: Better error reporting.
16207 * sysdeps/x86_64/strnlen.S: New file.
16209 2010-07-24 Ulrich Drepper <drepper@redhat.com>
16211 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
16212 lower-latency instructions.
16214 2010-07-23 Ulrich Drepper <drepper@redhat.com>
16216 * string/test-strcasestr.c: New file.
16217 * string/test-strstr.c: New file.
16218 * string/Makefile (strop-tests): Add strstr and strcasestr.
16219 * string/str-two-way.h: Don't undefine MAX.
16220 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
16222 2010-07-21 Andreas Schwab <schwab@redhat.com>
16224 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16225 strcasestr-nonascii.
16226 (CFLAGS-strcasestr-nonascii.c): Define.
16227 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
16228 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
16229 Remove unused attribute.
16231 2010-07-20 Roland McGrath <roland@redhat.com>
16233 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
16234 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
16235 ld.so.cache was broken. With it, there is no way to disable dsocaps
16236 like LD_HWCAP_MASK can disable hwcaps.
16238 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16240 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
16242 2010-07-16 Ulrich Drepper <drepper@redhat.com>
16244 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
16245 call in strcasestr.
16246 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
16247 __strcasestr_sse42_nonascii.
16248 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
16249 strcasestr-nonascii.c.
16250 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
16252 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
16254 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
16255 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
16256 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
16257 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
16259 2010-07-09 Ulrich Drepper <drepper@redhat.com>
16261 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
16264 2010-07-06 Andreas Schwab <schwab@redhat.com>
16267 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
16270 2010-07-06 Ulrich Drepper <drepper@redhat.com>
16272 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
16273 _PC_PIPE_BUF using F_GETPIPE_SZ.
16275 2010-07-05 Roland McGrath <roland@redhat.com>
16277 * manual/arith.texi (Rounding Functions): Fix rint description
16278 implicit in round description.
16280 2010-07-02 Ulrich Drepper <drepper@redhat.com>
16282 * elf/Makefile: Fix linking for a few tests to make recent linker
16285 2010-06-30 Andreas Schwab <schwab@redhat.com>
16287 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
16288 $(common-objpfx)libc_nonshared.a.
16290 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
16292 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
16293 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
16294 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16295 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16296 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
16297 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
16298 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16299 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
16301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
16302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
16303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
16305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
16307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
16308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
16309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
16310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
16312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
16314 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
16315 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
16316 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
16317 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
16318 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
16319 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
16320 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
16321 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
16322 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
16323 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
16324 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
16325 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
16326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
16327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
16328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
16329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
16330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
16331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
16332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
16333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
16334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
16335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
16336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
16337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
16338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
16339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
16341 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
16343 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
16344 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
16345 * string/memmove.c (memmove): Renamed to ...
16346 (MEMMOVE): ...this. Default to memmove.
16347 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
16348 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
16350 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16351 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
16352 mempcpy-ssse3-back memmove-ssse3-back.
16353 * sysdeps/x86_64/multiarch/bcopy.S: New file .
16354 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
16355 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
16356 * sysdeps/x86_64/multiarch/memcpy.S: New file.
16357 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
16358 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
16359 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
16360 * sysdeps/x86_64/multiarch/memmove.c: New file.
16361 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
16362 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
16363 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
16364 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
16365 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
16366 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
16368 (index_Fast_Copy_Backward): Define.
16369 (HAS_ARCH_FEATURE): Define.
16370 (HAS_FAST_REP_STRING): Define.
16371 (HAS_FAST_COPY_BACKWARD): Define.
16373 2010-06-21 Andreas Schwab <schwab@redhat.com>
16375 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16376 Restore proper fallback handling.
16378 2010-06-19 Ulrich Drepper <drepper@redhat.com>
16381 * posix/group_member.c (__group_member): Correct checking loop.
16383 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
16384 OOM in getpwuid_r correctly. Return error number when the caller
16385 should return, otherwise -1.
16386 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
16387 call returning > 0 value.
16388 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
16390 2010-06-07 Andreas Schwab <schwab@redhat.com>
16392 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
16393 libc_nonshared.a from targets in modules-names.
16395 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
16397 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
16400 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
16402 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
16403 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
16404 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
16405 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
16407 2010-06-02 Andreas Schwab <schwab@redhat.com>
16409 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
16411 2010-06-14 Ulrich Drepper <drepper@redhat.com>
16413 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
16415 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16416 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16417 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16418 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16419 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16420 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
16422 2010-06-14 Roland McGrath <roland@redhat.com>
16424 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
16426 2010-06-07 Jakub Jelinek <jakub@redhat.com>
16428 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
16429 __REDIRECT followed by __THROW.
16430 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
16431 * posix/getopt.h (getopt): Likewise.
16433 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16435 * hurd/lookup-at.c (__file_name_lookup_at): Accept
16436 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
16437 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
16439 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
16440 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
16442 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
16444 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
16446 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
16449 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16450 Properly check family and model.
16452 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
16454 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
16456 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
16458 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
16460 2010-05-21 Ulrich Drepper <drepper@redhat.com>
16462 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
16465 2010-05-19 Andreas Schwab <schwab@redhat.com>
16467 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
16470 2010-05-21 Andreas Schwab <schwab@redhat.com>
16472 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
16473 and internal_recvmmsg.
16474 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
16475 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
16476 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
16477 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
16479 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
16480 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16481 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16483 2010-05-20 Andreas Schwab <schwab@redhat.com>
16485 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
16487 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
16489 POWER7 optimizations.
16490 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
16491 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
16493 2010-05-19 Ulrich Drepper <drepper@redhat.com>
16495 * version.h: Update for 2.13 development version.
16497 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
16499 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
16500 exceptions. Return 0.
16502 2010-05-07 Roland McGrath <roland@redhat.com>
16504 * elf/ldconfig.c (main): Add a const.
16506 2010-05-06 Ulrich Drepper <drepper@redhat.com>
16508 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
16509 (args_options): Add no-idn option.
16510 (ahosts_keys_int): Add idn_flags to ai_flags.
16511 (parse_option): Handle 'i' option to clear idn_flags.
16513 * malloc/malloc.c (_int_free): Possible race in the most recently
16514 added check. Only act on the data if no current modification
16517 See ChangeLog.17 for earlier changes.