1 2012-06-21 Jeff Law <law@redhat.com>
4 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
5 uint16_t for elements in the "seen" array to avoid char overflows.
6 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7 * elf/dl-open.c (dl_open_worker): Likewise.
9 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
11 * scripts/list-sources.sh: Scan PORTS for translations.
12 * po/libc.pot: Regenerated.
14 2012-06-21 Andreas Jaeger <aj@suse.de>
17 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
19 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
20 * bits/byteswap-16.h (__bswap_16): Likewise.
21 * bits/byteswap.h (__bswap_constant_16): Likewise.
23 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
26 * sysdeps/i386/fpu_control.h: Removed.
27 * sysdeps/x86_64/fpu_control.h: Moved to ...
28 * sysdeps/x86/fpu_control.h: Here.
30 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
31 (_FPU_SETCW): Likewise.
33 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
36 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
37 * sysdeps/x86/fpu/bits/mathinline.h: This.
38 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
42 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
43 functions if __x86_64__ is defined.
45 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
47 * string/endian.h: Add !__ASSEMBLER__ condition for including
48 conversion interfaces.
50 2012-06-15 Joseph Myers <joseph@codesourcery.com>
53 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
54 of ABS(x) in calculating zero to negative powers other than odd
56 * math/libm-test.inc (pow_test): Add more tests.
58 2012-06-15 Andreas Jaeger <aj@suse.de>
60 * manual/contrib.texi (Contributors): Update entry of Liubov
61 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
64 2012-06-15 Cyril Hrubis <metan@ucw.cz>
66 * string/string.h: Add __wur to GNU version of strerror_r.
68 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
71 * string/Makefile (tests): Add tst-strtok_r.
72 * string/tst-strtok_r.c: New file.
73 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
74 RAX_LP/RDX_LP on SAVE_PTR.
76 2012-06-14 Roland McGrath <roland@hack.frob.com>
78 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
80 2012-06-14 Joseph Myers <joseph@codesourcery.com>
82 * libm_test.inc (csqrt_test): Allow more spurious underflow
89 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
91 * po/Makefile (libc.pot): Use UTF-8 charset.
93 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
96 Suppress sign-conversion warning from FD_SET.
97 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
98 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
99 not unsigned long int.
100 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
102 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
106 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
107 __extern_always_inline instead of __extern_inline.
108 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
109 (__signbit): Likewise.
110 (__signbitl): Support C++ namespace.
111 (lrintf): New inline function.
125 (nearbyint): Likewise.
126 (nearbyintf): Likewise.
128 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
130 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
131 non-default versions.
133 2012-06-11 Roland McGrath <roland@hack.frob.com>
136 * manual/argp.texi (Argp): Reword argp_parse description slightly.
138 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
140 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
141 (FE_UPWARD, FE_DOWNWARD): Don't define.
142 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
143 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
145 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
147 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
148 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
150 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
152 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
153 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
154 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
155 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
157 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
160 * sysdeps/i386/fpu/bits/fenv.h: Removed.
161 * sysdeps/i386/fpu/Implies: New file.
162 * sysdeps/x86_64/fpu/Implies: Likewise.
163 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
164 * sysdeps/x86/fpu/bits/fenv.h: This.
166 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
169 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
172 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
173 character 0xffff that matches the last element of the
176 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
178 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
181 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
183 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
184 values higher than 25.6283.
186 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
188 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
189 subnormal exponent extraction and add some __builtin_expect.
190 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
191 Fix for subnormal mantissa calculation.
193 2012-06-04 Mike Frysinger <vapier@gentoo.org>
195 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
196 cpu2 is -1 and errno is not ENOSYS.
198 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
201 * sysdeps/i386/i486/bits/string.h: Renamed to ...
202 * sysdeps/x86/bits/string.h: This.
203 * sysdeps/x86_64/bits/string.h: Removed.
205 * sysdeps/i386/i486/bits/string.h: Define inline functions only
206 if not compiling for x86-64, but compiling for >= i486.
208 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
209 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
211 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
212 New macro from Linux kernel 3.4.0.
213 (FP_XSTATE_MAGIC2): Likewise.
214 (FP_XSTATE_MAGIC2_SIZE): Likewise.
215 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
216 (struct _fpx_sw_bytes): New struct.
217 (struct _xsave_hdr): Likewise.
218 (struct _ymmh_state): Likewise.
219 (struct _xstate): Likewise.
221 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
222 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
223 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
224 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
225 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
226 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
228 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
229 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
230 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
231 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
232 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
233 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
235 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
238 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
239 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
240 (sysdep_headers): Include sys/platform/ppc.h.
241 * sysdeps/powerpc/test-gettimebase.c: Test for
242 __ppc_get_timebase() to catch future ISA opcode/insn changes.
243 * manual/Makefile (appendices): Include platform.texi.
244 * manual/contrib.texi (Contributors): Update @node pointers.
245 * manual/maint.texi (Maintenance): Likewise.
246 (Platform): New node.
247 * manual/platform.texi: New file. Document the new features.
249 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
250 Jakub Jelinek <jakub@redhat.com>
253 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
254 where __builtin_expect is unavailable.
256 2012-06-03 David S. Miller <davem@davemloft.net>
258 * stdlib/longlong.h: Updated from GCC.
260 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
263 * sysdeps/powerpc/powerpc32/mcount.c: New file.
264 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
267 (GLIBC_2.16): Likewise.
269 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
271 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
273 2012-06-01 Joseph Myers <joseph@codesourcery.com>
275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
276 (default-abi): New variable.
277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
278 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
280 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
282 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
284 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
287 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
288 definition. Document in comment.
290 2012-06-01 David S. Miller <davem@davemloft.net>
292 * stdlib/longlong.h: Updated from GCC.
294 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
297 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
298 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
299 sys/debugreg.h sys/io.h here.
300 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
301 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
303 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
304 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
305 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
306 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
307 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
308 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
310 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
311 Define only if __x86_64__ is defined.
313 2012-06-01 Joseph Myers <joseph@codesourcery.com>
316 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
317 Use int64_t for variable i.
318 * math/libm-test.inc (fmod_test): Add more tests.
320 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
321 z computation is not scheduled after fetestexcept.
322 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
323 Use math_force_eval instead of asm to ensure calculation scheduled
324 before exception test.
325 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
326 Ensure a1 + u.d computation is not scheduled after fetestexcept.
328 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
330 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
331 computation is not scheduled after fetestexcept.
333 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
336 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
337 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
339 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
341 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
342 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
344 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
347 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
349 (__WCHAR_MIN): Support __WORDSIZE == 64.
350 (__WCHAR_MAX): Likewise.
352 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
353 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
356 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
357 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
360 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
361 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
363 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
364 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
366 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
367 Defined to 1 if __x86_64__ isn't defined.
368 (_STAT_VER_LINUX_OLD): New.
369 (st_atime): Remove duplicate.
370 (st_mtime): Likewise.
371 (st_ctime): Likewise.
373 2012-05-31 David S. Miller <davem@davemloft.net>
375 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
378 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
380 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
384 * elf/dl-reloc.c: Include <_itoa.h>.
385 (_dl_reloc_bad_type): Remove use of INTUSE.
386 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
387 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
388 * stdio-common/psiginfo.c (psiginfo): Likewise.
389 * stdio-common/psignal.c (psignal): Likewise.
390 * string/strsignal.c (strsignal): Likewise.
391 * include/signal.h (_sys_siglist): Declare hidden proto.
392 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
393 INTVARDEF with libc_hidden_data_def.
394 * stdio-common/itoa-udigits.c: Likewise.
395 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
396 (_itoa_lower_digits_internal): Remove declaration.
397 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
398 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
399 (_sys_sigabbrev_internal): Remove aliases.
400 (_sys_siglist): Define hidden alias.
402 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
404 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
407 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
410 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
411 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
413 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
414 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
415 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
416 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
417 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
418 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
420 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
421 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
422 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
424 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
432 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
433 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
434 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
436 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
437 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
438 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
439 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
440 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
441 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
443 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
444 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
446 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
447 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
449 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
450 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
451 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
453 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
454 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
456 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
458 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
459 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
460 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
462 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
464 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
466 2012-05-31 Joseph Myers <joseph@codesourcery.com>
468 * math/math.h (M_El): Use two more decimal places.
469 (M_LOG2El): Likewise.
470 (M_LOG10El): Likewise.
478 (M_2_SQRTPIl): Likewise.
479 (M_SQRT2l): Likewise.
480 (M_SQRT1_2l): Likewise.
482 2012-05-31 David S. Miller <davem@davemloft.net>
484 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
485 values between float registers.
486 * sysdeps/sparc/sparc64/memset.S: Likewise.
487 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
489 2012-05-31 Mike Frysinger <vapier@gentoo.org>
491 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
493 (CPPFLAGS-tst-longjmp_chk.c): Define.
494 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
495 (CPPFLAGS-tst-longjmp_chk2.c): Define.
496 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
497 CFLAGS-tst-wchar-h.c.
499 2012-05-31 Marek Polacek <polacek@redhat.com>
502 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
503 __endmntent_internal): Remove declaration.
504 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
505 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
506 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
508 2012-05-30 David S. Miller <davem@davemloft.net>
510 * sysdeps/sparc/sparc32/soft-fp/q_util.c
511 (___Q_simulate_exceptions): Use real FP ops rather than writing
513 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
516 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
519 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
520 * sysdeps/x86/bits/xtitypes.h: This.
522 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
523 * sysdeps/x86/bits/wordsize.h: This.
525 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
526 * sysdeps/x86/bits/huge_vall.h: This.
528 * sysdeps/i386/bits/select.h: Removed.
529 * sysdeps/x86_64/bits/select.h: Renamed to ...
530 * sysdeps/x86/bits/select.h: This.
532 * sysdeps/i386/bits/setjmp.h: Removed.
533 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
534 * sysdeps/x86/bits/setjmp.h: This.
536 * sysdeps/i386/bits/mathdef.h: Removed.
537 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
538 * sysdeps/x86/bits/mathdef.h: This.
540 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
543 * include/sys/socket.h (__connect_internal)
544 (__libc_sa_len_internal): Remove declaration.
545 (__connect, __libc_sa_len): Declare hidden_proto.
546 (SA_LEN): Remove use of INTUSE.
547 * socket/connect.c: Add libc_hidden_def.
548 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
549 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
550 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
552 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
553 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
554 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
555 of adding _internal alias.
557 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
560 * sysdeps/i386/bits/link.h: Removed.
561 * sysdeps/i386/bits/linkmap.h: Likewise.
562 * sysdeps/x86_64/bits/link.h: Renamed to ...
563 * sysdeps/x86/bits/link.h: This.
564 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
565 * sysdeps/x86/bits/linkmap.h: This.
567 * sysdeps/i386/bits/endian.h: Removed.
568 * sysdeps/x86_64/bits/endian.h: Renamed to ...
569 * sysdeps/x86/bits/endian.h: This.
571 * sysdeps/i386/bits/byteswap.h: Removed.
572 * sysdeps/i386/bits/byteswap-16.h: Likewise.
573 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
574 * sysdeps/x86/bits/byteswap.h: This.
575 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
576 * sysdeps/x86/bits/byteswap-16.h: This.
577 * sysdeps/i386/Implies: Add x86.
578 * sysdeps/x86_64/Implies: Likewise.
580 2012-05-30 David S. Miller <davem@davemloft.net>
582 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
583 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
584 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
585 (FP_TRAPPING_EXCEPTIONS): Define.
586 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
587 (FP_TRAPPING_EXCEPTIONS): Define.
588 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
589 subnormals only when inexact has been signalled or underflow
590 exceptions are enabled.
591 (_FP_PACK_CANONICAL): Likewise.
593 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
596 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
597 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
599 2012-05-30 Richard Henderson <rth@twiddle.net>
601 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
602 with #ifndef NOT_IN_libc.
604 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
605 marked to avoid plt entry.
607 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
610 * Makeconfig (default-abi): New macro.
611 (abi-includes): Likewise.
612 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
613 $(abi-$(default-abi)-lib-soname) for soname if defined.
614 ($(common-objpfx)gnu/lib-names.stmp): Generate from
616 * Makefile (installed-stubs): Likewise.
617 * include/stubs-biarch.h: Removed.
618 * scripts/lib-names.awk: Only handle one library at a time.
619 * scripts/soversions.awk: Remove WORDSIZE support.
620 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
622 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
624 (syscall-list-default-condition): Likewise.
625 (syscall-list-default-condition): Likewise.
626 (syscall-list-includes): Likewise.
627 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
628 syscall-list-* with abi-*. Handle undefined abi-variants.
629 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
630 * sysdeps/unix/sysv/linux/i386/Implies: New file.
631 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
632 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
633 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
634 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
636 (syscall-list-32-options): Likewise.
637 (syscall-list-32-condition): Likewise.
638 (syscall-list-64-options): Likewise.
639 (syscall-list-64-condition): Likewise.
640 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
642 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
645 (abi-64-ld-soname): New macro.
646 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
647 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
650 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
651 * sysdeps/x86_64/x32/shlib-versions: Likewise.
653 2012-05-30 Joseph Myers <joseph@codesourcery.com>
655 * sysdeps/unix/sysv/linux/kernel-features.h
656 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
657 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
658 include <kernel-features.h>.
659 [!__NR_ftruncate64]: Remove conditional code.
660 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
661 [__NR_ftruncate64]: Make code unconditional.
662 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
663 * sysdeps/unix/sysv/linux/truncate64.c: Do not
664 include <kernel-features.h>.
665 [!__NR_ftruncate64]: Remove conditional code.
666 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
667 [__NR_ftruncate64]: Make code unconditional.
668 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
670 include <kernel-features.h>.
671 [!__NR_ftruncate64]: Remove conditional code.
672 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
673 [__NR_ftruncate64]: Make code unconditional.
674 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
676 include <kernel-features.h>.
677 [!__NR_ftruncate64]: Remove conditional code.
678 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
679 [__NR_ftruncate64]: Make code unconditional.
680 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
682 * configure.in (libc_cv_fpie): Weaken to a compile test using
684 * configure: Regenerated.
686 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
688 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
689 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
690 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
691 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
693 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
694 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
695 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
696 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
697 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
698 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
701 2012-05-27 David S. Miller <davem@davemloft.net>
703 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
705 (__Q_simulate_exceptions): Return void. Change to simulate
706 exceptions by writing into the %fsr.
707 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
708 (__Qp_handle_exceptions): Likewise.
710 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
711 __Qp_handle_exceptions.
712 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
713 __Qp_handle_exceptions.
714 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
715 as unused and give dummy FP_RND_NEAREST initializer.
716 (FP_INHIBIT_RESULTS): Define.
717 (___Q_simulate_exceptions): Update declaration.
718 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
720 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
721 as unused and give dummy FP_RND_NEAREST initializer.
722 (__Qp_handle_exceptions): Update declaration.
723 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
726 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
728 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
729 the temporary FPU control word.
730 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
731 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
732 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
733 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
734 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
735 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
736 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
737 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
738 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
739 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
740 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
742 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
744 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
747 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
749 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
750 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
751 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
752 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
754 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
755 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
758 2012-05-27 Ulrich Drepper <drepper@gmail.com>
760 * po/h.po: Update from translation team.
762 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
764 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
766 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
767 handling of denormals.
768 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
769 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
770 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
771 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
772 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
773 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
774 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
777 2012-05-26 Marek Polacek <polacek@redhat.com>
780 * math/libm-test.inc (fma_test): Don't always expect underflow
783 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
786 * elf/tst-execstack.c: Include stackinfo.h.
787 (do_test): Adjust test case to ensure that pthread_getattr_np
788 behaviour remains the same after marking stack executable.
790 2012-05-25 Joseph Myers <joseph@codesourcery.com>
792 * sysdeps/unix/sysv/linux/kernel-features.h
793 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
794 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
796 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
797 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
798 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
800 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
801 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
803 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
805 * configure.in: Define the default includes to being none.
806 * configure: Regenerated.
808 2012-05-25 Roland McGrath <roland@hack.frob.com>
810 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
811 * sysdeps/x86_64/setjmp.S: Likewise.
812 * sysdeps/i386/bsd-setjmp.S: Likewise.
813 * sysdeps/i386/bsd-_setjmp.S: Likewise.
814 * sysdeps/i386/setjmp.S: Likewise.
815 * sysdeps/i386/__longjmp.S: Likewise.
816 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
817 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
819 * include/stap-probe.h: New file.
820 * configure.in: Handle --enable-systemtap.
821 * configure: Regenerated.
822 * config.h.in (USE_STAP_PROBE): New #undef.
823 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
824 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
825 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
827 2012-05-25 Joseph Myers <joseph@codesourcery.com>
830 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
831 to 2.4.0 where earlier.
832 * sysdeps/unix/sysv/linux/configure: Regenerated.
833 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
835 [__ASSUME_32BITUIDS]: Make code unconditional.
836 [!__ASSUME_32BITUIDS]: Remove conditional code.
837 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
839 [__ASSUME_32BITUIDS]: Make code unconditional.
840 [!__ASSUME_32BITUIDS]: Remove conditional code.
841 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
842 [__ASSUME_32BITUIDS]: Make code unconditional.
843 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
844 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
846 [__ASSUME_32BITUIDS]: Make code unconditional.
847 [!__ASSUME_32BITUIDS]: Remove conditional code.
848 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
850 [__ASSUME_32BITUIDS]: Make code unconditional.
851 [!__ASSUME_32BITUIDS]: Remove conditional code.
852 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
854 [__ASSUME_32BITUIDS]: Make code unconditional.
855 [!__ASSUME_32BITUIDS]: Remove conditional code.
856 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
858 [__ASSUME_32BITUIDS]: Make code unconditional.
859 [!__ASSUME_32BITUIDS]: Remove conditional code.
860 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
862 [__ASSUME_32BITUIDS]: Make code unconditional.
863 [!__ASSUME_32BITUIDS]: Remove conditional code.
864 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
866 [__ASSUME_32BITUIDS]: Make code unconditional.
867 [!__ASSUME_32BITUIDS]: Remove conditional code.
868 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
870 [__ASSUME_32BITUIDS]: Make code unconditional.
871 [!__ASSUME_32BITUIDS]: Remove conditional code.
872 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
874 [__ASSUME_32BITUIDS]: Make code unconditional.
875 [!__ASSUME_32BITUIDS]: Remove conditional code.
876 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
878 [__ASSUME_32BITUIDS]: Make code unconditional.
879 [!__ASSUME_32BITUIDS]: Remove conditional code.
880 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
882 [__ASSUME_32BITUIDS]: Make code unconditional.
883 [!__ASSUME_32BITUIDS]: Remove conditional code.
884 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
886 [__NR_setresgid] (__setresgid): Do not declare.
887 [__ASSUME_32BITUIDS]: Make code unconditional.
888 [!__ASSUME_32BITUIDS]: Remove conditional code.
889 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
891 [__NR_setresuid] (__setresuid): Do not declare.
892 [__ASSUME_32BITUIDS]: Make code unconditional.
893 [!__ASSUME_32BITUIDS]: Remove conditional code.
894 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
896 [__ASSUME_32BITUIDS]: Make code unconditional.
897 [!__ASSUME_32BITUIDS]: Remove conditional code.
898 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
900 [__ASSUME_32BITUIDS]: Make code unconditional.
901 [!__ASSUME_32BITUIDS]: Remove conditional code.
902 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
904 [__ASSUME_32BITUIDS]: Make code unconditional.
905 [!__ASSUME_32BITUIDS]: Remove conditional code.
906 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
908 [__ASSUME_32BITUIDS]: Make code unconditional.
909 [!__ASSUME_32BITUIDS]: Remove conditional code.
910 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
912 [__ASSUME_32BITUIDS]: Make code unconditional.
913 [!__ASSUME_32BITUIDS]: Remove conditional code.
914 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
916 [__ASSUME_32BITUIDS]: Make code unconditional.
917 [!__ASSUME_32BITUIDS]: Remove conditional code.
918 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
920 [__ASSUME_32BITUIDS]: Make code unconditional.
921 [!__ASSUME_32BITUIDS]: Remove conditional code.
922 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
924 [__ASSUME_32BITUIDS]: Make code unconditional.
925 [!__ASSUME_32BITUIDS]: Remove conditional code.
926 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
928 [__ASSUME_32BITUIDS]: Make code unconditional.
929 [!__ASSUME_32BITUIDS]: Remove conditional code.
930 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
932 [__ASSUME_32BITUIDS]: Make code unconditional.
933 [!__ASSUME_32BITUIDS]: Remove conditional code.
934 * sysdeps/unix/sysv/linux/kernel-features.h
935 (__ASSUME_SETRESUID_SYSCALL): Remove.
936 (__ASSUME_SETRESGID_SYSCALL): Likewise.
937 (__ASSUME_32BITUIDS): Likewise.
938 (__ASSUME_LDT_WORKS): Likewise.
939 (__ASSUME_O_DIRECTORY): Likewise.
940 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
941 architecture but not kernel version.
942 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
943 (__ASSUME_MMAP2_SYSCALL): Likewise.
944 (__ASSUME_STAT64_SYSCALL): Likewise.
945 (__ASSUME_IPC64): Likewise.
946 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
948 [__ASSUME_32BITUIDS]: Make code unconditional.
949 [!__ASSUME_32BITUIDS]: Remove conditional code.
950 * sysdeps/unix/sysv/linux/opendir.c: Do not include
952 [__ASSUME_O_DIRECTORY]: Make code unconditional.
953 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
954 132096]: Remove conditional code.
955 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
956 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
958 [__ASSUME_32BITUIDS]: Make code unconditional.
959 [!__ASSUME_32BITUIDS]: Remove conditional code.
960 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
962 [__ASSUME_32BITUIDS]: Make code unconditional.
963 [!__ASSUME_32BITUIDS]: Remove conditional code.
964 * sysdeps/unix/sysv/linux/setegid.c: Do not include
966 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
968 (__setresgid): Do not declare.
969 [__ASSUME_32BITUIDS]: Make code unconditional.
970 [!__ASSUME_32BITUIDS]: Remove conditional code.
971 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
973 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
975 (__setresuid): Do not declare.
976 [__ASSUME_32BITUIDS]: Make code unconditional.
977 [!__ASSUME_32BITUIDS]: Remove conditional code.
978 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
980 [__ASSUME_32BITUIDS]: Make code unconditional.
981 [!__ASSUME_32BITUIDS]: Remove conditional code.
982 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
984 [__ASSUME_32BITUIDS]: Make code unconditional.
985 [!__ASSUME_32BITUIDS]: Remove conditional code.
987 2012-05-25 Richard Henderson <rth@twiddle.net>
989 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
990 dl_hwcap to ifunc resolver.
991 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
993 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
994 dl_hwcap to ifunc resolver.
995 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
997 2012-05-24 Joseph Myers <joseph@codesourcery.com>
1000 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
1001 for |x| <= 2**-26, not 2**-57.
1002 * math/libm-test.inc (acos_test): Do not allow spurious underflow
1005 2012-05-24 Jeff Law <law@redhat.com>
1007 * stdio-common/Makefile (tests): Add bug25.
1008 * stdio-common/bug25.c: New test.
1010 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
1013 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
1014 multiple of MALLOC_ALIGNMENT in size.
1015 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
1017 2012-05-24 Joseph Myers <joseph@codesourcery.com>
1019 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
1021 (FILENAME_MAX): Use macro-int-constant.
1022 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
1023 (_IOFBF): Use macro-int-constant.
1026 (SEEK_CUR): Likewise.
1027 (SEEK_END): Likewise.
1028 (SEEK_SET): Likewise.
1029 (TMP_MAX): Likewise.
1030 (EOF): Use macro-int-constant. Require < 0.
1031 (NULL): Use macro-constant. Require == 0.
1032 (stdin): Require type to be FILE *.
1035 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
1037 (EXIT_SUCCESS): Likewise.
1038 (NULL): Use macro-constant. Require == 0.
1039 (RAND_MAX): Use macro-int-constant.
1040 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
1041 [C99-based standards] (strtof): Require function.
1042 [C99-based standards] (strtold): Likewise.
1043 [C99-based standards] (strtoll): Likewise.
1044 [C99-based standards] (strtoull): Likewise.
1045 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
1046 [ISO || ISO99 || ISO11] (limits.h): Likewise.
1047 [ISO || ISO99 || ISO11] (math.h): Likewise.
1048 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
1049 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
1050 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1052 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
1055 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
1056 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
1057 * intl/dgettext.c (DCGETTEXT): Likewise.
1058 * intl/gettext.c (DCGETTEXT): Likewise.
1059 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
1060 * posix/regex_internal.h (gettext): Likewise.
1061 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
1063 * include/argz.h (__argz_count_internal)
1064 (__argz_stringify_internal): Remove declaration.
1065 (__argz_count, __argz_stringify): Declare hidden proto.
1066 * intl/dcgettext.c: Remove use of INTDEF.
1067 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
1068 * string/argz-stringify.c: Likewise.
1069 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
1070 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
1071 Declare hidden proto.
1072 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
1073 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
1074 Declare hidden proto.
1075 * include/stdio.h (__asprintf_internal): Don't declare.
1076 (__asprintf): Don't define as macro. Declare hidden proto.
1077 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
1078 (__fsetlocking): Declare hidden proto.
1079 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
1080 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
1082 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
1083 (_IO_setlinebuf): Remove use of INTUSE.
1084 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
1085 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
1086 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
1088 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
1089 (_IO_do_flush): Remove use of INTUSE.
1090 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
1091 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
1092 (_IO_adjust_column, _IO_least_wmarker)
1093 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
1094 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
1095 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
1096 (_IO_default_doallocate, _IO_wdefault_doallocate)
1097 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
1098 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
1099 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
1100 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
1101 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
1102 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
1103 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
1104 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
1105 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
1106 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
1107 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
1108 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
1109 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
1111 (_IO_flush_all_internal, _IO_adjust_column_internal)
1112 (_IO_default_uflow_internal, _IO_default_finish_internal)
1113 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
1114 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
1115 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
1116 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
1117 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
1118 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
1119 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
1120 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
1121 (_IO_file_close_internal, _IO_file_close_it_internal)
1122 (_IO_file_underflow_internal, _IO_file_overflow_internal)
1123 (_IO_file_init_internal, _IO_file_attach_internal)
1124 (_IO_file_fopen_internal, _IO_file_read_internal)
1125 (_IO_file_sync_internal, _IO_file_seek_internal)
1126 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
1127 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
1128 (_IO_str_underflow_internal, _IO_str_overflow_internal)
1129 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
1130 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
1131 (_IO_list_all_internal, _IO_link_in_internal)
1132 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
1133 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
1134 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
1135 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
1136 (_IO_do_write_internal, _IO_padn_internal)
1137 (_IO_getline_info_internal, _IO_getline_internal)
1138 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
1139 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
1140 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
1141 (_IO_vfscanf_internal, _IO_vfprintf_internal)
1142 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
1143 (_IO_init_internal, _IO_un_link_internal): Don't declare.
1144 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
1145 with libc_hidden_ver, remove use of INTUSE.
1146 * libio/genops.c: Likewise.
1147 * libio/freopen.c: Likewise.
1148 * libio/freopen64.c: Likewise.
1149 * libio/iofclose.c: Likewise.
1150 * libio/iofdopen.c: Likewise.
1151 * libio/iofflush.c: Likewise.
1152 * libio/iofflush_u.c: Likewise.
1153 * libio/iofgets.c: Likewise.
1154 * libio/iofgets_u.c: Likewise.
1155 * libio/iofopen.c: Likewise.
1156 * libio/iofopncook.c: Likewise.
1157 * libio/iofread.c: Likewise.
1158 * libio/iofread_u.c: Likewise.
1159 * libio/ioftell.c: Likewise.
1160 * libio/iofwrite.c: Likewise.
1161 * libio/iogetline.c: Likewise.
1162 * libio/iogets.c: Likewise.
1163 * libio/iogetwline.c: Likewise.
1164 * libio/iopadn.c: Likewise.
1165 * libio/iopopen.c: Likewise.
1166 * libio/ioseekoff.c: Likewise.
1167 * libio/ioseekpos.c: Likewise.
1168 * libio/iosetbuffer.c: Likewise.
1169 * libio/iosetvbuf.c: Likewise.
1170 * libio/ioungetc.c: Likewise.
1171 * libio/ioungetwc.c: Likewise.
1172 * libio/iovdprintf.c: Likewise.
1173 * libio/iovsprintf.c: Likewise.
1174 * libio/iovsscanf.c: Likewise.
1175 * libio/memstream.c: Likewise.
1176 * libio/obprintf.c: Likewise.
1177 * libio/oldfileops.c: Likewise.
1178 * libio/oldiofclose.c: Likewise.
1179 * libio/oldiofdopen.c: Likewise.
1180 * libio/oldiofopen.c: Likewise.
1181 * libio/oldiopopen.c: Likewise.
1182 * libio/oldstdfiles.c: Likewise.
1183 * libio/putc.c: Likewise.
1184 * libio/setbuf.c: Likewise.
1185 * libio/setlinebuf.c: Likewise.
1186 * libio/stdfiles.c: Likewise.
1187 * libio/strops.c: Likewise.
1188 * libio/vasprintf.c: Likewise.
1189 * libio/vscanf.c: Likewise.
1190 * libio/vsnprintf.c: Likewise.
1191 * libio/vswprintf.c: Likewise.
1192 * libio/wfiledoalloc.c: Likewise.
1193 * libio/wfileops.c: Likewise.
1194 * libio/wgenops.c: Likewise.
1195 * libio/wmemstream.c: Likewise.
1196 * libio/wstrops.c: Likewise.
1197 * libio/__fpurge.c: Likewise.
1198 * libio/__fsetlocking.c: Likewise.
1199 * assert/assert.c: Likewise.
1200 * debug/fgets_chk.c: Likewise.
1201 * debug/fgets_u_chk.c: Likewise.
1202 * debug/fread_chk.c: Likewise.
1203 * debug/fread_u_chk.c: Likewise.
1204 * debug/gets_chk.c: Likewise.
1205 * debug/obprintf_chk.c: Likewise.
1206 * debug/vasprintf_chk.c: Likewise.
1207 * debug/vdprintf_chk.c: Likewise.
1208 * debug/vsnprintf_chk.c: Likewise.
1209 * debug/vsprintf_chk.c: Likewise.
1210 * malloc/mtrace.c: Likewise.
1211 * misc/error.c: Likewise.
1212 * misc/syslog.c: Likewise.
1213 * stdio-common/asprintf.c: Likewise.
1214 * stdio-common/fxprintf.c: Likewise.
1215 * stdio-common/getw.c: Likewise.
1216 * stdio-common/isoc99_fscanf.c: Likewise.
1217 * stdio-common/isoc99_scanf.c: Likewise.
1218 * stdio-common/isoc99_vfscanf.c: Likewise.
1219 * stdio-common/isoc99_vscanf.c: Likewise.
1220 * stdio-common/isoc99_vsscanf.c: Likewise.
1221 * stdio-common/printf-prs.c: Likewise.
1222 * stdio-common/printf_fp.c: Likewise.
1223 * stdio-common/printf_fphex.c: Likewise.
1224 * stdio-common/printf_size.c: Likewise.
1225 * stdio-common/putw.c: Likewise.
1226 * stdio-common/scanf.c: Likewise.
1227 * stdio-common/sprintf.c: Likewise.
1228 * stdio-common/tmpfile.c: Likewise.
1229 * stdio-common/vfprintf.c: Likewise.
1230 * stdio-common/vfscanf.c: Likewise.
1231 * stdlib/strfmon_l.c: Likewise.
1232 * sunrpc/openchild.c: Likewise.
1233 * sunrpc/xdr_stdio.c: Likewise.
1234 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
1235 * sysdeps/mach/hurd/tmpfile.c: Likewise.
1237 2012-05-24 Roland McGrath <roland@hack.frob.com>
1239 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1241 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
1242 in the third column, to generate for the shared library an IFUNC
1243 that uses _dl_vdso_vsym.
1244 * Makerules (COMPILE.c, compile-stdin.c): New variables.
1245 * Makeconfig (object-suffixes-noshared): New variable.
1247 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
1248 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
1249 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
1250 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
1253 * include/sys/time.h (__gettimeofday): Remove macro.
1254 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
1255 * time/gettimeofday.c (__gettimeofday): Remove #undef.
1257 (__gettimeofday): Add libc_hidden_def.
1258 (gettimeofday): Add libc_hidden_weak.
1259 * sysdeps/mach/gettimeofday.c: Likewise.
1260 * sysdeps/posix/gettimeofday.c: Likewise.
1261 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
1262 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
1263 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
1264 (__gettimeofday_internal): Remove strong_alias.
1265 (__gettimeofday): Add libc_hidden_def.
1266 (gettimeofday): Add libc_hidden_weak.
1267 * sysdeps/unix/syscalls.list (gettimeofday):
1268 Remove __gettimeofday_internal alias.
1270 2012-05-24 Daniel Jacobowitz <drow@false.org>
1271 H.J. Lu <hongjiu.lu@intel.com>
1274 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
1275 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
1276 (largebin_index_32_big): New.
1277 (largebin_index): Use it for 16-byte alignment.
1278 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
1279 correction with front_misalign.
1281 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
1283 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
1284 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
1286 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
1288 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
1290 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
1292 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
1294 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
1296 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
1298 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1300 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
1302 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
1304 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
1306 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
1309 * scripts/data/c++-types-x32-linux-gnu.data: New file.
1310 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
1312 2012-05-24 Joseph Myers <joseph@codesourcery.com>
1316 * math/libm-test.inc (exp_test): Add test from bug 14036.
1317 (pow_test): Add test from bug 10846.
1319 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
1321 (special_function): Do not include flags in test name.
1322 (parse_args): Likewise.
1323 * sysdeps/i386/fpu/libm-test-ulps: Update.
1324 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1325 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1326 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1327 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1329 * math/gen-libm-test.pl (%beautify): Add entries for underflow
1331 * math/libm-test.inc ("Philosophy"): Update comment about
1333 (UNDERFLOW_EXCEPTION): New macro.
1334 (UNDERFLOW_EXCEPTION_OK): Likewise.
1335 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
1336 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
1337 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
1338 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
1339 (INVALID_EXCEPTION_OK): Update value.
1340 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1341 (OVERFLOW_EXCEPTION_OK): Likewise.
1342 (IGNORE_ZERO_INF_SIGN): Likewise.
1343 (test_exceptions): Handle underflow exceptions.
1344 (acos_test): Update for underflow exception expectations.
1345 (cexp_test): Likewise.
1346 (clog_test): Likewise.
1347 (clog10_test): Likewise.
1348 (csqrt_test): Likewise.
1349 (ctan_test): Likewise.
1350 (ctanh_test): Likewise.
1351 (exp_test): Likewise.
1352 (exp10_test): Likewise.
1353 (exp2_test): Likewise.
1354 (expm1_test): Likewise.
1355 (fma_test): Likewise.
1356 (j0_test): Likewise.
1357 (jn_test): Likewise.
1358 (nexttoward_test): Likewise.
1359 (pow_test): Likewise.
1360 (scalbn_test): Likewise.
1361 (scalbln_test): Likewise.
1362 (tan_test): Likewise.
1363 (y1_test): Likewise.
1364 * sysdeps/i386/fpu/libm-test-ulps: Update.
1365 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1367 2012-05-23 David S. Miller <davem@davemloft.net>
1369 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1370 (__libc_sigaction): Remove unused local variables.
1372 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1374 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
1376 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
1378 mktime: avoid signed integer overflow
1379 * time/mktime.c (__mktime_internal): Do not mishandle the case
1380 where diff == INT_MIN.
1382 mktime: simplify computation of average
1383 * time/mktime.c (ranged_convert): Use new time_t_avg function
1384 instead of rolling our own (probably-slower) code.
1386 mktime: do not assume signed right shift propagates sign bit
1387 * time/mktime.c (isdst_differ): New static function.
1388 (__mktime_internal): No need to normalize tm_isdst now.
1389 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
1392 mktime: merge another wrapv change from gnulib
1393 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
1394 from some compilers.
1396 mktime: remove incorrect attempt at unusual arithmetics
1397 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
1398 The code didn't really work on such machines anyway.
1399 (TYPE_MINIMUM): Assume two's complement.
1400 (twos_complement_arithmetic): Verify that long_int and time_t
1401 are two's complement (or unsigned, in the latter case).
1403 mktime: check signed shifts on long_int and time_t, too
1404 * time/mktime.c (SHR): Check that shifts work as desired
1405 on the types long_int and time_t too, as SHR is used on
1408 mktime: do not assume 'long' is wide enough
1409 * time/mktime.c (verify): Move decl up.
1410 (long_int): New type.
1411 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
1412 to remove assumption in the code that 'long' is wide enough to
1413 store year values. This assumption is not true on x32 and on
1414 some non-glibc platforms.
1416 mktime: merge wrapv change from gnulib
1417 * time/mktime.c (WRAPV): New macro.
1418 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
1419 (guess_time_tm, __mktime_internal): Do not assume that signed
1420 integer overflow wraps around; modern compilers generate code
1421 where this assumption is no longer valid.
1423 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1425 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1426 Replace "jmp L(pseudo_end)" with "ret".
1427 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
1430 2012-05-23 Andreas Jaeger <aj@suse.de>
1432 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
1433 * sysdeps/unix/sysv/linux/poll.c: Remove file.
1435 2012-05-23 Andreas Jaeger <aj@suse.de>
1436 Maximilian Attems <max@stro.at>
1438 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
1441 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1443 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
1444 code so that pseudo_end is just ret and the stack pointer is
1445 correct also for static library in error case.
1447 2012-05-23 Joseph Myers <joseph@codesourcery.com>
1449 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
1450 move to syscalls.list.
1451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1456 * manual/install.texi (Running make install): Do not mention Linux
1457 kernel version for which pt_chown is not needed.
1458 (Linux): Do not mention problems with nscd with 2.0 kernels.
1459 * INSTALL: Regenerated.
1461 2012-05-23 Andreas Jaeger <aj@suse.de>
1463 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
1464 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
1466 * sysdeps/unix/sysv/linux/s390/bits/mman.h
1467 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1468 * sysdeps/unix/sysv/linux/sh/bits/mman.h
1469 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1470 * sysdeps/unix/sysv/linux/i386/bits/mman.h
1471 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1472 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
1473 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1474 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
1475 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1476 * sysdeps/unix/sysv/linux/bits/in.h
1477 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
1479 2012-05-22 Roland McGrath <roland@hack.frob.com>
1481 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
1482 (PREPARE_VERSION): Just use assert instead, it will be elided
1483 under [NDEBUG] anyway.
1485 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1487 * sysdeps/unix/sysv/linux/Makefile: Include
1488 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
1489 (sysdep_routines): Remove sysctl.
1490 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
1491 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
1492 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
1493 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
1494 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
1496 2012-05-22 Andreas Jaeger <aj@suse.de>
1498 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
1499 that pseudo_end is just ret and the stack pointer is correct also
1500 for static library in error case.
1502 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
1505 * nss/nsswitch.c (defconfig_entries): New variable.
1506 (__nss_database_lookup): Don't leak defconfig entries.
1507 (nss_parse_service_list): Don't leak on error paths.
1508 (free_database_entries): New function.
1509 (free_defconfig): New function.
1510 (free_mem): Move common code to free_database_entries.
1512 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1514 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
1516 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
1518 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1519 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
1520 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
1522 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
1523 (INTERNAL_SYSCALL_TYPES): Likewise.
1524 (LOAD_ARGS_TYPES_[1-6]): Likewise.
1525 (LOAD_REGS_TYPES_[1-6]): Likewise.
1526 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
1527 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
1529 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1531 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
1532 copysignl for GLIBC_2_0.
1533 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
1534 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
1535 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
1536 logbl for GLIBC_2_0.
1537 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1538 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1540 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1542 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
1543 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1545 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1548 * time/mktime.c: Update copyright years.
1550 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
1552 mktime: merge comment-quoting-style change from gnulib
1553 * time/mktime.c: Quote 'like this' in comments.
1554 The GNU coding standards suggest that we no longer quote `like this',
1555 as "`" and "'" are typically rendered asymmetrically nowadays.
1556 The typical gnulib style is to quote 'like this' when quoting
1557 code, and "like this" when quoting English.
1559 * time/mktime.c (compile-command): Add "-I.".
1561 mktime: merge mktime-internal.h change from gnulib
1562 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
1564 mktime: merge time_r change from gnulib
1565 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
1567 mktime: merge DEBUG change from gnulib
1568 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
1569 case system <time.h> has a #define.
1571 mktime: merge <sys/types.h> change from gnulib
1572 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
1573 since <time.t> is now guaranteed to define time_t.
1575 mktime: merge HAVE_CONFIG_H change from gnulib
1576 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
1578 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1580 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1583 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
1585 (struct rusage): Use anonymous union to pad each field to
1588 2012-05-21 David S. Miller <davem@davemloft.net>
1590 * Makefules (o-iterator): Remove .s cases.
1591 (compile-command.s): Delete.
1592 (COMPILE.s): Delete.
1593 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
1595 2012-05-21 Joseph Myers <joseph@codesourcery.com>
1597 * configure.in (libc_cv_predef_stack_protector): Only consider
1598 "foobar" and "__stack_chk_fail" lines in libc_undefs.
1599 * configure: Regenerated.
1601 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1603 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1604 New macro. Use R*LP on int and pointer.
1605 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
1606 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
1607 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
1608 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
1610 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
1611 [__WORDSIZE_TIME64_COMPAT32] instead of
1612 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
1613 (struct utmp): Likewise.
1614 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
1615 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
1617 (__WORDSIZE_TIME64_COMPAT32): This.
1618 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
1619 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
1620 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
1621 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
1622 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
1623 (__WORDSIZE_TIME64_COMPAT32): New macro.
1625 2012-05-21 Andreas Jaeger <aj@suse.de>
1627 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
1628 only if [SHARED]. Add prototype for __wcschr_ia32.
1630 2012-05-21 Roland McGrath <roland@hack.frob.com>
1632 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
1633 of %rbp unmolested in the jmp_buf while mangling the low bits.
1634 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
1635 unmolested high bits of %rbp while demangling the low bits.
1636 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
1638 2012-05-21 Andreas Jaeger <aj@suse.de>
1640 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
1641 * sunrpc/svc_simple.c: Use it for registerrpc.
1642 * sunrpc/xcrypt.c: Use it for passwd2des.
1644 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
1646 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1648 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
1649 Don't define if [__SYSCALL_WORDSIZE != 32].
1650 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
1653 2012-05-21 Bruno Haible <bruno@clisp.org>
1654 Andreas Jaeger <aj@suse.de>
1656 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
1657 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
1658 inptr and inend for must_buffer_ch.
1659 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
1660 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
1661 * stdio-common/Makefile (tests): Remove bug15.
1662 (bug15-ENV): Remove macro.
1663 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
1666 2012-05-19 Andreas Jaeger <aj@suse.de>
1667 Roland McGrath <roland@hack.frob.com>
1669 * manual/contrib.texi: Completely rewritten. It contains now an
1670 alphabetical list of contributors and their contributions.
1672 2012-05-21 Richard Henderson <rth@twiddle.net>
1674 * misc/getauxval.c (__getauxval): Use unsigned long int.
1675 * misc/sys/auxv.h: Include <sys/cdefs.h>.
1676 (getauxval): Use unsigned long int.
1678 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1680 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1682 2012-05-21 Roland McGrath <roland@hack.frob.com>
1684 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
1685 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
1686 __alignof__ (long double).
1688 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1690 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1692 2012-05-20 Richard Henderson <rth@twiddle.net>
1694 * misc/getauxval.c: New file.
1695 * misc/sys/auxv.h: New file.
1696 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
1697 (routines): Add getauxval.
1698 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
1699 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
1700 * elf/dl-sysdep.c (_dl_auxv): Remove.
1701 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
1702 * elf/dl-support.c (_dl_auxv): New variable.
1703 (_dl_aux_init): Initialize it.
1704 * manual/startup.texi (Auxiliary Vector): New node.
1705 * sysdeps/generic/bits/hwcap.h: New file.
1706 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
1707 * sysdeps/powerpc/sysdep.h: ... here. Include it.
1708 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
1709 * sysdeps/sparc/sysdep.h: ... here. Include it.
1710 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
1711 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
1712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
1715 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
1716 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
1717 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
1718 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1719 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1720 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
1721 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
1723 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1725 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1727 2012-05-19 David S. Miller <davem@davemloft.net>
1729 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1731 2012-05-19 Joseph Myers <joseph@codesourcery.com>
1734 * math/s_ccosh.c: Include <float.h>
1735 (__ccosh): Avoid internal overflow calculating sinh and cosh
1736 values before multiplying by sin and cos values.
1737 * math/s_ccoshf.c: Likewise.
1738 * math/s_ccoshl.c: Likewise.
1739 * math/s_csin.c: Likewise.
1740 * math/s_csinf.c: Likewise.
1741 * math/s_csinl.c: Likewise.
1742 * math/s_csinh.c: Likewise.
1743 * math/s_csinhf.c: Likewise.
1744 * math/s_csinhl.c: Likewise.
1745 * math/libm-test.inc (ccos_test): Add more tests.
1746 (ccosh_test): Likewise.
1747 (csin_test): Likewise.
1748 (csinh_test): Likewise.
1749 * sysdeps/i386/fpu/libm-test-ulps: Update.
1750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1752 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
1754 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
1755 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
1757 * sysdeps/x86_64/x32/_itoa.h: Add comment.
1759 2012-05-19 Joseph Myers <joseph@codesourcery.com>
1761 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
1762 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
1763 * sysdeps/powerpc/soft-fp/Versions: Likewise.
1764 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
1765 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
1766 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
1767 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
1768 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
1769 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
1770 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
1771 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
1772 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
1773 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
1774 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
1775 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
1776 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
1777 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
1778 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
1779 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
1780 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
1781 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
1782 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
1783 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
1784 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
1785 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
1786 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
1787 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
1788 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
1789 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
1790 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
1791 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
1793 2012-05-18 Andreas Jaeger <aj@suse.de>
1795 * csu/.gitignore: Delete.
1797 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1799 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
1800 (timex): Use __syscall_slong_t.
1802 2012-05-18 Andreas Jaeger <aj@suse.de>
1803 Carlos O'Donell <carlos_odonell@mentor.com>
1805 * manual/install.texi (Configuring and compiling): Update
1806 description about files modified in the source directory.
1807 * INSTALL: Regenerated.
1809 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1811 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
1812 value. Use "or" to set return value to -1.
1813 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
1814 negate return value.
1816 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1818 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
1819 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
1820 failure if the compiler has Graphite support disabled.
1821 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
1823 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
1824 CFLAGS-memmove.c): Likewise.
1825 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
1828 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1830 * sysdeps/x86_64/x32/_itoa.h: New file.
1832 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
1833 getdents system call only if kernel and user dirents have the
1834 same d_ino and d_off.
1836 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1837 LLONG_MAX != LONG_MAX.
1838 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1839 (_fitoa_word): Likewise.
1841 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
1843 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
1844 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
1845 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
1847 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
1848 include <bits/wordsize.h>. Check __x86_64__ instead of
1850 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
1851 if __x86_64__ is defined. Use anonymous union on fpstate.
1853 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
1856 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
1858 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
1859 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
1860 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
1861 Refer to _rtld_local_ro instead of _rtld_global_ro.
1862 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
1864 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
1866 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
1868 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
1869 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
1870 of _rtld_global, and rtld_progname instead of _dl_argv[0].
1872 * sysdeps/powerpc/powerpc32/dl-machine.c
1873 (__elf_machine_runtime_setup) [PROF]: Don't reference
1876 2012-05-18 Andreas Jaeger <aj@suse.de>
1878 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
1879 function only available for GCCs before 3.4 since GCC 3.4
1880 introduced a builtin.
1882 (llrintf): Likewise.
1890 (nearbyint): Likewise.
1891 (nearbyintf): Likewise.
1897 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1899 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
1900 on both fields and cast pointer to __syscall_ulong_t.
1902 * bits/types.h (__fsword_t): New type.
1903 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
1904 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
1905 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1906 (__FSWORD_T_TYPE): Likewise.
1907 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1908 (__FSWORD_T_TYPE): Likewise.
1909 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1910 (__FSWORD_T_TYPE): Likewise.
1911 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
1912 (__FSWORD_T_TYPE): Likewise.
1913 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
1914 __SWORD_TYPE with __fsword_t.
1915 (statfs64): Likewise.
1917 2012-05-17 David S. Miller <davem@davemloft.net>
1919 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
1921 2012-05-17 Andreas Jaeger <aj@suse.de>
1923 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
1926 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1928 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
1930 2012-05-17 Andreas Jaeger <aj@suse.de>
1932 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
1935 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1937 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
1939 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1941 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
1942 * sysdeps/x86_64/tst-mallocalign1.c: New file.
1944 2012-05-17 Andreas Jaeger <aj@suse.de>
1945 Carlos O'Donell <carlos_odonell@mentor.com>
1948 * sysdeps/x86_64/multiarch/init-arch.h
1949 (bit_YMM_Usable): Rename to...
1950 (bit_AVX_Usable): ... this.
1951 (bit_FMA4_Usable): New macro.
1952 (bit_XMM_state): New macro.
1953 (bit_YMM_state): New macro.
1954 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
1955 [__ASSEMBLER__] (index_AVX_Usable): ... this.
1956 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
1957 (CPUID_OSXSAVE): New macro.
1958 (CPUID_AVX): New macro.
1959 (CPUID_FMA4): New macro.
1960 (index_YMM_Usable): Rename to...
1961 (index_AVX_Usable): ... this.
1962 (HAS_AVX): Use HAS_ARCH_FEATURE.
1963 (HAS_FMA4): Likewise.
1964 (HAS_YMM_USABLE): Remove.
1965 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1966 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
1968 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
1969 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
1970 * sysdeps/x86_64/multiarch/Makefile: Likewise.
1971 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
1972 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
1974 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1976 * math/libm-test.c: Support platforms without multiple rounding modes.
1977 * math/bug-nextafter.c: Support platforms without FP exceptions.
1978 * math/bug-nexttoward.c: Likewise.
1979 * math/test-fenv.c: Likewise.
1980 * math/test-misc.c: Likewise.
1981 * stdlib/bug-getcontext.c: Likewise.
1983 2012-05-17 Andreas Jaeger <aj@suse.de>
1985 * manual/examples/search.c (critter_cmp): Change signature to
1987 * manual/string.texi (Collation Functions): Likewise.
1989 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1991 * bits/types.h: Fold copyright years.
1992 * bits/typesizes.h: Likewise.
1993 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
1994 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
1995 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
1996 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
1997 * time/time.h: Likewise.
1999 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
2002 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
2003 in instead of returning them. Return void.
2004 (__libc_mallinfo): Accumulate over all arenas.
2005 (__malloc_stats): Adjust for change in int_mallinfo interface.
2007 2012-05-16 Roland McGrath <roland@hack.frob.com>
2010 * configure.in (NM): Add AC_CHECK_TOOL for it.
2011 (libc_extra_cflags): New substituted variable.
2012 Check for -fstack-protector being used implicitly.
2013 * configure: Regenerated.
2014 * config.make.in (config-extra-cflags): New variable,
2015 gets @libc_extra_cflags@.
2016 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
2019 * configure.in: Check for _FORTIFY_SOURCE being predefined.
2020 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
2021 * configure: Regenerated.
2022 * config.make.in (CPPUNDEFS): New substituted variable.
2023 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
2024 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
2025 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
2027 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2029 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
2030 (mq_attr): Use __syscall_slong_t.
2032 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2034 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
2035 Check __x86_64__ instead of __WORDSIZE.
2036 (_STAT_VER_LINUX): Likewise.
2037 (stat): Check __x86_64__ instead of __WORDSIZE. Use
2038 __syscall_ulong_t and __syscall_slong_t.
2041 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2043 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
2045 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2047 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
2049 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2051 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
2054 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
2055 include <bits/wordsize.h>. Check __x86_64__ instead of
2057 (greg_t): Use "__extension__ long long int" if __x86_64__ is
2059 (mcontext_t): Replace "unsigned long" with "unsigned long long".
2061 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
2062 include <bits/wordsize.h>. Check __x86_64__ instead of
2064 (user_regs_struct): Use "__extension__ unsigned long long"
2065 instead of "unsigned long" if __x86_64__ is defined.
2066 (user): Likewise. Pad after pointer field if __ILP32__ is
2069 2012-05-16 Joseph Myers <joseph@codesourcery.com>
2071 * configure.in (makeinfo): Require version 4.5 or later. Allow
2073 * configure: Regenerated.
2074 * manual/install.texi (texinfo): Increase version requirement to
2076 * INSTALL: Regenerated.
2078 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
2080 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2082 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
2084 * sysdeps/x86_64/x32/ffs.c: New file.
2086 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
2088 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
2089 defined. Use __syscall_ulong_t.
2090 (shminfo): Use __syscall_ulong_t.
2091 (shm_info): Likewise.
2093 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
2096 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
2098 (msgqnum_t): Use __syscall_ulong_t.
2099 (msglen_t): Likewise.
2100 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
2103 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
2104 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2106 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
2108 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
2109 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
2111 * sysvipc/sys/msg.h (msgbuf): Replace long int with
2114 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
2115 include <bits/wordsize.h>. Check __x86_64__ instead of
2118 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
2119 "unsigned long long int" if __x86_64__ is defined.
2120 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
2122 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
2123 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2124 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
2126 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
2128 (GET_PC): Cast to uintptr_t first.
2129 (GET_FRAME): Likewise.
2130 (GET_STACK): Likewise.
2132 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
2133 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
2134 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
2135 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
2136 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
2137 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
2138 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
2139 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
2140 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
2141 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
2142 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
2143 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
2144 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
2145 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
2146 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
2147 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
2148 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
2149 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
2150 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
2151 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
2152 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
2153 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
2154 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
2155 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
2156 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
2157 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
2158 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
2159 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
2160 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
2162 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
2164 * Makerules (+depfiles): Also collect depfiles from .oS in
2166 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
2167 .oS, $(libnldbl-routines)).
2169 * Makerules (native-compile-mkdep-flags): Define.
2170 * sunrpc/Makefile (extra-objs): Add $(addprefix
2171 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
2172 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
2173 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
2174 calling $(make-target-directory).
2176 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2178 * bits/types.h (__snseconds_t): Removed.
2179 * time/time.h (struct timespec): Replace __snseconds_t with
2181 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
2182 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
2184 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2185 (__SNSECONDS_T_TYPE): Likewise.
2186 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2187 (__SNSECONDS_T_TYPE): Likewise.
2188 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2189 (__SNSECONDS_T_TYPE): Likewise.
2191 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2193 * sysdeps/mach/hurd/bits/typesizes.h
2194 (__SYSCALL_SLONG_TYPE): New macro.
2195 (__SYSCALL_ULONG_TYPE): Likewise.
2197 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2199 * bits/types.h (__syscall_slong_t): New type.
2200 (__syscall_ulong_t): Likewise.
2202 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
2203 (__SYSCALL_ULONG_TYPE): Likewise.
2204 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2205 (__SYSCALL_SLONG_TYPE): Likewise.
2206 (__SYSCALL_ULONG_TYPE): Likewise.
2207 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2208 (__SYSCALL_SLONG_TYPE): Likewise.
2209 (__SYSCALL_ULONG_TYPE): Likewise.
2210 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2211 (__SYSCALL_SLONG_TYPE): Likewise.
2212 (__SYSCALL_ULONG_TYPE): Likewise.
2214 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2216 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
2217 Add sigaltstack-offsets.sym.
2218 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
2219 <sigaltstack-offsets.h>.
2220 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
2221 longjmp_msg pointer.
2222 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
2223 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
2225 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
2227 2012-05-15 Joseph Myers <joseph@codesourcery.com>
2229 * elf/stackguard-macros.h: Remove file.
2230 * sysdeps/generic/stackguard-macros.h: New file.
2231 * sysdeps/i386/stackguard-macros.h: Likewise.
2232 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
2233 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
2234 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2235 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2236 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
2237 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
2238 * sysdeps/x86_64/stackguard-macros.h: Likewise.
2239 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
2240 <elf/stackguard-macros.h>.
2243 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
2244 __aligned__ in attribute.
2245 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
2246 (gregset_t): Likewise.
2248 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2250 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
2251 * sysdeps/x86_64/64/Implies-after: Here. New file.
2252 * sysdeps/x86_64/x32/Implies-after: New file.
2254 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2256 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
2257 and access return value for _dl_profile_fixup. Use R10_LP to
2260 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2262 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
2264 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2266 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
2267 * sysdeps/x86_64/x32/sysdep.h: New file.
2269 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2271 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
2272 * sysdeps/x86_64/setjmp.S: Likewise.
2274 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2276 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
2277 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
2278 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
2279 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
2280 remove unused global constant.
2282 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
2284 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
2285 include of <not-cancel.h>.
2287 2012-05-15 Roland McGrath <roland@hack.frob.com>
2289 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
2291 2012-05-15 Jeff Law <law@redhat.com>
2292 Andreas Jaeger <aj@suse.de>
2295 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
2297 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
2298 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
2299 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
2300 code changing __hst_map_handle.map.
2302 2012-05-15 Roland McGrath <roland@hack.frob.com>
2304 * configure.in (sysnames): Look for Implies-before and Implies-after
2306 * configure: Regenerated.
2308 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2310 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
2311 8-byte data alignment with LP_SIZE alignment.
2313 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2315 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
2318 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2320 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
2322 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2324 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
2325 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
2326 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
2328 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2330 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2332 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
2333 (stackinfo_sub_sp): Likewise.
2335 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2337 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
2340 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2342 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
2345 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2347 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
2350 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2352 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
2354 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2356 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
2357 into R11_LP and load __x86_64_shared_cache_size_half into
2360 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2362 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
2365 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2367 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
2369 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
2371 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
2373 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
2374 powerpc32/power7/fpu/s_logb.c via #include.
2375 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
2376 powerpc32/power7/fpu/s_logbf.c via #include.
2377 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
2378 powerpc32/power7/fpu/s_logbl.c via #include.
2380 2012-05-15 Joseph Myers <joseph@codesourcery.com>
2382 * README.libm: Remove file.
2384 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2386 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
2387 count for x32. Use R*_LP and omit operand-size suffix.
2389 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2391 * shlib-versions: Move x86_64-.*-linux.* entries to ...
2392 * sysdeps/x86_64/64/shlib-versions: Here. New file.
2393 * sysdeps/x86_64/x32/shlib-versions: New file.
2395 2012-05-14 Roland McGrath <roland@hack.frob.com>
2397 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
2398 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
2399 Use _dl_fatal_printf instead.
2401 2012-05-14 Joseph Myers <joseph@codesourcery.com>
2403 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
2404 set if not set by the user. Do not allow for being unset.
2405 * sysdeps/unix/sysv/linux/configure: Regenerated.
2407 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2409 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
2410 the `q' suffix from lea and replace .quad with ASM_ADDR.
2412 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2414 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
2415 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
2417 (PTR_DEMANGLE): Likewise.
2419 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2421 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
2423 (ASM_ADDR): Likewise.
2441 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2443 * sysdeps/x86_64/x32/dl-machine.h: New file.
2445 2012-05-14 Andreas Jaeger <aj@suse.de>
2447 * manual/Makefile (subdir): Remove export of subdir.
2448 (all): Remove target.
2449 (.PHONY): Remove all from list.
2450 (mkinstalldirs): Remove.
2451 (.PHONY): Remove installdirs from list.
2452 ($(inst_infodir)/libc.info): Use make-target-directory.
2453 (installdirs): Remove.
2455 (glibc-targets): Remove.
2458 ($(objpfx)stubs ../po/manual.pot): Remove.
2459 ($(objpfx)stamp%): Remove.
2460 (make-target-directory): Remove.
2461 (subdir_install): Remove.
2469 * manual/.gitignore: Remove, it's not needed anymore.
2470 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
2472 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
2474 (texis): Renamed to $(objpfx)texis.
2475 (texis-path): New, contains path to generated files.
2476 (chapters.%): Use texis-path for complete path, add extra argument
2478 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
2479 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
2480 (summary,texi, stamp-summary): Use complete path of
2481 files. Generate files in build dir.
2482 (dir-add.texi): Build in build dir.
2483 (libm-err.texi,stamp-libm-err): Likewise.
2484 (version.texi, stamp-version): Likewise.
2485 (.%c.texi): Likewise.
2486 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
2487 (mostlyclean): Remove target.
2488 (realclean): Remove target.
2489 (generated): Add new variable with contents from mostlyclean and
2490 realclean, remove entries duplicated in common-mostlyclean, add
2491 stamp-libm-err and stamp-version.
2492 (generated-dirs): Add libc directory.
2493 ($(inst_infodir)/libc.info): Install files from build dir.
2495 * manual/install.texi (Configuring and compiling): Adjust since
2496 the info files are not part of the tar ball anymore.
2498 2012-05-14 Andreas Jaeger <aj@suse.de>
2500 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
2503 2012-05-14 Joseph Myers <joseph@codesourcery.com>
2506 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2507 to 2.2.0 where earlier.
2508 * sysdeps/unix/sysv/linux/configure: Regenerated.
2509 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
2510 Remove conditional code.
2511 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
2512 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
2513 Remove conditional code.
2514 [!__NR_lchown]: Likewise.
2515 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2516 [__NR_lchown]: Likewise.
2517 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
2518 comment referencing __ASSUME_LCHOWN_SYSCALL.
2519 * sysdeps/unix/sysv/linux/i386/sigaction.c
2520 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2521 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2522 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
2523 Remove conditional code.
2524 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
2525 (__protocol_available): Remove #if 0 code.
2526 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
2528 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
2529 * sysdeps/unix/sysv/linux/kernel-features.h
2530 (__ASSUME_GETCWD_SYSCALL): Don't define.
2531 (__ASSUME_REALTIME_SIGNALS): Likewise.
2532 (__ASSUME_PREAD_SYSCALL): Likewise.
2533 (__ASSUME_PWRITE_SYSCALL): Likewise.
2534 (__ASSUME_POLL_SYSCALL): Likewise.
2535 (__ASSUME_LCHOWN_SYSCALL): Likewise.
2536 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
2538 (__ASSUME_SIOCGIFNAME): Don't define.
2539 (__ASSUME_MSG_NOSIGNAL): Likewise.
2540 (__ASSUME_SENDFILE): Define unconditionally.
2541 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
2542 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
2544 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
2545 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
2546 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2547 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2548 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
2549 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2550 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
2552 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2553 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2555 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2556 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
2558 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2559 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2561 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2562 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
2564 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2565 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
2567 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2568 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
2570 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2571 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
2573 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2574 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2575 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
2576 Remove conditional code.
2577 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2578 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2579 Remove conditional code.
2580 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2581 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
2582 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
2583 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2584 Remove conditional code.
2585 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2586 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
2587 Remove conditional code.
2588 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2589 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
2590 Remove conditional code.
2591 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2592 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2593 Remove conditional code.
2594 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2595 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2596 Remove conditional code.
2597 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2598 * sysdeps/unix/sysv/linux/sh/pwrite64.c
2599 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2600 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2601 * sysdeps/unix/sysv/linux/sigaction.c
2602 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2603 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2604 * sysdeps/unix/sysv/linux/sigpending.c
2605 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2606 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2607 * sysdeps/unix/sysv/linux/sigprocmask.c
2608 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2609 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2610 * sysdeps/unix/sysv/linux/sigsuspend.c
2611 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2612 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2613 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2614 (__libc_missing_rt_sigs): Remove.
2615 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
2616 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
2617 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
2618 Remove conditional code.
2619 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
2620 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
2622 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
2623 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
2624 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
2625 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
2627 2012-05-14 Andreas Jaeger <aj@suse.de>
2629 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
2630 it's not used in glibc.
2631 (__coshm1): Likewise.
2632 (__acosh1p): Likewise.
2635 * manual/string.texi (Copying and Concatenation): Add missing
2636 variable in concat example.
2637 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2639 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2642 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
2643 __builtin_clzl with __builtin_clzll.
2645 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2648 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
2651 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2653 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
2654 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
2655 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
2656 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
2658 2012-05-14 Mike Frysinger <vapier@gentoo.org>
2660 * NEWS: Update ia64 info.
2662 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
2664 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
2667 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
2669 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
2670 * sysdeps/unix/syscalls.list (dup3): Likewise.
2671 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
2672 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
2674 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2676 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
2677 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
2679 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2681 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
2683 (TLS_IE): Use mov/add instead of movq/addq to load thread
2685 (TLS_GD_PREFIX): New.
2688 2012-05-11 David S. Miller <davem@davemloft.net>
2690 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
2691 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
2692 (_FPU_SETCW): Likewise.
2694 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2696 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
2699 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
2702 * iconvdata/gb18030.c: Update tables.
2703 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
2704 characters specially.
2705 (BODY for TO_LOOP): Add encoding of missing ranges.
2707 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
2710 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
2711 * sysdeps/mach/hurd/dup3.c: Likewise.
2712 * sysdeps/mach/hurd/readlinkat.c: Likewise.
2713 * sysdeps/powerpc/memmove.c:: Likewise.
2715 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2717 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
2718 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
2720 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2722 * elf/elf.h (R_X86_64_RELATIVE64): New.
2723 (R_X86_64_NUM): Updated.
2724 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
2725 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
2726 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
2727 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
2728 tst-quad1pie tst-quad2pie
2729 (modules-names): Add tst-quadmod1 tst-quadmod2.
2730 ($(objpfx)tst-quad1): New dependency.
2731 ($(objpfx)tst-quad2): Likewise.
2732 ($(objpfx)tst-quad1pie): Likewise.
2733 ($(objpfx)tst-quad2pie): Likewise.
2734 * sysdeps/x86_64/tst-quad1.c: New file.
2735 * sysdeps/x86_64/tst-quad1pie.c: New file.
2736 * sysdeps/x86_64/tst-quad2.c: Likewise.
2737 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
2738 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
2739 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
2740 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
2741 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
2743 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2745 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
2746 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
2747 * streams/stropts.h (t_scalar_t): Define type.
2749 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
2750 (_PATH_PRESERVE): Set to "/var/lib".
2751 (_PATH_RWHODIR): Set to "/var/spool/rwho".
2753 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
2756 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
2757 if __dir_mkfile succeeded.
2759 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
2760 checking for _hurd_dtablesize. Unlock it right after having
2761 finished _hurd_dtable allocation.
2763 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2765 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
2766 * sysdeps/mach/hurd/configure: Regenerated.
2767 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
2768 special-casing to...
2769 * sysdeps/gnu/configure.in: ... this new file.
2770 * sysdeps/unix/sysv/linux/configure: Regenerated.
2771 * sysdeps/gnu/configure: New generated file.
2773 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
2774 for Linux: use nsec instead of usec, as well as:
2775 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
2776 members of type struct timespec.
2777 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
2779 (struct stat64): Likewise.
2780 (_STATBUF_ST_NSEC): New macro.
2781 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
2783 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
2784 __strtoul_internal rather than strtoul.
2786 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2788 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
2791 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2793 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
2794 which preserves existing values.
2795 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
2797 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2799 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
2800 TIMEOUT values. Return EINVAL for NFDS values either negative or
2801 greater than FD_SETSIZE.
2803 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2805 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
2806 allocated, call __vm_protect to finish enabling the existing space, and
2807 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
2808 allocate the remainder.
2810 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2812 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
2813 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
2815 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2817 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
2818 sysdeps/mach/hurd/readlink.c.
2820 * posix/tst-sysconf.c (posix_options): Only use
2821 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
2822 _POSIX_SYNCHRONIZED_IO when they are defined
2823 * sysdeps/mach/hurd/bits/posix_opt.h:
2824 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
2825 (_XOPEN_REALTIME): Undefine macro.
2826 (_XOPEN_REALTIME_THREADS): Undefine macro.
2827 (_XOPEN_SHM): Undefine macro.
2828 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
2830 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
2832 (_POSIX_ASYNC_IO): Undefine macro.
2833 (_POSIX_PRIORITIZED_IO): Undefine macro.
2834 (_POSIX_SPIN_LOCKS): Define macro to -1.
2836 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
2837 SA_NODEFER, SA_RESETHAND.
2838 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
2839 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
2842 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2844 * elf/Makefile (pldd-modules): Define unconditionally.
2846 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2848 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
2850 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2852 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
2853 Return ENOENT when name is empty.
2854 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
2856 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2858 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
2860 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
2862 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2864 Fix mlock in all cases except non-readable pages.
2865 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
2866 instead of VM_PROT_ALL as parameter to __vm_wire function.
2868 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
2869 (__mkdir): When path is `/', just fail with EEXIST.
2870 * sysdeps/mach/hurd/mkdirat.c: Likewise.
2872 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2874 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
2875 <sys/uio.h> (for writev).
2876 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
2877 and <sys/param.h> (for MIN).
2879 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2881 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
2882 REQUESTED_TIME. Properly set the remaining time and return EINTR
2885 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2887 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
2888 Depend on against $(link-rpcuserlibs).
2890 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2892 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
2893 (__libc_stack_end): Do not use attribute_relro.
2894 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
2895 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
2896 to libthread-provided value.
2897 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
2900 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2903 * bits/libc-lock.h (__libc_once_get): New macro.
2904 * sysdeps/mach/bits/libc-lock.h: Likewise.
2905 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
2906 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
2907 instead of using implementation details.
2909 * libio/fileops.c: Unconditionally include <kernel-features.h>.
2910 * libio/freopen.c: Likewise.
2911 * libio/freopen64.c: Likewise.
2912 * misc/syslog.c: Likewise.
2913 * nscd/connections.c: Likewise.
2914 * nscd/netgroupcache.c: Likewise.
2915 * sysdeps/posix/getcwd.c: Likewise.
2917 2012-05-10 Roland McGrath <roland@hack.frob.com>
2919 * math/w_ilogbf.c: Add #include <limits.h>.
2921 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2923 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
2924 path instead of returning without unlocking.
2926 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
2927 immediate-write ioctls.
2928 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
2930 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2932 * sysdeps/mach/hurd/i386/init-first.c (init): Use
2933 __builtin_frame_address instead of making assumptions about the
2934 location of the return address relative to DATA. Force early load of
2936 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
2937 __builtin_frame_address.
2940 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
2941 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
2942 implement dup3 and do some further code clean-ups.
2943 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
2944 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
2946 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2948 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
2950 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
2951 HURD_CRITICAL_END around holding _hurd_dtable_lock.
2952 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
2953 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
2954 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
2957 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
2958 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
2959 when handler == SIG_ERR, not when handler != SIG_ERR.
2961 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2963 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
2964 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
2967 accept4 for GNU Hurd.
2968 * include/sys/socket.h (__libc_accept4): New prototype.
2969 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
2970 to implement __libc_accept4.
2971 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
2973 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
2975 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
2976 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
2977 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
2980 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2982 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
2984 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2986 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
2987 assertion on O_CLOEXEC flag.
2988 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
2989 * hurd/intern-fd.c: Likewise.
2990 * hurd/port2fd.c: Likewise.
2992 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2995 * bits/in.h (IPV6_PKTINFO): Define new macro.
2996 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
2998 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3003 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
3004 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3005 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
3006 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
3007 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3008 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
3009 * math/libm-test.inc (logb_test) : Additional logb tests.
3011 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
3012 Andreas Jaeger <aj@suse.de>
3014 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
3015 * configure: Regenerated.
3016 * config.h.in (LINK_OBSOLETE_RPC): New macro.
3017 * config.make.in (link-obsolete-rpc): New substituted variable.
3018 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
3019 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
3020 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
3021 (shared-only-routines): Don't set it under [link-obsolete-rpc],
3022 so that libc.a contains the symbols.
3023 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
3024 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
3025 * sunrpc/auth_none.c: Likewise.
3026 * sunrpc/auth_unix.c: Likewise.
3027 * sunrpc/authdes_prot.c: Likewise.
3028 * sunrpc/authuxprot.c: Likewise.
3029 * sunrpc/clnt_gen.c: Likewise.
3030 * sunrpc/clnt_perr.c: Likewise.
3031 * sunrpc/clnt_raw.c: Likewise.
3032 * sunrpc/clnt_simp.c: Likewise.
3033 * sunrpc/clnt_tcp.c: Likewise.
3034 * sunrpc/clnt_udp.c: Likewise.
3035 * sunrpc/clnt_unix.c: Likewise.
3036 * sunrpc/des_crypt.c: Likewise.
3037 * sunrpc/des_soft.c: Likewise.
3038 * sunrpc/get_myaddr.c: Likewise.
3039 * sunrpc/key_call.c: Likewise.
3040 * sunrpc/key_prot.c: Likewise.
3041 * sunrpc/netname.c: Likewise.
3042 * sunrpc/pm_getmaps.c: Likewise.
3043 * sunrpc/pm_getport.c: Likewise.
3044 * sunrpc/pmap_clnt.c: Likewise.
3045 * sunrpc/pmap_prot.c: Likewise.
3046 * sunrpc/pmap_prot2.c: Likewise.
3047 * sunrpc/pmap_rmt.c: Likewise.
3048 * sunrpc/publickey.c: Likewise.
3049 * sunrpc/rpc_cmsg.c: Likewise.
3050 * sunrpc/rpc_common.c: Likewise.
3051 * sunrpc/rpc_dtable.c: Likewise.
3052 * sunrpc/rpc_prot.c: Likewise.
3053 * sunrpc/rpc_thread.c: Likewise.
3054 * sunrpc/rtime.c: Likewise.
3055 * sunrpc/svc.c: Likewise.
3056 * sunrpc/svc_auth.c: Likewise.
3057 * sunrpc/svc_raw.c: Likewise.
3058 * sunrpc/svc_run.c: Likewise.
3059 * sunrpc/svc_tcp.c: Likewise.
3060 * sunrpc/svc_udp.c: Likewise.
3061 * sunrpc/svc_unix.c: Likewise.
3062 * sunrpc/svcauth_des.c: Likewise.
3063 * sunrpc/xcrypt.c: Likewise.
3064 * sunrpc/xdr.c: Likewise.
3065 * sunrpc/xdr_array.c: Likewise.
3066 * sunrpc/xdr_float.c: Likewise.
3067 * sunrpc/xdr_intXX_t.c: Likewise.
3068 * sunrpc/xdr_mem.c: Likewise.
3069 * sunrpc/xdr_rec.c: Likewise.
3070 * sunrpc/xdr_ref.c: Likewise.
3071 * sunrpc/xdr_sizeof.c: Likewise.
3072 * sunrpc/xdr_stdio.c: Likewise.
3074 2012-05-10 Roland McGrath <roland@hack.frob.com>
3076 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
3077 change. Update copyright years.
3079 2012-05-10 Joseph Myers <joseph@codesourcery.com>
3081 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
3083 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
3084 Joseph Myers <joseph@codesourcery.com>
3085 Paul Pluzhnikov <ppluzhnikov@google.com>
3088 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
3090 [cross-compiling] (extra-libs): Likewise.
3091 [cross-compiling] (extra-libs-others): Likewise.
3092 [cross-compiling] (librpcsvc-routines): Likewise.
3093 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
3094 [cross-compiling] (omit-deps): Likewise.
3095 (sunrpc-CPPFLAGS): New variable.
3096 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
3097 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
3098 (cross-rpcgen-objs): New variable.
3099 (extra-objs): Append $(cross-rpcgen-objs).
3100 ($(cross-rpcgen-objs)): New rule.
3101 ($(objpfx)cross-rpcgen): Likewise.
3102 (rpcgen-cmd): Define to use $(built-program-file). Expand
3104 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
3105 ($(objpfx)x%.stmp): Likewise.
3106 * sunrpc/proto.h [IS_IN_build] (_): Define.
3107 [IS_IN_build] (_libc_intl_domainname): Likewise.
3109 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3111 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
3112 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
3113 and R_X86_64_TPOFF64.
3115 2012-05-10 Joseph Myers <joseph@codesourcery.com>
3117 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
3118 sysdeps/unix/sysv/syscalls.list.
3121 * sysdeps/unix/sysv/syscalls.list: Remove file.
3123 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
3126 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
3127 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
3128 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
3129 (__LC_IDENTIFICATION): Make these macros useful in #if
3130 expressions, as required by C99.
3132 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
3134 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
3135 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
3138 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
3140 * stdlib/longlong.h: Updated from GCC.
3142 2012-05-09 Andreas Jaeger <aj@suse.de>
3144 * nscd/nscd.c (run_modes): Make named enum, reorder so that
3145 default is first entry.
3146 (run_mode): Set type.
3147 (main): Remove informal message about syslog.
3148 (options): Fix typo.
3151 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
3154 (llrintf): Likewise.
3158 (nearbyint): Likewise.
3159 (nearbyintf): Likewise.
3161 2012-05-09 Andreas Jaeger <aj@suse.de>
3162 Pedro Alves <palves@redhat.com>
3164 * nscd/nscd.c (run_mode): Use enum.
3165 (main): Cleanup coding style issue.
3167 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
3168 Andreas Jaeger <aj@suse.de>
3170 * nscd/nscd.c (go_background): Replaced with...
3171 (run_mode): ... this.
3172 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
3173 (options): Add -F --foreground.
3174 (main): Implement it.
3175 (parse_opt): Parse it.
3177 2012-05-09 Andreas Jaeger <aj@suse.de>
3180 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
3181 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
3182 -Wconversion warning.
3183 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
3186 2012-05-09 Joseph Myers <joseph@codesourcery.com>
3188 * conform/data/locale.h-data (NULL): Use macro-constant. Require
3190 (LC_ALL): Use macro-int-constant.
3191 (LC_COLLATE): Likewise.
3192 (LC_CTYPE): Likewise.
3193 (LC_MESSAGES): Likewise.
3194 (LC_MONETARY): Likewise.
3195 (LC_NUMERIC): Likewise.
3196 (LC_TIME): Likewise.
3197 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
3198 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3199 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3200 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
3202 [C99-based standards] (float_t): Expect type.
3203 [C99-based standards] (double_t): Expect type.
3204 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
3206 [C99-based standards] (HUGE_VALL): Likewise.
3207 [C99-based standards] (INFINITY): Likewise.
3208 [C99-based standards] (NAN): Likewise.
3209 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
3210 [C99-based standards] (FP_NAN): Likewise.
3211 [C99-based standards] (FP_NORMAL): Likewise.
3212 [C99-based standards] (FP_SUBNORMAL): Likewise.
3213 [C99-based standards] (FP_ZERO): Likewise.
3214 [C99-based standards] (FP_FAST_FMA): Use
3215 optional-macro-int-constant. Specify type. Require == 1.
3216 [C99-based standards] (FP_FAST_FMAF): Likewise.
3217 [C99-based standards] (FP_FAST_FMAL): Likewise.
3218 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
3219 [C99-based standards] (FP_ILOGBNAN): Likewise.
3220 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
3222 [C99-based standards] (MATH_ERREXCEPT): Likewise.
3223 [C99-based standards] (math_errhandling): Specify type.
3224 [ISO99 || ISO11] (signgam): Do not allow.
3225 [non-C99-based standards] (copysignf): Do not allow.
3226 [non-C99-based standards] (exp2f): Likewise.
3227 [non-C99-based standards] (log2f): Likewise.
3228 [non-C99-based standards] (modff): Allow.
3229 [non-C99-based standards] (erff): Do not allow.
3230 [non-C99-based standards] (erfcf): Likewise.
3231 [non-C99-based standards] (gammaf): Likewise.
3232 [non-C99-based standards] (hypotf): Likewise.
3233 [non-C99-based standards] (j0f): Likewise.
3234 [non-C99-based standards] (j1f): Likewise.
3235 [non-C99-based standards] (jnf): Likewise.
3236 [non-C99-based standards] (lgammaf): Likewise.
3237 [non-C99-based standards] (tgammaf): Likewise.
3238 [non-C99-based standards] (y0f): Likewise.
3239 [non-C99-based standards] (y1f): Likewise.
3240 [non-C99-based standards] (ynf): Likewise.
3241 [non-C99-based standards] (isnanf): Likewise.
3242 [non-C99-based standards] (acoshf): Likewise.
3243 [non-C99-based standards] (asinhf): Likewise.
3244 [non-C99-based standards] (atanhf): Likewise.
3245 [non-C99-based standards] (cbrtf): Likewise.
3246 [non-C99-based standards] (expm1f): Likewise.
3247 [non-C99-based standards] (ilogbf): Likewise.
3248 [non-C99-based standards] (log1pf): Likewise.
3249 [non-C99-based standards] (logbf): Likewise.
3250 [non-C99-based standards] (nextafterf): Likewise.
3251 [non-C99-based standards] (remainderf): Likewise.
3252 [non-C99-based standards] (rintf): Likewise.
3253 [non-C99-based standards] (scalbf): Likewise.
3254 [non-C99-based standards] (copysignl): Likewise.
3255 [non-C99-based standards] (exp2l): Likewise.
3256 [non-C99-based standards] (log2l): Likewise.
3257 [non-C99-based standards] (modfl): Allow.
3258 [non-C99-based standards] (erfl): Do not allow.
3259 [non-C99-based standards] (erfcl): Likewise.
3260 [non-C99-based standards] (gammal): Likewise.
3261 [non-C99-based standards] (hypotl): Likewise.
3262 [non-C99-based standards] (j0l): Likewise.
3263 [non-C99-based standards] (j1l): Likewise.
3264 [non-C99-based standards] (jnl): Likewise.
3265 [non-C99-based standards] (lgammal): Likewise.
3266 [non-C99-based standards] (tgammal): Likewise.
3267 [non-C99-based standards] (y0l): Likewise.
3268 [non-C99-based standards] (y1l): Likewise.
3269 [non-C99-based standards] (ynl): Likewise.
3270 [non-C99-based standards] (isnanl): Likewise.
3271 [non-C99-based standards] (acoshl): Likewise.
3272 [non-C99-based standards] (asinhl): Likewise.
3273 [non-C99-based standards] (atanhl): Likewise.
3274 [non-C99-based standards] (cbrtl): Likewise.
3275 [non-C99-based standards] (expm1l): Likewise.
3276 [non-C99-based standards] (ilogbl): Likewise.
3277 [non-C99-based standards] (log1pl): Likewise.
3278 [non-C99-based standards] (logbl): Likewise.
3279 [non-C99-based standards] (nextafterl): Likewise.
3280 [non-C99-based standards] (remainderl): Likewise.
3281 [non-C99-based standards] (rintl): Likewise.
3282 [non-C99-based standards] (scalbl): Likewise.
3283 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3284 [non-C99-based standards] (FP_*): Do not allow.
3285 [C99-based standards] (FP_*): Change to
3286 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3287 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3289 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
3290 (SIG_ERR): Likewise.
3291 [X/Open-based standards] (SIG_HOLD): Likewise.
3292 (SIG_IGN): Likewise.
3293 (SIGABRT): Use macro-int-constant. Specify type. Require
3298 (SIGSEGV): Likewise.
3300 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
3301 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
3302 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
3303 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
3304 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
3305 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
3306 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
3307 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
3308 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
3309 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
3310 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
3311 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
3312 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
3313 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
3314 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
3315 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
3316 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
3317 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
3318 [X/Open-based standards] (SIGTRAP): Likewise.
3319 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
3320 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
3321 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
3322 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
3323 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3326 2012-05-08 Ian Wienand <ianw@vmware.com>
3329 * time/tzset.c (__tzset_parse_tz): Update default rules for
3330 daylight time changes in the Energy Policy Act of 2005.
3332 2012-05-09 Andreas Jaeger <aj@suse.de>
3335 * elf/ldconfig.c (parse_conf): Change string to make clear that
3336 ldconfig only issued a warning if ld.so.conf does not exist.
3338 2012-05-08 David S. Miller <davem@davemloft.net>
3340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
3341 movxtod instead of popping the value on the stack.
3343 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3345 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
3347 * config.h.in: Add HAVE_ARM_PCS_VFP.
3349 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
3352 * include/features.h: Warn if user requests __FORTIFY_SOURCE
3353 checking but the checks are disabled for any reason.
3355 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
3357 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
3358 and ELF64_R_TYPE with ELFW(R_TYPE).
3360 2012-05-08 Joseph Myers <joseph@codesourcery.com>
3362 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
3365 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
3366 (settimeofday): Likewise.
3368 2012-05-08 Mike Frysinger <vapier@gentoo.org>
3370 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
3371 a struct th_u2 inside the union, and move tu_block/tu_code into
3372 a new th_u3 union of tu_block/tu_code inside of that. Move
3373 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
3374 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
3375 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
3376 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
3377 (th_stuff): Change to th_u1.tu_stuff.
3379 (th_msg): Change to th_u1.th_u2.tu_data.
3381 2012-05-07 David S. Miller <davem@davemloft.net>
3383 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3386 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
3387 (SETUP_PIC_REG): Use it.
3388 (SETUP_PIC_REG_LEAF): Use it.
3390 2012-05-07 Joseph Myers <joseph@codesourcery.com>
3394 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3396 (EXPL_FINITE): Likewise.
3398 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3399 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3401 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3403 (EXPL_FINITE): Likewise.
3405 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3406 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3408 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
3409 test of -max_value argument for long double.
3410 * sysdeps/i386/fpu/libm-test-ulps: Update.
3411 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3413 2012-05-06 David S. Miller <davem@davemloft.net>
3415 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
3416 quad soft-float symbols whose references which are compiler
3418 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
3420 2012-05-06 Joseph Myers <joseph@codesourcery.com>
3424 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3426 (EXPL_FINITE): Likewise.
3430 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3431 Adjust comments for base varying.
3432 (__expl_finite): Change alias to EXPL_FINITE.
3433 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
3435 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
3436 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
3437 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3438 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
3439 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3441 (EXPL_FINITE): Likewise.
3445 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3446 Adjust comments for base varying.
3447 (__expl_finite): Change alias to EXPL_FINITE.
3448 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
3450 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3453 * math/libm-test.inc (check_float_internal): Correct ulp
3454 calculation for subnormal expected results.
3456 2012-05-06 Andreas Jaeger <aj@suse.de>
3458 * Makeconfig (+math-flags): New, set to -frounding-math.
3459 (+cflags): Add +math-flags so that all of glibc gets compiled with
3462 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
3464 2012-05-05 Joseph Myers <joseph@codesourcery.com>
3466 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
3472 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
3473 (__ieee754_expl): Allow for and saturate large arguments.
3474 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
3475 (u_threshold): Likewise.
3476 (__exp): Call __ieee754_exp before checking for overflow and
3478 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
3479 (u_threshold): Likewise.
3480 (__expf): Call __ieee754_expf before checking for overflow and
3482 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
3483 (u_threshold): Likewise.
3484 (__expl): Call __ieee754_expl before checking for overflow and
3486 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
3487 (__ieee754_expl): Allow for and saturate large arguments.
3488 * math/libm-test.inc (exp_test): Add another test. Do not allow
3489 missing overflow exception on overflow.
3490 (expm1_test): Do not allow missing overflow exception on overflow.
3492 * sysdeps/i386/fpu/e_expl.c: Move to ...
3493 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
3494 rather than using inline asm.
3495 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
3496 * sysdeps/x86_64/fpu/e_expl.S: Copy from
3497 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
3499 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
3506 2012-05-04 Joseph Myers <joseph@codesourcery.com>
3508 * sysdeps/unix/syscalls.list (adjtime): Add entry from
3509 sysdeps/unix/common/syscalls.list.
3512 (ftruncate): Likewise.
3513 (getrusage): Likewise.
3514 (gettimeofday): Likewise.
3515 (setpgid): Likewise.
3516 (setregid): Likewise.
3517 (setreuid): Likewise.
3518 (sigaction): Likewise.
3519 (truncate): Likewise.
3520 (vhangup): Likewise.
3521 * sysdeps/unix/common/syscalls.list: Remove file.
3522 * sysdeps/unix/bsd/Implies: Don't include unix/common.
3523 * sysdeps/unix/sysv/linux/Implies: Likewise.
3525 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
3527 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
3528 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
3529 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
3531 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3533 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
3535 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
3536 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
3538 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
3539 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
3541 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
3542 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
3544 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
3545 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
3547 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
3548 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
3550 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
3551 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
3553 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3555 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
3557 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
3559 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
3561 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
3562 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
3564 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
3566 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
3568 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
3570 2012-05-04 Joseph Myers <joseph@codesourcery.com>
3572 * sysdeps/unix/common/bits/dirent.h: Remove file.
3573 * sysdeps/unix/common/bits/fcntl.h: Likewise.
3575 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
3576 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
3577 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
3578 * sysdeps/unix/bsd/isatty.c: Likewise.
3579 * sysdeps/unix/bsd/tcdrain.c: Likewise.
3580 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
3581 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
3583 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3586 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
3587 long double comparison inaccuracies.
3588 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
3589 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3591 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
3593 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
3594 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
3596 2012-05-04 Joseph Myers <joseph@codesourcery.com>
3599 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
3600 nonzero digits before rounding a hex value.
3601 * stdlib/tst-strtod.c (tests): Add another test.
3603 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3605 * sysdeps/s390/fpu/libm-test-ulps: Update.
3607 2012-05-03 Andreas Jaeger <aj@suse.de>
3609 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
3610 does not get optimized out.
3611 (malloc_opt_barrier): New.
3613 2012-05-03 Andreas Jaeger <aj@suse.de>
3614 Roland McGrath <roland@hack.frob.com>
3616 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
3617 intermediate file deletion.
3618 (generated): Add .symlist files.
3620 2012-05-03 Joseph Myers <joseph@codesourcery.com>
3623 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
3624 Redirect under this condition.
3625 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3626 [__USE_GNU] (__dprintf_chk): Not under this condition.
3627 [__USE_GNU] (__vdprintf_chk): Likewise.
3628 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
3629 under this condition.
3630 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3631 [__USE_XOPEN2K8] (dprintf): Define under this condition.
3632 [__USE_XOPEN2K8] (vdprintf): Likewise.
3633 [__USE_GNU] (__dprintf_chk): Not under this condition.
3634 [__USE_GNU] (__vdprintf_chk): Likewise.
3635 [__USE_GNU] (dprintf): Likewise.
3636 [__USE_GNU] (vdprintf): Likewise.
3638 2012-05-03 Roland McGrath <roland@hack.frob.com>
3640 * elf/Makefile (common-generated): Set this instead of generated for
3641 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
3642 $(all-built-dso)-derived lists.
3644 2012-05-03 Andreas Jaeger <aj@suse.de>
3646 * sysdeps/i386/fpu/libm-test-ulps: Update.
3650 * scripts/gen-FAQ.pl: Likewise.
3651 * manual/install.texi (Installation): Point to online location of
3653 * Makefile (files-for-dist): Remove FAQ.
3656 2012-05-02 Allan McRae <allan@archlinux.org>
3658 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
3659 (LDFLAGS-reldepmod5.so): Likewise.
3660 (LDFLAGS-reldep6mod1.so): Likewise.
3661 (LDFLAGS-reldep6mod4.so): Likewise.
3662 (LDFLAGS-reldep8mod3.so): Likewise.
3663 (LDFLAGS-unload4mod1.so): Likewise.
3664 (LDFLAGS-unload4mod2.so): Likewise.
3665 (LDFLAGS-tst-initorder): Likewise.
3666 (LDFLAGS-tst-initordera2.so): Likewise.
3667 (LDFLAGS-tst-initordera3.so): Likewise.
3668 (LDFLAGS-tst-initordera4.so): Likewise.
3669 (LDFLAGS-tst-initorderb2.so): Likewise.
3670 (LDFLAGS-noload): Likewise.
3671 (LDFLAGS-next): Likewise.
3672 (LDFLAGS-order2mod1.so): Likewise.
3673 (LDFLAGS-order2mod2.so): Likewise.
3674 (LDFLAGS-tst-initorder2): Likewise.
3675 (LDFLAGS-tst-initorder2a.so): Likewise.
3676 (LDFLAGS-tst-initorder2b.so): Likewise.
3677 (LDFLAGS-tst-initorder2c.so): Likewise.
3678 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
3680 2012-05-02 David S. Miller <davem@davemloft.net>
3682 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3684 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
3687 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
3689 2012-05-02 Andreas Jaeger <aj@suse.de>
3691 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
3692 since we manipulate rounding mode.
3693 (CPPFLAGS-test-idouble.c): Likewise.
3694 (CPPFLAGS-test-ifloat.c): Likewise.
3695 (CFLAGS-test-ldouble.c): Likewise.
3696 (CFLAGS-test-double.c): Likewise.
3697 (CFLAGS-test-float.c): Likewise.
3698 (CFLAGS-test-misc.c): Likewise.
3699 (CFLAGS-test-test-fenv.c): Likewise.
3701 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3705 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
3706 comparisons to determine direction to adjust input.
3708 2012-05-01 Roland McGrath <roland@hack.frob.com>
3710 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
3711 output to the target.
3713 * scripts/localplt.awk: New file.
3714 * elf/Makefile ($(objpfx)check-localplt): Target removed.
3715 (check-localplt-CFLAGS): Variable removed.
3716 ($(all-built-dso:=.jmprel)): New static pattern rule.
3717 (generated): Add those targets.
3718 (localplt-built-dso): New variable.
3719 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
3721 * elf/check-localplt.c: File removed.
3723 * scripts/check-execstack.awk: New file.
3724 * elf/Makefile ($(objpfx)check-execstack): Target removed.
3725 (check-execstack-CFLAGS): Variable removed.
3726 ($(objpfx)check-execstack.h): Target removed.
3727 ($(objpfx)execstack-default): New target.
3728 (generated): Add that instead of check-execstack.h.
3729 ($(all-built-dso:=.phdr)): New static pattern rule.
3730 (generated): Add those targets.
3731 * elf/check-execstack.c: File removed.
3733 * scripts/check-textrel.awk: New file.
3734 * elf/Makefile ($(objpfx)check-textrel): Target removed.
3735 (check-textrel-CFLAGS): Variable removed.
3736 (all-built-dso): Use := to define.o
3737 ($(all-built-dso:=.dyn)): New static pattern rule.
3738 (generated): Add those targets.
3739 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
3740 * config.make.in (READELF): New substituted variable.
3741 * elf/check-textrel.c: File removed.
3743 2012-05-01 Joseph Myers <joseph@codesourcery.com>
3745 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3747 * conform/data/ctype.h-data [C99-based standards] (isblank):
3749 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
3750 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
3751 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3752 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
3753 Specify type. Require positive value.
3756 [ISO || POSIX] (EILSEQ): Do not expect.
3757 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
3758 Specify type. Require positive value.
3759 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
3760 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
3761 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
3762 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
3763 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
3764 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
3765 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
3766 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
3767 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
3768 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
3769 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
3770 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
3771 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
3772 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
3773 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
3774 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
3775 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
3776 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
3777 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
3778 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
3779 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
3780 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
3781 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
3782 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
3783 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
3784 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
3785 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
3786 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
3787 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
3788 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
3789 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
3790 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
3791 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
3792 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
3793 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
3794 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
3795 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
3796 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
3797 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
3798 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
3799 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
3800 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
3801 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
3802 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
3803 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
3804 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
3805 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
3806 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
3807 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
3808 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
3809 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
3810 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
3811 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
3812 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
3813 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
3814 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
3815 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
3816 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
3817 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
3818 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
3819 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
3820 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
3821 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
3822 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
3823 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
3824 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
3825 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
3826 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
3827 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
3828 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
3829 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
3830 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
3831 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
3832 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
3833 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
3834 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
3835 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
3837 (FLT_ROUNDS): Expect as macro, not constant.
3838 (FLT_MANT_DIG): Use macro-int-constant.
3839 (DBL_MANT_DIG): Likewise.
3840 (LDBL_MANT_DIG): Likewise.
3841 (FLT_DIG): Likewise.
3842 (DBL_DIG): Likewise.
3843 (LDBL_DIG): Likewise.
3844 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
3845 (DBL_MIN_EXP): Likewise.
3846 (LDBL_MIN_EXP): Likewise.
3847 (FLT_MAX_EXP): Use macro-int-constant.
3848 (DBL_MAX_EXP): Likewise.
3849 (LDBL_MAX_EXP): Likewise.
3850 (FLT_MAX_10_EXP): Likewise.
3851 (DBL_MAX_10_EXP): Likewise.
3852 (LDBL_MAX_10_EXP): Likewise.
3853 (FLT_MAX): Use macro-constant.
3854 (DBL_MAX): Likewise.
3855 (LDBL_MAX): Likewise.
3856 (FLT_EPSILON): Use macro-constant. Give upper bound.
3857 (DBL_EPSILON): Likewise.
3858 (LDBL_EPSILON): Likewise.
3859 (FLT_MIN): Likewise.
3860 (DBL_MIN): Likewise.
3861 (LDBL_MIN): Likewise.
3862 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
3863 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
3864 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
3865 [ISO11] (FLT_HAS_SUBNORM): Likewise.
3866 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
3867 [ISO11] (DBL_DECIMAL_DIG): Likewise.
3868 [ISO11] (FLT_DECIMAL_DIG): Likewise.
3869 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
3870 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
3871 [ISO11] (FLT_TRUE_MIN): Likewise.
3872 [ISO11] (LDBL_TRUE_MIN): Likewise.
3873 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3874 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
3875 (SCHAR_MIN): Use macro-int-constant. Specify type.
3876 (SCHAR_MAX): Likewise.
3877 (UCHAR_MAX): Likewise.
3878 (CHAR_MIN): Likewise.
3879 (CHAR_MAX): Likewise.
3880 (MB_LEN_MAX): Use macro-int-constant.
3881 (SHRT_MIN): Use macro-int-constant. Specify type.
3882 (SHRT_MAX): Likewise.
3883 (USHRT_MAX): Likewise.
3884 (INT_MAX): Likewise.
3885 (INT_MIN): Use macro-int-constant. Specify type. Make upper
3887 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
3889 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3891 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
3892 bound negative. Suffix upper bound with "L".
3893 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3895 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
3897 [C99-based standards] (LLONG_MAX): Likewise.
3898 [C99-based standards] (ULLONG_MAX): Likewise.
3899 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
3901 [ISO11] (max_align_t): Require type.
3902 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3904 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
3905 from $CFLAGS, without defining away __attribute__ calls.
3906 (checknamespace): Use $CFLAGS_namespace.
3908 * conform/conformtest.pl (@keywords): Only include C99 keywords
3909 for standards based on C99 or C11.
3911 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
3913 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
3916 * conform/conformtest.pl: Handle "macro-int-constant" and test for
3917 usability of symbols in #if.
3919 * conform/conformtest.pl: If macro or constant types start
3920 "promoted:", expect the symbol to be of the following type
3921 promoted by the integer promotions.
3923 * conform/conformtest.pl: Parse all "constant" and "macro" lines
3924 in one place. Also handle "macro-constant".
3926 * conform/conformtest.pl: Only accept expected macro values with
3927 "==". Parse all "macro" lines in one place.
3928 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
3930 * conform/conformtest.pl: Handle braced types on "constant" lines
3931 instead of handling "typed-constant".
3932 * conform/data/signal.h-data: Use "constant" instead of
3935 * conform/conformtest.pl: Handle "optional-" at start of lines in
3936 one place rather than duplicating several cases. Handle each
3937 format of "macro" line with initial "optional-".
3939 * conform/conformtest.pl: Only accept expected constant or
3940 optional-constant values with "==". Parse all "constant" lines in
3941 one place. Parse all "optional-constant" lines in one place.
3942 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
3943 * conform/data/fmtmsg.h-data: Likewise.
3944 * conform/data/netinet/in.h-data: Likewise.
3945 * conform/data/tar.h-data: Likewise.
3946 * conform/data/limits.h-data: Use "==" form on "constant" and
3947 "optional-constant" lines.
3949 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
3950 Use -std=c99 for XOPEN2K.
3951 (@knownproblems): Remove.
3952 (newtoken): Don't check %isknown.
3954 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
3955 Do not expect macro.
3956 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
3957 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
3958 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
3959 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
3960 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
3961 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
3962 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
3963 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
3964 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
3965 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
3966 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
3967 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
3968 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
3969 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
3970 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
3971 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
3972 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
3973 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
3974 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
3975 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
3976 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
3977 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
3978 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
3979 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
3980 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
3981 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
3982 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
3983 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
3984 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
3985 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
3986 [XPG3] (acosh): Likewise.
3987 [XPG3] (asinh): Likewise.
3988 [XPG3] (atanh): Likewise.
3989 [XPG3] (cbrt): Likewise.
3990 [XPG3] (expm1): Likewise.
3991 [XPG3] (ilogb): Likewise.
3992 [XPG3] (log1p): Likewise.
3993 [XPG3] (logb): Likewise.
3994 [XPG3] (nextafter): Likewise.
3995 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
3996 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
3997 [XPG3] (remainder): Likewise.
3998 [XPG3] (rint): Likewise.
3999 [XPG3 || XPG4 || UNIX98] (round): Likewise.
4000 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
4001 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
4002 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
4003 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
4004 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
4005 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
4006 [UNIX98 || XOPEN2K] (scalb): Expect.
4007 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
4008 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
4009 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
4010 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
4011 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
4012 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
4013 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
4014 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
4015 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
4016 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
4017 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
4018 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
4019 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
4020 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
4021 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
4022 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
4023 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
4024 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
4025 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
4026 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
4027 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
4028 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
4029 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
4030 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
4031 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
4032 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
4033 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
4034 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
4035 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
4036 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
4037 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
4038 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
4039 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
4040 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
4041 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
4042 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
4043 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
4044 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
4045 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
4046 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
4047 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
4048 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
4049 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
4050 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
4051 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
4052 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
4053 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
4054 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
4055 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
4056 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
4057 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
4058 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
4059 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
4060 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
4061 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
4062 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
4063 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
4064 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
4065 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
4066 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
4067 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
4068 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
4069 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
4070 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
4071 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
4072 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
4073 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
4074 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
4075 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
4076 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
4077 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
4078 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
4079 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
4080 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
4081 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
4082 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
4083 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
4084 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
4085 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
4086 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
4087 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
4088 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
4089 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
4090 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
4091 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
4092 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
4093 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
4094 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
4095 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
4096 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
4097 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
4098 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
4099 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
4100 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
4101 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
4102 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
4103 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
4104 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
4105 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
4106 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
4107 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
4108 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
4109 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
4110 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
4111 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
4112 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
4113 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
4114 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
4115 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
4116 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
4117 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
4118 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
4119 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
4120 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
4121 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
4122 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
4123 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
4124 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
4125 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
4126 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
4127 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
4128 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
4129 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
4130 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
4131 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
4132 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
4133 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
4134 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
4135 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
4136 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
4137 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
4138 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
4139 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
4140 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
4141 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
4142 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
4143 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
4145 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
4146 _XOPEN_SOURCE_EXTENDED for XPG4.
4148 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
4150 * Makeconfig (localtime): Remove variable.
4151 (inst_localtime-file): Likewise.
4153 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
4155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
4157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
4161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
4165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
4167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
4171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4174 2012-05-01 Joseph Myers <joseph@codesourcery.com>
4178 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
4179 comparisons to determine direction to adjust input.
4180 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
4181 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
4182 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
4184 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
4186 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4188 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
4189 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
4191 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
4193 * math/libm-test.inc (nexttoward_test): Add more tests.
4195 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
4198 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
4199 in version GLIBC_2.1, not GLIBC_2.0.
4200 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
4203 2012-04-30 Joseph Myers <joseph@codesourcery.com>
4206 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
4208 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4209 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
4210 * math/libm-test.inc (acos_test): Add more tests.
4211 (asin_test): Likewise.
4212 * sysdeps/i386/fpu/libm-test-ulps: Update.
4213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4216 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
4218 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
4219 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4220 * math/libm-test.inc (acos_test_tonearest): New function.
4221 (acos_test_towardzero): Likewise.
4222 (acos_test_downward): Likewise.
4223 (acos_test_upward): Likewise.
4224 (asin_test_tonearest): Likewise.
4225 (asin_test_towardzero): Likewise.
4226 (asin_test_downward): Likewise.
4227 (asin_test_upward): Likewise.
4228 (main): Call the new functions.
4229 * sysdeps/i386/fpu/libm-test-ulps: Update.
4230 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4234 * math/e_exp10.c: Include <float.h>.
4235 (__ieee754_exp10): Handle underflow here rather than multiplying
4236 large negative argument by M_LN10.
4237 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
4239 * math/e_exp10l.c: Include <float.h>.
4240 (__ieee754_exp10l): Handle underflow here rather than multiplying
4241 large negative argument by M_LN10l.
4242 * math/libm-test.inc (exp10_test): Add another test. Do not allow
4243 spurious overflow exception on underflow.
4245 2012-04-29 Marek Polacek <polacek@redhat.com>
4247 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
4248 (__fortify_function): New macro.
4249 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
4250 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
4251 __extern_always_inline.
4252 * libio/bits/stdio2.h: Likewise.
4253 * libio/bits/stdio.h: Likewise.
4254 * string/string.h: Likewise.
4255 * string/bits/string3.h: Likewise.
4256 * include/stdio.h: Likewise.
4257 * stdlib/bits/stdlib.h: Likewise.
4258 * stdlib/stdlib.h: Likewise.
4259 * rt/bits/mqueue2.h: Likewise.
4260 * rt/mqueue.h: Likewise.
4261 * posix/bits/unistd.h: Likewise.
4262 * posix/unistd.h: Likewise.
4263 * io/bits/poll2.h: Likewise.
4264 * io/bits/fcntl2.h: Likewise.
4265 * io/fcntl.h: Likewise.
4266 * io/sys/poll.h: Likewise.
4267 * misc/bits/syslog.h: Likewise.
4268 * misc/bits/syslog-ldbl.h: Likewise.
4269 * misc/sys/syslog.h: Likewise.
4270 * socket/bits/socket2.h: Likewise.
4271 * socket/sys/socket.h: Likewise.
4272 * debug/tst-chk1.c: Likewise.
4273 * wcsmbs/bits/wchar2.h: Likewise.
4274 * wcsmbs/bits/wchar-ldbl.h: Likewise.
4275 * wcsmbs/wchar.h: Likewise.
4277 2012-04-29 Andreas Jaeger <aj@suse.de>
4279 * Makerules (tests): Remove enable-check-abi protection.
4280 (check-abi-warn): Remove.
4281 (check-abi-%): Remove check-abi-warn usage.
4283 * configure.in: Remove check-abi configure option.
4284 * configure: Regenerated.
4285 * config.make.in (enable-check-abi): Remove.
4287 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
4290 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
4291 double functions to double *_finite functions.
4294 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
4295 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
4297 * stdio-common/Makefile (tests): Add tst-sprintf3.
4298 * stdio-common/tst-sprintf3.c: New file.
4300 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
4301 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
4303 2012-04-28 Joseph Myers <joseph@codesourcery.com>
4305 * conform/conformtest.pl: Remove duplicate typed-constant
4308 2012-04-28 David S. Miller <davem@davemloft.net>
4310 * Makerules (%.abilist): Add vpath on sysdep_dirs.
4311 (check-abi-%): Remove AWK script prerequisite and explicit
4313 (check-abi): Rewrite to just diff the symlist with the abilist.
4314 (config-tls, config-abi-config): Delete, no longer used.
4315 (update-abi-%): Remove AWK script and explicit abilist directory.
4316 (update-abi): Rewrite to simply compare and conditionally copy the
4317 symlist and the sysdep abilist file. Remove update-abi-config
4319 * abilist/ld.abilist: Remove.
4320 * abilist/libBrokenLocale.abilist: Remove.
4321 * abilist/libanl.abilist: Remove.
4322 * abilist/libcrypt.abilist: Remove.
4323 * abilist/libdl.abilist: Remove.
4324 * abilist/librt.abilist: Remove.
4325 * abilist/libthread_db.abilist: Remove.
4326 * abilist/libutil.abilist: Remove.
4327 * scripts/extract-abilist.awk: Remove.
4328 * scripts/merge-abilist.awk: Remove.
4329 * sysdeps/generic/libcidn.abilist: New file.
4330 * sysdeps/generic/libnss_compat.abilist: New file.
4331 * sysdeps/generic/libnss_db.abilist: New file.
4332 * sysdeps/generic/libnss_dns.abilist: New file.
4333 * sysdeps/generic/libnss_files.abilist: New file.
4334 * sysdeps/generic/libnss_hesiod.abilist: New file.
4335 * sysdeps/generic/libnss_nis.abilist: New file.
4336 * sysdeps/generic/libnss_nisplus.abilist: New file.
4337 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
4338 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
4339 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
4341 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
4342 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
4343 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
4344 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
4345 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
4346 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
4347 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
4348 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
4349 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
4351 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
4352 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
4353 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
4354 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
4356 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
4357 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
4358 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
4359 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
4360 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
4361 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
4363 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
4364 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
4365 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
4367 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
4368 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
4370 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
4372 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
4374 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
4376 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
4378 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
4380 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
4382 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
4384 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
4386 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
4388 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
4390 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
4392 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
4394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
4396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
4398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
4400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
4402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
4404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
4406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
4408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
4410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
4414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
4416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
4418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
4420 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
4421 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
4423 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
4425 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
4427 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
4429 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
4431 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
4433 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
4435 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4437 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
4439 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
4441 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4443 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
4445 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
4446 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
4448 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4450 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
4452 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
4454 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
4456 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
4458 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
4460 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4462 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
4464 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
4466 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4468 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
4470 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
4471 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
4472 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
4474 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
4475 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
4476 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
4477 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
4478 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
4479 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
4480 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
4481 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
4482 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
4483 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
4484 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
4485 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
4487 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
4489 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
4491 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
4493 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
4495 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
4497 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
4499 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4501 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
4503 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
4505 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
4507 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
4509 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
4510 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
4512 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
4514 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
4516 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
4518 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
4520 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
4522 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
4524 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4526 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
4528 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
4530 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
4532 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
4535 2012-04-28 Joseph Myers <joseph@codesourcery.com>
4537 * conform/conformtest.pl: Fix typo in handling typed-constant from
4540 2012-04-27 Joseph Myers <joseph@codesourcery.com>
4542 * README: Cut down references to pre-2.6 Linux kernels and
4543 Linuxthreads. Update lists of configurations in libc and ports
4544 and sort alphabetically. Say "or newer" with Linux kernel version
4547 * config.h.in [IS_IN_build]: Allow compiling without optimization.
4549 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4552 * math/libm-test.inc (logb_test_downward): New test to expose
4553 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
4556 2012-04-27 Joseph Myers <joseph@codesourcery.com>
4559 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
4561 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
4562 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
4564 2012-04-26 Joseph Myers <joseph@codesourcery.com>
4566 * sysdeps/unix/i386/brk.S: Remove file.
4567 * sysdeps/unix/i386/dl-brk.S: Likewise.
4568 * sysdeps/unix/i386/pipe.S: Likewise.
4569 * sysdeps/unix/i386/sigreturn.S: Likewise.
4570 * sysdeps/unix/i386/syscall.S: Likewise.
4571 * sysdeps/unix/i386/vfork.S: Likewise.
4572 * sysdeps/unix/i386/wait.S: Likewise.
4574 * sysdeps/unix/common/tcsendbrk.c: Move to ...
4575 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
4577 * configure.in (arm*-none*): Do not allow without
4578 --enable-hacker-mode.
4579 (netbsd*): Remove case setting base_os.
4580 (386bsd*): Likewise.
4581 (freebsd*): Likewise.
4585 (ultrix*): Likewise.
4586 (newsos*): Likewise.
4596 (solaris[2-9]*): Likewise.
4598 * configure: Regenerated.
4600 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4603 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
4604 overflow or cancellation in calculating denominator.
4605 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
4606 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
4607 down expression to avoid unexpected rounding in newer GCCs.
4608 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
4610 2012-04-26 David S. Miller <davem@davemloft.net>
4612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
4613 long-double compat symbols.
4614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
4618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4619 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
4620 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
4621 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
4622 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
4623 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
4624 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
4625 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
4626 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4628 2012-04-25 David S. Miller <davem@davemloft.net>
4630 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
4631 HWCAP_* values only after the memory barriers have been defined.
4632 (atomic_full_barrier): Define.
4633 (atomic_read_barrier): Define.
4634 (atomic_write_barrier): Define.
4636 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4638 * shlib-versions: Add libgcc_s version information.
4639 * sysdeps/generic/libgcc_s.h: Remove.
4640 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
4642 * sysdeps/gnu/unwind-resume.c: Likewise.
4643 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
4645 2012-04-25 David S. Miller <davem@davemloft.net>
4647 * sysdeps/unix/sparc/brk.S: Delete.
4648 * sysdeps/unix/sparc/dl-brk.S: Delete.
4649 * sysdeps/unix/sparc/pipe.S: Delete.
4650 * sysdeps/unix/sparc/sysdep.S: Delete.
4651 * sysdeps/unix/sparc/sysdep.h: Delete.
4652 * sysdeps/unix/sparc/vfork.S: Delete.
4653 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
4654 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
4655 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
4656 ret_ERRVAL, r0, r1, MOVE): Define.
4657 (JUMPTARGET): Remove.
4658 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
4659 sysdeps/unix/sparc/sysdep.h
4660 (ENTRY, END): Remove.
4661 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4663 2012-04-25 Joseph Myers <joseph@codesourcery.com>
4665 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
4666 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
4669 * timezone/README: Update upstream location and email address for
4671 * timezone/zdump.c: Update from tzcode 2012b.
4672 * timezone/zic.c: Likewise.
4674 * configure.in (libc_cv_as_needed): Remove test.
4675 * configure: Regenerated.
4676 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
4677 conditional definition.
4678 [$(have-as-needed) != yes] (no-as-needed): Likewise.
4679 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
4680 * config.make.in (have-as-needed): Remove variable.
4682 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4683 Paul Pluzhnikov <ppluzhnikov@google.com>
4685 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
4688 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
4690 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
4691 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
4692 * sysdeps/sh/strlen.S: Likewise.
4694 2012-04-24 Joseph Myers <joseph@codesourcery.com>
4696 * sysdeps/unix/fork.S: Remove file.
4697 * sysdeps/unix/i386/fork.S: Likewise.
4698 * sysdeps/unix/sparc/fork.S: Likewise.
4700 * sysdeps/unix/system.c: Remove file.
4701 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
4703 * sysdeps/unix/getegid.S: Remove file.
4704 * sysdeps/unix/geteuid.S: Likewise.
4706 2012-04-24 Roland McGrath <roland@hack.frob.com>
4708 * scripts/check-localplt.awk: New file.
4709 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
4711 * scripts/data/localplt-generic.data: Add a comment.
4713 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
4714 NODE when __dir_mkfile failed.
4715 * sysdeps/mach/hurd/symlinkat.c: Likewise.
4716 Reported by Ludovic Courtès <ludo@gnu.org>.
4718 2012-04-24 Andreas Jaeger <aj@suse.de>
4720 * Makerules (common-clean): Also remove gen-as-const-headers
4723 2012-04-24 Joseph Myers <joseph@codesourcery.com>
4725 * Makerules (native-compile): Do not change working directory for
4726 build. Use $(OUTPUT_OPTION) in command.
4727 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
4729 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4732 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
4733 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
4734 * math/libm-test.inc (floor_test): Add more tests.
4735 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
4737 2012-04-24 Joseph Myers <joseph@codesourcery.com>
4739 * sysdeps/unix/getdents.c: Remove file.
4740 * sysdeps/unix/sysv/getdents.c: Likewise.
4741 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
4743 * sysdeps/unix/syscalls.list (madvise): Add syscall from
4744 sysdeps/unix/mman/syscalls.list.
4746 (mprotect): Likewise.
4749 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
4750 * sysdeps/unix/mman/syscalls.list: Remove.
4751 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
4753 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
4754 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
4755 * configure: Regenerated.
4756 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
4758 * config.make.in (libgcc_s_suffix): Remove variable.
4760 2012-04-23 Joseph Myers <joseph@codesourcery.com>
4762 * sysdeps/unix/sysv/gethostname.c: Move to ...
4763 * sysdeps/posix/gethostname.c: ... here.
4765 * sysdeps/unix/execve.S: Remove file.
4767 * sysdeps/unix/_exit.S: Remove file.
4769 2012-04-23 Andreas Jaeger <aj@suse.de>
4772 * manual/Makefile: Remove make dist support, there's no
4773 need for a stand-alone documentation tar ball.
4774 (TEXI2DVI): Define always, it's not in Makeconfig.
4778 (glibc-doc-$(edition).tar): Removed
4782 (ETAGS): Remove, it's in Makeconfig.
4783 (move-if-change): Remove, it's in Makeconfig.
4785 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
4788 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
4789 (strtod, strtof, strtold, strtol, strtoul, strtoq)
4790 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
4791 (strtod_l, strtof_l, strtold_l): Remove __wur.
4792 It is not necessarily an error to ignore strtol's return value.
4793 One can reliably look at the stored endptr to decide whether
4794 the number had valid syntax.
4796 2012-04-21 Andreas Jaeger <aj@suse.de>
4799 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
4801 2012-04-21 Joseph Myers <joseph@codesourcery.com>
4803 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
4804 * sysdeps/unix/sysv/Versions: Remove file.
4806 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
4809 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4811 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
4814 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
4815 version from __vm86.
4817 2012-04-20 Joseph Myers <joseph@codesourcery.com>
4819 * sysdeps/unix/common/lxstat.c: Remove file.
4820 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
4822 * sysdeps/unix/sysv/Makefile: Remove file.
4824 * sysdeps/unix/sysv/direct.h: Remove file.
4826 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
4827 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
4828 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
4829 * sysdeps/unix/sysv/bits/signum.h: Likewise.
4830 * sysdeps/unix/sysv/bits/stat.h: Likewise.
4831 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
4832 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
4834 * sysdeps/unix/sysv/setrlimit.c: Remove file.
4836 * sysdeps/unix/xmknod.c: Remove file.
4837 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
4839 * sysdeps/unix/sysv/settimeofday.c: Remove file.
4841 * sysdeps/unix/sysv/i386/time.S: Remove file.
4843 * sysdeps/unix/fxstat.c: Remove file.
4844 * sysdeps/unix/xstat.c: Likewise.
4845 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
4847 * sysdeps/unix/sysv/sigaction.c: Remove file.
4849 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
4850 (sysdep_headers): Remove variable.
4851 [termio.h not in sysdep_headers] (generated): Likewise.
4852 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
4853 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
4854 * sysdeps/unix/sysv/tcdrain.c: Likewise.
4855 * sysdeps/unix/sysv/tcflow.c: Likewise.
4856 * sysdeps/unix/sysv/tcflush.c: Likewise.
4857 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
4858 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
4859 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
4860 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
4861 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
4863 * sysdeps/unix/siglist.c: Remove file.
4865 * sysdeps/unix/getppid.S: Remove file.
4867 * sysdeps/unix/mkdir.c: Remove file.
4868 * sysdeps/unix/rmdir.c: Likewise.
4870 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
4872 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
4874 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
4875 errlist-compat value.
4877 2012-04-18 David S. Miller <davem@davemloft.net>
4879 * sysdeps/generic/memcopy.h (reg_char): Delete.
4880 * debug/strcat_chk.c: Use char, not reg_char.
4881 * debug/strcpy_chk.c: Likewise.
4882 * debug/strncat_chk.c: Likewise.
4883 * debug/strncpy_chk.c: Likewise.
4884 * string/memchr.c: Likewise.
4885 * string/memrchr.c: Likewise.
4886 * string/rawmemchr.c: Likewise.
4887 * string/strcat.c: Likewise.
4888 * string/strchr.c: Likewise.
4889 * string/strchrnul.c: Likewise.
4890 * string/strcmp.c: Likewise.
4891 * string/strcpy.c: Likewise.
4892 * string/strncat.c: Likewise.
4893 * string/strncmp.c: Likewise.
4894 * string/strncpy.c: Likewise.
4896 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4898 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
4899 __builtin_memcopy is called when src and dest ranges are known to not
4902 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4904 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
4905 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
4906 fwd_align_merge macro call.
4907 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
4908 bwd_align_merge macro call.
4909 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4911 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4913 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
4914 bwd_align_merge macros.
4915 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
4916 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
4917 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4919 2012-04-18 David S. Miller <davem@davemloft.net>
4921 * sysdeps/sparc/sparc64/memcopy.h: Delete.
4923 2012-04-18 Andreas Jaeger <aj@suse.de>
4926 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
4927 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
4928 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4930 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
4931 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
4932 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4934 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
4935 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
4936 Adjust for changed ldbl-128 files.
4938 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
4939 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
4940 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4942 2012-04-17 David S. Miller <davem@davemloft.net>
4944 * sysdeps/sparc/sparc32/memcopy.h: Delete.
4946 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
4948 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
4949 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
4950 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
4951 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
4952 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4953 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
4955 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4958 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
4959 * math/libm-test.inc: Add ilogb errno and exception tests.
4960 * math/w_ilogb.c: New file: ilogb wrapper.
4961 * math/w_ilogbf.c: New file: ilogbf wrapper.
4962 * math/w_ilogbl.c: New file: ilogbl wrapper.
4963 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
4964 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
4965 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
4966 exception being thrown with 0.0 as argument.
4967 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
4968 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
4969 exception being thrown with 0.0 as argument.
4970 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
4971 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4972 exception being thrown with 0.0 as argument.
4973 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
4974 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4975 exception being thrown with 0.0 as argument.
4976 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
4977 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
4978 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
4979 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
4980 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
4981 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
4982 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
4983 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
4984 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
4986 2012-04-17 Petr Baudis <pasky@ucw.cz>
4988 * include/sys/uio.h: Change __vector to __iovec to avoid clash
4991 2012-04-16 Marek Polacek <polacek@redhat.com>
4993 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
4995 2012-04-16 Marek Polacek <polacek@redhat.com>
4997 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
4998 operands of fdivp instruction.
5000 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
5002 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
5003 * elf/tst-auditmod3b.c: Likewise.
5004 * elf/tst-auditmod4b.c: Likewise.
5005 * elf/tst-auditmod5b.c: Likewise.
5006 * elf/tst-auditmod6b.c: Likewise.
5007 * elf/tst-auditmod6c.c: Likewise.
5008 * elf/tst-auditmod7b.c: Likewise.
5009 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
5010 * sysdeps/x86_64/preconfigure.in: Likewise.
5011 * sysdeps/x86_64/preconfigure: Regenerated.
5013 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
5015 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
5018 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
5020 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5021 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
5023 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
5026 * locale/iso-639.def: Fix gl language name. Spotted by
5029 2012-04-12 Roland McGrath <roland@hack.frob.com>
5032 * libio/libio.h (__io_write_fn): Update comment.
5034 2012-04-12 Petr Baudis <pasky@ucw.cz>
5037 * stdio.texi (Hook Functions): The user provided writer function
5038 is not allowed to return -1.
5040 2012-04-11 David S. Miller <davem@davemloft.net>
5042 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5044 2012-04-11 Mike Frysinger <vapier@gentoo.org>
5046 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
5047 Add a leading slash to rtkaio.
5049 2012-04-11 Jim Meyering <meyering@redhat.com>
5052 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
5053 It is not necessarily an error to ignore fwrite's return
5054 value. One can reliably use ferror to test for errors after
5057 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
5059 * bits/types.h (__snseconds_t): New type.
5060 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
5062 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
5063 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5064 (__SNSECONDS_T_TYPE): Likewise.
5065 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5066 (__SNSECONDS_T_TYPE): Likewise.
5067 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5068 (__SNSECONDS_T_TYPE): Likewise.
5070 2012-04-10 Andreas Jaeger <aj@suse.de>
5073 * manual/time.texi (Processor Time): Return type of times is
5074 elapsed real time since an arbitrary point in the past.
5075 (CPU Time): Move CLK_TCK from here...
5076 (Processor Time): ...to here. Correct description.
5077 * manual/conf.texi (Constants for Sysconf): Correct description of
5080 2012-04-10 David S. Miller <davem@davemloft.net>
5083 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
5084 where the is a gap between DT_REL(A) and DT_JMPREL.
5086 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
5088 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
5089 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
5090 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
5092 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5094 * elf/dl-support.c (_dl_inhibit_cache): New variable.
5095 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
5096 (dl_main): Handle --inhibit-cache.
5097 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
5099 * elf/dl-load.c (_dl_map_object): Use it.
5100 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
5102 2012-04-09 Joseph Myers <joseph@codesourcery.com>
5105 * sysdeps/i386/fpu/e_powl.S (p78): New object.
5106 (__ieee754_powl): Saturate large exponents rather than testing for
5107 overflow of y*log2(x).
5108 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5109 * math/libm-test.inc (pow_test): Do not permit spurious overflow
5113 * math/s_ctan.c: Include <float.h>.
5114 (__ctan): Avoid internal overflow or cancellation in calculating
5116 * math/s_ctanf.c: Likewise.
5117 * math/s_ctanl.c: Likewise.
5118 * math/s_ctanh.c: Likewise.
5119 * math/s_ctanhf.c: Likewise.
5120 * math/s_ctanhl.c: Likewise.
5121 * math/libm-test.inc (ctan_test): Add more tests.
5122 (ctanh_test): Likewise.
5123 * sysdeps/i386/fpu/libm-test-ulps: Update.
5124 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5126 2012-04-09 Andreas Jaeger <aj@suse.de>
5129 * manual/filesys.texi (Directory Entries): Mention that d_namlen
5130 is an optional BSD extension.
5133 * manual/stdio.texi (Opening Streams): Document additional fopen
5136 2012-04-09 Roland McGrath <roland@hack.frob.com>
5138 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
5139 %eax without telling the compiler.
5141 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
5144 * manual/install.texi: Use sourceware.org.
5146 2012-04-09 Joseph Myers <joseph@codesourcery.com>
5149 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
5150 (__ieee754_pow): Generate overflow and underflow using huge*huge
5151 and tiny*tiny rather than just returning constant infinity or zero
5152 for large exponents.
5153 * math/libm-test.inc (pow_test): Require overflow exceptions for
5154 applicable cases of large exponents.
5157 * sysdeps/i386/fpu/e_pow.S (p10): New object.
5158 (__ieee754_pow): Use iterative multiplication algorithm only for
5159 integer exponents with absolute value below 1024. Check for odd
5160 integer exponents when using algorithm for real exponents.
5161 * math/libm-test.inc (pow_test): Add more tests.
5162 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5164 2012-04-08 Joseph Myers <joseph@codesourcery.com>
5167 * math/libm-test.inc (exp_test): Do not allow overflow exception
5170 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
5173 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
5174 instead of __kernel_standard_f.
5176 2012-04-08 Mike Frysinger <vapier@gentoo.org>
5178 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
5179 * sysdeps/x86_64/memset_chk.S: Likewise.
5181 2012-04-08 Andreas Jaeger <aj@suse.de>
5184 * manual/startup.texi (Environment Access): Describe return value
5185 for putenv and setenv.
5188 * manual/filesys.texi (Directory Entries): Add description for
5192 * manual/filesys.texi (Directory Entries): Clarify that it's file
5193 system not operating system in the description of DT_UNKNOWN.
5196 * manual/syslog.texi (closelog): Fix reference, it's openlog.
5198 2012-04-08 Stephen Compall <s11@member.fsf.org>
5201 * manual/llio.texi (Opening and Closing Files): Add cross
5202 reference to explain mode argument.
5204 2012-04-07 Mike Frysinger <vapier@gentoo.org>
5206 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
5207 * sysdeps/x86_64/memset_chk.S: Likewise.
5209 2012-04-07 David S. Miller <davem@davemloft.net>
5211 * elf/elf.h (R_SPARC_WDISP10): Define.
5212 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
5214 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
5215 R_SPARC_SIZE64 and R_SPARC_H34.
5217 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
5219 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
5220 conditions and remove no longer applicable assertion.
5222 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
5224 * bits/byteswap.h: Include <features.h>.
5225 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
5226 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
5228 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
5230 * bits/byteswap.h (__bswap_16): Removed.
5231 Include <bits/byteswap-16.h> to get __bswap_16.
5232 * sysdeps/i386/bits/byteswap.h: Likewise.
5233 * sysdeps/s390/bits/byteswap.h: Likewise.
5234 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5235 * bits/byteswap-16.h: New file.
5236 * sysdeps/i386/bits/byteswap-16.h: Likewise.
5237 * sysdeps/s390/bits/byteswap-16.h: Likewise.
5238 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
5239 * string/Makefile (headers): Add bits/byteswap-16.h.
5241 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5244 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
5246 * nss/Makefile (tests-static, tests): Add tst-nss-static.
5247 * nss/tst-nss-static.c: New.
5249 2012-04-06 Robert Millan <rmh@gnu.org>
5252 * manual/llio.texi (File Position Primitive): lseek
5253 refers to WHENCE when it really means OFFSET.
5255 2012-04-06 Andreas Jaeger <aj@suse.de>
5257 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
5258 strncmp declarations.
5260 * abilist/libc.abilist: Add __poll and __ppoll.
5262 2012-04-05 David S. Miller <davem@davemloft.net>
5264 * scripts/check-local-headers.sh: Accept a host triplet in the
5265 path matched by the exclude regexp.
5267 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
5269 * sysdeps/powerpc/powerpc32/dl-machine.h
5270 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
5271 * sysdeps/s390/s390-32/dl-machine.h
5272 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5273 * sysdeps/sparc/sparc32/dl-machine.h
5274 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5275 * sysdeps/sparc/sparc64/dl-machine.h
5276 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5278 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
5280 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
5281 undefined symbol errors.
5283 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
5286 2012-04-05 Michael Matz <matz@suse.de>
5289 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
5291 2012-04-05 Andreas Jaeger <aj@suse.de>
5294 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
5297 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5299 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
5300 which ROUND is no valid rounding mode.
5302 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5304 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
5306 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
5308 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5310 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
5311 an exception using FPU order intentionally.
5313 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5315 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
5316 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
5317 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
5318 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
5320 2012-04-05 Simon Josefsson <simon@josefsson.org>
5323 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
5324 EINVAL when BUFLEN is too smal.
5326 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
5329 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
5330 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
5332 2012-04-03 Andreas Jaeger <aj@suse.de>
5335 * manual/setjmp.texi (System V contexts): Fix sentence.
5338 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
5339 New macro for this case.
5340 [!__GNUC__] (__bswap_64): New inline function for this case.
5341 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5342 * bits/byteswap.h: Likewise.
5343 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
5344 ull, guard with __GLIBC_HAVE_LONG_LONG.
5346 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
5347 __GLIBC_HAVE_LONG_LONG.
5349 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
5350 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
5352 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5355 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
5356 inptr and inend, rather than using last_ch.
5358 2012-04-02 David S. Miller <davem@davemloft.net>
5360 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
5361 * stdio-common/printf-parse.h (read_int): Change return type to
5362 'int', return -1 on INT_MAX overflow.
5363 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
5364 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
5365 overflows INT_MAX. Check for overflow of in-format-string precision
5366 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
5367 SIZE_MAX not INT_MAX for integer overflow test.
5368 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
5369 skip the construct in the format string but do not record anything.
5370 * stdio-common/bug22.c: Adjust to test both width/prevision
5371 INT_MAX overflow as well as total length INT_MAX overflow. Check
5372 explicitly for proper errno values.
5374 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
5376 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
5378 * string/test-strcmp.c [! WIDE]: Likewise.
5379 * time/tst-mktime2.c: Likewise for INT_MAX.
5380 * string/test-string.h: #include <sys/param.h> for MIN.
5382 * csu/init-first.c (__libc_init_first): Call __ctype_init.
5383 * sysdeps/i386/init-first.c (init): Likewise.
5384 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
5385 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
5386 * sysdeps/sh/init-first.c (init): Likewise.
5388 2012-04-01 Ulrich Drepper <drepper@gmail.com>
5390 * po/ru.po: Update from translation team.
5391 * po/vi.po: Likewise.
5393 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5395 * resolv/nss_dns/dns-host.c: Merge copyright years.
5397 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5399 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5400 Optimize memcpy with prefetch if
5401 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
5402 src, dst pointers have unequal 16 byte alignments.
5404 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5407 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
5408 from a CNAME entry and return the minimum ttl for the query.
5409 (gaih_getanswer_slice): Likewise.
5411 2012-03-30 Jeff Law <law@redhat.com>
5413 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
5415 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
5416 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
5418 * resolv/nss_dns/dns-host.c: Update copyright year.
5420 2012-03-30 Ulrich Drepper <drepper@gmail.com>
5422 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
5423 requests to save a system call. Fix check that all bytes are sent.
5425 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
5426 comments for sendmmsg.
5428 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5431 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
5432 with only 1 character between 0x0041 and 0x01b0.
5433 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
5434 * wcsmbs/tst-mbsnrtowcs.c: New file.
5436 2012-03-29 David S. Miller <davem@davemloft.net>
5438 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
5439 small copies by hand.
5441 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5444 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
5445 _nss_compat_initgroups_dyn): Fall back to malloc/free
5446 for large group memberships.
5448 2012-03-28 David S. Miller <davem@davemloft.net>
5450 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
5451 that branches into memcpy.
5452 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5453 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
5454 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5455 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
5456 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
5458 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
5460 * sysdeps/sparc/mempcpy.S: New file.
5462 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
5463 the IFUNC routine in the libc case.
5464 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5466 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
5467 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
5468 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
5469 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
5470 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
5471 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
5472 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
5473 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
5475 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
5476 loop to 256 bytes instead of 64 bytes and fix test signedness.
5478 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
5479 * sysdeps/sparc/sparc32/Makefile: rather than here...
5480 * sysdeps/sparc/sparc64/Makefile: and here.
5482 2012-03-28 Ulrich Drepper <drepper@gmail.com>
5484 * malloc/mallocbug.c: Avoid warnings about unused variables.
5486 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5489 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
5490 in the right place. Discard and retry query if response is
5491 larger than input buffer size.
5493 2012-03-28 Joseph Myers <joseph@codesourcery.com>
5498 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
5499 x for large integer exponent.
5500 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5501 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
5502 sign of result as needed afterwards.
5503 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
5504 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
5505 result for underflowing pow the same as for overflow.
5506 (__kernel_standard_l): Handle powl overflow and underflow here
5507 rather than calling __kernel_standard.
5508 * math/libm-test.inc (pow_test): Add more tests.
5523 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
5524 * sysdeps/ieee754/k_standard.c: Include <float.h>.
5525 (__kernel_standard_l): New function.
5526 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
5528 * math/w_acosl.c (__acosl): Likewise.
5529 * math/w_asinl.c (__asinl): Likewise.
5530 * math/w_atan2l.c (__atan2l): Likewise.
5531 * math/w_atanhl.c (__atanhl): Likewise.
5532 * math/w_coshl.c (__coshl): Likewise.
5533 * math/w_exp10l.c (__exp10l): Likewise.
5534 * math/w_exp2l.c (__exp2l): Likewise.
5535 * math/w_fmodl.c (__fmodl): Likewise.
5536 * math/w_hypotl.c (__hypotl): Likewise.
5537 * math/w_j0l.c (__j0l, __y0l): Likewise.
5538 * math/w_j1l.c (__j1l, __y1l): Likewise.
5539 * math/w_jnl.c (__jnl, __ynl): Likewise.
5540 * math/w_lgammal.c (__lgammal): Likewise.
5541 * math/w_log10l.c (__log10l): Likewise.
5542 * math/w_log2l.c (__log2l): Likewise.
5543 * math/w_logl.c (__logl): Likewise.
5544 * math/w_powl.c (__powl): Likewise.
5545 * math/w_remainderl.c (__remainderl): Likewise.
5546 * math/w_scalbl.c (sysv_scalbl): Likewise.
5547 * math/w_sinhl.c (__sinhl): Likewise.
5548 * math/w_sqrtl.c (__sqrtl): Likewise.
5549 * math/w_tgammal.c (__tgammal): Likewise.
5550 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
5551 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
5552 * math/libm-test.inc (acos_test): Add more tests.
5553 (acosh_test): Likewise.
5554 (asin_test): Likewise.
5555 (atanh_test): Likewise.
5556 (exp_test): Likewise.
5557 (exp10_test): Likewise.
5558 (exp2_test): Likewise.
5559 (expm1_test): Likewise.
5560 (lgamma_test): Likewise.
5561 (log_test): Likewise.
5562 (log10_test): Likewise.
5563 (log1p_test): Likewise.
5564 (log2_test): Likewise.
5565 (pow_test): Do not allow some spurious overflow exceptions.
5566 (sqrt_test): Add more tests.
5567 (tgamma_test): Likewise.
5568 (y0_test): Likewise.
5569 (y1_test): Likewise.
5570 (yn_test): Likewise.
5572 2012-03-27 Anton Blanchard <anton@samba.org>
5574 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
5576 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5577 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
5578 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5580 2012-03-27 David S. Miller <davem@davemloft.net>
5582 * conform/Makefile: Run run-conformtest.sh using $(BASH).
5584 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
5587 2012-03-27 Andreas Jaeger <aj@suse.de>
5589 * sysdeps/x86_64/elf/configure.in: Moved to ...
5590 * sysdeps/x86_64/configure.in: ... here.
5591 * sysdeps/x86_64/elf/start.S: Moved to ...
5592 * sysdeps/x86_64/start.S: ... here.
5593 * sysdeps/x86_64/elf/configure: Delete.
5595 * sysdeps/x86_64/configure.in: Merge contents from
5596 sysdeps/i386/configure.in (without i686 check).
5598 * sysdeps/i386/elf/Versions: Merge into ...
5599 * sysdeps/i386/Versions: ... this.
5600 * sysdeps/i386/elf/Versions: Delete file.
5601 * sysdeps/i386/elf/start.S: Moved to ...
5602 * sysdeps/i386/start.S: ...here.
5603 * sysdeps/i386/elf/configure.in: Merge into...
5604 * sysdeps/i386/configure.in: ...here.
5605 * sysdeps/i386/elf/configure.in: Delete file.
5606 * sysdeps/i386/elf/configure: Delete file.
5608 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
5609 * debug/backtracesyms.c: ... here.
5610 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
5611 * debug/backtracesymsfd.c: ... here.
5612 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
5613 * sysdeps/generic/ifunc-sel.h: ... here.
5615 * sysdeps/unix/i386/start.c: Delete file.
5616 * sysdeps/unix/sparc/start.c: Delete file.
5617 * sysdeps/unix/start.c: Delete file.
5619 * sysdeps/sh/elf/configure.in: Moved to ...
5620 * sysdeps/sh/configure.in: ... here.
5621 * sysdeps/sh/elf/start.S: Moved to ...
5622 * sysdeps/sh/start.S: ... here.
5623 * sysdeps/sh/elf/configure: Delete file.
5625 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
5626 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
5627 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
5628 * sysdeps/powerpc/powerpc64/entry.h: ... here.
5629 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
5630 * sysdeps/powerpc/powerpc64/start.S: here.
5631 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
5632 * sysdeps/powerpc/powerpc64/Makefile: ... this.
5633 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
5634 * sysdeps/powerpc/powerpc64/configure.in: ... this.
5635 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
5637 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
5638 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
5639 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
5640 * sysdeps/powerpc/powerpc32/start.S: ... here.
5641 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
5642 * sysdeps/powerpc/powerpc32/configure.in: ... this.
5643 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
5645 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
5646 * sysdeps/powerpc/ifunc-sel.h: ... here.
5647 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
5648 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
5650 * sysdeps/sparc/elf/configure.in: Moved to ...
5651 * sysdeps/sparc/configure.in: ... here.
5652 * sysdeps/sparc/elf/configure: Delete file.
5653 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
5654 * sysdeps/sparc/sparc32/start.S: ... here.
5655 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
5656 * sysdeps/sparc/sparc64/start.S: ... here.
5657 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
5658 * sysdeps/sparc/sparc32/Makefile: ... this.
5659 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
5660 * sysdeps/sparc/sparc64/Makefile: ... this.
5662 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
5663 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
5664 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
5665 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
5666 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
5667 * sysdeps/s390/s390-32/setjmp.S: ... here.
5668 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
5669 * sysdeps/s390/s390-32/configure.in: ... here.
5670 * sysdeps/s390/s390-32/elf/configure: Delete file.
5671 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
5672 * sysdeps/s390/s390-32/start.S: ... here.
5674 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
5675 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
5676 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
5677 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
5678 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
5679 * sysdeps/s390/s390-64/setjmp.S: ... here.
5680 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
5681 * sysdeps/s390/s390-64/configure.in: ... here
5682 * sysdeps/s390/s390-64/elf/configure: Delete file.
5683 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
5684 * sysdeps/s390/s390-64/start.S: ... here.
5685 * sysdeps/s390/s390-64/elf/configure: Delete.
5687 * configure.in: Remove support for elf directories in sysdeps.
5689 * configure: Regenerated.
5690 * sysdeps/i386/configure: Regenerated.
5691 * sysdeps/powerpc/powerpc32/configure: Regenerated.
5692 * sysdeps/powerpc/powerpc64/configure: Regenerated.
5693 * sysdeps/s390/s390-32/configure: Regenerated.
5694 * sysdeps/s390/s390-64/configure: Regenerated.
5695 * sysdeps/sh/configure: Regenerated.
5696 * sysdeps/sparc/configure: Regenerated.
5697 * sysdeps/x86_64/configure: Regenerated.
5699 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
5701 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5703 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
5704 denormal result into account.
5706 2012-03-25 Roland McGrath <roland@hack.frob.com>
5708 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
5709 Reported by Allan McRae <allan@archlinux.org>.
5711 2012-03-23 Jeff Law <law@redhat.com>
5713 * nss/getnssent.c (__nss_getent): Fix typo.
5715 2012-03-23 David S. Miller <davem@davemloft.net>
5717 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5719 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
5721 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
5722 to pad to uint64_t for each field.
5723 (dl_tls_index): Replace unsigned long with uint64_t.
5725 2012-03-23 Daniel Jacobowitz <dmj@google.com>
5726 Paul Pluzhnikov <ppluzhnikov@google.com>
5729 * grp/Makefile (otherlibs): Don't set it.
5730 * inet/Makefile (otherlibs): Likewise.
5731 * login/Makefile (otherlibs): Likewise.
5732 * nscd/Makefile (otherlibs): Likewise.
5733 * posix/Makefile (otherlibs): Likewise.
5734 * pwd/Makefile (otherlibs): Likewise.
5735 * rt/Makefile (otherlibs): Likewise.
5736 * sunrpc/Makefile (otherlibs): Likewise.
5737 * nss/Makefile (otherlibs): Likewise.
5738 Add libnss_files to routines and static-only-routines.
5739 ($(objpfx)getent): Remove rule.
5740 * resolv/Makefile: Add libnss_dns and libresolv to routines and
5741 static-only-routines.
5743 2012-03-22 Joseph Myers <joseph@codesourcery.com>
5746 * math/s_cexp.c: Include <float.h>.
5747 (__cexp): Handle exp result overflowing not necessarily
5748 overflowing both real and imaginary parts of result.
5749 * math/s_cexpf.c: Likewise.
5750 * math/s_cexpl.c: Likewise.
5751 * math/libm-test.inc (cexp_test): Add more tests.
5752 * sysdeps/i386/fpu/libm-test-ulps: Update.
5753 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5755 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5757 * include/link.h (ELFW): New macro.
5758 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
5759 Replace ELF64_R_TYPE with ELFW(R_TYPE).
5761 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5763 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
5766 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5768 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
5770 (struct La_x32_retval): Likewise.
5772 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5774 * sysdeps/x86_64/preconfigure.in: New file.
5775 * sysdeps/x86_64/preconfigure: New generated file.
5777 2012-03-22 Joseph Myers <joseph@codesourcery.com>
5780 * math/e_exp2l.c: Include <float.h>.
5781 (__ieee754_exp2l): Handle overflow and underflow cases
5782 separately. Only pass fractional part of argument to
5784 * math/libm-test.inc (exp2_test): Add more tests.
5786 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
5787 negating x to take absolute value.
5788 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
5790 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5791 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
5793 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
5794 computing low part if x was negated.
5795 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5797 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5799 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
5801 (pltexit): Cast int_retval to ptrdiff_t.
5802 * elf/tst-auditmod3b.c: Likewise.
5803 * elf/tst-auditmod4b.c: Likewise.
5804 * elf/tst-auditmod5b.c: Likewise.
5805 * elf/tst-auditmod6b.c: Likewise.
5806 * elf/tst-auditmod6c.c: Likewise.
5807 * elf/tst-auditmod7b.c: Likewise.
5809 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
5810 and x32_gnu_pltexit.
5812 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
5814 (La_x32_regs): New macro.
5815 (La_x32_retval): Likewise.
5816 (la_x32_gnu_pltenter): New function prototype.
5817 (la_x32_gnu_pltexit): Likewise.
5819 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
5821 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
5824 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5826 * configure.in (libc_cv_cc_nofma): Check for option to disable
5827 generation of FMA instructions.
5828 * configure: Regenerate.
5829 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
5830 * sysdeps/ieee754/dbl-64/Makefile: New file.
5831 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
5832 Remove brandred-fma4.
5833 (CFLAGS-brandred-fma4.c): Remove.
5834 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
5835 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
5837 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
5840 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5842 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
5843 LLONG_MAX != LONG_MAX.
5844 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5845 (_fitoa_word): Likewise.
5846 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
5847 LLONG_MAX != LONG_MAX.
5848 * stdio-common/_itowa.h: Include <_itoa.h>.
5849 (_itowa_word): Use _ITOA_WORD_TYPE on value.
5850 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
5851 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
5852 only if not defined.
5853 (_ITOA_WORD_TYPE): Likewise.
5854 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5855 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
5857 2012-03-21 David S. Miller <davem@davemloft.net>
5859 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5861 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5863 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
5864 of x86_64 when setting libc_cv_slibdir, libdir and
5866 * sysdeps/unix/sysv/linux/configure: Regenerated.
5868 2012-03-21 Joseph Myers <joseph@codesourcery.com>
5870 * manual/lang.texi (Old Varargs): Remove section.
5871 (How Variadic): Update menu.
5872 (va_start): Do not mention varargs.h.
5874 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5875 Joseph Myers <joseph@codesourcery.com>
5877 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
5879 * configure: Regenerated.
5881 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5883 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
5884 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
5887 2012-03-21 Joseph Myers <joseph@codesourcery.com>
5890 * Makefile (files-for-dist): Remove NOTES.
5891 (NOTES): Remove rule.
5892 * README: Don't refer to NOTES.
5893 * manual/creature.texi: Don't include macros.texi.
5894 * manual/intro.texi (creature.texi): Remove comment referring to
5897 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
5898 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
5899 * configure: Regenerated.
5900 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
5902 (libc_cv_as_i686): Likewise.
5903 (libc_cv_cc_avx): Likewise.
5904 (libc_cv_cc_sse2avx): Likewise.
5905 (libc_cv_cc_fma4): Likewise.
5906 (libc_cv_cc_novzeroupper): Likewise.
5907 * sysdeps/i386/configure: Regenerated.
5910 * sysdeps/i386/fpu/s_cexp.S: Remove.
5911 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5912 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5913 * math/libm-test.inc (cexp_test): Add more tests.
5914 * sysdeps/i386/fpu/libm-test-ulps: Update.
5915 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5917 2012-03-21 Allan McRae <allan@archlinux.org>
5919 * timezone/Makefile: Do not install iso3166.tab and zone.tab
5921 2012-03-21 Joseph Myers <joseph@codesourcery.com>
5924 * math/w_exp2.c: Do not include <float.h>.
5925 (o_threshold, u_threshold): Remove.
5926 (__exp2): Calculate result before checking finiteness and calling
5928 * math/w_exp2f.c: Likewise.
5929 * math/w_exp2l.c: Likewise.
5930 * math/libm-test.inc (exp2_test): Require overflow exception for
5934 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
5935 range of signed 64-bit integers before using fistpll. Remove
5936 checks for whether integers fit in mantissa bits.
5937 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
5938 the range of signed 32-bit integers before using fistpl. Remove
5939 checks for whether integers fit in mantissa bits.
5940 * sysdeps/i386/fpu/e_powl.S (p64): New object.
5941 (__ieee754_powl): Test for y outside the range of signed 64-bit
5942 integers before using fistpll. Reduce 64-bit values to 63-bit
5944 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
5945 divide-by-zero is raised for zero to large negative powers.
5946 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
5947 (__ieee754_powl): Test for y outside the range of signed 64-bit
5948 integers before using fistpll. Reduce 64-bit values to 63-bit
5950 * math/libm-test.inc (pow_test): Add more tests.
5952 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5954 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
5955 <stdio-common/_itoa.h>.
5956 * debug/segfault.c: Likewise.
5957 * elf/dl-cache.c: Likewise.
5958 * elf/dl-minimal.c: Likewise.
5959 * elf/dl-misc.c: Likewise.
5960 * elf/dl-sysdep.c: Likewise.
5961 * elf/dl-version.c: Likewise.
5962 * elf/rtld.c: Likewise.
5963 * hurd/hurdsock.c: Likewise.
5964 * hurd/lookup-retry.c: Likewise.
5965 * malloc/malloc.c: Likewise.
5966 * malloc/mtrace.c: Likewise.
5967 * nscd/nscd_getgr_r.c: Likewise.
5968 * nscd/nscd_getpw_r.c: Likewise.
5969 * nscd/nscd_getserv_r.c: Likewise.
5970 * posix/getopt_init.c: Likewise.
5971 * posix/wordexp.c: Likewise.
5972 * stdio-common/_itoa.c: Likewise.
5973 * stdio-common/printf_fphex.c: Likewise.
5974 * stdio-common/vfprintf.c: Likewise.
5975 * string/_strerror.c: Likewise.
5976 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
5977 * sysdeps/i386/i686/hp-timing.h: Likewise.
5978 * sysdeps/mach/_strerror.c: Likewise.
5979 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
5980 * sysdeps/mach/hurd/sethostid.c: Likewise.
5981 * sysdeps/mach/hurd/xmknodat.c: Likewise.
5982 * sysdeps/mach/xpg-strerror.c: Likewise.
5983 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5984 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5985 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
5986 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
5987 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5988 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
5989 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
5990 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
5991 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
5992 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
5993 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
5994 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5995 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
5996 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
5997 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
5998 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
5999 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
6000 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
6001 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
6002 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
6003 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
6005 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
6007 * stdio-common/_itoa.h: Moved to ...
6008 * sysdeps/generic/_itoa.h: Here.
6010 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
6012 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
6013 instead of "_itoa.h" and "_itowa.h".
6014 * stdio-common/vfprintf.: Likewise.
6016 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6018 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
6020 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
6021 (__signbit): Likwise.
6025 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6027 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
6030 2012-03-20 Joseph Myers <joseph@codesourcery.com>
6032 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
6033 OVERFLOW_EXCEPTION_OK.
6034 * math/libm-test.inc ("Philosophy"): Update comment about
6036 (OVERFLOW_EXCEPTION): Define.
6037 (OVERFLOW_EXCEPTION_OK): Likewise.
6038 (INVALID_EXCEPTION_OK): Renumber.
6039 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6040 (IGNORE_ZERO_INF_SIGN): Likewise.
6041 (test_exceptions): Handle FE_OVERFLOW.
6042 (exp10_test): Expect overflow exceptions.
6043 (exp2_test): Likewise.
6044 (expm1_test): Likewise.
6045 (nextafter_test): Likewise.
6046 (pow_test): Likewise.
6047 (scalbn_test): Likewise.
6048 (scalbln_test): Likewise.
6050 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6052 * sysdeps/x86_64/bits/atomic.h
6053 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
6055 (atomic_exchange_acq): Likewise.
6056 (__arch_exchange_and_add_body): Likewise.
6057 (__arch_add_body): Likewise.
6058 (atomic_add_negative): Likewise.
6059 (atomic_add_zero): Likewise.
6061 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6063 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
6064 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
6066 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6068 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
6069 Check __x86_64__ instead of __WORDSIZE.
6071 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6073 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
6075 2012-03-19 David S. Miller <davem@davemloft.net>
6077 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6079 * sysdeps/sparc/fpu/fenv_private.h: New file.
6080 * sysdeps/sparc/fpu/math_private.h: Use it.
6081 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
6083 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
6084 (libc_feholdexcept_setroundl): Remove.
6085 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
6087 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
6088 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
6090 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6092 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
6093 int64_t instead of long int.
6094 (INSERT_WORDS64): Likwise.
6096 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6098 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
6099 _Unwind_GetCFA return to _Unwind_Ptr first.
6101 2012-03-19 Joseph Myers <joseph@codesourcery.com>
6104 * math/s_clog.c: Include <float.h>.
6105 (__clog): Scale large or subnormal inputs.
6106 * math/s_clogf.c: Likewise.
6107 * math/s_clogl.c: Likewise.
6108 * math/s_clog10.c: Include <float.h>.
6109 (M_LOG10_2): Define.
6110 (__clog10): Scale large or subnormal inputs.
6111 * math/s_clog10f.c: Likewise.
6112 * math/s_clog10l.c: Likewise.
6113 * math/libm-test.inc (clog_test): Add more tests.
6114 (clog10_test): Likewise.
6115 * sysdeps/i386/fpu/libm-test-ulps: Update.
6116 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6119 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
6121 * math/libm-test.inc (atan2_test): Add another test.
6123 * Makerules (common-objdir-compile): Remove.
6124 * sysdeps/unix/Makefile (config-generated): Do not add
6125 $(unix-generated) to variable.
6126 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
6127 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
6129 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
6131 [generic bits/local_lim.h] (before-compile): Do not append to
6133 [generic bits/local_lim.h] (common-generated): Likewise.
6134 [generic sys/param.h] (before-compile): Do not append to variable.
6135 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
6136 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
6137 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
6138 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
6140 [generic sys/param.h] (sys/param.h-includes): Remove variable.
6141 [generic sys/param.h] (sys/param.h-includes): Remove rule.
6142 [generic sys/param.h] ($(addprefix
6143 $(common-objpfx),$(sys/param.h-includes))): Likewise.
6144 [generic sys/param.h] (common-generated): Do not append to
6146 [generic sys/param.h] (sysdep_headers): Likewise.
6147 [generic bits/errno.h] (before-compile): Do not append to
6149 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
6151 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
6152 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
6153 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
6154 [generic bits/errno.h] (common-generated): Do not append to
6156 [generic bits/ioctls.h] (before-compile): Do not append to
6158 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
6160 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
6161 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
6162 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
6164 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
6165 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
6166 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
6167 [generic bits/ioctls.h] (common-generated): Do not append to
6169 [generic sys/syscall.h] (syscall.h): Remove variable.
6170 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
6172 [generic sys/syscall.h] (before-compile): Do not append to
6174 [generic sys/syscall.h] (common-generated): Likewise.
6175 * sysdeps/unix/errnos-tmpl.c: Remove file.
6176 * sysdeps/unix/errnos.awk: Likewise.
6177 * sysdeps/unix/ioctls-tmpl.c: Likewise.
6178 * sysdeps/unix/ioctls.awk: Likewise.
6179 * sysdeps/unix/mk-local_lim.c: Likewise.
6180 * sysdeps/unix/snarf-ioctls: Likewise.
6182 2012-03-19 Richard Henderson <rth@twiddle.net>
6184 * sysdeps/i386/fpu/fenv_private.h: New file.
6185 * sysdeps/i386/fpu/math_private.h: Use it.
6186 (math_opt_barrier, math_force_eval): Remove.
6187 (libc_feholdexcept_setround_53bit): Remove.
6188 (libc_feupdateenv_53bit): Remove.
6189 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6190 (math_opt_barrier, math_force_eval): Remove.
6191 (libc_feholdexcept): Remove.
6192 (libc_feholdexcept_setround): Remove.
6193 (libc_fetestexcept, libc_fesetenv): Remove.
6194 (libc_feupdateenv_test): Remove.
6195 (libc_feupdateenv, libc_feholdsetround): Remove.
6196 (libc_feresetround): Remove.
6198 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
6199 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6201 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
6202 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
6203 (libc_feupdateenv_testl): New.
6204 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
6205 (libc_feupdateenv_testf): New.
6206 (libc_feupdateenv): Use libc_feupdateenv_test.
6207 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
6208 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
6210 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
6211 (libc_feholdsetroundf, libc_feholdsetroundl): New.
6212 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
6213 (libc_feresetround_noex): New.
6214 (libc_feresetround_noexf): New.
6215 (libc_feresetround_noexl): New.
6216 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
6217 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
6218 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
6219 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
6221 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
6222 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
6224 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
6225 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
6226 SET_RESTORE_ROUND_NOEX.
6227 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
6228 SET_RESTORE_ROUND_NOEXF.
6229 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
6230 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
6231 (libc_feholdsetroundf): New.
6232 (libc_feresetround, libc_feresetroundf): New.
6234 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
6235 (libc_feholdexcept_setround_53bit): Convert from macro to function.
6236 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
6238 * sysdeps/generic/math_private.h: Include <fenv.h>.
6239 (default_libc_feholdexcept): New.
6240 (default_libc_feholdexcept_setround): New.
6241 (default_libc_fesetenv, default_libc_feupdateenv): New.
6242 (libc_feholdexcept): Only define if undefined.
6243 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
6244 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
6245 (libc_feholdexcept_setroundl): Likewise.
6246 (libc_feholdexcept_setround_53bit): Likewise.
6247 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
6248 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
6249 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
6250 (libc_feupdateenv_53bit): Likewise.
6251 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
6252 (libc_feholdexcept): Convert from macro to inline function.
6253 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
6254 (libc_fesetenv, libc_feupdateenv): Likewise.
6256 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
6257 not previously defined.
6258 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
6259 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
6260 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
6261 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
6262 * sysdeps/ieee754/flt-32/math_private.h: New file.
6263 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
6264 math_private.h below SET_FLOAT_WORD.
6265 (__isnan, __isinf_ns, __finite): Remove.
6266 (__isnanf, __isinf_nsf, __finitef): Remove.
6268 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
6270 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6272 2012-03-17 David S. Miller <davem@davemloft.net>
6275 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
6278 2012-03-16 David S. Miller <davem@davemloft.net>
6280 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
6284 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
6286 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
6287 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
6288 sysdep_routines when subdir is sysvipc.
6289 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
6292 * sysdeps/sparc/fpu/libm-test/ulps: Update.
6294 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6296 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
6299 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6301 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
6302 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
6303 (__lround): Renamed to ...
6304 (__llround): This. Replace long int with long long int.
6305 Define lround functions as aliases of llround functions.
6306 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
6308 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6310 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
6311 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
6312 adresses to uintptr_t. Replace "long int" and "unsigned long
6313 int" with "greg_t" on va_arg.
6315 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6317 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
6318 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
6320 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
6321 Move e_machine check before EI_CLASS check. Handle x32
6322 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
6323 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
6324 SKIP_EM_IA_64 and include
6325 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
6327 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
6328 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
6329 (add_system_dir): New macro.
6331 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
6332 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
6334 2012-03-16 Joseph Myers <joseph@codesourcery.com>
6345 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
6347 * math/w_j0f.c (j0f): Likewise.
6349 * math/w_j0l.c (__j0l): Likewise.
6351 * math/w_j1.c (j1): Likewise.
6353 * math/w_j1f.c (j1f): Likewise.
6355 * math/w_j1l.c (__j1l): Likewise.
6357 * math/w_jn.c (jn): Likewise.
6359 * math/w_jnf.c (jnf): Likewise.
6361 * math/w_jnl.c (__jnl): Likewise.
6363 * math/libm-test.inc (j0_test): Add more tests.
6364 (j1_test): Likewise.
6365 (jn_test): Likewise. Add trailing semicolon to existing test.
6366 (y0_test): Likewise.
6367 (y1_test): Likewise.
6368 * sysdeps/i386/fpu/libm-test-ulps: Update.
6369 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6373 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
6374 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
6375 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
6376 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
6377 (__tanl): Set errno for infinite argument.
6378 * sysdeps/i386/fpu/mptan.c: Remove.
6379 * sysdeps/i386/fpu/s_tan.S: Likewise.
6380 * sysdeps/i386/fpu/s_tanl.S: Likewise.
6381 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
6382 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
6383 * math/libm-test.inc (tan_test): Add more tests and enable more
6384 tests for double and long double.
6385 * sysdeps/i386/fpu/libm-test-ulps: Update.
6386 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6388 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6390 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
6391 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
6393 2012-03-16 Roland McGrath <roland@hack.frob.com>
6395 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
6396 * configure.in: Use it for both main tree and add-ons.
6397 * configure: Regenerated.
6399 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6401 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
6403 2012-03-16 Joseph Myers <joseph@codesourcery.com>
6405 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
6409 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
6410 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
6411 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
6412 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
6413 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
6415 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
6416 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
6418 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
6419 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
6420 * sysdeps/i386/fpu/s_cosl.S: Likewise.
6421 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
6422 * sysdeps/i386/fpu/s_sinl.S: Likewise.
6423 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
6424 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
6425 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
6426 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
6427 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
6428 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
6429 * math/libm-test.inc (cos_test): Add more tests and enable more
6430 tests for long double.
6431 (sin_test): Likewise.
6432 (sincos_test): Likewise.
6433 * sysdeps/i386/fpu/libm-test-ulps: Update.
6434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6436 2012-03-16 David S. Miller <davem@davemloft.net>
6438 * sysdeps/sparc/fpu/math_private.h: New file.
6440 2012-03-15 David S. Miller <davem@davemloft.net>
6442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
6444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
6445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
6447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
6448 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
6449 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
6450 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
6451 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
6452 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
6454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6456 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
6457 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
6459 * sysdeps/sparc/sparc-ifunc.h: New file.
6460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
6462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
6463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
6465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
6467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
6468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
6469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
6470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
6472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
6474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
6476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
6478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
6480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
6482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
6483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
6484 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
6485 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
6486 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
6487 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
6488 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
6489 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
6490 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
6491 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
6492 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
6493 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
6494 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
6495 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
6496 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
6497 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
6498 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
6499 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
6500 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
6501 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
6502 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
6503 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
6505 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6507 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
6509 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6511 2012-03-15 Andreas Jaeger <aj@suse.de>
6514 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
6515 ieee754/flt-32 implementation for sin, cos and sincos.
6516 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
6517 * sysdeps/i386/fpu/s_cosf.S: Likewise.
6518 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
6519 * sysdeps/i386/fpu/s_sinf.S: Likewise.
6520 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
6521 ieee754/flt-32 implementation for tan.
6523 * math/libm-test.inc (cos_test): Enable some large input tests for
6525 (sin_test): Likewise.
6526 (sincos_test): Likewise.
6527 (tan_test): Add tests for large input.
6529 * sysdeps/i386/fpu/libm-test-ulps: Update.
6531 2012-03-15 Andreas Jaeger <aj@suse.de>
6534 * math/libm-test.inc (cos_test): Add more test cases.
6535 (sin_test): Likewise.
6536 (sincos_test): Likewise.
6538 2012-03-15 Andreas Jaeger <aj@suse.de>
6541 * math/libm-test.inc (cos_test): Add a test case for large input
6543 (sin_test): Likewise.
6544 (sincos_test): Likewise.
6546 2012-03-15 Andreas Jaeger <aj@suse.de>,
6547 Joseph Myers <joseph@codesourcery.com>
6550 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
6551 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
6552 * sysdeps/i386/fpu/branred.c: Likewise.
6553 * sysdeps/i386/fpu/dosincos.c: Likewise.
6554 * sysdeps/i386/fpu/mpa.c: Likewise.
6555 * sysdeps/i386/fpu/s_cos.S: Likewise.
6556 * sysdeps/i386/fpu/s_sin.S: Likewise.
6557 * sysdeps/i386/fpu/s_sincos.S: Likewise.
6558 * sysdeps/i386/fpu/sincos32.c: Likewise.
6560 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
6562 (libc_feupdateenv_53bit): Define.
6563 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
6565 (libc_feupdateenv_53bit): Define.
6567 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
6568 53 bit (without extend i386 double precision).
6570 * math/libm-test.inc (sincos_test): Add tests for large input.
6574 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6576 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6578 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6580 2012-03-15 David S. Miller <davem@davemloft.net>
6582 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
6583 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
6584 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
6585 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
6586 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
6587 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
6588 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
6589 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
6590 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
6591 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
6592 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
6593 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
6594 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
6595 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
6596 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
6597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
6599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
6600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
6602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
6603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
6605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
6606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
6608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
6609 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
6610 fmin/fmax sysdep routines.
6611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6613 2012-03-14 David S. Miller <davem@davemloft.net>
6615 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
6616 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
6617 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
6618 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
6619 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
6620 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
6621 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
6622 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
6623 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
6624 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
6625 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
6626 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
6627 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
6628 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
6629 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
6630 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
6631 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
6632 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
6633 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
6634 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
6635 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
6636 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
6637 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
6638 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
6639 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
6640 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
6641 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
6642 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
6643 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
6645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
6647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
6648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
6650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
6651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
6653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
6654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
6656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
6657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
6659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
6660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
6662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
6664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
6666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
6668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
6670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
6672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
6674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
6675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
6677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
6678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
6680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
6681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
6683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
6684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
6687 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
6690 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6692 * sysdeps/sparc/configure.in: New file.
6693 * sysdeps/sparc/configure: Generate.
6694 * configure.in (libc_cv_sparc_as_vis3): Substitute.
6695 * configure: Regenerate.
6696 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
6697 * config.make.in (have-as-vis3): New.
6698 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
6699 available use -Av9d instead of -Av9a.
6700 * sysdeps/sparc/sparc64/Makefile: Likewise.
6701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
6702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
6704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
6706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
6708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
6710 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
6711 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
6712 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
6713 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
6714 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
6716 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
6717 fzeros/fnegs to load 0x80000000 into a float register instead of
6719 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
6721 2012-03-14 Joseph Myers <joseph@codesourcery.com>
6723 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6725 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
6726 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
6727 ($(inst_includedir)/bits/syscall.h): Remove rule.
6728 ($(objpfx)bits/syscall.d): Include instead of
6729 $(objpfx)syscall-list.d.
6730 (generated): Change syscall-list.h and syscall-list.d to
6731 bits/syscall.h and bits/syscall.d.
6733 2012-03-14 Roland McGrath <roland@hack.frob.com>
6736 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
6738 2012-03-14 Joseph Myers <joseph@codesourcery.com>
6741 * math/s_csqrt.c: Include <float.h>.
6742 (__csqrt): Scale large or subnormal inputs.
6743 * math/s_csqrtf.c: Likewise.
6744 * math/s_csqrtl.c: Likewise.
6745 * math/libm-test.inc (csqrt_test): Add more tests.
6746 * sysdeps/i386/fpu/libm-test-ulps: Update.
6747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6750 * math/libm-test.inc (hypot_test): Add more tests.
6752 2012-03-13 David S. Miller <davem@davemloft.net>
6755 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
6756 double-precision for the calculation instead of scaling.
6758 2012-03-13 Joseph Myers <joseph@codesourcery.com>
6760 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
6761 manipulate bits before adding and subtracting TWO52[sx].
6762 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
6763 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
6765 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
6767 2012-03-13 David S. Miller <davem@davemloft.net>
6769 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
6770 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
6771 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
6772 rtld-global-offsets.h
6773 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6775 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
6778 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
6780 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
6781 'err' in the ifdef scope in which it is actually used.
6783 * nss/nss_db/db-init.c: Include string.h
6785 2012-03-12 David S. Miller <davem@davemloft.net>
6787 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
6788 masking out of the most significant byte of random value used.
6789 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6790 Fix coding style in previous change.
6792 * sysdeps/unix/sysv/linux/kernel-features.h
6793 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
6794 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
6796 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
6799 2012-03-11 David S. Miller <davem@davemloft.net>
6801 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6802 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
6803 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
6804 for 'resultvar' otherwise things get truncated on 64-bit.
6806 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6807 Fix masking out of the most significant byte of random value used.
6809 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6811 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
6813 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6815 2012-03-09 David S. Miller <davem@davemloft.net>
6817 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
6818 variables with appropriate CPP guards.
6819 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
6820 frame pointer, not the stack pointer. Correct layout comments. Fix test
6821 on resulting framesize and the management of the outregs buffer for pltexit.
6822 Preserve floating point return values across _dl_call_pltexit call.
6823 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
6824 framesize and the management of the outregs buffer for pltexit.
6825 Preserve floating point return values across _dl_call_pltexit
6827 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
6828 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
6829 (print_exit): Fix format string for return register value.
6831 2012-03-10 Joseph Myers <joseph@codesourcery.com>
6833 * sunrpc/Makefile (others): Add rpcgen.
6834 ($(objpfx)rpcgen): Remove special build rule and dependency on
6836 * sunrpc/rpcgen.c: New file.
6838 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
6841 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
6842 * stdio-common/bug-vfprintf-nargs.c: Likewise.
6843 * sysdeps/i386/crti.S: Likewise.
6844 * sysdeps/i386/crtn.S: Likewise.
6845 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
6846 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
6847 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
6848 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
6849 * sysdeps/sh/crti.S: Likewise.
6850 * sysdeps/sh/crtn.S: Likewise.
6851 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
6854 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
6856 * locale/programs/locfile-kw.gperf: Likewise.
6857 * locale/programs/charmap-kw.h: Regenerated.
6858 * locale/programs/locfile-kw.h: Likewise.
6861 * intl/plural.y: Replace FSF snail mail address with URL.
6862 * intl/plural.c: Regenerated.
6864 2012-03-09 Richard Henderson <rth@twiddle.net>
6866 * include/math_private.h: Remove file.
6867 * math/math_private.h: Move file ...
6868 * sysdeps/generic/math_private.h: ... here.
6870 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
6871 * sysdeps/powerpc/fpu/math_private.h: Likewise.
6872 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6874 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
6875 and <math_private.h>.
6876 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6877 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6878 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6879 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6880 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6881 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
6882 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6883 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6884 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6885 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6886 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6887 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6888 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6889 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6890 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6891 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6892 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6893 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6894 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6895 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6896 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6897 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6898 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6899 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6900 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
6901 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6902 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6903 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6904 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6905 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6906 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6907 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6908 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
6909 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6910 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6911 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6912 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6913 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6914 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6915 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6916 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
6917 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6918 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6919 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
6920 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
6921 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6922 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
6923 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6924 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6925 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6926 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6927 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
6928 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
6929 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6930 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
6931 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6932 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6933 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
6934 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
6935 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
6936 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6937 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
6938 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6939 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6940 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
6941 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6942 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6943 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6944 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
6945 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
6946 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
6947 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6948 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6949 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6950 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
6951 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
6952 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
6953 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6954 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
6955 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
6956 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
6957 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
6958 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
6959 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6960 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6961 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
6962 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
6963 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
6964 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6965 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6966 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6967 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6968 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6969 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6970 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6971 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6972 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6973 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6974 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6975 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6976 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6977 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6978 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6979 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6980 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6981 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6982 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6983 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6984 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6985 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6986 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6987 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6988 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6989 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6990 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
6991 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6992 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6993 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6994 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6995 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
6996 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6997 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6998 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6999 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
7000 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7001 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
7002 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
7003 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
7004 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
7005 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
7006 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
7007 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
7008 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7009 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
7010 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
7011 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
7012 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7013 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
7014 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
7015 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
7016 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7017 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
7018 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
7019 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
7020 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
7021 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
7022 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
7023 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
7024 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
7025 * sysdeps/ieee754/k_standard.c: Likewise.
7026 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
7027 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
7028 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7029 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
7030 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
7031 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
7032 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
7033 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
7034 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
7035 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7036 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7037 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
7038 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
7039 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
7040 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
7041 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
7042 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7043 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
7044 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
7045 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
7046 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
7047 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
7048 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7049 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
7050 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7051 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
7052 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7053 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7054 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
7055 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7056 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7057 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
7058 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
7059 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7060 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7061 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
7062 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
7063 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
7064 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
7065 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
7066 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7067 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7068 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7069 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
7070 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7071 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7072 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
7073 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7074 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
7075 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7076 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7077 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7078 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7079 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
7080 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7081 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7082 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
7083 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
7084 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
7085 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
7086 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7087 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7088 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
7089 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
7090 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7091 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7092 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
7093 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
7094 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
7095 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
7096 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
7097 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7098 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
7099 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
7100 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
7101 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
7102 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
7103 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
7104 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7105 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7106 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7107 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7108 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
7109 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
7110 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
7111 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7112 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
7113 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
7114 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
7115 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
7116 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
7117 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
7118 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
7119 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7120 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7121 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
7122 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
7123 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
7124 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
7125 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
7126 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
7127 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7128 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7129 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
7130 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
7131 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7132 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7133 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
7134 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
7135 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
7136 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
7137 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
7138 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
7139 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7140 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
7141 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7142 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
7143 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7144 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7145 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
7146 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7147 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
7148 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7149 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
7150 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7151 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
7152 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7153 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7154 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
7155 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7156 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7157 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7158 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7159 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7160 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
7161 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
7162 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
7163 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7164 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7165 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
7166 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
7167 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7168 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
7169 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
7170 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
7171 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7172 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7173 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
7174 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
7175 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
7176 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7177 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7178 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7179 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7180 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
7181 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
7182 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
7183 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
7184 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
7185 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7186 * sysdeps/ieee754/s_lib_version.c: Likewise.
7187 * sysdeps/ieee754/s_matherr.c: Likewise.
7188 * sysdeps/ieee754/s_signgam.c: Likewise.
7189 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7190 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7191 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
7192 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
7193 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
7194 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7195 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
7196 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
7197 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
7198 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
7199 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7200 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
7201 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
7202 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7203 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
7204 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
7205 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7206 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
7207 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7208 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7209 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7211 2012-03-09 Joseph Myers <joseph@codesourcery.com>
7213 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
7214 * sunrpc/rpc_main.c: Likewise.
7215 * sunrpc/rpc_svcout.c: Likewise.
7217 2012-03-09 David S. Miller <davem@davemloft.net>
7219 * include/math_private.h: New file.
7221 2012-03-09 Joseph Myers <joseph@codesourcery.com>
7223 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
7224 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
7225 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
7226 from <bits/socket_type.h>.
7227 (enum __socket_type): Don't define here.
7228 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
7229 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7233 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
7236 * Makerules ($(inst_includedir)/%.h): New rule.
7237 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
7238 (install-others): Remove variable setting.
7239 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
7241 2012-03-08 Richard Henderson <rth@twiddle.net>
7243 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
7244 from macro to inline function; merge with the
7245 !__LIBC_INTERNAL_MATH_INLINES version.
7246 (__ieee754_sqrtf): Likewise.
7248 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
7250 (__rintf, __floor, __floorf): Likewise.
7252 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
7253 macro to inline function.
7254 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
7256 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
7257 not <math/math_private.h>.
7259 2012-03-08 David S. Miller <davem@davemloft.net>
7261 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
7263 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
7265 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
7267 * resolv/gai_misc.c (handle_requests): Fix struct timespec
7269 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
7270 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
7272 2012-03-08 Ulrich Drepper <drepper@gmail.com>
7274 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
7275 be defined individually, they must be defined as a block. Define
7276 S for printing a string instead of hidint the different by using a
7277 macro for adding the 'l'.
7278 * stdio-common/tst-fphex-wide.c: Adjust.
7280 2012-03-07 Marek Polacek <polacek@redhat.com>
7282 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
7284 2012-03-08 Marek Polacek <polacek@redhat.com>
7287 * stdio-common/Makefile (tests): Add tst-fphex-wide.
7288 * stdio-common/tst-fphex.c: Define a few macros to make the
7289 test reusable. Use them.
7290 * stdio-common/tst-fphex-wide.c: New file.
7292 2012-03-08 Joseph Myers <joseph@codesourcery.com>
7295 * manual/macros.texi (gnusystems): New macro.
7296 (nongnusystems): Likewise.
7297 (gnulinuxhurdsystems): Likewise.
7298 (gnuhurdsystems): Likewise..
7299 (gnulinuxsystems): Likewise.
7300 * manual/charset.texi: Use new macros or @theglibc{} to refer to
7301 variants of the GNU system, not "GNU system".
7302 * manual/conf.texi: Likewise.
7303 * manual/errno.texi: Likewise. Update example of errno macro
7305 * manual/filesys.texi: Likewise.
7306 (getumask): Document as specific to GNU/Hurd.
7307 * manual/install.texi: Likewise. Reword some references to
7309 * manual/intro.texi: Likewise.
7310 * manual/io.texi: Likewise.
7311 (File Name Portability): Detail which constraints are inapplicable
7312 to all GNU systems and which are only inapplicable to GNU/Hurd.
7313 * manual/job.texi: Likewise.
7314 * manual/llio.texi: Likewise.
7315 (O_NOCTTY): Document as present on GNU/Linux.
7316 * manual/maint.texi: Likewise.
7317 * manual/memory.texi: Likewise.
7318 * manual/pattern.texi: Likewise.
7319 * manual/pipe.texi: Likewise.
7320 * manual/process.texi: Likewise.
7321 * manual/resource.texi: Likewise.
7322 (RUSAGE_CHILDREN): Remove statement about specifying a particular
7324 * manual/setjmp.texi: Likewise.
7325 * manual/signal.texi: Likewise.
7326 * manual/startup.texi: Likewise.
7327 * manual/stdio.texi: Likewise.
7328 * manual/terminal.texi: Likewise.
7329 (ONLCR): Document as POSIX.
7330 (OXTABS): Document availability on GNU/Linux as XTABS.
7331 (ONOEOT): Document availability separately from other bits.
7332 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
7333 * manual/time.texi: Likewise.
7334 * manual/users.texi: Likewise.
7335 * INSTALL: Regenerated.
7336 * sysdeps/gnu/errlist.c: Regenerated.
7338 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
7339 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
7340 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
7342 * configure: Regenerated.
7344 2012-03-07 Joseph Myers <joseph@codesourcery.com>
7346 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
7347 default includes instead of AC_HEADER_CHECK.
7348 * sysdeps/i386/configure: Regenerated.
7351 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
7352 * math/s_cacoshf.c (__cacoshf): Likewise.
7353 * math/s_cacoshl.c (__cacoshl): Likewise.
7354 * math/s_casinh.c (__casinh): Set signs of result from argument.
7355 * math/s_casinhf.c (__casinhf): Likewise.
7356 * math/s_casinhl.c (__casinhl): Likewise.
7357 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
7358 (casinh_test): Add more tests.
7359 * sysdeps/i386/fpu/libm-test-ulps: Update.
7360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7362 2012-03-07 Ulrich Drepper <drepper@gmail.com>
7364 * po/zh_TW.po: Update from translation team.
7366 * login/Makefile (distribute): Remove variable.
7367 * catgets/Makefile: Likewise.
7368 * mach/Makefile: Likewise.
7369 * malloc/Makefile: Likewise.
7370 * misc/Makefile: Likewise.
7371 * iconv/Makefile: Likewise.
7372 * nscd/Makefile: Likewise.
7373 * hurd/Makefile: Likewise.
7374 * manual/Makefile: Likewise.
7375 * locale/Makefile: Likewise.
7376 * intl/Makefile: Likewise.
7377 * conform/Makefile: Likewise.
7378 * nss/Makefile: Likewise.
7379 * time/Makefile: Likewise.
7380 * soft-fp/Makefile: Likewise.
7381 * dirent/Makefile: Likewise.
7382 * gmon/Makefile: Likewise.
7383 * po/Makefile: Likewise.
7384 * rt/Makefile: Likewise.
7385 * socket/Makefile: Likewise.
7386 * math/Makefile: Likewise.
7387 * signal/Makefile: Likewise.
7388 * debug/Makefile: Likewise.
7389 * elf/Makefile: Likewise.
7390 * timezone/Makefile: Likewise.
7391 * stdlib/Makefile: Likewise.
7392 * iconvdata/Makefile: Likewise.
7393 * sunrpc/Makefile: Likewise.
7394 * io/Makefile: Likewise.
7395 * argp/Makefile: Likewise.
7396 * inet/Makefile: Likewise.
7397 * hesiod/Makefile: Likewise.
7398 * grp/Makefile: Likewise.
7399 * csu/Makefile: Likewise.
7400 * wctype/Makefile: Likewise.
7401 * crypt/Makefile: Likewise.
7402 * libio/Makefile: Likewise.
7403 * string/Makefile: Likewise.
7404 * nis/Makefile: Likewise.
7405 * resolv/Makefile: Likewise.
7406 * stdio-common/Makefile: Likewise.
7407 * wcsmbs/Makefile: Likewise.
7408 * dlfcn/Makefile: Likewise.
7409 * posix/Makefile: Likewise.
7412 * timezone/Makefile: Don't install timezone files, just the programs
7415 2012-03-06 Ulrich Drepper <drepper@gmail.com>
7417 * nss/databases.def: Add missing gshadow entry.
7419 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
7421 2012-03-06 Marek Polacek <polacek@redhat.com>
7424 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
7425 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
7426 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
7427 * stdio-common/tst-long-dbl-fphex.c: New file.
7429 2012-03-06 David S. Miller <davem@davemloft.net>
7431 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7432 (set_obp_int): New function.
7433 (get_obp_int): New function.
7434 (__get_clockfreq_via_dev_openprom): Likewise.
7435 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
7436 Avoid unused variable warnings on 'val' and use builtin_expect.
7437 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
7439 (INLINE_CLONE_SYSCALL): Likewise.
7441 2012-03-05 David S. Miller <davem@davemloft.net>
7443 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7445 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
7447 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7449 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
7451 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7453 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
7455 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
7456 Replace gettimeofday with __vdso_gettimeofday.
7458 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7459 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
7460 __vdso_clock_gettime and __vdso_getcpu.
7462 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
7463 time with __vdso_time.
7465 2012-03-05 Joseph Myers <joseph@codesourcery.com>
7467 * manual/lang.texi (size_t): Note types to which size_t may be
7468 equivalent with the GNU C Library, but do not describe when
7469 differences between them are significant.
7471 2012-03-05 Andreas Jaeger <aj@suse.de>
7473 * sysdeps/i386/fpu/libm-test-ulps: Update.
7475 2012-03-05 Joseph Myers <joseph@codesourcery.com>
7478 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
7479 (__ieee754_pow): Save and restore rounding mode and use
7480 round-to-nearest for main computations.
7481 * math/libm-test.inc (pow_test_tonearest): New function.
7482 (pow_test_towardzero): Likewise.
7483 (pow_test_downward): Likewise.
7484 (pow_test_upward): Likewise.
7485 (main): Call the new functions.
7486 * sysdeps/i386/fpu/libm-test-ulps: Update.
7487 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7490 * math/libm-test.inc (cosh_test_tonearest): New function.
7491 (cosh_test_towardzero): Likewise.
7492 (cosh_test_downward): Likewise.
7493 (cosh_test_upward): Likewise.
7494 (sinh_test_tonearest): Likewise.
7495 (sinh_test_towardzero): Likewise.
7496 (sinh_test_downward): Likewise.
7497 (sinh_test_upward): Likewise.
7498 (main): Call the new functions.
7499 * sysdeps/i386/fpu/libm-test-ulps: Update.
7500 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7502 2012-03-05 Tom de Vries <tom@codesourcery.com>
7504 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
7505 default stack guard is set in last bytes.
7506 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
7508 2012-03-05 Kees Cook <keescook@chromium.org>
7510 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
7513 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
7514 possibly allocate from heap instead of stack.
7515 * stdio-common/bug-vfprintf-nargs.c: New file.
7516 * stdio-common/Makefile (tests): Add nargs overflow test.
7518 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
7520 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7522 2012-03-03 Marek Polacek <polacek@redhat.com>
7524 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
7525 * math/math_private.h: Likewise.
7526 * stdlib/tst-strtod.c: Likewise.
7527 * sysdeps/i386/i486/bits/atomic.h: Likewise.
7528 * sysdeps/x86_64/bits/atomic.h: Likewise.
7530 2012-03-02 David S. Miller <davem@davemloft.net>
7532 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
7533 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
7534 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
7535 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
7536 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
7537 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
7538 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
7539 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
7541 2012-03-02 Roland McGrath <roland@hack.frob.com>
7544 * manual/examples/README: New file, says the example source files
7545 can be used under GPL>=2.
7546 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
7547 line containing just "*/".
7548 * manual/examples/add.c: Add copyright header (GPL>=2).
7549 * manual/examples/argp-ex1.c: Likewise.
7550 * manual/examples/argp-ex2.c: Likewise.
7551 * manual/examples/argp-ex3.c: Likewise.
7552 * manual/examples/argp-ex4.c: Likewise.
7553 * manual/examples/atexit.c: Likewise.
7554 * manual/examples/db.c: Likewise.
7555 * manual/examples/dir.c: Likewise.
7556 * manual/examples/dir2.c: Likewise.
7557 * manual/examples/execinfo.c: Likewise.
7558 * manual/examples/filecli.c: Likewise.
7559 * manual/examples/filesrv.c: Likewise.
7560 * manual/examples/fmtmsgexpl.c: Likewise.
7561 * manual/examples/genpass.c: Likewise.
7562 * manual/examples/inetcli.c: Likewise.
7563 * manual/examples/inetsrv.c: Likewise.
7564 * manual/examples/isockad.c: Likewise.
7565 * manual/examples/longopt.c: Likewise.
7566 * manual/examples/memopen.c: Likewise.
7567 * manual/examples/memstrm.c: Likewise.
7568 * manual/examples/mkfsock.c: Likewise.
7569 * manual/examples/mkisock.c: Likewise.
7570 * manual/examples/mygetpass.c: Likewise.
7571 * manual/examples/pipe.c: Likewise.
7572 * manual/examples/popen.c: Likewise.
7573 * manual/examples/rprintf.c: Likewise.
7574 * manual/examples/search.c: Likewise.
7575 * manual/examples/select.c: Likewise.
7576 * manual/examples/setjmp.c: Likewise.
7577 * manual/examples/sigh1.c: Likewise.
7578 * manual/examples/sigusr.c: Likewise.
7579 * manual/examples/stpcpy.c: Likewise.
7580 * manual/examples/strdupa.c: Likewise.
7581 * manual/examples/strftim.c: Likewise.
7582 * manual/examples/strncat.c: Likewise.
7583 * manual/examples/subopt.c: Likewise.
7584 * manual/examples/swapcontext.c: Likewise.
7585 * manual/examples/termios.c: Likewise.
7586 * manual/examples/testopt.c: Likewise.
7587 * manual/examples/testpass.c: Likewise.
7588 * manual/examples/timeval_subtract.c: Likewise.
7591 * manual/time.texi (Elapsed Time): Move timeval_subtract example
7593 * manual/timeval_subtract.c.texi: ... here, new file.
7595 2012-03-02 David S. Miller <davem@davemloft.net>
7597 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
7599 2012-03-02 Joseph Myers <joseph@codesourcery.com>
7602 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
7603 (__sin): Save and restore rounding mode and use round-to-nearest
7604 for all computations.
7605 (__cos): Save and restore rounding mode and use round-to-nearest
7606 for all computations.
7607 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
7609 (tan): Save and restore rounding mode and use round-to-nearest for
7611 * math/libm-test.inc (cos_test_tonearest): New function.
7612 (cos_test_towardzero): Likewise.
7613 (cos_test_downward): Likewise.
7614 (cos_test_upward): Likewise.
7615 (sin_test_tonearest): Likewise.
7616 (sin_test_towardzero): Likewise.
7617 (sin_test_downward): Likewise.
7618 (sin_test_upward): Likewise.
7619 (tan_test_tonearest): Likewise.
7620 (tan_test_towardzero): Likewise.
7621 (tan_test_downward): Likewise.
7622 (tan_test_upward): Likewise.
7623 (main): Call the new functions.
7624 * sysdeps/i386/fpu/libm-test-ulps: Update.
7625 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7628 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
7629 small n, then large n, before computing and testing k+n.
7630 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7631 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
7633 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
7635 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
7636 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
7637 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
7638 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
7639 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
7640 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
7641 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
7642 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
7643 * math/libm-test.inc (scalbn_test): Add more tests.
7644 (scalbln_test): Likewise.
7646 * manual/filesys.texi (mode_t): Describe constraints on size and
7647 signedness, not exact equivalence to a particular type.
7649 (ino64_t): Likewise.
7651 (nlink_t): Likewise.
7652 (blkcnt_t): Likewise.
7653 (blkcnt64_t): Likewise.
7654 * manual/llio.texi (off_t): Likewise.
7657 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
7658 (__ieee754_exp): Save and restore rounding mode and use
7659 round-to-nearest for all computations.
7660 * math/libm-test.inc (exp_test_tonearest): New function.
7661 (exp_test_towardzero): Likewise.
7662 (exp_test_downward): Likewise.
7663 (exp_test_upward): Likewise.
7664 (main): Call the new functions.
7665 * sysdeps/i386/fpu/libm-test-ulps: Update.
7666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7668 2012-03-01 Chris Demetriou <cgd@google.com>
7670 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
7671 have predictable order.
7673 2012-03-01 David S. Miller <davem@davemloft.net>
7675 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
7677 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
7678 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
7679 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
7680 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
7682 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
7683 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
7684 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
7685 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
7686 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
7687 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
7688 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
7689 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
7690 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
7692 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7694 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
7695 * sysdeps/sparc/fpu/libm-test-ulps: to here.
7696 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
7698 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
7699 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7700 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
7701 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
7702 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
7703 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
7704 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
7705 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7706 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
7707 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
7708 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
7709 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7710 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7711 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
7712 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7713 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7714 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
7715 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
7716 * sysdeps/sparc/elf/configure: Regenerated.
7718 2012-03-01 Joseph Myers <joseph@codesourcery.com>
7720 * configure.in (AS, LD): Require binutils 2.20 or later.
7721 * configure: Regenerated.
7722 * manual/install.texi (Tools for Compilation): Give binutils 2.20
7723 as required minimum version.
7724 * INSTALL: Regenerated.
7728 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
7729 before squaring exponent.
7730 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
7731 bottom long double and 27 bits of top long double before squaring
7733 * math/libm-test.inc (erfc_test): Add more tests.
7734 * sysdeps/i386/fpu/libm-test-ulps: Update.
7735 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7736 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7738 2012-03-01 Kai Tietz <ktietz@redhat.com>
7740 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
7741 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
7742 containing bit-fields.
7743 * soft-fp/extended.h (_FP_UNION_E): Likewise.
7744 * soft-fp/single.h (_FP_UNION_S): Likewise.
7745 * soft-fp/double.h (_FP_UNION_D): Likewise.
7747 2012-02-29 Joseph Myers <joseph@codesourcery.com>
7750 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
7751 not include ../strcmp.S.
7752 [USE_AS_STRNCASECMP_L]: Likewise.
7753 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
7754 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
7755 * sysdeps/i386/i686/multiarch/strncase_l-c.c
7756 (__strncasecmp_l_ia32): Define as alias to
7757 __strncasecmp_l_nonascii.
7760 * math/libm-test.inc (expm1_test): Add test for bug 5794.
7761 * sysdeps/i386/fpu/libm-test-ulps: Update.
7762 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7764 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
7765 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7767 2012-02-29 Jeff Law <law@redhat.com>
7769 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
7772 2012-02-29 Marek Polacek <polacek@redhat.com>
7775 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
7776 * elf/Makefile: Add rules to run tst-unused-dep.out.
7778 2012-02-28 David S. Miller <davem@davemloft.net>
7780 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
7781 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
7782 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
7783 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
7784 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
7785 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
7787 2012-02-29 Joseph Myers <joseph@codesourcery.com>
7789 * math/libm-test.inc (llround_test): Move one test from
7790 lround_test. Use TEST_f_L in moved test.
7791 (lround_test): Move misplaced test to llround_test. Add testcase
7794 2012-02-28 Ulrich Drepper <drepper@gmail.com>
7796 * sysdeps/x86_64/fpu/e_expf.S: New file.
7797 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
7799 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
7802 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
7803 of remain_len that may cause incomplete multi-byte character and
7805 * posix/bug-regex33.c: New file.
7806 * posix/Makefile (tests): Add bug-regex33.
7808 2012-02-28 Joseph Myers <joseph@codesourcery.com>
7810 * manual/macros.texi: New file.
7811 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
7812 * manual/libc.texinfo: Include macros.texi.
7813 * manual/creatute.texi: Likewise.
7814 * manual/install.texi: Likewise.
7815 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
7816 @glibcadj{} in references to the GNU C Library.
7817 * manual/charset.texi: Likewise.
7818 * manual/conf.texi: Likewise.
7819 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
7820 when not using those macros.
7821 * manual/creature.texi: Likewise.
7822 * manual/crypt.texi: Likewise.
7823 * manual/errno.texi: Likewise.
7824 * manual/filesys.texi: Likewise.
7825 * manual/header.texi: Likewise.
7826 * manual/install.texi: Likewise.
7827 * manual/intro.texi: Likewise.
7828 * manual/io.texi: Likewise.
7829 * manual/job.texi: Likewise.
7830 * manual/lang.texi: Likewise.
7831 * manual/libc.texiinfo: Likewise.
7832 * manual/llio.texi: Likewise.
7833 * manual/locale.texi: Likewise.
7834 * manual/maint.texi: Likewise.
7835 * manual/math.texi: Likewise.
7836 * manual/memory.texi: Likewise.
7837 * manual/message.texi: Likewise.
7838 * manual/nss.texi: Likewise.
7839 * manual/pattern.texi: Likewise.
7840 * manual/process.texi: Likewise.
7841 * manual/resource.texi: Likewise.
7842 * manual/search.texi: Likewise.
7843 * manual/setjmp.texi: Likewise.
7844 * manual/signal.texi: Likewise.
7845 * manual/socket.texi: Likewise.
7846 * manual/startup.texi: Likewise.
7847 * manual/stdio.texi: Likewise.
7848 * manual/string.texi: Likewise.
7849 * manual/sysinfo.texi: Likewise.
7850 * manual/syslog.texi: Likewise.
7851 * manual/terminal.texi: Likewise.
7852 * manual/time.texi: Likewise.
7853 * manual/users.texi: Likewise.
7854 * INSTALL: Regenerated.
7855 * NOTES: Regenerated.
7856 * sysdeps/gnu/errlist.c: Regenerated.
7858 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
7860 * include/dirent.h: Include <dirstream.h> before
7863 2012-02-28 David S. Miller <davem@davemloft.net>
7865 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
7866 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
7867 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
7868 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
7870 2012-02-27 David S. Miller <davem@davemloft.net>
7872 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
7873 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
7874 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
7875 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
7877 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
7878 frame pointer instead of stack pointer relative arg slot.
7879 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7880 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7881 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7883 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
7886 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
7888 2012-02-27 David S. Miller <davem@davemloft.net>
7890 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
7891 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7892 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7893 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
7894 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7895 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7896 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
7897 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
7899 2012-02-27 Joseph Myers <joseph@codesourcery.com>
7901 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
7902 later. Allow versions 5-9.
7903 * configure: Regenerated.
7904 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
7905 required minimum version and 4.6 as recommended version. Do not
7906 mention bugs in GCC 2.7 and 2.8.
7907 * INSTALL: Regenerated.
7909 2012-02-27 David S. Miller <davem@davemloft.net>
7911 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
7912 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
7913 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
7914 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
7915 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
7916 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
7917 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
7918 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
7920 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
7921 manipulate bits before adding and subtracting TWO112[sx].
7922 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
7924 2012-02-27 Roland McGrath <roland@hack.frob.com>
7927 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
7928 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
7929 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
7930 being in POSIX, because they are in 1003.1-2008.
7932 * rt/tst-aio.c: Include <fcntl.h>.
7933 * rt/tst-aio7.c: Likewise.
7934 * rt/tst-aio64.c: Likewise.
7936 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
7938 2012-02-27 Joseph Myers <joseph@codesourcery.com>
7940 * manual/install.texi (--with-headers): Describe headers as
7941 interface headers, not private headers.
7942 (Specific advice for GNU/Linux systems): Describe use of headers
7943 from "make headers_install", not private headers from older
7945 * INSTALL: Regenerated.
7946 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
7948 * sysdeps/unix/sysv/linux/configure: Regenerated.
7950 * manual/llio.texi (fclean): Remove documentation.
7952 * manual/Makefile (libc-texi-generated): New variable. Include
7954 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
7955 $(libc-texi-generated), not duplicated list of files.
7956 (version.texi, stamp-version): New rules.
7957 (realclean): Remove $(libc-texi-generated), not individual files
7958 from that list. Do not remove dir-add.texinfo.
7959 * manual/libc.texinfo: Comment out uses of edition numbers and
7960 references to printed manual. Remove last-updated dates.
7961 (EDITION): Comment out.
7963 (VERSION, UPDATED): Remove.
7964 (version.texi): Include.
7966 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
7968 * sysdeps/posix/spawni.c: Include <signal.h>.
7969 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
7970 * sysdeps/pthread/aio_fsync.c: Likewise.
7972 2012-02-26 Ulrich Drepper <drepper@gmail.com>
7974 * conform/Makefile (tests): Run only when not cross-compiling and
7975 when fast-check is not defined.
7977 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
7978 * conform/data/limits.h-data: Fixes for POSIX2008.
7979 * conform/run-conformtest.sh: Run all tests.
7980 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
7982 * include/bits/dlfcn.h: Likewise.
7983 * include/langinfo.h: Likewise.
7984 * include/monetary.h: Likewise.
7985 * include/sys/poll.h: Likewise.
7987 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
7989 * posix/spawn.h: Define __need_sigset_t.
7990 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
7991 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
7992 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
7993 to get sigevent_t only.
7994 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
7996 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7997 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7998 process_vm_writev only for __USE_GNU.
7999 * termios/termios.h: Declare tcgetsid also for POSIX2008.
8001 * conform/Makefile: For now ignore errors from run-conformtest.
8002 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
8003 POSIX to avoid namespace pollution. Don't prepend headers.
8004 * conform/data/aio.h-data: Fixes for POSIX testing.
8005 * conform/data/fcntl.h-data: Likewise.
8006 * conform/data/glob.h-data: Likewise.
8007 * conform/data/grp.h-data: Likewise.
8008 * conform/data/pthread.h-data: Likewise.
8009 * conform/data/pwd.h-data: Likewise.
8010 * conform/data/signal.h-data: Likewise.
8011 * conform/data/spawn.h-data: Likewise.
8012 * conform/data/stdio.h-data: Likewise.
8013 * conform/data/stdlib.h-data: Likewise.
8014 * conform/data/stropts.h-data: Likewise.
8015 * conform/data/sys/mman.h-data: Likewise.
8016 * conform/data/sys/stat.h-data: Likewise.
8017 * conform/data/sys/types.h-data: Likewise.
8018 * conform/data/sys/wait.h-data: Likewise.
8019 * conform/data/time.h-data: Likewise.
8020 * conform/data/unistd.h-data: Likewise.
8021 * conform/data/utime.h-data: Likewise.
8023 * io/sys/stat.h: fchmod was always in POSIX.
8024 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
8025 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
8026 * rt/aio.h: Define __need_timespec before including <time.h>.
8027 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
8028 struct. Add forward declaration of pthread_attr_t and use it in
8030 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
8031 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8032 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
8033 always remove CLK_TCK definition.
8035 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
8037 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
8039 2012-02-25 Ulrich Drepper <drepper@gmail.com>
8041 * conform/run-conformtest.sh: New file.
8042 * conform/Makefile: Run run-conformtest for tests.
8043 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
8046 * conform/data/uchar.h-data: New file.
8047 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
8048 * conform/data/arpa/inet.h-data: Likewise.
8049 * conform/data/assert.h-data: Likewise.
8050 * conform/data/complex.h-data: Likewise.
8051 * conform/data/cpio.h-data: Likewise.
8052 * conform/data/ctype.h-data: Likewise.
8053 * conform/data/dirent.h-data: Likewise.
8054 * conform/data/dlfcn.h-data: Likewise.
8055 * conform/data/errno.h-data: Likewise.
8056 * conform/data/fcntl.h-data: Likewise.
8057 * conform/data/float.h-data: Likewise.
8058 * conform/data/fmtmsg.h-data: Likewise.
8059 * conform/data/fnmatch.h-data: Likewise.
8060 * conform/data/ftw.h-data: Likewise.
8061 * conform/data/glob.h-data: Likewise.
8062 * conform/data/grp.h-data: Likewise.
8063 * conform/data/iconv.h-data: Likewise.
8064 * conform/data/inttypes.h-data: Likewise.
8065 * conform/data/langinfo.h-data: Likewise.
8066 * conform/data/libgen.h-data: Likewise.
8067 * conform/data/limits.h-data: Likewise.
8068 * conform/data/locale.h-data: Likewise.
8069 * conform/data/math.h-data: Likewise.
8070 * conform/data/monetary.h-data: Likewise.
8071 * conform/data/mqueue.h-data: Likewise.
8072 * conform/data/ndbm.h-data: Likewise.
8073 * conform/data/net/if.h-data: Likewise.
8074 * conform/data/netdb.h-data: Likewise.
8075 * conform/data/netinet/in.h-data: Likewise.
8076 * conform/data/nl_types.h-data: Likewise.
8077 * conform/data/poll.h-data: Likewise.
8078 * conform/data/pthread.h-data: Likewise.
8079 * conform/data/pwd.h-data: Likewise.
8080 * conform/data/regex.h-data: Likewise.
8081 * conform/data/sched.h-data: Likewise.
8082 * conform/data/search.h-data: Likewise.
8083 * conform/data/semaphore.h-data: Likewise.
8084 * conform/data/setjmp.h-data: Likewise.
8085 * conform/data/signal.h-data: Likewise.
8086 * conform/data/spawn.h-data: Likewise.
8087 * conform/data/stdarg.h-data: Likewise.
8088 * conform/data/stdio.h-data: Likewise.
8089 * conform/data/stdlib.h-data: Likewise.
8090 * conform/data/string.h-data: Likewise.
8091 * conform/data/strings.h-data: Likewise.
8092 * conform/data/stropts.h-data: Likewise.
8093 * conform/data/sys/ipc.h-data: Likewise.
8094 * conform/data/sys/mman.h-data: Likewise.
8095 * conform/data/sys/msg.h-data: Likewise.
8096 * conform/data/sys/resource.h-data: Likewise.
8097 * conform/data/sys/select.h-data: Likewise.
8098 * conform/data/sys/sem.h-data: Likewise.
8099 * conform/data/sys/shm.h-data: Likewise.
8100 * conform/data/sys/socket.h-data: Likewise.
8101 * conform/data/sys/stat.h-data: Likewise.
8102 * conform/data/sys/statvfs.h-data: Likewise.
8103 * conform/data/sys/time.h-data: Likewise.
8104 * conform/data/sys/timeb.h-data: Likewise.
8105 * conform/data/sys/times.h-data: Likewise.
8106 * conform/data/sys/types.h-data: Likewise.
8107 * conform/data/sys/uio.h-data: Likewise.
8108 * conform/data/sys/un.h-data: Likewise.
8109 * conform/data/sys/utsname.h-data: Likewise.
8110 * conform/data/sys/wait.h-data: Likewise.
8111 * conform/data/syslog.h-data: Likewise.
8112 * conform/data/tar.h-data: Likewise.
8113 * conform/data/termios.h-data: Likewise.
8114 * conform/data/utime.h-data: Likewise.
8115 * conform/data/utmpx.h-data: Likewise.
8116 * conform/data/varargs.h-data: Likewise.
8117 * conform/data/wchar.h-data: Likewise.
8118 * conform/data/wctype.h-data: Likewise.
8119 * conform/data/wordexp.h-data: Likewise.
8121 * include/stropts.h: New file.
8122 * include/uchar.h: New file.
8123 * include/aio.h: Changes to allow conformtest.pl to use the headers.
8124 * include/assert.h: Likewise.
8125 * include/ctype.h: Likewise.
8126 * include/dirent.h: Likewise.
8127 * include/dlfcn.h: Likewise.
8128 * include/fcntl.h: Likewise.
8129 * include/fnmatch.h: Likewise.
8130 * include/glob.h: Likewise.
8131 * include/grp.h: Likewise.
8132 * include/libio.h: Likewise.
8133 * include/locale.h: Likewise.
8134 * include/math.h: Likewise.
8135 * include/net/if.h: Likewise.
8136 * include/netdb.h: Likewise.
8137 * include/netinet/in.h: Likewise.
8138 * include/pthread.h: Likewise.
8139 * include/pwd.h: Likewise.
8140 * include/regex.h: Likewise.
8141 * include/sched.h: Likewise.
8142 * include/search.h: Likewise.
8143 * include/setjmp.h: Likewise.
8144 * include/signal.h: Likewise.
8145 * include/stdio.h: Likewise.
8146 * include/stdlib.h: Likewise.
8147 * include/string.h: Likewise.
8148 * include/sys/cdefs.h: Likewise.
8149 * include/sys/mman.h: Likewise.
8150 * include/sys/msg.h: Likewise.
8151 * include/sys/resource.h: Likewise.
8152 * include/sys/select.h: Likewise.
8153 * include/sys/socket.h: Likewise.
8154 * include/sys/stat.h: Likewise.
8155 * include/sys/statvfs.h: Likewise.
8156 * include/sys/time.h: Likewise.
8157 * include/sys/times.h: Likewise.
8158 * include/sys/uio.h: Likewise.
8159 * include/sys/utsname.h: Likewise.
8160 * include/sys/wait.h: Likewise.
8161 * include/termios.h: Likewise.
8162 * include/time.h: Likewise.
8163 * include/ulimit.h: Likewise.
8164 * include/unistd.h: Likewise.
8165 * include/utime.h: Likewise.
8166 * include/wchar.h: Likewise.
8167 * include/wctype.h: Likewise.
8168 * include/wordexp.h: Likewise.
8170 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
8172 * time/time.h: TIME_UTC must be a macro.
8173 Make timespec_get available for ISO C11 only as well.
8175 2012-02-24 Ulrich Drepper <drepper@gmail.com>
8177 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
8178 Reported by Peng Haitao <penght@cn.fujitsu.com>.
8180 2012-02-24 Joseph Myers <joseph@codesourcery.com>
8182 * configure.in: Use -o not -a in test for unsupported multi-arch.
8184 2012-02-24 Joseph Myers <joseph@codesourcery.com>
8186 * manual/texinfo.tex: Update to version 2012-01-19.16.
8188 2012-02-24 Joseph Myers <joseph@codesourcery.com>
8190 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
8192 2012-02-24 Roland McGrath <roland@hack.frob.com>
8195 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
8196 * manual/fdl-1.3.texi: New file.
8197 * manual/fdl-1.1.texi: File removed.
8200 * manual/libc.texinfo (FDL_VERSION): New @set.
8201 Use it for mention of FDL in cover text.
8202 (Documentation License): Use it in @include file name.
8204 2012-02-22 Joseph Myers <joseph@codesourcery.com>
8205 Roland McGrath <roland@hack.frob.com>
8208 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
8209 not LONG_LONG_MAX and LONG_LONG_MIN.
8210 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
8211 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
8213 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
8215 2012-02-22 Joseph Myers <joseph@codesourcery.com>
8219 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
8220 manipulate bits before adding and subtracting TWO23[sx].
8221 * math/libm-test.inc (nearbyint_test): Add more tests.
8223 2012-02-22 Joseph Myers <joseph@codesourcery.com>
8226 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
8227 bits before adding and subtracting TWO23[sx].
8228 * math/libm-test.inc (rint_test): Add more tests.
8229 (rint_test_tonearest): Likewise.
8230 (rint_test_towardzero): Likewise.
8231 (rint_test_downward): Likewise.
8232 (rint_test_upward: Likewise.
8234 2012-02-22 Joseph Myers <joseph@codesourcery.com>
8237 * include/stdc-predef.h: New file. Extracted from features.h.
8238 * include/features.h: Include stdc-predef.h.
8239 * Makefile (headers): Add stdc-predef.h.
8240 * CONFORMANCE (Compiler limitations): Update.
8242 2012-02-22 Joseph Myers <joseph@codesourcery.com>
8244 * manual/libc.texinfo (VERSION, UPDATED): Revert.
8246 2012-02-21 David S. Miller <davem@davemloft.net>
8248 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
8249 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8251 2012-02-20 David S. Miller <davem@davemloft.net>
8253 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
8254 using a normal save/restore sequence, rather than allocating a
8255 dummy stack frame just to store a frame pointer and restore.
8256 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8258 2012-02-21 Joseph Myers <joseph@codesourcery.com>
8260 * manual/install.texi: Fix stray word in line-wrapped comment.
8262 2012-02-20 David S. Miller <davem@davemloft.net>
8264 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
8265 both binutils and gcc support GOTDATA.
8267 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
8268 "rd %pc" in the PIC register setup sequences.
8270 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
8271 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
8272 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
8273 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
8274 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
8275 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8276 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8277 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8278 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
8279 (SYSCALL_ERROR_HANDLER): Likewise.
8280 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
8281 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8282 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
8283 (SYSCALL_ERROR_HANDLER): Likewise.
8285 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
8286 (HAVE_GCC_GOTDATA): New.
8287 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
8288 relocation support in both binutils and gcc.
8289 * sysdeps/sparc/elf/configure: Regenerate.
8291 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
8292 * sysdeps/sparc/sparc32/elf/configure: Delete.
8293 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
8294 * sysdeps/sparc/sparc64/elf/configure: Delete.
8295 * sysdeps/sparc/elf/configure.in: New file.
8296 * sysdeps/sparc/elf/configure: Generate.
8298 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
8299 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
8300 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
8301 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
8302 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
8304 2012-02-21 Joseph Myers <joseph@codesourcery.com>
8306 * manual/install.texi: Do not mention specific glibc version
8308 * manual/libc.texinfo (VERSION, UPDATED): Update.
8309 (@copying): Use @copyright{} and range of years.
8311 2012-02-21 Joseph Myers <joseph@codesourcery.com>
8314 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
8315 [crti.S not in sysdirs] (generated): Do not append.
8316 [crti.S not in sysdirs] (omit-deps): Likewise.
8317 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
8318 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
8319 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
8320 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
8321 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
8323 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
8324 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
8325 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
8326 * csu/defs.awk: Remove file.
8327 * sysdeps/generic/initfini.c: Likewise.
8328 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
8330 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
8333 2012-02-20 Joseph Myers <joseph@codesourcery.com>
8335 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
8336 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
8337 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
8338 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
8339 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8340 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
8342 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
8343 (__EPOLL_PACKED): Define to empty if not defined by
8345 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
8346 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8349 2012-02-20 Joseph Myers <joseph@codesourcery.com>
8351 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
8352 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
8353 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
8354 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
8356 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
8357 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8360 2012-02-20 Joseph Myers <joseph@codesourcery.com>
8362 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
8364 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8365 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8366 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
8367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8369 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
8371 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8372 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8374 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
8376 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
8377 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
8379 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
8381 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
8384 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
8386 * math/w_acos.c: Use non-signaling floating-point comparisons.
8387 * math/w_acosf.c: Likewise.
8388 * math/w_acosh.c: Likewise.
8389 * math/w_acoshf.c: Likewise.
8390 * math/w_acoshl.c: Likewise.
8391 * math/w_acosl.c: Likewise.
8392 * math/w_asin.c: Likewise.
8393 * math/w_asinf.c: Likewise.
8394 * math/w_asinl.c: Likewise.
8395 * math/w_atanh.c: Likewise.
8396 * math/w_atanhf.c: Likewise.
8397 * math/w_atanhl.c: Likewise.
8398 * math/w_exp2.c: Likewise.
8399 * math/w_exp2f.c: Likewise.
8400 * math/w_exp2l.c: Likewise.
8401 * math/w_j0.c: Likewise.
8402 * math/w_j0f.c: Likewise.
8403 * math/w_j0l.c: Likewise.
8404 * math/w_j1.c: Likewise.
8405 * math/w_j1f.c: Likewise.
8406 * math/w_j1l.c: Likewise.
8407 * math/w_jn.c: Likewise.
8408 * math/w_jnf.c: Likewise.
8409 * math/w_log.c: Likewise.
8410 * math/w_log10.c: Likewise.
8411 * math/w_log10f.c: Likewise.
8412 * math/w_log10l.c: Likewise.
8413 * math/w_log2.c: Likewise.
8414 * math/w_log2f.c: Likewise.
8415 * math/w_log2l.c: Likewise.
8416 * math/w_logf.c: Likewise.
8417 * math/w_logl.c: Likewise.
8418 * math/w_sqrt.c: Likewise.
8419 * math/w_sqrtf.c: Likewise.
8420 * math/w_sqrtl.c: Likewise.
8421 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8422 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
8423 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8424 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8425 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8427 2012-02-19 Joseph Myers <joseph@codesourcery.com>
8430 * manual/string.texi (strnlen): Use correct parameter name in
8431 equivalent expression.
8433 2012-02-19 Joseph Myers <joseph@codesourcery.com>
8436 * manual/users.texi (seteuid): Consistently use neweuid for
8439 2012-02-19 Joseph Myers <joseph@codesourcery.com>
8442 * manual/nss.texi (Services in the NSS configuration): Correct
8443 list of services in example configuration file.
8445 2012-02-19 Nick Bowler <nbowler@draconx.ca>
8448 * manual/arith.texi: Remove statements about negative zero
8449 behaving identically to zero.
8451 2012-02-18 Joseph Myers <joseph@codesourcery.com>
8454 * manual/install.texi: Do not document upgrading from libc5.
8456 2012-02-18 Joseph Myers <joseph@codesourcery.com>
8459 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
8461 2012-02-18 David S. Miller <davem@davemloft.net>
8463 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
8464 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
8465 %o7 across the call.
8466 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
8468 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
8470 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8471 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
8472 * sysdeps/sparc/crtn.S: Likewise.
8474 2012-02-17 Ulrich Drepper <drepper@gmail.com>
8476 * aout/Makefile: Remove.
8478 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
8481 * manual/examples/argp-ex1.c (main): Format definition in GNU
8483 * manual/examples/argp-ex2.c (main): Likewise.
8484 * manual/examples/argp-ex3.c (main): Likewise.
8485 * manual/examples/argp-ex4.c (main): Likewise.
8486 * manual/examples/longopt.c (main): Use new-style prototype
8488 * manual/examples/strncat.c (main): Specify return type and use
8489 (void) for arguments.
8490 * manual/examples/subopt.c (main): Use char **argv argument.
8492 2012-02-17 Joseph Myers <joseph@codesourcery.com>
8495 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
8498 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
8501 * manual/string.texi (strchr): Change when strchrnul is
8504 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
8507 * manual/locale.texi (setlocale): Document LOCPATH.
8509 2012-02-17 Joseph Myers <joseph@codesourcery.com>
8512 * manual/process.texi (execle): Move @dots{} before last argument.
8514 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
8517 * manual/charset.texi (Generic Charset Conversion): Fix typo
8518 (LC_TYPE -> LC_CTYPE).
8520 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
8523 * manual/arith.texi (scalbn): Use @var{} on parameter names.
8524 (scalbnf): Likewise.
8525 (scalbnl): Likewise.
8526 (scalbln): Likewise.
8527 (scalblnf): Likewise.
8528 (scalblnl): Likewise.
8529 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
8533 * manual/filesys.texi (telldir): Use braces around return type.
8534 * manual/llio.texi (mmap): Add space after comma.
8536 * manual/math.texi (jn): Use @var{} on parameter names.
8542 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
8544 * manual/resource.texi (ulimit): Use @dots{} instead of literal
8546 (sched_get_priority_min): Remove semicolon on @deftypefun line.
8547 (sched_get_priority_max): Likewise.
8548 * manual/signal.texi (sigvec): Add space after comma.
8549 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
8551 (if_indextoname): Likewise.
8552 (if_freenameindex): Likewise.
8553 (sendto): Use ',' instead of '.' in prototype.
8554 * manual/startup.texi (syscall): Use @dots{} instead of literal
8556 * manual/stdio.texi (__fpending): Separate initial words of
8557 paragraph from @deftypefun line.
8558 * manual/syslog.texi (syslog): Use @dots{} instead of literal
8560 (vsyslog): Use @var{} on parameter names.
8561 * manual/terminal.texi (stty): Use @var{} on parameter names.
8562 * manual/users.texi (getutmp): Use @var{} on parameter names.
8563 (getutmpx): Likewise.
8565 2012-02-17 Joseph Myers <joseph@codesourcery.com>
8568 * manual/stdio.texi (fopen): Fix typos in description of
8571 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
8574 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
8575 get clock_id definition.
8577 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
8580 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
8581 (madvise): Cast every argument to void on its own.
8583 2012-02-17 Joseph Myers <joseph@codesourcery.com>
8586 * manual/startup.texi (Exit Status): Fix typo.
8588 2012-02-17 Joseph Myers <joseph@codesourcery.com>
8591 * manual/examples/argp-ex1.c: Include <stdlib.h>.
8592 * manual/examples/argp-ex2.c: Likewise.
8593 * manual/examples/argp-ex3.c: Likewise.
8595 2012-02-16 Richard Henderson <rth@redhat.com>
8597 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
8598 * sysdeps/s390/s390-32/initfini.c: Remove.
8599 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
8600 * sysdeps/s390/s390-64/initfini.c: Remove.
8602 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8604 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
8605 compiler output for sysdeps/generic/initfini.c.
8606 * sysdeps/sh/elf/initfini.c: Remove file.
8608 2012-02-16 David S. Miller <davem@davemloft.net>
8611 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
8613 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
8614 * sysdeps/sparc/crti.S: New file.
8615 * sysdeps/sparc/crtn.S: New file.
8616 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
8617 * sysdeps/sparc/sparc64/Makefile: Likewise.
8619 2012-02-15 Mike Frysinger <vapier@gentoo.org>
8622 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
8624 2012-02-15 Roland McGrath <roland@hack.frob.com>
8627 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
8629 * mach/devstream.c (cookie_io_functions_t): Macro removed.
8630 (write, read, close): Likewise.
8631 Patch by Aurelien Jarno <aurelien@aurel32.net>.
8633 2012-02-15 Joseph Myers <joseph@codesourcery.com>
8635 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
8636 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
8637 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
8638 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
8640 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
8641 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8644 2012-02-14 Marek Polacek <polacek@redhat.com>
8646 * sysdeps/x86_64/crti.S: New file.
8647 * sysdeps/x86_64/crtn.S: New file.
8648 * sysdeps/x86_64/elf/initfini.c: Remove file.
8650 2012-02-13 Joseph Myers <joseph@codesourcery.com>
8652 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
8653 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
8654 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
8655 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
8657 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
8658 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8661 2012-02-13 Joseph Myers <joseph@codesourcery.com>
8663 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
8664 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
8665 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
8666 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
8668 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
8669 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8672 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
8674 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
8675 __feraiseexcept instead of feraiseexcept.
8677 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
8678 nanosleep invocations.
8679 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
8680 strings, and add error checking for a nanosleep invocations.
8682 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
8684 Replace FSF snail mail address with URLs, as per GNU coding standards.
8685 Most of the snail mail addresses were wrong anyway, and omitting
8686 them makes the source code easier to maintain. Almost all of the
8687 changes are to license notices and to locale LC_IDENTIFICATION
8688 addresses, except for this one:
8689 * manual/libc.texinfo: In "Published by", give the FSF's URL,
8690 not its snail mail address.
8692 2012-02-09 Richard Henderson <rth@twiddle.net>
8694 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
8695 of kernel-features.h.
8697 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
8699 2012-02-08 Marek Polacek <polacek@redhat.com>
8701 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
8702 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
8703 * sysdeps/gnu/_G_config.h: Likewise.
8704 * sysdeps/generic/_G_config.h: Likewise.
8706 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
8708 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
8710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8712 * sysdeps/powerpc/powerpc32/crti.S: New file.
8713 * sysdeps/powerpc/powerpc32/crtn.S: New file.
8714 * sysdeps/powerpc/powerpc64/crti.S: New file.
8715 * sysdeps/powerpc/powerpc64/crtn.S: New file.
8717 * Makeconfig (have-initfini): Don't set.
8718 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
8719 * configure.in (nopic_initfini): Don't substitute.
8720 * config.h.in (HAVE_INITFINI): Don't #undef.
8721 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
8722 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
8724 2012-02-08 Joseph Myers <joseph@codesourcery.com>
8726 Support crti.S and crtn.S provided directly by architectures.
8727 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
8728 [crti.S in sysdirs] (omit-deps): Likewise.
8729 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
8730 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
8731 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
8732 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
8733 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
8734 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
8735 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
8736 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
8737 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
8738 compiler output for sysdeps/generic/initfini.c.
8739 * sysdeps/i386/elf/Makefile: Remove file.
8740 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
8742 2012-02-07 Marek Polacek <polacek@redhat.com>
8744 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
8745 * sysdeps/gnu/_G_config.h: Likewise.
8746 * sysdeps/mach/hurd/_G_config.h: Likewise.
8748 2012-02-07 Marek Polacek <polacek@redhat.com>
8750 * math/Makefile (tests): Add tst-CMPLX2.
8751 * math/tst-CMPLX2.c: New file.
8753 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
8755 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8757 * math/libm-test.inc (jn_test): Add missing L suffix.
8759 2012-02-06 Marek Polacek <polacek@redhat.com>
8761 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
8762 * sysdeps/i386/fpu/e_powf.S: Likewise.
8763 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8764 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8765 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8766 * sysdeps/i386/fpu/e_pow.S: Likewise.
8767 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
8768 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8769 * sysdeps/i386/fpu/s_expm1.S: Likewise.
8770 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8771 * sysdeps/i386/fpu/e_log2.S: Likewise.
8772 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8773 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8774 * sysdeps/i386/fpu/e_powl.S: Likewise.
8775 * sysdeps/i386/fpu/s_log1p.S: Likewise.
8776 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8777 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
8778 * sysdeps/i386/fpu/e_logl.S: Likewise.
8779 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
8780 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
8781 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8782 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
8783 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8784 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8785 * sysdeps/i386/fpu/e_log.S: Likewise.
8786 * sysdeps/i386/fpu/s_cexp.S: Likewise.
8787 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8788 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
8789 * sysdeps/i386/fpu/e_logf.S: Likewise.
8790 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8791 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8792 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
8793 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
8794 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8795 * sysdeps/i386/fpu/e_log10.S: Likewise.
8796 * sysdeps/i386/fpu/s_frexp.S: Likewise.
8797 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8798 * sysdeps/i386/fpu/s_asinh.S: Likewise.
8799 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
8800 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8801 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
8802 * sysdeps/i386/asm-syntax.h: Likewise.
8803 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8804 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8805 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8806 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
8807 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
8808 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8809 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
8810 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
8811 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8812 * sysdeps/powerpc/sysdep.h: Likewise.
8813 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
8814 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8816 2012-02-06 Joseph Myers <joseph@codesourcery.com>
8819 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
8821 2012-02-06 Joseph Myers <joseph@codesourcery.com>
8823 * sysdeps/i386/sysdep.h: Include <features.h>.
8824 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
8827 2012-02-05 Joseph Myers <joseph@codesourcery.com>
8829 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
8831 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
8834 2012-02-03 Joseph Myers <joseph@codesourcery.com>
8836 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
8837 (SETUP_PIC_REG): Use GET_PC_THUNK.
8838 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
8841 2012-02-03 Joseph Myers <joseph@codesourcery.com>
8843 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
8844 for non-PIC compilation.
8845 (SETUP_PIC_REG): Add .p2align directive.
8846 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
8847 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
8848 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8849 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8850 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8851 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8852 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
8853 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8854 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8855 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8856 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8857 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8858 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8859 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8860 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8861 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8862 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8863 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8864 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8865 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8866 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8867 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8868 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8869 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8870 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8871 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8872 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8873 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8874 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8875 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8876 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8877 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8878 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8879 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8880 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8881 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8882 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8883 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8884 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8885 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8886 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8888 2012-02-03 Joseph Myers <joseph@codesourcery.com>
8890 * math/tst-CMPLX.c: Include <stdio.h>.
8892 2012-01-31 Joseph Myers <joseph@codesourcery.com>
8894 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
8896 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8897 * sysdeps/sparc/bits/mathdef.h: Likewise.
8899 2012-01-31 Marek Polacek <polacek@redhat.com>
8901 * libio/libio.h: Don't define _PARAMS.
8902 * locale/programs/config.h: Don't define PARAMS.
8903 * stdlib/strtol_l.c: Likewise.
8904 (__strtol_l): Remove PARAMS from the prototype.
8906 2012-01-31 Ulrich Drepper <drepper@gmail.com>
8908 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
8909 names. Just use the correct names. Remove unnecessary wrapper
8911 * malloc/arena.c: Likewise.
8912 * malloc/hooks.c: Likewise.
8914 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
8915 ARENA_TEST says not to. Simplify test for creation of a new arena.
8916 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
8918 2012-01-30 Ulrich Drepper <drepper@gmail.com>
8920 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
8922 (update_get_addr): New function.
8923 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
8924 GET_ADDR_MODULE parameter.
8926 2012-01-30 Joseph Myers <joseph@codesourcery.com>
8928 * crypt/cert.c: Remove __STDC__ conditionals.
8929 * crypt/crypt-entry.c: Likewise.
8930 * crypt/crypt_util.c: Likewise.
8931 * libio/filedoalloc.c: Likewise.
8932 * libio/fileops.c: Likewise.
8933 * libio/genops.c: Likewise.
8934 * libio/iofclose.c: Likewise.
8935 * libio/iofdopen.c: Likewise.
8936 * libio/iofopen.c: Likewise.
8937 * libio/iofopen64.c: Likewise.
8938 * libio/iogetdelim.c: Likewise.
8939 * libio/iopopen.c: Likewise.
8940 * libio/obprintf.c: Likewise.
8941 * libio/oldfileops.c: Likewise.
8942 * libio/oldiofclose.c: Likewise.
8943 * libio/oldiofdopen.c: Likewise.
8944 * libio/oldiofopen.c: Likewise.
8945 * libio/oldiopopen.c: Likewise.
8946 * libio/wfiledoalloc.c: Likewise.
8947 * libio/wgenops.c: Likewise.
8948 * locale/programs/xmalloc.c: Likewise.
8949 * misc/syslog.c: Likewise.
8950 * stdio-common/xbug.c: Likewise.
8951 * string/memchr.c: Likewise.
8952 * string/memcmp.c: Likewise.
8953 * string/memrchr.c: Likewise.
8954 * string/rawmemchr.c: Likewise.
8955 * sysdeps/posix/getcwd.c: Likewise.
8956 * time/strftime_l.c: Likewise.
8958 2012-01-30 Joseph Myers <joseph@codesourcery.com>
8960 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
8961 * config.make.in (config-cflags-sse2avx): Define.
8962 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
8965 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
8967 * scripts/config.guess: Update from upstream config git repository.
8968 * scripts/config.sub: Likewise.
8970 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
8972 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
8974 (R_TILEPRO_*, R_TILEGX_*): New macros.
8976 * scripts/firstversions.awk: Fix bug in version range handling.
8978 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
8980 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
8982 * include/sys/epoll.h: New file.
8983 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
8986 2012-01-28 Ulrich Drepper <drepper@gmail.com>
8988 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
8989 Avoid unnecessary __WORDSIZE == 64 test.
8990 (fmaxf): Use VEX format if possible.
8995 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
8996 * math/math_private.h: Remove libc_fegetround* and
8998 * sysdeps/i386/configure.in: Check for -msse2avx.
8999 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
9000 also if SSE2AVX is defined.
9001 Remove libc_fegetround* and libc_fesetround*.
9002 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
9003 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
9004 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
9006 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9007 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9008 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9009 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9010 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9012 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
9014 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9016 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
9018 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
9020 2012-01-27 Ulrich Drepper <drepper@gmail.com>
9023 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
9025 * Makeconfig (libm): Define.
9026 * elf/Makefile: Add rules to build and run tst-relsort1.
9027 * elf/tst-relsort1.c: New file.
9028 * elf/tst-relsort1mod1.c: New file.
9029 * elf/tst-relsort1mod2.c: New file.
9031 2012-01-27 Joseph Myers <joseph@codesourcery.com>
9033 * math/s_ldexp.c: Remove __STDC__ conditionals.
9034 * math/s_ldexpf.c: Likewise.
9035 * math/s_ldexpl.c: Likewise.
9036 * math/s_nextafter.c: Likewise.
9037 * math/s_nexttowardf.c: Likewise.
9038 * math/s_significand.c: Likewise.
9039 * math/s_significandf.c: Likewise.
9040 * math/s_significandl.c: Likewise.
9041 * math/w_jnl.c: Likewise.
9042 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
9043 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
9044 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
9045 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
9046 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
9047 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9048 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
9049 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9050 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9051 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9052 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9053 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9054 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9055 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
9056 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9057 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9058 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9059 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9060 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9061 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9062 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9063 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9064 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9065 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9066 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9067 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9068 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9069 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9070 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
9071 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9072 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9073 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
9074 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9075 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
9076 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
9077 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9078 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
9079 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
9080 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
9081 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
9082 * sysdeps/ieee754/k_standard.c: Likewise.
9083 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9084 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9085 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9086 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9087 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9088 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9089 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9090 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
9091 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
9092 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9093 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9094 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
9095 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
9096 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
9097 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
9098 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9099 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9100 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9101 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9102 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9103 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9104 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9105 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9106 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9107 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9108 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9109 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9110 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9111 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9112 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
9113 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
9114 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
9115 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9116 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
9117 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
9118 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
9119 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
9120 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9121 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
9122 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
9123 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
9124 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
9125 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9126 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
9127 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9128 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9129 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
9130 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9131 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9132 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9133 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
9134 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9135 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9136 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
9137 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9138 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
9139 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
9140 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9141 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9142 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9143 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9144 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9145 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
9146 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9147 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9148 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9149 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9150 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
9151 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
9152 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9153 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9154 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9155 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9156 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9157 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9158 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9159 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
9160 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9161 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
9162 * sysdeps/ieee754/s_matherr.c: Likewise.
9163 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
9164 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9165 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9166 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9168 2012-01-26 Joseph Myers <joseph@codesourcery.com>
9170 * crypt/md5.h: Remove __STDC__ conditionals.
9171 * libio/libioP.h: Likewise.
9172 * locale/programs/config.h: Likewise.
9173 * sysdeps/generic/sysdep.h: Likewise.
9174 * sysdeps/i386/asm-syntax.h: Likewise.
9175 * sysdeps/s390/asm-syntax.h: Likewise.
9176 * sysdeps/unix/sysdep.h: Likewise.
9177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9180 2012-01-26 Joseph Myers <joseph@codesourcery.com>
9182 * libio/libio.h: Remove __STDC__ conditionals.
9183 * malloc/obstack.h: Likewise.
9184 * math/complex.h: Likewise.
9185 * math/math.h: Likewise.
9186 * sysdeps/generic/_G_config.h: Likewise.
9187 * sysdeps/gnu/_G_config.h: Likewise.
9188 * sysdeps/mach/hurd/_G_config.h: Likewise.
9189 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9190 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
9191 * sysdeps/sparc/bits/mathdef.h: Likewise.
9193 2012-01-26 Ulrich Drepper <drepper@gmail.com>
9196 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
9197 Clean up HAS_* macros.
9198 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
9199 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
9201 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
9203 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9204 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9205 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9206 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9207 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9209 2012-01-25 Joseph Myers <joseph@codesourcery.com>
9211 * elf/tst-unique3.cc (gets): Remove declaration.
9212 * elf/tst-unique3lib.cc (gets): Likewise.
9213 * elf/tst-unique3lib2.cc (gets): Likewise.
9214 * elf/tst-unique4.cc (gets): Likewise.
9216 2012-01-24 Ulrich Drepper <drepper@gmail.com>
9218 * include/stdio.h: Add C++ protection. Add gets declarations and
9220 * debug/tst-chk1.c: Don't declare gets here.
9221 * stdio-common/tst-gets.c: Likewise.
9223 2012-01-24 Joseph Myers <joseph@codesourcery.com>
9225 * posix/glob: Remove directory.
9227 2012-01-24 Joseph Myers <joseph@codesourcery.com>
9229 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
9231 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
9233 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
9234 of the non-standard EPFNOSUPPORT.
9236 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
9238 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
9239 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
9240 ANYWHERE set to 1 only on KERN_NO_SPACE error.
9242 2012-01-21 Ulrich Drepper <drepper@gmail.com>
9244 * wcsmbs/uchar.h: Test __STDC_VERSION__.
9246 2012-01-20 Ulrich Drepper <drepper@gmail.com>
9248 * nscd/aicache.c (addhstaiX): Do not cache negative results of
9250 * nscd/grpcache.c (cache_addgr): Likewise.
9251 * nscd/hstcache.c (cache_addhst): Likewise.
9252 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9253 * nscd/pwdcache.c (cache_addpw): Likewise.
9254 * nscd/servicescache.c (cache_addserv): Likewise.
9256 2012-01-16 Ulrich Drepper <drepper@gmail.com>
9258 * malloc/malloc.c: Various cleanups.
9259 * malloc/hooks.c: Likewise.
9261 * stdlib/Makefile (tests): Add bug-fmtmsg1.
9262 * stdlib/bug-fmtmsg1.c: New file.
9264 * stdlib/fmtmsg.c (init): Add missing unlock.
9265 Patch by Peng Haitao <penght@cn.fujitsu.com>.
9267 2012-01-12 Marek Polacek <polacek@redhat.com>
9269 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
9272 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
9274 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
9275 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
9276 macro to ensure uniqueness of label name.
9277 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9278 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9280 2012-01-11 Ulrich Drepper <drepper@gmail.com>
9282 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
9284 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
9285 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9286 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9287 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
9289 2012-01-10 Ulrich Drepper <drepper@gmail.com>
9291 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
9293 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
9294 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9295 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9297 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
9299 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
9300 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9301 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9302 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
9304 * math/bits/math-finite.h: Add ldexp support.
9306 2012-01-10 Marek Polacek <polacek@redhat.com>
9308 * locale/programs/localedef.h (show_archive_content): Add noreturn
9311 2012-01-09 Ulrich Drepper <drepper@gmail.com>
9313 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
9315 2012-01-08 Ulrich Drepper <drepper@gmail.com>
9317 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
9319 * io/Makefile (headers): Add bits/poll2.h.
9321 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
9323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
9324 typo #include statement.
9326 2012-01-08 Ulrich Drepper <drepper@gmail.com>
9328 * include/sys/cdefs.h: Define __attribute_alloc_size.
9329 * catgets/gencat.c: Add alloc_size attribute and apply consistently
9330 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
9331 * elf/pldd.c: Likewise.
9332 * iconv/iconv_charmap.c: Likewise.
9333 * iconv/iconvconfig.c: Likewise.
9334 * iconv/strtab.c: Likewise.
9335 * locale/programs/locale.c: Likewise.
9336 * locale/programs/localedef.h: Likewise.
9337 * locale/programs/simple-hash.c: Likewise.
9338 * nscd/nscd.h: Likewise.
9339 * nss/makedb.c: Likewise.
9340 * sysdeps/generic/ldconfig.h: Likewise.
9341 * locale/programs/localedef.c: Remove xmalloc prototype.
9342 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
9344 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9346 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
9349 2012-01-08 Ulrich Drepper <drepper@gmail.com>
9351 * math/Makefile (tests): Add tst-CMPLX.
9352 * math/tst-CMPLX.c: New file.
9354 * math/complex.h (CMPLXL): Fix typo.
9356 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
9357 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
9359 * debug/tst-chk1.c: Add poll and ppoll tests.
9360 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
9361 * include/sys/poll.h: Add hidden proto for ppoll.
9362 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
9363 * sysdeps/mach/hurd/ppoll.c: Likewise.
9364 * io/ppoll.c: Likewise.
9365 * debug/poll_chk.c: New file.
9366 * debug/ppoll_chk.c: New file.
9367 * include/bits/poll2.h: New file.
9368 * io/bits/poll2.h: New file.
9371 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
9373 * configure.in: static is always set to yes. Remove.
9374 * config.make.in: Don't set build-static.
9375 * Makeconfig: Remove use of build-static.
9376 * dlfcn/Makefile: Likewise.
9377 * elf/Makefile: Likewise.
9378 * math/Makefile: Likewise.
9379 * misc/Makefile: Likewise.
9380 * nptl/Makefile: Likewise.
9381 * sysdeps/mach/hurd/Makefile: Likewise.
9383 * configure.in: PWD_P is not used anymore.
9384 * config.make.in: Remove PWD_P entry.
9386 * configure.in: Remove last remnants of RANLIB.
9387 No need to check for signed size_t anymore.
9388 Don't set libc_commonpagesize and libc_relro_required here for Alpha
9390 Remove __builtin_expect test because we require at least gcc 3.4.
9391 * aclocal.m4: Likewise.
9393 * wcsmbs/mbrtoc16.c: Implement using towc function.
9394 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
9395 * wcsmbs/wcsmbsload.c: Likewise.
9396 * iconv/gconv_simple.c: Likewise.
9397 * iconv/gconv_int.h: Likewise.
9398 * iconv/gconv_builtin.h: Likewise.
9399 * iconv/iconv_prog.c: Remove CHAR16 handling.
9401 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
9403 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
9405 * configure.in: Remove --with-elf and --enable-bounded options.
9406 Dont set base_machine for ia64. More non-ELF conditions removed.
9407 Remove testing and setting of leading underscore information.
9408 * config.make.in (build-bounded): Set to no.
9409 * config.h.in: Remove NO_UNDERSCORES entry.
9410 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
9412 * csu/start.c: Remove !NO_UNDERSCORE code.
9413 * locale/localeinfo.h: Likewise.
9414 * sysdeps/generic/machine-gmon.h: Likewise.
9415 * sysdeps/generic/sysdep.h: Likewise.
9416 * sysdeps/i386/sysdep.h: Likewise.
9417 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9418 * sysdeps/mach/sysdep.h: Likewise.
9419 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9420 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9421 * sysdeps/sh/sysdep.h: Likewise.
9422 * sysdeps/sparc/sparc32/alloca.S: Likewise.
9423 * sysdeps/unix/i386/sysdep.S: Likewise.
9424 * sysdeps/unix/sparc/start.c: Likewise.
9425 * sysdeps/unix/sparc/sysdep.S: Likewise.
9426 * sysdeps/unix/sparc/sysdep.h: Likewise.
9427 * sysdeps/unix/start.c: Likewise.
9428 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9429 * sysdeps/x86_64/sysdep.h: Likewise.
9431 2012-01-07 Ulrich Drepper <drepper@gmail.com>
9434 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
9436 * argp/argp-fmtstream.h: Use const instead __const.
9437 * argp/argp.h: Likewise.
9438 * assert/assert.h: Likewise.
9439 * bits/fenv.h: Likewise.
9440 * bits/sched.h: Likewise.
9441 * bits/sigset.h: Likewise.
9442 * bits/sigthread.h: Likewise.
9443 * catgets/nl_types.h: Likewise.
9444 * conform/data/pthread.h-data: Likewise.
9445 * crypt/crypt-private.h: Likewise.
9446 * crypt/crypt.h: Likewise.
9447 * crypt/crypt_util.c: Likewise.
9448 * ctype/ctype.h: Likewise.
9449 * debug/execinfo.h: Likewise.
9450 * debug/mbsnrtowcs_chk.c: Likewise.
9451 * debug/mbsrtowcs_chk.c: Likewise.
9452 * debug/wcsnrtombs_chk.c: Likewise.
9453 * debug/wcsrtombs_chk.c: Likewise.
9454 * debug/wcstombs_chk.c: Likewise.
9455 * dirent/dirent.h: Likewise.
9456 * dlfcn/dlfcn.h: Likewise.
9457 * elf/neededtest4.c: Likewise.
9458 * grp/grp.h: Likewise.
9459 * gshadow/gshadow.h: Likewise.
9460 * iconv/gconv.h: Likewise.
9461 * iconv/gconv_int.h: Likewise.
9462 * iconv/gconv_simple.c: Likewise.
9463 * iconv/iconv.h: Likewise.
9464 * iconv/loop.c: Likewise.
9465 * iconv/skeleton.c: Likewise.
9466 * include/aio.h: Likewise.
9467 * include/aliases.h: Likewise.
9468 * include/argz.h: Likewise.
9469 * include/arpa/inet.h: Likewise.
9470 * include/assert.h: Likewise.
9471 * include/dirent.h: Likewise.
9472 * include/dlfcn.h: Likewise.
9473 * include/execinfo.h: Likewise.
9474 * include/fcntl.h: Likewise.
9475 * include/fenv.h: Likewise.
9476 * include/glob.h: Likewise.
9477 * include/grp.h: Likewise.
9478 * include/libintl.h: Likewise.
9479 * include/mntent.h: Likewise.
9480 * include/netdb.h: Likewise.
9481 * include/pwd.h: Likewise.
9482 * include/rpc/netdb.h: Likewise.
9483 * include/sched.h: Likewise.
9484 * include/search.h: Likewise.
9485 * include/shadow.h: Likewise.
9486 * include/signal.h: Likewise.
9487 * include/stdio.h: Likewise.
9488 * include/stdlib.h: Likewise.
9489 * include/string.h: Likewise.
9490 * include/sys/socket.h: Likewise.
9491 * include/sys/stat.h: Likewise.
9492 * include/sys/statfs.h: Likewise.
9493 * include/sys/statvfs.h: Likewise.
9494 * include/sys/syslog.h: Likewise.
9495 * include/sys/time.h: Likewise.
9496 * include/sys/uio.h: Likewise.
9497 * include/time.h: Likewise.
9498 * include/unistd.h: Likewise.
9499 * include/utmp.h: Likewise.
9500 * include/wchar.h: Likewise.
9501 * include/wctype.h: Likewise.
9502 * inet/aliases.h: Likewise.
9503 * inet/arpa/inet.h: Likewise.
9504 * inet/netinet/ether.h: Likewise.
9505 * inet/netinet/in.h: Likewise.
9506 * intl/libintl.h: Likewise.
9507 * io/bits/fcntl2.h: Likewise.
9508 * io/fcntl.h: Likewise.
9509 * io/ftw.h: Likewise.
9510 * io/sys/poll.h: Likewise.
9511 * io/sys/stat.h: Likewise.
9512 * io/sys/statfs.h: Likewise.
9513 * io/sys/statvfs.h: Likewise.
9514 * io/utime.h: Likewise.
9515 * libio/bits/stdio.h: Likewise.
9516 * libio/bits/stdio2.h: Likewise.
9517 * libio/libio.h: Likewise.
9518 * libio/libioP.h: Likewise.
9519 * libio/stdio.h: Likewise.
9520 * locale/lc-ctype.c: Likewise.
9521 * locale/locale.h: Likewise.
9522 * login/utmp.h: Likewise.
9523 * malloc/arena.c: Likewise.
9524 * malloc/malloc.c: Likewise.
9525 * malloc/malloc.h: Likewise.
9526 * malloc/mcheck.c: Likewise.
9527 * malloc/mtrace.c: Likewise.
9528 * math/bits/mathcalls.h: Likewise.
9529 * math/fenv.h: Likewise.
9530 * math/math_private.h: Likewise.
9531 * misc/bits/error.h: Likewise.
9532 * misc/bits/syslog.h: Likewise.
9533 * misc/err.h: Likewise.
9534 * misc/error.h: Likewise.
9535 * misc/fstab.h: Likewise.
9536 * misc/mntent.h: Likewise.
9537 * misc/regexp.h: Likewise.
9538 * misc/search.h: Likewise.
9539 * misc/sgtty.h: Likewise.
9540 * misc/sys/mman.h: Likewise.
9541 * misc/sys/syslog.h: Likewise.
9542 * misc/sys/uio.h: Likewise.
9543 * misc/sys/xattr.h: Likewise.
9544 * misc/ttyent.h: Likewise.
9545 * nis/rpcsvc/ypclnt.h: Likewise.
9546 * nss/nss.h: Likewise.
9547 * posix/bits/unistd.h: Likewise.
9548 * posix/fnmatch.h: Likewise.
9549 * posix/glob.h: Likewise.
9550 * posix/sched.h: Likewise.
9551 * posix/spawn.h: Likewise.
9552 * posix/sys/wait.h: Likewise.
9553 * posix/unistd.h: Likewise.
9554 * posix/wordexp.h: Likewise.
9555 * pwd/pwd.h: Likewise.
9556 * resolv/netdb.h: Likewise.
9557 * resource/sys/resource.h: Likewise.
9558 * rt/aio.h: Likewise.
9559 * rt/bits/mqueue2.h: Likewise.
9560 * rt/mqueue.h: Likewise.
9561 * shadow/shadow.h: Likewise.
9562 * signal/signal.h: Likewise.
9563 * socket/send.c: Likewise.
9564 * socket/sendto.c: Likewise.
9565 * socket/sys/socket.h: Likewise.
9566 * stdio-common/printf.h: Likewise.
9567 * stdlib/bits/stdlib.h: Likewise.
9568 * stdlib/fmtmsg.h: Likewise.
9569 * stdlib/monetary.h: Likewise.
9570 * stdlib/stdlib.h: Likewise.
9571 * stdlib/ucontext.h: Likewise.
9572 * streams/stropts.h: Likewise.
9573 * string/argz.h: Likewise.
9574 * string/bits/string2.h: Likewise.
9575 * string/string.h: Likewise.
9576 * string/strings.h: Likewise.
9577 * sunrpc/rpc/auth.h: Likewise.
9578 * sunrpc/rpc/auth_des.h: Likewise.
9579 * sunrpc/rpc/clnt.h: Likewise.
9580 * sunrpc/rpc/netdb.h: Likewise.
9581 * sunrpc/rpc/pmap_clnt.h: Likewise.
9582 * sunrpc/rpc/xdr.h: Likewise.
9583 * sysdeps/generic/inttypes.h: Likewise.
9584 * sysdeps/generic/net/if.h: Likewise.
9585 * sysdeps/generic/sys/swap.h: Likewise.
9586 * sysdeps/gnu/net/if.h: Likewise.
9587 * sysdeps/gnu/utmpx.h: Likewise.
9588 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
9589 * sysdeps/i386/i486/bits/string.h: Likewise.
9590 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
9591 * sysdeps/s390/bits/string.h: Likewise.
9592 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
9593 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
9594 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
9595 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
9596 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
9597 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
9598 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
9599 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
9600 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
9601 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
9602 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
9603 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9604 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
9605 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9606 * sysdeps/unix/sysv/linux/readv.c: Likewise.
9607 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
9608 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9609 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9610 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9611 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9612 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9613 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
9614 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
9615 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
9616 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
9617 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
9618 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
9619 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9620 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
9621 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
9622 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
9623 * sysvipc/sys/ipc.h: Likewise.
9624 * sysvipc/sys/msg.h: Likewise.
9625 * sysvipc/sys/sem.h: Likewise.
9626 * sysvipc/sys/shm.h: Likewise.
9627 * termios/termios.h: Likewise.
9628 * time/sys/time.h: Likewise.
9629 * time/time.h: Likewise.
9630 * wcsmbs/bits/wchar2.h: Likewise.
9631 * wcsmbs/uchar.h: Likewise.
9632 * wcsmbs/wchar.h: Likewise.
9633 * wctype/wctype.h: Likewise.
9636 * Makeconfig: Remove all but ELF support including AIX support.
9637 * Makerules: Likewise.
9638 * config.h.in: Likewise.
9639 * config.make.in: Likewise.
9640 * configure: Likewise.
9641 * configure.in: Likewise.
9642 * csu/Makefile: Likewise.
9643 * csu/version.c: Likewise.
9644 * debug/Makefile: Likewise.
9645 * dlfcn/Makefile: Likewise.
9646 * elf/Makefile: Likewise.
9647 * extra-lib.mk: Likewise.
9648 * iconv/Makefile: Likewise.
9649 * include/libc-symbols.h: Likewise.
9650 * include/shlib-compat.h: Likewise.
9651 * resolv/Makefile: Likewise.
9652 * resolv/res_libc.c: Likewise.
9653 * rt/Makefile: Likewise.
9654 * sysdeps/i386/asm-syntax.h: Likewise.
9655 * sysdeps/i386/sysdep.h: Likewise.
9656 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9657 * sysdeps/mach/sysdep.h: Likewise.
9658 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
9659 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
9660 * sysdeps/s390/asm-syntax.h: Likewise.
9661 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9662 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9663 * sysdeps/sh/sysdep.h: Likewise.
9664 * sysdeps/unix/sparc/sysdep.h: Likewise.
9665 * sysdeps/wordsize-32/divdi3.c: Likewise.
9666 * sysdeps/x86_64/sysdep.h: Likewise.
9668 * argp/Versions: Remove _argp_unlock_xxx.
9671 * abilist/ld.abilist: Update. Adjust for removal of tls option.
9672 * abilist/libBrokenLocale.abilist: Likewise.
9673 * abilist/libanl.abilist: Likewise.
9674 * abilist/libc.abilist: Likewise.
9675 * abilist/libcrypt.abilist: Likewise.
9676 * abilist/libdl.abilist: Likewise.
9677 * abilist/libm.abilist: Likewise.
9678 * abilist/libnsl.abilist: Likewise.
9679 * abilist/libpthread.abilist: Likewise.
9680 * abilist/libresolv.abilist: Likewise.
9681 * abilist/librt.abilist: Likewise.
9682 * abilist/libthread_db.abilist: Likewise.
9683 * abilist/libutil.abilist: Likewise.
9684 * abilist/libnss_db.abilist: New file.
9686 * scripts/abilist.awk: Add support for indirect functions.
9688 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
9690 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
9692 * shlib-versions: Remove entries for ports architectures.
9694 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
9696 * elf/stackguard-macros.h: Remove support for IA-64.
9697 * elf/tst-auditmod1.c: Likewise.
9698 * sysdeps/generic/ldsodefs.h: Likewise.
9700 * sysdeps/unix/sysv/linux/configure.in: Ports should define
9701 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
9705 * configure.in: Remove --enable-omitfp support.
9707 * config.make.in: Likewise.
9708 * Makeconfig: Likewise.
9709 * manual/install.texi: Likewise.
9711 In case anyone cares, the IA-64 architecture could move to ports.
9712 * sysdeps/ia64/*: Removed.
9713 * sysdeps/unix/sysv/linux/ia64/*: Removed.
9714 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
9717 * configure.in: Remove entries for unsupported architectures.
9720 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
9721 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
9723 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
9724 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
9725 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
9726 fall back to using wcrtomb.
9727 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
9728 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
9730 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
9731 * wcsmbs/tst-c16c32-1.c: New file.
9733 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
9736 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
9738 * elf/tst-unique3.cc: Add explicit declaration of gets.
9739 * elf/tst-unique3lib.cc: Likewise.
9740 * elf/tst-unique3lib2.cc: Likewise.
9741 * elf/tst-unique4.cc: Likewise.
9743 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
9745 2012-01-06 Joseph Myers <joseph@codesourcery.com>
9748 * assert/assert.h (static_assert): Don't define for C++.
9749 * libio/stdio.h (gets): Do declare for C++ <= C++11.
9750 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
9752 2012-01-03 Ulrich Drepper <drepper@gmail.com>
9754 * iconv/loop.c (single loop): Fix assertion in storing of
9757 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
9759 2012-01-01 Ulrich Drepper <drepper@gmail.com>
9761 * posix/getconf.c: Update copyright year.
9762 * nss/getent.c: Likewise.
9763 * nss/makedb.c: Likewise.
9764 * iconv/iconvconfig.c: Likewise.
9765 * iconv/iconv_prog.c: Likewise.
9766 * elf/ldconfig.c: Likewise.
9767 * elf/pldd.c: Likewise.
9768 * elf/sotruss.ksh: Likewise.
9769 * catgets/gencat.c: Likewise.
9770 * csu/version.c: Likewise.
9771 * elf/ldd.bash.in: Likewise.
9772 * elf/sprof.c (print_version): Likewise.
9773 * locale/programs/locale.c: Likewise.
9774 * locale/programs/localedef.c: Likewise.
9775 * login/programs/pt_chown.c: Likewise.
9776 * nscd/nscd.c (print_version): Likewise.
9777 * debug/xtrace.sh: Likewise.
9778 * malloc/memusage.sh: Likewise.
9779 * malloc/mtrace.pl: Likewise.
9780 * debug/catchsegv.sh: Likewise.
9782 2011-12-30 Jakub Jelinek <jakub@redhat.com>
9784 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
9787 2011-12-24 Ulrich Drepper <drepper@gmail.com>
9790 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
9791 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
9793 * iconv/gconv_int.h: Likewise.
9794 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
9795 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
9796 from libc for GLIBC_2.16.
9797 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
9798 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
9799 * wcsmbs/uchar.h: Really define mbstate_t.
9800 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
9801 * wcsmbs/c16rtomb.c: New file.
9802 * wcsmbs/mbrtoc16.c: New file.
9803 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
9805 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
9806 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
9808 * wcsmbs/wchar.h: Add missing __restrict.
9810 2011-12-23 Ulrich Drepper <drepper@gmail.com>
9813 * time/Makefile (routines): Add timespec_get.
9814 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
9815 * time/time.h: Define TIME_UTC and declare timespec_get. Define
9816 timespec for ISO C11.
9817 * time/timespec_get.c: New file.
9818 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
9819 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
9822 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
9823 * stdlib/stdlib.h: Declare aligned_alloc.
9824 * Versions.def: Add GLIBC_2.16 for libc.
9825 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
9828 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
9831 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
9835 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
9838 * assert/assert.h (static_assert): Define.
9840 * version.h: Update for 2.16 development version.
9843 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
9846 * version.h (RELEASE): Bump for 2.15 release.
9847 * include/features.h (__GLIBC_MINOR__): Bump to 15.
9849 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
9850 Patch by Marek Polacek <mpolacek@redhat.com>.
9852 * bits/byteswap.h: Protect long long constants with __extension__.
9853 * sysdeps/i386/bits/byteswap.h: Likewise.
9854 * sysdeps/ia64/bits/byteswap.h: Likewise.
9855 * sysdeps/s390/bits/byteswap.h: Likewise.
9856 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9858 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9861 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
9863 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
9865 2011-12-23 Marek Polacek <polacek@redhat.com>
9867 * elf/dl-addr.c (determine_info): Add inline keyword.
9868 * elf/tst-auditmod4b.c (check_avx): Likewise.
9869 * elf/tst-auditmod6b.c (check_avx): Likewise.
9870 * elf/tst-auditmod6c.c (check_avx): Likewise.
9871 * elf/tst-auditmod7b.c (check_avx): Likewise.
9873 2011-12-23 Ulrich Drepper <drepper@gmail.com>
9875 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
9878 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9881 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
9882 processing for last bytes.
9884 2011-08-06 Bruno Haible <bruno@clisp.org>
9887 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
9888 U+0385, not to U+1FEE.
9891 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
9892 entry for U+00A5 U+0301.
9894 2011-12-22 Ulrich Drepper <drepper@gmail.com>
9897 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
9898 buffer for the output is too small.
9900 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
9904 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
9905 SSE flags if possible.
9907 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9910 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
9911 processing for last bytes.
9913 2011-12-22 Joseph Myers <joseph@codesourcery.com>
9915 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
9916 (syscall-list-default-options, syscall-list-default-condition)
9917 (syscall-list-includes): Define.
9918 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
9919 list of ABIs and options and #if conditions for each ABI. Do not
9920 handle common syscalls between ABIs specially.
9921 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
9923 (syscall-list-variants, syscall-list-32bit-options)
9924 (syscall-list-32bit-condition, syscall-list-64bit-options)
9925 (syscall-list-64bit-condition): Define.
9926 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
9927 (syscall-list-variants, syscall-list-32bit-options)
9928 (syscall-list-32bit-condition, syscall-list-64bit-options)
9929 (syscall-list-64bit-condition): Define.
9930 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
9932 (syscall-list-variants, syscall-list-32bit-options)
9933 (syscall-list-32bit-condition, syscall-list-64bit-options)
9934 (syscall-list-64bit-condition): Define.
9935 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
9937 (syscall-list-variants, syscall-list-32bit-options)
9938 (syscall-list-32bit-condition, syscall-list-64bit-options)
9939 (syscall-list-64bit-condition): Define.
9941 2011-12-22 Ulrich Drepper <drepper@gmail.com>
9943 * locale/iso-639.def: Add brx entry.
9946 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
9947 Proposed by Mariusz_Cukr <marcukr@op.pl>.
9949 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
9950 __feraiseexcept_renamed.
9952 2011-12-21 Ulrich Drepper <drepper@gmail.com>
9955 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
9956 EPOLLET with unsigned values.
9957 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9958 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9960 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
9961 to large cancellation.
9962 * math/s_cacoshf.c: Likewise.
9963 * math/s_cacoshl.c: Likewise.
9965 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
9969 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
9970 * math/s_cacoshf.c: Likewise.
9971 * math/s_cacoshl.c: Likewise.
9973 2011-12-21 Ulrich Drepper <drepper@gmail.com>
9976 * iconv/gconv.h: Define __GCONV_SWAP.
9977 * iconvdata/unicode.c: The swap bit must be stored in __flags.
9978 * iconvdata/utf-16.c: Likewise.
9979 * iconvdata/utf-32.c: Likewise.
9981 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
9984 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
9985 numerator after shifting it by one limb.
9987 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
9989 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
9990 under [__USE_EXTERN_INLINES].
9992 2011-12-17 Ulrich Drepper <drepper@gmail.com>
9995 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
9997 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9999 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
10000 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
10002 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
10003 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
10004 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
10005 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
10006 for strncasecmp/strncasecmp_l compilation.
10007 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
10008 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
10010 2011-12-08 Marek Polacek <mpolacek@redhat.com>
10013 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
10016 2011-12-17 Ulrich Drepper <drepper@gmail.com>
10019 * time/tzfile.c (__tzfile_read): Check values from file header.
10021 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
10023 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
10024 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
10025 * powerpc/powerpc32/dl-start.S: Likewise.
10026 * powerpc/powerpc32/elf/start.S: Likewise.
10027 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10028 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
10029 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
10030 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
10031 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
10032 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
10033 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
10034 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
10035 * powerpc/powerpc32/fpu/s_round.S: Likewise.
10036 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
10037 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
10038 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
10039 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
10040 * powerpc/powerpc32/memset.S: Likewise.
10041 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
10042 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
10043 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
10044 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
10045 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
10046 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
10047 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
10048 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
10049 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
10050 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
10051 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
10052 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
10053 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
10055 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10057 * math/libm-test.inc: Added more nearbyint tests.
10058 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
10059 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
10060 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
10061 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
10063 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
10065 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
10068 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10070 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
10071 Add wcscpy-ssse3 wcscpy-c.
10072 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
10073 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
10074 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
10075 * sysdeps/x86_64/wcschr.S: New file.
10076 * sysdeps/x86_64/wcsrchr.S: New file.
10077 * string/test-strcmp.c: Remove checking of wcscmp function for
10079 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
10080 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
10081 wcsrchr-sse2 wcsrchr-c.
10082 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
10083 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
10084 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
10085 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
10086 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
10087 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
10088 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
10089 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
10090 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
10091 * wcsmbc/wcschr.c (WCSCHR): New macro.
10093 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10095 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
10096 * wcsmbs/test-wcsrchr.c: New file.
10097 * string/test-strrchr.c: Add wcsrchr support.
10099 * wcsmbs/test-wcscpy.c: New file.
10100 * string/test-strcpy.c: Add wcscpy support.
10103 2011-12-10 Ulrich Drepper <drepper@gmail.com>
10105 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
10108 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
10111 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
10113 2011-12-04 Ulrich Drepper <drepper@gmail.com>
10115 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
10116 Minor optimizations.
10118 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
10119 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
10120 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
10122 2011-12-03 Ulrich Drepper <drepper@gmail.com>
10124 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
10125 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
10126 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
10127 for gcc to avoid warnings.
10128 * inet/Makefile (tests): Add tst-checks.
10129 * inet/tst-checks.c: New file.
10131 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
10134 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
10137 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
10138 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
10140 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
10142 2011-12-02 Ulrich Drepper <drepper@gmail.com>
10144 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
10147 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
10149 2011-11-29 Joseph Myers <joseph@codesourcery.com>
10151 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
10152 conditional on GCC version.
10153 (__arch_compare_and_exchange_val_8_acq)
10154 (__arch_compare_and_exchange_val_16_acq)
10155 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
10156 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
10157 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
10159 2011-12-02 Joseph Myers <joseph@codesourcery.com>
10161 * sysdeps/sh/backtrace.c: New file.
10163 2011-12-02 Andreas Schwab <schwab@redhat.com>
10165 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
10168 2011-12-01 Andreas Schwab <schwab@redhat.com>
10170 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
10171 falling back to utime.
10173 2011-11-30 Andreas Schwab <schwab@redhat.com>
10175 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
10176 expectations for float.
10178 2011-11-29 Andreas Schwab <schwab@redhat.com>
10180 * locale/weight.h (findidx): Add parameter len.
10181 * locale/weightwc.h (findidx): Likewise.
10182 * posix/fnmatch_loop.c (FCT): Adjust caller.
10183 * posix/regcomp.c (build_equiv_class): Likewise.
10184 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
10185 * posix/regexec.c (check_node_accept_bytes): Likewise.
10186 * string/strcoll_l.c (STRCOLL): Likewise.
10187 * string/strxfrm_l.c (STRXFRM): Likewise.
10189 2011-11-17 Ulrich Drepper <drepper@gmail.com>
10191 * Makefile.in: Remove CVSOPT handling.
10192 * configure.in: Remove use of AC_REVISION.
10193 * iconvdata/Makefile (distribute): No need to filter out CVS.
10194 * scripts/list-sources.sh: Remove CVS, subversion and monotone
10197 2011-11-16 Andreas Schwab <schwab@redhat.com>
10199 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
10200 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
10201 [USE_AS_STRNCASECMP_L]: Likewise.
10202 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
10203 NO_TLS_DIRECT_SEG_REFS.
10204 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
10205 Fix argument offsets for non-PIC.
10206 [USE_AS_STRNCASECMP_L]: Likewise.
10207 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
10208 NO_TLS_DIRECT_SEG_REFS.
10210 2011-11-15 Ulrich Drepper <drepper@gmail.com>
10212 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
10214 * locale/loadlocale.c (_nl_load_locale): Likewise.
10216 2011-11-15 Andreas Schwab <schwab@redhat.com>
10218 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
10219 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
10220 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
10221 (SYSCALL_GETTIME): Set errno on error.
10223 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
10224 count references to noai6ai_cached.
10226 2011-11-15 Ulrich Drepper <drepper@gmail.com>
10228 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
10230 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
10231 FD_CLOEXEC for /proc/self/maps.
10233 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
10234 FD_CLOEXEC for /proc/meminfo.
10236 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
10239 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
10240 FD_CLOEXEC for given file.
10242 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
10244 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
10245 FD_CLOEXEC for /etc/hosts.
10246 (_gethtent): Likewise.
10248 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
10250 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
10251 cancellation and set FD_CLOEXEC for /etc/netgroup.
10253 * nss/nss_files/files-key.c (search): Don't allow cancellation when
10254 reading /etc/publickey.
10256 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
10257 allow cancellation when reading /etc/group.
10259 * nss/nss_files/files-alias.c (internal_setent): Don't allow
10261 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
10263 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
10264 when using data file.
10266 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
10268 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
10269 (write_nis_obj): Use "c" and "e" in fopen.
10271 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
10273 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
10275 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
10277 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
10279 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
10282 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
10284 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
10286 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
10288 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
10289 file parsing and set FD_CLOEXEC.
10291 2011-11-14 Ulrich Drepper <drepper@gmail.com>
10293 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
10295 2011-11-14 Andreas Schwab <schwab@redhat.com>
10297 * malloc/arena.c (arena_get2): Don't call reused_arena when
10298 _int_new_arena failed.
10300 2011-11-14 Ulrich Drepper <drepper@gmail.com>
10302 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
10303 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
10304 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
10305 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10306 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10307 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
10308 to compile strcasecmp and strncasecmp.
10309 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
10310 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
10312 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
10314 2011-11-13 Ulrich Drepper <drepper@gmail.com>
10316 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
10317 locale-defines.sym to gen-as-const-headers.
10318 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
10319 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
10320 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
10321 to compile strcasecmp and strncasecmp.
10322 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
10323 strcasecmp_l and strncasecmp_l.
10324 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
10325 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
10326 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
10327 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
10328 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
10329 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
10330 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
10331 * sysdeps/i386/i686/multiarch/strncase.S: New file.
10332 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
10333 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
10334 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
10336 2011-11-12 Ulrich Drepper <drepper@gmail.com>
10338 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
10339 result of SYSDEP_GETTIME_CPU to retval.
10340 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
10341 parameter list to macro. Remove trailing semicolon. Adjust users.
10343 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
10346 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
10348 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
10350 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
10351 from unused variable.
10353 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
10355 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
10358 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
10361 * sunrpc/rpc_prot.c (rejected): Fix case value.
10363 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
10364 unsigned long long int to avoid warnings in shift.
10366 * posix/regex_internal.c (re_string_reconstruct): Actually use result
10368 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
10371 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
10372 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
10373 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
10375 * nis/nis_table.c (nis_list): Use variable of correct type for
10376 result of __follow_path call.
10378 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10380 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
10381 of math functions ceil, trunc, floor, round, and sqrt, when
10382 avaliable on the platform.
10383 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
10385 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10386 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
10387 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
10389 2011-10-30 Marek Polacek <mpolacek@redhat.com>
10391 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
10392 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
10394 2011-11-11 Roland McGrath <roland@hack.frob.com>
10396 * include/unistd.h: Fix __readlink return type.
10397 Reported by Chris Metcalf <cmetcalf@tilera.com>.
10399 2011-11-11 Ulrich Drepper <drepper@gmail.com>
10401 * stdlib/ucontext.h: Undo last change for makecontext.
10403 2011-11-11 Andreas Schwab <schwab@redhat.com>
10405 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
10407 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
10408 * setjmp/setjmp.h: Mark functions as non-leaf.
10409 * setjmp/bits/setjmp2.h: Likewise.
10410 * stdlib/ucontext.h: Likewise.
10412 2011-11-10 Andreas Schwab <schwab@redhat.com>
10414 * malloc/arena.c (_int_new_arena): Don't increment narenas.
10415 (reused_arena): Don't check arena limit.
10416 (arena_get2): Atomically check arena limit.
10418 2011-11-08 Ulrich Drepper <drepper@gmail.com>
10420 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
10421 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
10423 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
10426 2011-11-07 Andreas Schwab <schwab@redhat.com>
10428 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
10429 handler when locking.
10431 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10432 Fix size of allocated buffer.
10434 2011-11-04 Andreas Schwab <schwab@redhat.com>
10437 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
10438 declarations for long double functions.
10439 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
10441 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
10443 2011-11-03 Andreas Schwab <schwab@redhat.com>
10445 * nscd/nscd.c (main): Don't start AVC thread until credentials are
10448 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
10451 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
10453 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
10455 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
10457 * include/alloca.h (stackinfo_alloca_round): Define.
10458 (extend_alloca): Use it.
10459 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
10460 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
10463 * scripts/check-local-headers.sh: Ignore libaudit.h.
10465 * nscd/Makefile (extra-objs): Make recursively expanded.
10467 2011-11-01 Ulrich Drepper <drepper@gmail.com>
10469 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
10470 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10472 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
10473 * posix/tst-rfc3484-2.c: Likewise.
10474 * posix/tst-rfc3484-3.c: Likewise.
10476 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10478 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
10480 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
10481 process_vm_writev from libc using GLIBC_2.15 version.
10483 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
10485 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
10487 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
10490 2011-10-31 Ulrich Drepper <drepper@gmail.com>
10493 * nss/getent.c (initgroups_keys): Show error message in case no group
10496 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
10497 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
10498 __bump_nl_timestamp.
10499 * nscd/connections (nscd_init): When host database is served open
10500 netlink socket and request notification about configuration changes.
10501 (main_loop_poll): Track netlink file descriptor and bump timestamp
10502 in case data becomes available.
10503 (main_loop_epoll): Likewise.
10504 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
10505 (database_pers_head): Add extra_data fileds.
10506 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
10507 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
10508 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
10510 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
10511 in6ai data, call __free_in6ai.
10512 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
10513 Add -DHAVE_NETLINK.
10514 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
10515 interface information. Reuse previous data if netlink timestamp
10517 (__bump_nl_timestamp): New function.
10518 (__free_in6ai): New function.
10520 2011-10-30 Ulrich Drepper <drepper@gmail.com>
10522 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
10523 close_not_cancel_no_status here.
10524 (__check_pf): Reorganize code a bit to not call close twice if OOM.
10526 2011-10-29 Ulrich Drepper <drepper@gmail.com>
10529 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
10532 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
10533 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
10534 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
10536 2011-07-03 Andreas Jaeger <aj@suse.de>
10539 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
10540 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
10541 * math/libm-test.inc (sin_test): Add test case.
10543 2011-10-29 Ulrich Drepper <drepper@gmail.com>
10546 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
10547 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10549 * elf/chroot_canon.c (chroot_canon): Cleanups.
10551 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
10554 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
10555 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10557 * string/test-strchr.c: Make usable for strchrnul testing.
10558 * string/test-strchrnul.c: New file.
10559 * string/Makefile (strop-tests): Add strchrnul.
10561 * po/it.po: Update from translation team.
10562 * po/es.po: Likewise.
10564 2011-10-28 Ulrich Drepper <drepper@gmail.com>
10566 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
10567 the three constants needed as parameters. Drop the others.
10568 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
10569 __m128i_strloadu_tolower.
10570 Create and initialize variable zero and use it in all the places
10571 where _mm_setzero_si128 was used.
10573 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
10574 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
10575 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
10576 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
10578 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
10579 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
10580 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
10581 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
10582 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
10583 __mpranred, __mptan.
10584 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
10585 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
10586 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
10587 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
10588 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
10589 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
10590 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
10591 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
10592 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
10594 2011-10-28 Andreas Schwab <schwab@redhat.com>
10596 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
10597 redefine if SHARED.
10598 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
10600 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
10601 wide char related routines to wcsmbs subdir.
10603 2011-10-27 Andreas Schwab <schwab@redhat.com>
10606 * misc/sys/cdefs.h (__THROWNL): Define.
10607 * posix/unistd.h: Use __THREADNL instead of __THREAD
10608 for memory synchronization functions.
10610 2011-10-26 Roland McGrath <roland@hack.frob.com>
10613 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
10615 * manual/stdio.texi (Obstack Streams): Node removed.
10617 2011-10-26 Andreas Schwab <schwab@redhat.com>
10619 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
10620 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10621 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10623 * math/math_private.h (math_force_eval): Allow non-addressable
10625 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
10627 2011-10-25 Ulrich Drepper <drepper@gmail.com>
10629 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
10630 file is not needed.
10632 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
10633 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
10634 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10635 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10636 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10637 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10638 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10639 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
10641 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
10642 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
10643 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
10644 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
10645 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
10646 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
10647 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
10648 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
10649 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
10650 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
10651 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
10652 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
10653 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
10654 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
10655 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
10656 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
10657 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
10658 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
10659 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
10661 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
10662 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
10664 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
10665 place. Use VEX encoding when compiling for AVX.
10667 2011-10-25 Andreas Schwab <schwab@redhat.com>
10669 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
10670 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
10672 * string/test-strchr.c (do_test): Don't generate NUL bytes.
10674 2011-10-25 Ulrich Drepper <drepper@gmail.com>
10676 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
10677 useless if() expression.
10678 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10679 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10680 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10681 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10682 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10683 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10684 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10685 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10686 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10687 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10688 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10689 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10690 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10691 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10692 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10693 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10694 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10695 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10696 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10698 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
10700 2011-10-25 Andreas Schwab <schwab@redhat.com>
10702 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
10704 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10706 2011-10-25 Ulrich Drepper <drepper@gmail.com>
10708 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
10709 .text section. Avoid duplicate constants.
10710 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10711 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10712 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10713 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10714 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10715 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10716 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10717 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10718 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10719 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
10720 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10721 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10722 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
10723 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
10724 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10725 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
10726 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10727 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10728 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10729 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10730 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10731 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10732 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10733 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
10734 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
10735 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
10736 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
10737 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
10738 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
10739 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
10740 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
10741 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
10742 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10743 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
10744 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
10745 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
10746 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
10747 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
10748 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
10749 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
10750 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
10751 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
10752 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
10753 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
10754 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
10756 2011-10-24 Ulrich Drepper <drepper@gmail.com>
10758 * sysdeps/x86_64/dla.h: Move to ...
10759 * sysdeps/x86_64/fpu/dla.h: ...here.
10760 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
10761 situations. Use __builtin_fma only for gcc 4.6 and up.
10763 * config.make.in: Add have-mfma4 entry.
10764 * configure.in: Substitute libc_cv_cc_fma4.
10765 * math/Makefile (dbl-only-routines): Add sincostab.
10766 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
10767 Use __sincostab not sincos.
10768 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
10770 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10771 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10772 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10773 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
10775 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
10776 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
10777 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
10778 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
10780 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
10781 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
10783 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
10784 define aliases when function name is a macro.
10785 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
10786 sysdeps/ieee754/dbl-64/sincos.tbl.
10787 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
10788 fma4-enabled routines.
10789 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
10790 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
10791 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
10792 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
10793 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
10794 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
10795 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
10796 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
10797 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
10798 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
10799 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
10800 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
10801 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
10802 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
10803 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
10804 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
10805 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
10806 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
10807 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
10808 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
10809 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
10810 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
10811 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
10812 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
10813 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
10814 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
10815 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
10816 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
10817 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
10818 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
10820 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
10822 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10823 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10824 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10825 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10826 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10827 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10828 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10829 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10831 2011-10-24 Andreas Schwab <schwab@redhat.com>
10833 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
10835 2011-10-23 Ulrich Drepper <drepper@gmail.com>
10837 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
10839 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
10841 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
10843 * string/strnlen.c: Don't define STRNLEN, reverse logic.
10844 Remove unused variable magic_bits.
10845 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
10847 * string/strnlen.c: Define and use STRNLEN macro.
10848 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
10849 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
10850 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
10851 * wcsmbs/wcslen.c: Define and use WCSLEN.
10852 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
10853 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
10854 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
10855 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
10856 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
10857 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
10858 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
10860 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10862 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10863 strnlen-sse2-no-bsf.
10864 Rename strlen-no-bsf to strlen-sse2-no-bsf.
10865 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
10866 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
10867 Add strnlen support.
10868 (USE_AS_STRNLEN): New macro.
10869 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
10870 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
10871 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
10872 * sysdeps/x86_64/wcslen.S: New file.
10874 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
10876 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
10877 XMM-moves are used for copying on small sizes.
10879 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10881 * wcsmbs/Makefile (strop-tests): Add wcschr.
10882 * wcsmbs/test-wcschr.c: New file.
10883 * string/test-strchr.c: Update.
10884 Add wcschr support.
10887 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10889 * wcsmbs/Makefile (strop-tests): Add wcslen.
10890 * wcsmbs/test-wcslen.c: New file.
10891 * string/test-strlen.c: Update.
10892 Add wcslen support.
10895 2011-10-23 Ulrich Drepper <drepper@gmail.com>
10897 * po/it.po: Update from translation team.
10899 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10901 * sysdeps/x86_64/wcscmp.S: Update.
10902 Fix wrong comparison semantics.
10903 wcscmp shall use signed comparison not unsigned.
10904 Don't use substraction to avoid overflow bug.
10905 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
10906 * wcsmbc/wcscmp.c: Likewise.
10907 * string/test-strcmp.c: Likewise.
10908 Add new tests to check cases with negative values.
10910 2011-10-23 Ulrich Drepper <drepper@gmail.com>
10912 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
10913 * sysdeps/x86_64/dla.h: ...here. New file.
10914 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
10915 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10916 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10917 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10918 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10919 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10920 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10921 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10922 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10924 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
10926 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
10927 __ynl_finite aliases.
10929 2011-10-22 Ulrich Drepper <drepper@gmail.com>
10931 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10933 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
10935 [DLA_FMA] (EMULV): Use DLA_FMA.
10936 [DLA_FMA] (MUL12): Use EMULV.
10937 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
10938 that are not needed.
10939 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10940 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10941 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10942 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10943 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10944 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10945 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10947 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
10949 * math/s_nan.c: Undef __nan.
10950 * math/s_nanf.c: Undef __nanf.
10951 * math/s_nanl.c: Undef __nanl.
10952 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
10955 2011-10-22 Ulrich Drepper <drepper@gmail.com>
10957 * math/s_catan.c: Add branch predictions.
10958 * math/s_catanf.c: Likewise.
10959 * math/s_catanh.c: Likewise.
10960 * math/s_catanhf.c: Likewise.
10961 * math/s_catanhl.c: Likewise.
10962 * math/s_catanl.c: Likewise.
10963 * math/s_cexp.c: Likewise.
10964 * math/s_cexpf.c: Likewise.
10965 * math/s_cexpl.c: Likewise.
10966 * math/s_clog.c: Likewise.
10967 * math/s_clog10.c: Likewise.
10968 * math/s_clog10f.c: Likewise.
10969 * math/s_clog10l.c: Likewise.
10970 * math/s_clogf.c: Likewise.
10971 * math/s_clogl.c: Likewise.
10972 * math/s_csqrt.c: Likewise.
10973 * math/s_csqrtf.c: Likewise.
10974 * math/s_csqrtl.c: Likewise.
10975 * math/s_ctanf.c: Likewise.
10976 * math/s_ctanh.c: Likewise.
10977 * math/s_ctanhf.c: Likewise.
10978 * math/s_ctanhl.c: Likewise.
10979 * math/s_ctanl.c: Likewise.
10981 * math/math_private.h: Define __nan, __nanf, __nanl.
10982 * math/s_cacosh.c: Include <math_private.h>.
10983 * math/s_cacoshl.c: Likewise.
10984 * math/s_casinh.c: Likewise.
10985 * math/s_casinhf.c: Likewise.
10986 * math/s_casinhl.c: Likewise.
10987 * math/s_ccos.c: Rely entire on ccosh.
10988 * math/s_ccosf.c: Rely entire on ccoshf.
10989 * math/s_ccosl.c: Rely entirely on ccoshl.
10990 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
10991 Remove tests for FE_INVALID.
10992 * math/s_ccoshf.c: Likewise.
10993 * math/s_ccoshl.c: Likewise.
10994 * math/s_csin.c: Likewise.
10995 * math/s_csinf.c: Likewise.
10996 * math/s_csinh.c Likewise.
10997 * math/s_csinhf.c: Likewise.
10998 * math/s_csinhl.c: Likewise.
10999 * math/s_csinl.c: Likewise.
11000 * math/s_ctan.c: Likewise.
11001 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
11002 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
11003 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
11005 2011-10-21 Ulrich Drepper <drepper@gmail.com>
11007 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
11008 compilation problems.
11010 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
11013 2011-10-20 Ulrich Drepper <drepper@gmail.com>
11015 * sysdeps/i386/configure.in: Test for -mfma4 option.
11016 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
11017 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
11018 COMMON_CPUID_INDEX_80000001.
11019 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
11020 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
11021 use it if FMA3 is not supported.
11022 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
11024 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
11025 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
11027 2011-10-20 Andreas Schwab <schwab@redhat.com>
11030 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
11031 it would create a cycle with a link time dependency.
11033 2011-10-19 Ulrich Drepper <drepper@gmail.com>
11035 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
11037 * string/Makefile (strop-tests): Add rawmemchr.
11038 * string/test-rawmemchr.c: New file.
11040 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
11041 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
11042 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
11043 when compiling str{,n}casecmp and when AVX is available. Hook up
11044 new optimized code in initializers.
11046 2011-10-19 Andreas Schwab <schwab@redhat.com>
11048 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
11049 __feraiseexcept instead of feraiseexcept.
11051 2011-10-18 Ulrich Drepper <drepper@gmail.com>
11053 * math/math_private.h: Define defaults for libc_fetestexcept and
11055 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
11056 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
11057 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11058 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11059 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11060 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
11061 libc_fetestexcept and libc_feupdateenv.
11063 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
11064 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
11065 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
11066 * sysdeps/x86_64/fpu/math_private.h: Define special version of
11067 libc_feholdexcept_setround.
11069 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
11070 Add s_nearbyint-c and s_nearbyintf-c.
11071 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
11072 nearbyintf inlines.
11073 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
11074 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
11075 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
11076 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
11078 * math/math_private.h: Define defaults for libc_fegetround,
11079 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
11080 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
11081 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
11082 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
11083 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
11084 standard functions.
11085 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11086 Remove comments and hacks for old compiler versions.
11087 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
11088 libc_fegetround, libc_fesetround, libc_feholdexcept, and
11089 libc_feholdexceptl.
11091 2011-10-18 Andreas Schwab <schwab@redhat.com>
11093 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
11094 (__feraiseexcept_renamed): Add __NTH.
11095 (feraiseexcept): Add __NTH. Rename local variables to fix
11096 namespace violations.
11098 2011-10-17 Ulrich Drepper <drepper@gmail.com>
11100 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
11102 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
11104 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
11105 recently added interfaces.
11106 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
11108 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
11109 about macro parameter expansion.
11111 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
11112 __NO_MATH_INLINES is defined. Cleanups.
11114 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
11115 and __floorf is target has SSE4.1.
11116 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
11117 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
11118 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
11119 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
11121 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
11123 (floorf): Likewise.
11125 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
11127 2011-10-17 Andreas Schwab <schwab@redhat.com>
11129 * misc/sys/cdefs.h: Fix last change.
11131 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
11134 2011-10-16 Ulrich Drepper <drepper@gmail.com>
11136 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
11138 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
11139 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11140 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11141 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11142 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11143 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
11144 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11145 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11146 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
11147 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
11148 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
11149 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
11150 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
11151 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
11152 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
11153 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
11154 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
11155 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
11156 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
11157 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
11158 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
11159 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
11161 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
11162 ceil, ceilf, floor, floorf.
11164 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
11165 Perform IRELATIVE relocations last.
11167 * elf/do-rel.h: Add another parameter nrelative, replacing the
11168 local variable with the same name. Change name of the function
11169 to end in Rel or Rela (uppercase).
11170 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
11171 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
11172 elf_dynamic_do_##reloc function.
11174 2011-10-15 Ulrich Drepper <drepper@gmail.com>
11176 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
11177 is sufficient, at least on modern CPUs.
11179 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
11181 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
11182 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
11184 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
11186 * math/bits/math-finite.h: Add entries for exp.
11187 * math/e_expl.c: Add __*_finite alias.
11188 * sysdeps/i386/fpu/e_exp.S: Likewise.
11189 * sysdeps/i386/fpu/e_expf.S: Likewise.
11190 * sysdeps/i386/fpu/e_expl.c: Likewise.
11191 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11192 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11193 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11194 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11195 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
11196 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11197 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11199 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
11200 is sufficient, at least on modern CPUs.
11202 * ctype/ctype-info.c (__ctype_init): Define.
11203 * include/ctype.h (__ctype_init): Declare.
11204 (__ctype_b_loc): The variable is always initialized.
11205 (__ctype_toupper_loc): Likewise.
11206 (__ctype_tolower_loc): Likewise.
11207 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
11208 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
11210 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
11212 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
11214 * configure.in: Also look in $cxxmachine/include for C++ system
11217 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11219 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
11220 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
11221 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
11222 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
11223 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
11224 (USE_AS_WMEMCMP): New macro.
11226 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
11227 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
11228 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
11229 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
11230 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11231 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
11232 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
11233 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
11234 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
11235 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
11236 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
11237 (USE_AS_WMEMCMP): New macro.
11238 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
11239 * sysdeps/string/test-memcmp.c: Update.
11240 Fix simple_wmemcmp.
11242 * wcsmbs/wmemcmp.c: Update.
11243 (WMEMCMP): New macro.
11246 2011-10-12 Andreas Jaeger <aj@suse.de>
11249 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
11251 2011-10-15 Ulrich Drepper <drepper@gmail.com>
11253 * libio/iofwide.c (do_length): Avoid warning.
11255 * ctype/ctype.h (__isctype_f): Add missing __THROW.
11257 2011-10-14 Ulrich Drepper <drepper@gmail.com>
11259 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
11261 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
11262 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
11263 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
11264 * sysdeps/i386/i686/fpu/e_log.S: New file.
11265 * sysdeps/i386/i686/fpu/e_logf.S: New file.
11266 * sysdeps/i386/i686/fpu/e_logl.S: New file.
11268 * ctype/ctype.h: Add support for inlined isXXX functions when
11269 compiling C++ code.
11271 2011-10-14 Andreas Schwab <schwab@redhat.com>
11273 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11275 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
11277 2011-10-13 Roland McGrath <roland@hack.frob.com>
11280 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
11282 2011-10-13 Andreas Schwab <schwab@redhat.com>
11284 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
11285 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
11288 * sysdeps/x86_64/memrchr.S: Check for zero size.
11290 * string/stratcliff.c: Add memrchr tests.
11292 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11294 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11295 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
11296 rawmemchr-sse2 rawmemchr-sse2-bsf.
11297 * sysdeps/i386/i686/multiarch/memchr.S: New file.
11298 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
11299 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
11300 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
11301 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
11302 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
11303 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
11304 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
11305 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
11306 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
11307 * string/memrchr.c (MEMRCHR): New macro.
11309 2011-10-12 Ulrich Drepper <drepper@gmail.com>
11311 Add integration with gcc's -ffinite-math-only and optimize wrapper
11313 * Versions.def: Define GLIBC_2.15 version for libm.
11314 * math/Makefile (headers): Add bits/math-finite.h.
11315 * math/bits/math-finite.h: New file.
11316 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
11317 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
11318 * math/e_acoshl.c: Add __*_finite alias.
11319 * math/e_acosl.c: Likewise.
11320 * math/e_asinl.c: Likewise.
11321 * math/e_atan2l.c: Likewise.
11322 * math/e_atanhl.c: Likewise.
11323 * math/e_coshl.c: Likewise.
11324 * math/e_exp10.c: Likewise.
11325 * math/e_exp10f.c: Likewise.
11326 * math/e_exp10l.c: Likewise.
11327 * math/e_exp2l.c: Likewise.
11328 * math/e_fmodl.c: Likewise.
11329 * math/e_gammal_r.c: Likewise.
11330 * math/e_hypotl.c: Likewise.
11331 * math/e_j0l.c: Likewise.
11332 * math/e_j1l.c: Likewise.
11333 * math/e_jnl.c: Likewise.
11334 * math/e_lgammal_r.c: Likewise.
11335 * math/e_log10l.c: Likewise.
11336 * math/e_log2l.c: Likewise.
11337 * math/e_logl.c: Likewise.
11338 * math/e_powl.c: Likewise.
11339 * math/e_sinhl.c: Likewise.
11340 * math/e_sqrtl.c: Likewise.
11341 * math/e_scalb.c: Completely rewritten and optimized.
11342 * math/e_scalbf.c: Likewise.
11343 * math/e_scalbl.c: Likewise.
11344 * math/w_acos.c: Likewise.
11345 * math/w_acosf.c: Likewise.
11346 * math/w_acosl.c: Likewise.
11347 * math/w_acosh.c: Likewise.
11348 * math/w_acoshf.c: Likewise.
11349 * math/w_acoshl.c: Likewise.
11350 * math/w_asin.c: Likewise.
11351 * math/w_asinf.c: Likewise.
11352 * math/w_asinl.c: Likewise.
11353 * math/w_atan2.c: Likewise.
11354 * math/w_atan2f.c: Likewise.
11355 * math/w_atan2l.c: Likewise.
11356 * math/w_atanh.c: Likewise.
11357 * math/w_atanhf.c: Likewise.
11358 * math/w_atanhl.c: Likewise.
11359 * math/w_exp10.c: Likewise.
11360 * math/w_exp10f.c: Likewise.
11361 * math/w_exp10l.c: Likewise.
11362 * math/w_fmod.c: Likewise.
11363 * math/w_fmodf.c: Likewise.
11364 * math/w_fmodl.c: Likewise.
11365 * math/w_j0.c: Likewise.
11366 * math/w_j0f.c: Likewise.
11367 * math/w_j0l.c: Likewise.
11368 * math/w_j1.c: Likewise.
11369 * math/w_j1f.c: Likewise.
11370 * math/w_j1l.c: Likewise.
11371 * math/w_jn.c: Likewise.
11372 * math/w_jnf.c: Likewise.
11373 * math/w_log.c: Likewise.
11374 * math/w_logf.c: Likewise.
11375 * math/w_logl.c: Likewise.
11376 * math/w_log10.c: Likewise.
11377 * math/w_log10f.c: Likewise.
11378 * math/w_log10l.c: Likewise.
11379 * math/w_log2.c: Likewise.
11380 * math/w_log2f.c: Likewise.
11381 * math/w_log2l.c: Likewise.
11382 * math/w_pow.c: Likewise.
11383 * math/w_powf.c: Likewise.
11384 * math/w_powl.c: Likewise.
11385 * math/w_remainder.c: Likewise.
11386 * math/w_remainderf.c: Likewise.
11387 * math/w_remainderl.c: Likewise.
11388 * math/w_scalb.c: Likewise.
11389 * math/w_scalbf.c: Likewise.
11390 * math/w_scalbl.c: Likewise.
11391 * math/w_sqrt.c: Likewise.
11392 * math/w_sqrtf.c: Likewise.
11393 * math/w_sqrtl.c: Likewise.
11394 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
11395 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
11397 * math/math_private.h: Declare __kernel_standard_f.
11398 * math/w_cosh.c: Remove cruft and optimize a bit.
11399 * math/w_coshf.c: Likewise.
11400 * math/w_coshl.c: Likewise.
11401 * math/w_exp2.c: Likewise.
11402 * math/w_exp2f.c: Likewise.
11403 * math/w_exp2l.c: Likewise.
11404 * math/w_hypot.c: Likewise.
11405 * math/w_hypotf.c: Likewise.
11406 * math/w_hypotl.c: Likewise.
11407 * math/w_lgamma.c: Likewise.
11408 * math/w_lgamma_r.c: Likewise.
11409 * math/w_lgammaf.c: Likewise.
11410 * math/w_lgammaf_r.c: Likewise.
11411 * math/w_lgammal.c: Likewise.
11412 * math/w_lgammal_r.c: Likewise.
11413 * math/w_sinh.c: Likewise.
11414 * math/w_sinhf.c: Likewise.
11415 * math/w_sinhl.c: Likewise.
11416 * math/w_tgamma.c: Likewise.
11417 * math/w_tgammaf.c: Likewise.
11418 * math/w_tgammal.c: Likewise.
11419 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11420 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11421 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
11422 Minor optimizations. Pretty printing. Remove cruft.
11423 * sysdeps/i386/fpu/e_acosf.S: Likewise.
11424 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11425 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11426 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11427 * sysdeps/i386/fpu/e_acosl.c: Likewise.
11428 * sysdeps/i386/fpu/e_asin.S: Likewise.
11429 * sysdeps/i386/fpu/e_asinf.S: Likewise.
11430 * sysdeps/i386/fpu/e_atan2.S: Likewise.
11431 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
11432 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
11433 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11434 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11435 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11436 * sysdeps/i386/fpu/e_exp10.S: Likewise.
11437 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
11438 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
11439 * sysdeps/i386/fpu/e_exp2.S: Likewise.
11440 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
11441 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
11442 * sysdeps/i386/fpu/e_fmod.S: Likewise.
11443 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
11444 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
11445 * sysdeps/i386/fpu/e_hypot.S: Likewise.
11446 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
11447 * sysdeps/i386/fpu/e_log.S: Likewise.
11448 * sysdeps/i386/fpu/e_log10.S: Likewise.
11449 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11450 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11451 * sysdeps/i386/fpu/e_log2.S: Likewise.
11452 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11453 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11454 * sysdeps/i386/fpu/e_logf.S: Likewise.
11455 * sysdeps/i386/fpu/e_logl.S: Likewise.
11456 * sysdeps/i386/fpu/e_pow.S: Likewise.
11457 * sysdeps/i386/fpu/e_powf.S: Likewise.
11458 * sysdeps/i386/fpu/e_powl.S: Likewise.
11459 * sysdeps/i386/fpu/e_remainder.S: Likewise.
11460 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
11461 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
11462 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11463 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11464 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11465 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
11466 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
11467 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
11468 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11469 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11470 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11471 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11472 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11473 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11474 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11475 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11476 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11477 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11478 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11479 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11480 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11481 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11482 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11483 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11484 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11485 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11486 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11487 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11488 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11489 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
11490 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11491 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11492 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
11493 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11494 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11495 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
11496 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11497 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
11498 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11499 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11500 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11501 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11502 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
11503 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
11504 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
11505 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
11506 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
11507 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11508 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
11509 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11510 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
11511 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11512 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11513 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11514 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11515 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11516 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11517 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11518 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11519 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11520 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11521 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11522 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11523 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11524 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11525 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11526 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11527 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11528 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11529 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
11530 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11531 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11532 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
11533 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11534 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
11535 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
11536 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
11537 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11538 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11539 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11540 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11541 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11542 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11543 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11544 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11545 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11546 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11547 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11548 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11549 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11550 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
11551 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11552 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11553 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11554 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11555 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11556 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11557 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11558 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11559 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11560 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11561 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11562 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11563 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
11564 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
11565 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
11566 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
11567 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
11568 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
11569 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
11570 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
11571 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
11572 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11573 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11574 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11575 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11576 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
11577 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11578 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
11579 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
11580 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
11581 (__isnanf): Likewise.
11582 (__isinf_ns): Likewise.
11583 (__isinf_nsf): Likewise.
11584 (__finite): Likewise.
11585 (__finitef): Likewise.
11586 (__ieee754_sqrt): Define as macro.
11587 (__ieee754_sqrtf): Define as macro.
11588 (__ieee754_sqrtl): Define as macro.
11589 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
11591 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
11592 __FINITE_MATH_ONLY__ consistent.
11593 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
11595 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
11597 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
11600 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
11602 2011-10-09 Ulrich Drepper <drepper@gmail.com>
11604 * po/ja.po: Update from translation team.
11606 2011-10-08 Roland McGrath <roland@hack.frob.com>
11608 * locale/programs/locarchive.c (prepare_address_space): New function.
11609 (create_archive, enlarge_archive, open_archive): Use it.
11611 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
11612 inside [SHARED], where it is used.
11614 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
11616 * nss/getent.c (netgroup_keys): Remove unused variable.
11617 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
11619 2011-10-08 Ulrich Drepper <drepper@gmail.com>
11621 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
11622 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
11623 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
11624 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
11625 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
11626 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
11627 * math/Makefile (libm-calls): Add s_isinf_ns.
11628 * math/divtc3.c: Use __isinf_nsl instead of isinf.
11629 * math/multc3.c: Likewise.
11630 * math/s_casin.c: Likewise.
11631 * math/s_casinf.c: Likewise.
11632 * math/s_casinl.c: Likewise.
11633 * math/s_ccos.c: Likewise.
11634 * math/s_ccosf.c: Likewise.
11635 * math/s_ccosl.c: Likewise.
11636 * math/s_ctan.c: Likewise.
11637 * math/s_ctanf.c: Likewise.
11638 * math/s_ctanh.c: Likewise.
11639 * math/s_ctanhf.c: Likewise.
11640 * math/s_ctanhl.c: Likewise.
11641 * math/s_ctanl.c: Likewise.
11642 * math/w_fmod.c: Likewise.
11643 * math/w_fmodf.c: Likewise.
11644 * math/w_fmodl.c: Likewise.
11645 * math/w_remainder.c: Likewise.
11646 * math/w_remainderf.c: Likewise.
11647 * math/w_remainderl.c: Likewise.
11648 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
11649 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
11650 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
11651 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
11652 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
11653 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
11654 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
11655 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
11657 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
11659 * stdio-common/printf_fphex.c: Likewise.
11660 * stdio-common/printf_size.c: Likewise.
11662 * math/e_exp10.c: Include math_private.h using <...> not "...".
11663 * math/e_exp10f.c: Likewise.
11664 * math/e_exp10l.c: Likewise.
11665 * math/e_exp2l.c: Likewise.
11666 * math/e_j0l.c: Likewise.
11667 * math/e_j1l.c: Likewise.
11668 * math/e_jnl.c: Likewise.
11669 * math/e_lgammal_r.c: Likewise.
11670 * math/e_rem_pio2l.c: Likewise.
11671 * math/e_scalb.c: Likewise.
11672 * math/e_scalbf.c: Likewise.
11673 * math/e_scalbl.c: Likewise.
11674 * math/k_cosl.c: Likewise.
11675 * math/k_sinl.c: Likewise.
11676 * math/k_tanl.c: Likewise.
11677 * math/s_cacoshf.c: Likewise.
11678 * math/s_catan.c: Likewise.
11679 * math/s_catanf.c: Likewise.
11680 * math/s_catanh.c: Likewise.
11681 * math/s_catanhf.c: Likewise.
11682 * math/s_catanhl.c: Likewise.
11683 * math/s_catanl.c: Likewise.
11684 * math/s_ccosh.c: Likewise.
11685 * math/s_ccoshf.c: Likewise.
11686 * math/s_ccoshl.c: Likewise.
11687 * math/s_cexp.c: Likewise.
11688 * math/s_cexpf.c: Likewise.
11689 * math/s_cexpl.c: Likewise.
11690 * math/s_clog.c: Likewise.
11691 * math/s_clog10.c: Likewise.
11692 * math/s_clog10f.c: Likewise.
11693 * math/s_clog10l.c: Likewise.
11694 * math/s_clogf.c: Likewise.
11695 * math/s_clogl.c: Likewise.
11696 * math/s_csin.c: Likewise.
11697 * math/s_csinf.c: Likewise.
11698 * math/s_csinh.c: Likewise.
11699 * math/s_csinhf.c: Likewise.
11700 * math/s_csinhl.c: Likewise.
11701 * math/s_csinl.c: Likewise.
11702 * math/s_csqrt.c: Likewise.
11703 * math/s_csqrtf.c: Likewise.
11704 * math/s_csqrtl.c: Likewise.
11705 * math/s_ctan.c: Likewise.
11706 * math/s_ctanf.c: Likewise.
11707 * math/s_ctanh.c: Likewise.
11708 * math/s_ctanhf.c: Likewise.
11709 * math/s_ctanhl.c: Likewise.
11710 * math/s_ctanl.c: Likewise.
11711 * math/s_ldexp.c: Likewise.
11712 * math/s_ldexpf.c: Likewise.
11713 * math/s_ldexpl.c: Likewise.
11714 * math/s_significand.c: Likewise.
11715 * math/s_significandf.c: Likewise.
11716 * math/s_significandl.c: Likewise.
11717 * math/w_acos.c: Likewise.
11718 * math/w_acosf.c: Likewise.
11719 * math/w_acosh.c: Likewise.
11720 * math/w_acoshf.c: Likewise.
11721 * math/w_acoshl.c: Likewise.
11722 * math/w_acosl.c: Likewise.
11723 * math/w_asin.c: Likewise.
11724 * math/w_asinf.c: Likewise.
11725 * math/w_asinl.c: Likewise.
11726 * math/w_atan2.c: Likewise.
11727 * math/w_atan2f.c: Likewise.
11728 * math/w_atan2l.c: Likewise.
11729 * math/w_atanh.c: Likewise.
11730 * math/w_atanhf.c: Likewise.
11731 * math/w_atanhl.c: Likewise.
11732 * math/w_cosh.c: Likewise.
11733 * math/w_coshf.c: Likewise.
11734 * math/w_coshl.c: Likewise.
11735 * math/w_dremf.c: Likewise.
11736 * math/w_exp10.c: Likewise.
11737 * math/w_exp10f.c: Likewise.
11738 * math/w_exp10l.c: Likewise.
11739 * math/w_exp2.c: Likewise.
11740 * math/w_exp2f.c: Likewise.
11741 * math/w_fmod.c: Likewise.
11742 * math/w_fmodf.c: Likewise.
11743 * math/w_fmodl.c: Likewise.
11744 * math/w_hypot.c: Likewise.
11745 * math/w_hypotf.c: Likewise.
11746 * math/w_hypotl.c: Likewise.
11747 * math/w_j0.c: Likewise.
11748 * math/w_j0f.c: Likewise.
11749 * math/w_j0l.c: Likewise.
11750 * math/w_j1.c: Likewise.
11751 * math/w_j1f.c: Likewise.
11752 * math/w_j1l.c: Likewise.
11753 * math/w_jn.c: Likewise.
11754 * math/w_jnf.c: Likewise.
11755 * math/w_jnl.c: Likewise.
11756 * math/w_lgamma.c: Likewise.
11757 * math/w_lgamma_r.c: Likewise.
11758 * math/w_lgammaf.c: Likewise.
11759 * math/w_lgammaf_r.c: Likewise.
11760 * math/w_lgammal.c: Likewise.
11761 * math/w_lgammal_r.c: Likewise.
11762 * math/w_log.c: Likewise.
11763 * math/w_log10.c: Likewise.
11764 * math/w_log10f.c: Likewise.
11765 * math/w_log10l.c: Likewise.
11766 * math/w_log2.c: Likewise.
11767 * math/w_log2f.c: Likewise.
11768 * math/w_log2l.c: Likewise.
11769 * math/w_logf.c: Likewise.
11770 * math/w_logl.c: Likewise.
11771 * math/w_pow.c: Likewise.
11772 * math/w_powf.c: Likewise.
11773 * math/w_powl.c: Likewise.
11774 * math/w_remainder.c: Likewise.
11775 * math/w_remainderf.c: Likewise.
11776 * math/w_remainderl.c: Likewise.
11777 * math/w_scalb.c: Likewise.
11778 * math/w_scalbf.c: Likewise.
11779 * math/w_scalbl.c: Likewise.
11780 * math/w_sinh.c: Likewise.
11781 * math/w_sinhf.c: Likewise.
11782 * math/w_sinhl.c: Likewise.
11783 * math/w_sqrt.c: Likewise.
11784 * math/w_sqrtf.c: Likewise.
11785 * math/w_sqrtl.c: Likewise.
11786 * math/w_tgamma.c: Likewise.
11787 * math/w_tgammaf.c: Likewise.
11788 * math/w_tgammal.c: Likewise.
11790 * po/ja.po: Update from translation team.
11792 2011-09-29 Andreas Jaeger <aj@suse.de>
11795 * sunrpc/netname.c (netname2host): Fix logic.
11799 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
11801 * math/w_remainder.c (__remainder): Likewise.
11802 * math/w_remainderf.c (__remainderf): Likewise.
11803 * math/libm-test.inc (remainder_test): Add test cases.
11805 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11807 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
11810 2011-10-07 Ulrich Drepper <drepper@gmail.com>
11812 * string/test-memcmp.c: Avoid unncessary #defines.
11813 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
11815 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11817 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
11818 Use new sse2 version for core i3 - i7 as it's faster
11819 than sse42 version.
11820 (bit_Prefer_PMINUB_for_stringop): New.
11821 * sysdeps/x86_64/rawmemchr.S: Update.
11822 Replace with faster SSE2 version.
11823 * sysdeps/x86_64/memrchr.S: New file.
11824 * sysdeps/x86_64/memchr.S: Update.
11825 Replace with faster SSE2 version.
11827 2011-09-12 Marek Polacek <mpolacek@redhat.com>
11829 * elf/dl-load.c (lose): Add cast to avoid warning.
11831 2011-10-07 Ulrich Drepper <drepper@gmail.com>
11833 * po/ca.po: Update from translation team.
11835 * inet/getnetgrent_r.c: Hook up nscd.
11836 * nscd/Makefile (routines): Add nscd_netgroup.
11837 (nscd-modules): Add netgroupcache.
11838 (CFLAGS-netgroupcache.c): Define.
11839 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
11840 (cache_search): Add const to second parameter.
11841 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
11843 (dbs): Add netgrdb entry.
11844 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
11845 (verify_persistent_db): Handle netgrdb.
11846 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
11847 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
11849 (netgroup_response_header): Define.
11850 (innetgroup_response_header): Define.
11851 (datahead): Add netgroup_response_header and innetgroup_response_header
11853 * nscd/nscd.conf: Add entries for netgroup cache.
11854 * nscd/nscd.h (dbtype): Add netgrdb.
11855 (_PATH_NSCD_NETGROUP_DB): Define.
11856 (netgroup_iov_disabled): Declare.
11857 (xmalloc, xcalloc, xrealloc): Move declarations here.
11858 (cache_search): Adjust prototype.
11859 Add netgroup-related prototypes.
11860 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
11861 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
11862 (__nscd_innetgr): Declare.
11863 * nscd/selinux.c (perms): Use access_vector_t as element type and
11864 add netgroup-related initializers.
11865 * nscd/netgroupcache.c: New file.
11866 * nscd/nscd_netgroup.c: New file.
11867 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
11868 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
11869 For four parameters use innetgr.
11870 * nss/nss_files/files-init.c: Add definition and callback for netgr.
11871 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
11872 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
11873 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
11875 * nscd/connections.c (register_traced_file): Don't register file
11876 for disabled databases.
11878 2011-10-06 Ulrich Drepper <drepper@gmail.com>
11880 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
11882 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
11883 from tree and freeing node.
11885 2011-09-25 Jiri Olsa <jolsa@redhat.com>
11887 * nss/nsswitch.c (__nss_database_lookup): Handle
11888 nss_parse_service_list out of memory case.
11890 2011-09-15 Jiri Olsa <jolsa@redhat.com>
11892 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
11893 out of memory case.
11895 2011-10-04 Andreas Schwab <schwab@redhat.com>
11897 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
11898 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
11900 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
11901 elf_machine_rela, elf_machine_lazy_rel.
11902 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
11903 (ELF_DYNAMIC_DO_REL): Likewise.
11904 (ELF_DYNAMIC_DO_RELA): Likewise.
11905 (ELF_DYNAMIC_RELOCATE): Likewise.
11906 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
11907 to ELF_DYNAMIC_DO_REL.
11908 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
11909 (dl_main): In trace mode always set __RTLD_NOIFUNC.
11910 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
11912 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
11913 skip_ifunc, don't call ifunc function if non-zero.
11914 (elf_machine_rela): Likewise.
11915 (elf_machine_lazy_rel): Likewise.
11916 (elf_machine_lazy_rela): Likewise.
11917 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
11918 (elf_machine_lazy_rel): Likewise.
11919 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
11921 (elf_machine_lazy_rel): Likewise.
11922 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11924 (elf_machine_lazy_rel): Likewise.
11925 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
11926 (elf_machine_lazy_rel): Likewise.
11927 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
11928 (elf_machine_lazy_rel): Likewise.
11929 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11930 (elf_machine_lazy_rel): Likewise.
11931 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
11932 (elf_machine_lazy_rel): Likewise.
11933 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
11934 (elf_machine_lazy_rel): Likewise.
11935 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
11936 (elf_machine_lazy_rel): Likewise.
11938 2011-09-28 Ulrich Drepper <drepper@gmail.com>
11940 * nss/nss_files/files-init.c (_nss_files_init): Use static
11941 initialization for all the *_traced_file variables.
11943 2011-09-28 Andreas Schwab <schwab@redhat.com>
11945 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11947 2011-09-27 Roland McGrath <roland@hack.frob.com>
11950 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
11952 2011-09-27 Andreas Schwab <schwab@redhat.com>
11954 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11955 Reread the line before reparsing it.
11957 2011-09-26 Andreas Schwab <schwab@redhat.com>
11959 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
11961 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
11962 Maxim Kuvyrkov <maxim@codesourcery.com>
11963 Joseph Myers <joseph@codesourcery.com>
11965 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
11966 if needed for __stack_chk_guard.
11968 2011-09-19 Roland McGrath <roland@hack.frob.com>
11970 * sysdeps/posix/spawni.c (script_execute): Always define it.
11971 It will be optimized away if unused.
11972 (maybe_script_execute): New function.
11973 (__spawni): Call it.
11975 * Makerules: Don't include tls.make.
11976 (config-tls): Always set to thread.
11977 * tls.make.c: File removed.
11979 2011-09-19 Mike Frysinger <vapier@gentoo.org>
11981 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
11982 * config.make.in (CPPFLAGS-config): New substituted variable.
11984 2011-09-15 Ulrich Drepper <drepper@gmail.com>
11986 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
11989 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
11990 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
11992 2011-09-15 Roland McGrath <roland@hack.frob.com>
11994 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
11995 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
11996 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
11997 (CALL_FAIL): Likewise.
11998 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
11999 (CALL_FAIL): Macro removed.
12000 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
12002 2011-09-15 Ulrich Drepper <drepper@gmail.com>
12004 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
12005 for __FINITE_MATH_ONLY__ == 1.
12007 2011-09-15 Andreas Schwab <schwab@redhat.com>
12009 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
12010 __ieee754_sqrt instead of sqrt.
12011 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
12012 __ieee754_sqrtf instead of sqrtf.
12013 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
12014 __floorf instead of floorf.
12015 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
12016 __floorf, __truncf instead of floorf, truncf.
12018 2011-09-14 Ulrich Drepper <drepper@gmail.com>
12020 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
12022 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
12023 __extern_always_inline.
12024 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
12027 2011-09-14 Andreas Schwab <schwab@redhat.com>
12029 * elf/rtld.c (dl_main): Also relocate in dependency order when
12030 doing symbol dependency testing.
12032 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
12034 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12035 Always define `refsym'.
12037 2011-09-13 Andreas Schwab <schwab@redhat.com>
12039 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
12040 (__FD_ELT): Renamed from __FDELT.
12041 * misc/bits/select2.h (__FD_ELT): Likewise.
12042 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
12043 __FD_MASK instead of __FDELT, __FDMASK.
12044 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
12046 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
12049 * elf/Makefile (gen-ldd): Fix pattern.
12051 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
12052 (init_tls): Likewise.
12054 2011-09-12 Ulrich Drepper <drepper@gmail.com>
12056 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
12058 2011-09-12 Andreas Schwab <schwab@redhat.com>
12060 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
12061 `struct cmsghdr *' instead of `void *'.
12062 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
12065 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
12067 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
12069 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
12070 ldd_rewrite_script.
12072 2011-09-11 Ulrich Drepper <drepper@gmail.com>
12074 * configure.in: Remove --with-tls option.
12075 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
12076 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
12077 out in case it is missing.
12078 * sysdeps/ia64/elf/configure.in: Likewise.
12079 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
12080 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
12081 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
12082 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
12083 * sysdeps/sh/elf/configure.in: Likewise.
12084 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
12085 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
12086 * sysdeps/x86_64/elf/configure.in: Likewise.
12087 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
12088 * sysdeps/mach/hurd/tls.h: Likewise.
12091 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
12094 * configure.in: Fix use of AC_INIT.
12096 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
12098 2011-09-10 Ulrich Drepper <drepper@gmail.com>
12100 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
12102 * malloc/hooks.c: Likewise.
12105 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
12106 variables statically.
12107 (narenas): Initialize.
12108 (list_lock): Initialize.
12109 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
12110 initializtion of main_arena and list_lock. Small cleanups.
12111 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
12112 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
12113 Add initializers to main_arena and mp_.
12114 (malloc_state): Remove pagesize member. Change all users to use
12117 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
12118 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
12119 is always initialized.
12121 * malloc/malloc.c: Removed unused configurations and dead code.
12122 * malloc/arena.c: Likewise.
12123 * malloc/hooks.c: Likewise.
12124 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
12126 * include/tls.h: Removed. USE___THREAD must always be defined.
12127 * bits/libc-tsd.h: Don't handle !USE___THREAD.
12128 * elf/dl-libc.c: Likewise.
12129 * elf/dl-tsd.c: Likewise.
12130 * include/errno.h: Likewise.
12131 * include/netdb.h: Likewise.
12132 * include/resolv.h: Likewise.
12133 * inet/herrno-loc.c: Likewise.
12134 * inet/herrno.c: Likewise.
12135 * malloc/arena.c: Likewise.
12136 * malloc/hooks.c: Likewise.
12137 * malloc/malloc.c: Likewise.
12138 * resolv/res-state.c: Likewise.
12139 * resolv/res_libc.c: Likewise.
12140 * sysdeps/i386/dl-machine.h: Likewise.
12141 * sysdeps/ia64/dl-machine.h: Likewise.
12142 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
12143 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
12144 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
12145 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
12146 * sysdeps/sh/dl-machine.h: Likewise.
12147 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
12148 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
12149 * sysdeps/unix/i386/sysdep.S: Likewise.
12150 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12151 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
12152 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
12153 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12154 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
12155 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12156 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12157 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12158 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12159 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12160 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12161 * sysdeps/x86_64/dl-machine.h: Likewise.
12162 * tls.make.c: Likewise.
12164 * configure.in: Remove --with-__thread option. Make tests for
12165 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
12166 tls_model attribute fail if no support is available. Remove
12168 * Makeconfig: Adjust for dropped configure option. All features are
12170 * Makerules: Likewise.
12171 * Versions.def: Likewise.
12172 * argp/argp-fmtstream.c: Likewise.
12173 * argp/argp-fmtstream.h: Likewise.
12174 * argp/argp-help.c: Likewise.
12175 * assert/assert.c: Likewise.
12176 * config.h.in: Likewise.
12177 * config.make.in: Likewise.
12178 * configure: Likewise.
12179 * configure.in: Likewise.
12180 * csu/Versions: Likewise.
12181 * csu/init.c: Likewise.
12182 * elf/tst-audit2.c: Likewise.
12183 * elf/tst-tls10.c: Likewise.
12184 * elf/tst-tls10.h: Likewise.
12185 * elf/tst-tls11.c: Likewise.
12186 * elf/tst-tls12.c: Likewise.
12187 * elf/tst-tls14.c: Likewise.
12188 * elf/tst-tlsmod11.c: Likewise.
12189 * elf/tst-tlsmod12.c: Likewise.
12190 * elf/tst-tlsmod13.c: Likewise.
12191 * elf/tst-tlsmod13a.c: Likewise.
12192 * elf/tst-tlsmod14a.c: Likewise.
12193 * elf/tst-tlsmod15b.c: Likewise.
12194 * elf/tst-tlsmod16a.c: Likewise.
12195 * elf/tst-tlsmod16b.c: Likewise.
12196 * elf/tst-tlsmod7.c: Likewise.
12197 * elf/tst-tlsmod8.c: Likewise.
12198 * elf/tst-tlsmod9.c: Likewise.
12199 * gmon/gmon.c: Likewise.
12200 * grp/fgetgrent_r.c: Likewise.
12201 * grp/putgrent.c: Likewise.
12202 * hurd/fopenport.c: Likewise.
12203 * include/libc-symbols.h: Likewise.
12204 * include/tls.h: Likewise.
12205 * intl/gettextP.h: Likewise.
12206 * intl/loadinfo.h: Likewise.
12207 * locale/global-locale.c: Likewise.
12208 * locale/localeinfo.h: Likewise.
12209 * mach/devstream.c: Likewise.
12210 * malloc/arena.c: Likewise.
12211 * malloc/set-freeres.c: Likewise.
12212 * misc/err.c: Likewise.
12213 * misc/getttyent.c: Likewise.
12214 * misc/mntent_r.c: Likewise.
12215 * posix/getopt.c: Likewise.
12216 * posix/wordexp.c: Likewise.
12217 * pwd/fgetpwent_r.c: Likewise.
12218 * resolv/Versions: Likewise.
12219 * resolv/res_hconf.c: Likewise.
12220 * shadow/fgetspent_r.c: Likewise.
12221 * shadow/putspent.c: Likewise.
12222 * stdio-common/printf_fphex.c: Likewise.
12223 * stdio-common/tmpfile.c: Likewise.
12224 * stdlib/abort.c: Likewise.
12225 * stdlib/fmtmsg.c: Likewise.
12226 * sunrpc/auth_unix.c: Likewise.
12227 * sunrpc/clnt_perr.c: Likewise.
12228 * sunrpc/clnt_tcp.c: Likewise.
12229 * sunrpc/clnt_udp.c: Likewise.
12230 * sunrpc/clnt_unix.c: Likewise.
12231 * sunrpc/openchild.c: Likewise.
12232 * sunrpc/svc_simple.c: Likewise.
12233 * sunrpc/svc_tcp.c: Likewise.
12234 * sunrpc/svc_udp.c: Likewise.
12235 * sunrpc/svc_unix.c: Likewise.
12236 * sunrpc/xdr.c: Likewise.
12237 * sunrpc/xdr_array.c: Likewise.
12238 * sunrpc/xdr_rec.c: Likewise.
12239 * sunrpc/xdr_ref.c: Likewise.
12240 * sunrpc/xdr_stdio.c: Likewise.
12242 2011-09-09 Ulrich Drepper <drepper@gmail.com>
12244 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12246 2011-07-03 Andreas Jaeger <aj@suse.de>
12248 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
12249 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
12250 regenerate with gen-libm-tests.pl.
12252 2010-05-12 Petr Baudis <pasky@suse.cz>
12255 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
12256 around j0() zero points by switching to j1().
12257 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12258 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12259 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12260 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12262 2011-09-09 Ulrich Drepper <drepper@gmail.com>
12264 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
12266 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
12268 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12269 Patch in part by Pavel Roskin <proski@gnu.org>.
12272 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
12274 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
12275 Free memory block if necessary.
12278 * libio/genops.c (INTDEF): For string streams the _lock pointer can
12279 be NULL. Don't lock in this case.
12281 2011-09-09 Roland McGrath <roland@hack.frob.com>
12283 * elf/elf.h (ELFOSABI_GNU): New macro.
12284 (ELFOSABI_LINUX): Define to that.
12286 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
12288 * string/strncat.c (strncat): Undef the symbol in case it has been
12289 defined in bits/string.h.
12291 2011-09-09 Ulrich Drepper <drepper@gmail.com>
12293 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
12295 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
12298 2011-08-17 Andreas Jaeger <aj@suse.de>
12300 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
12302 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
12303 Ian Lance Taylor <iant@google.com>
12305 * math/libm-test.inc (lround_test): New testcase.
12306 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
12308 2011-09-08 Ulrich Drepper <drepper@gmail.com>
12310 * Makefile: Remove support for automatic cvs check-ins.
12311 * Makerules: Likewise.
12312 * config.make.in: Likewise.
12313 * configure.in: Likewise.
12314 * intl/Makefile: Likewise.
12315 * locale/Makefile: Likewise.
12316 * po/Makefile: Likewise.
12317 * posix/Makefile: Likewise.
12318 * sysdeps/gnu/Makefile: Likewise.
12319 * sysdeps/mach/hurd/Makefile: Likewise.
12320 * sysdeps/sparc/sparc32/Makefile: Likewise.
12323 * posix/Makefile (bug-regex32-ENV): Define.
12324 Patch by John Stanley <jpsinthemix@verizon.net>.
12326 * misc/Makefile (headers): Add bits/select2.h.
12327 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
12328 * misc/bits/select2.h: New file.
12329 * include/bits/select2.h: New file.
12330 * debug/Makefile (routines): Add fdelt_chk.
12331 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
12332 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
12334 * debug/fdelt_chk.c: New file.
12336 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
12337 * wcsmbs/test-wmemcmp.c: Likewise.
12338 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
12339 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
12341 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12343 * string/Makefile (strop-tests): Add memcmp.
12344 * string/test-wmemcmp.c: New file.
12345 * string/test-memcmp.c: Add wmemcmp support.
12347 2011-09-08 Roland McGrath <roland@hack.frob.com>
12350 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
12353 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
12354 garbage value in a __mach_port_mod_refs call in the cases of the
12355 task-self and thread-self ports.
12357 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
12359 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
12361 2011-09-08 Andreas Schwab <schwab@redhat.com>
12363 * elf/dl-load.c (lose): Check for non-null L.
12365 2011-09-07 Ulrich Drepper <drepper@gmail.com>
12367 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
12369 * elf/dl-libc.c (dlerror_run): Pass back error code from
12373 * elf/dl-load.c (lose): Free l_origin if it is valid.
12375 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
12377 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
12378 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12379 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12380 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12381 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
12382 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
12384 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12386 * sysdeps/powerpc/fpu/e_hypot.c: New file.
12387 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
12388 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
12389 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
12390 * sysdeps/powerpc/fpu/k_cosf.c: New file.
12391 * sysdeps/powerpc/fpu/k_sinf.c: New file.
12392 * sysdeps/powerpc/fpu/s_cosf.c: New file.
12393 * sysdeps/powerpc/fpu/s_sinf.c: New file.
12394 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
12395 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
12397 2011-08-15 Alan Modra <amodra@gmail.com>
12400 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
12401 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
12402 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
12403 ppc_mcount to static-only-routines.
12404 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
12406 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
12407 __mcount_internal with usual JUMPTARGET. Remove useless nop.
12409 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
12411 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
12412 for finite and infinity parameters.
12414 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
12416 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
12417 and add nop instructions for throughput optimization.
12418 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12420 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
12422 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
12423 aligned copy for power7 with vector-scalar instructions.
12424 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12426 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
12428 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
12431 2011-09-07 Andreas Schwab <schwab@redhat.com>
12434 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
12437 2011-09-07 Ulrich Drepper <drepper@gmail.com>
12439 * sysdeps/unix/sysv/linux/x86_64/init-first.c
12440 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
12441 syscall wrapper around clock_gettime in __vdso_clock_gettime.
12442 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
12445 2011-09-06 Ulrich Drepper <drepper@gmail.com>
12447 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
12448 Forgot to demangle the pointer.
12450 * sysdeps/i386/sysdep.h: Define atom_text_section.
12451 * sysdeps/x86_64/sysdep.h: Likewise.
12452 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
12453 section with atom_text_section.
12454 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12455 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12456 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
12457 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12458 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
12460 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
12461 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
12462 already be defined. Change to take two parameters and don't assign
12463 result to variable. Adjust all users.
12464 Define INTERNAL_GETTIME if not already defined.
12465 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
12467 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
12468 HAVE_CLOCK_GETTIME_VSYSCALL.
12469 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
12471 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
12472 gettimeofday vsyscall, just use time.
12474 2011-09-06 Andreas Schwab <schwab@redhat.com>
12476 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
12479 2011-09-06 Ulrich Drepper <drepper@gmail.com>
12481 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
12483 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
12485 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
12486 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
12487 syscall if possible.
12489 2011-09-05 Ulrich Drepper <drepper@gmail.com>
12491 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
12492 e_ident. Don't pass to find_mapsXX.
12493 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
12495 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12497 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12498 strchr-sse2-no-bsf strrchr-sse2-no-bsf
12499 * sysdeps/x86_64/multiarch/strchr.S: Update.
12500 Check bit_slow_BSF bit.
12501 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12502 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
12503 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
12505 2011-09-05 Ulrich Drepper <drepper@gmail.com>
12508 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
12510 (tryshell): Define.
12511 (__spawni): Change last parameter to be flag. Test
12512 SPAWN_XFLAGS_USE_PATH flag to use path or not.
12513 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
12514 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
12515 * posix/spawni.c: Likewise.
12516 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
12517 * posix/spawnp.c: Likewise. Change normal version to use
12518 SPAWN_XFLAGS_USE_PATH.
12519 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
12520 SPAWN_XFLAGS_TRY_SHELL.
12523 * posix/glob.h: Remove gcc 1.x support.
12526 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
12528 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12530 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12531 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
12533 * sysdeps/i386/i686/multiarch/strchr.S: New file.
12534 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
12535 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
12536 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
12537 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
12538 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
12540 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12542 * sysdeps/x86_64/wcscmp.S: New file.
12544 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
12545 wcscmp-c wcscmp-sse2
12546 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
12547 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
12548 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
12549 * wcsmbs/wcscmp.c: Allow renaming.
12551 2011-09-05 David S. Miller <davem@davemloft.net>
12553 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
12554 stack slot, rather than the struct return pointer slot.
12555 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
12556 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
12557 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
12558 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
12560 2011-09-05 Ulrich Drepper <drepper@gmail.com>
12562 * po/ja.po: Update from translation team.
12565 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
12566 kernel in 64-bit binaries.
12568 2011-09-01 David S. Miller <davem@davemloft.net>
12570 * elf/elf.h (HWCAP_SPARC_*): Move to..
12571 * sysdeps/sparc/sysdep.h: this new file and add new values.
12572 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
12573 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
12574 _DL_HWCAP_COUNT to 24.
12575 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12577 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
12578 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
12579 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
12580 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
12581 instead of magic constants.
12582 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12584 2011-08-31 David S. Miller <davem@davemloft.net>
12586 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
12587 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
12588 Reimplement to do errno handling inline.
12589 (SYSCALL_ERROR_HANDLER): New macro.
12590 (__SYSCALL_STRING): Do not do errno handling in asm.
12591 (__CLONE_SYSCALL_STRING): Delete.
12592 (__INTERNAL_SYSCALL_STRING): Delete.
12593 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
12594 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
12595 (PSEUDO): Reimplement to do errno handling inline.
12596 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
12597 (SYSCALL_ERROR_HANDLER): New macro.
12598 (__SYSCALL_STRING): Do not do errno handling in asm.
12599 (__CLONE_SYSCALL_STRING): Delete.
12600 (__INTERNAL_SYSCALL_STRING): Delete.
12601 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
12602 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
12604 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
12605 (inline_syscall*): Add 'err' argument.
12606 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
12607 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
12608 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
12609 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
12611 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
12612 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
12614 2011-08-30 Andreas Schwab <schwab@redhat.com>
12616 * elf/rtld.c (dl_main): Relocate objects in dependency order.
12618 2011-08-29 Jiri Olsa <jolsa@redhat.com>
12620 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
12623 2011-08-24 David S. Miller <davem@davemloft.net>
12625 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
12627 2011-08-24 Andreas Schwab <schwab@redhat.com>
12629 * elf/Makefile: Add rules to build and run unload8 test.
12630 * elf/unload8.c: New file.
12631 * elf/unload8mod1.c: New file.
12632 * elf/unload8mod1x.c: New file.
12633 * elf/unload8mod2.c: New file.
12634 * elf/unload8mod3.c: New file.
12636 * elf/dl-close.c (_dl_close_worker): Reset private search list if
12639 2011-08-23 David S. Miller <davem@davemloft.net>
12641 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
12642 subtract stack bias.
12643 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
12644 %sp not %fp in calculations.
12645 (_JMPBUF_UNWINDS_ADJ): Likewise.
12647 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
12648 (aio_suspend): Call it to force an exception region around the
12649 AIO_MISC_WAIT() invocation.
12651 2011-08-23 Andreas Schwab <schwab@redhat.com>
12653 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
12656 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
12658 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
12660 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
12661 and <dl-machine.h>.
12662 (Elf64_FuncDesc): Remove.
12664 2011-08-22 David S. Miller <davem@davemloft.net>
12666 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
12667 sigaltstack check, add missing cfi directives.
12668 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
12669 missing cfi directives, and sigaltstack handling.
12671 2011-08-16 Andreas Schwab <schwab@redhat.com>
12674 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
12675 object is seen twice.
12676 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12678 * elf/Makefile (distribute): Add tst-initorder2.c.
12679 (tests): Add tst-initorder2.
12680 (modules-names): Add tst-initorder2a tst-initorder2b
12681 tst-initorder2c tst-initorder2d. Add rules to build them.
12682 ($(objpfx)tst-initorder2.out): New rule.
12683 * elf/tst-initorder2.c: New file.
12684 * elf/tst-initorder2.exp: New file.
12686 2011-08-22 Andreas Schwab <schwab@redhat.com>
12688 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
12690 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
12691 dependencies back to end of function.
12693 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
12694 $(elfobjdir)/ld.so.
12696 2011-08-21 Ulrich Drepper <drepper@gmail.com>
12698 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
12699 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
12700 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
12701 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
12702 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
12703 of __vdso_gettimeofday.
12704 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
12705 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
12707 (_libc_vdso_platform_setup): Remove initialization of
12708 __vdso_gettimeofday and __vdso_time.
12710 2011-08-20 Ulrich Drepper <drepper@gmail.com>
12712 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
12713 and fgetc_unlocked.
12714 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
12717 * elf/dl-open.c (add_to_global): Report additions to the global scope
12718 for LD_DEBUG=scopes.
12719 (dl_open_worker): Also print scope of newly loaded dependencies.
12720 (_dl_show_scope): Indicate if there is no scope.
12723 * stdio-common/Makefile (tests): Add bug24.
12724 * stdio-common/bug24.c: New file.
12726 2011-08-19 Andreas Jaeger <aj@suse.de>
12729 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
12730 non-existant file when using close-on-exec mode.
12732 2011-08-20 Ulrich Drepper <drepper@gmail.com>
12734 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
12735 the very first instruction.
12737 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
12738 the CFI state in the end.
12739 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
12740 inclusion of dl-trampoline.h.
12741 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
12743 2011-08-19 Andreas Schwab <schwab@redhat.com>
12745 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
12746 expectations for long double.
12748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
12749 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
12751 2011-08-14 David S. Miller <davem@davemloft.net>
12753 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
12754 artificual limit depends upon the system page size.
12756 2011-08-17 Ulrich Drepper <drepper@gmail.com>
12758 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
12759 * resolv/Makefile: Define CFLAGS-libresolv.
12761 2011-08-17 Andreas Schwab <schwab@redhat.com>
12763 * nss/makedb.c (compute_tables): Make variables used in nested
12766 2011-08-17 Ulrich Drepper <drepper@gmail.com>
12768 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
12769 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
12770 if buffer was too small.
12772 * elf/pldd.c (main): Attach to all threads in the process.
12773 Rewrite /proc handling to use *at functions.
12775 2011-08-16 Ulrich Drepper <drepper@gmail.com>
12777 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
12778 specifies first scope to show.
12779 (dl_open_worker): Update callers. Move printing scope of new
12780 object to before the relocation.
12781 * elf/rtld.c (dl_main): Update _dl_show_scope call.
12782 * sysdeps/generic/ldsodefs.h: Update declaration.
12784 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
12785 string for the scope number.
12787 2011-08-14 Ulrich Drepper <drepper@gmail.com>
12789 * nscd/servicescache.c (cache_addserv): Make sure written is always
12792 2011-08-14 Roland McGrath <roland@hack.frob.com>
12794 * sysdeps/i386/i486/bits/atomic.h
12795 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
12796 statement expression, so as to suppress "set but not used" warning.
12797 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
12799 * string/strncat.c (STRNCAT): Use prototype definition.
12801 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
12802 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
12804 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
12805 (localedef-modules): Add localedef.
12806 (locale-modules): Add locale.
12808 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
12809 * elf/rtld.c (dl_main): Invert order of assignment in last change,
12810 to avoid a warning.
12812 2011-08-14 David S. Miller <davem@davemloft.net>
12814 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
12815 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
12817 2011-08-13 Ulrich Drepper <drepper@gmail.com>
12819 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
12820 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
12821 * elf/rtld.c (dl_main): Set l_name of vDSO.
12822 Call _dl_show_scope when DL_DEBUG_SCOPES.
12823 (process_dl_debug): Recognize scopes flag and also set it for all.
12824 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
12825 Declare _dl_show_scope.
12827 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
12828 (do_dlopen): Pass caller_dlopen to dl_open.
12829 (__libc_dlopen_mode): Initialize caller_dlopen.
12831 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
12832 of libc. Make tolower call locale-independent. Optimize a bit by
12833 using isdigit instead of isalnum.
12834 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
12836 2011-08-12 Ulrich Drepper <drepper@gmail.com>
12838 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
12839 was a dependency or dynamically loaded.
12841 2011-08-11 Ulrich Drepper <drepper@gmail.com>
12843 * intl/l10nflist.c: Allow architecture-specific pop function.
12844 * sysdeps/x86_64/l10nflist.c: New file.
12846 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
12849 2011-08-10 Andreas Schwab <schwab@redhat.com>
12851 * include/dirent.h: Add libc_hidden_proto for scandirat and
12852 scandirat64. Don't declare __scandirat64.
12853 * dirent/scandirat.c: Add libc_hidden_def.
12854 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
12855 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
12857 2011-08-10 David S. Miller <davem@davemloft.net>
12859 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
12861 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12862 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12863 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12865 2011-08-09 Ulrich Drepper <drepper@gmail.com>
12867 * Versions.def [libc]: Add GLIBC_2.15.
12868 * dirent/Makefile (routines): Add scandirat and scandirat64.
12869 * dirent/Versions [libc]: Export scandirat and scandirat64 for
12871 * dirent/dirent.h: Declare scandirat and scandirat64.
12872 * dirent/scandirat.c: New file.
12873 * dirent/scandirat64.c: New file.
12874 * sysdeps/wordsize-64/scandirat.c: New file.
12875 * sysdeps/wordsize-64/scandirat64.c: New file.
12876 * dirent/opendir.c: Define opendirat.
12877 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
12879 * dirent/scandir64.c: Adjust for scandir.c change.
12880 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
12881 __scandirat64, and __scandir_cancel_handler.
12882 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
12883 additional parameter and use openat instead of open (outside of ld.so).
12884 Add new __opendir as wrapper around __opendirat.
12885 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
12886 here without requiring old scandirat implementation.
12888 2011-08-08 Ulrich Drepper <drepper@gmail.com>
12890 * dirent/scandir.c (cancel_handler): Renamed to
12891 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
12892 defined. Adjust users.
12893 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
12894 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
12896 2011-08-04 Ulrich Drepper <drepper@gmail.com>
12898 * string/test-string.h (IMPL): Use __STRING to expand name and then
12901 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
12904 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12906 * string/Makefile: Update.
12907 (strop-tests): Append strncat.
12908 * string/test-wcscmp.c: New file.
12909 New comprehensive test for wcscmp.
12910 * string/test-strcmp.c: Update.
12911 (WIDE): New define.
12913 2011-07-22 Andreas Schwab <schwab@redhat.com>
12915 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
12918 2011-07-26 Andreas Schwab <schwab@redhat.com>
12920 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12921 encoding to ACE if AI_IDN.
12923 2011-08-01 Jakub Jelinek <jakub@redhat.com>
12925 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
12926 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
12928 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12930 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
12931 Fix overflow bug in strncat.
12932 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
12934 * string/test-strncat.c: Update.
12935 Add new tests for checking overflow bugs.
12937 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12939 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12940 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
12941 * sysdeps/i386/i686/multiarch/strcat.S: New file.
12942 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
12943 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
12944 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
12945 * sysdeps/i386/i686/multiarch/strncat.S: New file.
12946 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
12947 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
12949 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
12950 (USE_AS_STRCAT): Define.
12951 Add strcat and strncat support.
12952 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12954 2011-07-25 Andreas Schwab <schwab@redhat.com>
12956 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
12957 __n bigger than INT_MAX+1.
12958 (__strncmp_g): Likewise.
12960 2011-07-23 Ulrich Drepper <drepper@gmail.com>
12962 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
12963 * libio/stido.h: Likewise.
12965 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
12967 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
12970 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
12971 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12972 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12973 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
12974 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12977 * scripts/test-installation.pl: Don't expect libnss_test1 to be
12980 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
12982 (_dl_x86_64_save_sse): Likewise.
12984 2011-07-22 Ulrich Drepper <drepper@gmail.com>
12986 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
12988 (_dl_x86_64_save_sse): Likewise.
12990 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
12992 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
12994 2011-07-21 Andreas Schwab <schwab@redhat.com>
12996 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
12998 (_dl_x86_64_save_sse): Use correct AVX check.
13000 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13002 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
13003 bug in strncpy/strncat.
13004 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
13006 2011-07-21 Ulrich Drepper <drepper@gmail.com>
13008 * string/tester.c (test_strcat): Add tests for different alignments
13009 of source and destination.
13010 (test_strncat): Likewise.
13012 2011-07-20 Ulrich Drepper <drepper@gmail.com>
13015 * posix/glob.c (glob): Check passed in values before using them in
13016 expressions to avoid some overflows.
13017 (glob_in_dir): Likewise.
13020 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
13021 check for AVX enablement so that we don't crash with old kernels and
13023 * elf/tst-audit4.c: Add same checks here.
13024 * elf/tst-audit6.c: Likewise.
13026 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
13028 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
13030 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
13032 2011-07-20 Ulrich Drepper <drepper@gmail.com>
13034 * po/cs.po: Update from translation team.
13035 * po/bg.po: Likewise.
13037 2011-07-12 Marek Polacek <mpolacek@redhat.com>
13039 * misc/sys/cdefs.h: Add support for const attribute.
13040 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
13041 to gnu_dev_{major,minor,makedev} functions.
13043 2011-07-20 Marek Polacek <mpolacek@redhat.com>
13045 * intl/dcigettext.c (get_output_charset): Add missing bracket.
13047 2011-07-20 Andreas Schwab <schwab@redhat.com>
13049 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
13052 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13054 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
13055 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
13056 register in order to avoid conflicts with the soft frame pointer
13057 being held in r11 when necessary.
13058 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
13059 (INTERNAL_VSYSCALL_NCS): Likewise.
13061 2011-07-14 Marek Polacek <mpolacek@redhat.com>
13063 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
13064 * elf/dl-fini.c (_dl_fini): Adjust caller.
13065 * elf/dl-close.c (_dl_close_worker): Likewise.
13066 * sysdeps/generic/ldsodefs.h: Adjust declaration.
13068 2011-07-15 Marek Polacek <mpolacek@redhat.com>
13070 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
13071 "aux_cache->nlibs < 0".
13073 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
13074 in the reload-count case.
13076 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13078 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13079 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
13080 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
13081 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
13082 * sysdeps/x86_64/multiarch/strcat.S: New file.
13083 * sysdeps/x86_64/multiarch/strncat.S: New file.
13084 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
13085 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
13086 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
13087 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
13088 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
13089 (USE_AS_STRCAT): Define.
13090 Add strcat and strncat support.
13091 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
13092 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
13093 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
13094 * string/strncat.c: Update.
13095 (USE_AS_STRNCAT): Define.
13096 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13097 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
13099 * sysdeps/x86_64/multiarch/init-arch.h
13100 (bit_Prefer_PMINUB_for_stringop): New.
13101 (index_Prefer_PMINUB_for_stringop): Likewise.
13102 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
13103 bit_Prefer_PMINUB_for_stringop.
13105 2011-07-19 Ulrich Drepper <drepper@gmail.com>
13107 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
13109 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
13110 of casting of buffer.
13111 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
13112 buffer32 and buffer64.
13113 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
13114 writes instead of casting of buffer.
13115 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
13117 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
13120 2011-07-19 Andreas Schwab <schwab@redhat.com>
13122 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
13124 2011-07-19 Ulrich Drepper <drepper@gmail.com>
13126 * nscd/nscd.c (termination_handler): Don't do anything for a database
13127 if it has not yet been initialized.
13129 2011-07-18 Ulrich Drepper <drepper@gmail.com>
13131 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
13133 2011-07-15 Marek Polacek <mpolacek@redhat.com>
13135 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
13137 2011-07-18 Ulrich Drepper <drepper@gmail.com>
13139 * po/nl.po: Update from translation team.
13140 * po/sv.po: Likewise.
13142 2011-07-16 Roland McGrath <roland@hack.frob.com>
13144 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
13145 now disallowed by GCC.
13147 * configure.in (use-default-link): Default to yes if a test -shared
13148 link meets our qualifications.
13149 * configure: Regenerated.
13151 * config.make.in (output-format): New variable.
13152 * configure.in: Check for ld --print-output-format support.
13153 * configure: Regenerated.
13154 * Makerules ($(common-objpfx)format.lds)
13155 [$(output-format) != unknown]: Just use $(output-format),
13156 instead of the linker-script munging.
13158 2011-07-14 Roland McGrath <roland@hack.frob.com>
13160 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
13161 of $(common-objpfx)shlib.lds.
13162 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
13164 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
13165 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
13167 * configure.in (-z relro check): Adjust test code to add a large
13168 writable data section after it.
13169 * configure: Regenerated.
13171 2011-07-11 Roland McGrath <roland@hack.frob.com>
13173 * configure.in (-z relro check): Fix test code to make the variable
13175 * configure: Regenerated.
13177 2011-07-11 Ulrich Drepper <drepper@gmail.com>
13179 * nscd/nscd.h (struct traced_file): Define.
13180 (struct database_dyn): Remove inotify_descr, reset_res, and filename
13181 elements. Add traced_files.
13182 (inotify_fd): Declare.
13183 (register_traced_file): Declare.
13184 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
13185 (inotify_fd): Export.
13186 (resolv_conf_descr): Remove.
13187 (nscd_init): Move inotify descriptor creation to main.
13188 Don't register files for notification here.
13189 (register_traced_file): New function.
13190 (invalidate_cache): Don't use reset_res to determine whether to call
13191 res_init, go through the list of registered files.
13192 (main_loop_poll): The inotify descriptors are now stored in the
13193 structures for the traced files.
13194 (main_loop_epoll): Likewise
13195 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
13196 to __nss_disable_nscd.
13197 * nscd/cache.c (prune_cache): There is no single inotify descriptor
13198 for a database anymore. Check the records for all the registered
13200 * nss/Makefile (libnss_files-routines): Add files-init.
13201 (libnss_db-routines): Add db-init.
13202 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
13203 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
13204 * nss/nss_db/db-init.c: New file.
13205 * nss/nss_files/files-init.c: New file.
13206 * nss/nsswitch.c (nss_load_library): New function. Broken out of
13207 __nss_lookup_function.
13208 (__nss_lookup_function): Call nss_load_library.
13209 (nss_load_all_libraries): New function.
13210 (__nss_disable_nscd): Take parameter with callback function for files
13211 to register. Set is_nscd. Load all the DSOs for the NSS modules
13212 used for the cached services.
13213 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
13214 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
13215 options for features to all the files in nscd.
13217 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
13219 2011-07-10 Roland McGrath <roland@hack.frob.com>
13221 * csu/elf-init.c (__libc_csu_init): Comment typo.
13223 2011-07-09 Ulrich Drepper <drepper@gmail.com>
13225 * po/pl.po: Update from translation team.
13226 * po/ja.po: Likewise.
13227 * po/ru.po: Likewise.
13228 * po/ko.po: Likewise.
13229 * po/fr.po: Likewise.
13231 2011-07-09 Roland McGrath <roland@hack.frob.com>
13233 * configure.in (.ctors/.dtors header and trailer check):
13234 Use an empirical test on a built program.
13235 * configure: Regenerated.
13237 * configure.in (-z relro check): Use an empirical test on a built DSO.
13238 Detect, but do not require, on ia64.
13239 * configure: Regenerated.
13241 * configure.in (READELF): Find it with AC_CHECK_TOOL.
13242 Update tests that use readelf to use $READELF instead.
13243 * configure: Regenerated.
13245 2011-07-08 Ulrich Drepper <drepper@gmail.com>
13247 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
13248 if the result is not used.
13250 2011-07-05 Andreas Jaeger <aj@suse.de>
13253 * stdlib/tst-strtod.c: Add testcase.
13255 2011-07-07 Ulrich Drepper <drepper@gmail.com>
13257 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
13258 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
13259 The latter has a higher limit. Take additional parameter to pass to
13261 (__pathconf): Pass file to __statfs_link_max.
13262 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
13264 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
13268 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
13269 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13271 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
13272 (__statfs_filesize_max): Likewise.
13273 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
13275 2011-07-05 Andreas Jaeger <aj@suse.de>
13277 * resolv/res_comp.c (dn_skipname): Remove unused variable.
13279 2011-07-06 Marek Polacek <mpolacek@redhat.com>
13281 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
13283 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
13286 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
13288 * Makefile (strop-tests): Add strncat.
13289 * string/test-strncat.c: New file.
13291 2011-06-30 Marek Polacek <mpolacek@redhat.com>
13293 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
13295 2011-06-21 Andreas Jaeger <aj@suse.de>
13297 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
13298 Copy rule from iconvdata/Makefile.
13300 2011-07-06 Ulrich Drepper <drepper@gmail.com>
13303 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
13304 but no long options are defined, just return 'W'.
13306 2011-06-22 Marek Polacek <mpolacek@redhat.com>
13309 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
13311 2011-07-06 Ulrich Drepper <drepper@gmail.com>
13313 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
13315 (innetgr): Likewise.
13317 2011-07-05 Roland McGrath <roland@hack.frob.com>
13319 * config.make.in (install_root): Default to $(DESTDIR).
13321 2011-07-05 Ulrich Drepper <drepper@gmail.com>
13323 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
13325 2011-07-02 Roland McGrath <roland@hack.frob.com>
13327 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
13329 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
13330 containing directory rather than embedding absolute directory names.
13332 * scripts/check-local-headers.sh: Rewritten using awk.
13333 Match by word, not by line. Print error messages for matches.
13334 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
13336 * Makerules [shlib-lds-flags empty]:
13337 ($(common-objpfx)libc_pic.opts): New target.
13338 ($(common-objpfx)libc_pic.os.clean): New target.
13339 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
13341 * config.make.in (OBJCOPY): New variable.
13342 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
13343 * configure: Regenerated.
13345 * config.make.in (use-default-link): New variable.
13346 * configure.in (use_default_link): Grok --with-default-link to set it.
13347 * configure: Regenerated.
13348 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
13349 (shlib-lds, shlib-lds-flags): Define to empty.
13351 * Makerules (shlib-lds): New variable.
13352 (shlib-lds-flags): New variable.
13353 (build-shlib, build-moduile, build-module-asneeded): Use it.
13354 ($(common-objpfx)libc.so): Use $(shlib-lds).
13355 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
13356 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
13358 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
13359 DT_FLAGS/DT_FLAGS_1 with zero flags.
13361 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
13362 linker script munging.
13364 2011-07-02 Ulrich Drepper <drepper@gmail.com>
13366 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
13368 * crypt/sha512.c (sha512_process_block): Perform total addition using
13369 128-bit if possible.
13370 (__sha512_finish_ctx): Likewise.
13371 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
13373 * crypt/sha256.c (SWAP64): Define.
13374 (sha256_process_block): Perform total addition using 64-bit if
13376 (__sha256_finish_ctx): Likewise.
13378 2011-07-01 Ulrich Drepper <drepper@gmail.com>
13380 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
13381 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13382 * nscd/hstcache.c (cache_addhst): Likewise.
13383 * nscd/grpcache.c (cache_addgr): Likewise.
13384 * nscd/aicache.c (addhstaiX): Likewise
13385 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
13387 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
13389 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
13390 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13391 * nscd/hstcache.c (cache_addhst): Likewise.
13392 * nscd/grpcache.c (cache_addgr): Likewise.
13393 * nscd/aicache.c (addhstaiX): Likewise
13395 2011-07-01 Andreas Schwab <schwab@redhat.com>
13397 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
13398 domain only when needed.
13400 2011-06-30 Andreas Schwab <schwab@redhat.com>
13402 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
13403 is always restored.
13405 2011-06-29 Ulrich Drepper <drepper@gmail.com>
13407 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
13408 are re-adding the entry.
13409 * nscd/servicescache.c (cache_addserv): Likewise.
13411 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
13413 * sysdeps/generic/dl-irel.h: fix protection against multiple
13415 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
13417 2011-06-28 Ulrich Drepper <drepper@gmail.com>
13420 * malloc/memusage.sh: Fix quoting in message.
13421 * debug/xtrace.sh: Likewise.
13423 * configure.in: Remove support for --experimental-malloc option, make
13425 * config.make.in: Likewise.
13426 * malloc/Makefile: Likewise.
13428 2011-06-27 Andreas Schwab <schwab@redhat.com>
13430 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
13431 two-byte characters.
13433 2011-06-27 Roland McGrath <roland@hack.frob.com>
13435 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
13436 AC_CACHE_CHECK invocation.
13437 * configure: Regenerated.
13439 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
13441 2011-06-27 Ulrich Drepper <drepper@gmail.com>
13444 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
13445 bit from old_res_options.
13447 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
13449 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
13450 value type for setfct.
13452 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
13454 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13455 __gettimeofday instead of gettimeofday.
13457 2011-06-26 Ulrich Drepper <drepper@gmail.com>
13459 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
13461 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
13463 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
13465 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
13468 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13470 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13471 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13472 strcpy-sse2-unaligned strncpy-sse2-unaligned
13473 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
13474 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
13475 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
13476 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
13477 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
13478 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
13479 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
13480 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
13481 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
13482 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
13483 (STRCPY): Support SSE2 and SSSE3 versions.
13485 2011-06-24 Ulrich Drepper <drepper@gmail.com>
13488 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
13489 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
13490 kernels which artificially limit size of requests.
13492 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13494 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13495 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13496 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
13497 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
13498 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
13499 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
13500 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
13501 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
13502 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
13503 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
13504 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
13505 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
13506 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
13507 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
13508 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
13509 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13510 Enable unaligned load optimization for Intel Core i3, i5 and i7
13512 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
13514 (index_Fast_Unaligned_Load): Define.
13515 (HAS_FAST_UNALIGNED_LOAD): Define.
13517 2011-06-23 Marek Polacek <mpolacek@redhat.com>
13519 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
13521 2011-06-22 Ulrich Drepper <drepper@gmail.com>
13524 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
13525 until it is clear that the information is realy needed.
13526 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
13528 2011-06-22 Andreas Schwab <schwab@redhat.com>
13530 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
13532 2011-06-22 Ulrich Drepper <drepper@gmail.com>
13534 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13535 /sys/devices/system/cpu/online if it is usable.
13537 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
13538 reading the information from the /proc filesystem to once a second.
13540 2011-06-21 Andreas Jaeger <aj@suse.de>
13542 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
13543 NULL after inclusion of kernel headers.
13545 2011-06-21 Ulrich Drepper <drepper@gmail.com>
13547 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
13548 calls to internal_setent.
13551 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
13552 addresses using gethostbyname4_r ignore IPv4 addresses.
13554 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
13555 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
13557 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
13559 2011-06-20 David S. Miller <davem@davemloft.net>
13561 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
13563 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
13565 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
13566 (elf_irel): Use it.
13567 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
13568 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
13569 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
13570 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
13571 * sysdeps/x86_64/dl-irel.h: Likewise.
13573 * elf/dl-runtime.c: Use elf_ifunc_invoke.
13574 * elf/dl-sym.c: Likewise.
13576 2011-06-15 Ulrich Drepper <drepper@gmail.com>
13578 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
13579 need to dereference resplen2.
13581 2011-06-14 Andreas Schwab <schwab@redhat.com>
13583 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
13585 2011-06-15 Ulrich Drepper <drepper@gmail.com>
13587 * Makeconfig: Define vardbdir and inst_vardbdir.
13588 * nss/Makefile: Add rules to install db-Makefile.
13590 * nss/nss_db/db-XXX.c: Cleanup.
13592 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
13593 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
13595 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
13596 * nss/makedb.c: Implement -g option to specify that value strings
13597 are generated and should not be added to table iterated over for
13599 * nss/nss_db/db-initgroups.c: New file.
13601 * nss/getent.c: Add support for initgroups lookups through getgrouplist
13604 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
13605 (internal_getgrouplist): Adjust to name change.
13606 Update use_initgroups_entry if this is not the first call.
13607 * nss/databases.def: Add initgroups entry.
13609 * nss/makedb.c (compute_tables): Check result of multiple hash table
13610 sizes to minimize maximum chain length.
13612 2011-06-14 Ulrich Drepper <drepper@gmail.com>
13614 * Versions.def: Add entry for libnss_db.
13615 * shlib-versions: Likewise.
13616 * nss/Makefile: Add rules to build libnss_db.
13617 * nss/Versions: Add libnss_db information. Organize libnss_files
13619 * nss/db-Makefile: Add gshadow support. Change rules for the new
13620 makedb progra. Some minor improvements to generate smaller files.
13621 * nss/nss_db/nss_db.h: Move NSS database header data structures to
13623 * nss/makedb.c: ...here.
13624 Improve database format to be smaller and require less memory at
13626 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
13628 * nss/nss_db/db-netgrp.c: Likewise.
13629 * nss/nss_db/db-open.c: Likewise.
13630 * nss/nss_files/flies-XXX.x: Adjust comments.
13631 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
13632 * nss/nss_files/files-grp.c: Likewise.
13633 * nss/nss_files/files-hosts.c: Likewise.
13634 * nss/nss_files/files-network.c: Likewise.
13635 * nss/nss_files/files-proto.c: Likewise.
13636 * nss/nss_files/files-pwd.c: Likewise.
13637 * nss/nss_files/files-rpc.c: Likewise.
13638 * nss/nss_files/files-service.c: Likewise.
13639 * nss/nss_files/files-sgrp.c: Likewise.
13640 * nss/nss_files/files-spwd.c: Likewise.
13641 * nss/nss_db/db-alias.c: Removed.
13642 * nss/nss_db/dummy-db.h: Removed.
13644 2011-06-02 Ulrich Drepper <drepper@gmail.com>
13646 * nss/makedb.c: Rewritten to not use database library.
13647 * nss/Makefile: Update to build new makedb program.
13649 2011-06-14 Andreas Jaeger <aj@suse.de>
13651 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
13652 memset declaration.
13654 2011-06-10 Andreas Schwab <schwab@redhat.com>
13656 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
13659 2011-06-10 Roland McGrath <roland@hack.frob.com>
13661 * Makerules (shlib.lds): Fail if the linker script comes out empty.
13662 * elf/Makefile ($(objpfx)ld.so): Likewise.
13664 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
13665 Don't list ld.so twice in dependencies.
13667 * posix/bug-regex31.c: Include <stdlib.h>.
13669 * nscd/hstcache.c (cache_addhst): Remove unused variable.
13671 * nis/nss_compat/compat-spwd.c
13672 (getspent_next_nss_netgr): Remove unused variable.
13673 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
13675 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
13676 nonmembers" output to use the right array.
13678 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
13680 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
13682 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
13683 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
13684 * catgets/gencat.c (read_input_file): Likewise.
13685 * locale/programs/locarchive.c (enlarge_archive): Likewise.
13687 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
13688 variable definition inside #if's controlling its use.
13690 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
13692 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
13694 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
13696 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
13699 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
13701 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
13702 * configure: Regenerated.
13704 * Makerules: Revert last change.
13705 * elf/Makefile: Likewise.
13707 2011-06-09 Roland McGrath <roland@hack.frob.com>
13709 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
13710 * elf/Makefile ($(objpfx)librtld.os): Likewise.
13711 (reloc-link): Likewise.
13713 2011-06-09 Ulrich Drepper <drepper@gmail.com>
13715 * elf/Makefile: Add rules to build pldd.
13716 * elf/pldd.c: New file.
13717 * elf/pldd-xx.c: New file.
13719 2011-06-07 Ulrich Drepper <drepper@gmail.com>
13721 * version.h: Update for 2.15 development version.
13723 2011-06-07 David S. Miller <davem@davemloft.net>
13725 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
13727 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
13728 elf_machine_lazy_rel): Likewise.
13729 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
13730 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
13731 elf_machine_lazy_rel): Likewise.
13732 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
13733 dl_hwcap via passed in argument.
13734 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
13737 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13739 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
13741 2011-06-06 Roland McGrath <roland@hack.frob.com>
13744 * manual/fdl-1.1.texi: New file, verbatim from:
13745 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
13746 * manual/lgpl-2.1.texi: New file, verbatim from:
13747 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
13748 * manual/Makefile (licenses): New variable, list those new file names.
13750 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
13752 * manual/fdl.texi: File removed.
13753 * manual/lesser.texi: File removed.
13754 * manual/libc.texinfo (Copying, Documentation License):
13755 Use new @include file names, put @appendix directive before @include.
13757 2011-06-04 Jakub Jelinek <jakub@redhat.com>
13760 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
13761 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
13762 (mq_open): Add __NTH.
13764 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
13766 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13767 Assume Intel Core i3/i5/i7 processor if AVX is available.
13769 2011-05-31 Ulrich Drepper <drepper@gmail.com>
13771 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13774 2011-05-31 Andreas Schwab <schwab@redhat.com>
13776 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
13777 memory. Use alloca_account. Fix memory leak when retrying.
13779 2011-05-31 Ulrich Drepper <drepper@gmail.com>
13781 * version.h (RELEASE): Bump for 2.14 release.
13782 * include/features.h (__GLIBC_MINOR__): Bump to 14.
13784 * config.make.in (RANLIB): Remove entry.
13786 2011-05-30 Ulrich Drepper <drepper@gmail.com>
13788 * po/Makefile (po-sed-cmd): Add ksh to extensions.
13789 (libc.pot): Work around missing support for .ksh extension in xgettext.
13792 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
13793 if both request failed.
13794 (send_dg): In case of server errors clear resplen or *resplen2.
13797 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
13798 when there are multiple maps.
13799 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
13800 (_dl_fini): Remove test here.
13802 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
13804 2011-05-29 Ulrich Drepper <drepper@gmail.com>
13807 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
13808 bit from old_res_options.
13809 (gaih_inet): Likewise.
13812 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
13815 * resolv/res_init.c (res_setoptions): Make the code more compact.
13818 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
13822 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
13824 * malloc/malloc.h: Mark malloc hook variables as deprecated.
13827 * malloc/malloc.h: Declare malloc hook variables as volatile.
13829 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
13833 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
13834 raise in the comment.
13835 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
13836 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13837 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
13839 2011-05-28 Ulrich Drepper <drepper@gmail.com>
13842 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
13843 grow the buffers more if it already has to be sufficient.
13844 (build_wcs_upper_buffer): Likewise.
13845 * posix/regexec.c (check_matching): Likewise.
13846 (clean_state_log_if_needed): Likewise.
13847 (extend_buffers): Don't enlarge buffers beyond size of the input
13849 Patches mostly by Emil Wojak <emil@wojak.eu>.
13850 * posix/bug-regex32.c: New file.
13851 * posix/Makefile (tests): Add bug-regex32.
13853 * locale/findlocale.c (_nl_find_locale): Return right away if
13854 _nl_explode_name failed.
13855 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
13857 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
13859 * debug/xtrace.sh: Unify messages.
13860 * malloc/memusage.sh: Likewise.
13863 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
13864 time symbol from vDSO. Substitute with vsyscall if not available.
13865 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
13868 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
13869 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
13870 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
13871 Add sendmmsg and internal_sendmmsg.
13872 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
13873 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
13874 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
13876 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
13877 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
13878 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
13880 2011-05-27 Ulrich Drepper <drepper@gmail.com>
13883 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
13884 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
13886 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
13890 * iconvdata/Makefile (tests): Add bug-iconv9.
13891 * iconvdata/bug-iconv9.c: New file.
13893 2011-05-27 Andreas Schwab <schwab@redhat.com>
13896 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
13898 2011-05-25 Jakub Jelinek <jakub@redhat.com>
13900 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13901 (struct user_regs_struct): Change intcs field back to cs.
13903 2011-05-25 Ulrich Drepper <drepper@gmail.com>
13905 * po/ja.po: Update from translation team.
13907 2011-05-23 Ulrich Drepper <drepper@gmail.com>
13910 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
13911 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
13913 2011-05-20 Andreas Schwab <schwab@redhat.com>
13915 * stdlib/longlong.h: Update from GCC.
13917 2011-05-23 Andreas Schwab <schwab@redhat.com>
13919 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
13921 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
13922 Add parameter name.
13923 (__sysconf): Pass it down.
13925 2011-05-22 Ulrich Drepper <drepper@gmail.com>
13928 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
13930 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
13931 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
13932 add in in __libc_use_alloca calls. Adjust callers.
13933 (glob): Use malloc in some situations.
13935 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
13936 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
13939 2011-05-21 Ulrich Drepper <drepper@gmail.com>
13941 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
13942 and CLOCK_BOOTTIME_ALARM.
13945 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
13948 * string/_strerror.c (__strerror_r): Print negative errors as signed
13952 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
13953 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
13954 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
13956 * configure.in: Fix typo in redirection and correct removal of test
13957 files in two cases.
13960 * locale/setlocale.c (new_composite_name): Fix test to check for
13961 identical name of all categories.
13964 * libio/filedoalloc.c (local_isatty): New function.
13965 (_IO_file_doallocate): Use local_isatty.
13966 * stdio-common/perror.c (perror): In case a new stream is used
13967 forward the stream error.
13968 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
13971 2011-05-20 Ulrich Drepper <drepper@gmail.com>
13974 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
13976 * include/alloca.h (extend_alloca_account): Define.
13979 * posix/regex.h: Fix comments with documentation of user-accessible
13980 fields after compilation and describe correct free'ing of pattern
13981 after re_compile_pattern.
13982 Patch by Reuben Thomas <rrt@sc3d.org>.
13984 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
13986 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
13987 and -mno-altivec to prevent the compiler from using Altivec and/or
13988 VSX instructions when the corresponding registers are not available.
13990 2011-05-19 Andreas Schwab <schwab@redhat.com>
13992 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
13994 2011-05-19 Ulrich Drepper <drepper@gmail.com>
13996 * libio/freopen.c (freopen): Use __dup2, not dup2.
13997 * libio/freopen64.c (freopen64): Likewise.
13999 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
14002 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
14003 * math/Makefile (tests): Add test-powl.
14004 (CFLAGS-test-powl.c): Define.
14005 * math/test-powl.c: New file.
14007 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
14009 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
14011 2011-05-17 Ulrich Drepper <drepper@gmail.com>
14014 * iconvdata/gb18030.c: Update to GB18020-2005.
14016 2011-05-16 Ulrich Drepper <drepper@gmail.com>
14018 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
14019 RE_SYNTAX_POSIX_AWK): Update to match recent development.
14020 Patch by Aharon Robbins <arnold@skeeve.com>.
14023 * stdlib/putenv.c (putenv): Don't always create copy of the variable
14027 * misc/pselect.c (__pselect): Handle timeout value errors hidden
14028 through underflows.
14031 * misc/error.c (error_at_line): Ensure file_name and old_file_name
14032 point to strings before performing equality test for error_one_per_line
14036 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
14039 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
14040 (struct user_fpregs_struct): Avoid __uint*_t types.
14043 * malloc/mtrace.c (tr_where): Add additional parameter to point to
14044 symbol info. Use it instead of calling _dl_addr locally.
14045 (lock_and_info): New function.
14046 (tr_freehook): Call lock_and_info and pass symbol info as additional
14047 parameter to tr_where.
14048 (tr_mallochook): Likewise.
14049 (tr_reallochook): Likewise.
14050 (tr_memalignhook): Likewise.
14052 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
14053 used and couldn't be at all thread-safe.
14055 2011-05-15 Ulrich Drepper <drepper@gmail.com>
14057 * libio/freopen.c (freopen): Don't close old file descriptor
14058 before the new one is opened. Instead dup the new file descriptor
14059 to the old one after the new stream is created.
14060 * libio/freopen64.c (freopen64): Likewise.
14061 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
14062 * libio/fileops.c (_IO_new_file_close_it): Handle new
14063 _IO_FLAGS2_NOCLOSE flag.
14064 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
14065 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
14066 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
14067 _IO_FLAGS2_NOCLOSE flag.
14068 * include/unistd.h: Add hidden_proto for dup3.
14069 Define __have_dup3.
14070 * io/dup3.c: Define hidden symbol.
14071 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
14074 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
14075 when an incomplete long option is used.
14076 * posix/tst-getopt_long1.c: New file.
14077 * posix/Makefile (tests): Add tst-getopt_long1.
14080 * scripts/config.guess: Update from autoconf-2.68.
14081 * scripts/config.sub: Likewise.
14084 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
14086 (has_cpuclock): ...this. New function.
14087 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
14088 macro here based on has_cpuclock code.
14091 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14092 First byte (not low byte) is now always NUL.
14093 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
14095 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14096 Use non-cancelable interfaces.
14099 * locale/iso-639.def: Add entry for Sorani.
14102 * include/stdlib.h: Move include protection to the right place.
14103 Define abort_msg_s. Declare __abort_msg with it.
14104 * stdlib/abort.c (__abort_msg): Adjust type.
14105 * assert/assert.c (__assert_fail_base): New function. Majority
14106 of code from __assert_fail. Allocate memory for __abort_msg with
14108 (__assert_fail): Now call __assert_fail_base.
14109 * assert/assert-perr.c: Remove bulk of implementation. Use
14110 __assert_fail_base.
14111 * include/assert.hL Declare __assert_fail_base.
14112 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
14114 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
14116 2011-05-14 Ulrich Drepper <drepper@gmail.com>
14120 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
14121 until all modules are registered in the DTV.
14122 * elf/Makefile: Add rules to build and run tst-tls19.
14123 * elf/tst-tls19.c: New file.
14124 * elf/tst-tls19mod1.c: New file.
14125 * elf/tst-tls19mod2.c: New file.
14126 * elf/tst-tls19mod3.c: New file.
14127 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
14130 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
14134 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
14135 two-byte sequence errors.
14136 * iconvdata/Makefile (tests): Add bug-iconv8.
14137 * iconvdata/bug-iconv8.c: New file.
14140 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
14143 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
14146 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
14147 (dummy_getcfa): New function.
14148 (init): Get _Unwind_GetCFA address, use dummy if not found.
14149 (backtrace_helper): In recursion check, also check whether CFA changes.
14150 (__backtrace): Completely initialize arg.
14152 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
14153 storing incomplete byte sequence in state object. Avoid testing for
14154 guaranteed too small input if we know there is enough data available.
14156 2011-05-11 Andreas Schwab <schwab@redhat.com>
14158 * Makeconfig (+link-pie): Indent.
14159 * Rules (binaries-pie): Define if $(have-fpie) and
14161 (binaries-shared): Also filter out $(binaries-pie).
14162 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
14163 * nscd/Makefile (others-pie): Add nscd.
14164 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
14165 ($(objpfx)nscd): Remove command override.
14166 * login/Makefile (others-pie): Add pt_chown.
14167 ($(objpfx)pt_chown): Remove command override.
14168 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
14169 remove command overrides.
14171 2011-05-13 Ulrich Drepper <drepper@gmail.com>
14173 * libio/tst_putwc.c: Fix error messages.
14176 * libio/fileops.c (_IO_new_file_close_it): Always flush when
14177 currently writing and seek to current position when not.
14178 * libio/Makefile (tests): Add bug-fclose1.
14179 * libio/bug-fclose1.c: New file.
14181 2011-05-12 Ulrich Drepper <drepper@gmail.com>
14184 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
14185 don't set DF_1_NODELETE here.
14186 (do_lookup_x): When entering new entry test for copy relocation
14187 and if necessary set DF_1_NODELETE flag.
14188 * elf/tst-unique4.cc: New file.
14189 * elf/tst-unique4.h: New file.
14190 * elf/tst-unique4lib.cc: New file.
14191 * elf/Makefile: Add rules to build and run tst-unique4.
14192 Patch by Piotr Bury <pbury@goahead.com>.
14194 2011-05-11 Ulrich Drepper <drepper@gmail.com>
14197 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
14200 * misc/mntent_r.c (addmntent): Flush the stream after the output
14203 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
14204 (is_trusted_path_normalize): Skip initial colon. Append slash
14205 to empty buffer. Duplicate is_trusted_path code but allow
14206 constructed patch to be prefix.
14207 (is_dst): Allow $ORIGIN followed by /.
14208 (_dl_dst_substitute): Correct clearing of check_for_trusted.
14209 Correct testing of result of is_trusted_path_normalize
14210 (decompose_rpath): Fix warning.
14212 2011-05-10 Ulrich Drepper <drepper@gmail.com>
14215 * grp/initgroups.c (internal_getgrouplist): When we found the service
14216 list through the initgroups entry in nsswitch.conf do not always
14217 continue on a successful lookup. Don't always use the
14218 __nss_group_database value if it is set.
14219 * nss/nsswitch.conf (initgroups): Change action for successful db
14220 lookup to continue for compatibility.
14222 2011-05-09 Ulrich Drepper <drepper@gmail.com>
14225 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
14227 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
14229 * iconvdata/tst-tables.sh: Likewise.
14230 * iconvdata/cp770.c: New file.
14231 * iconvdata/cp771.c: New file.
14232 * iconvdata/cp772.c: New file.
14233 * iconvdata/cp773.c: New file.
14234 * iconvdata/cp774.c: New file.
14235 * iconvdata/testdata/CP770: New file.
14236 * iconvdata/testdata/CP770..UTF8: New file.
14237 * iconvdata/testdata/CP771: New file.
14238 * iconvdata/testdata/CP771..UTF8: New file.
14239 * iconvdata/testdata/CP772: New file.
14240 * iconvdata/testdata/CP772..UTF8: New file.
14241 * iconvdata/testdata/CP773: New file.
14242 * iconvdata/testdata/CP773..UTF8: New file.
14243 * iconvdata/testdata/CP774: New file.
14244 * iconvdata/testdata/CP774..UTF8: New file.
14246 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
14248 * iconvdata/gen-8bit-gap.sh: Likewise.
14249 * iconvdata/gen-8bit.sh: Likewise.
14251 * locale/iso-639.def: Add ary entry.
14254 * locale/C-translit.h.in: Add U20A1 transliteration.
14257 * locale/iso-639.def: Add wae entry.
14258 Patch by Kevin Bortis <bortis@translate-wae.ch>.
14261 * locale/programs/localedef.c (construct_output_path): Use ssize_t
14265 * locale/C-translit.h.in: Add entry for U20B9.
14266 Patch by pravin.d.s@gmail.com.
14268 2011-05-08 Ulrich Drepper <drepper@gmail.com>
14271 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
14272 ENAMETOOLONG use generic getcwd.
14273 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
14274 in rtld. Use *stat64.
14275 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
14276 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
14277 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
14278 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
14279 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
14280 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
14281 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
14282 __fstatat64 macros.
14283 * include/dirent.h: Add libc_hidden_proto for rewinddir.
14284 * dirent/rewinddir.c: Add libc_hidden_def.
14285 * sysdeps/mach/hurd/rewinddir.c: Likewise.
14286 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
14288 * include/dirent.h (__alloc_dir): Add flags parameter.
14289 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
14290 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
14292 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
14293 from fdopendir if O_CLOEXEC is already set.
14295 2011-03-15 Alan Modra <amodra@gmail.com>
14297 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
14298 l_tls_firstbyte_offset non-zero. Save padding offset in
14299 l_tls_firstbyte_offset for later use.
14300 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
14301 freeing static tls block.
14303 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
14305 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
14306 where #ifdef was intended. The intent is to prevent ARG_MAX from
14307 being defined by the kernel headers.
14309 2011-05-07 Ulrich Drepper <drepper@gmail.com>
14312 * resolv/resolv.h: Define RES_NOTLDQUERY.
14313 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
14314 no-tld-query and set RES_NOTLDQUERY.
14315 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
14316 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
14317 modern BIND to search name as TLD unless forbidden.
14319 2011-05-07 Petr Baudis <pasky@suse.cz>
14320 Ulrich Drepper <drepper@gmail.com>
14323 * elf/dl-load.c (fillin_rpath): Move trusted path check...
14324 (is_trusted_path): ...to here.
14325 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
14326 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
14327 using is_trusted_path_normalize() in setuid scripts.
14329 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14331 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
14332 __BEGIN/__END_DECLS.
14334 2011-05-06 Ulrich Drepper <drepper@gmail.com>
14336 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
14337 NSS_STATUS_NOTFOUND if no record was found.
14339 2011-05-05 Andreas Schwab <schwab@redhat.com>
14341 * sunrpc/Makefile (headers): Add rpc/netdb.h.
14342 (headers-not-in-tirpc): Remove rpc/netdb.h
14343 * resolv/netdb.h: Revert last change.
14345 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14347 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
14348 circular dependency between libgcc.a and libc.a.
14350 2011-05-05 Andreas Schwab <schwab@redhat.com>
14352 * resolv/netdb.h: Don't include <rpc/netdb.h>.
14353 * nis/Makefile: Don't install rpcsvc/*.
14354 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
14355 instead of <rpc/types.h>.
14356 (MAXHOSTNAMELEN): Define.
14358 2011-05-03 Andreas Schwab <schwab@redhat.com>
14360 * elf/ldconfig.c (add_dir): Don't crash on empty path.
14362 2011-04-28 Maciej Babinski <mbabinski@google.com>
14365 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
14366 gethostbyname4_r when IPv6 results are possible.
14368 2011-05-02 Ulrich Drepper <drepper@gmail.com>
14371 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
14372 _PC_PIPE_BUF handling.
14374 2011-04-30 Bruno Haible <bruno@clisp.org>
14377 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
14378 * resolv/netdb.h (getnameinfo): Change type of flags parameter
14380 * inet/getnameinfo.c (getnameinfo): Likewise.
14382 2011-04-29 Ulrich Drepper <drepper@gmail.com>
14384 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
14385 to groups setting in database lookup.
14386 * nss/nsswitch.conf: Add initgroups entry.
14388 2011-04-22 Ulrich Drepper <drepper@gmail.com>
14391 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
14393 Patch by Eric Blake <eblake@redhat.com>.
14395 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
14397 * sunrpc/Makefile (need-export-routines): Add svc_run.
14398 (routines): Remove svc_run.
14399 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
14400 * sunrpc/clnt_perr.c (clnt_perrno): Export.
14401 * sunrpc/svc_run.c (svc_run): Likewise.
14402 * sunrpc/svc_udp.c (svcudp_create): Likewise.
14404 2011-04-21 Ulrich Drepper <drepper@gmail.com>
14406 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
14407 problem in reallocation in last patch.
14409 2011-04-20 Ulrich Drepper <drepper@gmail.com>
14411 * sunrpc/Makefile: Move inclusion of Rules.
14413 2011-04-19 Ulrich Drepper <drepper@gmail.com>
14415 * nss/nss_files/files-initgroups.c: New file.
14416 * nss/Makefile (libnss_files-routines): Add files-initgroups.
14417 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
14418 _nss_files_initgroups_dyn.
14420 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
14422 * elf/elf.h (R_ARM_IRELATIVE): Define.
14424 2011-04-19 Ulrich Drepper <drepper@gmail.com>
14426 * po/ru.po: Update from translation team.
14428 2011-04-17 Ulrich Drepper <drepper@gmail.com>
14430 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
14433 2011-02-06 Mike Frysinger <vapier@gentoo.org>
14436 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
14437 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
14438 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
14439 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14440 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14442 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
14444 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
14446 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14447 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14448 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14450 2011-04-17 Ulrich Drepper <drepper@gmail.com>
14453 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
14455 * stdlib/bug-getcontext.c: New file.
14456 * stdlib/Makefile: Add rules to build and run bug-getcontext.
14458 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14460 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
14461 instructions into .machine "z9-109".
14462 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
14463 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
14465 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14467 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
14468 between environment variables and auxiliary vector.
14470 2011-04-16 Ulrich Drepper <drepper@gmail.com>
14472 * Makefile: Add rules to build linkobj/libc.so.
14473 * include/libc-symbols.h: Define libc_hidden_nolink.
14474 * include/rpc/auth.h: Mark functions which are to be hidden.
14475 * include/rpc/auth_des.h: Likewise.
14476 * include/rpc/auth_unix.h: Likewise.
14477 * include/rpc/clnt.h: Likewise.
14478 * include/rpc/des_crypt.h: Likewise.
14479 * include/rpc/key_prot.h: Likewise.
14480 * include/rpc/pmap_clnt.h: Likewise.
14481 * include/rpc/pmap_prot.h: Likewise.
14482 * include/rpc/pmap_rmt.h: Likewise.
14483 * include/rpc/rpc_msg.h: Likewise.
14484 * include/rpc/svc.h: Likewise.
14485 * include/rpc/svc_auth.h: Likewise.
14486 * include/rpc/xdr.h: Likewise.
14487 * nis/Makefile: Link all DSOs against linkobj/libc.so.
14488 * nss/Makefile: Likewise.
14489 * sunrpc/Makefile: Don't install headers. Build library with normal
14490 entry points. Don't build rpcinfo. Link RPC tests appropriately.
14491 * sunrpc/auth_des.c: Hide exported symbols by default, export some
14492 for the compat linking library. Remove use of INTDEF/INTUSE.
14493 * sunrpc/auth_none.c: Likewise.
14494 * sunrpc/auth_unix.c: Likewise.
14495 * sunrpc/authdes_prot.c: Likewise.
14496 * sunrpc/authuxprot.c: Likewise.
14497 * sunrpc/clnt_gen.c: Likewise.
14498 * sunrpc/clnt_perr.c: Likewise.
14499 * sunrpc/clnt_raw.c: Likewise.
14500 * sunrpc/clnt_simp.c: Likewise.
14501 * sunrpc/clnt_tcp.c: Likewise.
14502 * sunrpc/clnt_udp.c: Likewise.
14503 * sunrpc/clnt_unix.c: Likewise.
14504 * sunrpc/des_crypt.c: Likewise.
14505 * sunrpc/des_soft.c: Likewise.
14506 * sunrpc/get_myaddr.c: Likewise.
14507 * sunrpc/key_call.c: Likewise.
14508 * sunrpc/key_prot.c: Likewise.
14509 * sunrpc/netname.c: Likewise.
14510 * sunrpc/pm_getmaps.c: Likewise.
14511 * sunrpc/pm_getport.c: Likewise.
14512 * sunrpc/pmap_clnt.c: Likewise.
14513 * sunrpc/pmap_prot.c: Likewise.
14514 * sunrpc/pmap_prot2.c: Likewise.
14515 * sunrpc/pmap_rmt.c: Likewise.
14516 * sunrpc/publickey.c: Likewise.
14517 * sunrpc/rpc_cmsg.c: Likewise.
14518 * sunrpc/rpc_common.c: Likewise.
14519 * sunrpc/rpc_dtable.c: Likewise.
14520 * sunrpc/rpc_prot.c: Likewise.
14521 * sunrpc/rpc_thread.c: Likewise.
14522 * sunrpc/rtime.c: Likewise.
14523 * sunrpc/svc.c: Likewise.
14524 * sunrpc/svc_auth.c: Likewise.
14525 * sunrpc/svc_authux.c: Likewise.
14526 * sunrpc/svc_raw.c: Likewise.
14527 * sunrpc/svc_run.c: Likewise.
14528 * sunrpc/svc_simple.c: Likewise.
14529 * sunrpc/svc_tcp.c: Likewise.
14530 * sunrpc/svc_udp.c: Likewise.
14531 * sunrpc/svc_unix.c: Likewise.
14532 * sunrpc/svcauth_des.c: Likewise.
14533 * sunrpc/xcrypt.c: Likewise.
14534 * sunrpc/xdr.c: Likewise.
14535 * sunrpc/xdr_array.c: Likewise.
14536 * sunrpc/xdr_float.c: Likewise.
14537 * sunrpc/xdr_intXX_t.c: Likewise.
14538 * sunrpc/xdr_mem.c: Likewise.
14539 * sunrpc/xdr_rec.c: Likewise.
14540 * sunrpc/xdr_ref.c: Likewise.
14541 * sunrpc/xdr_sizeof.c: Likewise.
14542 * sunrpc/xdr_stdio.c: Likewise.
14544 2011-04-10 Ulrich Drepper <drepper@gmail.com>
14547 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
14548 * sysdeps/ia64/dl-tls.h: Likewise.
14549 * sysdeps/powerpc/dl-tls.h: Likewise.
14550 * sysdeps/s390/dl-tls.h: Likewise.
14551 * sysdeps/sh/dl-tls.h: Likewise.
14552 * sysdeps/sparc/dl-tls.h: Likewise.
14553 * sysdeps/x86_64/dl-tls.h: Likewise.
14554 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
14556 2011-03-14 Andreas Schwab <schwab@redhat.com>
14558 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
14559 rpath element also skip the following colon.
14560 (expand_dynamic_string_token): Add is_path parameter and pass
14561 down to DL_DST_REQUIRED and _dl_dst_substitute.
14562 (decompose_rpath): Call expand_dynamic_string_token with
14563 non-zero is_path. Ignore empty rpaths.
14564 (_dl_map_object_from_fd): Call expand_dynamic_string_token
14567 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
14569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
14572 2011-04-09 Ulrich Drepper <drepper@gmail.com>
14575 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
14576 Patch by Filipe David Manana <fdmanana@apache.org>.
14578 2011-04-07 Andreas Schwab <schwab@redhat.com>
14580 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
14581 Maintain aligned stack.
14582 (CHECK_RSP): Remove unused macro.
14584 2011-04-03 Ulrich Drepper <drepper@gmail.com>
14586 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
14587 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
14589 2011-04-02 Ulrich Drepper <drepper@gmail.com>
14591 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
14593 * include/features.h: Mention __USE_XOPEN2K8 in comment.
14595 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
14598 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
14599 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
14600 * sysdeps/x86_64/memmove.c: New file.
14601 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
14602 (memcpy): Renamed to ...
14603 (__new_memcpy): This.
14604 (memcpy): Provide GLIBC_2_14 memcpy.
14605 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
14606 (memcpy): Provide GLIBC_2_2_5 memcpy.
14608 2011-04-01 Ulrich Drepper <drepper@gmail.com>
14611 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
14613 2011-03-30 Andreas Schwab <schwab@redhat.com>
14615 * misc/syncfs.c: New file.
14616 * misc/Makefile (routines): Add syncfs.
14617 * posix/unistd.h: Declare syncfs.
14618 * sysdeps/unix/syscalls.list: Add syncfs.
14620 2011-04-01 Andreas Schwab <schwab@redhat.com>
14622 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
14624 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14625 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14626 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14627 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14628 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14629 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
14630 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14632 2011-04-01 Ulrich Drepper <drepper@gmail.com>
14634 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
14635 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14636 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
14637 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14638 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14639 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14640 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14642 * io/Makefile: Compile fallocate.c, fallocate64.c, and
14643 sync_file_range.c with -fexceptions.
14644 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
14645 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
14646 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
14647 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
14648 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
14649 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
14650 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
14651 sync_file_range as cancellation point
14652 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
14653 now a wrapper around __call_sync_file_range with cancellation handling.
14654 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
14655 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
14656 function name to __call_sync_file_range.
14657 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
14658 Add call_sync_file_range.
14660 2011-04-01 Andreas Schwab <schwab@redhat.com>
14662 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14665 2011-04-01 Ulrich Drepper <drepper@gmail.com>
14667 * iconv/iconv.h: Fix typo in comment.
14668 * io/fcntl.h: Likewise.
14669 * libio/stdio.h: Likewise.
14670 * posix/spawn.h: Likewise.
14671 * posix/unistd.h: Likewise.
14672 * stdlib/stdlib.h: Likewise.
14673 * time/time.h: Likewise.
14674 * wcsmbs/wchar.h: Likewise.
14676 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
14677 open_by_handle): Add.
14678 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
14679 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
14680 Augment a few comments.
14681 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14682 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14683 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14684 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14685 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14686 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
14689 * io/fcntl.h (AT_EMPTY_PATH): Define.
14691 2011-03-30 Ulrich Drepper <drepper@gmail.com>
14693 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
14694 * sysdeps/unix/sysv/linux/bits/time.h: New file.
14695 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
14697 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
14698 * Versions.def: Add GLIBC_2.14.
14699 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
14702 2011-03-22 Ulrich Drepper <drepper@gmail.com>
14704 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
14706 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14708 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
14711 * string/test-strncmp.c (do_page_test): New function.
14712 (check2): Likewise.
14713 (test_main): Call check2.
14714 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
14716 2011-03-20 Ulrich Drepper <drepper@gmail.com>
14719 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
14720 Handle cache information in CPU leaf 4.
14721 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14723 2011-03-18 Ulrich Drepper <drepper@gmail.com>
14726 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
14727 character representation.
14728 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
14730 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
14732 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
14733 END(__isnan) to END(__isnanf) to match function entry point/label
14734 EALIGN(__isnanf,...).
14736 2011-03-10 Jakub Jelinek <jakub@redhat.com>
14738 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
14740 2011-03-10 Ulrich Drepper <drepper@gmail.com>
14743 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
14744 copy from the symbol referenced in the relocation to initialize the
14746 Patch by Piotr Bury <pbury@goahead.com>.
14747 * elf/Makefile: Add rules to build and tst-unique3.
14748 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
14749 * elf/tst-unique3.cc: New file.
14750 * elf/tst-unique3.h: New file.
14751 * elf/tst-unique3lib.cc: New file.
14752 * elf/tst-unique3lib2.cc: New file.
14754 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
14756 2011-03-10 Mike Frysinger <vapier@gentoo.org>
14758 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
14759 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
14762 2011-03-06 Ulrich Drepper <drepper@gmail.com>
14764 * elf/dl-load.c (_dl_map_object): If we are looking for the first
14765 to-be-loaded object along a path to loader is ld.so.
14767 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14768 Ulrich Drepper <drepper@gmail.com>
14770 * sysdeps/x86_64/memset.S: After aligning destination, code
14771 branches to different locations depending on the value of
14772 misalignment, when multiarch is enabled. Fix this.
14774 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14776 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
14777 Set _x86_64_preferred_memory_instruction for AMD processsors.
14778 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14779 Set bit_Prefer_SSE_for_memop for AMD processors.
14781 2011-03-04 Ulrich Drepper <drepper@gmail.com>
14783 * libio/fmemopen.c (fmemopen): Optimize a bit.
14785 2011-03-03 Andreas Schwab <schwab@redhat.com>
14787 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
14789 2011-03-03 Roland McGrath <roland@redhat.com>
14791 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
14793 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
14795 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
14796 __bzero_ultra1 instead of __memset_ultra1.
14798 2011-02-23 Andreas Schwab <schwab@redhat.com>
14799 Ulrich Drepper <drepper@gmail.com>
14802 * include/link.h (struct link_map): Add l_orig_initfini.
14803 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
14804 returning unsuccessfully.
14805 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
14806 close of a file loaded at startup, restore the original l_initfini
14808 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
14809 list, store the pointer.
14810 * elf/Makefile ($(objpfx)noload-mem): New rule.
14811 (noload-ENV): Define.
14812 (tests): Add $(objpfx)noload-mem.
14813 * elf/noload.c: Include <memcheck.h>.
14814 (main): Call mtrace. Close all opened handles.
14816 2011-02-17 Andreas Schwab <schwab@redhat.com>
14819 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
14820 dependencies are missing.
14822 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
14824 Fix __if_freereq crash: Unlike the generic version which uses free,
14826 * sysdeps/mach/hurd/ifreq.h: New file.
14828 2011-01-27 Petr Baudis <pasky@suse.cz>
14829 Ulrich Drepper <drepper@gmail.com>
14832 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
14833 to extend_alloca().
14834 * stdio-common/bug23.c: New file.
14835 * stdio-common/Makefile (tests): Add bug23.
14837 2010-09-28 Andreas Schwab <schwab@redhat.com>
14838 Ulrich Drepper <drepper@gmail.com>
14841 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
14842 before performing relro protection. At old place add assertion
14843 to make sure nothing changed.
14845 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
14846 Glauber de Oliveira Costa <glommer@gmail.com>
14848 * elf/elf.h: Add new ARM TLS relocs.
14850 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
14852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14853 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
14855 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
14857 * sysdeps/wordsize-64/tst-writev.c: New file.
14859 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
14861 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
14862 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
14863 insns in _dl_start to prevent a TOC reference before relocs are
14866 2011-02-15 Ulrich Drepper <drepper@gmail.com>
14869 * Makeconfig: Remove RANLIB definition.
14870 * Makerules: Don't use RANLIB.
14871 * aclocal.m4: Remove ranlib test.
14872 * configure.in: No need to check for ranlib.
14873 * elf/rtld-Rules: Don't use RANLIB.
14875 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14877 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
14879 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
14880 inclusion protection macro.
14882 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
14883 SIGRTMIN and SIGRTMAX and print information in that case only when
14884 SIGRTMIN is defined.
14886 2011-02-11 Jakub Jelinek <jakub@redhat.com>
14888 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
14889 arginfo fn returning -1.
14891 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
14892 and thousands string is zero terminated.
14894 2011-02-03 Andreas Schwab <schwab@redhat.com>
14896 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
14897 sysdeps/unix/sysv/linux/bits/socket.h.
14899 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
14901 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
14902 (__CPU_COUNT): Remove old macros.
14903 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
14904 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
14905 (__CPU_ALLOC, __CPU_FREE): Add macros.
14906 (__sched_cpualloc, __sched_cpufree): Add declarations.
14908 2011-02-05 Ulrich Drepper <drepper@gmail.com>
14910 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
14911 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
14912 * nscd/aicache.c (addhstaiX): Return timeout of added value.
14913 (readdhstai): Return value of addhstaiX call.
14914 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
14915 (addgrbyX): Return value returned by cache_addgr.
14916 (readdgrbyname): Return value returned by addgrbyX.
14917 (readdgrbygid): Likewise.
14918 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
14919 (addpwbyX): Return value returned by cache_addpw.
14920 (readdpwbyname): Return value returned by addhstbyX.
14921 (readdpwbyuid): Likewise.
14922 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
14923 (addservbyX): Return value returned by cache_addserv.
14924 (readdservbyname): Return value returned by addservbyX:
14925 (readdservbyport): Likewise.
14926 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
14927 (addhstbyX): Return value returned by cache_addhst.
14928 (readdhstbyname): Return value returned by addhstbyX.
14929 (readdhstbyaddr): Likewise.
14930 (readdhstbynamev6): Likewise.
14931 (readdhstbyaddrv6): Likewise.
14932 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
14933 (readdinitgroups): Return value returned by addinitgroupsX.
14934 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
14935 (prune_cache): Keep track of timeout value of re-added entries.
14936 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
14937 * nscd/nscd.h: Adjust prototypes of readd* functions.
14939 2011-02-04 Roland McGrath <roland@redhat.com>
14941 * nis/nis_server.c (nis_servstate): Use the right name for 0.
14942 (nis_stats): Likewise.
14943 * nis/nis_modify.c (nis_modify): Likewise.
14944 * nis/nis_remove.c (nis_remove): Likewise.
14945 * nis/nis_add.c (nis_add): Likewise.
14947 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
14949 * posix/fnmatch_loop.c: Add some consts.
14951 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
14953 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
14956 * config.make.in (config-cflags-novzeroupper): Define.
14957 * configure.in: Substitute libc_cv_cc_novzeroupper.
14958 * elf/Makefile (AVX-CFLAGS): Define.
14959 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
14960 (CFLAGS-tst-auditmod4a.c): Likewise.
14961 (CFLAGS-tst-auditmod4b.c): Likewise.
14962 (CFLAGS-tst-auditmod6b.c): Likewise.
14963 (CFLAGS-tst-auditmod6c.c): Likewise.
14964 (CFLAGS-tst-auditmod7b.c): Likewise.
14965 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
14967 2011-02-02 Ulrich Drepper <drepper@gmail.com>
14969 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
14970 function to the callback.
14971 Patch partly by Jiri Olsa <jolsa@redhat.com>.
14973 2011-02-02 Andreas Schwab <schwab@redhat.com>
14975 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
14978 2011-01-19 Ulrich Drepper <drepper@gmail.com>
14981 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
14983 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
14985 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
14988 * elf/Makefile: Add rules to build and run new test.
14989 * elf/tst-initorder.c: New file.
14990 * elf/tst-initorder.exp: New file.
14991 * elf/tst-initordera1.c: New file.
14992 * elf/tst-initordera2.c: New file.
14993 * elf/tst-initordera3.c: New file.
14994 * elf/tst-initordera4.c: New file.
14995 * elf/tst-initorderb1.c: New file.
14996 * elf/tst-initorderb2.c: New file.
14997 * elf/tst-order-a1.c: New file.
14998 * elf/tst-order-a2.c: New file.
14999 * elf/tst-order-a3.c: New file.
15000 * elf/tst-order-a4.c: New file.
15001 * elf/tst-order-b1.c: New file.
15002 * elf/tst-order-b2.c: New file.
15003 * elf/tst-order-main.c: New file.
15004 New test case by George Gensure <werkt0@gmail.com>.
15006 2010-10-01 Andreas Schwab <schwab@redhat.com>
15008 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
15009 decoding ACE if AI_CANONIDN.
15011 2011-01-18 Ulrich Drepper <drepper@gmail.com>
15013 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
15015 2011-01-17 Ulrich Drepper <drepper@gmail.com>
15017 * version.h (RELEASE): Bump for 2.13 release.
15018 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
15020 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
15022 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
15024 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
15025 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
15026 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15027 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
15028 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15029 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
15031 * posix/getconf.c: Update copyright year.
15032 * catgets/gencat.c: Likewise.
15033 * csu/version.c: Likewise.
15034 * debug/catchsegv.sh: Likewise.
15035 * debug/xtrace.sh: Likewise.
15036 * elf/ldconfig.c: Likewise.
15037 * elf/ldd.bash.in: Likewise.
15038 * elf/sprof.c (print_version): Likewise.
15039 * iconv/iconv_prog.c: Likewise.
15040 * iconv/iconvconfig.c: Likewise.
15041 * locale/programs/locale.c: Likewise.
15042 * locale/programs/localedef.c: Likewise.
15043 * malloc/memusage.sh: Likewise.
15044 * malloc/mtrace.pl: Likewise.
15045 * nscd/nscd.c (print_version): Likewise.
15046 * nss/getent.c: Likewise.
15048 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
15049 PF_CAIF, and PF_ALG.
15050 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15052 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
15054 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
15055 (modules-names): Use them.
15056 (ifunc-test-modules, ifunc-pie-tests): Define.
15057 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
15058 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
15059 (test-extras): Likewise.
15060 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
15061 $(compile-command.c).
15062 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
15063 (all-built-dso): Define.
15064 (check-textrel.out, check-execstack.out): Depend on it.
15066 * configure.in: Don't override --enable-multi-arch.
15068 2011-01-15 Ulrich Drepper <drepper@gmail.com>
15071 * nscd/hstcache.c (tryagain): Define.
15072 (cache_addhst): Return tryagain not notfound for temporary errors.
15073 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
15076 2011-01-14 Ulrich Drepper <drepper@gmail.com>
15079 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
15080 to make the syscall.
15081 * sysdeps/unix/sysv/linux/setgroups.c: New file.
15084 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
15085 and fall back to matching as normal character if the string ends before
15086 the matching ']' is found. This is what POSIX requires.
15087 * posix/testfnm.c: Adjust test result.
15088 * posix/globtest.sh: Adjust test result. Add new test.
15089 * posix/tst-fnmatch.input: Likewise.
15090 * posix/tst-fnmatch2.c: Add new test.
15092 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
15094 * elf/Makefile (check-execstack): Revert last change. Depend on
15096 (check-execstack.h): New target.
15097 (generated): Add check-execstack.h.
15098 * elf/check-execstack.c: Include "check-execstack.h".
15099 (main): Revert last change.
15100 (handle_file): Return zero if GNU_STACK is absent and
15101 DEFAULT_STACK_PERMS doesn't include PF_X.
15103 2011-01-13 Ulrich Drepper <drepper@gmail.com>
15105 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
15106 in child fails because the descriptor is already closed.
15107 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
15108 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
15109 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
15112 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
15116 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
15117 temporary buffer used to handle multi lookups locally.
15118 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
15120 2011-01-12 Ulrich Drepper <drepper@gmail.com>
15122 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
15125 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
15127 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
15128 alignment for SSE2.
15130 2011-01-12 Ulrich Drepper <drepper@gmail.com>
15133 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
15134 characters. When rounding increased number of integer digits recompute
15136 * stdio-common/tst-grouping.c: New file.
15137 * stdio-common/Makefile: Add rules to build and run tst-grouping.
15139 2011-01-09 Ulrich Drepper <drepper@gmail.com>
15141 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
15142 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
15144 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
15146 * bits/select.h: Likewise.
15148 2011-01-08 Ulrich Drepper <drepper@gmail.com>
15150 * po/ja.po: Update from translation team.
15152 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
15155 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
15156 implementation just like for lxstat, fxstatat, et al.
15158 2010-12-27 Jim Meyering <meyering@redhat.com>
15161 * posix/regexec.c (build_trtable): Return failure indication upon
15162 calloc failure. Otherwise, re_search_internal could infloop on OOM.
15164 2010-12-25 Ulrich Drepper <drepper@gmail.com>
15167 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
15168 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
15169 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
15170 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
15173 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
15176 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
15177 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
15179 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
15181 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
15182 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
15183 script has SORT_BY_INIT_PRIORITY.
15184 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
15185 NO_CTORS_DTORS_SECTIONS is defined.
15186 * elf/soinit.c: Likewise.
15187 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
15188 NO_CTORS_DTORS_SECTIONS is defined.
15189 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
15190 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
15191 * sysdeps/sh/init-first.c: Likewise.
15192 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
15194 2010-12-24 Ulrich Drepper <drepper@gmail.com>
15196 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
15197 always use the slow path.
15199 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
15201 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
15202 similar rule which adds the sysdep directories to the header search in
15203 order to pick up the correct platform stackinfo.h.
15204 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
15205 perform test if it is, otherwise return successfully without testing.
15206 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
15207 DEFAULT_STACK_PERMS define in stackinfo.h.
15208 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
15209 defined in stackinfo.h.
15210 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
15211 DEFAULT_STACK_PERMS defined in stackinfo.h.
15212 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
15213 * sysdeps/ia64/stackinfo.h: Likewise.
15214 * sysdeps/s390/stackinfo.h: Likewise.
15215 * sysdeps/sh/stackinfo.h: Likewise.
15216 * sysdeps/sparc/stackinfo.h: Likewise.
15217 * sysdeps/x86_64/stackinfo.h: Likewise.
15218 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
15219 PF_X for powerpc64. Retain PF_X for powerpc32.
15221 2010-12-19 Ulrich Drepper <drepper@gmail.com>
15223 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
15225 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
15226 GETDENTS_64BIT_ALIGNED.
15228 2010-12-14 Ulrich Drepper <dreper@gmail.com>
15230 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
15232 2010-12-10 Andreas Schwab <schwab@redhat.com>
15234 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
15237 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
15238 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
15240 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
15241 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
15243 2010-12-09 Ulrich Drepper <drepper@gmail.com>
15246 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
15249 2010-12-09 Jakub Jelinek <jakub@redhat.com>
15251 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
15253 2010-12-03 Ulrich Drepper <drepper@gmail.com>
15255 * po/it.po: Update from translation team.
15257 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
15259 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
15262 2010-11-30 Ulrich Drepper <drepper@gmail.com>
15264 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
15266 2010-11-24 Andreas Schwab <schwab@redhat.com>
15268 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
15270 (gaih_getanswer_slice): Likewise.
15272 2010-10-20 Jakub Jelinek <jakub@redhat.com>
15274 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
15276 2010-05-31 Petr Baudis <pasky@suse.cz>
15279 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
15280 silently even in the chroot mode.
15282 2010-11-22 Ulrich Drepper <drepper@gmail.com>
15284 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
15285 last patch a bit. Pretty printing
15287 2010-05-31 Petr Baudis <pasky@suse.cz>
15290 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
15291 initialization of skip_initgroups_dyn.
15293 2010-11-19 Ulrich Drepper <drepper@gmail.com>
15295 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
15296 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
15298 2010-11-16 Ulrich Drepper <drepper@gmail.com>
15300 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
15302 2010-11-11 Andreas Schwab <schwab@redhat.com>
15304 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
15305 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
15306 (tst-fnmatch-ENV): Set MALLOC_TRACE.
15307 ($(objpfx)tst-fnmatch-mem): New rule.
15308 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
15309 * posix/tst-fnmatch.c (main): Call mtrace.
15311 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
15313 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15314 Support Intel processor model 6 and model 0x2c.
15316 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
15318 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
15321 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
15324 * string/test-strncasecmp.c (check_result): New function.
15325 (do_one_test): Use it.
15326 (check1): New function.
15327 (test_main): Use it.
15328 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
15329 Support strcasecmp and strncasecmp.
15331 2010-11-08 Ulrich Drepper <drepper@gmail.com>
15334 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
15335 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15337 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
15339 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
15341 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15343 * sysdeps/x86_64/multiarch/bzero.S: New file.
15344 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
15345 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
15346 * sysdeps/x86_64/multiarch/memset.S: New file.
15347 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
15348 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15349 Set bit_Prefer_SSE_for_memop for Intel processors.
15350 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
15352 (index_Prefer_SSE_for_memop): Define.
15353 (HAS_PREFER_SSE_FOR_MEMOP): Define.
15355 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
15357 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
15358 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
15360 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
15363 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15364 (__x86_64_raw_data_cache_size_half): Likewise.
15365 (__x86_64_raw_shared_cache_size): Likewise.
15366 (__x86_64_raw_shared_cache_size_half): Likewise.
15368 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15369 (__x86_64_raw_data_cache_size_half): Likewise.
15370 (__x86_64_raw_shared_cache_size): Likewise.
15371 (__x86_64_raw_shared_cache_size_half): Likewise.
15372 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
15373 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
15374 and __x86_64_raw_shared_cache_size_half. Round
15375 __x86_64_data_cache_size_half, __x86_64_data_cache_size
15376 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
15377 to multiple of 256 bytes.
15379 2010-11-03 Ulrich Drepper <drepper@gmail.com>
15382 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
15383 of inacessible symlinks. Verify result of symlink before returning it.
15384 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
15385 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
15387 2010-10-28 Erich Ritz <erichritz@gmail.com>
15389 * math/math.h (isinf): Fix typo in comment.
15391 2010-11-01 Ulrich Drepper <drepper@gmail.com>
15393 * po/da.po: Update from translation team.
15395 2010-10-26 Ulrich Drepper <drepper@gmail.com>
15397 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
15398 is added to the list.
15400 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15401 Ulrich Drepper <drepper@gmail.com>
15403 * elf/dl-object.c (_dl_new_object): Don't append the new object to
15404 the global list here. Move code to...
15405 (_dl_add_to_namespace_list): ...here. New function.
15406 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
15407 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
15408 * elf/dl-load.c (lose): Don't remove the element from the list.
15409 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
15410 (_dl_map_object): Likewise.
15412 2010-10-25 Ulrich Drepper <drepper@gmail.com>
15415 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
15416 into all bytes of SSE register.
15417 Patch by Richard Li <richardpku@gmail.com>.
15419 2010-10-24 Ulrich Drepper <drepper@gmail.com>
15422 * malloc/malloc.c (_int_free): Fill correct number of bytes when
15425 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
15427 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
15428 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
15429 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
15430 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
15433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
15435 2010-10-22 Andreas Schwab <schwab@redhat.com>
15437 * include/dlfcn.h (__RTLD_SECURE): Define.
15438 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
15439 mode & __RTLD_SECURE instead.
15440 (open_path): Rename preloaded parameter to secure.
15441 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
15442 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
15443 * elf/dl-deps.c (openaux): Likewise.
15444 * elf/rtld.c (struct map_args): Remove is_preloaded.
15445 (map_doit): Don't use it.
15446 (dl_main): Likewise.
15447 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
15448 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
15450 2010-09-09 Andreas Schwab <schwab@redhat.com>
15452 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
15453 (sysd-rules-targets): Remove duplicates.
15454 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
15455 rtld-%.$o dependency.
15457 2010-10-18 Andreas Schwab <schwab@redhat.com>
15459 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
15460 _dl_map_object do it.
15462 2010-10-19 Ulrich Drepper <drepper@gmail.com>
15464 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
15465 fast fma builtins, define the macros in the C99 standard.
15466 (FP_FAST_FMAF): Likewise.
15467 (FP_FAST_FMAL): Likewise.
15468 * sysdeps/x86_64/bits/mathdef.h: Likewise.
15470 * bits/mathdef.h: Update copyright year.
15471 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15473 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
15475 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
15476 builtins, define the macros in the C99 standard.
15477 (FP_FAST_FMAF): Likewise.
15478 (FP_FAST_FMAL): Likewise.
15479 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
15481 (FP_FAST_FMAF): Likewise.
15483 2010-10-15 Jakub Jelinek <jakub@redhat.com>
15486 * math/libm-test.inc (fma_test): Some new testcases.
15487 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
15488 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
15489 y and infinite z. Do multiplication by C already in long double.
15490 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
15491 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
15492 y and infinite z. Do bitwise or of inexact bit into u.d.
15493 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
15494 * sysdeps/i386/fpu/s_fmaf.S: Removed.
15495 * sysdeps/i386/fpu/s_fma.S: Removed.
15496 * sysdeps/i386/fpu/s_fmal.S: Removed.
15498 2010-10-16 Jakub Jelinek <jakub@redhat.com>
15501 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
15502 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
15503 computation is not scheduled after fetestexcept. Fix value
15504 of minimum denormal long double.
15506 2010-10-14 Jakub Jelinek <jakub@redhat.com>
15509 * math/libm-test.inc (fma_test): Add some more tests.
15510 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
15513 2010-10-15 Andreas Schwab <schwab@redhat.com>
15515 * scripts/data/localplt-s390-linux-gnu.data: New file.
15516 * scripts/data/localplt-s390x-linux-gnu.data: New file.
15518 2010-10-13 Jakub Jelinek <jakub@redhat.com>
15521 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
15522 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
15524 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
15526 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
15527 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
15528 if one of x and y is very large and the other is subnormal.
15529 * sysdeps/s390/fpu/s_fmaf.c: New file.
15530 * sysdeps/s390/fpu/s_fma.c: New file.
15531 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
15532 * sysdeps/powerpc/fpu/s_fma.S: New file.
15533 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
15534 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
15535 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
15537 2010-10-12 Jakub Jelinek <jakub@redhat.com>
15540 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
15542 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
15543 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
15544 * sysdeps/i386/i686/multiarch/s_fma.c: Include
15545 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
15546 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
15547 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
15548 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
15550 2010-10-12 Ulrich Drepper <drepper@redhat.com>
15553 * posix/regcomp.c (parse_branch): One more memory leak plugged.
15554 * posix/bug-regex31.input: Add test case.
15556 2010-10-11 Ulrich Drepper <drepper@gmail.com>
15558 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
15559 * posix/bug-regex31.input: New file.
15562 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
15563 (parse_sub_exp): Fix last change, use postorder.
15565 * posix/bug-regex31.c: New file.
15566 * posix/Makefile: Add rules to build and run bug-regex31.
15568 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
15571 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
15574 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
15575 to have entries in sys_siglist.
15578 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
15581 2010-10-07 Jakub Jelinek <jakub@redhat.com>
15584 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
15585 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
15586 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
15587 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
15588 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
15589 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
15590 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
15591 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
15592 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
15593 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
15594 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
15595 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
15596 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
15597 * math/ftestexcept.c (fetestexcept): Likewise.
15598 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
15599 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
15600 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
15601 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
15602 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
15603 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
15604 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15606 2010-10-11 Ulrich Drepper <drepper@gmail.com>
15609 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
15612 2010-10-06 Ulrich Drepper <drepper@gmail.com>
15614 * string/bug-strstr1.c: New file.
15615 * string/Makefile: Add rules to build and run bug-strstr1.
15617 2010-10-05 Eric Blake <eblake@redhat.com>
15620 * string/str-two-way.h (two_way_long_needle): Always clear memory
15621 when skipping input due to the shift table.
15623 2010-10-03 Ulrich Drepper <drepper@gmail.com>
15626 * malloc/mcheck.c: Handle large requests.
15629 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
15630 for strncmp and strncasecmp.
15631 * string/stratcliff.c: Add tests for strcmp and strncmp.
15632 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
15634 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15636 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
15639 2010-09-30 Andreas Jaeger <aj@suse.de>
15641 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
15642 (CGROUP_SUPER_MAGIC): Define.
15643 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15644 Handle btrfs and cgroup file systems.
15645 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
15648 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
15650 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
15651 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
15653 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15656 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
15657 trying to locate the ELF header.
15659 2010-09-27 Andreas Schwab <schwab@redhat.com>
15662 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
15663 Mask out sign-bit copies when constructing f_fsid.
15665 2010-09-24 Petr Baudis <pasky@suse.cz>
15667 * debug/stack_chk_fail_local.c: Add missing licence exception.
15668 * debug/warning-nop.c: Likewise.
15670 2010-09-15 Joseph Myers <joseph@codesourcery.com>
15672 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
15673 implementing getdents64 using getdents syscall, set d_type if
15674 __ASSUME_GETDENTS32_D_TYPE.
15676 2010-09-16 Andreas Schwab <schwab@redhat.com>
15678 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
15679 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
15681 2010-09-21 Ulrich Drepper <drepper@redhat.com>
15684 * posix/unistd.h: Undo change of feature selection for ftruncate from
15687 2010-09-20 Ulrich Drepper <drepper@redhat.com>
15689 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
15692 2010-09-20 Andreas Schwab <schwab@redhat.com>
15694 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
15696 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15698 2010-09-14 Andreas Schwab <schwab@redhat.com>
15700 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
15701 variables after CHECK_SP call.
15702 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
15704 2010-09-13 Andreas Schwab <schwab@redhat.com>
15705 Ulrich Drepper <drepper@redhat.com>
15707 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
15708 re-relocationg ld.so.
15709 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
15710 _dl_init_paths call.
15711 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
15714 2010-09-14 Ulrich Drepper <drepper@redhat.com>
15716 * resolv/res_init.c (__res_vinit): Count the default server we added.
15718 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
15719 Ulrich Drepper <drepper@redhat.com>
15722 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15723 (____longjmp_chk): Use %ebx for saving value across system call.
15726 2010-09-06 Andreas Schwab <schwab@redhat.com>
15728 * manual/Makefile: Don't mix pattern rules with normal rules.
15730 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
15732 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
15734 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
15735 * libio/iofopncook.c (_IO_cookie_init): Likewise.
15736 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
15737 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
15738 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15741 2010-09-04 Ulrich Drepper <drepper@redhat.com>
15744 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
15745 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
15747 2010-09-02 Ulrich Drepper <drepper@redhat.com>
15749 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
15750 * sysdeps/x86_64/addmul_1.S: Likewise.
15751 * sysdeps/x86_64/lshift.S: Likewise.
15752 * sysdeps/x86_64/mul_1.S: Likewise.
15753 * sysdeps/x86_64/rshift.S: Likewise.
15754 * sysdeps/x86_64/sub_n.S: Likewise.
15755 * sysdeps/x86_64/submul_1.S: Likewise.
15757 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
15759 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
15760 Define __sched_param instead of SCHED_* and sched_param when
15761 <bits/sched.h> is included with __need_schedparam defined.
15762 * bits/sched.h [__need_schedparam]
15763 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
15764 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
15765 (__defined_schedparam): Define to 1.
15766 (__sched_param): New structure, identical to sched_param.
15767 (__need_schedparam): Undefine.
15769 2010-08-31 Mike Frysinger <vapier@gentoo.org>
15771 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
15772 (epoll_create1): Declare.
15774 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
15776 2010-08-31 Andreas Schwab <schwab@redhat.com>
15779 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
15780 shifting retval into place.
15782 2010-09-01 Ulrich Drepper <drepper@redhat.com>
15784 * nis/rpcsvc/nis.h: Update copyright notice.
15785 * nis/rpcsvc/nis.x: Likewise.
15786 * nis/rpcsvc/nis_callback.h: Likewise.
15787 * nis/rpcsvc/nis_callback.x: Likewise.
15788 * nis/rpcsvc/nis_object.x: Likewise.
15789 * nis/rpcsvc/nis_tags.h: Likewise.
15790 * nis/rpcsvc/yp.h: Likewise.
15791 * nis/rpcsvc/yp.x: Likewise.
15792 * nis/rpcsvc/ypupd.h: Likewise.
15793 * nis/yp_xdr.c: Likewise.
15794 * nis/ypupdate_xdr.c: Likewise.
15796 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
15797 mainly the body of pmap_getport. Add parameters to specify timeouts.
15798 (pmap_getport): Use __libc_rpc_getport.
15799 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
15800 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
15801 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
15803 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
15805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
15808 2010-08-27 Roland McGrath <roland@redhat.com>
15810 * sysdeps/i386/i686/multiarch/Makefile
15811 (CFLAGS-varshift.c): New variable.
15813 2010-08-27 Ulrich Drepper <drepper@redhat.com>
15815 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
15816 * sysdeps/i386/i686/multiarch/varshift.c: New file.
15818 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
15820 * sysdeps/x86_64/strlen.S: Minimal code improvement.
15822 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
15824 * sysdeps/x86_64/strlen.S: Unroll the loop.
15825 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15826 strlen-sse2 strlen-sse2-bsf.
15827 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
15828 __strlen_no_bsf if bit_Slow_BSF is set.
15829 (__strlen_sse42): Removed.
15830 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
15831 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
15833 2010-08-25 Roland McGrath <roland@redhat.com>
15835 * sysdeps/x86_64/multiarch/varshift.S: File removed.
15836 * sysdeps/x86_64/multiarch/varshift.c: New file.
15837 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
15838 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
15839 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
15840 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15842 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
15844 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15845 strlen-sse2 strlen-sse2-bsf.
15846 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
15847 __strlen_sse2_bsf if bit_Slow_BSF is unset.
15848 (__strlen_sse2): Removed.
15849 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
15850 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
15851 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
15852 bit_Slow_BSF for Atom.
15853 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
15854 (index_Slow_BSF): Define.
15855 (HAS_SLOW_BSF): Define.
15857 2010-08-25 Ulrich Drepper <drepper@redhat.com>
15860 * resolv/res_init.c (__res_vinit): When no server address at all
15861 is given default to loopback.
15863 2010-08-24 Roland McGrath <roland@redhat.com>
15865 * configure.in: Remove config-name.h generation.
15866 * configure: Regenerated.
15867 * config-name.in: File removed.
15868 * scripts/config-uname.sh: New file.
15869 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
15870 ($(objdir)config-name.h): New target.
15872 * sunrpc/rpc_parse.h: Avoid nested comment.
15874 2010-08-24 Richard Henderson <rth@redhat.com>
15875 Ulrich Drepper <drepper@redhat.com>
15876 H.J. Lu <hongjiu.lu@intel.com>
15878 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
15879 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
15880 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
15881 Replace _mm_srli_si128 with __m128i_shift_right. Replace
15882 _mm_alignr_epi8 with _mm_loadu_si128.
15883 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
15884 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
15885 (__m128i_shift_right): Removed.
15886 * sysdeps/i386/i686/multiarch/varshift.h: New file.
15887 * sysdeps/i386/i686/multiarch/varshift.S: New file.
15888 * sysdeps/x86_64/multiarch/varshift.h: New file.
15889 * sysdeps/x86_64/multiarch/varshift.S: New file.
15891 2010-08-21 Mike Frysinger <vapier@gentoo.org>
15893 * configure.in: Move assembler checks to before sysdep dir checking.
15895 2010-08-20 Petr Baudis <pasky@suse.cz>
15897 * LICENSES: Sync the sunrpc license.
15899 2010-08-19 Ulrich Drepper <drepper@redhat.com>
15901 * sunrpc/auth_des.c: Update copyright notice once again.
15902 * sunrpc/auth_none.c: Likewise.
15903 * sunrpc/auth_unix.c: Likewise.
15904 * sunrpc/authdes_prot.c: Likewise.
15905 * sunrpc/authuxprot.c: Likewise.
15906 * sunrpc/bindrsvprt.c: Likewise.
15907 * sunrpc/clnt_gen.c: Likewise.
15908 * sunrpc/clnt_perr.c: Likewise.
15909 * sunrpc/clnt_raw.c: Likewise.
15910 * sunrpc/clnt_simp.c: Likewise.
15911 * sunrpc/clnt_tcp.c: Likewise.
15912 * sunrpc/clnt_udp.c: Likewise.
15913 * sunrpc/clnt_unix.c: Likewise.
15914 * sunrpc/des_crypt.c: Likewise.
15915 * sunrpc/des_soft.c: Likewise.
15916 * sunrpc/get_myaddr.c: Likewise.
15917 * sunrpc/getrpcport.c: Likewise.
15918 * sunrpc/key_call.c: Likewise.
15919 * sunrpc/key_prot.c: Likewise.
15920 * sunrpc/openchild.c: Likewise.
15921 * sunrpc/pm_getmaps.c: Likewise.
15922 * sunrpc/pm_getport.c: Likewise.
15923 * sunrpc/pmap_clnt.c: Likewise.
15924 * sunrpc/pmap_prot.c: Likewise.
15925 * sunrpc/pmap_prot2.c: Likewise.
15926 * sunrpc/pmap_rmt.c: Likewise.
15927 * sunrpc/rpc/auth.h: Likewise.
15928 * sunrpc/rpc/auth_unix.h: Likewise.
15929 * sunrpc/rpc/clnt.h: Likewise.
15930 * sunrpc/rpc/des_crypt.h: Likewise.
15931 * sunrpc/rpc/key_prot.h: Likewise.
15932 * sunrpc/rpc/netdb.h: Likewise.
15933 * sunrpc/rpc/pmap_clnt.h: Likewise.
15934 * sunrpc/rpc/pmap_prot.h: Likewise.
15935 * sunrpc/rpc/pmap_rmt.h: Likewise.
15936 * sunrpc/rpc/rpc.h: Likewise.
15937 * sunrpc/rpc/rpc_des.h: Likewise.
15938 * sunrpc/rpc/rpc_msg.h: Likewise.
15939 * sunrpc/rpc/svc.h: Likewise.
15940 * sunrpc/rpc/svc_auth.h: Likewise.
15941 * sunrpc/rpc/types.h: Likewise.
15942 * sunrpc/rpc/xdr.h: Likewise.
15943 * sunrpc/rpc_clntout.c: Likewise.
15944 * sunrpc/rpc_cmsg.c: Likewise.
15945 * sunrpc/rpc_common.c: Likewise.
15946 * sunrpc/rpc_cout.c: Likewise.
15947 * sunrpc/rpc_dtable.c: Likewise.
15948 * sunrpc/rpc_hout.c: Likewise.
15949 * sunrpc/rpc_main.c: Likewise.
15950 * sunrpc/rpc_parse.c: Likewise.
15951 * sunrpc/rpc_parse.h: Likewise.
15952 * sunrpc/rpc_prot.c: Likewise.
15953 * sunrpc/rpc_sample.c: Likewise.
15954 * sunrpc/rpc_scan.c: Likewise.
15955 * sunrpc/rpc_scan.h: Likewise.
15956 * sunrpc/rpc_svcout.c: Likewise.
15957 * sunrpc/rpc_tblout.c: Likewise.
15958 * sunrpc/rpc_util.c: Likewise.
15959 * sunrpc/rpc_util.h: Likewise.
15960 * sunrpc/rpcinfo.c: Likewise.
15961 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
15962 * sunrpc/rpcsvc/key_prot.x: Likewise.
15963 * sunrpc/rpcsvc/klm_prot.x: Likewise.
15964 * sunrpc/rpcsvc/mount.x: Likewise.
15965 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
15966 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
15967 * sunrpc/rpcsvc/rex.x: Likewise.
15968 * sunrpc/rpcsvc/rstat.x: Likewise.
15969 * sunrpc/rpcsvc/rusers.x: Likewise.
15970 * sunrpc/rpcsvc/sm_inter.x: Likewise.
15971 * sunrpc/rpcsvc/spray.x: Likewise.
15972 * sunrpc/rpcsvc/yppasswd.x: Likewise.
15973 * sunrpc/rtime.c: Likewise.
15974 * sunrpc/svc.c: Likewise.
15975 * sunrpc/svc_auth.c: Likewise.
15976 * sunrpc/svc_authux.c: Likewise.
15977 * sunrpc/svc_raw.c: Likewise.
15978 * sunrpc/svc_run.c: Likewise.
15979 * sunrpc/svc_simple.c: Likewise.
15980 * sunrpc/svc_tcp.c: Likewise.
15981 * sunrpc/svc_udp.c: Likewise.
15982 * sunrpc/svc_unix.c: Likewise.
15983 * sunrpc/svcauth_des.c: Likewise.
15984 * sunrpc/xcrypt.c: Likewise.
15985 * sunrpc/xdr.c: Likewise.
15986 * sunrpc/xdr_array.c: Likewise.
15987 * sunrpc/xdr_float.c: Likewise.
15988 * sunrpc/xdr_mem.c: Likewise.
15989 * sunrpc/xdr_rec.c: Likewise.
15990 * sunrpc/xdr_ref.c: Likewise.
15991 * sunrpc/xdr_sizeof.c: Likewise.
15992 * sunrpc/xdr_stdio.c: Likewise.
15994 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
15997 2010-08-19 Andreas Schwab <schwab@redhat.com>
15999 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
16001 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
16003 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
16004 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
16005 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
16006 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
16007 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
16008 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
16009 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
16010 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
16011 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
16012 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
16013 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
16014 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
16015 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
16016 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
16018 2010-07-26 Anton Blanchard <anton@samba.org>
16020 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
16021 * malloc/arena.c (heap_trim): Likewise.
16023 2010-08-16 Ulrich Drepper <drepper@redhat.com>
16025 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
16027 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
16028 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
16030 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
16032 * sysdeps/i386/elf/Makefile: New file.
16034 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
16036 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
16037 from fanotify_init.
16038 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
16039 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
16041 2010-08-15 Ulrich Drepper <drepper@redhat.com>
16043 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
16045 * sysdeps/multiarch/strcmp.S: Likewise.
16047 2010-08-14 Ulrich Drepper <drepper@redhat.com>
16049 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
16050 strncase_l-nonascii.
16051 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
16052 Add strncase_l-ssse3.
16053 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
16054 * sysdeps/x86_64/strcmp.S: Likewise.
16055 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
16056 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
16057 * sysdeps/x86_64/strncase.S: New file.
16058 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
16059 * sysdeps/x86_64/strncase_l.S: New file.
16060 * string/Makefile (strop-tests): Add strncasecmp.
16061 * string/test-strncasecmp.c: New file.
16063 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
16066 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
16067 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
16069 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
16071 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
16073 2010-08-12 Ulrich Drepper <drepper@redhat.com>
16075 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
16076 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
16077 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
16079 2010-05-01 Alan Modra <amodra@gmail.com>
16081 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
16082 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
16083 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
16084 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
16085 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
16086 tidying. Don't tail-call __sigjmp_save for static lib.
16087 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
16089 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
16090 (CALL_MCOUNT): Add eh info, and nop after bl.
16091 (TAIL_CALL_SYSCALL_ERROR): New macro.
16092 (PSEUDO_RET): Use it.
16093 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
16094 Correct save location of integer regs and cr.
16095 (_dl_profile_resolve): Correct cr save location. Delete nops
16096 after bl when SHARED. Reduce cfi size a little by better
16097 placement of cfi directives.
16098 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
16099 make a stack frame. Instead use parm save area as a temp.
16100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
16101 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
16102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16103 Don't make a stack frame for parent, use parm save area.
16104 Increase child stack frame to 112 bytes. Don't save unused reg,
16105 and adjust reg usage. Set up cfi on error recovery and
16106 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
16107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16108 (__makecontext): Add dummy nop after jump to exit.
16109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
16110 Use correct parm save area and cr save, reduce stack frame.
16111 Correct cfi for possible PSEUDO_RET frame setup.
16112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
16113 Branch to local label emitted by PSEUDO_RET rather than
16116 2010-08-12 Andreas Schwab <schwab@redhat.com>
16119 * locale/programs/locale.c (print_assignment): New function.
16120 (show_locale_vars): Use it.
16122 2010-08-11 Ulrich Drepper <drepper@redhat.com>
16124 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
16126 (struct statfs64): Likewise.
16127 (_STATFS_F_FLAGS): Define.
16128 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
16129 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16130 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
16131 (ST_VALID): Define locally.
16132 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
16133 __statvfs_getflags, use the provided value.
16134 * sysdeps/unix/sysv/linux/kernel-features.h: Define
16135 __ASSUME_STATFS_F_FLAGS.
16137 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
16139 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
16140 Add sys/fanotify.h.
16141 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
16142 fanotify_mask for GLIBC_2.13.
16143 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
16144 fanotify_init and fanotify_mark.
16145 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
16146 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
16148 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
16150 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
16151 prlimit64 for GLIBC_2.13.
16152 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
16154 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
16156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
16157 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
16158 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
16159 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
16160 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
16162 * sysdeps/unix/sysv/linux/prlimit.c: New file.
16165 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
16166 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
16168 * nss/Makefile: Add rules to build and run tst-nss-test1.
16169 * shlib-versions: Add entry for libnss_test1.
16170 * nss/nss_test1.c: New file.
16171 * nss/tst-nss-test1.c: New file.
16173 * nss/nsswitch.c (__nss_database_custom): Define new variable.
16174 (__nss_configure_lookup): Set appropriate entry in
16175 __nss_configure_lookup to true.
16176 * nss/nsswitch.h: Define enum with indeces of databases in
16177 databases and __nss_database_custom arrays. Declare
16178 __nss_database_custom.
16179 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
16180 to avoid using nscd when custom rules are installed.
16181 * nss/getXXbyYY_r.c: Likewise.
16182 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16184 * nss/nss_files/files-parse.c: Whitespace fixes.
16186 2010-08-09 Ulrich Drepper <drepper@redhat.com>
16189 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
16190 * posix/fnmatch_loop.c: Likewise.
16192 2010-07-17 Andi Kleen <ak@linux.intel.com>
16194 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
16195 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
16196 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
16197 * Versions.def [GLIBC_2.13]: Add.
16199 2010-08-06 Ulrich Drepper <drepper@redhat.com>
16201 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16202 Also fail if tpwd after pwuid call is NULL.
16204 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
16206 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
16207 when converting to ms.
16209 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16211 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
16212 EOPNOTSUPP errors with ENOTTY.
16213 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
16214 EOPNOTSUPP errors with ENOTTY.
16216 2010-07-31 Ulrich Drepper <drepper@redhat.com>
16218 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
16219 Add strcasecmp_l-ssse3.
16220 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
16222 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
16223 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
16224 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
16226 2010-07-30 Ulrich Drepper <drepper@redhat.com>
16228 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
16230 * string/Makefile (strop-tests): Add strcasecmp.
16231 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
16232 strcasecmp_l-nonascii.
16233 (gen-as-const-headers): Add locale-defines.sym.
16234 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
16235 * sysdeps/x86_64/strcasecmp.S: New file.
16236 * sysdeps/x86_64/strcasecmp_l.S: New file.
16237 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
16238 * sysdeps/x86_64/locale-defines.sym: New file.
16239 * string/test-strcasecmp.c: New file.
16241 * string/test-strcasestr.c: Test both ends of the range of characters.
16242 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
16244 2010-07-29 Roland McGrath <roland@redhat.com>
16247 * manual/locale.texi (Yes-or-No Questions): Fix example code.
16249 2010-07-27 Ulrich Drepper <drepper@redhat.com>
16251 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
16254 2010-07-27 Andreas Schwab <schwab@redhat.com>
16256 * manual/memory.texi (Malloc Tunable Parameters): Document
16259 2010-07-26 Roland McGrath <roland@redhat.com>
16262 * configure.in (-fgnu89-inline check): Set and substitute
16263 gnu89_inline, not libc_cv_gnu89_inline.
16264 * configure: Regenerated.
16265 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
16267 2010-07-26 Ulrich Drepper <drepper@redhat.com>
16269 * string/test-strnlen.c: New file.
16270 * string/Makefile (strop-tests): Add strnlen.
16271 * string/tester.c (test_strnlen): Add a few more test cases.
16272 * string/tst-strlen.c: Better error reporting.
16274 * sysdeps/x86_64/strnlen.S: New file.
16276 2010-07-24 Ulrich Drepper <drepper@redhat.com>
16278 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
16279 lower-latency instructions.
16281 2010-07-23 Ulrich Drepper <drepper@redhat.com>
16283 * string/test-strcasestr.c: New file.
16284 * string/test-strstr.c: New file.
16285 * string/Makefile (strop-tests): Add strstr and strcasestr.
16286 * string/str-two-way.h: Don't undefine MAX.
16287 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
16289 2010-07-21 Andreas Schwab <schwab@redhat.com>
16291 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16292 strcasestr-nonascii.
16293 (CFLAGS-strcasestr-nonascii.c): Define.
16294 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
16295 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
16296 Remove unused attribute.
16298 2010-07-20 Roland McGrath <roland@redhat.com>
16300 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
16301 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
16302 ld.so.cache was broken. With it, there is no way to disable dsocaps
16303 like LD_HWCAP_MASK can disable hwcaps.
16305 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16307 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
16309 2010-07-16 Ulrich Drepper <drepper@redhat.com>
16311 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
16312 call in strcasestr.
16313 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
16314 __strcasestr_sse42_nonascii.
16315 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
16316 strcasestr-nonascii.c.
16317 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
16319 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
16321 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
16322 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
16323 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
16324 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
16326 2010-07-09 Ulrich Drepper <drepper@redhat.com>
16328 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
16331 2010-07-06 Andreas Schwab <schwab@redhat.com>
16334 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
16337 2010-07-06 Ulrich Drepper <drepper@redhat.com>
16339 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
16340 _PC_PIPE_BUF using F_GETPIPE_SZ.
16342 2010-07-05 Roland McGrath <roland@redhat.com>
16344 * manual/arith.texi (Rounding Functions): Fix rint description
16345 implicit in round description.
16347 2010-07-02 Ulrich Drepper <drepper@redhat.com>
16349 * elf/Makefile: Fix linking for a few tests to make recent linker
16352 2010-06-30 Andreas Schwab <schwab@redhat.com>
16354 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
16355 $(common-objpfx)libc_nonshared.a.
16357 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
16359 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
16360 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
16361 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16362 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16363 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
16364 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
16365 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16366 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
16368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
16369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
16370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
16372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
16374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
16375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
16376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
16377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
16379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
16381 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
16382 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
16383 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
16384 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
16385 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
16386 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
16387 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
16388 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
16389 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
16390 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
16391 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
16392 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
16393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
16394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
16395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
16396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
16397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
16398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
16399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
16400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
16401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
16402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
16403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
16404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
16405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
16406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
16408 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
16410 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
16411 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
16412 * string/memmove.c (memmove): Renamed to ...
16413 (MEMMOVE): ...this. Default to memmove.
16414 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
16415 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
16417 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16418 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
16419 mempcpy-ssse3-back memmove-ssse3-back.
16420 * sysdeps/x86_64/multiarch/bcopy.S: New file .
16421 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
16422 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
16423 * sysdeps/x86_64/multiarch/memcpy.S: New file.
16424 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
16425 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
16426 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
16427 * sysdeps/x86_64/multiarch/memmove.c: New file.
16428 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
16429 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
16430 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
16431 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
16432 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
16433 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
16435 (index_Fast_Copy_Backward): Define.
16436 (HAS_ARCH_FEATURE): Define.
16437 (HAS_FAST_REP_STRING): Define.
16438 (HAS_FAST_COPY_BACKWARD): Define.
16440 2010-06-21 Andreas Schwab <schwab@redhat.com>
16442 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16443 Restore proper fallback handling.
16445 2010-06-19 Ulrich Drepper <drepper@redhat.com>
16448 * posix/group_member.c (__group_member): Correct checking loop.
16450 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
16451 OOM in getpwuid_r correctly. Return error number when the caller
16452 should return, otherwise -1.
16453 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
16454 call returning > 0 value.
16455 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
16457 2010-06-07 Andreas Schwab <schwab@redhat.com>
16459 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
16460 libc_nonshared.a from targets in modules-names.
16462 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
16464 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
16467 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
16469 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
16470 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
16471 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
16472 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
16474 2010-06-02 Andreas Schwab <schwab@redhat.com>
16476 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
16478 2010-06-14 Ulrich Drepper <drepper@redhat.com>
16480 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
16482 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16483 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16484 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16485 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16486 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16487 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
16489 2010-06-14 Roland McGrath <roland@redhat.com>
16491 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
16493 2010-06-07 Jakub Jelinek <jakub@redhat.com>
16495 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
16496 __REDIRECT followed by __THROW.
16497 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
16498 * posix/getopt.h (getopt): Likewise.
16500 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16502 * hurd/lookup-at.c (__file_name_lookup_at): Accept
16503 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
16504 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
16506 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
16507 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
16509 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
16511 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
16513 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
16516 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16517 Properly check family and model.
16519 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
16521 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
16523 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
16525 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
16527 2010-05-21 Ulrich Drepper <drepper@redhat.com>
16529 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
16532 2010-05-19 Andreas Schwab <schwab@redhat.com>
16534 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
16537 2010-05-21 Andreas Schwab <schwab@redhat.com>
16539 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
16540 and internal_recvmmsg.
16541 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
16542 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
16543 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
16544 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
16546 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
16547 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16548 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16550 2010-05-20 Andreas Schwab <schwab@redhat.com>
16552 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
16554 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
16556 POWER7 optimizations.
16557 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
16558 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
16560 2010-05-19 Ulrich Drepper <drepper@redhat.com>
16562 * version.h: Update for 2.13 development version.
16564 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
16566 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
16567 exceptions. Return 0.
16569 2010-05-07 Roland McGrath <roland@redhat.com>
16571 * elf/ldconfig.c (main): Add a const.
16573 2010-05-06 Ulrich Drepper <drepper@redhat.com>
16575 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
16576 (args_options): Add no-idn option.
16577 (ahosts_keys_int): Add idn_flags to ai_flags.
16578 (parse_option): Handle 'i' option to clear idn_flags.
16580 * malloc/malloc.c (_int_free): Possible race in the most recently
16581 added check. Only act on the data if no current modification
16584 See ChangeLog.17 for earlier changes.